Version Description
- Fixed: Columns Block uneven columns
- Fixed: PHP Rest API notice about register_rest_route used incorrectly.
- Change: Removed affiliate page
- Change: Removed main menu notification for a more unobtrusive experience
Download this release
Release Info
Developer | bfintal |
Plugin | Stackable – Page Builder Gutenberg Blocks |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 2.9.1
- dist/editor_blocks.js +0 -0
dist/editor_blocks.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
var editor_blocks=function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],b=0,p=[];b<l.length;b++)o=l[b],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={0:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var l=window.webpackJsonp_name_=window.webpackJsonp_name_||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var u=c;return r.push([379,1]),n()}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=stackable},function(e,t,n){"use strict";var a=n(1),i=[],r={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},o=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!i.includes(e)){if(document&&o(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=r[a.locale]?"&subset=".concat(r):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}i.push(e)}},c=function(e){return o(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},s=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&l(n)})},u=n(9),b=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.camelCase)(Object(b.sprintf)(e,t,n))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return a.length?n.reduce(function(n,i){return m({},n,{},a.reduce(function(n,a,r){var o=m({},t);return void 0!==o.selector&&(o.selector=Object(b.sprintf)(o.selector,r+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,i,a))]=o,n},{}))},{}):n.reduce(function(n,a,i){var r=m({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,i+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=r,n},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(e,t,["","Tablet","Mobile"])},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.omit)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))}))},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?Object(u.pick)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))})):e},O=function(e){return Object.keys(h(e))};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),{},f(e,{type:"number",default:""},["LetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),{},f(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),{},f(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"]))},k=j,C=function(e){return Object.keys(j(e))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i,""),o=a.importantSize,l=void 0!==o&&o,s=a.important,p=void 0!==s&&s,m={};return m="tablet"!==t&&"mobile"!==t?{fontFamily:""!==r("FontFamily")?nt(c(r("FontFamily"))):void 0,fontSize:""!==r("FontSize")?nt("".concat(r("FontSize")).concat(r("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==r("FontWeight")?r("FontWeight"):void 0,textTransform:""!==r("TextTransform")?r("TextTransform"):void 0,letterSpacing:""!==r("LetterSpacing")?"".concat(r("LetterSpacing"),"px"):void 0,lineHeight:""!==r("LineHeight")?"".concat(r("LineHeight")).concat(r("LineHeightUnit")||"em"):void 0}:"tablet"===t?{fontSize:""!==r("TabletFontSize")?nt("".concat(r("TabletFontSize")).concat(r("TabletFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("TabletLineHeight")?"".concat(r("TabletLineHeight")).concat(r("TabletLineHeightUnit")||"em"):void 0}:{fontSize:""!==r("MobileFontSize")?nt("".concat(r("MobileFontSize")).concat(r("MobileFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("MobileLineHeight")?"".concat(r("MobileLineHeight")).concat(r("MobileLineHeightUnit")||"em"):void 0},p?tt(m):m};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundMediaId","BackgroundMediaUrl","TabletBackgroundMediaId","TabletBackgroundMediaUrl","MobileBackgroundMediaId","MobileBackgroundMediaUrl","BackgroundGradientBlendMode","BackgroundPosition","TabletBackgroundPosition","MobileBackgroundPosition","BackgroundRepeat","TabletBackgroundRepeat","MobileBackgroundRepeat","BackgroundSize","TabletBackgroundSize","MobileBackgroundSize","BackgroundImageBlendMode"]),{},f(e,{type:"number",default:""},["BackgroundColorOpacity","BackgroundTintStrength","BackgroundGradientDirection","BackgroundCustomSize","TabletBackgroundCustomSize","MobileBackgroundCustomSize","BackgroundGradientLocation1","BackgroundGradientLocation2"]),{},f(e,{type:"boolean",default:""},["FixedBackground"]),{},f(e,{type:"string",default:"%"},["BackgroundCustomSizeUnit","TabletBackgroundCustomSizeUnit","MobileBackgroundCustomSizeUnit"]))},T=A,B=function(e){return Object.keys(A(e))};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(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=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=r("BackgroundCustomSize")?r("BackgroundCustomSize")+(r("BackgroundCustomSizeUnit")||"%"):void 0,s=r("TabletBackgroundCustomSize")?r("TabletBackgroundCustomSize")+(r("TabletBackgroundCustomSizeUnit")||"%"):void 0,p=r("MobileBackgroundCustomSize")?r("MobileBackgroundCustomSize")+(r("MobileBackgroundCustomSizeUnit")||"%"):void 0,m=nt(r("BackgroundColor"),l);return r("BackgroundColorType")||void 0===n[i("BackgroundColorOpacity")]||""===n[i("BackgroundColorOpacity")]||r("BackgroundMediaURL")||r("TabletBackgroundMediaURL")||r("MobileBackgroundMediaURL")||(m=nt("".concat(Yt(r("BackgroundColor")||"#ffffff",r("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:m,backgroundAttachment:r("FixedBackground")?"fixed":void 0,backgroundImage:r("BackgroundMediaURL","url(%s)"),backgroundPosition:r("BackgroundPosition"),backgroundRepeat:r("BackgroundRepeat"),backgroundSize:r("BackgroundSize")?"custom"!==r("BackgroundSize")?r("BackgroundSize"):c:void 0,backgroundBlendMode:r("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:r("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:r("TabletBackgroundPosition"),backgroundRepeat:r("TabletBackgroundRepeat"),backgroundSize:r("TabletBackgroundSize")?"custom"!==r("TabletBackgroundSize")?r("TabletBackgroundSize"):s:void 0}:{backgroundImage:r("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:r("MobileBackgroundPosition"),backgroundRepeat:r("MobileBackgroundRepeat"),backgroundSize:r("MobileBackgroundSize")?"custom"!==r("MobileBackgroundSize")?r("MobileBackgroundSize"):p:void 0}},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=parseInt(r("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===r("BackgroundColorType"),p=Yt(r("BackgroundColor2")||"#ffffff",0),m=Yt(r("BackgroundColor")||"#ffffff",0),g="".concat(r("BackgroundGradientLocation1")||"0","%"),d="".concat(r("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:nt(!s&&r("BackgroundColor")?r("BackgroundColor"):void 0,l),backgroundImage:nt(s?"linear-gradient(".concat(r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("BackgroundColor")||p," ").concat(g,", ").concat(r("BackgroundColor2")||m," ").concat(d,")"):void 0,l),opacity:r("BackgroundMediaURL")?c:void 0,mixBlendMode:s?r("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:r("TabletBackgroundMediaURL")?c:void 0}:{opacity:r("MobileBackgroundMediaURL")?c:void 0}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=rt(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")},z=function(){var e,t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return M(n={},".".concat(i),N({},R(a,"desktop",r,o))),M(n,".".concat(i,":before"),N({},F(a,"desktop",r,o))),M(n,"tablet",(M(e={},".".concat(i),N({},R(a,"tablet",r,o))),M(e,".".concat(i,":before"),N({},F(a,"tablet",r,o))),e)),M(n,"mobile",(M(t={},".".concat(i),N({},R(a,"mobile",r,o))),M(t,".".concat(i,":before"),N({},F(a,"mobile",r,o))),t)),n},I=R,H=n(8),L=n.n(H),U=n(6),W=function(e,t){var n=rt(t.attributes,function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),i=n("TabletBackgroundMediaUrl"),r=n("MobileBackgroundMediaUrl"),o=L()(["ugb-video-background"],{"ugb--video-hide-tablet":i,"ugb--video-hide-mobile":r}),l=L()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":r}),c=L()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(U.Fragment,null,Vt(a)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Vt(i)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:i}),Vt(r)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}))};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(n,!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-img":n,i=t.exclude,r=void 0===i?[]:i;return v(V({},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),{},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),{},f(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),{},f(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),{},f(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square"]),{},f(e,{type:"string",default:"large"},["Size"])),r,e)},Y=J,X=n(4),K=n.n(X);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=K.a.createElement("circle",{cx:50,cy:50,r:50}),Q=function(e){return K.a.createElement("svg",$({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=K.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ne=function(e){return K.a.createElement("svg",ee({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=K.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}),re=function(e){return K.a.createElement("svg",ae({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),ie)},oe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(U.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?n.replace(/#/g,"%23"):n},le=n(5);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(n,!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be={circle:Q,square:ne,blob1:re},pe=function(e){var t=Object(le.applyFilters)("stackable.image.shape.svgs",be);return t[e]?t[e]:null},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=rt(n,a),r=i("Shape"),o=function(e){return i("Square")&&i(e)?i(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:r?void 0:i("BorderRadius","%spx"),width:i("Width","%spx"),height:i("Width")?nt(o("Width")):void 0}:"tablet"===t?{width:i("TabletWidth","%spx"),height:i("TabletWidth")?nt(o("TabletWidth")):void 0}:{width:i("MobileWidth","%spx"),height:i("MobileWidth")?nt(o("MobileWidth")):void 0}},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=rt(t,n),i=a("Shape");if(!i)return{};var r=a("ShapeStretch"),o=a("ShapeFlipX"),l=a("ShapeFlipY"),c=pe(i),s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(i)&&r?"none":void 0,transform:o||l?"scale(".concat(o?-1:1,",").concat(l?-1:1,")"):void 0}),p=btoa(oe(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(p,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(p,"')")}},de=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ue(e={},".".concat(n),se({},me(t,"desktop",a,i),{},ge(t,a,i))),ue(e,"tablet",ue({},".".concat(n),se({},me(t,"tablet",a,i)))),ue(e,"mobile",ue({},".".concat(n),se({},me(t,"mobile",a,i)))),e},fe=n(13),he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||he(e):null};window._stackableCachedImageData={};var ye=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},Oe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=we(e)||ye(e,fe.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""},we=function(e){return window._stackableCachedImageData[e]||null};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){ke(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exclude,a=void 0===n?[]:n;return v(je({},f(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize"]),{},f(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),{},f(e,{type:"string",default:"large"},["Size"]),{},f(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])),a,e)},xe=Ce,Ee=function(e){return Object.keys(Ce(e))};function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(n,!0).forEach(function(t){Te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=rt(n,a);return"tablet"!==t&&"mobile"!==t?{backgroundImage:i("Url","url(%s)"),backgroundPosition:nt(i("BackgroundPosition")),backgroundRepeat:nt(i("BackgroundRepeat")),backgroundSize:nt("custom"!==i("BackgroundSize")?i("BackgroundSize"):i("BackgroundCustomSize")?i("BackgroundCustomSize")+i("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Pe=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Te(e={},".".concat(n),Ae({},Be(t,"desktop",a,i))),Te(e,"tablet",Te({},".".concat(n),Ae({},Be(t,"tablet",a,i)))),Te(e,"mobile",Te({},".".concat(n),Ae({},Be(t,"mobile",a,i)))),e};function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,i=void 0===n?".ugb-button":n,r=t.defaultText,o=void 0===r?Object(b.__)("Button text",a.i18n):r,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(Me({},k(e),{},f(e,{type:"string",source:"html",selector:"".concat(i," span"),default:o},["Text"]),{},f(e,{type:"string",source:"attribute",selector:i,attribute:"href",default:""},["Url"]),{},f(e,{type:"boolean",source:"attribute",selector:i,attribute:"target",default:""},["NewTab"]),{},f(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),{},f(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),{},f(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow"])),c,e),u,e)},De=Fe,ze=function(e){return Object.keys(Fe(e))},Ie=n(14),He=n.n(Ie);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){We(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},o=rt(a,r,""),l=[];l.push((We(e={},".".concat(n," .ugb-button--inner"),Ue({},x(t,"desktop",a))),We(e,"tablet",We({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"tablet",a)))),We(e,"mobile",We({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"mobile",a)))),e));var c=o("BackgroundColor2"),s=o("BackgroundColor"),p=!1;if(""===o("Design")||"basic"===o("Design")){var m;l.push((We(m={},".".concat(n),{backgroundColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,backgroundImage:"gradient"===o("BackgroundColorType")?"linear-gradient(".concat(""!==a[r("BackgroundGradientDirection")]?o("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(o("BackgroundColor")||c,", ").concat(o("BackgroundColor2")||s,")"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),We(m,".".concat(n," .ugb-button--inner, .").concat(n," svg:not(.ugb-custom-icon)"),{color:nt(et(o("TextColor"),o("BackgroundColor")))}),We(m,".".concat(n,":hover .ugb-button--inner, .").concat(n,":hover svg:not(.ugb-custom-icon)"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")))}),We(m,".".concat(n,":hover"),{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),m)),p=""!==o("HoverBackgroundColor");var g="gradient"===o("BackgroundColorType")&&(o("HoverBackgroundColor")||o("HoverBackgroundColor2")||o("HoverBackgroundGradientDirection"));l.push(We({},".".concat(n,":before"),{content:g?'""':void 0,backgroundImage:g?"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor")||c,", ").concat(o("HoverBackgroundColor2")||o("BackgroundColor2")||s,")"):void 0})),p=p||g||""!==o("HoverTextColor")}if("ghost"===o("Design")){var d,f;if(l.push((We(d={},".".concat(n),{borderColor:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0,borderWidth:""!==o("BorderWidth")?"".concat(o("BorderWidth"),"px"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),We(d,".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),We(d,".".concat(n,":hover"),{borderColor:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):void 0}),We(d,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),d)),""!==o("Icon")||i)l.push((We(f={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),We(f,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),f));p=""!==o("HoverBackgroundColor");var h,v=o("HoverGhostToNormal");if(v)l.push((We(h={},".".concat(n,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor"),", ").concat(o("HoverBackgroundColor2")||o("HoverBackgroundColor")||o("BackgroundColor"),")"),top:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,right:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,bottom:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,left:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0}),We(h,".".concat(n,":hover"),{backgroundColor:nt(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))}),We(h,".".concat(n,":hover .ugb-button--inner"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}),h)),(""!==o("Icon")||i)&&l.push(We({},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))})),p=!0}if("plain"===o("Design")){var y,O;if(l.push((We(y={},".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),We(y,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):void 0}),y)),""!==o("Icon")||i)l.push((We(O={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),We(O,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),O));p=""!==o("HoverBackgroundColor")}if("link"!==o("Design")){var w,_=""!==a[r("IconSpacing")]&&void 0!==a[r("IconSpacing")]?"".concat(o("IconSpacing","%spx",16)):void 0,j=a[r("BorderRadius")];l.push((We(w={},".".concat(n),{opacity:""!==o("Opacity")?o("Opacity"):void 0,borderRadius:""!==j&&void 0!==j?nt("".concat(j,"px")):void 0}),We(w,".".concat(n,":before"),{borderRadius:""!==j&&void 0!==j?nt("".concat(j,"px")):void 0}),We(w,".".concat(n,":hover"),{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):p?1:void 0}),We(w,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:(""!==o("Icon")||i)&&"right"===o("IconPosition")?_:void 0,marginRight:(""!==o("Icon")||i)&&"right"!==o("IconPosition")?_:void 0,width:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0,height:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0}),w))}return He.a.all(l)},Ve=n(54),qe=n.n(Ve);function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xe=function(e){try{if(!e.match(/^#/))return qe()(e);var t=e.replace(/#/g,"");return 3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),qe()("#".concat(t))}catch(e){return!1}},Ke=function(e){return"left"===e||"flex-start"===e?0:"auto"},$e=function(e){return"right"===e||"flex-end"===e?0:"auto"},Ze=function(e){return"left"===e?"flex-start":"right"===e?"flex-end":e},Qe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=""!==e?e:void 0;return!n&&t&&Xe(t)?"#ffffff":n},et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222",i=""!==e?e:void 0;return!i&&t?Xe(t)?n:a:i},tt=function(e){return Object.keys(e).reduce(function(t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach(function(t){Ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,Ye({},n,nt(e[n])))},{})},nt=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},at=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=rt(r);return[(t={},Ye(t,e,Ye({},a,nt(l(Object(b.sprintf)(n,""),i),o))),Ye(t,"tablet",Ye({},e,Ye({},a,nt(l(Object(b.sprintf)(n,"Tablet"),i),o)))),Ye(t,"mobile",Ye({},e,Ye({},a,nt(l(Object(b.sprintf)(n,"Mobile"),i),o)))),t)]},it=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=rt(a),r=i("contentAlign"),o=i("TabletContentAlign"),l=i("MobileContentAlign"),c=i(Object(b.sprintf)(n,"")),s=i(Object(b.sprintf)(n,"Tablet")),u=i(Object(b.sprintf)(n,"Mobile"));return[(t={},Ye(t,e,tt({marginLeft:c||r?Ke(c||r):void 0,marginRight:c||r?$e(c||r):void 0})),Ye(t,"tablet",Ye({},e,tt({marginLeft:s||o?Ke(s||o):void 0,marginRight:s||o?$e(s||o):void 0}))),Ye(t,"mobile",Ye({},e,tt({marginLeft:u||l?Ke(u||l):void 0,marginRight:u||l?$e(u||l):void 0}))),t)]},rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,o=null!==t?t:function(e){return Object(u.lowerFirst)(e)},l=void 0===e[o(a)]?"":e[o(a)];return""!==l?i?Object(b.sprintf)(i.replace(/%$/,"%%"),l):l:r}};function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(n,!0).forEach(function(t){ct(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var st=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-button-%s":n,i=t.exclude,r=void 0===i?[]:i,o=t.include,l=void 0===o?[]:o,c=Object.keys(dt).reduce(function(n,i){return lt({},n,{},f(e,{type:"string",source:"attribute",selector:Object(b.sprintf)(a,i),attribute:"href",default:t["".concat(i,"Default")]?t["".concat(i,"Default")]:""},["".concat(Object(u.upperFirst)(i),"Url")]))},{});return y(v(lt({},De(e,{exclude:["Text","Url","NoFollow","Icon","IconPosition","NewTab"]}),{},f(e,{type:"boolean",default:""},["NewTab"]),{},f(e,{type:"boolean",default:!0},["UseSocialColors"]),{},c),r,e),l,e)},ut=st;function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(n,!0).forEach(function(t){mt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},o=rt(i,r,""),l=[];if(l.push(pt({},Ge(n,a,i,!0))),!o("UseSocialColors"))return He.a.all(l);""!==o("Design")&&"basic"!==o("Design")||l.push((mt(e={},".".concat(a),{backgroundColor:void 0,backgroundImage:void 0}),mt(e,".".concat(a," .ugb-button--inner, .").concat(a," svg"),{color:void 0}),mt(e,".".concat(a,":hover .ugb-button--inner, .").concat(a,":hover svg"),{color:void 0}),mt(e,".".concat(a,":hover"),{backgroundColor:void 0}),mt(e,".".concat(a,":before"),{content:void 0,backgroundImage:void 0}),e));if("ghost"===o("Design")){var c;l.push((mt(c={},".".concat(a),{borderColor:void 0}),mt(c,".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),mt(c,".".concat(a,":hover"),{borderColor:void 0}),mt(c,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),c));var s,p=o("HoverGhostToNormal");if(p)l.push((mt(s={},".".concat(a,":before"),{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}),mt(s,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),s))}"plain"===o("Design")&&l.push((mt(t={},".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),mt(t,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),t));return He.a.all(l)},dt={facebook:{label:Object(b.__)("Facebook",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:Object(b.__)("Twitter",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:Object(b.__)("Instagram",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:Object(b.__)("Pinterest",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:Object(b.__)("LinkedIn",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:Object(b.__)("YouTube",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:Object(b.__)("Email",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},ft=n(17);function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(n,!0).forEach(function(t){yt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ot=["uniqueClass"],wt={};function _t(e){return wt[e.name]||(wt[e.name]=Object(ft.createBlock)(e.name).attributes),Object.keys(wt[e.name]).every(function(t){return!!Ot.includes(t)||wt[e.name][t]===e.attributes[t]})}var jt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(fe.select)("core/block-editor"),i=a.getBlockName,r=a.getSelectedBlockClientId,o=a.getBlockAttributes,l=a.hasMultiSelection,c=a.getMultiSelectedBlockClientIds,b=Object(fe.dispatch)("core/block-editor"),p=b.updateBlockAttributes,m=Object(fe.select)("core/blocks"),g=m.getBlockType;if(n||!l()){var d=n||r();if(d){var f=o(d),h=i(d).replace(/^\w+\//g,""),v=g(i(d)).attributes,y=Object.keys(v).reduce(function(e,t){return vt({},e,yt({},t,v[t]?v[t].default:""))},{}),O=Object(le.applyFilters)("stackable.".concat(h,".design.filtered-block-attributes"),vt({},y,{},t),f),w=Object(le.applyFilters)("stackable.".concat(h,".design.no-text-attributes"),O,f);s(w),p(d,Object(u.omit)(w,["uniqueClass"]))}}else c().forEach(function(n){e(t,n)})};function kt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(U.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=kt(n,2),i=a[0],r=a[1],o=function(t){try{var n=t instanceof Function?t(i):t;r(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[i,o]},xt=function(){return void 0!==ft.registerBlockCollection},Et=function(){return xt()};function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){Tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-icon":n,i=t.defaultIcon,r=void 0===i?"fas-cogs":i,o=t.exclude,l=void 0===o?[]:o,c=t.include,s=void 0===c?[]:c;return y(v(At({},f(e,{type:"string",source:"html",selector:"".concat(a),default:r},["Icon"]),{},f(e,{type:"string",default:""},["Design","ColorType","Color","Color2","BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundShape","BackgroundShapeColor","Color3","Color4","Color5","Color5","Color6","Color7","Color8","Color9","Color10"]),{},f(e,{type:"number",default:""},["ColorGradientDirection","OutlineWidth","BackgroundColorGradientDirection","Size","TabletSize","MobileSize","BorderRadius","Shadow","Opacity","Padding","Rotation","BackgroundShapeOpacity","BackgroundShapeSize","BackgroundShapeOffsetHorizontal","BackgroundShapeOffsetVertical","MultiOpacity1","MultiOpacity2","MultiOpacity3","MultiOpacity4","MultiOpacity5","MultiOpacity6","MultiOpacity7","MultiOpacity8","MultiOpacity9","MultiOpacity10"]),{},f(e,{type:"boolean",default:""},["ShowBackgroundShape"])),l,e),s,e)},Pt=Bt,Nt=function(e){return Object.keys(Bt(e))};function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},r=rt(a,i),o=[];return o.push((Mt(e={},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("Size","%spx")),height:nt(r("Size","%spx"))}),Mt(e,"tablet",Mt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("TabletSize","%spx")),height:nt(r("TabletSize","%spx"))})),Mt(e,"mobile",Mt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("MobileSize","%spx")),height:nt(r("MobileSize","%spx"))})),Mt(e,".".concat(n," .ugb-icon-inner-svg"),{color:nt(r("Color")),transform:nt(r("Rotation","rotate(%sdeg)"))}),Mt(e,".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg *"),{color:nt(r("Color")),fill:nt(r("Color"))}),Mt(e,".".concat(n),{opacity:nt(r("Opacity"))}),e)),"shaped"!==r("Design")&&"outlined"!==r("Design")||o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{borderRadius:nt(r("BorderRadius","%s%","100%")),padding:nt(r("Padding","%spx"))})),"shaped"===r("Design")&&o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{background:nt(r("BackgroundColor"))})),"outlined"===r("Design")&&o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{borderColor:nt(r("BackgroundColor")),borderWidth:nt(r("OutlineWidth","%spx"))})),He.a.all(Object(le.applyFilters)("stackable.icon-style-set.styles",o,r,n,a))},Ft=function(e){return"string"!=typeof e?0:Object(u.range)(10).reduce(function(t,n){var a=n+1;return new RegExp("(<(circle|ellipse|line|polygon|polyline|rect|shape|path)[^>]*(/>|>[sS]*?</\\w+>)[ \t\r\n\v\f]*){".concat(a,"}"),"gm").test(e)?a:t},0)},Dt=function(e,t){var n=zt(e,t);return n?n.html[0]:""},zt=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},It=function(){return!!window.FontAwesome},Ht=function(){return window.FontAwesome?Promise.resolve(!0):new Promise(function(e,t){var n=240,a=setInterval(function(){window.FontAwesome?(clearInterval(a),e(!0)):n--<0&&(clearInterval(a),t(!1))},250)})},Lt=function(e,t){var n=zt(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var i=240,r=setInterval(function(){var o=zt(e,t);window.FontAwesome?(clearInterval(r),n(o)):i--<0&&(clearInterval(r),a(!1))},250)})};n(22),n(413);var Ut=n(78),Wt=n.n(Ut);n.d(t,"jb",function(){return Gt}),n.d(t,"pb",function(){return Vt}),n.d(t,"U",function(){return qt}),n.d(t,"J",function(){return Jt}),n.d(t,"W",function(){return Yt}),n.d(t,"fb",function(){return Xt}),n.d(t,"g",function(){return Kt}),n.d(t,"ib",function(){return $t}),n.d(t,"S",function(){return Qt}),n.d(t,"lb",function(){return en}),n.d(t,"Y",function(){return nn}),n.d(t,"kb",function(){return an}),n.d(t,"gb",function(){return rn}),n.d(t,"bb",function(){return l}),n.d(t,"P",function(){return c}),n.d(t,"cb",function(){return s}),n.d(t,"O",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"A",function(){return h}),n.d(t,"z",function(){return O}),n.d(t,"G",function(){return k}),n.d(t,"H",function(){return x}),n.d(t,"F",function(){return C}),n.d(t,"j",function(){return T}),n.d(t,"i",function(){return B}),n.d(t,"m",function(){return I}),n.d(t,"k",function(){return F}),n.d(t,"l",function(){return z}),n.d(t,"V",function(){return D}),n.d(t,"I",function(){return W}),n.d(t,"t",function(){return Y}),n.d(t,"y",function(){return de}),n.d(t,"x",function(){return ge}),n.d(t,"T",function(){return pe}),n.d(t,"Q",function(){return ve}),n.d(t,"f",function(){return ye}),n.d(t,"R",function(){return Oe}),n.d(t,"v",function(){return xe}),n.d(t,"u",function(){return Ee}),n.d(t,"w",function(){return Pe}),n.d(t,"o",function(){return De}),n.d(t,"n",function(){return ze}),n.d(t,"p",function(){return Ge}),n.d(t,"X",function(){return Xe}),n.d(t,"db",function(){return Ke}),n.d(t,"eb",function(){return $e}),n.d(t,"ab",function(){return Ze}),n.d(t,"rb",function(){return Qe}),n.d(t,"sb",function(){return et}),n.d(t,"d",function(){return tt}),n.d(t,"c",function(){return nt}),n.d(t,"C",function(){return at}),n.d(t,"B",function(){return it}),n.d(t,"b",function(){return rt}),n.d(t,"D",function(){return ut}),n.d(t,"E",function(){return gt}),n.d(t,"a",function(){return dt}),n.d(t,"Z",function(){return _t}),n.d(t,"e",function(){return jt}),n.d(t,"ob",function(){return oe}),n.d(t,"qb",function(){return Ct}),n.d(t,"mb",function(){return xt}),n.d(t,"nb",function(){return Et}),n.d(t,"r",function(){return Pt}),n.d(t,"q",function(){return Nt}),n.d(t,"s",function(){return Rt}),n.d(t,"hb",function(){return Ft}),n.d(t,"L",function(){return Dt}),n.d(t,"N",function(){return It}),n.d(t,"K",function(){return Ht}),n.d(t,"M",function(){return Lt});var Gt=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},Vt=function(e){return e.match(/(mp4|webm|ogg)$/i)},qt=function(e){var t="";return(t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1])||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:((t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2])||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},Jt=function e(t){return"short"===t?Object(b.__)("Description for this block. You can use this space for describing your block.",a.i18n):"medium"===t?"".concat(e()," ").concat(e("short")):"long"===t?"".concat(e("medium")," ").concat(e()," ").concat(e("short")):Object(b.__)("Description for this block. Use this space for describing your block. Any text will do.",a.i18n)},Yt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;e.indexOf("var(")>-1&&(e=window.getComputedStyle(document.documentElement).getPropertyValue(e.replace("var(","").replace(")",""))||"#fff"),(n=e.replace(/#/,"")).length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));var a=Wt()("#".concat(n,"ff"));return a[3]=null!==t?t:1,"rgba(".concat(a.join(", "),")")},Xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},Kt=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,function(e,i,r){if(i.match(/@\w+/g))return i.replace(/(@\w+[^{]+{\s*)([^{]+)/g,function(e,a,i){var o=$t(i,t,n);return"".concat(a," ").concat(o," ").concat(r)});var o=$t(i,t,n);return(a?"#editor ":"")+"".concat(o," ").concat(r)}).trim()},$t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(function(e){var i="";return i=n&&t?e.includes(n)?e:n&&!t?".".concat(n," ").concat(e.trim()):".".concat(n," ").concat(e.trim()).replace(new RegExp("(.".concat(n,") (.").concat(t,"(#|:|\\[|\\.|\\s|$))"),"g"),"$1$2"):e,a?"".concat(a," ").concat(i):i}).join(", ")},Zt="desktop",Qt=function(){return Zt},en=function(e){return Zt=e},tn=!1,nn=function(){return tn},an=function(e){return tn=e},rn=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}},function(e,t,n){"use strict";var a=n(19),i=n(2),r=n(9),o=n(8),l=n.n(o),c=n(6),s=n(0);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a},o=Object.keys(i.a).reduce(function(e,i){var o;return p({},e,(m(o={},"".concat(i,"Url"),a("".concat(i,"Url"))),m(o,"onChange".concat(Object(r.upperFirst)(i),"Url"),function(e){return t(m({},n("".concat(i,"Url")),e))}),o))},{});return wp.element.createElement(j,u({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(m({},n("NewTab"),e))},isSelected:e.isSelected},o,e))};g.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(g.Content=function(e){var t=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a},a=Object.keys(i.a).reduce(function(e,t){return p({},e,m({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(j.Content,u({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var d=g;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(r.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(r.upperFirst)(t))])&&wp.element.createElement(a.c,y({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(r.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},w=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.defaultProps=h({useSocialColors:!0},w),O.Content=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return!1!==e["show".concat(Object(r.upperFirst)(t))]&&wp.element.createElement(a.c.Content,y({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var _=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.Content.defaultProps=h({useSocialColors:!0},_);var j=O,k=n(4),C=n.n(k);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),S=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),A=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),T=function(e){return C.a.createElement("svg",x({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),E,S,A)},B=n(11),P=n(7);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,i=e.className,r=e.allowedTypes,o=e.render,c=e.hasRemove,s=e.style,u=l()([i,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),b=M({},s,{backgroundImage:n&&!o?"url(".concat(n,")"):void 0});return wp.element.createElement(P.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,i=t.height,r=e.imageSize||"full";t.sizes&&t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChange(M({},t,{url:n,width:a,height:i}))},allowedTypes:r,value:t,render:function(e){return n&&o?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),o):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),!n&&wp.element.createElement(T,null))}})};F.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var D=F,z=n(1);function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=function(e){return wp.element.createElement(B.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(P.URLInput,I({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(r.omit)(e,["label","help"]))))};H.defaultProps={label:Object(s.__)("URL",z.i18n),help:null,value:"",onChange:function(){}};var L=H,U=n(414),W=[{id:"opensInNewTab",title:Object(s.__)("Opens in new tab",z.i18n)},{id:"noFollowLink",title:Object(s.__)("Nofollow link",z.i18n)}],G=function(e){var t=e.value,n={url:t,opensInNewTab:e.newTab,noFollowLink:e.noFollow};if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=l()(["ugb-url-input-popover"]),i=W.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(B.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(P.__experimentalLinkControl,{value:n,settings:i,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},i=Object(r.omitBy)(Object(r.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(r.keys)(i).map(function(e){return a[e](i[e])})}},wp.element.createElement("form",null,wp.element.createElement("input",{placeholder:Object(s.__)("Search or type url",z.i18n),value:t}),wp.element.createElement(B.Button,{icon:U.a,type:"submit"}))))};G.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var V=G,q=n(12);function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=Object(s.__)("(current %s: %s)",z.i18n),X=Object(q.compose)([P.withColorContext,Object(q.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,i=e.onChange,r=e.value,o=e.className,u=void 0===o?"":o,b=Object(P.getColorObjectByColorValue)(t,r),p=b&&b.name,m=Object(s.sprintf)(Y,a.toLowerCase(),p||r),g=wp.element.createElement(c.Fragment,null,a,r&&wp.element.createElement(B.ColorIndicator,{colorValue:r,"aria-label":m}));return wp.element.createElement(B.BaseControl,{className:l()([u,"editor-color-palette-control"]),id:"editor-color-palette-control",label:g},wp.element.createElement(B.ColorPalette,J({className:"editor-color-palette-control__color-palette",value:r,onChange:i},{colors:t,disableCustomColors:n})))}),K=n(10);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=function(e){return wp.element.createElement(B.SelectControl,$({},e,{options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"multiply",label:Object(s.__)("Multiply",z.i18n)},{value:"screen",label:Object(s.__)("Screen",z.i18n)},{value:"overlay",label:Object(s.__)("Overlay",z.i18n)},{value:"darken",label:Object(s.__)("Darken",z.i18n)},{value:"lighten",label:Object(s.__)("Lighten",z.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",z.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",z.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",z.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",z.i18n)},{value:"difference",label:Object(s.__)("Difference",z.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",z.i18n)},{value:"hue",label:Object(s.__)("Hue",z.i18n)},{value:"saturation",label:Object(s.__)("Saturation",z.i18n)},{value:"color",label:Object(s.__)("Color",z.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",z.i18n)},{value:"initial",label:Object(s.__)("Initial",z.i18n)},{value:"inherit",label:Object(s.__)("Inherit",z.i18n)},{value:"unset",label:Object(s.__)("Unset",z.i18n)}]}))};Z.defaultProps={label:Object(s.__)("Mix Blend Mode",z.i18n),help:Object(s.__)("Not supported in all browsers.",z.i18n)};var Q=Object(q.compose)(Object(K.e)("background-blend-mode"))(Z);function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ne=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ae=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),ie=function(e){return C.a.createElement("svg",ee({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),te,ne,ae)},re=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(B.BaseControl,{help:e.help},wp.element.createElement(Ye,{label:e.label,screens:e.screens}),wp.element.createElement(P.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(c.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(B.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",z.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(ie,null)))}})))};re.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var oe=re;function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=function(e){return wp.element.createElement(B.TextareaControl,le({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",z.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",z.i18n))}))};ce.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",z.i18n)};var se=ce,ue=n(79),be=n.n(ue),pe=n(80),me=n.n(pe),ge=n(81),de=n.n(ge),fe=n(82),he=n.n(fe),ve=n(5);function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Oe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var we=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(qa,ye({},e,{className:l()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(Oe(e.hasDefault?[{label:Object(s.__)("Default",z.i18n),value:"",image:be.a}]:[]),[{label:Object(s.__)("Square",z.i18n),value:"square",image:me.a},{label:Object(s.__)("Circle",z.i18n),value:"circle",image:de.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",z.i18n),1),value:"blob1",image:he.a}],Oe(Object(ve.applyFilters)("stackable.image.control.shapes",[])))})),z.showProNotice&&wp.element.createElement(Vo,{type:"image"}))};we.defaultProps={className:"",label:Object(s.__)("Shape",z.i18n),selected:"",hasDefault:!0};var _e=we,je=n(13),ke=function(e){var t=e.imageData?Object(i.Q)(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeShape&&wp.element.createElement(_e,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",z.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",z.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",z.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};ke.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ce=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(ke);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=function(e){var t,n=(t=e.imageSizes,Object(r.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(r.isEmpty)(n)?null:wp.element.createElement(B.SelectControl,xe({},e,{value:e.value||"large",options:n,className:l()(e.className,["ugb--help-tip-image-size"])}))};Ee.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Se=Object(q.compose)([Object(je.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ee);function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=C.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Be=function(e){return C.a.createElement("svg",Ae({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=C.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Me=function(e){return C.a.createElement("svg",Pe({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fe=C.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),De=function(e){return C.a.createElement("svg",Re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Fe)};function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function He(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var We={desktop:wp.element.createElement(Be,null),tablet:wp.element.createElement(De,null),mobile:wp.element.createElement(Me,null)},Ge={desktop:Object(s.__)("Desktop",z.i18n),tablet:Object(s.__)("Tablet",z.i18n),mobile:Object(s.__)("Mobile",z.i18n)},Ve=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=He(this,Le(t).apply(this,arguments))).state={screen:Object(i.S)(),isScreenPickerOpen:Object(i.Y)()},e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ue(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Object(i.kb)(!1),Object(ve.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(i.kb)(!0),Object(ve.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(i.lb)(e),Object(ve.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(B.Button,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:We[t],label:Ge[t]})}))}}])&&Ie(n.prototype,a),r&&Ie(n,r),t}();Ve.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var qe=Object(q.withInstanceId)(Ve),Je=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(qe,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};Je.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ye=Je;function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qe=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$e(n,!0).forEach(function(t){Ze(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder="20";var a,o=e.placeholder;if(!Array.isArray(o)&&"object"===Ke(o)){var c=Object(i.S)()||"desktop";o=void 0!==o[c]?o[c]:Object.keys(o)[0]}return Array.isArray(o)?(t.placeholder=o[n]||"",t.initialPosition=o[n]||""):(t.placeholder=o||"",t.initialPosition=o||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),t.initialPosition="string"==typeof(a=t.initialPosition)&&""!==a&&a.match(/^[\d.]+$/)?a.includes(".")?parseFloat(a):parseInt(a,10):a,wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.RangeControl,Xe({placeholder:e.placeholder,initialPosition:e.initialPosition},t)))};Qe.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var et=Qe,tt=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.SelectControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};tt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var nt=tt,at=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.TextControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};at.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var it=n(83),rt=n.n(it);function ot(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function st(e,t){return(st=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var bt=function(e){return!(!e.length||"object"!==ut(e[0].options))},pt=function(e,t){if(!t.length)return e;if(!bt(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},mt=function(e){return e.value},gt=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},dt=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},ft=function(e){return e.options},ht=function(){return!0},vt=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=lt(t).apply(this,arguments))||"object"!==ut(a)&&"function"!=typeof a?ct(n):a).state={value:e.props.value,label:e.props.value?pt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(ct(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(ct(e)),e.onChange=e.onChange.bind(ct(e)),e.onFocus=e.onFocus.bind(ct(e)),e.autosuggestDiv=Object(c.createRef)(),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&st(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:pt(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return bt(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this.state,t=e.label,n=e.suggestions,a={placeholder:"",value:t,onChange:this.onChange,onFocus:this.onFocus};return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(rt.a,{multiSection:bt(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:mt,renderSuggestion:gt,renderSectionTitle:dt,getSectionSuggestions:ft,shouldRenderSuggestions:ht,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&ot(n.prototype,a),i&&ot(n,i),t}();vt.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",z.i18n)};var yt=vt;function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wt=C.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),_t=function(e){return C.a.createElement("svg",Ot({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),wt)};function jt(){return(jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kt=C.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),Ct=function(e){return C.a.createElement("svg",jt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),kt)};function xt(){return(xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Et=C.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),St=function(e){return C.a.createElement("svg",xt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Et)};function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tt=C.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),Bt=function(e){return C.a.createElement("svg",At({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Tt)};function Pt(){return(Pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nt=C.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Mt=function(e){return C.a.createElement("svg",Pt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Nt)};function Rt(){return(Rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ft=C.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Dt=function(e){return C.a.createElement("svg",Rt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ft)};function zt(){return(zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var It=C.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),Ht=function(e){return C.a.createElement("svg",zt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),It)};function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gt=[{value:"flex-start",title:Object(s.__)("Align Left",z.i18n),icon:wp.element.createElement(St,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ct,null)},{value:"flex-end",title:Object(s.__)("Align Right",z.i18n),icon:wp.element.createElement(Bt,null)}],Vt=[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ht,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(_t,null)},{value:"stretch",title:Object(s.__)("Stretch",z.i18n),icon:wp.element.createElement(Mt,null)}],qt={"flex-horizontal":Gt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ht,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(_t,null)}],"flex-vertical-with-stretch":Vt},Jt=function(e){var t="string"==typeof e.controls?qt[e.controls]:e.controls,n=l()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.ButtonGroup,Lt({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"]),{children:t.map(function(t,n){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(n,!0).forEach(function(t){Wt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isPrimary:e.value===t.value,children:t.icon?null:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)});return wp.element.createElement(B.Button,Lt({key:n},a))}),className:n})))};Jt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0};var Yt=Jt;function Xt(){return(Xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Kt=function(e){return wp.element.createElement(et,Xt({initialPosition:"21"},e,{onChangeUnit:function(t){e.value&&("em"===t||"rem"===t?e.onChange(1):"px"===t&&e.onChange(20)),e.onChangeUnit(t)}}))};Kt.defaultProps={label:Object(s.__)("Font Size",z.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[10,.1],max:[100,3],step:[1,.05],units:["px","em"]};var $t=Kt;function Zt(){return(Zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qt=n(84).map(function(e){return{label:e.family,value:e.family}}),en=function(e){return wp.element.createElement(yt,Zt({options:[{title:Object(s.__)("System Fonts",z.i18n),options:[{label:Object(s.__)("Sans-Serif",z.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",z.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",z.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",z.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",z.i18n),options:Qt}]},e,{onChange:function(t){Qt.some(function(e){return e.value===t&&(Object(i.bb)(t),!0)}),e.onChange(t)}}))};en.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",z.i18n),value:""};var tn=en,nn=n(63);function an(){return(an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function rn(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var on=Object(nn.a)(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),ln=Object(nn.b)(function(e){var t=e.value,n=(e.key,e.index,rn(e,["value","key","index"]));return wp.element.createElement("div",an({className:"ugb-sort-control__item"},n),t)}),cn=!1,sn=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(r.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(B.BaseControl,{help:t.help,className:l()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(Ye,an({label:t.label},Object(r.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(B.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(on,{onSortStart:function(){return cn=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,i=e.newIndex;cn=!1;var r=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,i);t.onChange(r,{oldIndex:a,newIndex:i})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(ln,{key:n,index:n,value:e,onMouseEnter:function(){cn||t.onHover(n)},onMouseLeave:function(){cn||t.onHover(null)}})})))};sn.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",z.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};var un=n(36);function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function dn(e){return(dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hn(e,t){return(hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var vn=1,yn=function(e){function t(e){var n,a,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(i=dn(t).apply(this,arguments))||"object"!==bn(i)&&"function"!=typeof i?fn(a):i).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(fn(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(fn(n)),n.instanceId=vn++,n.panelRef=Object(c.createRef)(),n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hn(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(n,!0).forEach(function(t){mn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,mn({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Object(un.b)(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Object(un.b)(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"ugb-toggle-panel-body"],mn({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(B.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(B.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",z.i18n):Object(s.__)("Advanced",z.i18n)))}}])&&gn(n.prototype,a),i&&gn(n,i),t}();yn.defaultProps={id:"",className:"",title:Object(s.__)("Settings",z.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var On=yn;function wn(){return(wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _n=function(e){var t=e.blockProps;return wp.element.createElement(On,wn({title:Object(s.__)("Spacing",z.i18n)},e,{className:l()(["ugb--help-tip-spacing",e.className])}),Object(ve.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(ve.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};_n.defaultProps={className:"",blockProps:{}};var jn=_n,kn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};kn.defaultProps={tab:"layout"};var Cn=kn,xn=n(20),En=n(22),Sn=n.n(En);function An(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}function Tn(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){An(r,a,i,o,l,"next",e)}function l(e){An(r,a,i,o,l,"throw",e)}o(void 0)})}}var Bn=null,Pn={},Nn=[],Mn=function(e){return e.replace(/^[\w-]+\//,"")},Rn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],Bn&&!t){e.next=9;break}return e.next=4,Sn()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:Bn=e.sent,t&&(Pn={},Nn=[]);case 9:return e.abrupt("return",Bn);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Fn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Mn(t),Pn[n]){e.next=8;break}return e.next=4,Sn()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Pn[n]=e.sent;case 8:return e.abrupt("return",Pn[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Dn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Nn[t]){e.next=7;break}return e.next=3,Sn()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Nn[t]=e.sent;case 7:return e.abrupt("return",Nn[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),zn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,Sn()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(xn.a)(function(){});var In=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l,c,s,u,b,p,m,g,d,f,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,i=t.block,r=void 0===i?"":i,o=t.mood,l=void 0===o?"":o,c=t.plan,s=void 0===c?"":c,u=t.colors,b=void 0===u?[]:u,p=t.categories,m=void 0===p?[]:p,g=t.search,d=void 0===g?"":g,f=t.reset,h=void 0!==f&&f,e.t0=Object,e.next=4,Rn(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),r&&(y=-1===r.indexOf("ugb/")?"ugb/".concat(r):r,v=v.filter(function(e){return e.block===y})),l&&(v=v.filter(function(e){return e.mood===l})),s&&(v=v.filter(function(e){return e.plan===s})),b&&b.length&&(v=v.filter(function(e){return e.colors.some(function(e){return b.includes(e)})})),m&&m.length&&(v=v.filter(function(e){return e.categories.some(function(e){return m.includes(e)})})),d&&d.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Hn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rn();case 2:if(n=e.sent,a=n[t],i=a.type,r=a.block,o=a.template,"block"!==i||!r){e.next=12;break}return e.next=8,Fn(r);case 8:return l=e.sent,e.abrupt("return",l[t]);case 12:if(!o){e.next=16;break}return e.next=15,Dn(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Rn();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Un(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Wn=function(e){var t=Un(Object(c.useState)(!1),2),n=t[0],a=t[1],i=Un(Object(c.useState)(""),2),r=i[0],o=i[1],l=Un(Object(c.useState)([]),2),u=l[0],b=l[1],p=Un(Object(c.useState)(!0),2),m=p[0],g=p[1],d=Un(Object(c.useState)(""),2),f=d[0],h=d[1];return Object(c.useEffect)(function(){In({type:"block",block:e.block,search:r}).then(function(e){b(e)}).finally(function(){g(!1)})},[e.block,r]),wp.element.createElement("div",null,wp.element.createElement(B.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",z.i18n),isSmall:!0,alignRight:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",z.i18n)),wp.element.createElement(B.TextControl,{placeholder:Object(s.__)("Search designs...",z.i18n),value:r,onChange:function(e){return o(e)}}),!z.isPro&&wp.element.createElement(Yt,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",z.i18n),wp.element.createElement("span",null,u.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:f,onChange:function(e){return h(e)}}),wp.element.createElement(aa,{designs:u.filter(function(e){var t=e.plan;return!f||t===f}),isBusy:m,onSelect:e.onSelect}),n&&wp.element.createElement(lg,{search:r,selectedBlock:e.block,onClose:function(){a(!1),o("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Wn.defaultProps={block:"",onSelect:function(){}};var Gn=Wn,Vn=n(16);function qn(e){return(qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Yn(e){return(Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kn(e,t){return(Kn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $n=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Yn(t).apply(this,arguments))||"object"!==qn(a)&&"function"!=typeof a?Xn(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(Xn(e)),e.close=e.close.bind(Xn(e)),e.prev=e.prev.bind(Xn(e)),e.next=e.next.bind(Xn(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}(t,c["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(B.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:Object(s.__)("Premium features",z.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",z.i18n)},wp.element.createElement(Vn.w,null),Object(s.__)("Upgrade to Premium",z.i18n)),wp.element.createElement("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:Object(s.__)("Try Premium Demo",z.i18n)},Object(s.__)("Try Premium Demo",z.i18n)))))}}])&&Jn(n.prototype,a),i&&Jn(n,i),t}();$n.defaultProps={button:Object(s.__)("Learn More",z.i18n),buttonClassName:"button button-secondary",tag:"div"};var Zn=$n;function Qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ea=function(e){var t,n,a,i=e.designId,r=e.image,o=e.label,s=e.onClick,u=e.plan,b=e.isPro,p=Qn(Object(c.useState)(!1),2),m=p[0],g=p[1],d=Qn(Object(c.useState)(!1),2),f=d[0],h=d[1],v=l()(["ugb-design-library-item"],(t={"ugb--is-busy":m},n="ugb--is-".concat(u),a=!b&&"free"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:v,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},m&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!b&&"free"!==u&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(b||"free"===u)&&(g(!0),Hn(i).then(function(e){g(!1),s(e)}))}},!b&&"free"!==u&&wp.element.createElement(B.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:r,alt:o,loading:"lazy"})),wp.element.createElement("footer",null,(b||"free"===u)&&wp.element.createElement("span",null,o),!b&&"free"!==u&&!f&&wp.element.createElement("span",null,o),!b&&"free"!==u&&f&&wp.element.createElement(Zn,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.Dashicon,{icon:"external"}),e.premiumLabel)})))};ea.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:z.isPro,premiumLabel:Object(s.__)("Go Premium",z.i18n)};var ta=ea;var na=function(e){var t,n,a,i=e.designs,r=e.isBusy,o=e.onSelect,c=l()(["ugb-design-library-items"],(t={},n="ugb-design-library-items--columns-".concat(e.columns),a=!r&&e.columns,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:c},(i||[]).map(function(e,t){return wp.element.createElement(ta,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){o(e)}})}),r&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!r&&!(i||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",z.i18n)))};na.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var aa=na,ia=(n(337),n(15)),ra=n.n(ia);function oa(e){return(oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function la(){return(la=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ua(e){return(ua=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pa(e,t){return(pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ga={},da=Object(q.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ua(n).apply(this,arguments))||"object"!==oa(a)&&"function"!=typeof a?ba(t):a).blockClientId=e.props.blockProps.clientId,void 0===ga[e.blockClientId]&&(ga[e.blockClientId]={tab:Object(i.Z)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(ba(e)),e.onClickTab=e.onClickTab.bind(ba(e)),e}var a,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}(n,c["Component"]),a=n,(r=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(-1===e)return null;var t=this.getActiveTabPanelContainer();return t?t.querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle")):null}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==ga[this.blockClientId].panel){var e=this.getPanelFromIndex(ga[this.blockClientId].panel);e&&e.click()}else Aa()}},{key:"onClickPanel",value:function(e){ga[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(n,!0).forEach(function(t){ma(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ga[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){ga[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,la({initialTab:ga[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&sa(a.prototype,r),o&&sa(a,o),n}(),ma(t,"propTypes",{blockProps:ra.a.shape({clientId:ra.a.string.isRequired,name:ra.a.string.isRequired,attributes:ra.a.object.isRequired})}),n},"withMemory");function fa(e){return(fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ha(){return(ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function va(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){return(wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _a=Object(q.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ya(n).apply(this,arguments))||"object"!==fa(a)&&"function"!=typeof a?Oa(t):a).onSidebarScroll=e.onSidebarScroll.bind(Oa(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wa(e,t)}(n,c["Component"]),a=n,(i=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var i=a.getBoundingClientRect();this.styleTop=i.top,this.styleWidth=i.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=l()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(c.Fragment,null,wp.element.createElement(e,ha({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&va(a.prototype,i),r&&va(a,r),n}(),r={className:""},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withSticky");function ja(e){return(ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ka(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ca(e){return(Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return(Ea=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sa=[{value:"layout",title:Object(s.__)("Layout",z.i18n),label:Object(s.__)("Layout Tab",z.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",z.i18n),label:Object(s.__)("Style Tab",z.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",z.i18n),label:Object(s.__)("Advanced Tab",z.i18n),icon:"admin-tools"}],Aa=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Ta=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Ca(t).apply(this,arguments))||"object"!==ja(a)&&"function"!=typeof a?xa(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(xa(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(xa(e)),e.select=e.select.bind(xa(e)),e.containerDiv=Object(c.createRef)(),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}(t,c["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&(t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs"))}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Aa(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Sa.map(function(t,n){var a=t.value,i=t.title,r=t.label,o=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:l()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":r,"data-label":r},wp.element.createElement(B.Icon,{icon:o}),i):null})))}}])&&ka(n.prototype,a),i&&ka(n,i),t}();Ta.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Ba=da(Ta);Object(i.nb)()||(Ba=_a(Ba));var Pa=Ba;function Na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ma(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Na(n,!0).forEach(function(t){Ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Na(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce(function(r,o){return Ma({},r,Ra({},Object(i.ib)(o,t,n,a?"#editor":""),e[o]))},{})},Da=function(e){return Object(i.fb)(Object.keys(e).reduce(function(t,n){var a=Object.keys(e[n]).reduce(function(t,a){var i=e[n][a];if(void 0===i)return t;var o=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(r.kebabCase)(n))});return"".concat(t,"\n\t").concat(o,": ").concat(i,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},za=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,o=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,p=void 0===b?1025:b,m=e.breakMobile,g=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=[],b=Object(r.omit)(t,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor"]);if(Object.keys(b).length){var p=Fa(b,n,a,c);u.push(Da(p))}if(void 0!==t.desktopTablet){var m=Fa(t.desktopTablet,n,a,c),g=Da(m);g&&u.push("\n@media screen and (min-width: ".concat(l,"px) {\n").concat(g," }"))}if(void 0!==t.desktopOnly){var d=Fa(t.desktopOnly,n,a,c),f=Da(d);f&&u.push("\n@media screen and (min-width: ".concat(o,"px) {\n").concat(f," }"))}if(void 0!==t.tablet){var h=Fa(t.tablet,n,a,c),v=Da(h);v&&u.push("\n@media screen and (max-width: ".concat(o,"px) {\n").concat(v," }"))}if(void 0!==t.tabletOnly){var y=Fa(t.tabletOnly,n,a,c),O=Da(y);O&&u.push("\n@media screen and (min-width: ".concat(l,"px) and (max-width: ").concat(o,"px) {\n").concat(O," }"))}if(void 0!==t.mobile){var w=Fa(t.mobile,n,a,c),_=Da(w);_&&u.push("\n@media screen and (max-width: ".concat(l,"px) {\n").concat(_," }"))}if(void 0!==t.ie11){var j=Fa(t.ie11,n,a,c),k=Da(j);k&&u.push("\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n".concat(k," }"))}return c&&void 0!==t.editor&&!s&&u.push(e(t.editor,n,a,o,l,c,s++)),Object(i.fb)(u.join(""))}(n,u,c,p,void 0===m?768:m,o);return g?wp.element.createElement("style",null,g):null};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ha=function(e){var t=e.options,n=e.selected,a=e.title,i=void 0===a?Object(s.__)("Layout",z.i18n):a,o=e.selectedOptionInTitle,c=void 0===o||o,u=e.help,b=void 0===u?"":u,p=e.className,m=void 0===p?"":p,g=e.initialOpen,d=void 0===g||g,f=t?t.find(function(e){return e.value===n}):null,h=f?"".concat(i," – ").concat(f.label):i,v=l()(["ugb-design-panel-body",m]);return wp.element.createElement(B.PanelBody,Ia({title:c?wp.element.createElement("span",null,h):i,className:v,initialOpen:d},Object(r.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(qa,Object(r.omit)(e,["help","title"])),e.children)};var La=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,i=void 0===a?"":a,r=e.imageHeight,o=void 0===r?"":r,l=e.label,c=t?t.match(/https?:/i)?t:z.srcUrl?"".concat(z.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:z.srcUrl?"".concat(z.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},s&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:i,height:o}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:i,height:o}),wp.element.createElement("span",{className:"design-label"},l))};function Ua(){return(Ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Va=function(e){var t=e.options.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wa(n,!0).forEach(function(t){Ga(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(La,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})}),n=l()([e.className,"ugb-design-control-wrapper","components-base-control","ugb-design-control--columns-".concat(e.columns)]);return wp.element.createElement("div",{className:n},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(B.RadioControl,Ua({},Object(r.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Va.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var qa=Va,Ja=n(85),Ya=n.n(Ja),Xa=n(86),Ka=n.n(Xa),$a=n(87),Za=n.n($a),Qa=n(88),ei=n.n(Qa),ti=n(89),ni=n.n(ti),ai=n(90),ii=n.n(ai),ri=n(91),oi=n.n(ri),li=n(92),ci=n.n(li),si=n(93),ui=n.n(si),bi=n(94),pi=n.n(bi),mi=n(95),gi=n.n(mi),di=n(96),fi=n.n(di),hi=n(97),vi=n.n(hi);function yi(){return(yi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oi={"wave-1":{image:pi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),1),value:"wave-1"},"straight-1":{image:ui.a,label:Object(s.__)("Straight",z.i18n),value:"straight-1"},"wave-2":{image:gi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),2),value:"wave-2"},"wave-3":{image:fi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),3),value:"wave-3"},"wave-4":{image:vi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),4),value:"wave-4"},"slant-1":{image:oi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),1),value:"slant-1"},"slant-2":{image:ci.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),2),value:"slant-2"},"curve-1":{image:Ya.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),1),value:"curve-1"},"curve-2":{image:Ka.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),2),value:"curve-2"},"curve-3":{image:Za.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),3),value:"curve-3"},"rounded-1":{image:ei.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),1),value:"rounded-1"},"rounded-2":{image:ni.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),2),value:"rounded-2"},"rounded-3":{image:ii.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),3),value:"rounded-3"}},wi=function(e){var t=Object.keys(Oi).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return Oi[e]});return wp.element.createElement(B.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(qa,yi({options:Object(ve.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(r.omit)(e,["label","help"]))))};wi.defaultProps={label:"",help:"",excludeDesigns:[]};var _i=wi;function ji(){return(ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ki=C.a.createElement("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}),Ci=function(e){return C.a.createElement("svg",ji({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),ki)};function xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ei=Object(q.withInstanceId)(Object(q.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,i=e.setState;return wp.element.createElement(B.BaseControl,xi({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(r.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(B.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){i(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(fo,{value:e.value}),!e.value&&wp.element.createElement(Ci,{style:{opacity:.3}})),n&&wp.element.createElement(Wi,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?i({clickedOnButton:!0}):i({openPopover:!1,clickedOnButton:!1})},onClose:function(){return i({openPopover:!1})},returnSVGValue:e.returnSVGValue,onChange:e.onChange})),wp.element.createElement(B.Button,{onClick:function(){e.onChange(""),i({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Reset",z.i18n))))}));Ei.defaultProps={label:Object(s.__)("Icon",z.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var Si=Ei;function Ai(){return(Ai=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ti=C.a.createElement("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}),Bi=function(e){return C.a.createElement("svg",Ai({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},e),Ti)};function Pi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ni(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}var Mi=function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,i,r=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"icon",n=r.length>1&&void 0!==r[1]?r[1]:z.fontAwesomeSearchProIcons,a='{ search(version: "latest", first: 50, query: "'.concat((t||"info").replace(/["'\\]/g,""),'") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t').concat(n?"pro":"","\n\t\t\t}\n\t\t} }"),e.next=5,fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then(function(e){return e.json()});case 5:return i=e.sent,e.abrupt("return",i.data.search.reduce(function(e,t){return Ri(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Ni(r,a,i,o,l,"next",e)}function l(e){Ni(r,a,i,o,l,"throw",e)}o(void 0)})});return function(){return t.apply(this,arguments)}}(),Ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(Pi(e.membership.free),Pi(t?e.membership.pro.filter(function(t){return!e.membership.free.includes(t)}):[]));return n.map(function(t){return{className:"fa".concat(t[0]," fa-").concat(e.id),prefix:"fa".concat(t[0]),iconName:e.id}})},Fi=n(98);function Di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zi=null,Ii=null,Hi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,"$1".concat(t," ")):e.match(/(<svg)/)?e.replace(/(<svg)/,'$1 class="'.concat(t,'"')):e},Li=function(e){for(var t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1"),n=0;n<2;n++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},Ui=function(e){var t=Di(Object(c.useState)(""),2),n=t[0],a=t[1],r=Di(Object(c.useState)([]),2),o=r[0],l=r[1],u=Di(Object(c.useState)(!1),2),b=u[0],p=u[1],m=Di(Object(c.useState)(!1),2),g=m[0],d=m[1],f=e.returnSVGValue;Object(c.useEffect)(function(){return clearTimeout(zi),zi=setTimeout(function(){p(!0),Mi(n).then(function(e){l(e)}).finally(function(){p(!1)})},500),function(){return clearTimeout(zi)}},[n]),Object(c.useEffect)(function(){Ii||(Ii=wp.data.select("core/block-editor").getSettings().mediaUpload),g?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Ii&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Ii})},[g]);return wp.element.createElement(B.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:"center"},wp.element.createElement(B.PanelBody,null,wp.element.createElement(Fi.FileDrop,{onFrameDragEnter:function(){return d(!0)},onFrameDragLeave:function(){return d(!1)},onFrameDrop:function(){return d(!1)},onDrop:function(t){if(f&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){d(!1);var n=Li(Hi(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else d(!1);else d(!1)}},wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(B.TextControl,{className:"ugb-icon-popover__input",value:n,onChange:a,placeholder:Object(s.__)("Type to search icon",z.i18n)}),f&&wp.element.createElement(B.Button,{onClick:function(t){t.preventDefault();var n=document.createElement("input");n.accept="image/svg+xml",n.type="file",n.onchange=function(t){var n=t.target.files;if(n.length){var a=new FileReader;a.onload=function(t){d(!1);var n=Li(Hi(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else d(!1)},n.click()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Upload SVG",z.i18n)),e.allowReset&&wp.element.createElement(B.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isTertiary:!0,className:"components-range-control__reset"},Object(s.__)("Clear",z.i18n))),f&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-area"},Object(s.__)("You can also drop your own SVG icon here",z.i18n)),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},b&&wp.element.createElement(B.Spinner,null),!b&&o.map(function(t,n){var a=t.prefix,r=t.iconName,o="".concat(a,"-").concat(r);return wp.element.createElement("button",{key:n,className:"components-button ugb-prefix--".concat(a," ugb-icon--").concat(r),onClick:function(){e.returnSVGValue?e.onChange(Li(Object(i.L)(a,r))):e.onChange(o,a,r),e.onClose()}},wp.element.createElement(dg,{prefix:a,iconName:r}))}),!b&&!o.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",z.i18n))),f&&g&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(Bi,{height:"40",width:"40"}),Object(s.__)("Drop your SVG here",z.i18n)))))};Ui.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0};var Wi=Ui,Gi=function(e){return wp.element.createElement(us,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Ws,{label:Object(s.__)("Align",z.i18n),className:l()([e.className,"ugb--help-tip-alignment-all"])}))};Gi.defaultProps={className:"",setAttributes:function(){},blockAttributes:{}};var Vi=Gi,qi=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function Ji(e){return(Ji="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function $i(e){return($i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qi(e,t){return(Qi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var er=1,tr=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=$i(t).apply(this,arguments))||"object"!==Ji(a)&&"function"!=typeof a?Zi(n):a).state={open:!1,isMouseOutside:!1},e.handleOpen=e.handleOpen.bind(Zi(e)),e.handleClose=e.handleClose.bind(Zi(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Zi(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Zi(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Zi(e)),e.buttonRef=Object(c.createRef)(),e.instanceId=er++,e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qi(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(n,!0).forEach(function(t){Xi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Xi({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleOnClickOutside",value:function(e){this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(B.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:l()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(B.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(B.Button,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",z.i18n),icon:"image-rotate"}),wp.element.createElement(B.Button,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",z.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(B.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(B.PanelBody,null,(this.props.label||this.props.popoverLabel)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Ki(n.prototype,a),i&&Ki(n,i),t}();tr.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var nr=tr,ar=function(e){var t=Object(i.Q)(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var r=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(oe,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,i=t.height,r=e.size||"full";t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChangeImage({id:t.id,url:n,width:a,height:i})}}),e.onChangeShape&&wp.element.createElement(Ce,{isSquareImage:r,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(qi,null),e.onChangeAlt&&wp.element.createElement(se,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){var n=Object(i.Q)(e.imageData,t||"full"),a="",r="",o=e.url;n&&(a=n.width,r=n.height,o=n.source_url),e.onChangeSize(t,o,a,r)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.width,max:n,onChange:function(t){var i=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(i*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&("number"==typeof e.width||e.width)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Force square image",z.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"}),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(et,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(et,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Blend Mode",z.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ar.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",onChangeSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var ir=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(ar);function rr(){return(rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(ir,rr({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id,o=e.width,l=e.height;t((or(a={},n("Url"),i),or(a,n("Id"),r),or(a,n("Width"),o),or(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(or({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,i,r){var o;t((or(o={},n("Size"),e),or(o,n("Url"),a),or(o,n("Width"),i),or(o,n("Height"),r),o))},shape:a("Shape"),onChangeShape:function(e){return t(or({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(or({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(or({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(or({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(or({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var i;t((or(i={},n("Width"),e),or(i,n("Height"),a),i))},onChangeTabletWidth:function(e){return t(or({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(or({},n("MobileWidth"),e))},square:a("Square"),onChangeSquare:function(e){return t(or({},n("Square"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(or({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(or({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(or({},n("BlendMode"),e))}},e))};lr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var cr=lr,sr=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(oe,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(i.R)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};sr.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var ur=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(sr);function br(){return(br=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(ur,br({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id;t((pr(a={},n("Url"),i),pr(a,n("Id"),r),a))},size:a("Size"),onChangeSize:function(e,a){var i;t((pr(i={},n("Size"),e),pr(i,n("Url"),a),i))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(pr({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(pr({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(pr({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(pr({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(pr({},n("BackgroundCustomSizeUnit"),e))}},e))};mr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var gr=mr;function dr(){return(dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fr=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(nr,{label:e.label,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,className:"ugb--help-tip-typography"},e.onChangeFontFamily&&wp.element.createElement(tn,{label:Object(s.__)("Font Family",z.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Weight",z.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Normal",z.i18n),value:"normal"},{label:Object(s.__)("Bold",z.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Transform",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Uppercase",z.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",z.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",z.i18n),value:"capitalize"},{label:Object(s.__)("None",z.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(et,{label:Object(s.__)("Letter Spacing",z.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};fr.defaultProps={label:Object(s.__)("Typography",z.i18n),showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var hr=fr;function vr(){return(vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Or=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(hr,vr({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(yr({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(yr({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(yr({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(yr({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(yr({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(yr({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(yr({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(yr({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(yr({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(yr({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(yr({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(yr({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(yr({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(yr({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(yr({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(yr({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((yr(e={},n("FontFamily"),""),yr(e,n("FontSize"),""),yr(e,n("TabletFontSize"),""),yr(e,n("MobileFontSize"),""),yr(e,n("FontSizeUnit"),"px"),yr(e,n("TabletFontSizeUnit"),"px"),yr(e,n("MobileFontSizeUnit"),"px"),yr(e,n("FontWeight"),""),yr(e,n("TextTransform"),""),yr(e,n("LetterSpacing"),""),yr(e,n("LineHeight"),""),yr(e,n("TabletLineHeight"),""),yr(e,n("MobileLineHeight"),""),yr(e,n("LineHeightUnit"),"em"),yr(e,n("TabletLineHeightUnit"),"em"),yr(e,n("MobileLineHeightUnit"),"em"),e))}},e))};Or.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var wr=Or,_r=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(B.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(et,{label:Object(s.__)("Background Color Opacity",z.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Gradient Color Settings",z.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(et,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(et,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Background Gradient Blend Mode",z.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(qi,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(et,{label:Object(s.__)("Background Media Tint Strength",z.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(i.pb).length>0)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Fixed Background",z.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Background Image Settings",z.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Image Blend Mode",z.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};_r.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",z.i18n),labelBackgroundColor:Object(s.__)("Background Color",z.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var jr=_r;function kr(){return(kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(jr,kr({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(Cr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Cr({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(Cr({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(Cr({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("BackgroundMediaURL"),i),Cr(a,n("BackgroundMediaID"),r),a))},onChangeTabletBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("TabletBackgroundMediaURL"),i),Cr(a,n("TabletBackgroundMediaID"),r),a))},onChangeMobileBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("MobileBackgroundMediaURL"),i),Cr(a,n("MobileBackgroundMediaID"),r),a))},onChangeBackgroundTintStrength:function(e,a){var i;t((Cr(i={},n("BackgroundTintStrength"),e),Cr(i,n("BackgroundColor"),a),i))},onChangeFixedBackground:function(e){return t(Cr({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(Cr({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(Cr({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(Cr({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(Cr({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((Cr(e={},n("BackgroundGradientDirection"),""),Cr(e,n("BackgroundGradientBlendMode"),""),Cr(e,n("BackgroundGradientLocation1"),""),Cr(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(Cr({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(Cr({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(Cr({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(Cr({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(Cr({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(Cr({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(Cr({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(Cr({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(Cr({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(Cr({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(Cr({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(Cr({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(Cr({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(Cr({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(Cr({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(Cr({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((Cr(e={},n("BackgroundPosition"),""),Cr(e,n("TabletBackgroundPosition"),""),Cr(e,n("MobileBackgroundPosition"),""),Cr(e,n("BackgroundRepeat"),""),Cr(e,n("TabletBackgroundRepeat"),""),Cr(e,n("MobileBackgroundRepeat"),""),Cr(e,n("BackgroundSize"),""),Cr(e,n("TabletBackgroundSize"),""),Cr(e,n("MobileBackgroundSize"),""),Cr(e,n("BackgroundCustomSize"),""),Cr(e,n("TabletBackgroundCustomSize"),""),Cr(e,n("MobileBackgroundCustomSize"),""),Cr(e,n("BackgroundCustomSizeUnit"),"%"),Cr(e,n("TabletBackgroundCustomSizeUnit"),"%"),Cr(e,n("MobileBackgroundCustomSizeUnit"),"%"),Cr(e,n("BackgroundImageBlendMode"),""),e))}},e))};xr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Er=xr,Sr=n(99),Ar=n.n(Sr),Tr=n(100),Br=n.n(Tr),Pr=n(101),Nr=n.n(Pr),Mr=n(102),Rr=n.n(Mr);function Fr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Dr=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(c.Fragment,null,e.onChangeUrl&&wp.element.createElement(L,{label:Object(s.__)("Link / URL",z.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(qi,null),e.onChangeDesign&&wp.element.createElement(qa,{label:Object(s.__)("Design",z.i18n),selected:t,options:[{label:Object(s.__)("Basic",z.i18n),value:"basic",image:Ar.a},{label:Object(s.__)("Ghost",z.i18n),value:"ghost",image:Br.a},{label:Object(s.__)("Plain",z.i18n),value:"plain",image:Rr.a}].concat(Fr(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",z.i18n),value:"link",image:Nr.a}]),Fr(Object(ve.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(qi,null),e.hasTypography&&"link"!==t&&wp.element.createElement(wr,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Button Size",z.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",z.i18n)},{value:"small",label:Object(s.__)("Small",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"medium",label:Object(s.__)("Medium",z.i18n)},{value:"large",label:Object(s.__)("Large",z.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(et,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Al,{label:Object(s.__)("Vertical Padding",z.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Al,{label:Object(s.__)("Horizontal Padding",z.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(et,{label:Object(s.__)("Border Width",z.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(et,{label:Object(s.__)("Shadow",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(qi,null),e.onChangeUseSocialColors&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Use social colors",z.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Button Color Type",z.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Opacity",z.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:.1,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(qi,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",z.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Hover Effect",z.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"lift",label:Object(s.__)("Lift",z.i18n)},{value:"scale",label:Object(s.__)("Scale",z.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",z.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",z.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",z.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Hover Opacity",z.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:.1,max:1,step:.1,allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(nr,{label:Object(s.__)("Hover Colors",z.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(X,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(qi,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Si,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Icon Settings",z.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Icon Position",z.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",z.i18n)},{value:"right",label:Object(s.__)("Right",z.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(et,{label:Object(s.__)("Icon Spacing",z.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};Dr.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var zr=Dr;function Ir(){return(Ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(zr,Ir({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(Hr({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(Hr({},n("Url"),e))},onChangeNewTab:function(e){return t(Hr({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(Hr({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(Hr({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(Hr({},n("Opacity"),e))},onChangeTextColor:function(e){return t(Hr({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(Hr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Hr({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(Hr({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(Hr({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((Hr(e={},n("HoverBackgroundColor"),""),Hr(e,n("HoverBackgroundColor2"),""),Hr(e,n("HoverBackgroundGradientDirection"),""),Hr(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(Hr({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(Hr({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(Hr({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(Hr({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(Hr({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(Hr({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(Hr({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(Hr({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(Hr({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(Hr({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(Hr({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((Hr(e={},n("IconSize"),""),Hr(e,n("IconPosition"),""),Hr(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(Hr({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(Hr({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(Hr({},n("IconSpacing"),e))}},e))};Lr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ur=Lr,Wr=n(103),Gr=n.n(Wr),Vr=n(104),qr=n.n(Vr),Jr=n(105),Yr=n.n(Jr);function Xr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Kr=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(c.Fragment,null,e.onChangeIcon&&wp.element.createElement(Si,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(qa,{label:Object(s.__)("Design",z.i18n),selected:e.design,columns:3,options:[{label:Object(s.__)("Plain",z.i18n),value:"plain",image:Gr.a},{label:Object(s.__)("Shaped",z.i18n),value:"shaped",image:qr.a},{label:Object(s.__)("Outlined",z.i18n),value:"outlined",image:Yr.a}].concat(Xr(Object(ve.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),z.showProNotice&&wp.element.createElement(Vo,{title:Object(s.__)("Say Hello to Gorgeous Icons 👋",z.i18n),description:Object(s.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",z.i18n)}),z.showProNotice&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Color Type",z.i18n),id:"icon-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n),className:"ugb--is-premium",isDisabled:!0},{value:"multicolor",title:Object(s.__)("Multicolor",z.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(ve.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(c.Fragment,null,e.onChangeColor&&wp.element.createElement(X,{label:Object(s.__)("Icon Color",z.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(qi,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(c.Fragment,null,z.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Shape / Outline Color",z.i18n),id:"icon-shape-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(ve.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(X,{label:Object(s.__)("Icon Shape / Outline Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(et,{label:"shaped"===e.design?Object(s.__)("Icon Shape Border Radius",z.i18n):Object(s.__)("Outline Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(et,{label:"shaped"===e.design?Object(s.__)("Icon Shape Padding",z.i18n):Object(s.__)("Outline Padding",z.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(et,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&wp.element.createElement(et,{label:Object(s.__)("Outline Width",z.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(qi,null)),e.onChangeSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Icon Opacity",z.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(et,{label:Object(s.__)("Icon Rotation",z.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(ve.applyFilters)("stackable.icon-controls.edit.after",null,e))};Kr.defaultProps={icon:"",onChangeIcon:function(){},design:"",onChangeDesign:function(){},colorType:"",onChangeColorType:function(){},color:"",onChangeColor:function(){},color2:"",onChangeColor2:function(){},colorGradientDirection:"",onChangeColorGradientDirection:function(){},numPaths:"",color3:"",onChangeColor3:function(){},color4:"",onChangeColor4:function(){},color5:"",onChangeColor5:function(){},color6:"",onChangeColor6:function(){},color7:"",onChangeColor7:function(){},color8:"",onChangeColor8:function(){},color9:"",onChangeColor9:function(){},color10:"",onChangeColor10:function(){},multiOpacity1:"",onChangeMultiOpacity1:function(){},multiOpacity2:"",onChangeMultiOpacity2:function(){},multiOpacity3:"",onChangeMultiOpacity3:function(){},multiOpacity4:"",onChangeMultiOpacity4:function(){},multiOpacity5:"",onChangeMultiOpacity5:function(){},multiOpacity6:"",onChangeMultiOpacity6:function(){},multiOpacity7:"",onChangeMultiOpacity7:function(){},multiOpacity8:"",onChangeMultiOpacity8:function(){},multiOpacity9:"",onChangeMultiOpacity9:function(){},multiOpacity10:"",onChangeMultiOpacity10:function(){},borderRadius:"",onChangeBorderRadius:function(){},padding:"",onChangePadding:function(){},shadow:"",onChangeShadow:function(){},outlineWidth:"",onChangeOutlineWidth:function(){},backgroundColorType:"",onChangeBackgroundColorType:function(){},backgroundColor:"",onChangeBackgroundColor:function(){},backgroundColor2:"",onChangeBackgroundColor2:function(){},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:function(){},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:function(){},onChangeTabletSize:function(){},onChangeMobileSize:function(){},opacity:"",onChangeOpacity:function(){},rotation:"",onChangeRotation:function(){},showBackgroundShape:"",onChangeShowBackgroundShape:function(){},backgroundShape:"",onChangeBackgroundShape:function(){},backgroundShapeSize:"",onChangeBackgroundShapeSize:function(){},backgroundShapeColor:"",onChangeBackgroundShapeColor:function(){},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:function(){},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:function(){}};var $r=Kr;function Zr(){return(Zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement($r,Zr({icon:a("Icon"),onChangeIcon:function(e){return t(Qr({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(Qr({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(Qr({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(Qr({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(Qr({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(Qr({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(Qr({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(Qr({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(Qr({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(Qr({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(Qr({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(Qr({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(Qr({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(Qr({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(Qr({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(Qr({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(Qr({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(Qr({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(Qr({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(Qr({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(Qr({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(Qr({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(Qr({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(Qr({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Qr({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(Qr({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(Qr({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Qr({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(Qr({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(Qr({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(Qr({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(Qr({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(Qr({},n("Size"),e))},onChangeTabletSize:function(e){return t(Qr({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(Qr({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(Qr({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(Qr({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(Qr({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(Qr({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(Qr({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(Qr({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(Qr({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(Qr({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(Qr({},n("BackgroundShapeOffsetVertical"),e))}},e))};eo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var to=eo,no=function(e){return wp.element.createElement(c.Fragment,null,e.socialUrlFields&&wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){return wp.element.createElement(B.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",z.i18n),i.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(r.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(qi,null),wp.element.createElement(Ur,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};no.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var ao=no;function io(){return(io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(ao,io({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(ro({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(ro({},n("UseSocialColors"),e))}},e))};oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var lo=oo;function co(){return(co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(n,!0).forEach(function(t){bo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var po=function(e,t){var n=Object(i.T)(t||"blob1");return n?wp.element.createElement("div",{className:"ugb-icon__bg-shape-wrapper"},e,wp.element.createElement(n,{className:"ugb-icon__bg-shape"})):e},mo=function(e){var t=Object(ve.applyFilters)("stackable.svg-icon.extract-svg",e);return t.match(/^<svg(.*?)<\/svg>$/g)?t:t.match(/<svg/)?(t.match(/<svg.*?<\/svg>/g)||[t])[0]:t},go=function(e){var t=uo({},e,{value:"string"==typeof e.value?mo(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],bo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(dg,co({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],bo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=po(a,e.backgroundShape)),a=Object(ve.applyFilters)("stackable.component.svg-icon",a,t)};go.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(go.Content=function(e){var t=uo({},e,{value:"string"==typeof e.value?mo(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],bo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(dg.Content,co({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],bo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=po(a,e.backgroundShape)),a=Object(ve.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=uo({},go.defaultProps);var fo=go;function ho(){return(ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vo=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(fo,ho({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))};vo.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},vo.Content=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(fo.Content,ho({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))},vo.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var yo=vo;function Oo(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var _o=Object(q.withInstanceId)(function(e){var t=wo(Object(c.useState)(!1),2),n=t[0],a=t[1],i=wo(Object(c.useState)(!1),2),r=i[0],o=i[1],l=e.instanceId,s=e.isOpen,u=e.onChange,b=Oo(e,["instanceId","isOpen","onChange"]);return Object(c.useEffect)(function(){e.onToggle(n)},[n]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(l)},wp.element.createElement(B.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){r?(a(!1),o(!1)):a(!0)}},wp.element.createElement(yo,b)),(null!==s&&s||null===s&&n)&&wp.element.createElement(Wi,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(l))?o(!0):(a(!1),o(!1))},onClose:function(){return a(!1)},onChange:u}))});_o.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var jo=_o;function ko(){return(ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Co=C.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),xo=C.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),Eo=C.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),So=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Ao=C.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),To=C.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Bo=C.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),Po=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),No=C.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),Mo=C.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),Ro=C.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),Fo=function(e){return C.a.createElement("svg",ko({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Co,xo,Eo,So,Ao,To,Bo,Po,No,Mo,Ro)},Do={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",z.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",z.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",z.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",z.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",z.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",z.i18n),description:Object(s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)}},zo=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(Fo,null),wp.element.createElement("h4",null,e.title||Do[e.type].title),wp.element.createElement("p",null,e.description||Do[e.type].description),e.showButton&&wp.element.createElement(Zn,{button:e.button||Do[e.type].button}))};zo.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var Io=zo;function Ho(e){return(Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lo(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Uo(e){return(Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Wo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Go(e,t){return(Go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Vo=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Uo(t).apply(this,arguments))||"object"!==Ho(a)&&"function"!=typeof a?Wo(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(Wo(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Go(e,t)}(t,c["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=l()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(Io,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&Lo(n.prototype,a),i&&Lo(n,i),t}();function qo(e){return(qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jo(n,!0).forEach(function(t){Xo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Zo(e){return(Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function el(e,t){return(el=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var tl=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=Zo(t).apply(this,arguments))||"object"!==qo(a)&&"function"!=typeof a?Qo(n):a).getEnabledValues(),r=!i.length||i.every(function(e){return e===i[0]}),o=i.every(function(e){return""===e});return e.state={locked:o?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Qo(e)),e.onChangeTop=e.onChangeTop.bind(Qo(e)),e.onChangeRight=e.onChangeRight.bind(Qo(e)),e.onChangeBottom=e.onChangeBottom.bind(Qo(e)),e.onChangeLeft=e.onChangeLeft.bind(Qo(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Ko(this.props.enableTop?[this.props.top]:[]),Ko(this.props.enableRight?[this.props.right]:[]),Ko(this.props.enableBottom?[this.props.bottom]:[]),Ko(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Ko(this.props.enableTop?["top"]:[]),Ko(this.props.enableRight?["right"]:[]),Ko(this.props.enableBottom?["bottom"]:[]),Ko(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",z.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",z.i18n))),wp.element.createElement(B.Button,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&$o(n.prototype,a),i&&$o(n,i),t}();tl.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(q.withInstanceId)(tl);function nl(){return(nl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var al=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),il=C.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),rl=function(e){return C.a.createElement("svg",nl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),al,il)};function ol(){return(ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ll=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),cl=C.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),sl=function(e){return C.a.createElement("svg",ol({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ll,cl)};function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),pl=C.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),ml=function(e){return C.a.createElement("svg",ul({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),bl,pl)};function gl(){return(gl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),fl=C.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),hl=function(e){return C.a.createElement("svg",gl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),dl,fl)};function vl(e){return(vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yl(){return(yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ol(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wl(n,!0).forEach(function(t){jl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Cl(e){return(Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function El(e,t){return(El=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sl=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=Cl(t).apply(this,arguments))||"object"!==vl(a)&&"function"!=typeof a?xl(n):a).getEnabledValues(),r=e.firstValue(),o=Object.values(i).every(function(e){return e===r}),l=Object.values(i).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:o},e.onToggleLock=e.onToggleLock.bind(xl(e)),e.onChangeAll=e.onChangeAll.bind(xl(e)),e.onChangeTop=e.onChangeTop.bind(xl(e)),e.onChangeRight=e.onChangeRight.bind(xl(e)),e.onChangeBottom=e.onChangeBottom.bind(xl(e)),e.onChangeLeft=e.onChangeLeft.bind(xl(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return _l({},t,jl({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(Ol(this.props.enableTop?["top"]:[]),Ol(this.props.enableRight?["right"]:[]),Ol(this.props.enableBottom?["bottom"]:[]),Ol(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,i="ugb-four-range-control-".concat(t,"__item-"),r={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},o=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(r.min=this.props.min[o]),Array.isArray(this.props.max)&&(r.max=this.props.max[o]),Array.isArray(this.props.step)&&(r.step=this.props.step[o]),Array.isArray(this.props.placeholder)&&(r.placeholder=this.props.placeholder[o]),Array.isArray(this.props.initialPosition)&&(r.initialPosition=this.props.initialPosition[o]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(B.Button,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:b}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(et,yl({id:"".concat(i,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},r))),!this.state.locked&&wp.element.createElement(c.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Top",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(hl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},r))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Right",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(ml,null))),wp.element.createElement(et,yl({id:"".concat(i,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},r))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Bottom",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(rl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},r))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Left",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(sl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},r)))))}}])&&kl(n.prototype,a),i&&kl(n,i),t}();Sl.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",initialPosition:""};var Al=Sl,Tl=n(106),Bl=n.n(Tl),Pl=n(107),Nl=n.n(Pl),Ml=n(108),Rl=n.n(Ml),Fl=n(109),Dl=n.n(Fl),zl=n(110),Il=n.n(zl),Hl=n(111),Ll=n.n(Hl),Ul=n(112),Wl=n.n(Ul),Gl=n(113),Vl=n.n(Gl),ql=n(114),Jl=n.n(ql),Yl=n(115),Xl=n.n(Yl),Kl=n(116),$l=n.n(Kl),Zl=n(117),Ql=n.n(Zl),ec=n(118),tc=n.n(ec),nc=n(119),ac=n.n(nc),ic=n(120),rc=n.n(ic),oc=n(121),lc=n.n(oc),cc=n(122),sc=n.n(cc),uc=n(123),bc=n.n(uc),pc=n(124),mc=n.n(pc),gc=n(125),dc=n.n(gc),fc=n(126),hc=n.n(fc),vc=n(127),yc=n.n(vc),Oc=n(128),wc=n.n(Oc),_c=n(129),jc=n.n(_c),kc=n(130),Cc=n.n(kc),xc=n(131),Ec=n.n(xc),Sc=n(132),Ac=n.n(Sc),Tc=n(133),Bc=n.n(Tc),Pc=n(134),Nc=n.n(Pc),Mc=n(135),Rc=n.n(Mc),Fc=n(47);function Dc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function zc(){return(zc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ic={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Hc={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Lc=function(e){var t=e.getRailProps;return wp.element.createElement(c.Fragment,null,wp.element.createElement("div",zc({style:Ic},t())),wp.element.createElement("div",{style:Hc}))},Uc=function(e){var t=Dc(e.domain,2),n=t[0],a=t[1],i=e.handle,r=i.id,o=i.value,l=i.percent,c=e.disabled,s=void 0!==c&&c,u=e.getHandleProps;return wp.element.createElement("button",zc({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":o,disabled:s,style:{left:"".concat(l,"%")}},u(r)))},Wc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var i=0;i<e.length-1;i++)if(e[i]<10){var r=10-e[i];e[i]=10,e[i+1]-=r}if("right"===t)for(var o=e.length-1;o>=1;o--)if(e[o]<10){var l=10-e[o];e[o]=10,e[o-1]-=l}return e};function Gc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Vc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var qc={position:"relative",width:"100%"},Jc=[0,100],Yc=function(e){var t=0;return[].concat(Vc(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Xc=function(e){var t=0;return Vc(e).pop(),e.reduce(function(n,a,i){if(i===e.length-1)return n;var r=a+t;return t+=a,n.push(r),n},[])},Kc=function(e){return wp.element.createElement(Fc.c,{className:"ugb-column-widths-control__columns-slider",rootStyle:qc,mode:function(e,t){var n,a=e.map(function(e){return e.val}),i=t.map(function(e){return e.val});if(Object(r.isEqual)(a,i))return t;if((n=[0].concat(Vc(i),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var o=Gc(function(e,t){var n,a=0;return t.some(function(t,i){return t!==e[i]&&(a=i,n=t>e[i]?"right":"left",!0)}),[a,n]}(a,i),2);o[0];(function(e,t,n){var a=Yc(e),i=Wc(a,n);return Xc(i)})(i,0,o[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Yc(t))},domain:Jc,values:Xc(e.value)},wp.element.createElement(Fc.b,null,function(e){var t=e.getRailProps;return wp.element.createElement(Lc,{getRailProps:t})}),wp.element.createElement(Fc.a,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(Uc,{key:e.id,handle:e,domain:Jc,getHandleProps:n})}))}))};Kc.defaultProps={onChange:function(){},value:[]};var $c=Kc;function Zc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Qc=function(e){return e.every(function(e){return!e})},es=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Qc(e.value)?"column":void 0,justifyContent:Qc(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),i=Zc(e.value);i[n]=isNaN(a)?"":a,e.onChange(i)},onBlur:function(){var t=Wc(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(Wc(t))}})}))};es.defaultProps={onChange:function(){},value:[]};var ts=es;function ns(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var as={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},is={plain:{2:[{value:"2-1",image:Bl.a},{value:"2-2",image:Nl.a},{value:"2-3",image:Rl.a}],3:[{value:"3-1",image:Dl.a},{value:"3-2",image:Il.a},{value:"3-3",image:Ll.a},{value:"3-4",image:Wl.a}],4:[{value:"4-1",image:Vl.a},{value:"4-2",image:Jl.a},{value:"4-3",image:Xl.a}]},grid:{2:[{value:"2-1",image:$l.a},{value:"2-2",image:Ql.a},{value:"2-3",image:tc.a}],3:[{value:"3-1",image:ac.a},{value:"3-2",image:rc.a},{value:"3-3",image:lc.a},{value:"3-4",image:sc.a}],4:[{value:"4-1",image:bc.a},{value:"4-2",image:mc.a},{value:"4-3",image:dc.a}]},uneven:{2:[{value:"2-1",image:hc.a},{value:"2-2",image:yc.a},{value:"2-3",image:wc.a}],3:[{value:"3-1",image:jc.a},{value:"3-2",image:Cc.a},{value:"3-3",image:Ec.a},{value:"3-4",image:Ac.a}],4:[{value:"4-1",image:Bc.a},{value:"4-2",image:Nc.a},{value:"4-3",image:Rc.a}]}},rs=function(e){return e.every(function(e){return!e})},os=function(e){var t=ns(Object(c.useState)(-1),2),n=(t[0],t[1]),a=ns(Object(c.useState)(!0),2),i=(a[0],a[1]),o=ns(Object(c.useState)(""),2),u=o[0],b=o[1];Object(c.useEffect)(function(){b("")},[e.columns]);var p="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",m=is[p],g=wp.element.createElement(B.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?rs(e.values):Object(r.isEqual)(e.values,as[u||"".concat(e.columns,"-1")]),onClick:function(){b(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(as[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(B.BaseControl,{help:e.help,className:l()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&m[e.columns])&&wp.element.createElement(Ye,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),m[e.columns]&&wp.element.createElement(qa,{options:m[e.columns],onChange:function(t){n(-1),i(!0),b(t),e.onChange(as[t])}}),e.hasIndividualControls&&wp.element.createElement(c.Fragment,null,wp.element.createElement($c,{value:rs(e.values)?as["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(ts,{value:rs(e.values)?e.forceBlank?e.values:as["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};os.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",z.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var ls=os;function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ss=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(i.b)(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(c.Fragment,null,a.includes("desktop")&&wp.element.createElement(hs,{screens:a},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(cs({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(hs,{screens:a,screen:"tablet"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Tablet"),placeholder:n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(cs({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(hs,{screens:a,screen:"mobile"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Mobile"),placeholder:n("Tablet")||n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(cs({},t("Mobile"),n))}})})))};ss.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var us=ss;function bs(e){return(bs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ps(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ms(e){return(ms=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ds(e,t){return(ds=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fs=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ms(t).apply(this,arguments))||"object"!==bs(a)&&"function"!=typeof a?gs(n):a).state={screen:Object(i.S)()},e.onScreenChange=e.onScreenChange.bind(gs(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}(t,c["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=c.Children.toArray(this.props.children).map(function(t){return Object(c.cloneElement)(t,{screens:e.props.screens})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(c.Fragment,null,(n||a)&&t)}}])&&ps(n.prototype,a),r&&ps(n,r),t}();fs.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var hs=Object(q.withInstanceId)(fs);function vs(){return(vs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ys=C.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),Os=function(e){return C.a.createElement("svg",vs({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ys)};function ws(){return(ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _s=C.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),js=function(e){return C.a.createElement("svg",ws({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),_s)};function ks(){return(ks=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cs=C.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),xs=function(e){return C.a.createElement("svg",ks({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Cs)};function Es(){return(Es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ss=C.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),As=function(e){return C.a.createElement("svg",Es({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ss)};function Ts(){return(Ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bs=C.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),Ps=function(e){return C.a.createElement("svg",Ts({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Bs)};function Ns(){return(Ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ms=C.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),Rs=function(e){return C.a.createElement("svg",Ns({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ms)};function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ds=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),1),icon:wp.element.createElement(Os,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),2),icon:wp.element.createElement(js,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),3),icon:wp.element.createElement(xs,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),4),icon:wp.element.createElement(As,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),5),icon:wp.element.createElement(Ps,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),6),icon:wp.element.createElement(Rs,null)}],zs=function(e){return wp.element.createElement(Yt,Fs({},e,{className:"ugb-heading-buttons-control",controls:Ds}))};zs.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",z.i18n)),value:Ds[0].value};var Is=zs;function Hs(){return(Hs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ls=[{value:"left",title:Object(s.__)("Align Left",z.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",z.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",z.i18n),icon:"editor-justify"}],Us=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Yt,Hs({},Object(r.omit)(e,["justified"]),{className:l()([n,"ugb-align-buttons-control"]),controls:Ls.filter(function(e){return!!t||"justify"!==e.value})}))};Us.defaultProps={className:"",label:Object(s.__)("Align",z.i18n),value:Ls[0].value,justified:!1};var Ws=Us;function Gs(){return(Gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Vs(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var qs={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Vs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(ve.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(ve.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Gs({},r,{id:u,className:g}),t.styles,Object(ve.applyFilters)("stackable.".concat(o,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(ve.applyFilters)("stackable.".concat(o,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(o,".edit.output.after"),null,b,t)))}};qs.Edit.defaultProps={styles:null,mainClass:!0},qs.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Vs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(ve.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(ve.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Gs({},r,{id:u,className:g}),t.styles,Object(ve.applyFilters)("stackable.".concat(o,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(ve.applyFilters)("stackable.".concat(o,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(o,".save.output.after"),null,b,t)))},qs.Save.defaultProps={styles:null,mainClass:!0};var Js=qs,Ys=n(43),Xs=n(14),Ks=n.n(Xs);function $s(e){return($s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zs(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qs(e){return(Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tu(e,t){return(tu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var nu=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Qs(t).apply(this,arguments))||"object"!==$s(a)&&"function"!=typeof a?eu(n):a).state={value:e.props.value},e.uniqueId=Object(r.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(eu(e)),e.debouncedOnChange=Object(r.debounce)(e.debouncedOnChange.bind(eu(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tu(e,t)}(t,c["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Ys.initialize&&(this.codeMirror=Object(Ys.initialize)(this.uniqueId,Ks()(Ys.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Zs(n.prototype,a),i&&Zs(n,i),t}();nu.defaultProps={value:"",onChange:function(){},editorSettings:{}};var au=nu;function iu(){return(iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ru=C.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),ou=function(e){return C.a.createElement("svg",iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ru)};function lu(){return(lu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cu=C.a.createElement("filter",{id:"curve-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),su=C.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),uu=function(e){return C.a.createElement("svg",lu({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cu,su)};function bu(){return(bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pu=C.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),mu=function(e){return C.a.createElement("svg",bu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pu)};function gu(){return(gu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var du=C.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fu=C.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),hu=function(e){return C.a.createElement("svg",gu({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),du,fu)};function vu(){return(vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yu=C.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),Ou=function(e){return C.a.createElement("svg",vu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yu)};function wu(){return(wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _u=C.a.createElement("filter",{id:"curve-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ju=C.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),ku=function(e){return C.a.createElement("svg",wu({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_u,ju)};function Cu(){return(Cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xu=C.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),Eu=function(e){return C.a.createElement("svg",Cu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xu)};function Su(){return(Su=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Au=C.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Tu=C.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),Bu=function(e){return C.a.createElement("svg",Su({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Au,Tu)};function Pu(){return(Pu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nu=C.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),Mu=function(e){return C.a.createElement("svg",Pu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Nu)};function Ru(){return(Ru=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fu=C.a.createElement("filter",{id:"curve-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Du=C.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),zu=function(e){return C.a.createElement("svg",Ru({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fu,Du)};function Iu(){return(Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hu=C.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),Lu=function(e){return C.a.createElement("svg",Iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hu)};function Uu(){return(Uu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wu=C.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Gu=C.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Vu=function(e){return C.a.createElement("svg",Uu({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wu,Gu)};function qu(){return(qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ju=C.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Yu=function(e){return C.a.createElement("svg",qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ju)};function Xu(){return(Xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ku=C.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$u=C.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Zu=function(e){return C.a.createElement("svg",Xu({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ku,$u)};function Qu(){return(Qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eb=C.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),tb=function(e){return C.a.createElement("svg",Qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),eb)};function nb(){return(nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ab=C.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ib=C.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),rb=function(e){return C.a.createElement("svg",nb({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ab,ib)};function ob(){return(ob=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lb=C.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),cb=function(e){return C.a.createElement("svg",ob({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lb)};function sb(){return(sb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ub=C.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),bb=C.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),pb=function(e){return C.a.createElement("svg",sb({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ub,bb)};function mb(){return(mb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gb=C.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),db=function(e){return C.a.createElement("svg",mb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gb)};function fb(){return(fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hb=C.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),vb=C.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),yb=function(e){return C.a.createElement("svg",fb({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hb,vb)};function Ob(){return(Ob=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wb=C.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),_b=function(e){return C.a.createElement("svg",Ob({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wb)};function jb(){return(jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kb=C.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Cb=C.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),xb=function(e){return C.a.createElement("svg",jb({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kb,Cb)};function Eb(){return(Eb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sb=C.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),Ab=function(e){return C.a.createElement("svg",Eb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Sb)};function Tb(){return(Tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bb=C.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Pb=C.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),Nb=function(e){return C.a.createElement("svg",Tb({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bb,Pb)};function Mb(){return(Mb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rb=C.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),Fb=function(e){return C.a.createElement("svg",Mb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rb)};function Db(){return(Db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zb=C.a.createElement("filter",{id:"slant-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ib=C.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),Hb=function(e){return C.a.createElement("svg",Db({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zb,Ib)};function Lb(){return(Lb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ub=C.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),Wb=function(e){return C.a.createElement("svg",Lb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ub)};function Gb(){return(Gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vb=C.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qb=C.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Jb=function(e){return C.a.createElement("svg",Gb({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vb,qb)};function Yb(){return(Yb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xb=C.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Kb=function(e){return C.a.createElement("svg",Yb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xb)};function $b(){return($b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zb=C.a.createElement("filter",{id:"slant-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qb=C.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),ep=function(e){return C.a.createElement("svg",$b({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zb,Qb)};function tp(){return(tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var np=C.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),ap=function(e){return C.a.createElement("svg",tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),np)};function ip(){return(ip=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rp=C.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),op=C.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),lp=function(e){return C.a.createElement("svg",ip({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rp,op)};function cp(){return(cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sp=C.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),up=function(e){return C.a.createElement("svg",cp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sp)};function bp(){return(bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pp=C.a.createElement("filter",{id:"straight-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),mp=C.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),gp=function(e){return C.a.createElement("svg",bp({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pp,mp)};function dp(){return(dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fp=C.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),hp=function(e){return C.a.createElement("svg",dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fp)};function vp(){return(vp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yp=C.a.createElement("filter",{id:"wave-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Op=C.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),_p=function(e){return C.a.createElement("svg",vp({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yp,Op)};function jp(){return(jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kp=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),Cp=function(e){return C.a.createElement("svg",jp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kp)};function xp(){return(xp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ep=C.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sp=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),Ap=function(e){return C.a.createElement("svg",xp({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ep,Sp)};function Tp(){return(Tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bp=C.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),Pp=function(e){return C.a.createElement("svg",Tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bp)};function Np(){return(Np=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mp=C.a.createElement("filter",{id:"wave-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rp=C.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),Fp=function(e){return C.a.createElement("svg",Np({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mp,Rp)};function Dp(){return(Dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zp=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),Ip=function(e){return C.a.createElement("svg",Dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zp)};function Hp(){return(Hp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lp=C.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Up=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Wp=function(e){return C.a.createElement("svg",Hp({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lp,Up)};function Gp(){return(Gp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vp=C.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),qp=function(e){return C.a.createElement("svg",Gp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vp)};function Jp(){return(Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yp=C.a.createElement("filter",{id:"wave-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Xp=C.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Kp=function(e){return C.a.createElement("svg",Jp({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yp,Xp)};function $p(){return($p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zp=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Qp=function(e){return C.a.createElement("svg",$p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zp)};function em(){return(em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var tm=C.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),nm=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),am=function(e){return C.a.createElement("svg",em({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tm,nm)};function im(){return(im=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rm=C.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),om=function(e){return C.a.createElement("svg",im({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rm)};function lm(){return(lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cm=C.a.createElement("filter",{id:"wave-4-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),sm=C.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),um=function(e){return C.a.createElement("svg",lm({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cm,sm)};function bm(){return(bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pm=C.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),mm=function(e){return C.a.createElement("svg",bm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pm)};function gm(){return(gm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dm=C.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fm=C.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),hm={"wave-1":{default:{shape:hp,shadow:_p},inverted:{shape:Cp,shadow:Ap}},"wave-2":{default:{shape:Pp,shadow:Fp},inverted:{shape:Ip,shadow:Wp}},"wave-3":{default:{shape:qp,shadow:Kp},inverted:{shape:Qp,shadow:am}},"wave-4":{default:{shape:om,shadow:um},inverted:{shape:mm,shadow:function(e){return C.a.createElement("svg",gm({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),dm,fm)}}},"curve-1":{default:{shape:ou,shadow:uu},inverted:{shape:mu,shadow:hu}},"curve-2":{default:{shape:Ou,shadow:ku},inverted:{shape:Eu,shadow:Bu}},"curve-3":{default:{shape:Mu,shadow:zu},inverted:{shape:Lu,shadow:Vu}},"slant-1":{default:{shape:Fb,shadow:Hb},inverted:{shape:Wb,shadow:Jb}},"slant-2":{default:{shape:Kb,shadow:ep},inverted:{shape:ap,shadow:lp}},"straight-1":{default:{shape:up,shadow:gp},inverted:{shape:up,shadow:gp}},"rounded-1":{default:{shape:Yu,shadow:Zu},inverted:{shape:tb,shadow:rb}},"rounded-2":{default:{shape:cb,shadow:pb},inverted:{shape:db,shadow:yb}},"rounded-3":{default:{shape:_b,shadow:xb},inverted:{shape:Ab,shadow:Nb}}},vm=function(e){var t=hm[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,i=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:i},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};vm.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},vm.Save=function(e){return wp.element.createElement(vm,e)};var ym=vm;function Om(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wm=function(e){var t,n=l()([e.className,"ugb-img"],(Om(t={},"wp-image-".concat(e.imageId),e.imageId),Om(t,"ugb-img--shape",e.shape),Om(t,"ugb-image--shape-stretch",e.shapeStretch),Om(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:e.alt||void 0,width:e.width||void 0,height:e.height||void 0})};wm.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var _m=wm,jm=n(17),km=n(26),Cm=wp.element.createElement(B.Icon,{icon:Vn.h}),xm=wp.element.createElement(B.Icon,{icon:Vn.D});var Em=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),i=a.getBlockRootClientId,r=a.getBlocksByClientId,o=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?i(n[0]):void 0),l=r(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:o&&l.length&&!c,isUngroupable:c&&!!l[0].innerBlocks.length,blocksSelection:l,groupingBlockName:"ugb/container"}}),Object(je.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,i=void 0===a?r.noop:a,o=t.blocksSelection,l=void 0===o?[]:o,c=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=Object(je.select)("core/blocks").getGroupingBlockName();Object(jm.setGroupingBlockName)("ugb/container");var t=Object(jm.switchToBlockType)(l,c);t&&s(n,t),Object(jm.setGroupingBlockName)(e),i()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(s(n,e),i())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,i=void 0!==a&&a,r=e.isUngroupable,o=void 0!==r&&r;return Object(je.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,i&&wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:Cm,label:Object(s.__)("Group into Container",z.i18n),onClick:t}),o&&wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:xm,label:Object(s.__)("Ungroup from Container",z.i18n),onClick:n})):null}),Sm=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(Em),Am=Object(q.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,i=e.setState,o=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){i({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(B.Modal,{title:"".concat(Object(r.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}i({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return i({changed:!0})}},o())))}),Tm=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var i=e("core/block-editor").getBlockAttributes(n),r=t(n).replace(/^\w+\//g,""),o=a(t(n)).attributes,l=Object.keys(i).reduce(function(e,t){return i[t]!==(o[t]?o[t].default:"")&&(e[t]=i[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(ve.applyFilters)("stackable.".concat(r,".design.filtered-block-attributes"),l),null,4)}}}),Object(je.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Object(i.e)(t,n)}catch(e){console.error(e)}}}})])(Am),Bm=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(Tm);function Pm(){return(Pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Nm(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Mm=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,o=e.showBackground,c=e.showVideoBackground,s=Nm(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":o&&Object(i.V)(a,r.attributes)});return wp.element.createElement(t,Pm({className:u},s),e.children,o&&c&&Object(i.I)(a,r))};Mm.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var Rm=Mm,Fm=function(e){return wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Welcome Guide",z.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",z.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",z.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(B.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",z.i18n))))};Fm.defaultProps={onRequestClose:function(){}};var Dm=Fm;function zm(){return(zm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Im=C.a.createElement("path",{d:"M38 12H12v26h26V12z"}),Hm=function(e){return C.a.createElement("svg",zm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Im)};function Lm(){return(Lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Um=C.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),Wm=function(e){return C.a.createElement("svg",Lm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Um)};function Gm(){return(Gm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vm=C.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),qm=function(e){return C.a.createElement("svg",Gm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Vm)},Jm=void 0;function Ym(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ym(n,!0).forEach(function(t){Km(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ym(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Zm=function(e){var t=$m(Object(c.useState)([]),2),n=t[0],a=t[1],i=$m(Object(c.useState)({}),2),o=i[0],u=i[1],b=$m(Object(c.useState)(0),2),p=b[0],m=b[1],g=$m(Object(c.useState)(0),2),d=g[0],f=g[1],h=$m(Object(c.useState)(0),2),v=h[0],y=h[1],O=$m(Object(c.useState)(""),2),w=O[0],_=O[1];return Object(c.useEffect)(function(){Ln().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(je.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(je.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(je.select)("core/blocks").getBlockType(t).title:""}}return e},{});u(t)})},[]),Object(c.useEffect)(function(){Object.keys(o).length&&In({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(o).reduce(function(e,t){return e[t]=Xm({},o[t]),e},{}),i=0,l=0,c=t.reduce(function(t,n){var a=n.block,r=n.type,o=n.plan;return"block"===r&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===o&&i++),t},Xm({},n));m(l),f(i),y(l-i),a(Object(r.orderBy)(c,["title"],["asc"]))})},[o,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===w?"is-active":"","data-count":p,onClick:function(){_(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":""===w?"true":"false"},Object(s.__)("All Block Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},p))),p!==d&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===w?"is-active":"","data-count":d,onClick:function(){_("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":"free"===w?"true":"false"},Object(s.__)("Free Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},d)),wp.element.createElement("div",{className:"premium"===w?"is-active":"","data-count":v,onClick:function(){_("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===w?"true":"false"},Object(s.__)("Premium Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},v))),wp.element.createElement(qi,null),n.map(function(t,n){var a=w===t.name||t.name===e.forceBlock,i=l()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:i,"data-count":t.count,onClick:function(){e.forceBlock||(_(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Zm.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var Qm=Zm;function eg(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function tg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ng={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},ag=function(e){var t=tg(Object(c.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(B.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var i=ng[t],r=i.color,o=i.name;return wp.element.createElement(B.ColorPalette,{key:t,value:n.includes(o)?r:"",colors:[{color:r,name:o}],onChange:function(t){var i;i=t?[].concat(eg(n),[o]):n.filter(function(e){return e!==o}),a(i),e.onSelect(i)},clearable:!1,disableCustomColors:!0})})))};ag.defaultProps={onSelect:function(){},colors:ng};var ig=ag;function rg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var og=function(e){var t=rg(Object(c.useState)(e.search),2),n=t[0],a=t[1],r=rg(Object(c.useState)(),2),o=r[0],l=r[1],u=rg(Object(c.useState)(""),2),b=u[0],p=u[1],m=rg(Object(c.useState)(""),2),g=m[0],d=m[1],f=rg(Object(c.useState)([]),2),h=f[0],v=f[1],y=rg(Object(c.useState)(3),2),O=y[0],w=y[1],_=rg(Object(c.useState)([]),2),j=_[0],k=_[1],C=rg(Object(c.useState)(!0),2),x=C[0],E=C[1],S=rg(Object(c.useState)(!1),2),A=S[0],T=S[1],P=rg(Object(i.qb)("stk__design_library_dev_mode",!1),2),N=P[0],M=P[1];Object(c.useEffect)(function(){return l(e.selectedBlock)},[e.selectedBlock]);var R=rg(Object(c.useState)(n),2),F=R[0],D=R[1],I=rg(Object(c.useState)(null),2),H=I[0],L=I[1];return Object(c.useEffect)(function(){H&&(clearTimeout(H),L(null)),L(setTimeout(function(){D(n)},500))},[n]),Object(c.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(c.useEffect)(function(){A&&(k([]),E(!0)),In({type:"block",block:o,plan:b,mood:g,colors:h,search:F,reset:A}).then(function(e){k(e)}).finally(function(){E(!1),T(!1)})},[o,g,h,b,F,A]),wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Design Library",z.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(B.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",z.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(ig,{onSelect:function(e){v(e)}}),wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("All",z.i18n)},{value:"light",title:Object(s.__)("Light",z.i18n)},{value:"dark",title:Object(s.__)("Dark",z.i18n)}],value:g,onChange:function(e){return d(e)}}),wp.element.createElement(Qm,{search:n,mood:g,colors:h,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;l(t),p(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},z.devMode&&wp.element.createElement(B.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:N,onChange:function(e){zn(e).then(function(){T(!0)}),M(e)}}),wp.element.createElement(B.Button,{icon:"image-rotate",label:Object(s.__)("Refresh Library",z.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return T(!0)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Hm,{width:"18",height:"18"}),className:2===O?"is-active":"",label:Object(s.__)("Large preview",z.i18n),onClick:function(){return w(2)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(qm,{width:"18",height:"18"}),className:3===O?"is-active":"",label:Object(s.__)("Medium preview",z.i18n),onClick:function(){return w(3)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Wm,{width:"18",height:"18"}),className:4===O?"is-active":"",label:Object(s.__)("Small preview",z.i18n),onClick:function(){return w(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(aa,{columns:O,onSelect:e.onSelect,isBusy:x,designs:e.selectedBlock?j.filter(function(t){return t.block===e.selectedBlock}):j}))))};og.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var lg=og;function cg(){return(cg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sg=C.a.createElement("path",{fill:"currentColor",d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}),ug=function(e){return C.a.createElement("svg",cg({"aria-hidden":"true","data-prefix":"fas","data-icon":"circle-notch",className:"spinner_svg__svg-inline--fa spinner_svg__fa-circle-notch spinner_svg__fa-w-16",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),sg)};function bg(){return(bg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var mg=function(){return wp.element.createElement(ug,{className:"ugb-icon-is-loading"})},gg=function(e){var t=pg(Object(c.useState)(0),2),n=t[0],a=t[1],o=function(){a(n+1)};Object(c.useEffect)(function(){Object(i.K)().then(o)},[]);var l=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,l,e.value);if(!Object(i.N)())return wp.element.createElement(mg,null);var s=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&u){var b=Object(i.L)(s,u);return b?wp.element.createElement(c.RawHTML,l,b):(Object(i.M)(s,u).then(o),wp.element.createElement(mg,null))}var p=Object(i.L)("far","smile");return wp.element.createElement(c.RawHTML,bg({},l,{className:"".concat(e.className," ugb-icon--faded")}),p)};gg.Content=function(e){var t=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,o=Object(i.L)(n,a);return wp.element.createElement(c.RawHTML,t,o)},gg.defaultProps={prefix:"",iconName:"",value:""};var dg=gg;function fg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var hg=1,vg=function(e){var t,n,a,i=fg(Object(c.useState)("ugb-admin-setting-".concat(hg++)),1)[0],r=l()(["ugb-admin-setting"],(t={},n="ugb-admin-setting--".concat(e.size),a=e.size,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:r,id:i},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:i},wp.element.createElement("span",{className:"ugb-admin-setting__label"},e.label),wp.element.createElement("div",{className:"ugb-admin-setting__field"},e.children)))};vg.defaultProps={label:""};var yg=vg,Og=function(e){return wp.element.createElement(yg,e,wp.element.createElement("input",{className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:e.onChange}))};Og.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var wg=function(e){return wp.element.createElement(yg,e,wp.element.createElement("button",{className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:function(){return e.onChange(!e.value)},style:{minWidth:e.width||void 0}},wp.element.createElement("span",null,e.disabled),wp.element.createElement("span",null,e.enabled)))};wg.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(s.__)("Disabled",z.i18n),enabled:Object(s.__)("Enabled",z.i18n),width:""};n.d(t,"o",function(){return a.c}),n.d(t,"p",function(){return a.a}),n.d(t,"jb",function(){return j}),n.d(t,"kb",function(){return d}),n.d(t,"Y",function(){return D}),n.d(t,"sb",function(){return L}),n.d(t,"tb",function(){return V}),n.d(t,"s",function(){return X}),n.d(t,"j",function(){return Q}),n.d(t,"S",function(){return oe}),n.d(t,"P",function(){return se}),n.d(t,"V",function(){return _e}),n.d(t,"W",function(){return Ce}),n.d(t,"X",function(){return Se}),n.d(t,"c",function(){return et}),n.d(t,"d",function(){return nt}),n.d(t,"b",function(){return yt}),n.d(t,"e",function(){return Yt}),n.d(t,"G",function(){return $t}),n.d(t,"F",function(){return tn}),n.d(t,"cb",function(){return On}),n.d(t,"db",function(){return jn}),n.d(t,"Z",function(){return Cn}),n.d(t,"y",function(){return Gn}),n.d(t,"z",function(){return aa}),n.d(t,"eb",function(){return Pa}),n.d(t,"l",function(){return za}),n.d(t,"A",function(){return Ha}),n.d(t,"B",function(){return La}),n.d(t,"x",function(){return qa}),n.d(t,"C",function(){return _i}),n.d(t,"K",function(){return Si}),n.d(t,"N",function(){return Wi}),n.d(t,"u",function(){return Vi}),n.d(t,"v",function(){return qi}),n.d(t,"q",function(){return nr}),n.d(t,"T",function(){return ir}),n.d(t,"U",function(){return cr}),n.d(t,"Q",function(){return ur}),n.d(t,"R",function(){return gr}),n.d(t,"qb",function(){return hr}),n.d(t,"rb",function(){return wr}),n.d(t,"g",function(){return jr}),n.d(t,"h",function(){return Er}),n.d(t,"m",function(){return zr}),n.d(t,"n",function(){return Ur}),n.d(t,"L",function(){return $r}),n.d(t,"M",function(){return to}),n.d(t,"lb",function(){return ao}),n.d(t,"mb",function(){return lo}),n.d(t,"nb",function(){return fo}),n.d(t,"ob",function(){return yo}),n.d(t,"pb",function(){return jo}),n.d(t,"fb",function(){return Io}),n.d(t,"gb",function(){return Vo}),n.d(t,"H",function(){return Al}),n.d(t,"t",function(){return ls}),n.d(t,"hb",function(){return us}),n.d(t,"i",function(){return Ye}),n.d(t,"ub",function(){return hs}),n.d(t,"J",function(){return Is}),n.d(t,"f",function(){return Ws}),n.d(t,"k",function(){return Js}),n.d(t,"r",function(){return au}),n.d(t,"ib",function(){return ym}),n.d(t,"O",function(){return _m}),n.d(t,"w",function(){return Sm}),n.d(t,"I",function(){return Bm}),n.d(t,"D",function(){return Rm}),n.d(t,"bb",function(){return Dm}),n.d(t,"ab",function(){return lg}),n.d(t,"E",function(){return dg}),n.d(t,"a",function(){return yg})},,function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.blockEditor},,function(e,t){e.exports=lodash},function(e,t,n){"use strict";var a=n(3),i=n(5),r=n(8),o=n.n(r),l=n(6),c=n(12),s=n(15),u=n.n(s);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function f(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.createHigherOrderComponent)(function(n){var r,c;return c=r=function(r){function c(){return m(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var r=o()([this.props.className,this.props.attributes.uniqueClass]),l=this.props.blockName,c=Object(i.applyFilters)("stackable.".concat(l,".styles"),e(this.props),this.props),s=wp.element.createElement(a.l,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.mainClassName,style:c,editorMode:t.editorMode||!1});return wp.element.createElement(n,p({},this.props,{className:r,styles:s}))}}]),c}(),O(r,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),O(r,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),c},"withBlockStyles")},_=n(2);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return k(this,a),E(this,S(a).apply(this,arguments))}return A(a,l["Component"]),x(a,[{key:"componentDidMount",value:function(){var t=this.props.blockName;Object(i.addFilter)("stackable.".concat(t,".setAttributes"),"stackable/".concat(t,"/contentAlign"),function(n){var a=Object(i.applyFilters)("stackable.with-content-align-reseter.attributeNamesToReset",e,t);return["","Tablet","Mobile"].forEach(function(e){void 0!==n[Object(_.O)("%sContentAlign",e)]&&a.forEach(function(t){n[Object(_.O)(t,e)]=""})}),n})}},{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}(),B(n,"defaultProps",{attributes:{},blockName:""}),a},"withContentAlignReseter")};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),R(this,F(n).apply(this,arguments))}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){Object(_.cb)(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&M(a.prototype,i),r&&M(a,r),n}(),r={attributes:{}},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withGoogleFont");function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function L(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function U(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V=function(e){return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),U(this,W(a).apply(this,arguments))}var r,c,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(a,l["Component"]),r=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),r=Object(i.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=o()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),r]);return wp.element.createElement(t,H({},this.props,{className:l,mainClassName:r,blockName:n}))}}])&&L(r.prototype,c),s&&L(r,s),a}()},"withMainClassname")},q=n(9);function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function X(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Q=Object(c.createHigherOrderComponent)(function(e){var t,n,a,r,o;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=K(n).apply(this,arguments))||"object"!==J(a)&&"function"!=typeof a?$(t):a).setAttributes=e.setAttributes.bind($(e)),e}var a,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z(e,t)}(n,l["Component"]),a=n,(r=[{key:"componentDidUpdate",value:function(e){Object(q.isEqual)(e.attributes,this.props.attributes)||Object(i.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(i.applyFilters)("stackable.setAttributes",e,this.props);n=Object(i.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,Y({},this.props,{setAttributes:this.setAttributes}))}}])&&X(a.prototype,r),o&&X(a,o),n}(),a=t,r="propTypes",o={setAttributes:u.a.func.isRequired},r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,n},"withSetAttributeHook"),ee=n(7);function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ie(e,t,n){return t&&ae(e.prototype,t),n&&ae(e,n),e}function re(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(c.createHigherOrderComponent)(function(t){var n,r;return r=n=function(n){function r(){return ne(this,r),re(this,oe(r).apply(this,arguments))}return le(r,l["Component"]),ie(r,[{key:"render",value:function(){var n=this.props.blockName,r=Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.block"),null,this.props);return wp.element.createElement(l.Fragment,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.before"),null,this.props),wp.element.createElement(ee.InspectorControls,null,wp.element.createElement(a.eb,{tabs:e,blockProps:this.props}),wp.element.createElement(a.Z,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.after"),null,this.props)),wp.element.createElement(a.Z,{tab:"style"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.after"),null,this.props),r&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),r),wp.element.createElement(a.Z,{tab:"advanced"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.after"),null,this.props))),wp.element.createElement(t,this.props))}}]),r}(),se(n,"defaultProps",{attributes:{},blockName:""}),r},"withTabbedInspector")};function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function me(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ge(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function de(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ye=Object(c.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),de(this,fe(n).apply(this,arguments))}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&he(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,i="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===i||n({uniqueClass:i})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&ge(a.prototype,i),r&&ge(a,r),n}(),ve(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(i.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(me(e),["uniqueClass"])}),Object(i.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(n,!0).forEach(function(t){ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Oe=ye,we=n(36),_e=n(20);function je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=!1,Ee={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Se={},Ae=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Te=function(e,t,n){void 0===Se[e]&&(Se[e]={}),Se[e][t]=n},Be=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach(function(t){Ce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Se[e],{},Ee)};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Re(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function Fe(e,t){return!t||"object"!==Pe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ie(e,t)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(_e.a)(function(){if(!xe&&(xe=!0,Element.prototype.matches)){var e=Object(i.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,i=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(i){var r=Be(i);if(r){var o=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(o=e[n],!0)}),[].concat(je(o),Ae).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(r).some(function(e){if(n.matches(e)){var t=r[e];return Object(we.a)(t)}return!1})})}}})}});var He=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){var t;Ne(this,a);var n=(t=Fe(this,De(a).apply(this,arguments))).props.blockName;return e.forEach(function(e){Te(n,e[0],e[1])}),t}return ze(a,l["Component"]),Re(a,[{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}()},"withClickOpenInspector")};function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function We(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ge(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=function(e){return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Ge(this,Ve(a).apply(this,arguments))}var i,r,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qe(e,t)}(a,l["Component"]),i=a,(r=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=o()([this.props.className],Je({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,Ue({},this.props,{className:a}))}}])&&We(i.prototype,r),c&&We(i,c),a}(),Je(n,"defaultProps",{className:""}),a},"withHelpTip")};n.d(t,"a",function(){return w}),n.d(t,"c",function(){return P}),n.d(t,"d",function(){return z}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return Q}),n.d(t,"h",function(){return ue}),n.d(t,"i",function(){return Oe}),n.d(t,"b",function(){return He}),n.d(t,"e",function(){return Ye})},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.data},,,function(e,t,n){"use strict";var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),l=i.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),c=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),s=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),u=function(e){return i.a.createElement("svg",r({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),o,l,c,s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=i.a.createElement("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}),m=function(e){return i.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),p)};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=i.a.createElement("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}),f=function(e){return i.a.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=i.a.createElement("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}),y=function(e){return i.a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg"},e),v)};function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v5.3C0 8.2.8 9 1.8 9H7v2.7c-.1-.2-.2-.4-.3-.5-.3-.5-.7-.9-1.3-1.1-.5-.2-1.1-.1-1.6.2-1.1.6-1.5 1.9-.9 2.9l1.3 2.4c.1.1.1.2.2.3.9 1.6 2.3 4 6.5 4 4.1 0 6-3.6 6-7v-3c0-.4-.1-.7-.2-1h1.5c1 0 1.8-.8 1.8-1.8V1.8c0-1-.8-1.8-1.8-1.8zm-2.8 13c0 2-1 5.5-4.5 5.5-3.3 0-4.3-1.7-5.2-3.3-.1-.1-.1-.2-.2-.3l-1.3-2.4c-.1-.2-.1-.3 0-.5s.2-.3.3-.4c.2-.1.3-.1.5 0s.3.2.4.3c.1.2.3.7.5.9.4.5 1 .8 1.6.6.6-.2 1-.8 1-1.5V5.1c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4.3.8.8.8s.8-.3.8-.8V8.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7v2.3c0 .4.3.8.8.8s.8-.3.8-.8V9.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7V13zm3.1-5.8c0 .2-.1.3-.3.3h-4.7c-.4-.4-.9-.6-1.5-.6-.2 0-.4 0-.6.1V5.1c0-1.2-1-2.2-2.2-2.2S7 3.9 7 5.1v2.4H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v5.4z"}),_=function(e){return i.a.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg"},e),w)};function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var k=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}),C=function(e){return i.a.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg"},e),k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 18.5c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h7.4v17H1.8zm16.4 0h-7.4v-17h7.3c.2 0 .3.1.3.3v16.4h.1c0 .2-.1.3-.3.3z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),B=function(e){return i.a.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=i.a.createElement("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}),M=function(e){return i.a.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=i.a.createElement("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}),D=function(e){return i.a.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg"},e),F)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=i.a.createElement("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}),H=function(e){return i.a.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg"},e),I)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=i.a.createElement("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}),W=function(e){return i.a.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg"},e),U)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var V=i.a.createElement("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}),q=function(e){return i.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),V)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}),X=function(e){return i.a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg"},e),Y)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),Z=function(e){return i.a.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg"},e),$)};function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ee=i.a.createElement("path",{d:"M15.3 1.1c-.7 0-1.4.5-1.4 1.4v6.3H6.1V2.5c0-.7-.5-1.4-1.4-1.4-.7 0-1.4.5-1.4 1.4v14.9c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4v-6.3h7.7v6.3c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4V2.5c.1-.7-.4-1.4-1.3-1.4z"}),te=function(e){return i.a.createElement("svg",Q({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ee)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=i.a.createElement("path",{d:"M19.6 8.9c.7-.7.4-1.9-.6-2.1l-4.9-.7c-.3-.1-.6-.3-.8-.6l-2.2-4.4C10.7.2 9.4.2 9 1.1L6.7 5.5c-.1.4-.4.6-.8.6L1 6.8C0 7-.3 8.2.4 8.9l3.5 3.5c.3.2.4.6.3.9l-.8 4.9c-.2 1 .9 1.7 1.7 1.3l4.4-2.3c.3-.2.7-.2 1 0l4.4 2.3c.9.5 1.9-.3 1.7-1.3l-.8-4.9c-.1-.3.1-.7.3-.9zm-5.4 3.8l.8 4.7c0 .2-.2.4-.4.3l-4.2-2.2c-.3-.1-.6-.1-.9 0l-4.2 2.2c-.1.1-.3-.1-.3-.3l.8-4.6c.1-.3 0-.6-.3-.8L2.1 8.7c-.1-.2 0-.5.2-.5L7 7.5c.3 0 .6-.2.7-.5l2.1-4.2c.1-.2.4-.2.5 0l2 4.2c.1.3.4.5.7.5l4.6.7c.2 0 .3.3.2.5L14.4 12c-.2.2-.2.4-.2.7z"}),ie=function(e){return i.a.createElement("svg",ne({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ae)};function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=i.a.createElement("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}),le=function(e){return i.a.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg"},e),oe)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}),ue=function(e){return i.a.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg"},e),se)};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=i.a.createElement("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}),me=function(e){return i.a.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg"},e),pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}),fe=function(e){return i.a.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}),ye=function(e){return i.a.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg"},e),ve)};function Oe(){return(Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var we=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}),_e=function(e){return i.a.createElement("svg",Oe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),we)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ke=i.a.createElement("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}),Ce=function(e){return i.a.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg"},e),ke)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=i.a.createElement("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}),Se=function(e){return i.a.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg"},e),Ee)};function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=i.a.createElement("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}),Be=function(e){return i.a.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=i.a.createElement("path",{d:"M17.1 1.1H7.4C4.4 1.1 2 3.5 2 6.5c0 3 2.4 5.4 5.4 5.4.4 0 .7 0 .9-.1v6.3c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.4v15.4c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.6c.5 0 .8-.4.8-.8.2-.4-.1-.8-.6-.8zM8.4 10c-.2.1-.5.2-.9.2-2.1 0-3.8-1.7-3.8-3.8s1.7-3.8 3.8-3.8c.4 0 .7.1.9.2V10z"}),Me=function(e){return i.a.createElement("svg",Pe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fe=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}),De=function(e){return i.a.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg"},e),Fe)};function ze(){return(ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ie=i.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),He=function(e){return i.a.createElement("svg",ze({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ie)},Le=n(6),Ue=n(20);n.d(t,"v",function(){return Ge}),n.d(t,"w",function(){return Ve}),n.d(t,"z",function(){return qe}),n.d(t,"a",function(){return Je}),n.d(t,"b",function(){return Ye}),n.d(t,"c",function(){return Xe}),n.d(t,"d",function(){return Ke}),n.d(t,"f",function(){return $e}),n.d(t,"g",function(){return Ze}),n.d(t,"h",function(){return Qe}),n.d(t,"i",function(){return et}),n.d(t,"e",function(){return tt}),n.d(t,"j",function(){return nt}),n.d(t,"k",function(){return at}),n.d(t,"l",function(){return it}),n.d(t,"m",function(){return rt}),n.d(t,"n",function(){return ot}),n.d(t,"o",function(){return lt}),n.d(t,"p",function(){return ct}),n.d(t,"q",function(){return st}),n.d(t,"r",function(){return ut}),n.d(t,"s",function(){return bt}),n.d(t,"t",function(){return pt}),n.d(t,"u",function(){return mt}),n.d(t,"x",function(){return gt}),n.d(t,"y",function(){return dt}),n.d(t,"A",function(){return ft}),n.d(t,"B",function(){return ht}),n.d(t,"C",function(){return vt}),n.d(t,"E",function(){return yt}),n.d(t,"D",function(){return Ot});var We=function(e){return Object(Le.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(Ue.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(Le.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Ge=function(){return We(wp.element.createElement(u,{width:"20",height:"20",className:"components-panel__icon"}))},Ve=function(){return wp.element.createElement(u,{width:"20",height:"20"})},qe=function(){return We(wp.element.createElement(u,{width:"20",height:"20"}))},Je=function(){return We(wp.element.createElement(m,{width:"20",height:"20"}))},Ye=function(){return We(wp.element.createElement(f,{width:"20",height:"20"}))},Xe=function(){return We(wp.element.createElement(y,{width:"20",height:"20"}))},Ke=function(){return We(wp.element.createElement(_,{width:"20",height:"20"}))},$e=function(){return We(wp.element.createElement(C,{width:"20",height:"20"}))},Ze=function(){return We(wp.element.createElement(S,{width:"20",height:"20"}))},Qe=function(){return We(wp.element.createElement(B,{width:"20",height:"20"}))},et=function(){return We(wp.element.createElement(M,{width:"20",height:"20"}))},tt=function(){return We(wp.element.createElement(D,{width:"20",height:"20"}))},nt=function(){return We(wp.element.createElement(H,{width:"20",height:"20"}))},at=function(){return We(wp.element.createElement(W,{width:"20",height:"20"}))},it=function(){return We(wp.element.createElement(q,{width:"20",height:"20"}))},rt=function(){return We(wp.element.createElement(X,{width:"20",height:"20"}))},ot=function(){return We(wp.element.createElement(Z,{width:"20",height:"20"}))},lt=function(){return We(wp.element.createElement(te,{width:"20",height:"20"}))},ct=function(){return We(wp.element.createElement(ie,{width:"20",height:"20"}))},st=function(){return We(wp.element.createElement(le,{width:"20",height:"20"}))},ut=function(){return We(wp.element.createElement(ue,{width:"20",height:"20"}))},bt=function(){return We(wp.element.createElement(me,{width:"20",height:"20"}))},pt=function(){return We(wp.element.createElement(fe,{width:"20",height:"20"}))},mt=function(){return We(wp.element.createElement(ye,{width:"20",height:"20"}))},gt=function(){return We(wp.element.createElement(_e,{width:"20",height:"20"}))},dt=function(){return We(wp.element.createElement(Ce,{width:"20",height:"20"}))},ft=function(){return We(wp.element.createElement(Se,{width:"20",height:"20"}))},ht=function(){return We(wp.element.createElement(Be,{width:"20",height:"20"}))},vt=function(){return We(wp.element.createElement(Me,{width:"20",height:"20"}))},yt=function(){return We(wp.element.createElement(De,{width:"20",height:"20"}))},Ot=function(){return We(wp.element.createElement(He,{width:"20",height:"20"}))}},function(e,t){e.exports=wp.blocks},,function(e,t,n){"use strict";var a=n(3),i=n(0),r=n(6),o=n(8),l=n.n(o),c=n(1),s=n(7);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){var t,n=e.className,i=void 0===n?"":n,r=e.align,o=void 0===r?"center":r,c=e.size,b=void 0===c?"normal":c,p=e.url,m=void 0===p?"":p,g=e.icon,d=void 0===g?null:g,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,O=e.design,w=void 0===O?"basic":O,_=e.newTab,j=void 0!==_&&_,k={borderRadius:"link"===w?void 0:"plain"===w?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===w?v:void 0,color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f};k.backgroundColor="ghost"===w?void 0:k.backgroundColor,k.backgroundColor="plain"===w?void 0:k.backgroundColor,k.backgroundColor="link"===w?void 0:k.backgroundColor;var C=l()([i,"ugb-button","ugb-button--align-".concat(o),"ugb-button--size-".concat(b)],(u(t={},"ugb-button--design-".concat(w),"basic"!==w),u(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:m,style:k,target:j?"_blank":void 0,rel:j?"noopener noreferrer":void 0},d&&"link"!==w&&wp.element.createElement(a.nb.Content,{value:d,style:{color:"ghost"===w?v:"plain"===w?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===w?"":"ugb-button--inner",style:{color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f},value:h})))},p=n(9);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.setAttributes,n=function(t){return Object(p.camelCase)(Object(i.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(x,m({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(g({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(g({},n("Url"),e))},onChangeNewTab:function(e){return t(g({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(g({},n("NoFollow"),e))},onChangeIcon:function(e){return t(g({},n("Icon"),e))},isSelected:e.isSelected},e))};d.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(d.Content=function(e){var t=function(t){return Object(p.camelCase)(Object(i.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a};return wp.element.createElement(x.Content,m({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var f=d;function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"b",function(){return b}),n.d(t,"a",function(){return f});var k=1,C=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=O(t).apply(this,arguments),e=!a||"object"!==v(a)&&"function"!=typeof a?w(n):a,j(w(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=k++,e.onButtonClickHandler=e.onButtonClickHandler.bind(w(e)),e.outsideClickHandler=e.outsideClickHandler.bind(w(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(w(e)),e}var n,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r["Component"]),n=t,(o=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,o=t.className,u=void 0===o?"":o,b=t.size,p=void 0===b?"normal":b,m=t.text,g=void 0===m?"":m,d=t.onChange,f=void 0===d?function(){}:d,h=t.design,v=void 0===h?"basic":h,y=t.shadow,O=void 0===y?0:y,w=t.iconPosition,_=void 0===w?"":w,k=t.hoverEffect,C=void 0===k?"":k,x=t.ghostToNormalEffect,E=void 0!==x&&x,S=t.url,A=void 0===S?"":S,T=t.newTab,B=void 0===T?"":T,P=t.noFollow,N=void 0===P?"":P,M=t.onChangeUrl,R=void 0===M?null:M,F=t.onChangeNewTab,D=void 0===F?null:F,z=t.onChangeNoFollow,I=void 0===z?null:z,H=t.onChangeIcon,L=void 0===H?null:H,U=t.icon,W=void 0===U?null:U,G=t.isSelected,V=void 0===G?null:G,q=l()([u,"ugb-button","ugb-button--size-".concat(p)],(j(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":E},"ugb--hover-effect-".concat(C),"link"!==v&&C),j(e,"ugb--shadow-".concat(O),"basic"===v&&O),j(e,"ugb-button--design-".concat(v),"basic"!==v),j(e,"ugb-button--has-icon",W),j(e,"ugb-button--icon-position-".concat(_),_),e)),J=l()(["ugb-button-container","ugb-button-container-".concat(this.buttonInstanceId),this.props.containerClassName]),Y=(null===V||V)&&this.state.openPopup;return wp.element.createElement("div",{className:J,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},W&&"link"!==v&&wp.element.createElement(r.Fragment,null,!L&&wp.element.createElement(a.nb,{value:W}),L&&wp.element.createElement(a.pb,{value:W,onChange:L,isOpen:n?Y:null})),!n&&wp.element.createElement(s.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(i.__)("Button text",c.i18n),value:g,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),Y&&wp.element.createElement(a.tb,{value:A,onChange:R,newTab:B,noFollow:N,onChangeNewTab:D,onChangeNoFollow:I,disableSuggestions:this.props.disableSuggestions})))}}])&&y(n.prototype,o),u&&y(n,u),t}();C.defaultProps={iconButton:!1,disableSuggestions:!1,containerClassName:"",className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},C.Content=function(e){var t,n=e.iconButton,i=e.className,r=void 0===i?"":i,o=e.size,c=void 0===o?"normal":o,u=e.url,b=void 0===u?"":u,p=e.icon,m=void 0===p?null:p,g=e.text,d=void 0===g?"":g,f=e.design,v=void 0===f?"basic":f,y=e.newTab,O=void 0!==y&&y,w=e.shadow,_=void 0===w?0:w,k=e.iconPosition,C=void 0!==k&&k,x=e.hoverEffect,E=void 0===x?"":x,S=e.noFollow,A=void 0!==S&&S,T=e.ghostToNormalEffect,B=void 0!==T&&T,P=e.target,N=void 0===P?"":P,M=e.role,R=void 0===M?"":M,F=l()([r,"ugb-button","ugb-button--size-".concat(c)],(j(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":B},"ugb--hover-effect-".concat(E),"link"!==v&&E),j(t,"ugb--shadow-".concat(_),"basic"===v&&_),j(t,"ugb-button--design-".concat(v),"basic"!==v),j(t,"ugb-button--has-icon",m),j(t,"ugb-button--icon-position-".concat(C),C),t)),D=[];O&&(D.push("noopener"),D.push("noreferrer")),A&&D.push("nofollow");var z={};return R&&(z.role=R),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",h({className:F,href:b,target:N||O?N||"_blank":void 0,rel:e.rel||D.join(" ")},z),m&&"link"!==v&&wp.element.createElement(a.nb.Content,{value:m}),!n&&wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===v?"":"ugb-button--inner",value:d})))};var x=t.c=C},,,function(e,t){e.exports=wp.apiFetch},,,,function(e,t){e.exports=wp.editPost},,,,,,,function(e,t){e.exports=wp.plugins},,,function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var a=n(2),i=function(e){var t=r(e);if(t){var n=o(t);l(n),c(t)}return t},r=function(e){return document.querySelector(".ugb-panel--".concat(e))},o=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},l=function(e){e&&(e.classList.contains("is-active")||e.click())},c=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}s(e)}},s=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),i=e.getBoundingClientRect().top+2;if(i-=t?t.getBoundingClientRect().height:0,i-=n.getBoundingClientRect().top,!Object(a.nb)()){var r=document.querySelector(".edit-post-sidebar-header");i-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=i}},function(e,t){e.exports=wp.richText},,,,,,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports="dist/videos/help/alignment-image.mp4"},function(e,t){e.exports="dist/videos/help/spacing-image.mp4"},function(e,t){e.exports=wp.api},,,,,,,,,,function(e,t){e.exports="dist/videos/help/typography-family.mp4"},function(e,t){e.exports="dist/videos/help/alignment-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-title.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-margins.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-paddings.mp4"},function(e,t){e.exports="dist/videos/help/accordion-border-size.mp4"},function(e,t){e.exports=wp.date},,,,,,,,,,,,,,,,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},,function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","300italic","regular","italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},,function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-icon-controls-plain.08b10ae.png"},function(e,t){e.exports="dist/images/components-icon-controls-shaped.f4f347f.png"},function(e,t){e.exports="dist/images/components-icon-controls-outlined.ecba760.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,,function(e,t){e.exports="dist/videos/help/full-height.mp4"},function(e,t){e.exports="dist/videos/help/general-restrict-content.mp4"},function(e,t){e.exports="dist/videos/help/general-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/general-shadow.mp4"},function(e,t){e.exports="dist/videos/help/alignment-all.mp4"},function(e,t){e.exports="dist/videos/help/general-columns.mp4"},function(e,t){e.exports="dist/videos/help/column-background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/image-shape.mp4"},function(e,t){e.exports="dist/videos/help/image-size.mp4"},function(e,t){e.exports="dist/videos/help/image-size-no-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-width-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-height-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-square.mp4"},function(e,t){e.exports="dist/videos/help/image-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/image-shadow.mp4"},function(e,t){e.exports="dist/videos/help/typography-size.mp4"},function(e,t){e.exports="dist/videos/help/typography-weight.mp4"},function(e,t){e.exports="dist/videos/help/typography-transform.mp4"},function(e,t){e.exports="dist/videos/help/typography-line-height.mp4"},function(e,t){e.exports="dist/videos/help/typography-letter-spacing.mp4"},function(e,t){e.exports="dist/videos/help/alignment-description.mp4"},function(e,t){e.exports="dist/videos/help/alignment-button.mp4"},function(e,t){e.exports="dist/videos/help/button-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-vertical-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-horizontal-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-size.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-opacity.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-color.mp4"},function(e,t){e.exports="dist/videos/help/button-shadow.mp4"},function(e,t){e.exports="dist/videos/help/button-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/button-color-type.mp4"},function(e,t){e.exports="dist/videos/help/button-to-normal.mp4"},function(e,t){e.exports="dist/videos/help/button-collapse.mp4"},function(e,t){e.exports="dist/videos/help/spacing.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button-gap.mp4"},function(e,t){e.exports="dist/videos/help/hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/background-color-opacity.mp4"},function(e,t){e.exports="dist/videos/help/background-tint.mp4"},function(e,t){e.exports="dist/videos/help/background-color-type.mp4"},function(e,t){e.exports="dist/videos/help/background-fixed.mp4"},function(e,t){e.exports="dist/videos/help/gradient-direction.mp4"},function(e,t){e.exports="dist/videos/help/gradient-location.mp4"},function(e,t){e.exports="dist/videos/help/background-image-position.mp4"},function(e,t){e.exports="dist/videos/help/background-image-repeat.mp4"},function(e,t){e.exports="dist/videos/help/background-image-size.mp4"},function(e,t){e.exports="dist/videos/help/background-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/separator-top-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-bottom-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-height.mp4"},function(e,t){e.exports="dist/videos/help/separator-width.mp4"},function(e,t){e.exports="dist/videos/help/separator-shadow.mp4"},function(e,t){e.exports="dist/videos/help/separator-bring-to-front.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer2.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer3.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-opacity.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/advanced-opacity.mp4"},function(e,t){e.exports="dist/videos/help/advanced-zindex.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-paddings.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-content-width.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-horizontal-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-gap.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-column-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-content-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/accordion-adjacent-open.mp4"},function(e,t){e.exports="dist/videos/help/accordion-closed-state-background-color.mp4"},function(e,t){e.exports="dist/videos/help/accordion-padding.mp4"},function(e,t){e.exports="dist/videos/help/accordion-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-column-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-offset.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-grid.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-gap.mp4"},function(e,t){e.exports="dist/videos/help/image-box-height.mp4"},function(e,t){e.exports="dist/videos/help/notification-dismissible.mp4"},function(e,t){e.exports="dist/videos/help/posts-content-order.mp4"},function(e,t){e.exports="dist/videos/help/posts-meta-separator.mp4"},function(e,t){e.exports="dist/videos/help/divider-margin.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay-hover.mp4"},function(e,t){e.exports="dist/videos/help/image-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-line-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-align.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-width.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-height.mp4"},function(e,t){e.exports="dist/videos/help/container-image-width.mp4"},function(e,t){e.exports="dist/videos/help/container-image-height.mp4"},function(e,t){e.exports="dist/videos/help/column-row-gap.mp4"},function(e,t){e.exports="dist/videos/help/no-padding.mp4"},function(e,t){e.exports="dist/videos/help/column-width.mp4"},function(e,t){e.exports="dist/videos/help/column-arrangement.mp4"},function(e,t){e.exports="dist/images/block-accordion-basic.b0f3789.png"},function(e,t){e.exports="dist/images/block-accordion-plain.2aeac8f.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.0a574ba.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.cd0c86f.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.0431caf.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.78b14dd.png"},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.cf5349e.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.f370f41.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.6509764.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.45eb41b.png"},function(e,t){e.exports="dist/images/block-button-spread.a2b3bf6.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.82b89ff.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.aeb4b5d.png"},function(e,t){e.exports="dist/images/block-card-basic.ed15cbf.png"},function(e,t){e.exports="dist/images/block-card-plain.01b366e.png"},function(e,t){e.exports="dist/images/block-column-basic.eeda154.png"},function(e,t){e.exports="dist/images/block-column-plain.dd6702f.png"},function(e,t){e.exports="dist/images/block-columns-grid.74cce02.png"},function(e,t){e.exports="dist/images/block-columns-plain.f83145c.png"},function(e,t){e.exports="dist/images/block-container-basic.9b80141.png"},function(e,t){e.exports="dist/images/block-container-plain.b0bf4b9.png"},function(e,t){e.exports="dist/images/block-count-up-plain.9350896.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.ba5ab0d.png"},function(e,t){e.exports="dist/images/block-divider-basic.728eebd.png"},function(e,t){e.exports="dist/images/block-divider-bar.38cc0b7.png"},function(e,t){e.exports="dist/images/block-divider-dots.6f31a0f.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.d07ce3c.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.d153b82.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.d4efae7.png"},function(e,t){e.exports="dist/images/block-feature-basic.21129f8.png"},function(e,t){e.exports="dist/images/block-feature-plain.705697f.png"},function(e,t){e.exports="dist/images/block-header-basic.a9cc4da.png"},function(e,t){e.exports="dist/images/block-header-plain.aeccf8f.png"},function(e,t){e.exports="dist/images/block-image-box-basic.f577755.png"},function(e,t){e.exports="dist/images/block-image-box-plain.7482e86.png"},function(e,t){e.exports="dist/images/block-notification-basic.a1f0aae.png"},function(e,t){e.exports="dist/images/block-notification-plain.eccdf36.png"},function(e,t){e.exports="dist/images/block-number-box-basic.3d5ce27.png"},function(e,t){e.exports="dist/images/block-number-box-plain.1e11a36.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.f439dd1.png"},function(e,t){e.exports="dist/images/block-pricing-box-plain.d7c8289.png"},function(e,t){e.exports="dist/images/block-team-member-basic.53fb1db.png"},function(e,t){e.exports="dist/images/block-team-member-plain.c44209b.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.13e214f.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.8208cdb.png"},function(e,t){e.exports="dist/images/block-text-plain.dc76980.png"},function(e,t){e.exports="dist/images/block-text-side-title-1.72a0b81.png"},function(e,t){e.exports="dist/images/block-text-side-title-2.4b31aa6.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a={"./accordion/index.js":384,"./blockquote/index.js":382,"./blog-posts/index.js":386,"./button/index.js":401,"./call-to-action/index.js":389,"./card/index.js":390,"./column/index.js":404,"./columns/index.js":402,"./container/index.js":403,"./count-up/index.js":387,"./design-library/index.js":410,"./divider/index.js":405,"./expand/index.js":406,"./feature-grid/index.js":391,"./feature/index.js":392,"./header/index.js":393,"./heading/index.js":394,"./icon-list/index.js":381,"./icon/index.js":395,"./image-box/index.js":388,"./notification/index.js":385,"./number-box/index.js":396,"./pricing-box/index.js":397,"./separator/index.js":380,"./spacer/index.js":407,"./team-member/index.js":398,"./testimonial/index.js":399,"./text/index.js":400,"./video-popup/index.js":383};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id=378},function(e,t,n){"use strict";n.r(t);var a=n(3),i=n(2),r=n(1),o=n(11),l=n(37),c=n(7),s=n(0),u=n(6),b=n(20),p=n(13);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var g=function(e,t,n){return t?n?Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(Object(i.sb)("",t),"; background-color: ").concat(t,";")}}):Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(t,";")}}):Object(l.removeFormat)(e,"ugb/highlight")};Object(l.registerFormatType)("ugb/highlight",{title:Object(s.__)("Highlight Text",r.i18n),tagName:"span",className:"ugb-highlight",edit:function(e){var t=m(Object(u.useState)(!1),2),n=t[0],i=t[1],l=Object(u.useRef)(null),b=Object(u.useCallback)(function(e){n&&(e.target.closest(l.current)||e.target.closest(".components-popover")||i(!1))});Object(u.useEffect)(function(){return document.body.addEventListener("click",b),function(){return document.body.removeEventListener("click",b)}},[b]);var p=e.activeAttributes,d=e.isActive,f=e.onChange,h=e.value,v="",y=!1;if(d){var O=p.style.match(/background-color:\s*([#\d\w]+)/);if(O)y=!0,v=O[1];else{var w=p.style.match(/color:\s*([#\d\w]+)/);w&&(v=w[1])}}return wp.element.createElement(c.BlockControls,null,wp.element.createElement(o.Toolbar,{className:"stackable-components-toolbar"},wp.element.createElement(o.Button,{className:"components-button components-icon-button components-toolbar__control",icon:"editor-textcolor","aria-haspopup":"true",tooltip:Object(s.__)("Color & Highlight",r.i18n),onClick:function(){return i(!n)}},wp.element.createElement("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:v}})),n&&wp.element.createElement(o.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container",useRef:l},wp.element.createElement("div",{className:"components-stackable-highlight__inner"},wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(a.s,{label:Object(s.__)("Text Color",r.i18n),value:v,onChange:function(e){f(g(h,e,y),{withoutHistory:!0})}})),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Highlight Text",r.i18n),checked:y,onChange:function(e){f(g(h,v||"#8c33da",e))}})))))},attributes:{style:"style"}}),Object(b.a)(function(){Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitColorsFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitHighlightFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats")});var d=n(17),f=n(53),h=n(23),v=n(9);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var O=["style","svg"],w=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&!Object(v.isEqual)(e.args[2].match(/ugb-[^\s]+/g),e.args[3].match(/ugb-[^\s]+/g)))))},_=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)))))},j=function(e){return!!e.args&&(3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]))},k=function(e){return!!e.args&&(3===e.args.length&&("svg"===e.args[1]&&"svg"!==e.args[2]||"svg"!==e.args[1]&&"svg"===e.args[2]))},C=function(e){return!!e.args&&(3===e.args.length&&("video"===e.args[1]&&"video"!==e.args[2]||"video"===e.args[2]&&"video"!==e.args[1]))},x=function(e){return!!e.args&&(3===e.args.length&&(!!Array.isArray(e.args[1])&&!!e.args[1].some(function(e){return Array.isArray(e)&&"playsinline"===e[0]})))},E=function(e){var t,n=e.name,a=e.attributes,i=e.innerBlocks,r=e.originalContent;if(e.isValid)return!1;try{t=Object(d.getSaveContent)(n,a,i)}catch(e){return!1}return function(e,t){var n=y([e,t].map(function(e){return function(e){try{return new f.Tokenizer(new h.DecodeEntityParser).tokenize(e)}catch(e){}return null}(e)}),2),a=n[0],i=n[1];if(!a||!i)return!1;var r,o,l=[];for(;r=Object(h.getNextNonWhitespaceToken)(a);){if(o=Object(h.getNextNonWhitespaceToken)(i),"StartTag"===r.type&&l.push(r.tagName.toLowerCase()),!o)return l;if(r.type!==o.type)return l;var c=h.isEqualTokensOfType[r.type];if(c&&!c(r,o))return l;"StartTag"===r.type&&!0===r.selfClosing?l.pop():"EndTag"===r.type&&l.pop(),Object(h.isClosedByToken)(r,i[0])?Object(h.getNextNonWhitespaceToken)(i):Object(h.isClosedByToken)(o,a[0])&&Object(h.getNextNonWhitespaceToken)(a)}return!1}(r,t)};var S=function e(t){t.forEach(function(t){if(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O,n=e.name,a=e.isValid,i=e.validationIssues;if(!n||!n.match(/^ugb\//))return!1;if(a)return!1;if(!i.length)return!1;if(w(i[0]))return!0;if(j(i[0]))return!0;if(k(i[0]))return!0;if(_(i[0]))return!0;if(C(i[0]))return!0;if(x(i[0]))return!0;var r=E(e);return!!r&&r.some(function(e){return t.includes(e)})}(t)){Object(p.dispatch)("core/block-editor").replaceBlock(t.clientId,(a=(n=t).name,i=n.attributes,r=n.innerBlocks,Object(d.createBlock)(a,i,r)))}var n,a,i,r;t.innerBlocks&&t.innerBlocks.length&&e(t.innerBlocks)})};Object(b.a)(function(){window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then(function(){S(Object(p.select)("core/editor").getEditorBlocks())})});var A=n(5),T=n(33),B={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"};Object(A.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-preview",function(e){var t=Object(p.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType,n=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(t){var a=B[e];a!==n()&&t(a)}});Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(T.registerPlugin)("stackable-responsive-toggle-change",{render:function(){var e=Object(p.useSelect)(function(e){return{deviceType:e("core/edit-post").__experimentalGetPreviewDeviceType()}},[]).deviceType,t=Object(v.findKey)(B,function(t){return t===e})||"desktop";return setTimeout(function(){t!==Object(i.S)()&&(Object(i.lb)(t),Object(A.doAction)("stackable.responsive-toggle.screen.change",t)),"desktop"!==t?(Object(i.kb)(!0),Object(A.doAction)("stackable.responsive-toggle.screen.open")):(Object(i.kb)(!1),Object(A.doAction)("stackable.responsive-toggle.screen.close"))},0),null}});var P=n(137),N=n.n(P);function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(n,!0).forEach(function(t){D(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var I=[null,"/dist/frontend_blocks__premium_only.css","/dist/frontend_blocks.css","/dist/editor_blocks__premium_only.css","/dist/editor_blocks.css"],H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return[];var n=[];return e.forEach(function(e,a){var i=e.href;t.some(function(e){return e||null!==i?!!(i&&e&&i.includes(e))&&n.push(a):n.push(a)})}),n},L={},U={},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.styleSheets,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L,a=Array.from(t),i=H(a,e),r=[];return i.forEach(function(e){if(t[e].__id)r.push(t[e].__id);else{var n=N()(Math.floor(Math.random()*(new Date).getTime())).substr(0,10);t[e].__id=n,r.push(n)}}),r.forEach(function(e){var t={},i=Array.from(a).findIndex(function(t){return t.__id===e}),r=Array.from(a[i].cssRules).filter(function(e){return e.media});(!U[e]||U[e]&&!Object(v.isEqual)(U[e],r))&&(U[e]=!Object(v.isEmpty)(r)&&z(r),Array.from(a[i].cssRules).forEach(function(a,i){var r=a.cssText,o=a.media;if(o&&r.includes(".ugb")&&o.mediaText.match(/(max|min)-width/)){var l=o.mediaText.match(/max-width:\s*(\d+)px/),c=o.mediaText.match(/min-width:\s*(\d+)px/),s=l?parseInt(l[1],10):9999,u=c?parseInt(c[1],10):0;if(n&&n[e]&&n[e][i])n[e][i].previousMediaText===o.mediaText?t[i]=F({},n[e][i]):t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s};else t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s}}}),n[e]=F({},t))}),F({},n)},G=".edit-post-visual-editor",V="Desktop",q={},J=function(){var e=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(e){var t=e();if("Desktop"!==t||"Desktop"!==V){if(V=t,!q[t]){var n=document.querySelector(G);q[t]=parseInt(window.getComputedStyle(n).width,10)}!function(){var e,t,n,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.styleSheets,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:L;e=W(o,l,c),t=function(e){var t=M(e.split("vw"),1)[0],n=parseFloat(t)/100*r;return"".concat(n,"px")},n=function(e){return e.replace(/(-?[.0-9]+)vw/g,t)},a=function(e,t,n){l[e].deleteRule(t),l[e].insertRule(n,t)},"Tablet"===i||"Mobile"===i?Object(v.keys)(e).forEach(function(t){var i=Array.from(l).findIndex(function(e){return e.__id===t});Object(v.keys)(e[t]).forEach(function(o){if(l[i]&&l[i].cssRules[o]){var c=e[t][o],s=c.min,u=c.max,b=c.cssText;Object(v.inRange)(r,s,u)?(b&&b.match(/(-?[.0-9]+)vw/g)&&a(i,o,n(b)),l[i].cssRules[o].media.mediaText="screen and (max-width: 5000px)"):(b&&b.match(/(-?[.0-9]+)vw/g)&&a(i,o,n(b)),l[i].cssRules[o].media.mediaText="screen and (min-width: 5000px)"),e[t][o].previousMediaText!==l[i].cssRules[o].media.mediaText&&(e[t][o].previousMediaText=l[i].cssRules[o].media.mediaText)}})}):Object(v.keys)(e).forEach(function(t){var n=Array.from(l).findIndex(function(e){return e.__id===t});Object(v.keys)(e[t]).forEach(function(i){if(l[n]&&l[n].cssRules[i]){var r=e[t][i].cssText;l[n].cssRules[i].media.mediaText!==e[t][i].mediaText&&(e[t][i].previousMediaText=l[n].cssRules[i].media.mediaText,a(n,i,r)),e[t][i].previousMediaText!==l[n].cssRules[i].media.mediaText&&(e[t][i].previousMediaText=l[n].cssRules[i].media.mediaText)}})})}(t,q[t])}}};Object(A.addAction)("stackable.setAttributes.after","stackable/responsive-preview",J);Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(b.a)(function(){var e=document.querySelector(G);if(e){new MutationObserver(Object(v.throttle)(J,500)).observe(e,{attributes:!0,childList:!0,subtree:!0})}});var Y="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",X=function(e){try{var t=Object(d.parse)(e.replace(/\n/g,"").replace(/\t/g,""))[0],n=function(e){var t=(e.match(/<!--\s*[^:]*:([\/\w\d-]+)/i)||[])[1];return"string"!=typeof t?"":t.match(/^[^\/]+\//)?t:"core/".concat(t)}(e);return t.name!==n?"Block rendered as: ".concat(t.name):t.isValid&&t.name===n}catch(e){return!1}},K=n(8),$=n.n(K);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var le=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ie(t).apply(this,arguments))||"object"!==Z(a)&&"function"!=typeof a?re(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(re(e)),e.onClickLocal=e.onClickLocal.bind(re(e)),e.onRunAllTests=e.onRunAllTests.bind(re(e)),e.onRunTest=e.onRunTest.bind(re(e)),e.onShowToggle=e.onShowToggle.bind(re(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(t,u["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return te({},e,{passed:null})}),testBlockNames:Q(new Set(e.map(function(e){return e.block})))})}},{key:"fetchTests",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;this.setState({isLoading:!0}),fetch(t).then(function(t){return e.setState({isLoading:!1,loaded:!0}),t.json()}).then(function(t){e.updateTestState(t)})}},{key:"onClick",value:function(){this.fetchTests(Y)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(s.sprintf)("%s/dist/deprecation-tests.json",r.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?te({},e,{passed:!0}):te({},e,{passed:X(e.html)})});this.setState({tests:e})}},{key:"onRunTest",value:function(e){var t=this.state.tests.map(function(t){return t.block!==e?t:t.skip?te({},t,{passed:!0}):te({},t,{passed:X(t.html)})});this.setState({tests:t})}},{key:"onShowToggle",value:function(e){this.setState({show:this.state.show.includes(e)?this.state.show.filter(function(t){return t!==e}):this.state.show.concat(e)})}},{key:"render",value:function(){var e=this,t=$()(["ugb-deprecated-tester"],{"ugb-deprecated-tester--loading":this.state.isLoading});return wp.element.createElement("div",{className:t},wp.element.createElement(o.BaseControl,null,wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("When Stackable blocks are updated, block internal workings may change & editing existing blocks may result in errors if the changes are not backward compatible. This area tests multiple outdated blocks on whether they can migrate properly to newer versions.",r.i18n)),wp.element.createElement(o.Button,{className:"ugb-deprecated-tester__load-button",isDefault:!0,onClick:this.onClick,disabled:this.state.isLoading},wp.element.createElement(o.Dashicon,{icon:"image-rotate",size:"12"}),Object(s.__)("Load Tests from Server",r.i18n)),!1),this.state.loaded&&wp.element.createElement(u.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("p",{className:"ugb-deprecated-tester--row ugb--first"},wp.element.createElement(o.Button,{isPrimary:!0,isSmall:!0,onClick:this.onRunAllTests},Object(s.__)("Run All Tests",r.i18n)))),this.state.loaded&&this.state.testBlockNames.map(function(t,n){var a=e.state.tests.filter(function(e){return e.block===t}),i=a.length,l=a.filter(function(e){return e.passed}).length;return wp.element.createElement(u.Fragment,{key:n},wp.element.createElement("div",{key:n,className:"ugb-deprecated-tester--row"},wp.element.createElement("span",{className:"ugb-deprecated-tester--name"},t,wp.element.createElement(o.Button,{isDefault:!1,icon:"editor-help",onClick:function(){return e.onShowToggle(t)}})),wp.element.createElement("span",{className:i===l?"ugb--green":""},Object(s.sprintf)(Object(s.__)("%d / %d Tests",r.i18n),l,i),wp.element.createElement(o.Button,{isDefault:!1,onClick:function(){return e.onRunTest(t)},icon:"controls-play"}))),e.state.show.includes(t)&&wp.element.createElement("div",{className:"ugb-deprecated-tester--test-detail-wrapper"},a.map(function(e,t){var n=e.html.replace(/(<!--[\s\S]*?-->)/g,function(e,t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t")});return wp.element.createElement("div",{key:t},wp.element.createElement("div",null,e.description,!e.skip&&!0===e.passed&&wp.element.createElement("small",{className:"ugb--passed"},Object(s.__)("Passed",r.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(s.__)("Failed",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(s.__)("Skipped",r.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(s.sprintf)(Object(s.__)("v%s",r.i18n),e.version)),e.plan&&wp.element.createElement("small",{className:"ugb--plan ugb--plan-".concat(e.plan)},e.plan),wp.element.createElement(o.ClipboardButton,{isDefault:!1,isLink:!0,text:n},Object(s.__)("Copy code",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Note",r.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&ae(n.prototype,a),i&&ae(n,i),t}();function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me={codemirror:{mode:"html"}},ge=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ue(t).apply(this,arguments))||"object"!==ce(a)&&"function"!=typeof a?be(n):a).state={value:e.props.value,isValid:X(e.props.value)},e.onChange=e.onChange.bind(be(e)),e}var n,i,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}(t,u["Component"]),n=t,(i=[{key:"onChange",value:function(e){this.setState({value:e,isValid:X(e)})}},{key:"render",value:function(){return wp.element.createElement(o.BaseControl,{className:"ugb-html-validator"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("Enter some HTML below to see whether it renders correctly as a block. Check the browser console for block errors.",r.i18n)),wp.element.createElement(a.r,{value:this.state.value,onChange:this.onChange,editorSettings:me}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Valid",r.i18n)},"✔️"),Object(s.__)("Valid",r.i18n)),!0!==this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--invalid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Invalid",r.i18n)},"️️⚠️"),Object(s.__)("Invalid",r.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&se(n.prototype,i),l&&se(n,l),t}();ge.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var de=ge,fe=n(26),he=function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(fe.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(s.__)("Stackable Debugger",r.i18n)),wp.element.createElement(fe.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(s.__)("Stackable Debugger",r.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("This area contains a number of testing and debugging tools made specifically for Stackable.",r.i18n))),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Validity Checker",r.i18n)},wp.element.createElement(de,null)),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Migration Tests",r.i18n)},wp.element.createElement(le,null))))};Object(T.registerPlugin)("stackable-convert-to-container-button",{render:a.w}),r.devMode&&(Object(T.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:he}),Object(T.registerPlugin)("stackable-block-attributes-get-button",{render:a.I}));var ve=n(138),ye=n.n(ve),Oe=n(139),we=n.n(Oe),_e=n(140),je=n.n(_e),ke=n(141),Ce=n.n(ke),xe=n(142),Ee=n.n(xe),Se=n(143),Ae=n.n(Se),Te=n(144),Be=n.n(Te),Pe=n(145),Ne=n.n(Pe),Me=n(146),Re=n.n(Me),Fe=n(147),De=n.n(Fe),ze=n(148),Ie=n.n(ze),He=n(149),Le=n.n(He),Ue=n(150),We=n.n(Ue),Ge=n(151),Ve=n.n(Ge),qe=n(152),Je=n.n(qe),Ye=n(56),Xe=n.n(Ye),Ke=n(153),$e=n.n(Ke),Ze=n(154),Qe=n.n(Ze),et=n(155),tt=n.n(et),nt=n(156),at=n.n(nt),it=n(157),rt=n.n(it),ot=n(44),lt=n.n(ot),ct=n(57),st=n.n(ct),ut=n(158),bt=n.n(ut),pt=n(159),mt=n.n(pt),gt=n(160),dt=n.n(gt),ft=n(161),ht=n.n(ft),vt=n(162),yt=n.n(vt),Ot=n(163),wt=n.n(Ot),_t=n(164),jt=n.n(_t),kt=n(165),Ct=n.n(kt),xt=n(166),Et=n.n(xt),St=n(167),At=n.n(St),Tt=n(168),Bt=n.n(Tt),Pt=n(169),Nt=n.n(Pt),Mt=n(170),Rt=n.n(Mt),Ft=n(171),Dt=n.n(Ft),zt=n(172),It=n.n(zt),Ht=n(173),Lt=n.n(Ht),Ut=n(174),Wt=n.n(Ut),Gt=n(45),Vt=n.n(Gt),qt=n(58),Jt=n.n(qt),Yt=n(175),Xt=n.n(Yt),Kt=n(176),$t=n.n(Kt),Zt=n(177),Qt=n.n(Zt),en=n(178),tn=n.n(en),nn=n(179),an=n.n(nn),rn=n(180),on=n.n(rn),ln=n(181),cn=n.n(ln),sn=n(182),un=n.n(sn),bn=n(183),pn=n.n(bn),mn=n(184),gn=n.n(mn),dn=n(185),fn=n.n(dn),hn=n(186),vn=n.n(hn),yn=n(187),On=n.n(yn),wn=n(188),_n=n.n(wn),jn=n(189),kn=n.n(jn),Cn=n(190),xn=n.n(Cn),En=n(191),Sn=n.n(En),An=n(192),Tn=n.n(An),Bn=n(193),Pn=n.n(Bn),Nn=n(194),Mn=n.n(Nn),Rn=n(195),Fn=n.n(Rn),Dn=n(196),zn=n.n(Dn),In=n(197),Hn=n.n(In),Ln=n(198),Un=n.n(Ln),Wn=n(199),Gn=n.n(Wn),Vn=n(200),qn=n.n(Vn),Jn=n(201),Yn=n.n(Jn),Xn=n(59),Kn=n.n(Xn),$n=n(202),Zn=n.n($n),Qn=n(203),ea=n.n(Qn),ta=n(204),na=n.n(ta),aa=n(205),ia=n.n(aa),ra=n(206),oa=n.n(ra),la=n(60),ca=n.n(la),sa=n(207),ua=n.n(sa),ba=n(208),pa=n.n(ba),ma=n(209),ga=n.n(ma),da=n(210),fa=n.n(da),ha=n(211),va=n.n(ha),ya=n(212),Oa=n.n(ya),wa=n(213),_a=n.n(wa),ja=n(214),ka=n.n(ja),Ca=n(61),xa=n.n(Ca),Ea=n(215),Sa=n.n(Ea),Aa=n(216),Ta=n.n(Aa),Ba=n(217),Pa=n.n(Ba),Na=n(218),Ma=n.n(Na),Ra=n(219),Fa=n.n(Ra),Da=n(220),za=n.n(Da),Ia=n(221),Ha=n.n(Ia),La=n(222),Ua=n.n(La),Wa=n(223),Ga=n.n(Wa),Va=n(224),qa=n.n(Va),Ja=n(225),Ya=n.n(Ja),Xa=n(226),Ka=n.n(Xa),$a=n(227),Za=n.n($a),Qa=n(228),ei=n.n(Qa),ti=n(229),ni=n.n(ti),ai=n(230),ii=n.n(ai),ri=n(231),oi=n.n(ri),li=n(232),ci=n.n(li),si=n(233),ui=n.n(si),bi=n(234),pi=n.n(bi),mi=n(235),gi=n.n(mi),di=n(236),fi=n.n(di),hi=n(237),vi=n.n(hi),yi=n(238),Oi=n.n(yi),wi=n(239),_i=n.n(wi),ji=n(240),ki=n.n(ji),Ci=n(241),xi=n.n(Ci),Ei=n(242),Si=n.n(Ei),Ai=n(243),Ti=n.n(Ai),Bi=n(244),Pi=n.n(Bi),Ni=n(245),Mi=n.n(Ni),Ri=n(246),Fi=n.n(Ri),Di=n(247),zi=n.n(Di),Ii=n(248),Hi=n.n(Ii),Li=n(249),Ui=n.n(Li),Wi=n(250),Gi=n.n(Wi),Vi=n(251),qi=n.n(Vi),Ji=n(252),Yi=n.n(Ji),Xi=n(253),Ki=n.n(Xi),$i=n(254),Zi=n.n($i),Qi=n(255),er=n.n(Qi),tr=n(256),nr=n.n(tr),ar=n(257),ir=n.n(ar),rr={fullHeight:{video:ye.a,title:Object(s.__)("Full Height",r.i18n),description:Object(s.__)("Block height takes up the full height of the screen",r.i18n)},generalRestrictContent:{video:we.a,title:Object(s.__)("Restrict to Content Width",r.i18n),description:Object(s.__)("Restricts content to a narrower space when block width is set to full width",r.i18n)},generalBorderRadius:{video:je.a,title:Object(s.__)("Border Radius",r.i18n),description:Object(s.__)("Adjusts the radius of block corners to make them more rounded",r.i18n)},generalShadow:{video:Ce.a,title:Object(s.__)("Shadow/Outline",r.i18n),description:Object(s.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",r.i18n)},alignmentAll:{video:Ee.a,title:Object(s.__)("Align (general / all)",r.i18n),description:Object(s.__)("Adjusts the placement of all content in the block to align left, center or right",r.i18n)},generalColumns:{video:Ae.a,title:Object(s.__)("Columns",r.i18n),description:Object(s.__)("Sets the number of columns",r.i18n)},columnBackgroundOnOff:{video:Be.a,title:Object(s.__)("Column / Container Background",r.i18n),description:Object(s.__)("Background settings for the container or columns.",r.i18n)},imageShape:{video:Ne.a,title:Object(s.__)("Shape",r.i18n),description:Object(s.__)("Change the shape of the image",r.i18n)},imageSize:{video:Re.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",r.i18n)},imageSizeNoCrop:{video:De.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Adjusts the image size / width while preseving the aspect ratio",r.i18n)},imageWidthCrop:{video:Ie.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},imageHeightCrop:{video:Le.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},imageSquare:{video:We.a,title:Object(s.__)("Force Square Image",r.i18n),description:Object(s.__)("Crops image into a square",r.i18n)},imageBorderRadius:{video:Ve.a,title:Object(s.__)("Border radius (of image)",r.i18n),description:Object(s.__)("Adjusts the radius of image corners to make them more rounded",r.i18n)},imageShadow:{video:Je.a,title:Object(s.__)("Shadow (of image)",r.i18n),description:Object(s.__)("Adjusts the intensity of the image shadow",r.i18n)},typography:{video:Xe.a,title:Object(s.__)("Typography",r.i18n),description:Object(s.__)("Change the font family, size, weight and spacing of the font of this text",r.i18n)},typographyFamily:{video:Xe.a,title:Object(s.__)("Font family",r.i18n),description:Object(s.__)("Sets the font set to be used for the element",r.i18n)},typographySize:{video:$e.a,title:Object(s.__)("Font size",r.i18n),description:Object(s.__)("Sets the size of text characters",r.i18n)},typographyWeight:{video:Qe.a,title:Object(s.__)("Font weight",r.i18n),description:Object(s.__)("Sets the thinness or thickness of text characters",r.i18n)},typographyTransform:{video:tt.a,title:Object(s.__)("Transform",r.i18n),description:Object(s.__)("Sets the usage of upper or lower case",r.i18n)},typographyLineHeight:{video:at.a,title:Object(s.__)("Line height",r.i18n),description:Object(s.__)("Sets the vertical distance between lines of text",r.i18n)},typographyLetterSpacing:{video:rt.a,title:Object(s.__)("Letter spacing",r.i18n),description:Object(s.__)("Sets the distance or space between letters",r.i18n)},alignmentImage:{video:lt.a,title:Object(s.__)("Image alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},alignmentNumber:{video:lt.a,title:Object(s.__)("Number alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the number to align left, center or right",r.i18n)},alignmentIcon:{video:lt.a,title:Object(s.__)("Icon alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the icon to align left, center or right",r.i18n)},alignmentTitle:{video:st.a,title:Object(s.__)("Title / subtitle alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the title or subtitle to align left, center or right",r.i18n)},alignmentName:{video:st.a,title:Object(s.__)("Name / position alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the name or position to align left, center or right",r.i18n)},alignmentDescription:{video:bt.a,title:Object(s.__)("Description / text alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the text to align left, center or right",r.i18n)},alignmentButton:{video:mt.a,title:Object(s.__)("Button / link alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the button or link to align left, center or right",r.i18n)},buttonPadding:{video:dt.a,title:Object(s.__)("Button padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button borders",r.i18n)},buttonVerticalPadding:{video:ht.a,title:Object(s.__)("Button vertical padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's top and bottom borders",r.i18n)},buttonHorizontalPadding:{video:yt.a,title:Object(s.__)("Button horizontal padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's side borders",r.i18n)},buttonSize:{video:wt.a,title:Object(s.__)("Button size",r.i18n),description:Object(s.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",r.i18n)},buttonHoverEffect:{video:jt.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},buttonHoverOpacity:{video:Ct.a,title:Object(s.__)("Hover opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the button when you mouse over",r.i18n)},buttonHoverColor:{video:Et.a,title:Object(s.__)("Hover colors",r.i18n),description:Object(s.__)("Triggers a change in color when you mouse over",r.i18n)},buttonShadow:{video:At.a,title:Object(s.__)("Button shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the button shadow",r.i18n)},buttonBorderRadius:{video:Bt.a,title:Object(s.__)("Button border radius",r.i18n),description:Object(s.__)("Adjusts the radius of button corners to make them more rounded",r.i18n)},buttonColorType:{video:Nt.a,title:Object(s.__)("Button color type",r.i18n),description:Object(s.__)("Sets the button color type to single or gradient",r.i18n)},buttonToNormal:{video:Rt.a,title:Object(s.__)("Change to normal button on hover",r.i18n),description:Object(s.__)("Triggers change from ghost to normal button when you mouse over",r.i18n)},buttonCollapse:{video:Dt.a,title:Object(s.__)("Collapse buttons on",r.i18n),description:Object(s.__)("Sets when buttons will be triggered to arrange vertically",r.i18n)},spacing:{video:It.a,title:Object(s.__)("Spacing",r.i18n),description:Object(s.__)("Adjusts the space between block elements",r.i18n)},spacingBlockTitle:{video:Lt.a,title:Object(s.__)("Block title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block title",r.i18n)},spacingBlockDescription:{video:Wt.a,title:Object(s.__)("Block description spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block description",r.i18n)},spacingImage:{video:Vt.a,title:Object(s.__)("Image spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},spacingNumber:{video:Vt.a,title:Object(s.__)("Number spacing",r.i18n),description:Object(s.__)("Adjusts the space below the number",r.i18n)},spacingIcon:{video:Vt.a,title:Object(s.__)("Icon spacing",r.i18n),description:Object(s.__)("Adjusts the space below the icon",r.i18n)},spacingTitle:{video:Jt.a,title:Object(s.__)("Title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},spacingName:{video:Jt.a,title:Object(s.__)("Name / position spacing",r.i18n),description:Object(s.__)("Adjusts the space below the name / position",r.i18n)},spacingDescription:{video:Xt.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},spacingButton:{video:$t.a,title:Object(s.__)("Button spacing",r.i18n),description:Object(s.__)("Adjusts the space beloe the button",r.i18n)},spacingButtonGap:{video:Qt.a,title:Object(s.__)("Button spacing gap",r.i18n),description:Object(s.__)("Adjusts the gap between the buttons",r.i18n)},hoverEffect:{video:tn.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},backgroundOnOff:{video:an.a,title:Object(s.__)("Background Toggle On/Off",r.i18n),description:Object(s.__)("Turns the block background on/off. Turn on to enable different background settings.",r.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:on.a,title:Object(s.__)("Background Color Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the background color",r.i18n)},backgroundTint:{video:cn.a,title:Object(s.__)("Background Media Tint Strength",r.i18n),description:Object(s.__)("Adjusts the intensity of the background media tint",r.i18n)},backgroundColorType:{video:un.a,title:Object(s.__)("Color type",r.i18n),description:Object(s.__)("Sets the color to either a single color or a gradient",r.i18n)},backgroundFixed:{video:pn.a,title:Object(s.__)("Fixed Background",r.i18n),description:Object(s.__)("Keeps the background image fixed in place while scrolling",r.i18n)},gradientDirection:{video:gn.a,title:Object(s.__)("Gradient direction",r.i18n),description:Object(s.__)("Sets the direction (in degrees) of the colors",r.i18n)},gradientLocation:{video:fn.a,title:Object(s.__)("Gradient Color location",r.i18n),description:Object(s.__)("Sets the placement of each color in relation to the other color",r.i18n)},backgroundImagePosition:{video:vn.a,title:Object(s.__)("Image Position",r.i18n),description:Object(s.__)("Chooses which part of the background image will be the focal point",r.i18n)},backgroundImageRepeat:{video:On.a,title:Object(s.__)("Image Repeat",r.i18n),description:Object(s.__)("Covers the background with tiled images",r.i18n)},backgroundImageSize:{video:_n.a,title:Object(s.__)("Image Size",r.i18n),description:Object(s.__)("Sets the display image size",r.i18n)},backgroundBlendMode:{video:kn.a,title:Object(s.__)("Image Blend Mode",r.i18n),description:Object(s.__)("Sets how this background gradient/image blends into the other background",r.i18n)},separatorTopOn:{video:xn.a,title:Object(s.__)("Separator Top On and Off",r.i18n),description:Object(s.__)("Turns the top separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorBottomOn:{video:Sn.a,title:Object(s.__)("Separator Bottom On and Off",r.i18n),description:Object(s.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorHeight:{video:Tn.a,title:Object(s.__)("Separator height",r.i18n),description:Object(s.__)("Adjusts the height of the separator to stretch or compress vertically",r.i18n)},separatorWidth:{video:Pn.a,title:Object(s.__)("Separator width",r.i18n),description:Object(s.__)("Adusts the width of the separator to stretch or compress horizantally",r.i18n)},separatorShadow:{video:Mn.a,title:Object(s.__)("Shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",r.i18n)},separatorBringToFront:{video:Fn.a,title:Object(s.__)("Bring to Front",r.i18n),description:Object(s.__)("Brings the separator layer in front of other block elements",r.i18n)},separatorLayer2:{video:zn.a,title:Object(s.__)("Layer 2",r.i18n),description:Object(s.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayer3:{video:Hn.a,title:Object(s.__)("Layer 3",r.i18n),description:Object(s.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayerOpacity:{video:Un.a,title:Object(s.__)("Layer Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the separator layer",r.i18n)},separatorLayerBlendMode:{video:Gn.a,title:Object(s.__)("Layer blend mode",r.i18n),description:Object(s.__)("Sets how the sepator layer is blended into the background",r.i18n)},advancedOpacity:{video:qn.a,title:Object(s.__)("Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the entire block",r.i18n)},advancedZindex:{video:Yn.a,title:Object(s.__)("Z-Index",r.i18n),description:Object(s.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",r.i18n)},advancedBlockSpacing:{video:Kn.a,title:Object(s.__)("Block Spacing",r.i18n),description:Object(s.__)("Set margins, paddings and alignment of the block and its content",r.i18n)},advancedBlockMargins:{video:Kn.a,title:Object(s.__)("Block Margins",r.i18n),description:Object(s.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",r.i18n)},advancedBlockPaddings:{video:Zn.a,title:Object(s.__)("Block Padding",r.i18n),description:Object(s.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",r.i18n)},advancedBlockHeight:{video:ea.a,title:Object(s.__)("Min Block Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the block",r.i18n)},advancedBlockVerticalAlign:{video:na.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",r.i18n)},advancedBlockContentWidth:{video:ia.a,title:Object(s.__)("Max Content Width",r.i18n),description:Object(s.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",r.i18n)},advancedBlockHorizontalAlign:{video:oa.a,title:Object(s.__)("Content Horizontal Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",r.i18n)},advancedColumnSpacing:{video:ca.a,title:Object(s.__)("Column Spacing & More",r.i18n),description:Object(s.__)("Sets column paddings, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnPaddings:{video:ca.a,title:Object(s.__)("Column Paddings",r.i18n),description:Object(s.__)("Sets the column padding, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnGap:{video:ua.a,title:Object(s.__)("Column Gap",r.i18n),description:Object(s.__)("Sets the distance between two or more columns",r.i18n)},advancedColumnColumnVerticalAlign:{video:pa.a,title:Object(s.__)("Column Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",r.i18n)},advancedColumnHeight:{video:ga.a,title:Object(s.__)("Min Column Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the column container",r.i18n)},advancedColumnContentVerticalAlign:{video:fa.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the block elements to top, center, bottom or stretch. Available when column heights are different or when min. column height is set to higher than default.",r.i18n)},accordionAdjacentOpen:{video:va.a,title:Object(s.__)("Close adjacent on open",r.i18n),description:Object(s.__)("Automatically closes adjacent accordion panels when clicked",r.i18n)},accordionClosedStateBackgroundColor:{video:Oa.a,title:Object(s.__)("Closed state Background Color",r.i18n),description:Object(s.__)("Sets color of the panel when closed",r.i18n)},accordionPadding:{video:_a.a,title:Object(s.__)("Accordion Padding",r.i18n),description:Object(s.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",r.i18n)},accordionTitleSpacing:{video:ka.a,title:Object(s.__)("Accordion Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},accordionBorder:{video:xa.a,title:Object(s.__)("Border",r.i18n),description:Object(s.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",r.i18n)},accordionBorderSize:{video:xa.a,title:Object(s.__)("Border Size",r.i18n),description:Object(s.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",r.i18n)},imageColumnWidth:{video:Sa.a,title:Object(s.__)("Image Column Width",r.i18n),description:Object(s.__)("Adjusts the width of the image",r.i18n)},featureContainerWidth:{video:Ta.a,title:Object(s.__)("Container Width",r.i18n),description:Object(s.__)("Adjusts the width of the text and button container",r.i18n)},featureContainerOffset:{video:Pa.a,title:Object(s.__)("Container Offset",r.i18n),description:Object(s.__)("Adjusts the relative arrangement of the image and the text and button contianer",r.i18n)},iconListGrid:{video:Ma.a,title:Object(s.__)("Display as a grid",r.i18n),description:Object(s.__)("Displays the list in an evenly-spaced grid arrangement",r.i18n)},iconListGap:{video:Fa.a,title:Object(s.__)("List Gap",r.i18n),description:Object(s.__)("Adjusts the space between different list lines",r.i18n)},imageBoxHeight:{video:za.a,title:Object(s.__)("Height",r.i18n),description:Object(s.__)("Adjusts the height of the image box",r.i18n)},notificationDismissible:{video:Ha.a,title:Object(s.__)("Dismissible",r.i18n),description:Object(s.__)("Provides option to close the notification",r.i18n)},postsContentOrder:{video:Ua.a,title:Object(s.__)("Content Order",r.i18n),description:Object(s.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",r.i18n)},postsMetaSeparator:{video:Ga.a,title:Object(s.__)("Meta Separator",r.i18n),description:Object(s.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",r.i18n)},dividerMargin:{video:qa.a,title:Object(s.__)("Vertical Margin",r.i18n),description:Object(s.__)("Adjusts the space between the divider and the vertically adjacent blocks",r.i18n)},pricingImageAlign:{video:Ya.a,title:Object(s.__)("Image Align",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},pricingTitleAlign:{video:Ka.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},pricingPriceAlign:{video:Za.a,title:Object(s.__)("Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the price to align left, center or right",r.i18n)},pricingSubpriceAlign:{video:ei.a,title:Object(s.__)("Sub Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},pricingButtonAlign:{video:ni.a,title:Object(s.__)("Button Align",r.i18n),description:Object(s.__)("Adjusts the placement of the button to align left, center or right",r.i18n)},pricingDescriptionAlign:{video:ii.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},pricingImageSpacing:{video:oi.a,title:Object(s.__)("Image Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},pricingTitleSpacing:{video:ci.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},pricingPriceSpacing:{video:ui.a,title:Object(s.__)("Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the price",r.i18n)},pricingSubpriceSpacing:{video:pi.a,title:Object(s.__)("Sub Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},pricingButtonSpacing:{video:gi.a,title:Object(s.__)("Button Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the button",r.i18n)},pricingDescriptionSpacing:{video:fi.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxOverlay:{video:vi.a,title:Object(s.__)("Overlay Color",r.i18n),description:Object(s.__)("Sets the overlay color of all image boxes",r.i18n)},imageBoxOverlayHover:{video:Oi.a,title:Object(s.__)("Overlay Hover Color",r.i18n),description:Object(s.__)("Triggers change in overlay color when you mouse over",r.i18n)},imageBoxHoverEffect:{video:_i.a,title:Object(s.__)("Image Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the image",r.i18n)},imageBoxBoxHoverEffect:{video:ki.a,title:Object(s.__)("Box Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the container of the image",r.i18n)},imageBoxSubtitleSpacing:{video:xi.a,title:Object(s.__)("Subtitle Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},imageBoxTitleSpacing:{video:Si.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},imageBoxLineSpacing:{video:Ti.a,title:Object(s.__)("Line Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the line",r.i18n)},imageBoxDescriptionSpacing:{video:Pi.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxArrowSpacing:{video:Mi.a,title:Object(s.__)("Arrow Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the arrow",r.i18n)},imageBoxSubtitleAlign:{video:Fi.a,title:Object(s.__)("Subtitle Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},imageBoxTitleAlign:{video:zi.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},imageBoxDescriptionAlign:{video:Hi.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},imageBoxArrowAlign:{video:Ui.a,title:Object(s.__)("Arrow Align",r.i18n),description:Object(s.__)("Adjusts the placement of the arrow to align left, center or right",r.i18n)},videoPopupWidth:{video:Gi.a,title:Object(s.__)("Video popup width",r.i18n),description:Object(s.__)("Adjusts the width of the video popup container",r.i18n)},videoPopupHeight:{video:qi.a,title:Object(s.__)("Video popup height",r.i18n),description:Object(s.__)("Adjusts the height of the video popup container",r.i18n)},containerImageWidth:{video:Yi.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},containerImageHeight:{video:Ki.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},columnRowGap:{video:Zi.a,title:Object(s.__)("Row gap",r.i18n),description:Object(s.__)("Adjusts the vertical row gap between columns",r.i18n)},noPadding:{video:er.a,title:Object(s.__)("No paddings",r.i18n),description:Object(s.__)("Removes all outer paddings of the block",r.i18n)},columnWidth:{video:nr.a,title:Object(s.__)("Column widths",r.i18n),description:Object(s.__)("Adjust the individual widths of each column",r.i18n)},columnArrangement:{video:ir.a,title:Object(s.__)("Column arrangement",r.i18n),description:Object(s.__)("Rearrange and move columns around by dragging each handle",r.i18n)}},or=function(e){var t=e.getAnchorRect,n=e.title,a=e.videoUrl,i=e.description,l=e.learnMoreUrl,c=e.learnMore,b=Object(u.useRef)();return Object(u.useEffect)(function(){var e=b.current;e.muted=!0,e&&!e.playing&&e.play()},[]),Object(u.useEffect)(function(){window.dispatchEvent(new window.Event("resize"))},[e.videoUrl]),wp.element.createElement(o.Popover,{title:n,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},wp.element.createElement(o.PanelBody,null,wp.element.createElement("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},wp.element.createElement(o.Dashicon,{icon:"no"})),a&&wp.element.createElement(u.Fragment,null,wp.element.createElement("video",{ref:b,width:"600",autoPlay:!0,loop:!0,muted:!0,playsinline:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:a}),(!b.current||!b.current.playing)&&wp.element.createElement(o.Spinner,null)),wp.element.createElement("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},n&&wp.element.createElement("h4",null,n),i,l&&wp.element.createElement("div",{className:"ugb-help-tooltip-video__link"},wp.element.createElement("a",{href:l,target:"_learn"},c," ",wp.element.createElement(o.Dashicon,{icon:"external"}))),wp.element.createElement(o.CheckboxControl,{label:Object(s.__)("Stop showing tooltips",r.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:function(t){return e.onTooltipsEnabledChange(!t)}}))))};or.defaultProps={onClickClose:function(){},getAnchorRect:null,title:Object(s.__)("Help",r.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:Object(s.__)("Learn more",r.i18n),tooltipsEnabled:!0,onTooltipsEnabledChange:function(){}};var lr=or,cr=n(46),sr=null,ur={},br={},pr={},mr=function(e){return e.closest('[class*="ugb--help-tip-"]')},gr=function(){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};ur[e]=function(n){var a=n.target.closest(e);a&&sr!==a&&(sr=a,t(a))},br[e]=function(t){var a=t.target.closest(e);t.relatedTarget&&a===t.relatedTarget.closest(e)||a&&sr===a&&(n(sr),sr=null)},document.body.addEventListener("mouseover",ur[e]),document.body.addEventListener("mouseout",br[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),function(e){return Object(A.doAction)("stackable.help-video.control.hover.in",e,mr(e))},function(){return Object(A.doAction)("stackable.help-video.control.hover.out")}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};pr[e]=function(n){var a=n.target.closest(e);a&&t(a)},document.body.addEventListener("click",pr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),function(e){return Object(A.doAction)("stackable.help-video.control.click",e,mr(e))})},dr=function(){var e;e=['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),document.body.removeEventListener("mouseover",ur[e]),document.body.removeEventListener("mouseout",br[e]),function(e){document.body.removeEventListener("click",pr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "))};function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vr,yr={show:!1,controlEl:null,target:null},Or=function(e,t){vr=setTimeout(function(){_r(e,t)},1500)},wr=function(){vr&&clearTimeout(vr),vr=null},_r=function(e,t){yr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fr(n,!0).forEach(function(t){hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},yr,{show:!0,controlEl:t,target:e}),Object(A.doAction)("stackable.help-video.show",e)},jr=function(){yr.show=!1,Object(A.doAction)("stackable.help-video.hide")};function kr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Cr=function(e){return"".concat(r.cdnUrl,"/").concat(e)},xr=function(e){var t=kr(Object(u.useState)(null),2),n=t[0],a=t[1],i=kr(Object(u.useState)(!1),2),r=i[0],o=i[1],l=kr(Object(u.useState)(""),2),c=l[0],s=l[1],b=kr(Object(u.useState)(!1),2),p=b[0],m=b[1],g=function(e){document.activeElement&&document.activeElement.blur();var t,n="string"!=typeof e&&e,i=e&&"string"!=typeof e?(t=e)&&t.closest('[class*="ugb--help-tip-"]')&&Object(v.camelCase)((t.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;a(n),s(i),o(!0)},d=function(){o(!1);var e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()};if(Object(u.useEffect)(function(){return cr.loadPromise.then(function(){(new cr.models.Settings).fetch().then(function(e){m(!e.stackable_help_tooltip_disabled)})}),Object(A.addAction)("stackable.help-video.show","stackable/help",g),Object(A.addAction)("stackable.help-video.hide","stackable/help",d),function(){Object(A.removeAction)("stackable.help-video.show","stackable/help"),Object(A.removeAction)("stackable.help-video.hide","stackable/help")}},[]),Object(u.useEffect)(function(){p?(gr(),document.body.classList.add("ugb--help-tips-enabled"),Object(A.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",Or),Object(A.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",wr),Object(A.addAction)("stackable.help-video.control.click","stackable/help/click",function(e,t){if(!yr.show)return _r(e,t);e===yr.target?jr():_r(e,t)}),document.body.addEventListener("click",function(e){yr.show&&(e.target.closest(".ugb-help-tooltip-video")||mr(e.target)===yr.controlEl||jr())})):(document.body.classList.remove("ugb--help-tips-enabled"),dr(),Object(A.removeAction)("stackable.help-video.control.hover.in","stackable/help/hoverin"),Object(A.removeAction)("stackable.help-video.control.hover.out","stackable/help/hoverout"),Object(A.removeAction)("stackable.help-video.control.click","stackable/help/click"))},[p]),!r)return null;if(void 0===e.tooltipData[c])return null;var f=e.tooltipData[c],h=f.title,y=f.video,O=f.description,w=f.learnMore;return wp.element.createElement(lr,{onClickClose:d,getAnchorRect:function(){if(!n)return null;var e=n.getBoundingClientRect(),t=document.querySelector(".edit-post-sidebar");if(t){var a=t.getBoundingClientRect();e.x=a.x,e.width=a.width}return e},title:h,description:O,videoUrl:Cr(y),learnMoreUrl:w,tooltipsEnabled:p,onTooltipsEnabledChange:function(e){!function(e){new cr.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save()}(e),m(e)}})};xr.defaultProps={tooltipData:rr};var Er=xr,Sr=n(22),Ar=n.n(Sr),Tr=n(12);function Br(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Pr=!1,Nr=Object(Tr.createHigherOrderComponent)(function(e){return function(t){var n=t.isSelected,i=t.name,r=Br(Object(u.useState)(!1),2),o=r[0],l=r[1],c=Br(Object(u.useState)(null),2),s=c[0],b=c[1];return Object(u.useEffect)(function(){return n&&i.match(/^ugb\//)&&!o&&!Pr&&b(setTimeout(function(){Pr||(Pr=!0,b(null),l(!0))},1e3)),function(){s&&clearTimeout(s)}},[o,n]),wp.element.createElement(u.Fragment,null,wp.element.createElement(e,t),o&&wp.element.createElement(a.bb,{onRequestClose:function(){l(!1),Ar()({path:"/wp/v2/stk_welcome_video_closed",method:"POST"})}}))}},"withWelcomeTutorialModal");Object(b.a)(function(){if(Element.prototype.closest){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(u.render)(wp.element.createElement(Er,null),e)}}),r.displayWelcomeVideo&&Object(A.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",Nr);var Mr=n(16),Rr=n(14),Fr=n.n(Rr);function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(n,!0).forEach(function(t){Ir(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(e,t){return function(n,i){var l=i.setAttributes,c=i.attributes.blockTag,b=void 0===c?"div":c;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(o.PanelBody,{title:Object(s.__)("General",r.i18n),initialOpen:!1},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,i),t.blockTag&&wp.element.createElement(o.SelectControl,{label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Block",r.i18n)),value:b,options:[{value:"",label:Object(s.__)("Default",r.i18n)},{value:"div",label:Object(s._x)("Div","HTML Tag",r.i18n)},{value:"blockquote",label:Object(s._x)("Blockquote","HTML Tag",r.i18n)},{value:"section",label:Object(s._x)("Section","HTML Tag",r.i18n)},{value:"article",label:Object(s._x)("Article","HTML Tag",r.i18n)},{value:"aside",label:Object(s._x)("Aside","HTML Tag",r.i18n)},{value:"main",label:Object(s._x)("Main","HTML Tag",r.i18n)},{value:"header",label:Object(s._x)("Header","HTML Tag",r.i18n)},{value:"footer",label:Object(s._x)("Footer","HTML Tag",r.i18n)},{value:"nav",label:Object(s._x)("Nav","HTML Tag",r.i18n)},{value:"address",label:Object(s._x)("Address","HTML Tag",r.i18n)},{value:"hgroup",label:Object(s._x)("Hgroup","HTML Tag",r.i18n)}],onChange:function(e){return l({blockTag:e})}}),t.opacity&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockOpacity",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Opacity",r.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-advanced-opacity"})),t.zIndex&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockZIndex",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Z-Index",r.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"})),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,i)))}},Lr=function(){return function(e,t){var n,a=Object(i.b)(t.attributes),r=".".concat(t.mainClassName),o=(Ir(n={},r,{zIndex:Object(i.c)(a("blockZIndex")),opacity:Object(i.c)(a("blockOpacity"))}),Ir(n,"tablet",Ir({},r,{zIndex:Object(i.c)(a("tabletBlockZIndex")),opacity:Object(i.c)(a("tabletBlockOpacity"))})),Ir(n,"mobile",Ir({},r,{zIndex:Object(i.c)(a("mobileBlockZIndex")),opacity:Object(i.c)(a("mobileBlockOpacity"))})),n);return Fr.a.all([e,o])}},Ur=function(e){return zr({},e,{blockTag:{type:"string",default:""}},Object(i.h)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},Wr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=zr({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),Hr(e,n),2),n.modifyStyles&&Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),Lr()),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),Ur),Object(A.doAction)("stackable.module.advanced-general",e)};function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(n,!0).forEach(function(t){qr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(A.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object(A.addFilter)("stackable.setAttributes","stackable/module/block-spacing",function(e,t){return void 0===e.align?e:("full"===e.align&&"full"!==t.align&&(e.marginRight="",e.marginLeft="",e.tabletMarginRight="",e.tabletMarginLeft="",e.tabletPaddingRight="",e.tabletPaddingLeft=""),e)});var Jr=function(e,t){return function(n,i){var o=i.setAttributes,l=i.attributes,c=l.align,b=void 0!==c&&c,p=l.blockInnerWidth,m=void 0===p?"":p,g=l.marginTop,d=void 0===g?"":g,f=l.marginRight,h=void 0===f?"":f,v=l.marginBottom,y=void 0===v?"":v,O=l.marginLeft,w=void 0===O?"":O,_=l.marginUnit,j=void 0===_?"px":_,k=l.tabletMarginTop,C=void 0===k?"":k,x=l.tabletMarginRight,E=void 0===x?"":x,S=l.tabletMarginBottom,T=void 0===S?"":S,B=l.tabletMarginLeft,P=void 0===B?"":B,N=l.tabletMarginUnit,M=void 0===N?"px":N,R=l.mobileMarginTop,F=void 0===R?"":R,D=l.mobileMarginRight,z=void 0===D?"":D,I=l.mobileMarginBottom,H=void 0===I?"":I,L=l.mobileMarginLeft,U=void 0===L?"":L,W=l.mobileMarginUnit,G=void 0===W?"px":W,V=l.paddingTop,q=void 0===V?"":V,J=l.paddingBottom,Y=void 0===J?"":J,X=l.paddingRight,K=void 0===X?"":X,$=l.paddingLeft,Z=void 0===$?"":$,Q=l.paddingUnit,ee=void 0===Q?"px":Q,te=l.tabletPaddingTop,ne=void 0===te?"":te,ae=l.tabletPaddingBottom,ie=void 0===ae?"":ae,re=l.tabletPaddingRight,oe=void 0===re?"":re,le=l.tabletPaddingLeft,ce=void 0===le?"":le,se=l.tabletPaddingUnit,ue=void 0===se?"px":se,be=l.mobilePaddingTop,pe=void 0===be?"":be,me=l.mobilePaddingBottom,ge=void 0===me?"":me,de=l.mobilePaddingRight,fe=void 0===de?"":de,he=l.mobilePaddingLeft,ve=void 0===he?"":he,ye=l.mobilePaddingUnit,Oe=void 0===ye?"px":ye,we=l.blockHeight,_e=void 0===we?"":we,je=l.blockHeightUnit,ke=void 0===je?"px":je,Ce=l.tabletBlockHeight,xe=void 0===Ce?"":Ce,Ee=l.tabletBlockHeightUnit,Se=void 0===Ee?"px":Ee,Ae=l.mobileBlockHeight,Te=void 0===Ae?"":Ae,Be=l.mobileBlockHeightUnit,Pe=void 0===Be?"px":Be,Ne=l.blockWidth,Me=void 0===Ne?"":Ne,Re=l.blockWidthUnit,Fe=void 0===Re?"px":Re,De=l.tabletBlockWidth,ze=void 0===De?"":De,Ie=l.tabletBlockWidthUnit,He=void 0===Ie?"px":Ie,Le=l.mobileBlockWidth,Ue=void 0===Le?"":Le,We=l.mobileBlockWidthUnit,Ge=void 0===We?"px":We,Ve=l.blockHorizontalAlign,qe=void 0===Ve?"":Ve,Je=l.tabletBlockHorizontalAlign,Ye=void 0===Je?"":Je,Xe=l.mobileBlockHorizontalAlign,Ke=void 0===Xe?"":Xe,$e=l.blockVerticalAlign,Ze=void 0===$e?"":$e,Qe=l.tabletBlockVerticalAlign,et=void 0===Qe?"":Qe,tt=l.mobileBlockVerticalAlign,nt=void 0===tt?"":tt;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(a.cb,{title:Object(s.__)("Block Spacing",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-block-spacing"},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,i),t.height&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:_e,unit:ke,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},initialPosition:"100",className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:xe,unit:Se,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Te,unit:Pe,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"}))),t.verticalAlign&&wp.element.createElement(u.Fragment,null,""!==_e&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:Ze,onChange:function(e){return o({blockVerticalAlign:Ze!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==xe&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:et,onChange:function(e){return o({tabletBlockVerticalAlign:et!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Te&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:nt,onChange:function(e){return o({mobileBlockVerticalAlign:nt!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"}))),t.width&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[2e3,100],step:[1,1],allowReset:!0,value:Me,unit:Fe,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},initialPosition:"2000",className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[1500,100],step:[1,1],allowReset:!0,value:ze,unit:He,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ue,unit:Ge,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"}))),(t.horizontalAlign||""!==m&&"full"!==m)&&wp.element.createElement(u.Fragment,null,(""!==Me||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:qe,onChange:function(e){return o({blockHorizontalAlign:qe!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==ze||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({tabletBlockHorizontalAlign:Ye!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Ue||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:Ke,onChange:function(e){return o({mobileBlockHorizontalAlign:Ke!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"}))),t.margins&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:d,bottom:y,right:h,left:w,unit:j,min:[-500,-100],max:[500,100],onChange:function(e){o({marginTop:e.top||0===e.top?parseInt(e.top,10):"",marginRight:e.right||0===e.right?parseInt(e.right,10):"",marginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",marginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({marginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:C,bottom:T,right:E,left:P,unit:M,min:[-500,-100],max:[500,100],onChange:function(e){o({tabletMarginTop:e.top||0===e.top?parseInt(e.top,10):"",tabletMarginRight:e.right||0===e.right?parseInt(e.right,10):"",tabletMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:F,bottom:H,right:z,left:U,unit:G,min:[-500,-100],max:[500,100],onChange:function(e){o({mobileMarginTop:e.top||0===e.top?parseInt(e.top,10):"",mobileMarginRight:e.right||0===e.right?parseInt(e.right,10):"",mobileMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobileMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobileMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"}))),t.paddings&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:q,bottom:Y,right:K,left:Z,unit:ee,min:[0,0,0],max:[500,30,100],onChange:function(e){o({paddingTop:e.top||0===e.top?parseInt(e.top,10):"",paddingRight:e.right||0===e.right?parseInt(e.right,10):"",paddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",paddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({paddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,initialPosition:"10",className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:ne,bottom:ie,right:oe,left:ce,unit:ue,min:[0,0,0],max:[500,30,100],onChange:function(e){o({tabletPaddingTop:e.top||0===e.top?parseInt(e.top,10):"",tabletPaddingRight:e.right||0===e.right?parseInt(e.right,10):"",tabletPaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletPaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletPaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:pe,bottom:ge,right:fe,left:ve,unit:Oe,min:[0,0,0],max:[500,30,100],onChange:function(e){o({mobilePaddingTop:e.top||0===e.top?parseInt(e.top,10):"",mobilePaddingRight:e.right||0===e.right?parseInt(e.right,10):"",mobilePaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobilePaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobilePaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"}))),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,i)))}},Yr=function(e){return function(t,n){var a,r,o,l,c,s=Object(i.b)(n.attributes),u=n.attributes,b=u.blockInnerWidth,p=void 0===b?"":b,m=u.marginUnit,g=void 0===m?"px":m,d=u.tabletMarginUnit,f=void 0===d?"px":d,h=u.mobileMarginUnit,v=void 0===h?"px":h,y=u.paddingUnit,O=void 0===y?"px":y,w=u.tabletPaddingUnit,_=void 0===w?"px":w,j=u.mobilePaddingUnit,k=void 0===j?"px":j,C=u.blockHeightUnit,x=void 0===C?"px":C,E=u.tabletBlockHeightUnit,S=void 0===E?"px":E,T=u.mobileBlockHeightUnit,B=void 0===T?"px":T,P=u.blockWidthUnit,N=void 0===P?"px":P,M=u.tabletBlockWidthUnit,R=void 0===M?"px":M,F=u.mobileBlockWidthUnit,D=void 0===F?"px":F,z=".".concat(n.mainClassName),I=Object(A.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),(qr(a={},z,{marginTop:Object(i.c)(s("marginTop","%s".concat(g))),marginRight:Object(i.c)(s("marginRight","%s".concat(g))),marginBottom:Object(i.c)(s("marginBottom","%s".concat(g))),marginLeft:Object(i.c)(s("marginLeft","%s".concat(g)))}),qr(a,"tablet",qr({},z,{marginTop:Object(i.c)(s("tabletMarginTop","%s".concat(f))),marginRight:Object(i.c)(s("tabletMarginRight","%s".concat(f))),marginBottom:Object(i.c)(s("tabletMarginBottom","%s".concat(f))),marginLeft:Object(i.c)(s("tabletMarginLeft","%s".concat(f)))})),qr(a,"mobile",qr({},z,{marginTop:Object(i.c)(s("mobileMarginTop","%s".concat(v))),marginRight:Object(i.c)(s("mobileMarginRight","%s".concat(v))),marginBottom:Object(i.c)(s("mobileMarginBottom","%s".concat(v))),marginLeft:Object(i.c)(s("mobileMarginLeft","%s".concat(v)))})),a)),H=Object(A.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),(qr(r={},z,{paddingTop:Object(i.c)(s("paddingTop","%s".concat(O))),paddingRight:Object(i.c)(s("paddingRight","%s".concat(O))),paddingBottom:Object(i.c)(s("paddingBottom","%s".concat(O))),paddingLeft:Object(i.c)(s("paddingLeft","%s".concat(O)))}),qr(r,"tablet",qr({},z,{paddingTop:Object(i.c)(s("tabletPaddingTop","%s".concat(_))),paddingRight:Object(i.c)(s("tabletPaddingRight","%s".concat(_))),paddingBottom:Object(i.c)(s("tabletPaddingBottom","%s".concat(_))),paddingLeft:Object(i.c)(s("tabletPaddingLeft","%s".concat(_)))})),qr(r,"mobile",qr({},z,{paddingTop:Object(i.c)(s("mobilePaddingTop","%s".concat(k))),paddingRight:Object(i.c)(s("mobilePaddingRight","%s".concat(k))),paddingBottom:Object(i.c)(s("mobilePaddingBottom","%s".concat(k))),paddingLeft:Object(i.c)(s("mobilePaddingLeft","%s".concat(k)))})),r)),L=(qr(c={},z,{minHeight:s("blockHeight","%s".concat(x)),justifyContent:s("blockHorizontalAlign"),alignItems:s("blockVerticalAlign")}),qr(c,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("blockWidth","%s".concat(N))),minWidth:"wide"===p&&s("blockWidth")?"auto !important":void 0}),qr(c,"tablet",(qr(o={},z,{minHeight:s("tabletBlockHeight","%s".concat(S)),justifyContent:s("tabletBlockHorizontalAlign"),alignItems:s("tabletBlockVerticalAlign")}),qr(o,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("tabletBlockWidth","%s".concat(R))),minWidth:"wide"===p&&s("tabletBlockWidth")?"auto !important":void 0}),o)),qr(c,"mobile",(qr(l={},z,{minHeight:Object(i.c)(s("mobileBlockHeight","%s".concat(B))),justifyContent:s("mobileBlockHorizontalAlign"),alignItems:s("mobileBlockVerticalAlign")}),qr(l,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("mobileBlockWidth","%s".concat(D))),minWidth:"wide"===p&&s("mobileBlockWidth")?"auto !important":void 0}),l)),qr(c,"ie11",qr({},z,{height:s("blockHeight","%s".concat(x))})),c);return Fr.a.all([t,I,H,L])}},Xr=function(e){return Vr({},e,{},Object(i.h)("%sMargin%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sMarginUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockHeightUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockWidth",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockWidthUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlock%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},Kr=function(e,t){var n=t.attributes,a=n.blockWidth,i=void 0===a?"":a,r=n.tabletBlockWidth,o=void 0===r?"":r,l=n.mobileBlockWidth;return Vr({},e,{"ugb--has-custom-content-width":""!==i,"ugb--has-custom-content-width-tablet":""!==o,"ugb--has-custom-content-width-mobile":""!==(void 0===l?"":l)})},$r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Vr({margins:!0,paddings:!0,height:!0,width:!0,horizontalAlign:!0,verticalAlign:!0,modifyStyles:!0,enableMarginTop:!0,enableMarginRight:!0,enableMarginBottom:!0,enableMarginLeft:!0,enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),Jr(e,n),5),n.modifyStyles&&Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),Yr(e)),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),Xr),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-block-spacing"),Kr),Object(A.doAction)("stackable.module.advanced-block-spacing",e)};function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Column Spacing & More",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-column-spacing"},wp.element.createElement(a.fb,{type:"advanced"})))},to=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(n,!0).forEach(function(t){Qr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.h)("%sColumnPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sColumnPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnGap",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnContent%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]),{},Object(i.h)("%sColumn%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},no=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.showProNotice&&Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),eo,6),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),to),Object(A.doAction)("stackable.module.advanced-column-spacing",e,t)};function ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(n,!0).forEach(function(t){ro(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ao(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oo=function(e,t){var n=t.attributes,a=n.hideDesktop,i=void 0!==a&&a,r=n.hideTablet,o=void 0!==r&&r,l=n.hideMobile;return io({},e,{"ugb--hide-desktop":i,"ugb--hide-tablet":o,"ugb--hide-mobile":void 0!==l&&l})},lo=function(e){return io({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},co=function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-responsive"),function(e){return function(t,n){var a=n.setAttributes,i=n.attributes,l=i.hideDesktop,c=void 0!==l&&l,b=i.hideTablet,p=void 0!==b&&b,m=i.hideMobile,g=void 0!==m&&m;return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Responsive",r.i18n),initialOpen:!1},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Desktop",r.i18n),checked:c,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Tablet",r.i18n),checked:p,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Mobile",r.i18n),checked:g,onChange:function(e){return a({hideMobile:e})}}),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),lo),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),oo),Object(A.doAction)("stackable.module.advanced-responsive",e)};function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(n,!0).forEach(function(t){po(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mo=[],go=function(e){return bo({},e,{supports:bo({},e.supports,{align:null})})},fo=function(e){return Object(v.includes)(["center","wide","full"],e)},ho=Object(Tr.createHigherOrderComponent)(Object(Tr.compose)([Object(p.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.attributes,a=t.name,i=n.align,r=t.wrapperProps;return mo.includes(a)&&fo(i)&&(r=bo({},r,{"data-align":i})),wp.element.createElement(e,so({},t,{wrapperProps:r}))}}]));function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vo(n,!0).forEach(function(t){Oo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(A.addFilter)("editor.BlockListBlock","stackable/with-data-align",ho),Object(A.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,i=n.align;return mo.includes(a)?(fo(i)&&(e.className=$()("align".concat(i),e.className)),e):e}),Object(A.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object(A.addFilter)("stackable.setAttributes","stackable/module/block-background/show",function(e,t){if(void 0===e.showBlockBackground)return e;var n=t.attributes,a=n.align,i=void 0===a?"":a,r=n.blockInnerWidth,o=void 0===r?"":r;return e.align=e.showBlockBackground?"full":o||"center",e.blockInnerWidth=e.showBlockBackground?i||"center":"",e});var _o=function(e,t){var n=t.setAttributes,l=t.attributes,c=l.showBlockBackground,b=void 0!==c&&c,p=l.noPaddings,m=void 0===p?"":p;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Background",r.i18n),id:"block-background",checked:b,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:[].concat(wo(Object(i.i)("blockBackground%s")),["noPaddings"]),toggleAttributeName:"showBlockBackground",className:"ugb--help-tip-background-on-off"},wp.element.createElement(a.v,null),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("No Paddings",r.i18n),checked:m,onChange:function(e){return n({noPaddings:e})},className:"ugb--help-tip-no-padding"}),wp.element.createElement(a.h,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},jo=function(e,t){var n=t.setAttributes,a=t.attributes,i=a.showBlockBackground,l=void 0!==i&&i,b=a.align,p=void 0===b?"":b,m=a.blockInnerWidth,g=void 0===m?"":m;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,!l&&wp.element.createElement(c.BlockAlignmentToolbar,{value:p,onChange:function(e){var t=l&&!e?"full":e;n(l?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),l&&wp.element.createElement(o.Toolbar,{label:Object(s.__)("Change Alignment",r.i18n),controls:[{icon:"align-center",title:Object(s.__)("Align center",r.i18n),isActive:""===g||"center"===g,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(s.__)("Wide width",r.i18n),isActive:"wide"===g,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(s.__)("Full width",r.i18n),isActive:"full"===g,onClick:function(){n({blockInnerWidth:"full"})}}]})))},ko=function(e){return yo({},e,{supports:yo({},e.supports,{align:["center","wide","full"]})})},Co=function(e){return yo({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"},noPaddings:{type:"boolean",default:""}},Object(i.j)("blockBackground%s"))},xo=function(e,t){var n,a=t.attributes,r=a.showBlockBackground,o=void 0!==r&&r,l=a.blockInnerWidth,c=void 0===l?"":l;return o?yo({},e,(Oo(n={},"ugb-main-block--inner-".concat(c),c),Oo(n,"ugb--has-block-background",o),Oo(n,"ugb--has-background-overlay",Object(i.V)("blockBackground%s",t.attributes)),n)):e},Eo=function(e,t){var n=t.attributes,a=n.showBlockBackground,i=void 0!==a&&a,r=n.blockInnerWidth;return i?yo({},e,Oo({},"ugb-inner-block--".concat((void 0===r?"":r)||"center"),!0)):e},So=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(u.Fragment,null,e,Object(i.I)("blockBackground%s",n)):e},Ao=function(e,t){var n,a,r,o=Object(i.b)(t.attributes);if(!t.attributes.showBlockBackground)return e;var l=(Oo(r={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","desktop",t.attributes))),Oo(r,"",{padding:o("noPaddings")?"0 !important":void 0}),Oo(r,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","desktop",t.attributes))),Oo(r,"tablet",(Oo(n={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","tablet",t.attributes))),Oo(n,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","tablet",t.attributes))),n)),Oo(r,"mobile",(Oo(a={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","mobile",t.attributes))),Oo(a,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","mobile",t.attributes))),a)),r);return Fr()(e,l)},To=function(e){return Object(v.omit)(e,["blockBackgroundBackgroundMediaId"])};function Bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bo(n,!0).forEach(function(t){No(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var i=n.setAttributes,l=n.attributes,c=l.showTopSeparator,b=void 0!==c&&c,p=l.topSeparatorDesign,m=void 0===p?"wave-1":p,g=l.topSeparatorColor,d=void 0===g?"":g,f=l.topSeparatorWidth,h=void 0===f?"":f,v=l.topSeparatorFlipHorizontally,y=void 0!==v&&v,O=l.topSeparatorFlipVertically,w=void 0!==O&&O,_=l.topSeparatorShadow,j=void 0===_||_,k=l.topSeparatorBringToFront,C=void 0!==k&&k,x=l.showBottomSeparator,E=void 0!==x&&x,S=l.bottomSeparatorDesign,T=void 0===S?"wave-1":S,B=l.bottomSeparatorColor,P=void 0===B?"":B,N=l.bottomSeparatorWidth,M=void 0===N?"":N,R=l.bottomSeparatorFlipHorizontally,F=void 0!==R&&R,D=l.bottomSeparatorFlipVertically,z=void 0!==D&&D,I=l.bottomSeparatorShadow,H=void 0===I||I,L=l.bottomSeparatorBringToFront,U=void 0!==L&&L;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Top Separator",r.i18n),id:"top-separator",checked:b,onChange:function(e){return i({showTopSeparator:e})},toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorFlipVertically","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator",className:"ugb-top-block-separator-panel ugb--help-tip-separator-top-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:m,onChange:function(e){return i({topSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:d,onChange:function(e){return i({topSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"topSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return i({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:y,onChange:function(e){return i({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:w,onChange:function(e){return i({topSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:j,onChange:function(e){return i({topSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:C,onChange:function(e){return i({topSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(A.applyFilters)("stackable.block-separators.edit.top",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})),wp.element.createElement(a.cb,{title:Object(s.__)("Bottom Separator",r.i18n),id:"bottom-separator",checked:E,onChange:function(e){return i({showBottomSeparator:e})},toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorFlipVertically","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator",className:"ugb-bottom-block-separator-panel ugb--help-tip-separator-bottom-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:T,onChange:function(e){return i({bottomSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:P,onChange:function(e){return i({bottomSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:M,onChange:function(e){return i({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:F,onChange:function(e){return i({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:z,onChange:function(e){return i({bottomSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:H,onChange:function(e){return i({bottomSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:U,onChange:function(e){return i({bottomSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(A.applyFilters)("stackable.block-separators.edit.bottom",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})))}},Ro=function(e){return Po({},e,{},Object(i.h)("Show%sSeparator",{type:"boolean",default:""},["Top","Bottom"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:"wave-1"},["Top","Bottom"],["Design"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Color"]),{},Object(i.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Height","TabletHeight","MobileHeight","Width"]),{},Object(i.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["FlipHorizontally","FlipVertically","BringToFront"]),{},Object(i.h)("%sSeparatorShadow",{type:"boolean",default:!0},["Top","Bottom"]),{},Object(i.h)("Show%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2","Layer3"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Layer2Color","Layer3Color","Layer2BlendMode","Layer3BlendMode"]),{},Object(i.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Layer2Height","Layer3Height","Layer2Width","Layer3Width","Layer2Opacity","Layer3Opacity"]),{},Object(i.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2FlipHorizontally","Layer3FlipHorizontally"]))},Fo=function(e,t,n){var i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorDesign,c=void 0===l?"wave-1":l,s=i.topSeparatorFlipVertically,b=void 0!==s&&s,p=i.topSeparatorShadow,m=void 0===p||p,g=i.showBottomSeparator,d=void 0!==g&&g,f=i.bottomSeparatorDesign,h=void 0===f?"wave-1":f,v=i.bottomSeparatorFlipVertically,y=void 0!==v&&v,O=i.bottomSeparatorShadow,w=void 0===O||O;return wp.element.createElement(u.Fragment,null,e,o&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(a.ib,{design:c,shadow:m,inverted:b},Object(A.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),d&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(a.ib,{design:h,shadow:w,inverted:y},Object(A.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},Do=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorColor,c=void 0===l?"":l,s=i.topSeparatorHeight,u=void 0===s?"":s,b=i.topSeparatorTabletHeight,p=void 0===b?"":b,m=i.topSeparatorMobileHeight,g=void 0===m?"":m,d=i.topSeparatorWidth,f=void 0===d?"":d,h=i.topSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.topSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(No(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scale(-1)":void 0}),No(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),No(a,".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),No(a,"tablet",No({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),No(a,"mobile",No({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Fr()(e,w)}},zo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showBottomSeparator,o=void 0!==r&&r,l=i.bottomSeparatorColor,c=void 0===l?"":l,s=i.bottomSeparatorHeight,u=void 0===s?"":s,b=i.bottomSeparatorTabletHeight,p=void 0===b?"":b,m=i.bottomSeparatorMobileHeight,g=void 0===m?"":m,d=i.bottomSeparatorWidth,f=void 0===d?"":d,h=i.bottomSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.bottomSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(No(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scaleX(-1)":void 0}),No(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),No(a,".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),No(a,"tablet",No({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),No(a,"mobile",No({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Fr()(e,w)}},Io=function(e,t){var n=t.attributes,a=n.showTopSeparator,i=void 0!==a&&a,r=n.showBottomSeparator;return Po({},e,{"ugb--has-top-separator":i,"ugb--has-bottom-separator":void 0!==r&&r})};function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ho(n,!0).forEach(function(t){Uo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Go=function(e,t){var n=t.setAttributes,o=t.attributes,l=o.showBlockTitle,c=void 0!==l&&l,b=o.blockTitleTag,p=void 0===b?"":b,m=o.blockTitleColor,g=void 0===m?"":m,d=o.showBlockDescription,f=void 0!==d&&d,h=o.blockDescriptionColor,v=void 0===h?"":h,y=o.blockTitle,O=void 0===y?"":y,w=o.blockDescription,_=void 0===w?"":w,j=o.blockTitleWidth,k=void 0===j?"":j,C=o.blockTitleTabletWidth,x=void 0===C?"":C,E=o.blockTitleMobileWidth,S=void 0===E?"":E,A=o.blockTitleWidthUnit,T=void 0===A?"px":A,B=o.blockTitleTabletWidthUnit,P=void 0===B?"px":B,N=o.blockTitleMobileWidthUnit,M=void 0===N?"px":N,R=o.blockDescriptionWidth,F=void 0===R?"":R,D=o.blockDescriptionTabletWidth,z=void 0===D?"":D,I=o.blockDescriptionMobileWidth,H=void 0===I?"":I,L=o.blockDescriptionWidthUnit,U=void 0===L?"px":L,W=o.blockDescriptionTabletWidthUnit,G=void 0===W?"px":W,V=o.blockDescriptionMobileWidthUnit,q=void 0===V?"px":V,J=o.blockTitleHorizontalAlign,Y=void 0===J?"":J,X=o.blockDescriptionHorizontalAlign,K=void 0===X?"":X;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Title",r.i18n),id:"block-title",className:"ugb-panel-block-title-module",checked:c,onChange:function(e){var t={showBlockTitle:e};e&&""===O&&(t.blockTitle=Object(s.__)("Title for This Block",r.i18n)),n(t)},toggleOnSetAttributes:[].concat(Wo(Object(i.F)("blockTitle%s")),["blockTitleTag","blockTitleColor"],Wo(Object(i.z)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(a.rb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(a.J,{value:p||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(a.s,{value:g,onChange:function(e){return n({blockTitleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:k,unit:T||"px",onChange:function(e){return n({blockTitleWidth:e})},onChangeUnit:function(e){return n({blockTitleWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:x,unit:P||"px",onChange:function(e){return n({blockTitleTabletWidth:e})},onChangeUnit:function(e){return n({blockTitleTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:S,unit:M||"px",onChange:function(e){return n({blockTitleMobileWidth:e})},onChangeUnit:function(e){return n({blockTitleMobileWidthUnit:e})}})),(k||x||S)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:Y,onChange:function(e){return n({blockTitleHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(a.cb,{title:Object(s.__)("Block Description",r.i18n),id:"block-description",checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===_&&(t.blockDescription=Object(i.J)()),n(t)},toggleOnSetAttributes:[].concat(Wo(Object(i.F)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],Wo(Object(i.z)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(a.rb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(a.s,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:F,unit:U||"px",onChange:function(e){return n({blockDescriptionWidth:e})},onChangeUnit:function(e){return n({blockDescriptionWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:z,unit:G||"px",onChange:function(e){return n({blockDescriptionTabletWidth:e})},onChangeUnit:function(e){return n({blockDescriptionTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:H,unit:q||"px",onChange:function(e){return n({blockDescriptionMobileWidth:e})},onChangeUnit:function(e){return n({blockDescriptionMobileWidthUnit:e})}})),(F||z||H)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:K,onChange:function(e){return n({blockDescriptionHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-description"}))))},Vo=function(e){return Lo({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(s.__)("Title for This Block",r.i18n)}},Object(i.A)("blockTitle%sWidth",{type:"number",default:""}),{},Object(i.A)("blockTitle%sWidthUnit",{type:"string",default:""}),{blockTitleHorizontalAlign:{type:"string",default:""}},Object(i.A)("blockTitle%sBottomMargin",{type:"number",default:""}),{},Object(i.G)("blockTitle%s"),{},Object(i.A)("blockTitle%sAlign",{type:"string",default:""}),{blockTitleColor:{type:"string",default:""},blockTitleTag:{type:"string",default:""},showBlockDescription:{type:"boolean",default:!1},blockDescription:{source:"html",selector:".ugb-block-description",default:Object(i.J)()}},Object(i.A)("blockDescription%sWidth",{type:"number",default:""}),{},Object(i.A)("blockDescription%sWidthUnit",{type:"string",default:""}),{blockDescriptionHorizontalAlign:{type:"string",default:""}},Object(i.A)("blockDescription%sBottomMargin",{type:"number",default:""}),{},Object(i.G)("blockDescription%s"),{},Object(i.A)("blockDescription%sAlign",{type:"string",default:""}),{blockDescriptionColor:{type:"string",default:""}})},qo=function(e,t,n){var a=n.setAttributes,o=n.attributes,l=o.showBlockTitle,b=void 0!==l&&l,p=o.blockTitle,m=void 0===p?"":p,g=o.blockTitleTag,d=void 0===g?"":g,f=o.showBlockDescription,h=void 0!==f&&f,v=o.blockDescription,y=void 0===v?"":v,O=$()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement(c.RichText,{tagName:d||"h2",value:m,className:O,onChange:function(e){return a({blockTitle:e})},placeholder:Object(s.__)("Title for This Block",r.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(c.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(i.J)(),keepPlaceholderOnFocus:!0}))},Jo=function(e,t){var n=t.setAttributes,i=t.attributes,o=i.showBlockTitle,l=void 0!==o&&o,c=i.showBlockDescription,b=void 0!==c&&c;return wp.element.createElement(u.Fragment,null,e,l&&wp.element.createElement(a.hb,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-title"})),b&&wp.element.createElement(a.hb,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-description"})))},Yo=function(e,t,n){var a=n.attributes,i=a.showBlockTitle,r=void 0!==i&&i,o=a.blockTitle,l=void 0===o?"":o,s=a.blockTitleTag,b=void 0===s?"":s,p=a.showBlockDescription,m=void 0!==p&&p,g=a.blockDescription,d=void 0===g?"":g,f=$()(["ugb-block-title"],{"ugb-block-title--with-subtitle":m&&d});return wp.element.createElement(u.Fragment,null,e,r&&!c.RichText.isEmpty(l)&&wp.element.createElement(c.RichText.Content,{tagName:b||"h2",className:f,value:l}),m&&!c.RichText.isEmpty(d)&&wp.element.createElement(c.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},Xo=function(e,t){var n=Object(i.b)(t.attributes),a=t.attributes,r=a.showBlockTitle,o=void 0!==r&&r,l=a.blockTitleColor,c=void 0===l?"":l,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,p=void 0===b?"":b,m=a.showBlockBackground,g=void 0!==m&&m,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e],v=n("blockTitleWidth")||n("blockTitleTabletWidth")||n("blockTitleMobileWidth");o&&h.push({".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","desktop",t.attributes),{color:Object(i.rb)(c,g&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleWidth","%s"+n("blockTitleWidthUnit","%s","px"))),marginLeft:v?Object(i.c)(Object(i.db)(n("blockTitleHorizontalAlign"))):void 0,marginRight:v?Object(i.c)(Object(i.eb)(n("blockTitleHorizontalAlign"))):void 0}),tablet:{".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleTabletWidth","%s"+n("blockTitleTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleMobileWidth","%s"+n("blockTitleMobileWidthUnit","%s","px")))})}});var y=n("blockDescriptionWidth")||n("blockDescriptionTabletWidth")||n("blockDescriptionMobileWidth");return u&&h.push({".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","desktop",t.attributes),{color:Object(i.rb)(p,g&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionWidth","%s"+n("blockDescriptionWidthUnit","%s","px"))),marginLeft:y?Object(i.c)(Object(i.db)(n("blockDescriptionHorizontalAlign"))):void 0,marginRight:y?Object(i.c)(Object(i.eb)(n("blockDescriptionHorizontalAlign"))):void 0}),tablet:{".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionTabletWidth","%s"+n("blockDescriptionTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionMobileWidth","%s"+n("blockDescriptionMobileWidthUnit","%s","px")))})}}),Fr.a.all(h)},Ko=function(e){return Object(v.omit)(Lo({},e,{blockTitle:Object(s.__)("Title for This Block",r.i18n),blockDescription:Object(i.J)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},$o=function(e){return[].concat(Wo(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function Zo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zo(n,!0).forEach(function(t){el(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function el(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tl=function(e){return function(t){return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Designs",r.i18n),initialOpen:!0},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("You will not lose your block content when changing designs.",r.i18n)),wp.element.createElement(a.y,{block:"ugb/".concat(e),onSelect:function(e){Object(i.e)(e.attributes)}})))}};function nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function al(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var il=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nl(n,!0).forEach(function(t){al(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.h)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},rl=function(e,t){var n=Object(i.b)(t.attributes),a=[e];return a.push({".ugb-inner-block":{textAlign:n("contentAlign")},tablet:{".ugb-inner-block":{textAlign:n("tabletContentAlign")}},mobile:{".ugb-inner-block":{textAlign:n("mobileContentAlign")}}}),Fr.a.all(a)},ol=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,i=void 0===a?"":a;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,wp.element.createElement(c.AlignmentToolbar,{value:i,onChange:function(e){return n({contentAlign:e})}})))};function ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sl=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Custom CSS",r.i18n)},wp.element.createElement(a.fb,{title:Object(s.__)("Say Hello to Custom CSS 👋",r.i18n),description:Object(s.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",r.i18n)})))},ul=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ll(n,!0).forEach(function(t){cl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ll(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""}})},bl=function(e,t,n){var a=n.mainClassName,r=n.attributes,o=r.customCSS,l=void 0===o?"":o,c=r.uniqueClass,s=void 0===c?n.attributes.customCSSUniqueID||"":c,b=Object(i.fb)(Object(i.g)(l,a,s),!0);return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement("style",null,b))},pl={},ml=function(e,t){pl[e]=t},gl=function(e){return pl[e]},dl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!gl(t)){var a=fl.reduce(function(e,n){var a=n.name,i=n.module;return t===a?i:e},null);a&&ml(t,a)}var i=gl(t);i&&i(e,n)},fl=[{name:"advanced-general",module:Wr},{name:"advanced-responsive",module:co},{name:"advanced-block-spacing",module:$r},{name:"advanced-column-spacing",module:no},{name:"block-background",module:function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),_o,18),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),Co),Object(A.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),jo),Object(A.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),ko),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),xo),Object(A.addFilter)("stackable.".concat(e,".main-block.inner-classes"),"stackable/".concat(e,"/block-background"),Eo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),Ao),Object(A.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),So),Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),So),Object(A.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-separators"),To),Object(A.doAction)("stackable.module.block-background",e),function(e){Object(A.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),go,99),mo.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Po({enableBringToFront:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),Mo(e,n),18),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),Ro),Object(A.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),Fo),Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),Fo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),Do(e,n)),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),zo(e,n)),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),Io),Object(A.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object(A.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),Go,17),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),Vo),Object(A.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",Jo),Object(A.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),qo),Object(A.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),Yo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),Xo),Object(A.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),$o),Object(A.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-title"),Ko),Object(A.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Qo({},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),tl(e),20),Object(A.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),ol,11),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),il),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),rl,9),Object(A.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){r.showProNotice&&Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),sl,20),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),ul),r.isPro||Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),bl),Object(A.doAction)("stackable.module.custom-css",e)}}],hl=n(10);function vl(e){return(vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ol(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yl(n,!0).forEach(function(t){wl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _l,jl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(d.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=Ol({},t,{category:Object(i.mb)()?t.category:"stackable",modules:Object(A.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return Ol({},t,{save:Object(hl.f)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&dl(n,e,"object"===vl(t)?t:{})}),a.attributes=Object(A.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object(A.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(hl.f)(e)(a.edit),a.save=Object(hl.f)(e)(a.save),Object(d.registerBlockType)(e,Object(A.applyFilters)("stackable.".concat(n,".settings"),a)),a}};Object(i.mb)()?Object(d.registerBlockCollection)("ugb",{title:Object(s.__)("Stackable",r.i18n),icon:Mr.v}):Object(d.setCategories)([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(_l=Object(d.getCategories)())||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(_l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),[{slug:"stackable",title:Object(s.__)("Stackable",r.i18n),icon:Mr.v}]));var kl;(kl=n(378)).keys().forEach(function(e){var t=kl(e),n=t.name,a=t.settings;try{return n&&a&&jl(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),l=function(e){return i.a.createElement("svg",r({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),o)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=i.a.createElement("filter",{id:"curve-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),u=i.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),b=function(e){return i.a.createElement("svg",c({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),s,u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=i.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),g=function(e){return i.a.createElement("svg",p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=i.a.createElement("filter",{id:"curve-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),h=i.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),v=function(e){return i.a.createElement("svg",d({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=i.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),w=function(e){return i.a.createElement("svg",y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=i.a.createElement("filter",{id:"curve-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),k=i.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),C=function(e){return i.a.createElement("svg",_({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),j,k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),B=i.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),P=function(e){return i.a.createElement("svg",A({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),T,B)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var M=i.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),R=function(e){return i.a.createElement("svg",N({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),M)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=i.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),z=i.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),I=function(e){return i.a.createElement("svg",F({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),D,z)};function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var L=i.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),U=function(e){return i.a.createElement("svg",H({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),L)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var G=i.a.createElement("filter",{id:"slant-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),V=i.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),q=function(e){return i.a.createElement("svg",W({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),G,V)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),X=function(e){return i.a.createElement("svg",J({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Y)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=i.a.createElement("filter",{id:"slant-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Z=i.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Q=function(e){return i.a.createElement("svg",K({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$,Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=i.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ne=function(e){return i.a.createElement("svg",ee({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=i.a.createElement("filter",{id:"wave-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),re=i.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),oe=function(e){return i.a.createElement("svg",ae({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ie,re)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=i.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),se=function(e){return i.a.createElement("svg",le({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=i.a.createElement("filter",{id:"wave-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pe=i.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),me=function(e){return i.a.createElement("svg",ue({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),fe=function(e){return i.a.createElement("svg",ge({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("filter",{id:"wave-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ye=i.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Oe={"wave-1":ne,"wave-2":se,"wave-3":fe,"curve-1":l,"curve-2":g,"curve-3":w,"slant-1":U,"slant-2":X,"rounded-1":S,"rounded-2":R},we={"wave-1":oe,"wave-2":me,"wave-3":function(e){return i.a.createElement("svg",he({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ve,ye)},"curve-1":b,"curve-2":v,"curve-3":C,"slant-1":q,"slant-2":Q,"rounded-1":P,"rounded-2":I},_e=n(5),je=n(8),ke=n.n(je),Ce=[{attributes:{align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.height,i=n.design,r=void 0===i?"wave-1":i,o=n.marginTop,l=void 0===o?0:o,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,p=n.paddingBottom,m=void 0===p?0:p,g=n.backgroundColor,d=void 0===g?"":g,f=n.flipVertically,h=void 0!==f&&f,v=n.flipHorizontally,y=void 0!==v&&v,O=n.layer1Color,w=void 0===O?"":O,_=n.layer1Width,j=void 0===_?1:_,k=n.layer1Flip,C=void 0!==k&&k,x=n.layer1Shadow,E=void 0!==x&&x,S=ke()([t,"ugb-separator","ugb-separator--design-".concat(r)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},r,e)),A={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},T={height:"".concat(m,"px"),background:w||void 0},B={height:"".concat(b,"px"),background:d||void 0},P={height:a+"px"},N={fill:w||void 0,transform:j?"scaleX(".concat(j,")"):void 0};C&&(N.transform=N.transform?"".concat(N.transform," scaleX(-1)"):"scaleX(-1)");var M=Oe[r],R=we[r];return wp.element.createElement("div",{className:S,style:A,"aria-hidden":"true"},Object(_e.applyFilters)("stackable.separator.save.output.before_1_15",null,r,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:B}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:P},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:N}),wp.element.createElement(M,{preserveAspectRatio:"none",style:N}),Object(_e.applyFilters)("stackable.separator.save.output.layers_1_15",null,r,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:T}))}}],xe=n(3),Ee=n(1),Se=n(0),Ae=n(6);Ee.showProNotice&&Object(_e.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),2),className:"ugb--help-tip-separator-layer2"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a second layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})),wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),3),className:"ugb--help-tip-separator-layer3"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Te=n(10),Be=n(2),Pe=function(e){var t,n=Object(Be.b)(e.attributes),a=e.attributes,i=a.backgroundColor,r=void 0===i?"":i,o=a.layer1Color,l=void 0===o?"":o,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,p=a.marginTop,m=void 0===p?0:p,g=a.marginBottom,d=void 0===g?0:g,f=a.marginUnit,h=void 0===f?"px":f,v=a.tabletMarginTop,y=void 0===v?"":v,O=a.tabletMarginBottom,w=void 0===O?"":O,_=a.tabletMarginUnit,j=void 0===_?"px":_,k=a.mobileMarginTop,C=void 0===k?"":k,x=a.mobileMarginBottom,E=void 0===x?"":x,S=a.mobileMarginUnit,A=void 0===S?"px":S,T=a.paddingTop,B=void 0===T?0:T,P=a.paddingBottom,N=void 0===P?0:P,M=a.paddingUnit,R=void 0===M?"px":M,F=a.tabletPaddingTop,D=void 0===F?"":F,z=a.tabletPaddingBottom,I=void 0===z?"":z,H=a.tabletPaddingUnit,L=void 0===H?"px":H,U=a.mobilePaddingTop,W=void 0===U?"":U,G=a.mobilePaddingBottom,V=void 0===G?"":G,q=a.mobilePaddingUnit,J=void 0===q?"px":q,Y=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:r||void 0,marginTop:"".concat(m-1+(Y?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(Y?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==N?"".concat(N).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==B?"".concat(B).concat(R):void 0,background:r||void 0},".ugb-separator__svg-wrapper":{height:200!==n("height")?Object(Be.c)(n("height","%spx")):void 0},".ugb-separator__shadow, .ugb-separator__layer-1":{fill:l||void 0,transform:(t=s?"scaleX(".concat(s,")"):void 0,b&&(t=t?"".concat(t," scaleX(-1)"):"scaleX(-1)"),t)},tablet:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("tabletHeight","%spx"))},".ugb-separator":{marginTop:"".concat(y-1).concat(j," !important"),marginBottom:"".concat(w-1).concat(j," !important")},".ugb-separator__bottom-pad":{height:""!==I?"".concat(I).concat(L):void 0},".ugb-separator__top-pad":{height:""!==D?"".concat(D).concat(L):void 0}},mobile:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(A," !important"),marginBottom:"".concat(E-1).concat(A," !important")},".ugb-separator__bottom-pad":{height:""!==V?"".concat(V).concat(J):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(J):void 0}}}},Ne=n(11),Me=n(12);Object(_e.addFilter)("stackable.separator.edit.inspector.layout.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"wave-1":a;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.A,null,wp.element.createElement(xe.C,{onChange:function(e){return n({design:e})},selected:i,excludeDesigns:["straight-1"]})))}),Object(_e.addFilter)("stackable.separator.edit.inspector.style.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.height,r=a.tabletHeight,o=void 0===r?"":r,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,p=void 0===b?0:b,m=a.marginUnit,g=void 0===m?"px":m,d=a.tabletMarginTop,f=void 0===d?"":d,h=a.tabletMarginBottom,v=void 0===h?"":h,y=a.tabletMarginUnit,O=void 0===y?"px":y,w=a.mobileMarginTop,_=void 0===w?"":w,j=a.mobileMarginBottom,k=void 0===j?"":j,C=a.mobileMarginUnit,x=void 0===C?"px":C,E=a.backgroundColor,S=void 0===E?"":E,A=a.flipVertically,T=void 0!==A&&A,B=a.flipHorizontally,P=void 0!==B&&B,N=a.layer1Color,M=void 0===N?"":N,R=a.layer1Width,F=void 0===R?1:R,D=a.layer1Flip,z=void 0!==D&&D,I=a.layer1Shadow,H=void 0!==I&&I,L=a.paddingTop,U=void 0===L?0:L,W=a.paddingBottom,G=void 0===W?0:W,V=a.paddingUnit,q=void 0===V?"px":V,J=a.tabletPaddingTop,Y=void 0===J?"":J,X=a.tabletPaddingBottom,K=void 0===X?"":X,$=a.tabletPaddingUnit,Z=void 0===$?"px":$,Q=a.mobilePaddingTop,ee=void 0===Q?"":Q,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,ie=void 0===ae?"px":ae;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{title:Object(Se.__)("Separator",Ee.i18n),id:"separator"},wp.element.createElement(xe.s,{label:Object(Se.__)("Separator Color",Ee.i18n),value:M,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.c,{label:Object(Se.__)("Separator Width",Ee.i18n),value:F,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1",className:"ugb--help-tip-separator-width"}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:z,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Shadow",Ee.i18n),checked:H,onChange:function(e){return n({layer1Shadow:e})},className:"ugb--help-tip-separator-shadow"})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:i,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Vertically",Ee.i18n),checked:T,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:P,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.s,{label:Object(Se.__)("Background Color",Ee.i18n),value:S,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:U,min:"0",max:"400",onChange:function(e){return n({paddingTop:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:G,min:"0",max:"400",onChange:function(e){return n({paddingBottom:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:u,min:-i-U-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:p,min:-i-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:Y,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:K,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:f,min:-o-Y-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:v,min:-o-K-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:ee,min:"0",max:"400",onChange:function(e){return n({mobilePaddingTop:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:ne,min:"0",max:"400",onChange:function(e){return n({mobilePaddingBottom:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:_,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:k,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}))))});var Re=Object(Me.compose)(Te.i,Te.g,Te.d,Object(Te.h)(),Object(Te.a)(Pe,{editorMode:!0}),Object(Te.b)([[".ugb-separator__layer-1","separator"]]))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Edit,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),Fe=Object(Me.compose)(Te.i,Object(Te.a)(Pe))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Save,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),De=n(16);n.d(t,"schema",function(){return ze}),n.d(t,"name",function(){return Ie}),n.d(t,"settings",function(){return He});var ze={align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},tabletHeight:{type:"number",default:""},mobileHeight:{type:"number",default:""},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},tabletMarginTop:{type:"number",default:""},tabletMarginBottom:{type:"number",default:""},mobileMarginTop:{type:"number",default:""},mobileMarginBottom:{type:"number",default:""},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},tabletPaddingTop:{type:"number",default:""},tabletPaddingBottom:{type:"number",default:""},mobilePaddingTop:{type:"number",default:""},mobilePaddingBottom:{type:"number",default:""},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer2BlendMode:{type:"string",default:""},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5}},Ie="ugb/separator",He={title:Object(Se.__)("Separator",Ee.i18n),description:Object(Se.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:De.x,category:"layout",keywords:[Object(Se.__)("Separator",Ee.i18n),Object(Se.__)("SVG Divider",Ee.i18n),Object(Se.__)("Stackable",Ee.i18n)],attributes:ze,supports:{align:["full"],inserter:!Ee.disabledBlocks.includes(Ie)},deprecated:Ce,save:Fe,edit:Re,modules:{"advanced-general":!0,"advanced-responsive":!0,"advanced-block-spacing":{enableMarginRight:!1,enableMarginLeft:!1,enablePaddingRight:!1,enablePaddingLeft:!1,height:!1,width:!1,horizontalContentAlign:!1,verticalContentAlign:!1,modifyStyles:!1},"custom-css":{default:Object(_e.applyFilters)("stackable.separator.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(9),o=n(5);Object(o.addFilter)("stackable.icon-list.design.no-text-attributes","stackable/icon-list",function(e){return Object(r.omit)(e,["text"])});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM78.2 150.4l-10.6-10.6L110.3 97 67.6 54.2l10.6-10.6L131.5 97l-53.3 53.4z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=c.a.createElement("path",{d:"M59.4 177.5l82.4-82.4-82.4-82.3-10.6 10.6 71.8 71.7-71.8 71.8 10.6 10.6z"}),g=function(e){return c.a.createElement("svg",p({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=c.a.createElement("path",{d:"M73.1 65.3L104.8 97l-31.7 31.7 10.6 10.6L126 97 83.7 54.7z"}),h=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),v=function(e){return c.a.createElement("svg",d({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM76.6 144.7l-36.5-36.5 10.6-10.6 25.9 25.9 68.8-68.8L156 65.3l-79.4 79.4z"}),w=function(e){return c.a.createElement("svg",y({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=c.a.createElement("path",{d:"M173.8 28.4L60.4 141.8 15.7 97.2 5.1 107.8 60.4 163l124-124-10.6-10.6z"}),k=function(e){return c.a.createElement("svg",_({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=c.a.createElement("path",{d:"M79.4 112.4L60.7 93.7l-10.6 10.6 29.3 29.3 62.3-62.3-10.6-10.6z"}),E=c.a.createElement("path",{d:"M182.3 57.5c-7.2-17-19.3-31.5-34.4-41.8C132.7 5.5 114.4-.5 94.7-.5c-13.1 0-25.6 2.7-37 7.5-17 7.2-31.5 19.2-41.7 34.4C5.7 56.5-.3 74.8-.3 94.5c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8 15.2 10.2 33.5 16.2 53.1 16.2 13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1.1-13.1-2.6-25.6-7.4-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.6-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29-8.6-12.8-13.7-28.1-13.7-44.7 0-11.1 2.2-21.6 6.3-31.1C27.1 49 37.2 36.8 50 28.1c12.8-8.6 28.1-13.7 44.7-13.7 11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7.1 11.2-2.2 21.7-6.2 31.2z"}),S=function(e){return c.a.createElement("svg",C({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),x,E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm47.4 131.5l-10.6 10.6-36.5-36.5-36.5 36.5-10.6-10.6L86.6 97 50.1 60.5l10.6-10.6 36.5 36.5 36.5-36.5 10.6 10.6L107.8 97l36.5 36.5z"}),B=function(e){return c.a.createElement("svg",A({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=c.a.createElement("path",{d:"M167.2 33.4l-10.6-10.6-61.7 61.7-61.7-61.7-10.6 10.6 61.7 61.7-61.7 61.7 10.6 10.6 61.7-61.7 61.7 61.7 10.6-10.6-61.7-61.7z"}),M=function(e){return c.a.createElement("svg",P({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=c.a.createElement("path",{d:"M134.7 70.1l-10.6-10.6-26.9 26.9-26.8-26.9-10.7 10.6L86.6 97l-26.9 26.9 10.7 10.6 26.8-26.9 26.9 26.9 10.6-10.6L107.8 97z"}),D=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),z=function(e){return c.a.createElement("svg",R({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),F,D)};function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM151 104.5h-46.6v46.6h-15v-46.6H42.8v-15h46.6V42.9h15v46.6H151v15z"}),L=function(e){return c.a.createElement("svg",I({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),H)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var W=c.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),G=function(e){return c.a.createElement("svg",U({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),W)};function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var q=c.a.createElement("path",{d:"M104.5 55.4h-15v34.1H55.4v15h34.1v34.1h15v-34.1h34.1v-15h-34.1z"}),J=c.a.createElement("path",{d:"M184.5 60c-7.2-17-19.2-31.5-34.4-41.8C135 8 116.6 2 97 2 83.9 2 71.4 4.7 60 9.5c-17.1 7.2-31.6 19.3-41.8 34.4S2 77.4 2 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.3 192 97 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4C186 134.9 192 116.6 192 97c0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-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.3-14.3-6.1-26.6-16.2-35.2-29C22 129 17 113.6 17 97c0-11.1 2.2-21.6 6.3-31.1 6.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 14.3 6.1 26.6 16.2 35.2 29C171.9 65.1 177 80.4 177 97c0 11.1-2.2 21.6-6.3 31.1z"}),Y=function(e){return c.a.createElement("svg",V({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),q,J)};function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm37.8 150.1l-37.8-19.5-37.8 19.5 6.9-41.9-30.2-29.9 42-6.4 19.1-38 19.1 38 42 6.4-30.2 29.9 6.9 41.9z"}),$=function(e){return c.a.createElement("svg",X({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),K)};function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Q=c.a.createElement("path",{d:"M95.4 6.3l29.2 58 64.2 9.9-46.2 45.7 10.5 64.1-57.7-29.8L37.6 184l10.5-64.1L2 74.2l64.2-9.9z"}),ee=function(e){return c.a.createElement("svg",Z({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),Q)};function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ne=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),ae=c.a.createElement("path",{d:"M96.9 49.3L82.2 78.5l-32.3 5 23.2 23-5.3 32.2 29.1-15 29 15-5.2-32.2 23.2-23-32.3-5z"}),ie=function(e){return c.a.createElement("svg",te({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),ne,ae)},re=n(0),oe=n(1);function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(n,!0).forEach(function(t){se(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(k,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(w,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(S,{style:{fill:e}})},title:Object(re.__)("Check",oe.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(G,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(L,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Y,{style:{fill:e}})},title:Object(re.__)("Plus",oe.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(g,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(b,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(v,{style:{fill:e}})},title:Object(re.__)("Arrow",oe.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(M,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(B,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(z,{style:{fill:e}})},title:Object(re.__)("Cross",oe.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ee,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement($,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ie,{style:{fill:e}})},title:Object(re.__)("Star",oe.i18n),value:"star"}},be=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ue[e]?ue[e][be(t)]():null},me=function(e,t,n){var i=be(t);if(!ue[e])return"";var r=Object(a.ob)(ue[e][i](n),!1);return btoa(r)},ge=function(e){return["","circle","outline"].map(function(t){return ce({},ue[e],{icon:pe(e,t),value:t})})},de=n(8),fe=n.n(de),he=n(7);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=[{attributes:{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",default:""},gap:{type:"number",default:16},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,l=n.iconSize,c=n.text,s=n.columns,u=n.gap,b=n.design,p=void 0===b?"":b,m=fe()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(o.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},p,e)),g=fe()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(s)],Object(o.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},p,e)),d={"--icon":"url('data:image/svg+xml;base64,"+me(a,i,r)+"')","--icon-size":l?"".concat(l,"px"):void 0,"--gap":u?"".concat(u,"px"):void 0};return wp.element.createElement("div",{className:m},Object(o.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,p,e),wp.element.createElement(he.RichText.Content,{tagName:"ul",className:g,style:d,value:c}),Object(o.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/.ugb-icon-list-wrapper .ugb-icon-list li/g,".ugb-icon-list li").replace(/.ugb-icon-list-wrapper .ugb-icon-list/g,".ugb-icon-list ul").replace(/.ugb-icon-list-wrapper/g,".ugb-icon-list")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(n,!0).forEach(function(t){ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{columns:e.columns?e.columns:1,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{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}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,o=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=fe()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+me(a,i,r)+"')","--icon-size":o?"".concat(o,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(he.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}],we=n(10),_e=n(3),je=n(14),ke=n.n(je);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(n,!0).forEach(function(t){Ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Se=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,i=n.icon,r=n.iconShape,o=n.iconColor,l=n.iconSize,c=n.showBlockBackground,s=void 0===c?"":c,u=n.blockBackgroundBackgroundColor,b=void 0===u?"":u,p=n.listTextColor,m=void 0===p?"":p,g=me(i,r,Object(a.rb)(o,s&&b)),d=[];d.push({li:xe({},Object(a.H)("listText%s","desktop",e.attributes),{color:Object(a.rb)(m,s&&b)}),tablet:{li:xe({},Object(a.H)("listText%s","tablet",e.attributes))},mobile:{li:xe({},Object(a.H)("listText%s","mobile",e.attributes))}}),d.push({li:{"--icon-size":l?"".concat(l,"px"):void 0},"li::before":{height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),backgroundImage:"url('data:image/svg+xml;base64,"+g+"')"}}),d.push({li:{marginBottom:Object(a.c)(t("gap","%spx"))},"li ul":{marginBottom:Object(a.c)(t("gap","%spx"))}});var f=e.attributes.displayAsGrid,h=void 0!==f&&f,v=function(e){return t(e)?parseInt(t(e),10):1},y=function(e){return new Array(e+1).join("1fr ").trim()};return d.push({".ugb-icon-list ul":{columns:t("columns"),gridTemplateColumns:t("columns")&&h?y(v("columns")):void 0},tablet:{".ugb-icon-list ul":{columns:t("tabletColumns","%s !important"),gridTemplateColumns:t("tabletColumns")&&h?y(v("tabletColumns"))+" !important":void 0}},mobile:{".ugb-icon-list ul":{columns:t("mobileColumns","%s !important"),gridTemplateColumns:t("mobileColumns")&&h?y(v("mobileColumns"))+" !important":void 0}}}),ke.a.all(d)},Ae=n(11),Te=n(12),Be=n(6);Object(o.addFilter)("stackable.icon-list.edit.inspector.style.before","stackable/icon-list",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.icon,r=a.iconShape,o=a.iconColor,l=a.iconSize,c=a.gap,s=a.listTextColor,u=void 0===s?"":s,b=a.displayAsGrid,p=void 0!==b&&b,m=a.columns,g=void 0===m?"":m,d=a.tabletColumns,f=void 0===d?"":d,h=a.mobileColumns,v=void 0===h?"":h;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(Ae.PanelBody,{title:Object(re.__)("General",oe.i18n)},wp.element.createElement(_e.hb,{attrNameTemplate:"%sColumns",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(_e.c,{label:Object(re.__)("Columns",oe.i18n),min:1,max:4})),(g&&g>1||f&&f>1||v&&v>1)&&wp.element.createElement(Ae.ToggleControl,{label:Object(re.__)("Display as a grid (left to right & evenly spaced)",oe.i18n),checked:p,onChange:function(e){return n({displayAsGrid:e})},className:"ugb--help-tip-icon-list-grid"}),wp.element.createElement(_e.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Ae.PanelBody,{title:Object(re.__)("Icon",oe.i18n),initialOpen:!1},wp.element.createElement(_e.e,{label:Object(re.__)("Icon",oe.i18n),controls:Object.keys(ue).map(function(e){return ce({},ue[e],{icon:pe(e)})}),value:i,onChange:function(e){return n({icon:e})},fullwidth:!1}),wp.element.createElement(_e.e,{label:Object(re.__)("Icon Shape",oe.i18n),controls:ge(i),value:r,onChange:function(e){return n({iconShape:e})},fullwidth:!1}),wp.element.createElement(_e.s,{label:Object(re.__)("Icon Color",oe.i18n),value:o,onChange:function(e){return n({iconColor:e})}}),wp.element.createElement(_e.c,{label:Object(re.__)("Icon Size",oe.i18n),value:l,onChange:function(e){return n({iconSize:e})},min:8,max:50,allowReset:!0,placeholder:"20"})),wp.element.createElement(_e.cb,{title:Object(re.__)("List Text",oe.i18n),id:"text",initialOpen:!1},wp.element.createElement(_e.rb,{attrNameTemplate:"listText%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(_e.s,{value:u,onChange:function(e){return n({listTextColor:e})},label:Object(re.__)("Color",oe.i18n)})),wp.element.createElement(_e.db,{initialOpen:!1,blockProps:t},wp.element.createElement(_e.c,{label:Object(re.__)("List Gap",oe.i18n),value:c,onChange:function(e){return n({gap:e})},min:0,max:30,allowReset:!0,placeholder:"16",className:"ugb--help-tip-icon-list-gap"})))});var Pe=Object(Te.compose)(we.i,we.g,we.d,Object(we.h)(),Object(we.c)(),Object(we.a)(Se,{editorMode:!0}),Object(we.b)([["ul, ul li","text"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,i=a.icon,r=a.text,l=a.design,c=void 0===l?"":l,s=a.displayAsGrid,u=void 0!==s&&s,b=fe()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(i)],Object(o.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":u},c,e));return wp.element.createElement(_e.k.Edit,{className:b,blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement(he.RichText,{tagName:"ul",multiline:"li",value:r,onChange:function(e){return n({text:e})},placeholder:Object(re.__)("Text for this block",oe.i18n),keepPlaceholderOnFocus:!0}))}})}),Ne=Object(Te.compose)(we.i,Object(we.a)(Se))(function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.text,r=n.design,l=void 0===r?"":r,c=n.displayAsGrid,s=void 0!==c&&c,u=fe()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(a)],Object(o.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":s},l,e));return wp.element.createElement(_e.k.Save,{className:u,blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement(he.RichText.Content,{tagName:"ul",value:i}))}})});function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return Fe}),n.d(t,"name",function(){return De}),n.d(t,"settings",function(){return ze});var Fe=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach(function(t){Re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:2},tabletColumns:{type:"number",default:""},mobileColumns:{type:"number",default:""},text:{source:"html",selector:"ul",multiline:"li",default:Object(r.range)(1,7).map(function(e){return Object(re.sprintf)(Object(re.__)("Line %d",oe.i18n),e)}).map(function(e){return"<li>".concat(e,"</li>")}).join("")},displayAsGrid:{type:"boolean",default:!1},gap:{type:"number",default:16},listTextColor:{type:"string",default:""}},Object(a.G)("listText%s")),De="ugb/icon-list",ze={title:Object(re.__)("Icon List",oe.i18n),description:Object(re.__)("An unordered list with icons. You can use this as a list of features or benefits.",oe.i18n),icon:i.q,category:"common",keywords:[Object(re.__)("Icon List",oe.i18n),Object(re.__)("Stackable",oe.i18n)],attributes:Fe,supports:{inserter:!oe.disabledBlocks.includes(De)},deprecated:Oe,edit:Pe,save:Ne,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.icon-list.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blockquote.design.no-text-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])});var r=n(4),o=n.n(r);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=o.a.createElement("path",{d:"M22.3 30.5c0 6-4.8 10.8-10.8 10.8-2.3 0-4.5-.8-6.3-2-.9-.6-1.8-1.4-2.5-2.4-1.8-2.4-2.7-5.4-2.7-9 0-4.5 1.3-8.5 4-11.9 2.7-3.4 6.4-5.8 11.1-7.3v2.8c-2.7 2.2-4.4 5-4.9 8.3.4-.1.9-.1 1.3-.1 6-.1 10.8 4.8 10.8 10.8zm16.9-10.9c-.5 0-.9 0-1.3.1.5-3.3 2.2-6.1 4.9-8.3V8.7c-4.7 1.4-8.4 3.9-11.1 7.3-2.7 3.4-4 7.4-4 11.9 0 3.6.9 6.6 2.7 9 .8 1 1.6 1.8 2.5 2.4 1.8 1.3 3.9 2 6.3 2 6 0 10.8-4.8 10.8-10.8 0-6-4.8-10.9-10.8-10.9z"}),s=function(e){return o.a.createElement("svg",l({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),c)};function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=o.a.createElement("path",{d:"M9.4 14.6c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.3.9 7.3 2.7 2 1.8 3 4.2 3 7.3 0 1.9-.5 3.6-1.4 5.1-.9 1.5-2.2 2.7-3.8 3.6s-3.3 1.3-5.1 1.3c-4.1 0-7.3-1.6-9.5-4.9C.9 36.9 0 33.5 0 29.4c0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.3 1.3-6.2 3.5-8.7 6.4zm27.5 0c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.4.9 7.4 2.7 2 1.8 3 4.2 3 7.3 0 2.8-1 5.2-3 7.1-2 1.9-4.4 2.9-7.3 2.9-4.1 0-7.3-1.6-9.5-4.9-1.8-2.7-2.8-6.2-2.8-10.3 0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.5 1.2-6.4 3.4-8.8 6.3z"}),p=function(e){return o.a.createElement("svg",u({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=o.a.createElement("path",{d:"M22.6 12.8c-1.9.5-3.7 1.2-5.3 2.1-1.6.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.3 1.8.8 0 1.5-.3 2.4-.9.8-.6 1.9-.9 3.3-.9 2.1 0 3.9.8 5.4 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-1.9 1.8-4.3 2.6-7.3 2.6-1.8 0-3.4-.4-4.9-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.6-4.6C.3 32.5 0 30.6 0 28.6c0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.6-1.8 8.6-2v5.8zm27.4 0c-1.9.5-3.7 1.2-5.4 2.1-1.7.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.4 1.8.8 0 1.5-.3 2.3-.9.8-.6 1.9-.9 3.3-.9 2 0 3.8.8 5.3 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-2 1.8-4.4 2.6-7.3 2.6-1.7 0-3.3-.4-4.8-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.7-4.6c-.7-1.8-1-3.7-1-5.7 0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.7-1.8 8.8-2v5.7z"}),d=function(e){return o.a.createElement("svg",m({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=o.a.createElement("path",{d:"M19.8 9.3C10.5 11.8 4.6 17 2.1 24.8c2.3-3.6 5.6-5.4 9.9-5.4 3.3 0 6 1.1 8.3 3.3 2.2 2.2 3.4 5 3.4 8.3 0 3.2-1.1 5.8-3.3 8-2.2 2.2-5.1 3.2-8.7 3.2-3.7 0-6.5-1.2-8.6-3.5C1 36.3 0 33.1 0 29 0 18.3 6.5 11.2 19.6 7.9l.2 1.4zm26.4 0C36.9 11.9 31 17 28.5 24.8c2.2-3.6 5.5-5.4 9.8-5.4 3.2 0 6 1.1 8.3 3.2 2.3 2.2 3.4 4.9 3.4 8.3 0 3.1-1.1 5.8-3.3 7.9-2.2 2.2-5.1 3.3-8.6 3.3-3.7 0-6.6-1.1-8.6-3.4-2.1-2.3-3.1-5.5-3.1-9.7 0-10.7 6.6-17.8 19.7-21.1l.1 1.4z"}),v=function(e){return o.a.createElement("svg",f({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=o.a.createElement("path",{d:"M12.5 9.2H19c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H20c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H3c-1.1 0-1.8-.2-2.3-.7-.5-.4-.7-1.2-.7-2.2V21.9c0-4.3 1.1-7.4 3.4-9.6 2.3-2 5.3-3.1 9.1-3.1zm26.9 0h6.5c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H47c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H30c-1.1 0-1.8-.2-2.3-.7-.5-.5-.7-1.2-.7-2.3V21.9c0-4.3 1.1-7.4 3.4-9.6 2.2-2 5.2-3.1 9-3.1z"}),w=function(e){return o.a.createElement("svg",y({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=o.a.createElement("path",{d:"M20.8 44.5H0V23.7L9.3 5.5h7.3L12 23.7h8.8v20.8zm29.2 0H29.2V23.7l9.3-18.1h7.3l-4.6 18.1H50v20.8z"}),k=function(e){return o.a.createElement("svg",_({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=o.a.createElement("path",{d:"M10.3 24.8V26H20v16.9H0V26.2C0 13.4 6.6 7.1 19.9 7.1v7.1c-3.4.5-5.9 1.6-7.4 3.3-1.5 1.7-2.2 4.1-2.2 7.3zm30 0V26H50v16.9H30.1V26.2c0-12.7 6.6-19.1 19.9-19.1v7.1c-6.4.7-9.7 4.3-9.7 10.6z"}),E=function(e){return o.a.createElement("svg",C({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var A=o.a.createElement("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}),T=function(e){return o.a.createElement("svg",S({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),A)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=o.a.createElement("path",{d:"M14.7 45.9H0V31.3C0 17.6 8.6 6.6 21.6 4.1v4.7c-10 2.6-16.7 10.9-16.7 22.6h9.8v14.5zm28.1 0H28.4V31.3C28.4 17.6 37 6.6 50 4.1v4.7c-9.8 2.6-16.7 10.9-16.7 22.6h9.5v14.5z"}),N=function(e){return o.a.createElement("svg",B({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),P)},M=n(1),R=n(0);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(p,F({style:e},t))},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(v,F({style:e},t))},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(d,F({style:e},t))},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(s,F({style:e},t))},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(E,F({style:e},t))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(w,F({style:e},t))},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(k,F({style:e},t))},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(T,F({style:e},t))},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(N,F({style:e},t))},q={"round-thin":{icon:z(),iconFunc:z,title:Object(R.__)("Round Thin",M.i18n),value:"round-thin"},round:{icon:D(),iconFunc:D,title:Object(R.__)("Round",M.i18n),value:"round"},"round-thick":{icon:I(),iconFunc:I,title:Object(R.__)("Round Thick",M.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(R.__)("Round Fat",M.i18n),value:"round-fat"},"square-thin":{icon:V(),iconFunc:V,title:Object(R.__)("Square Thin",M.i18n),value:"square-thin"},square:{icon:L(),iconFunc:L,title:Object(R.__)("Square",M.i18n),value:"square"},"square-simple":{icon:G(),iconFunc:G,title:Object(R.__)("Square Simple",M.i18n),value:"square-simple"},"square-modern":{icon:W(),iconFunc:W,title:Object(R.__)("Square Modern",M.i18n),value:"square-modern"},"square-fat":{icon:U(),iconFunc:U,title:Object(R.__)("Square Fat",M.i18n),value:"square-fat"}},J=n(2),Y=n(7),X=n(8),K=n.n(X);function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ee=[{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(J.J)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=K()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after_1_17_3",null,E,e))},migrate:function(e){var t=function(t){var n=(t||"").replace(/\.ugb-content-wrapper/g,".ugb-blockquote__item").replace(/svg(\s*\{)/g,".ugb-blockquote__quote$1");return"basic"===e.design&&(n=n.replace(/\.ugb-blockquote(\s*\{)/g,".ugb-blockquote__item$1")),n};return Z({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),showQuote:!0,quoteIcon:e.quotationMark,quoteSize:e.quotationSize,textColor:e.color?e.color:e.backgroundColor?"#000000":void 0,containerBackgroundColorType:e.backgroundColorType,containerBackgroundColor:e.backgroundColor,containerBackgroundColor2:e.backgroundColor2,containerBackgroundGradientDirection:e.backgroundColorDirection,containerBackgroundMediaId:e.backgroundImageID,containerBackgroundMediaUrl:e.backgroundImageURL,containerBackgroundTintStrength:e.backgroundOpacity,containerFixedBackground:e.fixedBackground,design:"basic"===e.design&&"full"===e.align?"plain":e.design,showBlockBackground:"basic"===e.design&&"full"===e.align||void 0,blockInnerWidth:"full"!==e.align?void 0:"basic"===e.design&&!0===e.contentWidth?"center":"full",blockBackgroundBackgroundColor:"basic"===e.design&&"full"===e.align?e.backgroundColor:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(J.J)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=K()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}}],te=n(260),ne=n.n(te),ae=n(261),ie=n.n(ae),re=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(i.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},oe=n(14),le=n.n(oe);function ce(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){var t=Object(J.b)(e.attributes),n=re(e),a=[];a.push(ue({},n.containerBackground?Object(J.l)("container%s","ugb-blockquote__item",e.attributes,{importantBackgroundColor:!0}):{})),n.containerBackground&&a.push({".ugb-blockquote__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}});var i=e.attributes.showQuote;(void 0===i||i)&&(a.push({".ugb-blockquote__quote":{fill:Object(J.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,!0))));var r=e.attributes,o=r.containerBackgroundColor,l=void 0===o?"":o,c=r.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":ue({},Object(J.H)("text%s","desktop",e.attributes,{important:!0}),{color:Object(J.rb)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":ue({},Object(J.H)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":ue({},Object(J.H)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,!0))),le.a.all(a)},me=n(3),ge=n(10),de=n(11),fe=n(6),he=n(12);function ve(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.blockquote.edit.inspector.layout.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(me.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(R.__)("Basic",M.i18n),value:"basic",image:ne.a},{label:Object(R.__)("Plain",M.i18n),value:"plain",image:ie.a}]),onChange:function(e){return n({design:e})}},M.showProNotice&&wp.element.createElement(me.gb,null)))}),Object(i.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,r=void 0===i?"":i,o=a.shadow,l=void 0===o?"":o,c=a.showQuote,s=void 0===c||c,u=a.quoteIcon,b=void 0===u?"round-thin":u,p=a.quoteColor,m=void 0===p?"":p,g=a.quoteOpacity,d=void 0===g?"":g,f=a.textColor,h=void 0===f?"":f,v=re(t);return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(de.PanelBody,{title:Object(R.__)("General",M.i18n)},v.borderRadius&&wp.element.createElement(me.c,{label:Object(R.__)("Border Radius",M.i18n),value:r,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),v.shadow&&wp.element.createElement(me.c,{label:Object(R.__)("Shadow / Outline",M.i18n),value:l,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(me.u,{setAttributes:n,blockAttributes:t.attributes})),v.containerBackground&&wp.element.createElement(me.cb,{title:Object(R.__)("Container Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(me.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(me.cb,{title:Object(R.__)("Quotation Mark",M.i18n),id:"quotation",checked:s,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(ve(Object(J.z)("quote%sSize")),ve(Object(J.z)("quote%sX")),ve(Object(J.z)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(me.e,{label:Object(R.__)("Icon",M.i18n),multiline:!0,className:"ugb-blockquote__inspector__icon",controls:Object.values(q),value:b,onChange:function(e){return n({quoteIcon:e})}}),wp.element.createElement(me.s,{value:m,onChange:function(e){return n({quoteColor:e})},label:Object(R.__)("Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Size",M.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(me.c,{label:Object(R.__)("Opacity",M.i18n),value:d,onChange:function(e){return n({quoteOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Horizontal Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Vertical Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(me.cb,{title:Object(R.__)("Text",M.i18n),id:"text",hasToggle:!1},wp.element.createElement(me.rb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(me.s,{value:h,onChange:function(e){return n({textColor:e})},label:Object(R.__)("Text Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.f,{label:Object(R.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))))});var ye=Object(he.compose)(ge.i,ge.g,ge.d,Object(ge.h)(),Object(ge.c)(["Text%sAlign"]),Object(ge.a)(pe,{editorMode:!0}),Object(ge.b)([[".ugb-blockquote__item","column-background"],[".ugb-blockquote__quote","quotation"],[".ugb-blockquote__text","text"]]))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.blockTag,s=void 0===c?"":c,u=l.design,b=void 0===u?"plain":u,p=l.shadow,m=void 0===p?"":p,g=l.text,d=void 0===g?"":g,f=l.showQuote,h=void 0===f||f,v=l.quoteIcon,y=void 0===v?"round-thin":v,O=l.quoteSize,w=void 0===O?70:O,_=re(e),j=K()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(b)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},b,e)),k=K()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(m),a=_.containerBackground&&""!==m,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Edit,{blockTag:s||"blockquote",className:j,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:k,backgroundAttrName:"container%s",blockProps:e,showBackground:_.containerBackground},h&&q[y].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText,{className:"ugb-blockquote__text",value:d,onChange:function(e){return o({text:e})},placeholder:Object(J.J)("long"),keepPlaceholderOnFocus:!0}))))}})});var Oe=Object(he.compose)(ge.i,Object(ge.a)(pe))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.blockTag,c=void 0===l?"":l,s=o.design,u=void 0===s?"plain":s,b=o.shadow,p=void 0===b?"":b,m=o.text,g=void 0===m?"":m,d=o.showQuote,f=void 0===d||d,h=o.quoteIcon,v=void 0===h?"round-thin":h,y=o.quoteSize,O=void 0===y?70:y,w=re(e),_=K()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":O<60},u,e)),j=K()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(p),a=w.containerBackground&&""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Save,{blockTag:c||"blockquote",className:_,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:j,backgroundAttrName:"container%s",blockProps:e,showBackground:w.containerBackground},f&&q[v].iconFunc({},{className:"ugb-blockquote__quote",width:O,height:O}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:g}))))}})}),we=n(16);function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return Ce}),n.d(t,"settings",function(){return xe});var ke=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(J.j)("container%s"),{showQuote:{type:"boolean",default:!0},quoteIcon:{type:"string",default:"round-thin"},quoteOpacity:{type:"number",default:""},quoteColor:{type:"string",default:""},quoteSize:{type:"number",default:70}},Object(J.h)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(J.J)("long")}},Object(J.G)("text%s"),{textColor:{type:"string",default:""}},Object(J.A)("text%sAlign",{type:"string",default:""})),Ce="ugb/blockquote",xe={title:Object(R.__)("Blockquote",M.i18n),description:Object(R.__)("Display a quote in style.",M.i18n),icon:we.b,category:"common",keywords:[Object(R.__)("Blockquote",M.i18n),Object(R.__)("Stackable",M.i18n)],supports:{align:["center","wide","full"],inserter:!M.disabledBlocks.includes(Ce)},attributes:ke,deprecated:ee,edit:ye,save:Oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.video-popup.design.filtered-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,["videoLink","videoID","video-popup3","previewBackgroundMediaId"].concat(l(t&&t.previewBackgroundMediaId?["previewBackgroundMediaUrl"]:[])))});var c=n(4),s=n.n(c);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=s.a.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"}),p=function(e){return s.a.createElement("svg",u({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),d=function(e){return s.a.createElement("svg",m({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=s.a.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"}),v=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),y=function(e){return s.a.createElement("svg",f({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),h,v)},O=n(0),w=n(1),_={normal:function(e){return wp.element.createElement(d,{style:e,width:"30",height:"30"})},circle:function(e){return wp.element.createElement(p,{style:e,width:"50",height:"50"})},outline:function(e){return wp.element.createElement(y,{style:e,width:"50",height:"50"})}},j=(Object(O.__)("Normal Play Button",w.i18n),Object(O.__)("Play Button with Circle",w.i18n),Object(O.__)("Outline Play Button",w.i18n),n(8)),k=n.n(j);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=[{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.videoID,r=a.playButtonType,l=a.playButtonColor,c=void 0===l?"#ffffff":l,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,p=a.backgroundColor,m=a.backgroundColor2,g=a.backgroundColorDirection,d=void 0===g?0:g,f=a.backgroundType,h=void 0===f?"":f,v=a.backgroundOpacity,y=a.design,O=void 0===y?"basic":y,w=a.borderRadius,j=void 0===w?12:w,C=a.shadow,E=void 0===C?3:C,S=k()([n,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(O),"ugb-video-popup--button-".concat(r),"ugb--background-opacity-"+1*Math.round(v/1)],Object(o.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(x(t={"ugb--has-background":p||s,"ugb--has-background-image":s},"ugb--shadow-".concat(E),"plain"!==O&&3!==E),x(t,"ugb--has-background-gradient","gradient"===b),x(t,"ugb--has-background-video","video"===h),t),O,e)),A={backgroundColor:p||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?p:void 0,"--ugb-background-color2":"gradient"===b&&m?m:void 0,"--ugb-background-direction":"gradient"===b?"".concat(d,"deg"):void 0,borderRadius:"plain"!==O&&12!==j?j:void 0};return wp.element.createElement("div",{className:S,style:A,"data-video":i},"video"===h&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(o.applyFilters)("stackable.video-popup.save.output.before_1_15_6",null,O,e),wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _[e]({fill:t})}(r,c))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{previewBackgroundColorType:e.backgroundColorType,previewBackgroundColor:e.backgroundColor,previewBackgroundColor2:e.backgroundColor2,previewBackgroundGradientDirection:e.backgroundColorDirection,previewBackgroundMediaId:e.backgroundImageID,previewBackgroundMediaUrl:e.backgroundImageURL,previewBackgroundTintStrength:e.backgroundOpacity,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],S=n(3);function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=s.a.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"}),B=function(e){return s.a.createElement("svg",A({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),M=function(e){return s.a.createElement("svg",P({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=s.a.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"}),D=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),z=function(e){return s.a.createElement("svg",R({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),F,D)},I={normal:wp.element.createElement(M,{className:"ugb-play-button-normal",width:"30",height:"30"}),circle:wp.element.createElement(B,{className:"ugb-play-button-cirle",width:"50",height:"50"}),outline:wp.element.createElement(z,{className:"ugb-play-button-outline",width:"50",height:"50"})},H=[{value:"normal",label:Object(O.__)("Normal Play Button",w.i18n)},{value:"circle",label:Object(O.__)("Play Button with Circle",w.i18n)},{value:"outline",label:Object(O.__)("Outline Play Button",w.i18n)}],L=function(e){return I[e]},U=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,i=t.blockInnerWidth,r=void 0===i?"":i,l=t.align,c=!a&&"full"===(void 0===l?"":l)||a&&"full"===r;return Object(o.applyFilters)("stackable.video-popup.show",{containerWidth:!c,borderRadius:!c},e)},W=n(10),G=n(14),V=n.n(G);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e){var t=Object(i.b)(e.attributes),n=U(e);!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e.attributes);var a=[];n.containerWidth&&a.push({".ugb-video-popup__wrapper":{maxWidth:""!==t("width")?t("width","%spx"):void 0},tablet:{".ugb-video-popup__wrapper":{maxWidth:""!==t("tabletWidth")?t("tabletWidth","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{maxWidth:""!==t("mobileWidth")?t("mobileWidth","%spx"):void 0}}}),a.push({".ugb-video-popup__wrapper":{height:""!==t("height")?t("height","%spx !important"):void 0,borderRadius:n.borderRadius&&""!==t("borderRadius")?t("borderRadius","%spx"):void 0},".ugb-video-popup__play-button svg":{fill:""!==t("playButtonColor")?t("playButtonColor","%s !important"):void 0,height:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,width:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,opacity:""!==t("playButtonOpacity")?t("playButtonOpacity"):void 0},tablet:{".ugb-video-popup__wrapper":{height:""!==t("tabletHeight")?t("tabletHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0,width:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{height:""!==t("mobileHeight")?t("mobileHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0,width:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0}}}),a.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach(function(t){J(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(i.l)("preview%s","ugb-video-popup__wrapper",e.attributes)));var r=e.attributes,o=r.previewBackgroundTintStrength,l=void 0===o?"":o,c=r.previewBackgroundColor,s=void 0===c?"":c;return(l||s)&&a.push({".ugb-video-popup__wrapper:hover:before":{opacity:s&&""===l?.2:l>=5?l/10-.3:l/10+.3}}),V.a.all(a)},X=n(11),K=n(12),$=n(6);Object(o.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,o=void 0===r?"":r,l=a.shadow,c=void 0===l?"":l,s=a.videoLink,u=void 0===s?"":s,b=a.videoID,p=void 0===b?"":b,m=a.playButtonType,g=a.playButtonColor,d=void 0===g?"#ffffff":g,f=a.playButtonOpacity,h=void 0===f?"":f,v=a.width,y=void 0===v?"":v,_=a.tabletWidth,j=void 0===_?"":_,k=a.mobileWidth,C=void 0===k?"":k,x=a.showBlockTitle,E=void 0!==x&&x,A=a.showBlockDescription,T=void 0!==A&&A,B=U(t);return wp.element.createElement($.Fragment,null,e,wp.element.createElement(X.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(S.S,{label:Object(O.__)("Popup Option #1: Upload Video",w.i18n),help:Object(O.__)("Use .mp4 format for videos",w.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(i.pb)(u)?p:"",imageURL:Object(i.pb)(u)?u:"",allowedTypes:["video"]}),wp.element.createElement(X.TextControl,{label:Object(O.__)("Popup Option #2: Video URL",w.i18n),help:Object(O.__)("Paste a Youtube / Vimeo URL",w.i18n),placeholder:"https://",value:Object(i.pb)(u)?"":u,onChange:function(e){return n({videoLink:e,videoID:Object(i.U)(e).id})},min:1,max:4})),wp.element.createElement(S.cb,{title:Object(O.__)("Container",w.i18n),initialOpen:!1},B.containerWidth&&wp.element.createElement($.Fragment,null,wp.element.createElement(S.ub,{screen:"desktop"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:y,min:"200",max:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"tablet"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:j,min:"200",max:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"mobile"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:C,min:"200",max:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})},className:"ugb--help-tip-video-popup-width"}))),wp.element.createElement(S.hb,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Height",w.i18n),min:100,max:1e3,allowReset:!0,placeholder:"400",className:"ugb--help-tip-video-popup-height"})),B.borderRadius&&wp.element.createElement(S.c,{label:Object(O.__)("Border Radius",w.i18n),value:o,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),wp.element.createElement(S.c,{label:Object(O.__)("Shadow / Outline",w.i18n),value:c,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"})),wp.element.createElement(S.cb,{title:Object(O.__)("Background",w.i18n),id:"background",initialOpen:!1},wp.element.createElement(S.h,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(S.cb,{title:Object(O.__)("Play Button",w.i18n),id:"play-button",initialOpen:!1},wp.element.createElement(X.SelectControl,{label:Object(O.__)("Button Style",w.i18n),value:m,options:H.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(S.hb,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Size",w.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(S.s,{label:Object(O.__)("Color",w.i18n),value:d,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(S.c,{label:Object(O.__)("Opacity",w.i18n),min:0,max:1,step:.1,value:h,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||T)&&wp.element.createElement(S.db,{initialOpen:!1,blockProps:t}))});var Z=Object(K.compose)(W.i,W.g,W.d,Object(W.h)(),Object(W.a)(Y,{editorMode:!0}),Object(W.b)([[".ugb-video-popup__wrapper","background"],[".ugb-video-popup__play-button svg","play-button"]]))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.playButtonType,c=r.shadow,s=void 0===c?"":c,u=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),b=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(s),a=""!==s,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement($.Fragment,null,wp.element.createElement(S.D,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(l))))}})});var Q=Object(K.compose)(W.i,Object(W.a)(Y))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.videoID,c=r.playButtonType,s=r.shadow,u=void 0===s?"":s,b=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),p=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(u),a=""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement($.Fragment,null,wp.element.createElement(S.D,{className:p,backgroundAttrName:"preview%s",blockProps:e,"data-video":l},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(c))))}})});function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ne}),n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return ie});var ne=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video"}},Object(i.A)("%sWidth",{type:"number",default:""}),{},Object(i.A)("%sHeight",{type:"number",default:""}),{borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string"},playButtonSize:{type:"number",default:""},playButtonOpacity:{type:"number",default:""}},Object(i.j)("preview%s"),{previewBackgroundColor:{type:"string",default:"#000000"},hoverEffect:{type:"string",default:""}}),ae="ugb/video-popup",ie={title:Object(O.__)("Video Popup",w.i18n),description:Object(O.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",w.i18n),icon:a.E,category:"common",keywords:[Object(O.__)("Video Popup",w.i18n),Object(O.__)("Stackable",w.i18n),Object(O.__)("YouTube Vimeo mp4",w.i18n)],attributes:ne,supports:{align:["center","wide","full"],inserter:!w.disabledBlocks.includes(ae)},deprecated:E,edit:Z,save:Q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.video-popup.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(i.addFilter)("stackable.accordion.design.no-text-attributes","stackable/accordion",function(e){return Object(a.omit)(e,["title"])}),Object(i.addFilter)("stackable.accordion.edit.designs","stackable/accordion",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e)});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),u)},p=n(2),m=n(8),g=n.n(m),d=n(1),f=n(0),h=n(17),v=n(7);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:Object(f.__)("Title for This Block",d.i18n)},text:{source:"html",selector:".ugb-accordion__text",default:Object(p.J)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n,a=e.className,r=e.attributes,o=r.headingColor,l=r.headingBackgroundColor,c=r.heading,s=r.text,u=r.openStart,p=r.design,m=void 0===p?"basic":p,d=r.borderRadius,f=void 0===d?12:d,h=r.shadow,y=void 0===h?3:h,w=g()([a,"ugb-accordion"],Object(i.applyFilters)("stackable.accordion.mainclasses_1_17_3",(O(t={},"ugb-accordion--design-".concat(m),"basic"!==m),O(t,"ugb-accordion--open",u),t),m,e)),_=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses_1_17_3",O({},"ugb--shadow-".concat(y),"plain"!==m&&3!==y),m,e)),j=Object(i.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==m&&12!==f?f:void 0,backgroundColor:"plain"!==m&&l?l:void 0},title:{color:o||void 0}},m,e);return wp.element.createElement("div",{className:w,style:j.main,role:"presentation"},Object(i.applyFilters)("stackable.accordion.save.output.before_1_17_3",null,m,e),wp.element.createElement("div",{className:_,role:"button",tabIndex:"0","aria-expanded":u?"true":"false",style:j.heading},wp.element.createElement(v.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",style:j.title,value:c}),(n={fill:o||void 0}.fill,wp.element.createElement(b,{width:"20",height:"20",fill:n}))),wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",value:s}),Object(i.applyFilters)("stackable.accordion.save.output.after",null,m,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-accordion__heading h4(\s*{)/g,"\n.ugb-accordion__title$1").replace(/\.ugb-accordion__text/g,".ugb-accordion__content").replace(/\.ugb-accordion__heading svg/g,".ugb-accordion__arrow")};return[function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.heading,titleColor:e.headingColor||"#222222",containerBackgroundColor:e.headingBackgroundColor,showBorder:"plain"!==e.design,containerClosedBackgroundColor:"colored"===e.design?"#ffffff":void 0,arrowColor:"colored"===e.design||"basic"===e.design||"plain"===e.design?e.headingColor||"#222222":"line-colored"===e.design?e.headingBackgroundColor:void 0}),[Object(h.createBlock)("core/paragraph",{content:e.text})]]}}],_=n(258),j=n.n(_),k=n(259),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,o=void 0===r||r;return Object(i.applyFilters)("stackable.accordion.show",{headerBackground:"basic"===a,containerBackground:"colored"===a||"line-colored"===a,borderRadius:"plain"!==a,shadow:"plain"!==a,border:"line-colored"===a||"plain"===a,titleSpacing:o},e)},E=n(14),S=n.n(E);function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(e){var t=Object(p.b)(e.attributes),n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.reverseArrow,o=void 0!==r&&r,l=x(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:o?"row-reverse":void 0}}),l.borderRadius&&"basic"===i&&c.push({".ugb-accordion__heading":{borderRadius:t("borderRadius","%spx !important")}});c.push(B({},l.headerBackground?Object(p.l)("container%s","ugb-accordion__heading",e.attributes,{importantBackgroundColor:!0}):{}));var s=e.attributes,u=s.titleColor,b=void 0===u?"":u,m=s.showTitle;(void 0===m||m)&&c.push({".ugb-accordion__title":B({},Object(p.H)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-accordion__title":B({},Object(p.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-accordion__title":B({},Object(p.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes.containerBackgroundColor,d=void 0===g?"":g;"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__title":{color:Object(p.rb)(b,l.headerBackground&&d)}});var f=e.attributes,h=f.showArrow,v=void 0===h||h,y=f.arrowColor,O=void 0===y?"":y;v&&c.push({".ugb-accordion__arrow":{width:Object(p.c)(t("arrowSize","%spx")),height:Object(p.c)(t("arrowSize","%spx"))}}),!v||"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__arrow":{fill:Object(p.rb)(O,l.headerBackground&&d)}});var w=e.attributes.showBorder,_=void 0===w||w;return l.border&&!_&&c.push({".ugb-accordion__item":{border:"none !important"}}),l.border&&_&&c.push({".ugb-accordion__item":{borderWidth:Object(p.c)(t("borderSize","%spx")),borderColor:Object(p.c)(t("borderColor"))}}),l.headerBackground&&c.push({".ugb-accordion__heading":{paddingTop:Object(p.c)(t("containerPaddingTop","%spx")),paddingRight:Object(p.c)(t("containerPaddingRight","%spx")),paddingBottom:Object(p.c)(t("containerPaddingBottom","%spx")),paddingLeft:Object(p.c)(t("containerPaddingLeft","%spx"))}}),l.titleSpacing&&c.push.apply(c,A(Object(p.C)(".ugb-accordion.ugb-accordion--open .ugb-accordion__heading","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),S.a.all(c)};function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),F=function(e){return c.a.createElement("svg",M({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),R)},D=n(3),z=n(10),I=n(11),H=n(12),L=n(6),U=n(13);Object(i.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(D.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(f.__)("Basic",d.i18n),value:"basic",image:j.a},{label:Object(f.__)("Plain",d.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},d.showProNotice&&wp.element.createElement(D.gb,null)))}),Object(i.addFilter)("stackable.accordion.edit.inspector.style.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.design,r=void 0===i?"basic":i,o=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,p=void 0!==b&&b,m=a.openStart,g=void 0!==m&&m,h=a.reverseArrow,v=void 0!==h&&h,y=a.titleTag,O=void 0===y?"":y,w=a.showArrow,_=void 0===w||w,j=a.arrowSize,k=void 0===j?"":j,C=a.arrowColor,E=void 0===C?"":C,S=a.showBorder,A=void 0===S||S,T=a.borderSize,B=void 0===T?"":T,P=a.borderColor,N=void 0===P?"":P,M=a.containerPaddingTop,R=void 0===M?"":M,F=a.containerPaddingRight,z=void 0===F?"":F,H=a.containerPaddingBottom,U=void 0===H?"":H,W=a.containerPaddingLeft,G=void 0===W?"":W,V=a.containerClosedBackgroundColor,q=void 0===V?"":V,J=x(t);return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(I.PanelBody,{title:Object(f.__)("General",d.i18n)},wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Close adjacent on open",d.i18n),checked:p,onChange:function(e){return n({onlyOnePanelOpen:e})},className:"ugb--help-tip-accordion-adjacent-open"}),wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Open at the start",d.i18n),checked:g,onChange:function(e){return n({openStart:e})}}),wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Reverse arrow",d.i18n),checked:v,onChange:function(e){return n({reverseArrow:e})}}),J.borderRadius&&wp.element.createElement(D.c,{label:Object(f.__)("Border Radius",d.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.c,{label:Object(f.__)("Shadow / Outline",d.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(D.u,{setAttributes:n,blockAttributes:t.attributes})),(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.cb,{title:Object(f.__)("Container Background",d.i18n),id:"column-background",initialOpen:!1},wp.element.createElement(D.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===r&&wp.element.createElement(D.s,{value:q,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(f.__)("Closed State Background Color",d.i18n),className:"ugb--help-tip-accordion-closed-state-background-color"})),wp.element.createElement(D.cb,{title:Object(f.__)("Title",d.i18n),id:"title",hasToggle:!1},wp.element.createElement(D.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(D.J,{value:O||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(D.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(f.__)("Title Color",d.i18n)}),wp.element.createElement(D.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(D.f,{label:Object(f.__)("Align",d.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(D.cb,{title:Object(f.__)("Arrow",d.i18n),id:"arrow",checked:_,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowSize","arrowColor"],toggleAttributeName:"showArrow"},wp.element.createElement(D.c,{label:Object(f.__)("Size",d.i18n),min:10,max:100,allowReset:!0,value:k,onChange:function(e){return n({arrowSize:e})},placeholder:"20"}),wp.element.createElement(D.s,{value:E,onChange:function(e){return n({arrowColor:e})},label:Object(f.__)("Color",d.i18n)})),J.border&&wp.element.createElement(D.cb,{title:Object(f.__)("Border",d.i18n),checked:A,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder",className:"ugb--help-tip-accordion-border"},wp.element.createElement(D.c,{label:Object(f.__)("Size",d.i18n),min:0,max:10,allowReset:!0,value:B,onChange:function(e){return n({borderSize:e})},placeholder:"3",className:"ugb--help-tip-accordion-border-size"}),wp.element.createElement(D.s,{value:N,onChange:function(e){return n({borderColor:e})},label:Object(f.__)("Color",d.i18n)})),wp.element.createElement(D.db,{initialOpen:!1,blockProps:t},(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.H,{label:Object(f.__)("Padding",d.i18n),top:R,right:z,bottom:U,left:G,onChange:function(e){return n({containerPaddingTop:e.top,containerPaddingRight:e.right,containerPaddingBottom:e.bottom,containerPaddingLeft:e.left})},max:200,className:"ugb--help-tip-accordion-padding"}),J.titleSpacing&&wp.element.createElement(D.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(D.c,{label:Object(f.__)("Title",d.i18n),min:-50,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-accordion-title-spacing"}))))});var W=[["core/paragraph",{content:Object(p.J)("long")}]],G=Object(H.compose)(z.i,z.g,z.d,Object(z.h)(),Object(z.c)(),Object(z.a)(N,{editorMode:!0}),Object(z.b)([[".ugb-accordion__title","title"],[".ugb-accordion__arrow","arrow"]]),Object(U.withSelect)(function(e,t){var n=t.clientId,a=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length)}}),Object(H.withState)({openTimeout:null,isOpen:null}))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,p=l.titleTag,m=void 0===p?"":p,h=l.title,y=void 0===h?"":h,O=l.openStart,w=void 0!==O&&O,_=l.showArrow,j=void 0===_||_,k=x(e),C=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(s)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":null===e.isOpen?w:e.isOpen},e)),E=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),S=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(b),a="basic"===s&&""!==b,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),s,e));return wp.element.createElement(D.k.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(D.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(D.D,{className:S,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,onClick:function(){e.openTimeout&&clearTimeout(e.openTimeout);var t=setTimeout(function(){e.setState({isOpen:!e.isOpen})},150);e.setState({openTimeout:t})},onDoubleClick:function(){e.openTimeout&&clearTimeout(e.openTimeout)},onKeyPress:function(){e.openTimeout&&clearTimeout(e.openTimeout),e.setState({isOpen:!w})},role:"button",tabIndex:"0"},wp.element.createElement(v.RichText,{tagName:m||"h4",className:"ugb-accordion__title",value:y,onChange:function(e){return o({title:e})},placeholder:Object(f.__)("Title for This Block",d.i18n),keepPlaceholderOnFocus:!0}),j&&wp.element.createElement(F,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks,{template:W,renderAppender:function(){return e.hasInnerBlocks?wp.element.createElement(v.InnerBlocks.DefaultBlockAppender,null):wp.element.createElement(v.InnerBlocks.ButtonBlockAppender,null)}})))))}})});var V=Object(H.compose)(z.i,Object(z.a)(N))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.shadow,u=void 0===s?"":s,b=o.titleTag,p=void 0===b?"":b,m=o.title,d=void 0===m?"":m,f=o.openStart,h=void 0!==f&&f,y=o.showArrow,O=void 0===y||y,w=o.onlyOnePanelOpen,_=void 0!==w&&w,j=x(e),k=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(c)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":h,"ugb-accordion--single-open":_},e)),C=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),E=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(u),a=j.headerBackground&&""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),c,e));return wp.element.createElement(D.k.Save,{className:k,blockProps:e,"aria-expanded":h?"true":"false",render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(D.D,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(D.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(v.RichText.Content,{tagName:p||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:d}),O&&wp.element.createElement(F,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content",role:"region"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks.Content,null)))))}})}),q=n(16);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return K}),n.d(t,"settings",function(){return $});var X=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(n,!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},onlyOnePanelOpen:{type:"boolean",default:!1},openStart:{type:"boolean",default:!1},reverseArrow:{type:"boolean",default:!1}},Object(p.j)("container%s"),{containerClosedBackgroundColor:{type:"string",default:""},title:{source:"html",selector:".ugb-accordion__title",default:Object(f.__)("Title for This Block",d.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(p.G)("title%s"),{titleColor:{type:"string",default:""},showArrow:{type:"boolean",default:!0},arrowSize:{type:"number",default:""},arrowColor:{type:"string",default:""},showBorder:{type:"boolean",default:!0},borderSize:{type:"number",default:""},borderColor:{type:"string",default:""}},Object(p.h)("Title%sAlign",{type:"string",default:""},["","Tablet","Mobile"]),{},Object(p.h)("containerPadding%s",{type:"number",default:""},["Top","Right","Bottom","Left"]),{},Object(p.A)("title%sBottomMargin",{type:"number",default:""})),K="ugb/accordion",$={title:Object(f.__)("Accordion",d.i18n),description:Object(f.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",d.i18n),icon:q.a,category:"common",keywords:[Object(f.__)("Accordion",d.i18n),Object(f.__)("Toggle",d.i18n),Object(f.__)("Stackable",d.i18n)],attributes:X,deprecated:w,edit:G,save:V,supports:{inserter:!d.disabledBlocks.includes(K)},modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.notification.design.no-text-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(i.addFilter)("stackable.notification.design.filtered-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var r=n(2),o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(8),p=n.n(b),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{text:{source:"html",selector:"p",default:Object(r.J)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.text,r=n.color,o=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,b=void 0===s?12:s,g=n.shadow,f=void 0===g?3:g,h=n.design,v=void 0===h?"":h,y=p()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(i.applyFilters)("stackable.notification.mainclasses_1_17",d({"ugb-notification--dismissible":c},"ugb--shadow-".concat(f),3!==f),v,e)),O={backgroundColor:r,color:o,borderRadius:12!==b?b:void 0};return wp.element.createElement("div",{className:y,style:O},Object(i.applyFilters)("stackable.notification.save.output.before_1_17",null,v,e),c&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(u,{style:{fill:o}})),wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:o},value:a}))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-notification(\s*{)/g,"\n.ugb-notification__item$1").replace(/\n\.ugb-notification p(\s*{)/g,"\n.ugb-notification__description$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),description:e.text,columnBackgroundColor:e.color,iconColor:e.textColor,titleColor:e.textColor,descriptionColor:e.textColor,showTitle:!1,showButton:!1})}}];Object(i.addFilter)("stackable.svg-icon.extract-svg","stackable/notification-2.6",function(e){return e.replace(/<span[^>]*ugb-notification__close-button.*?<svg.*?\/svg>.*?<\/span>/,"")});var h=n(294),v=n.n(h),y=n(295),O=n.n(y);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),j=function(e){return l.a.createElement("svg",w({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),_)},k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showIcon,o=void 0!==r&&r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(i.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:o,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p,iconAlign:!0,iconLocation:!1},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B={success:"#ffffff",error:"#ffffff",info:"#ffffff",warning:"#424242"},P=function(e){var t=Object(r.b)(e.attributes),n=[],a=e.attributes,i=a.contentAlign,o=void 0===i?"":i,l=a.tabletContentAlign,c=void 0===l?"":l,s=a.mobileContentAlign,u=void 0===s?"":s,b=a.notifType,p=a.design,m=void 0===p?"basic":p,g=a.columnBackgroundColor,d=void 0===g?"":g,f=x(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==m?t("borderRadius","%spx !important"):void 0}}),n.push(A({},f.columnBackground?Object(r.l)("column%s","ugb-notification__item",e.attributes,{importantBackgroundColor:!0}):{}));var h=e.attributes,v=h.dismissible,y=void 0!==v&&v,O=h.dismissibleIconSize,w=void 0===O?"":O,_=h.dismissibleIconTabletSize,j=void 0===_?"":_,k=h.dismissibleIconMobileSize,S=void 0===k?"":k,P=h.dismissibleIconColor,N=void 0===P?"":P;y&&n.push({".ugb-notification__item":{paddingRight:w&&w>40?"100px !important":void 0},".ugb-notification__close-button":{width:w?"".concat(w,"px"):void 0,height:w?"".concat(w,"px"):void 0},".ugb-notification__close-button svg":{fill:N?"".concat(N," !important"):void 0},tablet:{".ugb-notification__close-button":{width:j?"".concat(j,"px"):void 0,height:j?"".concat(j,"px"):void 0}},mobile:{".ugb-notification__close-button":{width:S?"".concat(S,"px"):void 0,height:S?"".concat(S,"px"):void 0}}});var M=e.attributes,R=M.showIcon,F=void 0!==R&&R,D=M.iconColor,z=void 0===D?"":D,I=M.iconAlign,H=void 0===I?"":I,L=M.iconTabletAlign,U=void 0===L?"":L,W=M.iconMobileAlign,G=void 0===W?"":W;if(F){var V=Object(r.sb)(z,f.columnBackground&&d);n.push({".ugb-notification__icon svg:not(.ugb-custom-icon)":{color:V?"".concat(V," !important"):void 0},".ugb-notification__icon":{marginLeft:""!==H||""!==o?Object(r.c)(Object(r.db)(H||o)):void 0,marginRight:""!==H||""!==o?Object(r.c)(Object(r.eb)(H||o)):void 0,height:t("iconSize","%spx !important"),width:t("iconSize","%spx !important")},tablet:{".ugb-notification__icon":{marginLeft:""!==U||""!==c?Object(r.db)(U||c):void 0,marginRight:""!==U||""!==c?Object(r.eb)(U||c):void 0,height:t("iconTabletSize","%spx !important"),width:t("iconTabletSize","%spx !important")}},mobile:{".ugb-notification__icon":{marginLeft:""!==G||""!==u?Object(r.db)(G||u):void 0,marginRight:""!==G||""!==u?Object(r.eb)(G||u):void 0,height:t("iconMobileSize","%spx !important"),width:t("iconMobileSize","%spx !important")}}}),n.push(A({},Object(r.s)("icon%s","ugb-notification__icon",e.attributes)))}var q=e.attributes,J=q.titleColor,Y=void 0===J?"":J,X=q.showTitle;if(void 0===X||X){var K=Object(r.sb)(Y,f.columnBackground&&d);n.push({".ugb-notification__title":A({},Object(r.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:K?"".concat(K," !important"):void 0,textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-notification__title":A({},Object(r.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-notification__title":A({},Object(r.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}})}var $=e.attributes,Z=$.descriptionColor,Q=void 0===Z?"":Z,ee=$.showDescription;if(void 0===ee||ee){var te=Object(r.sb)(Q,f.columnBackground&&d);n.push({".ugb-notification__description":A({},Object(r.H)("description%s","desktop",e.attributes),{color:te?"".concat(te," !important"):void 0,textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-notification__description":A({},Object(r.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-notification__description":A({},Object(r.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}})}var ne=e.attributes,ae=ne.showButton,ie=void 0!==ae&&ae,re=ne.buttonDesign,oe=void 0===re?"ghost":re,le=ne.buttonBackgroundColor,ce=void 0===le?"":le;if(ie){if(n.push(A({},Object(r.p)("button%s","ugb-button",e.attributes))),!ce&&f.columnBackground){var se,ue,be=d?Object(r.sb)(ce,d,"#ffffff","#424242"):"bordered"===m?"#424242":B[b],pe=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===oe||""===oe)n.push((T(se={},".ugb-button",{backgroundColor:be||void 0}),T(se,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:pe||void 0}),T(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:pe||void 0}),se));else n.push((T(ue={},".ugb-button",{borderColor:be||void 0}),T(ue,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:be||void 0}),T(ue,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:be||void 0}),ue))}n.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})}return f.iconSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.titleSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.descriptionSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.buttonSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),C.a.all(n)},N=n(3),M=n(1),R=n(10),F=n(11),D=n(0),z=n(12),I=n(6);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var G=[{value:"success",label:Object(D.__)("Success",M.i18n)},{value:"error",label:Object(D.__)("Error",M.i18n)},{value:"warning",label:Object(D.__)("Warning",M.i18n)},{value:"info",label:Object(D.__)("Information",M.i18n)}];Object(i.addFilter)("stackable.notification.edit.inspector.layout.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(N.A,{initialOpen:!0,selected:r,options:[{image:v.a,label:Object(D.__)("Basic",M.i18n),value:"basic"},{image:O.a,label:Object(D.__)("Plain",M.i18n),value:"plain"}].concat(W(Object(i.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},M.showProNotice&&wp.element.createElement(N.gb,null)))}),Object(i.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.titleColor,o=a.descriptionColor,l=a.design,c=void 0===l?"basic":l,s=a.borderRadius,u=void 0===s?"":s,b=a.shadow,p=void 0===b?"":b,m=a.showTitle,g=void 0===m||m,d=a.showDescription,f=void 0===d||d,h=a.titleTag,v=void 0===h?"":h,y=a.notifType,O=a.dismissible,w=void 0!==O&&O,_=a.dismissibleIconColor,j=void 0===_?"":_,k=a.columnBorderColor,C=void 0===k?"":k,E=a.columnBorderThickness,S=void 0===E?"":E,A=a.showButton,T=void 0===A||A,B=a.showIcon,P=void 0===B||B,R=a.iconTop,z=void 0===R?"":R,H=a.iconLeft,L=void 0===H?"":H,U=x(t);return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(D.__)("General",M.i18n)},wp.element.createElement(F.SelectControl,{label:Object(D.__)("Notification Type",M.i18n),value:y,options:G.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),U.borderRadius&&wp.element.createElement(N.c,{label:Object(D.__)("Border Radius",M.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),U.shadow&&wp.element.createElement(N.c,{label:Object(D.__)("Shadow / Outline",M.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(N.u,{setAttributes:n,blockAttributes:t.attributes})),U.columnBorder&&wp.element.createElement(N.cb,{title:Object(D.__)("Border",M.i18n),hasToggle:!1},wp.element.createElement(N.s,{value:C,onChange:function(e){return n({columnBorderColor:e})},label:Object(D.__)("Border Color",M.i18n)}),wp.element.createElement(N.c,{label:Object(D.__)("Border Thickness",M.i18n),value:S,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===c?5:3})),U.columnBackground&&wp.element.createElement(N.cb,{title:Object(D.__)("Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(N.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(N.cb,{title:Object(D.__)("Dismissible",M.i18n),id:"dismissible",checked:w,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(W(Object(r.z)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible",className:"ugb--help-tip-notification-dismissible"},wp.element.createElement(N.hb,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Icon Size",M.i18n),min:5,max:50,allowReset:!0,placeholder:"16"})),wp.element.createElement(N.s,{value:j,onChange:function(e){return n({dismissibleIconColor:e})},label:Object(D.__)("Icon Color",M.i18n)})),wp.element.createElement(N.cb,{title:Object(D.__)("Icon",M.i18n),id:"icon",checked:P,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon"].concat(W(Object(r.q)("icon%s")),W(Object(r.z)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(N.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,icon:t.attributes.icon,onChangeIcon:function(e){return n({icon:e})},sizeMax:"large-icon"!==c?300:500,onChangeDesign:!1,onChangeShowBackgroundShape:!1}),U.iconLocation&&wp.element.createElement(N.H,{label:Object(D.__)("Icon Location",M.i18n),min:-250,max:250,top:z,left:L,onChange:function(e){n({iconTop:e.top||0===e.top?parseInt(e.top,10):"",iconLeft:e.left||0===e.left?parseInt(e.left,10):""})},enableRight:!1,enableBottom:!1}),U.iconAlign&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Title",M.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(W(Object(r.F)("title%s")),["titleTag","titleColor"],W(Object(r.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(N.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.J,{value:v||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(N.s,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(D.__)("Title Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Description",M.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(W(Object(r.F)("description%s")),["descriptionColor"],W(Object(r.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(N.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.s,{value:o,onChange:function(e){return n({descriptionColor:e})},label:Object(D.__)("Description Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Button",M.i18n),id:"button",checked:T,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(W(Object(r.n)("button%s")),W(Object(r.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(N.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.v,null),wp.element.createElement(N.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-button"}))),(U.iconSpacing||U.titleSpacing||U.descriptionSpacing||U.buttonSpacing)&&wp.element.createElement(N.db,{initialOpen:!1,blockProps:t},U.iconSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Icon",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),U.titleSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Title",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),U.descriptionSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Description",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),U.buttonSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Button",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var V=Object(z.compose)(R.i,R.g,R.d,Object(R.h)(),Object(R.c)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(R.a)(P,{editorMode:!0}),Object(R.b)([[".ugb-notification__item","column-background"],[".ugb-notification__close-button","dismissible"],[".ugb-notification__icon svg","icon"],[".ugb-notification__title","title"],[".ugb-notification__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.design,l=void 0===o?"basic":o,c=a.notifType,s=a.dismissible,u=a.shadow,b=void 0===u?"":u,g=a.showIcon,d=void 0!==g&&g,f=a.icon,h=void 0===f?"fas-exclamation-triangle":f,v=a.showTitle,y=void 0===v||v,O=a.titleTag,w=void 0===O?"h5":O,_=a.title,k=void 0===_?"":_,C=a.showDescription,E=void 0===C||C,S=a.description,A=void 0===S?"":S,T=a.showButton,B=void 0===T||T,P=a.buttonDesign,R=void 0===P?"plain":P,F=p()([t,"ugb-notification--v2","ugb-notification--design-".concat(l),"ugb-notification--type-".concat(c)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":s},e)),z=p()(["ugb-notification__item","ugb-notification--new-icon"],U({},"ugb--shadow-".concat(b),""!==b)),H=x(e);return wp.element.createElement(N.k.Edit,{className:F,blockProps:e,render:function(){return wp.element.createElement(I.Fragment,null,wp.element.createElement(N.D,{className:z,backgroundAttrName:"column%s",blockProps:e,showBackground:H.columnBackground},s&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button"},wp.element.createElement(j,null)),d&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:h,onChange:function(e){return n({icon:e})}})),y&&wp.element.createElement(m.RichText,{tagName:w||"h5",value:k,className:"ugb-notification__title",placeholder:Object(D.__)("Title for This Block",M.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-notification__description",value:A,onChange:function(e){return n({description:e})},placeholder:Object(r.J)("long"),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(N.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:L({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var q=Object(z.compose)(R.i,Object(R.a)(P))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.notifType,u=o.dismissible,b=o.shadow,g=void 0===b?"":b,d=o.showIcon,f=void 0!==d&&d,h=o.icon,v=void 0===h?"fas-exclamation-triangle":h,y=o.showTitle,O=void 0===y||y,w=o.titleTag,_=void 0===w?"h5":w,k=o.title,C=void 0===k?"":k,E=o.showDescription,S=void 0===E||E,A=o.description,T=void 0===A?"":A,B=o.showButton,P=void 0===B||B,M=o.buttonSize,R=void 0===M?"normal":M,F=o.buttonText,D=void 0===F?"":F,z=o.buttonShadow,H=void 0===z?0:z,L=o.buttonHoverEffect,U=void 0===L?"":L,W=o.buttonIcon,G=void 0===W?"":W,V=o.buttonIconPosition,q=void 0===V?"":V,J=o.buttonDesign,Y=void 0===J?"plain":J,X=o.buttonHoverGhostToNormal,K=void 0!==X&&X,$=o.buttonNewTab,Z=void 0!==$&&$,Q=o.buttonUrl,ee=void 0===Q?"":Q,te=o.buttonNoFollow,ne=void 0!==te&&te,ae=p()([r,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),ie=p()(["ugb-notification__item","ugb-notification--new-icon"],(t={},n="ugb--shadow-".concat(g),a=""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),re=x(e);return wp.element.createElement(N.k.Save,{className:ae,blockProps:e,render:function(){return wp.element.createElement(I.Fragment,null,wp.element.createElement(N.D,{className:ie,backgroundAttrName:"column%s",blockProps:e,showBackground:re.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(j,null)),f&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:v})),O&&!m.RichText.isEmpty(C)&&wp.element.createElement(m.RichText.Content,{tagName:_||"h5",className:"ugb-notification__title",value:C}),S&&!m.RichText.isEmpty(T)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:T}),P&&!m.RichText.isEmpty(D)&&wp.element.createElement(N.o.Content,{size:""!==R?R:"normal",text:D,icon:G,newTab:""!==Z&&Z,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:K,shadow:H,iconPosition:q,design:""!==Y?Y:"ghost"})))}})}),J=n(16);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(n,!0).forEach(function(t){K(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return $}),n.d(t,"name",function(){return Z}),n.d(t,"settings",function(){return Q});var $=X({design:{type:"string",default:"basic"},notifType:{type:"string",default:"success"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:3},columnBorderColor:{type:"string",default:""},columnBorderThickness:{type:"number",default:""}},Object(r.j)("column%s"),{dismissible:{type:"boolean",default:!1}},Object(r.A)("dismissibleIcon%sSize",{type:"number",default:""}),{dismissibleIconColor:{type:"string",default:""},showIcon:{type:"boolean",default:!1},icon:{type:"string",source:"html",selector:".ugb-notification__icon .ugb-icon-inner-svg,.ugb-notification__item:not(.ugb-notification--new-icon)",default:"fas-exclamation-triangle"}},Object(r.r)("icon%s"),{},Object(r.A)("icon%sAlign",{type:"string",default:""}),{},Object(r.h)("icon%s",{type:"number",default:""},["Top","Left"]),{title:{source:"html",selector:".ugb-notification__title",default:Object(D.__)("Title for This Block",M.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(r.G)("title%s"),{titleColor:{type:"string",default:""}},Object(r.A)("title%sAlign",{type:"string",default:""}),{description:{source:"html",selector:".ugb-notification__description",default:Object(r.J)("long")},showDescription:{type:"boolean",default:!0}},Object(r.G)("description%s"),{descriptionColor:{type:"string",default:""}},Object(r.A)("description%sAlign",{type:"string",default:""}),{showButton:{type:"boolean",default:!0}},Object(r.o)("button%s",{selector:".ugb-button"}),{buttonDesign:{type:"string",default:"ghost"}},Object(r.A)("button%sAlign",{type:"string",default:""}),{},Object(r.A)("icon%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("button%sBottomMargin",{type:"number",default:""})),Z="ugb/notification",Q={title:Object(D.__)("Notification",M.i18n),description:Object(D.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",M.i18n),icon:J.s,category:"formatting",keywords:[Object(D.__)("Notification",M.i18n),Object(D.__)("Stackable",M.i18n)],attributes:$,supports:{inserter:!M.disabledBlocks.includes(Z)},deprecated:f,edit:V,save:q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.notification.custom-css.default","")}}};Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/notifType",function(e){return void 0===e.notifType?e:X({},e,{columnBackgroundColor:"",columnBackgroundColorOpacity:"",iconColor:"",titleColor:"",descriptionColor:"",buttonBackgroundColor:"",columnBorderColor:""})}),Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/opacity",function(e,t){var n=e.hasOwnProperty("columnBackgroundColor");if(void 0===e.columnBackgroundColorOpacity&&!n)return e;if(n&&void 0!==e.columnBackgroundColor)return e;var a=t.attributes,i=a.notifType,r=void 0===i?"success":i,o=a.columnBackgroundColor,l=void 0===o?"":o;return X({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[r]})})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blog-posts.design.no-text-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])});var r=n(262),o=n.n(r),l=n(263),c=n.n(l),s=n(2),u=n(14),b=n.n(u),p=n(1),m=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.postType,o=void 0===r?"post":r,l=t.showImage,c=void 0===l||l,s=t.showTitle,u=void 0===s||s,b=t.showCategory,m=void 0===b||b,g=t.showExcerpt,d=void 0===g||g,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v,O=t.showLoadMoreButton,w=void 0!==O&&O;return Object(i.applyFilters)("stackable.blog-posts.show",{columnBackground:!["basic","list"].includes(a),showBackgroundInItem:"vertical-card2"===a,showBackgroundInContent:["vertical-card","horizontal-card","image-card"].includes(a),borderRadius:!0,shadow:!0,imageShadow:["basic","list"].includes(a),postType:p.isPro,imageHeight:"portfolio"!==a&&"portfolio2"!==a,imageWidth:"horizontal-card"===a||"list"===a,showCategory:"post"===o,imageAsBackground:["portfolio","portfolio2","image-card"].includes(a),imageOutsideContainer:["list","vertical-card","horizontal-card","image-card"].includes(a),imageSpacing:c&&["basic","list","vertical-card2"].includes(a),categorySpacing:m,titleSpacing:u,excerptSpacing:d,metaSpacing:h,readmoreSpacing:y,loadMoreSpacing:w,contentOrderStyles:"image-card"!==a},e)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t=Object(s.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,i=void 0===a?"":a,r=n.design,o=void 0===r?"basc":r,l=n.showReadmore,c=void 0===l||l,u=m(e),p=[];u.columnBackground||p.push({".ugb-blog-posts__featured-image":{borderRadius:Object(s.c)(t("borderRadius","%spx"))}});var g=e.attributes.contentOrder,v=void 0===g?"":g;v&&u.contentOrderStyles&&v.split(",").forEach(function(e,t){var n=0===t?1:3===t?10:t+3;p.push(h({},".ugb-blog-posts__".concat(e),{order:Object(s.c)(n)})),c&&"excerpt"===e&&p.push({".ugb-blog-posts__readmore":{order:Object(s.c)(n)}})});var y=e.attributes.showImage,O=void 0===y||y;O&&u.imageHeight&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,!0))),O&&u.imageWidth&&"list"===o&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__item","image%sWidth","gridTemplateColumns","%spx minmax(0, 1fr)",e.attributes,!0)));var w=e.attributes,_=w.categoryHighlighted,j=void 0!==_&&_,k=w.categoryColor,C=void 0===k?"":k,x=w.showCategory;(void 0===x||x)&&(j?p.push({".ugb-blog-posts__category a":{backgroundColor:Object(s.c)(t("categoryColor")),color:Object(s.c)(Object(s.sb)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(s.c)(t("categoryHoverColor")),color:Object(s.c)(Object(s.sb)("",t("categoryHoverColor")))}}):p.push({".ugb-blog-posts__category a":{color:Object(s.c)(Object(s.sb)(C,u.columnBackground&&i))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(s.c)(t("categoryHoverColor"))}}),p.push({".ugb-blog-posts__category":d({},Object(s.H)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":d({},Object(s.H)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":d({},Object(s.H)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,S=E.titleColor,A=void 0===S?"":S,T=E.showTitle;(void 0===T||T)&&p.push({".ugb-blog-posts__title a":{color:Object(s.c)(Object(s.sb)(A,u.columnBackground&&i))},".ugb-blog-posts__title a:hover":{opacity:A&&!t("titleHoverColor")?.8:void 0,color:Object(s.c)(t("titleHoverColor"))},".ugb-blog-posts__title":d({},Object(s.H)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":d({},Object(s.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":d({},Object(s.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var B=e.attributes,P=B.excerptColor,N=void 0===P?"":P,M=B.showExcerpt;(void 0===M||M)&&p.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.sb)(N,u.columnBackground&&i))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","tablet",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptTabletAlign","%s !important")}},mobile:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","mobile",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptMobileAlign","%s !important")}}});var R=e.attributes,F=R.metaColor,D=void 0===F?"":F,z=R.showMeta,I=void 0===z||z,H=R.showAuthor,L=void 0===H||H,U=R.showDate,W=void 0===U||U,G=R.showComments;I&&(L||W||(void 0===G||G))&&p.push({".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.sb)(D,u.columnBackground&&i)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("metaMobileAlign","%s !important")})}});var V=e.attributes.readmoreColor,q=void 0===V?"":V;return c&&p.push({".ugb-blog-posts__readmore a":{color:Object(s.c)(Object(s.sb)(q,u.columnBackground&&i))},".ugb-blog-posts__readmore a:hover":{opacity:q&&!t("readmoreHoverColor")?.8:void 0,color:Object(s.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),u.imageSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.categorySpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.titleSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.excerptSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.metaSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.readmoreSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b.a.all(p)},y=n(3),O=n(6),w=n(11),_=n(0),j=n(413),k=n(22),C=n.n(k);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function S(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=[],P=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=S(this,A(t).apply(this,arguments))).state={isLoading:0===B.length,termList:B},e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,O["Component"]),n=t,(a=[{key:"componentWillMount",value:function(){var e=this;this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=C()({path:Object(j.a)("/wp/v2/stk_terms",{per_page:-1})}).then(function(t){e.isStillMounted&&(B=t,e.setState({termList:t,isLoading:!1}))}).catch(function(){e.isStillMounted&&e.setState({termList:[],isLoading:!1})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=[],n=[],a=[{label:Object(_.__)("All",p.i18n),value:""}],i="";if(Object.keys(this.state.termList).forEach(function(i){var r=e.state.termList[i],o=r.label,l=r.taxonomies;t.push({label:o,value:i}),i===e.props.postType&&Object.keys(l).forEach(function(t,i){var r=l[t],o=r.label,c=r.terms;n.push({label:o,value:t});var s=!e.props.taxonomyType&&0===i;(t===e.props.taxonomyType||s)&&Object.keys(c).forEach(function(e){a.push({label:c[e].name,value:c[e].term_id})})})}),n.length){var r=this.props.taxonomyType||n[0].value,o=n.filter(function(e){var t=e.value;return r===t});i=o.length?o[0].label:n[0].label}return this.state.isLoading?wp.element.createElement("div",{className:"ugb-blog-post__inspector-spinner"},wp.element.createElement(w.Spinner,null)):wp.element.createElement("div",null,p.isPro&&wp.element.createElement(y.d,{label:Object(_.__)("Post Type",p.i18n),options:t,value:this.props.postType,onChange:function(t){var n=Object.keys(e.state.termList[t].taxonomies);e.props.onChangePostType(t),e.props.onChangeTaxonomyType(n.length?n[0]:""),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:Object(_.__)("Filter by Taxonomy",p.i18n),options:n,value:this.props.taxonomyType,onChange:function(t){e.props.onChangeTaxonomyType(t),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:i,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&E(n.prototype,a),i&&E(n,i),t}();P.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var N=P,M=n(10),R=n(8),F=n.n(R),D=n(62),z=n(264),I=n(13),H=n(12);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function q(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var K={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(i.addFilter)("stackable.blog-posts.edit.inspector.layout.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(y.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(_.__)("Basic",p.i18n),value:"basic",image:o.a},{label:Object(_.__)("List",p.i18n),value:"list",image:c.a}]),onChange:function(e){return n({design:e})}},p.showProNotice&&wp.element.createElement(y.gb,null)))}),Object(i.addFilter)("stackable.blog-posts.edit.inspector.style.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=void 0===r?2:r,l=a.borderRadius,c=void 0===l?"":l,u=a.shadow,b=void 0===u?"":u,g=a.contentOrder,d=void 0===g?"":g,f=a.numberOfItems,h=void 0===f?6:f,v=a.showImage,j=void 0===v||v,k=a.showTitle,C=void 0===k||k,x=a.showCategory,E=void 0===x||x,S=a.showExcerpt,A=void 0===S||S,T=a.showMeta,B=void 0===T||T,P=a.showReadmore,M=void 0!==P&&P,R=a.titleTag,F=void 0===R?"":R,D=a.titleColor,z=void 0===D?"":D,I=a.titleHoverColor,H=void 0===I?"":I,L=a.orderBy,U=void 0===L?"date":L,W=a.order,G=void 0===W?"desc":W,V=a.postType,q=void 0===V?"post":V,J=a.taxonomyType,Y=void 0===J?"category":J,K=a.taxonomy,$=void 0===K?"":K,Z=a.imageSize,Q=void 0===Z?"large":Z,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,ie=a.categoryHoverColor,re=void 0===ie?"":ie,oe=a.excerptColor,le=void 0===oe?"":oe,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,pe=a.showDate,me=void 0===pe||pe,ge=a.showComments,de=void 0===ge||ge,fe=a.metaColor,he=void 0===fe?"":fe,ve=a.metaSeparator,ye=void 0===ve?"":ve,Oe=a.readmoreColor,we=void 0===Oe?"":Oe,_e=a.readmoreHoverColor,je=void 0===_e?"":_e,ke=a.readmoreText,Ce=void 0===ke?"":ke,xe=m(t),Ee=Object(_.__)("Category",p.i18n),Se=Object(_.__)("Title",p.i18n),Ae=Object(_.__)("Meta",p.i18n),Te=Object(_.__)("Excerpt",p.i18n);return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(w.PanelBody,{title:Object(_.__)("General",p.i18n)},wp.element.createElement(y.c,{label:Object(_.__)("Columns",p.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),xe.borderRadius&&wp.element.createElement(y.c,{label:Object(_.__)("Border Radius",p.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),xe.shadow&&wp.element.createElement(y.c,{label:Object(_.__)("Shadow / Outline",p.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.d,{label:Object(_.__)("Content Order",p.i18n),options:[{label:Object(_.__)("Default",p.i18n),value:""},{label:"".concat(Ee," → ").concat(Se," → ").concat(Ae," → ").concat(Te),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Se," → ").concat(Te," → ").concat(Ae),value:"category,title,excerpt,meta"},{label:"".concat(Se," → ").concat(Ae," → ").concat(Te," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Se," → ").concat(Ee," → ").concat(Te," → ").concat(Ae),value:"title,category,excerpt,meta"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Te," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Ee," → ").concat(Te),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})},className:"ugb--help-tip-posts-content-order"}),wp.element.createElement(y.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.PanelBody,{title:Object(_.__)("Posts Settings",p.i18n),initialOpen:!1},wp.element.createElement(y.c,{label:Object(_.__)("Number of items",p.i18n),min:1,max:100,allowReset:!0,value:h,onChange:function(e){return n({numberOfItems:e})},placeholder:"6"}),wp.element.createElement(y.d,{label:Object(_.__)("Order by",p.i18n),options:[{label:Object(_.__)("Newest to Oldest",p.i18n),value:"date,desc"},{label:Object(_.__)("Oldest to Newest",p.i18n),value:"date,asc"},{label:Object(_.__)("A → Z",p.i18n),value:"title,asc"},{label:Object(_.__)("Z → A",p.i18n),value:"title,desc"},{label:Object(_.__)("Last Modified to Oldest",p.i18n),value:"modified,desc"},{label:Object(_.__)("Oldest Modified to Last",p.i18n),value:"modified,asc"},{label:Object(_.__)("Menu Order",p.i18n),value:"menu_order,asc"},{label:Object(_.__)("Random",p.i18n),value:"rand,desc"}],value:"".concat(U,",").concat(G),onChange:function(e){return n({orderBy:e.split(",")[0],order:e.split(",")[1]})}}),wp.element.createElement(N,{postType:q,onChangePostType:function(e){return n({postType:e})},taxonomyType:Y,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:$,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),p.showProNotice&&wp.element.createElement(y.gb,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(y.cb,{title:Object(_.__)("Column Background",p.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},(xe.showBackgroundInItem||xe.showBackgroundInContent)&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,backgroundMediaAllowVideo:!1}),!(xe.showBackgroundInItem||xe.showBackgroundInContent)&&xe.columnBackground&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,onChangeBackgroundMedia:!1,onChangeBackgroundColorOpacity:!1,onChangeBackgroundGradientBlendMode:!1})),wp.element.createElement(y.cb,{title:Object(_.__)("Featured Image",p.i18n),id:"image",checked:j,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat(X(Object(s.z)("Image%sWidth")),X(Object(s.z)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.X,{label:Object(_.__)("Image Size",p.i18n),value:Q,onChange:function(e){return n({imageSize:e})},className:"ugb--help-tip-image-size"}),xe.imageWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Width",p.i18n),min:100,max:600,allowReset:!0,className:"ugb--help-tip-image-width-crop"})),xe.imageHeight&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Height",p.i18n),min:100,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Category",p.i18n),id:"category",checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],X(Object(s.z)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(y.rb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Highlighted",p.i18n),checked:te,onChange:function(e){return n({categoryHighlighted:e})}}),wp.element.createElement(y.s,{value:ae,onChange:function(e){return n({categoryColor:e})},label:Object(_.__)("Color",p.i18n)}),wp.element.createElement(y.s,{value:re,onChange:function(e){return n({categoryHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Title",p.i18n),id:"title",checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("title%s")),["titleTag","titleColor","titleHoverColor"],X(Object(s.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.J,{value:F||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.s,{value:z,onChange:function(e){return n({titleColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:H,onChange:function(e){return n({titleHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Excerpt",p.i18n),id:"excerpt",checked:A,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("excerpt%s")),["excerptColor","excerptLength"],X(Object(s.z)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt Length",p.i18n),value:se,onChange:function(e){return n({excerptLength:e})},min:1,max:100,allowReset:!0,placeholder:"55"}),wp.element.createElement(y.rb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Meta",p.i18n),id:"meta",checked:B,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat(X(Object(s.F)("meta%s")),["metaColor","metaSeparator"],X(Object(s.z)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Author",p.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Date",p.i18n),checked:me,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Comments",p.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.d,{label:Object(_.__)("Separator",p.i18n),options:[{label:Object(_.__)("Default (Dot)",p.i18n),value:""},{label:Object(_.__)("Space",p.i18n),value:"space"},{label:Object(_.__)("Comma",p.i18n),value:"comma"},{label:Object(_.__)("Dash",p.i18n),value:"dash"},{label:Object(_.__)("Pipe",p.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})},className:"ugb--help-tip-posts-meta-separator"}),wp.element.createElement(y.hb,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Read More Link",p.i18n),id:"readmore",checked:M,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat(X(Object(s.F)("readmore%s")),["readmoreColor","readmoreHoverColor"],X(Object(s.z)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(w.TextControl,{label:Object(_.__)("Customize Read More Link",p.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:we,onChange:function(e){return n({readmoreColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:je,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-button"}))),p.showProNotice&&wp.element.createElement(y.cb,{title:Object(_.__)("Load More Button",p.i18n),id:"loadmore",initialOpen:!1},wp.element.createElement(y.fb,{title:Object(_.__)("Say Hello to More Options 👋",p.i18n),description:Object(_.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium",p.i18n)})),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.read-more.after",null,t),wp.element.createElement(y.db,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-image"})),xe.categorySpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Category",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.titleSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Title",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-title"})),xe.excerptSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.metaSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Meta",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.readmoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Read More",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"})),xe.loadMoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"loadMoreButton%sTopMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Load More",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"}))))});var $=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),q(this,J(t).apply(this,arguments))}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(t,O["Component"]),n=t,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,a=t.className,r=t.attributes,o=t.posts,l=r.columns,c=void 0===l?2:l,s=r.design,u=void 0===s?"basic":s,b=r.shadow,g=void 0===b?"":b,d=r.numberOfItems,f=void 0===d?6:d,h=r.titleTag,v=void 0===h?"":h,j=r.imageSize,k=void 0===j?"large":j,C=r.categoryHighlighted,x=void 0!==C&&C,E=r.excerptLength,S=void 0===E?"":E,A=r.metaSeparator,T=void 0===A?"":A,B=r.showImage,P=void 0===B||B,N=r.showTitle,M=void 0===N||N,R=r.showCategory,I=void 0===R||R,H=r.showExcerpt,L=void 0===H||H,U=r.showMeta,W=void 0===U||U,V=r.showReadmore,q=void 0!==V&&V,J=r.showAuthor,Y=void 0===J||J,X=r.showDate,$=void 0===X||X,Z=r.showComments,Q=void 0===Z||Z,ee=r.readmoreText,te=void 0===ee?"":ee,ne=r.columnBackgroundColor,ae=void 0===ne?"":ne,ie=r.columnBackgroundColor2,re=void 0===ie?"":ie,oe=r.showLoadMoreButton,le=void 0!==oe&&oe,ce=m(this.props),se=Array.isArray(o)&&o.length,ue=v||"h3",be=F()([a,"ugb-blog-posts--v2","ugb-blog-posts--columns-".concat(c),"ugb-blog-posts--design-".concat(u)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":x,"ugb-blog-posts--has-bg-color":ae||re},this.props)),pe=se&&o.length>f?o.slice(0,f):o,me=F()(["ugb-blog-posts__item"],G({},"ugb--shadow-".concat(g||3),!ce.imageShadow)),ge=F()(["ugb-blog-posts__featured-image"],G({},"ugb--shadow-".concat(g||3),ce.imageShadow));return se?wp.element.createElement(y.k.Edit,{className:be,blockProps:this.props,render:function(){return wp.element.createElement(O.Fragment,null,(pe||[]).map(function(t,n){var a=(t.featured_image_urls&&t.featured_image_urls[k||"large"]||[])[0],r=a&&wp.element.createElement("figure",{className:ge},wp.element.createElement("a",null,wp.element.createElement("img",{src:a,alt:Object(_.__)("featured",p.i18n)}))),o=a&&wp.element.createElement("div",{className:"ugb-blog-posts__featured-image-background",style:{backgroundImage:"url(".concat(a,")")}}),l=wp.element.createElement(ue,{className:"ugb-blog-posts__title"},wp.element.createElement("a",null,Object(z.decodeEntities)(t.title.rendered.trim())||Object(_.__)("(Untitled)",p.i18n))),c=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list.replace(/href=['"].*?['"]/g,"")}}),s=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},K[T||"dot"]),u=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),b=t.date_gmt&&wp.element.createElement("time",{dateTime:Object(D.format)("c",t.date_gmt),className:"ugb-blog-posts__date"},Object(D.dateI18n)("F d, Y",t.date_gmt)),m=wp.element.createElement("span",null,t.comments_num),g=t.post_excerpt_stackable.split(" "),d=(g=g.length>(S||55)?g.slice(0,S||55).join(" ")+"...":t.post_excerpt_stackable)&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:g}}),f=wp.element.createElement("p",{className:"ugb-blog-posts__readmore"},wp.element.createElement("a",null,te||Object(_.__)("Continue reading",p.i18n))),h=(Y||$||Q)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},Y&&u,Y&&u&&($&&b||Q&&m)&&s,$&&b,(Y&&u||$&&b)&&Q&&m&&s,Q&&m),v=Object(i.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:me,featuredImageBackground:o,featuredImage:r,category:c,title:l,author:u,separator:s,date:b,comments:m,excerpt:d,readmore:f,meta:h},n);return v||wp.element.createElement(y.D,{tagName:"article",className:me,backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInItem,showBackgroundVideo:!1,key:n},P&&ce.imageAsBackground&&o,P&&!ce.imageAsBackground&&ce.imageOutsideContainer&&r,wp.element.createElement(y.D,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInContent,showBackgroundVideo:!1},P&&!ce.imageAsBackground&&!ce.imageOutsideContainer&&r,I&&c,M&&l,W&&h,L&&d,q&&f))}),le&&wp.element.createElement(y.p,{containerClassName:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",setAttributes:n,blockAttributes:r,isSelected:!1}))}}):wp.element.createElement(w.Placeholder,{icon:"admin-post",label:Object(_.__)("Posts",p.i18n)},Array.isArray(o)?Object(_.__)("No posts found.",p.i18n):wp.element.createElement(w.Spinner,null))}}])&&V(n.prototype,a),r&&V(n,r),t}(),Z=Object(H.compose)(M.i,M.g,M.d,Object(M.h)(),Object(M.c)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(M.a)(v,{editorMode:!0}),Object(M.b)([[".ugb-blog-posts__featured-image","image"],[".ugb-blog-posts__featured-image img","image"],[".ugb-blog-posts__category","category"],[".ugb-blog-posts__title","title"],[".ugb-blog-posts__excerpt","excerpt"],[".ugb-blog-posts__meta","meta"],[".ugb-blog-posts__readmore","readmore"],[".ugb-blog-posts--design-image-card .ugb-blog-posts__header","image"],[".ugb-blog-posts__item","column-background"],[".ugb-blog-posts__load-more-button","loadmore"]]),Object(I.withSelect)(function(e,t){var n=t.attributes,r=n.postType,o=void 0===r?"post":r,l=n.numberOfItems,c=void 0===l?6:l,s=n.orderBy,u=void 0===s?"date":s,b=n.order,p=void 0===b?"desc":b,m=n.taxonomyType,g=void 0===m?"":m,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",o,Object(a.pickBy)(U({order:p,orderby:u,per_page:c,categories:"category"===g&&f?[f]:void 0,tags:"post_tag"===g&&f?[f]:void 0},Object(i.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))($);function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Object(i.addFilter)("stackable.click-open-inspector.listener-override","stackable/blog-posts",function(e){return U({},e,{'[data-type="ugb/blog-posts"]':["img","p","h1","h2","h3","h4","h5","h6","span","time","aside","figure","div"]})});var ee=Object(H.compose)(M.i,Object(M.a)(v))(function(e){var t=e.className,n=e.attributes,a=n.uniqueClass,r=void 0===a?"":a,o=n.columns,l=void 0===o?2:o,c=n.design,s=void 0===c?"basic":c,u=n.categoryHighlighted,b=void 0!==u&&u,p=n.columnBackgroundColor,m=void 0===p?"":p,g=n.columnBackgroundColor2,d=void 0===g?"":g,f=n.showLoadMoreButton,h=void 0!==f&&f,v=n.loadMoreItems,w=void 0===v?"":v,_=F()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(s),"ugb-blog-posts--columns-".concat(l)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":b,"ugb-blog-posts--has-bg-color":m||d},e)),j={};return h&&(j["data-load-items"]=w,j["data-id"]=r),wp.element.createElement(y.k.Save,Q({className:_,blockProps:e},j,{render:function(){return wp.element.createElement(O.Fragment,null,h&&wp.element.createElement(y.p.Content,{className:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",blockAttributes:e.attributes,url:"#0",role:"button"}))}}))});function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=[{attributes:{className:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string"},postsToShow:{type:"number",default:6},columns:{type:"number",default:2},displayFeaturedImage:{type:"boolean",default:!0},featuredImageShape:{type:"string",default:"landscape"},displayTitle:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayComments:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0},displayReadMoreLink:{type:"boolean",default:!1},readMoreText:{type:"string"},contentAlign:{type:"string"},align:{type:"string"},accentColor:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(){return null},migrate:function(e){var t,n=["portfolio","portfolio2"].includes(e.design)?"#ffffff":void 0;e.accentColor&&["basic","list","vertical-card","horizontal-card","vertical-card2"].includes(e.design)&&(n=e.accentColor),e.accentColor&&["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design)&&(t=e.accentColor);var a=function(e){return(e||"").replace(/\.ugb-blog-posts__category-list/g,".ugb-blog-posts__category").replace(/\.ugb-blog-posts__read_more/g,".ugb-blog-posts__readmore").replace(/\.ugb-blog-posts__side/g,".ugb-blog-posts__content")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:a(e.customCSS),customCSSCompiled:a(e.customCSSCompiled),numberOfItems:e.postsToShow,categoryHighlighted:["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design),metaColor:n,categoryColor:t,showImage:e.displayFeaturedImage,showTitle:e.displayTitle,showDate:e.displayDate,showCategory:e.displayCategory,showComments:e.displayComments,showAuthor:e.displayAuthor,showExcerpt:e.displayExcerpt,showReadmore:e.displayReadMoreLink,readmoreText:e.readMoreText,postType:"post",taxonomyType:"category",taxonomy:e.categories})}}],ie=n(16);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return ce}),n.d(t,"settings",function(){return se});var le=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},contentOrder:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postType:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},postInclude:{type:"string",default:""}},Object(s.j)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(s.A)("image%sWidth",{type:"number",default:""}),{},Object(s.A)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(s.G)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(s.A)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(s.G)("title%s"),{titleTag:{type:"string",default:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(s.A)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(s.G)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(s.A)("Excerpt%sAlign",{type:"string",default:""}),{showMeta:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0}},Object(s.G)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(s.A)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(s.G)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(s.A)("Readmore%sAlign",{type:"string",default:""}),{showLoadMoreButton:{type:"boolean",default:!1},loadMoreItems:{type:"number",default:""}},Object(s.o)("loadMoreButton%s",{exclude:["Url","NewTab","NoFollow"]}),{loadMoreButtonText:{type:"string",default:Object(_.__)("Load More",p.i18n)}},Object(s.A)("loadMoreButton%sAlign",{type:"string",default:""}),{},Object(s.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"]),{},Object(s.A)("LoadMoreButton%sTopMargin",{type:"number",default:""})),ce="ugb/blog-posts",se={title:Object(_.__)("Posts",p.i18n),description:Object(_.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",p.i18n),icon:ie.c,category:"layout",keywords:[Object(_.__)("Blog Posts",p.i18n),Object(_.__)("Stackable",p.i18n)],supports:{align:["center","wide","full"],inserter:!p.disabledBlocks.includes(ce)},attributes:le,save:ee,edit:Z,deprecated:ae,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0,verticalContentAlign:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(9),o=n(5);Object(o.addFilter)("stackable.count-up.design.no-text-attributes","stackable/count-up",function(e){return Object(r.omit)(e,["title1","title2","title3","title4","countText1","countText2","countText3","countText4","description1","description2","description3","description4"])});var l=n(0),c=n(8),s=n.n(c),u=n(7);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=[{attributes:{columns:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title")},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title")},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title")},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title")},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description")},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description")},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description")},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},title:{type:"string"},counter:{type:"string"},des:{type:"string"},fontSize:{type:"number"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n,i=e.className,r=e.attributes,l=r.columns,c=r.backgroundColorType,b=void 0===c?"":c,g=r.backgroundColor,d=r.backgroundColor2,f=r.backgroundColorDirection,h=void 0===f?0:f,v=r.backgroundType,y=void 0===v?"":v,O=r.backgroundImageURL,w=r.fixedBackground,_=r.backgroundOpacity,j=void 0===_?5:_,k=r.textColor,C=r.countColor,x=r.countSize,E=r.contentWidth,S=r.design,A=void 0===S?"plain":S,T=r.align,B=r.borderRadius,P=void 0===B?12:B,N=r.shadow,M=void 0===N?3:N,R=r.countFont,F=r.countFontWeight,D=Object(o.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==A},A,e),z="basic"===A,I=s()([i.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(l),"ugb--background-opacity-"+1*Math.round(j/1)],Object(o.applyFilters)("stackable.count-up.mainclasses_1_15_4",(m(t={"ugb--has-background-image":O},"ugb--content-width","full"===T&&E),m(t,"ugb-countup--design-".concat(A),"plain"!==A),m(t,"ugb--shadow-".concat(M),"basic"===A&&3!==M),m(t,"ugb--has-background-gradient","basic"===A&&"gradient"===b),m(t,"ugb--has-background-video","basic"===A&&"video"===y),t),A,e)),H=z?{backgroundColor:g||void 0,backgroundImage:O?"url(".concat(O,")"):void 0,"--ugb-background-color":O||"gradient"===b?g:void 0,"--ugb-background-color2":"gradient"===b&&d?d:void 0,"--ugb-background-direction":"gradient"===b?"".concat(h,"deg"):void 0,borderRadius:12!==P?P:void 0}:{},L=Object(o.applyFilters)("stackable.count-up.mainstyle_1_15_4",p({backgroundAttachment:w?"fixed":void 0},H),A,e),U={color:C||void 0,fontSize:x?x+"px":void 0,fontWeight:F||void 0};return R&&"theme"!==R&&(U.fontFamily="serif"===(n=R)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':"monospace"===n?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'),wp.element.createElement("div",{className:I,style:L},D.background&&"video"===y&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:O}),Object(o.applyFilters)("stackable.count-up.save.output.before_1_15_4",null,A,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.jb)(1,l+1).map(function(t){var n=r["title".concat(t)],a=r["description".concat(t)],i=r["countText".concat(t)],l=!u.RichText.isEmpty(n)&&wp.element.createElement(u.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:k||void 0},value:n}),c=!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:U,value:i,"data-duration":"1000","data-delay":"16"}),s=!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:k||void 0},value:a}),b={i:t,titleComp:l,countComp:c,descriptionComp:s};return Object(o.applyFilters)("stackable.count-up.save.output_1_15_4",wp.element.createElement("div",{className:"ugb-countup__item",key:t},l,c,s),b,t,e)})))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-countup([\s\{\[\.\#\:])/g,".ugb-count-up$1")};return p({},e,{columns:e.columns?e.columns:4,columnBackgroundColorType:e.backgroundColorType?e.backgroundColorType:void 0,columnBackgroundColor:e.backgroundColor?e.backgroundColor:void 0,columnBackgroundColor2:e.backgroundColor2?e.backgroundColor2:void 0,columnBackgroundGradientDirection:e.backgroundColorDirection?e.backgroundColorDirection:void 0,columnBackgroundMediaID:e.backgroundImageID?e.backgroundImageID:void 0,columnBackgroundMediaURL:e.backgroundImageURL?e.backgroundImageURL:void 0,columnBackgroundTintStrength:e.backgroundOpacity?e.backgroundOpacity:void 0,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,numberColor:e.countColor?e.countColor:void 0,numberFontSize:e.countSize?e.countSize:void 0,numberFontFamily:"theme"===e.countFont?"":e.countFont?e.countFont:void 0,numberFontWeight:e.countFontWeight?e.countFontWeight:void 0,titleColor:e.textColor?e.textColor:void 0,descriptionColor:e.textColor?e.textColor:void 0,showBlockBackground:"full"===e.align&&"basic"===e.design||void 0,blockInnerWidth:"full"!==e.align?void 0:!0===e.contentWidth?"center":"full",customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],d=n(3),f=n(10),h=function(e){var t=e.attributes.design,n=void 0===t?"plain":t;return Object(o.applyFilters)("stackable.count-up.show",{columnBackground:"boxed"===n},e)},v=n(14),y=n.n(v);function O(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t=Object(a.b)(e.attributes),n=h(e),i=[];i.push({".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("contentAlign")},tablet:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("mobileContentAlign")}}}),n.columnBackground&&i.push({".ugb-countup__item":{borderRadius:t("borderRadius","%spx !important")}});i.push(_({},n.columnBackground?Object(a.l)("column%s","ugb-countup__item",e.attributes,{importantBackgroundColor:!0}):{}));var r=e.attributes,o=r.showIcon,l=void 0!==o&&o,c=r.showNumber,s=void 0===c||c,u=r.showTitle,b=void 0===u||u,p=r.showDescription,m=void 0===p||p;l&&i.push.apply(i,O(Object(a.C)(".ugb-countup__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s&&i.push.apply(i,O(Object(a.C)(".ugb-countup__counter","number%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b&&i.push.apply(i,O(Object(a.C)(".ugb-countup__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),m&&i.push.apply(i,O(Object(a.C)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var g=e.attributes,d=g.columnBackgroundColor,f=void 0===d?"":d,v=g.showBlockBackground,w=void 0!==v&&v,j=g.blockBackgroundBackgroundColor,k=void 0===j?"":j,C=g.iconAlign,x=void 0===C?"":C,E=g.contentAlign,S=void 0===E?"":E,A=g.iconTabletAlign,T=void 0===A?"":A,B=g.tabletContentAlign,P=void 0===B?"":B,N=g.iconMobileAlign,M=void 0===N?"":N,R=g.mobileContentAlign,F=void 0===R?"":R;l&&(i.push({".ugb-countup__icon svg:not(.ugb-custom-icon)":{color:Object(a.rb)(t("iconColor"),n.columnBackground?f:w?k:"")},".ugb-countup__icon":{marginLeft:""!==x||""!==S?Object(a.c)(Object(a.db)(x||S)):void 0,marginRight:""!==x||""!==S?Object(a.c)(Object(a.eb)(x||S)):void 0},tablet:{".ugb-countup__icon svg":{marginLeft:""!==T||""!==P?Object(a.c)(Object(a.db)(T||P)):void 0,marginRight:""!==T||""!==P?Object(a.c)(Object(a.eb)(T||P)):void 0}},mobile:{".ugb-countup__icon svg":{marginLeft:""!==M||""!==F?Object(a.c)(Object(a.db)(M||F)):void 0,marginRight:""!==M||""!==F?Object(a.c)(Object(a.eb)(M||F)):void 0}}}),i.push(_({},Object(a.s)("icon%s","ugb-countup__icon",e.attributes))));var D=e.attributes.titleColor,z=void 0===D?"":D;b&&i.push({".ugb-countup__title":_({},Object(a.H)("title%s","desktop",e.attributes),{color:Object(a.rb)(z,n.columnBackground?f:w?k:""),textAlign:t("titleAlign")}),tablet:{".ugb-countup__title":_({},Object(a.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-countup__title":_({},Object(a.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var I=e.attributes.numberColor,H=void 0===I?"":I;s&&i.push({".ugb-countup__counter":_({},Object(a.H)("number%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.rb)(H,n.columnBackground?f:w?k:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":_({},Object(a.H)("number%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":_({},Object(a.H)("number%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("numberMobileAlign")})}});var L=e.attributes.descriptionColor,U=void 0===L?"":L;return m&&i.push({".ugb-countup__description":_({},Object(a.H)("description%s","desktop",e.attributes),{color:Object(a.rb)(U,n.columnBackground?f:w?k:""),textAlign:t("descriptionAlign")}),tablet:{".ugb-countup__description":_({},Object(a.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-countup__description":_({},Object(a.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}}),y.a.all(i)},C=n(280),x=n.n(C),E=n(281),S=n.n(E),A=n(1),T=n(11),B=n(12),P=n(6);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.count-up.edit.inspector.layout.before","stackable/count-up",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(d.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",A.i18n),value:"plain",image:x.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",A.i18n),Object(l.__)("Plain",A.i18n),2),value:"plain-2",image:S.a}]),onChange:function(e){return n({design:e})}},A.showProNotice&&wp.element.createElement(d.gb,null)))}),Object(o.addFilter)("stackable.count-up.edit.inspector.style.before","stackable/count-up",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.columns,c=i.borderRadius,s=void 0===c?"":c,u=i.shadow,b=void 0===u?"":u,p=i.showNumber,m=void 0===p||p,g=i.showTitle,f=void 0===g||g,v=i.showDescription,y=void 0===v||v,O=i.showIcon,w=void 0!==O&&O,_=i.numberColor,j=void 0===_?"":_,k=i.titleTag,C=void 0===k?"":k,x=i.titleColor,E=void 0===x?"":x,S=i.descriptionColor,B=void 0===S?"":S,R=h(t);return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(T.PanelBody,{title:Object(l.__)("General",A.i18n)},wp.element.createElement(d.c,{label:Object(l.__)("Columns",A.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Border Radius",A.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Shadow / Outline",A.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(d.u,{setAttributes:n,blockAttributes:t.attributes})),R.columnBackground&&wp.element.createElement(d.cb,{title:Object(l.__)("Column Background",A.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(d.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(d.cb,{title:Object(l.__)("Icon",A.i18n),id:"icon",checked:w,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon1","icon2","icon3","icon4"].concat(M(Object(a.q)("icon%s")),M(Object(a.z)("icon%sAlign"))),toggleAttributeName:"showIcon"},Object(r.range)(1,o+1).map(function(e){return wp.element.createElement(d.K,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",A.i18n),Object(l.__)("Icon",A.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(N({},"icon".concat(e),t))}})}),wp.element.createElement(d.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,onChangeIcon:!1,numPaths:Math.max.apply(Math,M(Object.values(Object(r.pick)(t.attributes,["icon1","icon2","icon3","icon4"])).map(function(e){return Object(a.hb)(e)||1})))}),wp.element.createElement(d.hb,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Title",A.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("title%s")),["titleTag","titleColor"],M(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(d.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(d.J,{value:C||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(d.s,{value:E,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Number",A.i18n),id:"number",checked:m,onChange:function(e){return n({showNumber:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("number%s")),["numberColor"],M(Object(a.z)("Number%sAlign"))),toggleAttributeName:"showNumber"},wp.element.createElement(d.rb,{attrNameTemplate:"number%s",setAttributes:n,blockAttributes:t.attributes,fontSizeProps:{max:[150,10]}}),wp.element.createElement(d.s,{value:j,onChange:function(e){return n({numberColor:e})},label:Object(l.__)("Number Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Description",A.i18n),id:"description",checked:y,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("description%s")),["descriptionColor"],M(Object(a.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(d.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(d.s,{value:B,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.db,{initialOpen:!1,blockProps:t},w&&wp.element.createElement(d.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Icon",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),f&&wp.element.createElement(d.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Title",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),m&&wp.element.createElement(d.hb,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Number",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),y&&wp.element.createElement(d.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Description",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"}))))});var R=Object(B.compose)(f.i,f.g,f.d,Object(f.h)(),Object(f.c)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(f.a)(k,{editorMode:!0}),Object(f.b)([[".ugb-container__wrapper","column-background"],[".ugb-countup__icon svg","icon"],[".ugb-countup__title","title"],[".ugb-countup__counter","number"],[".ugb-countup__description","description"]]))(function(e){var t=e.setAttributes,n=e.className,a=e.attributes,i=a.columns,c=a.design,b=void 0===c?"plain":c,p=a.titleTag,m=void 0===p?"":p,g=a.showIcon,f=void 0!==g&&g,v=a.showNumber,y=void 0===v||v,O=a.showTitle,w=void 0===O||O,_=a.showDescription,j=void 0===_||_,k=s()([n,"ugb-countup--v4","ugb-countup--columns-".concat(i)],Object(o.applyFilters)("stackable.count-up.mainclasses",N({},"ugb-countup--design-".concat(b),"plain"!==b),b,e)),C=h(e);return wp.element.createElement(d.k.Edit,{className:k,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,i+1).map(function(n){var i=a["icon".concat(n)],r=a["title".concat(n)],c=a["description".concat(n)],p=a["countText".concat(n)],g=f&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:i,onChange:function(e){return t(N({},"icon".concat(n),e))}})),h=w&&wp.element.createElement(u.RichText,{tagName:m||"h4",className:"ugb-countup__title",value:r,placeholder:Object(l.__)("Title",A.i18n),onChange:function(e){return t(N({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),v=y&&wp.element.createElement(u.RichText,{tagName:"div",className:"ugb-countup__counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:p,onChange:function(e){return t(N({},"countText".concat(n),e))},keepPlaceholderOnFocus:!0}),O=j&&wp.element.createElement(u.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",A.i18n),value:c,onChange:function(e){return t(N({},"description".concat(n),e))},keepPlaceholderOnFocus:!0}),_={i:n,iconComp:g,titleComp:h,countComp:v,descriptionComp:O},k=s()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},b,e));return wp.element.createElement(d.D,{className:k,backgroundAttrName:"column%s",blockProps:e,showBackground:C.columnBackground,key:n},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,g,"plain-2"===b&&v,h,"plain-2"!==b&&v,O),_,n,e))}))}})});var F=Object(B.compose)(f.i,Object(f.a)(k))(function(e){var t,n,a,i=e.className,l=e.attributes,c=l.columns,b=l.design,p=void 0===b?"plain":b,m=l.titleTag,g=void 0===m?"":m,f=l.showIcon,v=void 0!==f&&f,y=l.showNumber,O=void 0===y||y,w=l.showTitle,_=void 0===w||w,j=l.showDescription,k=void 0===j||j,C=s()([i,"ugb-countup--v4","ugb-countup--columns-".concat(c)],Object(o.applyFilters)("stackable.count-up.mainclasses",(t={},n="ugb-countup--design-".concat(p),a="plain"!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),p,e)),x=h(e);return wp.element.createElement(d.k.Save,{className:C,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,c+1).map(function(t){var n=l["icon".concat(t)],a=l["title".concat(t)],i=l["description".concat(t)],r=l["countText".concat(t)],c=v&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:n})),b=_&&!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:g||"h4",className:"ugb-countup__title",value:a}),m=O&&!u.RichText.isEmpty(r)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:r,"data-duration":"1000","data-delay":"16"}),f=k&&!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:i}),h={i:t,iconComp:c,titleComp:b,countComp:m,descriptionComp:f},y=s()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},p,e));return wp.element.createElement(d.D,{className:y,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:t},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,c,"plain-2"===p&&m,b,"plain-2"!==p&&m,f),h,t,e))}))}})});function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return I}),n.d(t,"name",function(){return H}),n.d(t,"settings",function(){return L});var I=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(n,!0).forEach(function(t){z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},columns:{type:"number",default:2}},Object(a.j)("column%s"),{},Object(a.A)("icon%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("number%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("description%sBottomMargin",{type:"number",default:""}),{showIcon:{type:"boolean",default:!1},icon1:{type:"string",source:"html",selector:".ugb-countup__item1 .ugb-icon-inner-svg,.ugb-countup__item1 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-cogs"},icon2:{type:"string",source:"html",selector:".ugb-countup__item2 .ugb-icon-inner-svg,.ugb-countup__item2 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-hands-helping"},icon3:{type:"string",source:"html",selector:".ugb-countup__item3 .ugb-icon-inner-svg,.ugb-countup__item3 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-envelope"},icon4:{type:"string",source:"html",selector:".ugb-countup__item4 .ugb-icon-inner-svg,.ugb-countup__item4 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-globe-americas"}},Object(a.r)("icon%s"),{showNumber:{type:"boolean",default:!0}},Object(a.G)("number%s"),{numberColor:{type:"string",default:""},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.G)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(a.G)("description%s"),{descriptionColor:{type:"string",default:""}},Object(a.h)("%s%sAlign",{type:"string",default:""},["Icon","Number","Title","Description"],["","Tablet","Mobile"]),{},Object(a.h)("Column%s%sColor",{type:"string",default:""},["1","2","3","4"],["Background","Icon"])),H="ugb/count-up",L={title:Object(l.__)("Count Up",A.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",A.i18n),icon:i.i,category:"common",keywords:[Object(l.__)("Statistics",A.i18n),Object(l.__)("Count Up",A.i18n),Object(l.__)("Stackable",A.i18n)],attributes:I,supports:{align:["center","wide","full"],inserter:!A.disabledBlocks.includes(H)},deprecated:g,edit:R,save:F,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.count-up.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.design.no-text-attributes","stackable/image-box",function(e){return Object(a.omit)(e,["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"])}),Object(i.addFilter)("stackable.image-box.design.filtered-block-attributes","stackable/image-box",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["link1Url","link2Url","link3Url","link4Url","link1NewTab","link2NewTab","link3NewTab","link4NewTab","link1NoFollow","link2NoFollow","link3NoFollow","link4NoFollow","image1Id"].concat(r(t&&t.image1Id?["image1Url"]:[]),["image2Id"],r(t&&t.image2Id?["image2Url"]:[]),["image3Id"],r(t&&t.image3Id?["image3Url"]:[]),["image4Id"],r(t&&t.image4Id?["image4Url"]:[])))});var o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M116.8 106.6l50.8-52.7-50.9-52.7c-1.5-1.6-4.1-1.6-5.7-.1-1.6 1.5-1.6 4.1-.1 5.7l41.6 43.1H4c-2.2 0-4 1.7-4 3.9s1.7 4 3.9 4.1h148.7L111 101c-1.5 1.6-1.4 4.1.1 5.6 1.6 1.6 4.1 1.5 5.7 0z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(2),p=n(8),m=n.n(p),g=n(1),d=n(0),f=n(7);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={align:{type:"string"},columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayOpacity:{type:"number",default:7},imageHoverEffect:{type:"string",default:""},arrow:{type:"string",default:""},hoverEffect:{type:"string",default:""},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}};[1,2,3,4].forEach(function(e){y["title".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__title"),default:Object(d.__)("Title",g.i18n)},y["description".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__description"),default:Object(d.__)("Description",g.i18n)},y["imageURL".concat(e)]={type:"string"},y["imageID".concat(e)]={type:"number"},y["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"href",default:""},y["newTab".concat(e)]={type:"boolean",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"target",default:!1}});var O=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var a,r=n.className,o=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,p=l.overlayColor,g=l.height,d=l.width,h=l.verticalAlign,y=l.horizontalAlign,O=l.align,w=l.columns,_=l.design,j=void 0===_?"basic":_,k=l.borderRadius,C=void 0===k?12:k,x=l.shadow,E=void 0===x?3:x,S=l.imageHoverEffect,A=void 0===S?"":S,T=l.overlayOpacity,B=void 0===T?7:T,P=l.arrow,N=void 0===P?"":P,M=m()([r,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(a={},"ugb-image-box--design-".concat(j),"basic"!==j),v(a,"ugb-image-box--effect-".concat(A),A),v(a,"ugb-image-box--overlay-".concat(B),7!==B),v(a,"ugb-image-box--arrow",N),a),j,n)),R={textAlign:y||void 0,"--overlay-color":p};return wp.element.createElement("div",{className:M,style:R},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,j,n),Object(b.jb)(1,w+1).map(function(a){var r=o["imageURL".concat(a)],l=o["title".concat(a)],b=o["description".concat(a)],p=o["link".concat(a)],_=o["newTab".concat(a)],k={backgroundImage:r?"url(".concat(r,")"):void 0,maxWidth:"wide"!==O&&"full"!==O&&1===w?d:void 0,height:g,textAlign:y,justifyContent:h,borderRadius:C},x=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(E),3!==E),j,a,n)),S=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(N)]);return wp.element.createElement("div",{className:x,style:k,key:a},A&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:r?"url(".concat(r,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:p,target:_?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(l)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:e?{color:c}:void 0,value:l}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:t?{color:s}:void 0,value:b})),N&&p&&wp.element.createElement("div",{className:S},wp.element.createElement(u,{style:{fill:c||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,j,n))}},w=function(e){var t=function(e){return(e||"").replace(/\.ugb-image-box__overlay(\s*{)/g,".ugb-image-box__overlay-hover$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),blockWidth:1===e.columns&&"full"!==e.align?e.width:void 0,columnHeight:e.height,columnContentVerticalAlign:e.verticalAlign,contentAlign:e.horizontalAlign,link1Url:e.link1,link2Url:e.link2,link3Url:e.link3,link4Url:e.link4,link1NewTab:e.newTab1,link2NewTab:e.newTab2,link3NewTab:e.newTab3,link4NewTab:e.newTab4,image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image4Id:e.imageID4,image1Url:e.imageURL1,image2Url:e.imageURL2,image3Url:e.imageURL3,image4Url:e.imageURL4,image1FullUrl:e.imageURL1,image2FullUrl:e.imageURL2,image3FullUrl:e.imageURL3,image4FullUrl:e.imageURL4,imageSize:"full",showOverlay:!1,showOverlayHover:!0,overlayHoverBackgroundColor:e.overlayColor,overlayHoverOpacity:isNaN(parseInt(e.overlayOpacity,10))?.7:parseInt(e.overlayOpacity,10)/10,showArrow:!!e.arrow,arrowAlign:e.arrow?e.arrow:void 0,arrowColor:e.titleColor,descriptionColor:e.subtitleColor,showSubtitle:!1,borderRadius:1===e.columns&&"full"===e.align?0:e.borderRadius,paddingRight:1===e.columns&&"full"===e.align?0:void 0,paddingLeft:1===e.columns&&"full"===e.align?0:void 0})},_=[{attributes:y,save:function(e){var t,n=e.className,a=e.attributes,r=e.attributes,o=r.titleColor,l=r.subtitleColor,c=r.overlayColor,s=r.height,p=r.width,g=r.verticalAlign,d=r.horizontalAlign,h=r.align,y=r.columns,O=r.design,w=void 0===O?"basic":O,_=r.borderRadius,j=void 0===_?12:_,k=r.shadow,C=void 0===k?3:k,x=r.imageHoverEffect,E=void 0===x?"":x,S=r.overlayOpacity,A=void 0===S?7:S,T=r.arrow,B=void 0===T?"":T,P=m()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(y)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(t={},"ugb-image-box--design-".concat(w),"basic"!==w),v(t,"ugb-image-box--effect-".concat(E),E),v(t,"ugb-image-box--overlay-".concat(A),7!==A),v(t,"ugb-image-box--arrow",B),t),w,e)),N={textAlign:d||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:P,style:N},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,w,e),Object(b.jb)(1,y+1).map(function(t){var n=a["imageURL".concat(t)],r=a["title".concat(t)],c=a["description".concat(t)],b=a["link".concat(t)],O=a["newTab".concat(t)],_={backgroundImage:n?"url(".concat(n,")"):void 0,maxWidth:"wide"!==h&&"full"!==h&&1===y?p:void 0,height:s,textAlign:d,justifyContent:g,borderRadius:j},k=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(C),3!==C),w,t,e)),x=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(B)]);return wp.element.createElement("div",{className:k,style:_,key:t},E&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:n?"url(".concat(n,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:b,target:O?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(r)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:{color:o},value:r}),!f.RichText.isEmpty(c)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:{color:l},value:c})),B&&b&&wp.element.createElement("div",{className:x},wp.element.createElement(u,{style:{fill:o||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,w,e))},migrate:w},{attributes:y,save:O(!1,!1),migrate:w},{attributes:y,save:O(!0,!1),migrate:w},{attributes:y,save:O(!1,!0),migrate:w}],j=n(3),k=n(10),C=n(292),x=n.n(C),E=n(293),S=n.n(E),A=n(14),T=n.n(A),B=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showSubtitle,o=void 0===r||r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,p=void 0!==b&&b;return Object(i.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:o,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:p},e)};function P(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=Object(b.b)(e.attributes),n=B(e),a=[];n.borderRadius&&a.push({".ugb-image-box__box":{borderRadius:Object(b.c)(t("borderRadius","%spx !important"))}}),a.push({".ugb-image-box__item":{height:Object(b.c)(t("columnHeight","%spx"))},tablet:{".ugb-image-box__item":{height:Object(b.c)(t("tabletColumnHeight","%spx"))}},mobile:{".ugb-image-box__item":{height:Object(b.c)(t("mobileColumnHeight","%spx"))}}}),a.push({".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentVerticalAlign"))},tablet:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentTabletVerticalAlign"))}},mobile:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentMobileVerticalAlign"))}}}),a.push({".ugb-image-box__item1 .ugb-image-box__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-image-box__item2 .ugb-image-box__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-image-box__item3 .ugb-image-box__image":{backgroundImage:t("image3Url","url(%s)")},".ugb-image-box__item4 .ugb-image-box__image":{backgroundImage:t("image4Url","url(%s)")},".ugb-image-box__image":{backgroundPosition:Object(b.c)(t("imageBackgroundPosition")),backgroundRepeat:Object(b.c)(t("imageBackgroundRepeat")),backgroundSize:Object(b.c)(t("imageBackgroundSize"))}});var i=e.attributes.showOverlay;void 0!==i&&i&&a.push({".ugb-image-box__overlay":M({},Object(b.m)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.k)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:not(:hover) .ugb-image-box__overlay":{opacity:Object(b.c)(t("overlayOpacity"))}});var r=e.attributes.showOverlayHover;void 0!==r&&r&&a.push({".ugb-image-box__overlay-hover":M({},Object(b.m)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.k)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:hover .ugb-image-box__overlay-hover":{opacity:Object(b.c)(t("overlayHoverOpacity"))}});var o=e.attributes.showSubtitle;(void 0===o||o)&&a.push({".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("subtitleColor")),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var l=e.attributes.showTitle;(void 0===l||l)&&a.push({".ugb-image-box__title":M({},Object(b.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("titleColor")),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-image-box__title":M({},Object(b.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-image-box__title":M({},Object(b.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var c=e.attributes.showDescription;(void 0===c||c)&&a.push({".ugb-image-box__description":M({},Object(b.H)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("descriptionColor")),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-image-box__description":M({},Object(b.H)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-image-box__description":M({},Object(b.H)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var s=e.attributes.showArrow;return void 0!==s&&s&&(a.push({".ugb-image-box__arrow svg":{fill:Object(b.c)(t("arrowColor"))}}),a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow svg","arrow%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow","arrow%sAlign","textAlign","%s",e.attributes,!0)))),n.subtitleSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.arrowSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow","arrow%sBottomMargin","marginBottom","%spx",e.attributes,!0))),T.a.all(a)},D=n(11),z=n(6),I=n(12),H=n(13);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.edit.inspector.layout.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(j.A,{initialOpen:!0,selected:r,options:[{image:x.a,label:Object(d.__)("Basic",g.i18n),value:"basic"},{image:S.a,label:Object(d.__)("Plain",g.i18n),value:"plain"}].concat(J(Object(i.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},g.showProNotice&&wp.element.createElement(j.gb,null)))}),Object(i.addFilter)("stackable.image-box.edit.inspector.style.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.design,o=void 0===r?"basic":r,l=a.columns,c=void 0===l?3:l,s=a.titleColor,u=a.descriptionColor,p=a.borderRadius,m=void 0===p?"":p,f=a.shadow,h=void 0===f?"":f,v=a.showTitle,y=void 0===v||v,O=a.showDescription,w=void 0===O||O,_=a.titleTag,k=void 0===_?"":_,C=a.image1Id,x=void 0===C?"":C,E=a.image2Id,S=void 0===E?"":E,A=a.image3Id,T=void 0===A?"":A,P=a.image4Id,N=void 0===P?"":P,M=a.imageHoverEffect,R=void 0===M?"":M,F=a.showOverlay,I=void 0!==F&&F,H=a.showOverlayHover,L=void 0===H||H,U=a.overlayOpacity,W=void 0===U?.7:U,G=a.overlayHoverOpacity,V=void 0===G?.7:G,q=a.showSubtitle,Y=void 0===q||q,X=a.subtitleColor,K=void 0===X?"":X,$=a.lineColor,Z=void 0===$?"":$,Q=a.lineSize,ee=void 0===Q?"":Q,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,ie=void 0===ae?"":ae,re=B(t);return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(D.PanelBody,{title:Object(d.__)("General",g.i18n)},wp.element.createElement(j.c,{label:Object(d.__)("Columns",g.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),wp.element.createElement(j.hb,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Height",g.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350",className:"ugb--help-tip-image-box-height"})),re.borderRadius&&wp.element.createElement(j.c,{label:Object(d.__)("Border Radius",g.i18n),value:m,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),re.shadow&&wp.element.createElement(j.c,{label:Object(d.__)("Shadow / Outline",g.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(j.hb,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.e,{label:Object(d.__)("Content Vertical Align",g.i18n),controls:"flex-vertical",className:"ugb--help-tip-advanced-column-content-vertical-align"})),wp.element.createElement(j.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(D.PanelBody,{title:Object(d.__)("Image",g.i18n),initialOpen:!1},wp.element.createElement(j.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(b.R)(x,e||"large"),image2Url:Object(b.R)(S,e||"large"),image3Url:Object(b.R)(T,e||"large"),image4Url:Object(b.R)(N,e||"large")})}})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Color",g.i18n),checked:I,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat(J(Object(b.i)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay",className:"ugb--help-tip-image-box-overlay"},wp.element.createElement(j.h,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Hover Color",g.i18n),checked:L,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat(J(Object(b.i)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover",className:"ugb--help-tip-image-box-overlay-hover"},wp.element.createElement(j.h,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:V,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(D.PanelBody,{title:Object(d.__)("Effects",g.i18n),initialOpen:!1},wp.element.createElement(D.SelectControl,{label:Object(d.__)("Image Hover Effect",g.i18n),options:Object(i.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(d.__)("None",g.i18n),value:""},{label:Object(d.__)("Zoom In",g.i18n),value:"zoom-in"},{label:Object(d.__)("Zoom Out",g.i18n),value:"zoom-out"}]),value:R,onChange:function(e){return n({imageHoverEffect:e})},className:"ugb--help-tip-image-box-hover-effect"}),Object(i.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),g.showProNotice&&wp.element.createElement(j.gb,{type:"effect"})),re.line&&wp.element.createElement(j.cb,{title:Object(d.__)("Line",g.i18n),hasToggle:!1},wp.element.createElement(j.s,{value:Z,onChange:function(e){return n({lineColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"10",value:ee,onChange:function(e){return n({lineSize:e})},allowReset:!0,placeholder:"box"===o?1:12})),wp.element.createElement(j.cb,{title:Object(d.__)("Subtitle",g.i18n),id:"subtitle",checked:Y,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("subtitle%s")),["subtitleColor"],J(Object(b.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(j.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.s,{value:K,onChange:function(e){return n({subtitleColor:e})},label:Object(d.__)("Subtitle Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-subtitle-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Title",g.i18n),id:"title",checked:y,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("title%s")),["titleTag","titleColor"],J(Object(b.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(j.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.J,{value:k||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(j.s,{value:s,onChange:function(e){return n({titleColor:e})},label:Object(d.__)("Title Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-title-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Description",g.i18n),id:"description",checked:w,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("description%s")),["descriptionColor"],J(Object(b.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(j.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.s,{value:u,onChange:function(e){return n({descriptionColor:e})},label:Object(d.__)("Description Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-description-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Arrow",g.i18n),id:"arrow",checked:ne,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowColor"].concat(J(Object(b.z)("Arrow%sSize")),J(Object(b.z)("Arrow%sAlign"))),toggleAttributeName:"showArrow"},wp.element.createElement(j.s,{value:ie,onChange:function(e){return n({arrowColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"50",allowReset:!0})),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-arrow-align"}))),wp.element.createElement(j.db,{initialOpen:!1,blockProps:t},re.subtitleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Subtitle",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-subtitle-spacing"})),re.titleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Title",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-title-spacing"})),re.lineSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Line",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-line-spacing"})),re.descriptionSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Description",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-description-spacing"})),re.arrowSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Arrow",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-arrow-spacing"}))))});var Y=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=G(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?V(n):a).state={selectedBox:null},e.handleFocusOutside=e.handleFocusOutside.bind(V(e)),e}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(t,z["Component"]),n=t,(r=[{key:"handleFocusOutside",value:function(){this.setState({selectedBox:null})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,o=n.setAttributes,l=n.attributes,c=l.columns,s=void 0===c?3:c,b=l.contentAlign,p=void 0===b?"":b,h=l.design,v=void 0===h?"basic":h,y=l.shadow,O=void 0===y?"":y,w=l.imageSize,_=void 0===w?"large":w,k=l.imageHoverEffect,C=void 0===k?"":k,x=l.showSubtitle,E=void 0===x||x,S=l.showTitle,A=void 0===S||S,T=l.showDescription,P=void 0===T||T,N=l.showArrow,M=void 0!==N&&N,R=l.titleTag,F=void 0===R?"":R,D=l.showOverlay,I=void 0!==D&&D,H=l.showOverlayHover,L=void 0===H||H,W=m()([r,"ugb-image-box--v4","ugb-image-box--columns-".concat(s),"ugb-image-box--design-".concat(v)],Object(i.applyFilters)("stackable.image-box.mainclasses",(U(e={},"ugb-image-box--effect-".concat(C),C),U(e,"ugb-image-box--with-arrow",M),U(e,"ugb-image-box--align-".concat(p),p),e),this.props)),G=B(this.props);return wp.element.createElement(j.k.Edit,{className:W,blockProps:this.props,render:function(){return wp.element.createElement(z.Fragment,null,Object(a.range)(1,s+1).map(function(e){var n=m()(["ugb-image-box__item","ugb-image-box__item".concat(e),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",U({},"ugb--shadow-".concat(O),G.columnBackground&&""!==O),t.props,e));return wp.element.createElement("div",{className:n,key:e,onMouseDown:function(){return t.setState({selectedBox:e})},role:"button",tabIndex:"0"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement(j.Y,{imageID:l["image".concat(e,"Id")],imageURL:l["image".concat(e,"Url")],imageSize:_,className:"ugb-image-box__box ugb-image-box__image",onRemove:function(){var t;o((U(t={},"image".concat(e,"Id"),""),U(t,"image".concat(e,"Url"),""),U(t,"image".concat(e,"FullWidth"),""),U(t,"image".concat(e,"FullHeight"),""),U(t,"image".concat(e,"FullUrl"),""),t))},onChange:function(t){var n;o((U(n={},"image".concat(e,"Id"),t.id),U(n,"image".concat(e,"Url"),t.url),U(n,"image".concat(e,"FullWidth"),t.sizes.full.width),U(n,"image".concat(e,"FullHeight"),t.sizes.full.height),U(n,"image".concat(e,"FullUrl"),t.sizes.full.url),n))}})),I&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),L&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(E||A)&&wp.element.createElement("div",{className:"ugb-image-box__header"},E&&wp.element.createElement(f.RichText,{tagName:"div",className:"ugb-image-box__subtitle",value:l["subtitle".concat(e)],onChange:function(t){return o(U({},"subtitle".concat(e),t))},placeholder:Object(d.__)("Subtitle",g.i18n),keepPlaceholderOnFocus:!0}),A&&wp.element.createElement(f.RichText,{tagName:F||"h4",className:"ugb-image-box__title",value:l["title".concat(e)],onChange:function(t){return o(U({},"title".concat(e),t))},placeholder:Object(d.__)("Title",g.i18n),keepPlaceholderOnFocus:!0})),P&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-image-box__description",value:l["description".concat(e)],onChange:function(t){return o(U({},"description".concat(e),t))},placeholder:Object(d.__)("Description",g.i18n),keepPlaceholderOnFocus:!0})),M&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),t.state.selectedBox===e&&wp.element.createElement(j.tb,{value:l["link".concat(e,"Url")],onChange:function(t){return o(U({},"link".concat(e,"Url"),t))},newTab:l["link".concat(e,"NewTab")],noFollow:l["link".concat(e,"NoFollow")],onChangeNewTab:function(t){return o(U({},"link".concat(e,"NewTab"),t))},onChangeNoFollow:function(t){return o(U({},"link".concat(e,"NoFollow"),t))}}))}))}})}}])&&W(n.prototype,r),o&&W(n,o),t}(),X=Object(I.compose)(k.i,k.g,k.d,Object(k.h)(),Object(k.c)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(k.a)(F,{editorMode:!0}),Object(k.b)([[".ugb-image-box__title","title"],[".ugb-image-box__subtitle","subtitle"],[".ugb-image-box__description","description"],[".ugb-image-box__arrow svg","arrow"]]),Object(H.withSelect)(function(e,t){Object(b.f)(t.attributes.image1Id,e),Object(b.f)(t.attributes.image2Id,e),Object(b.f)(t.attributes.image3Id,e),Object(b.f)(t.attributes.image4Id,e)}),D.withFocusOutside)(Y);function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=Object(I.compose)(k.i,Object(k.a)(F))(function(e){var t,n=e.className,r=e.attributes,o=r.columns,l=void 0===o?2:o,c=r.contentAlign,s=void 0===c?"":c,b=r.design,p=void 0===b?"basic":b,g=r.titleTag,d=void 0===g?"":g,h=r.shadow,v=void 0===h?"":h,y=r.showOverlay,O=void 0!==y&&y,w=r.showOverlayHover,_=void 0===w||w,k=r.showSubtitle,C=void 0===k||k,x=r.showTitle,E=void 0===x||x,S=r.showDescription,A=void 0===S||S,T=r.showArrow,P=void 0!==T&&T,N=r.imageHoverEffect,M=void 0===N?"":N,R=m()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(p)],Object(i.applyFilters)("stackable.image-box.mainclasses",(K(t={},"ugb-image-box--effect-".concat(M),M),K(t,"ugb-image-box--with-arrow",P),K(t,"ugb-image-box--align-".concat(s),s),t),e)),F=B(e);return wp.element.createElement(j.k.Save,{className:R,blockProps:e,render:function(){return wp.element.createElement(z.Fragment,null,Object(a.range)(1,l+1).map(function(t){var n=r["subtitle".concat(t)],a=r["title".concat(t)],o=r["description".concat(t)],l=E&&!f.RichText.isEmpty(a)?a:C&&!f.RichText.isEmpty(n)?n:A&&!f.RichText.isEmpty(o)?o:"",c=m()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",K({},"ugb--shadow-".concat(v),F.columnBackground&&""!==v),e,t)),s=[];return r["link".concat(t,"NewTab")]&&(s.push("noopener"),s.push("noreferrer")),r["link".concat(t,"NoFollow")]&&s.push("nofollow"),wp.element.createElement("div",{className:c,key:t},r["image".concat(t,"Url")]&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image",role:"img","aria-label":l})),O&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),_&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(C||E)&&wp.element.createElement("div",{className:"ugb-image-box__header"},C&&!f.RichText.isEmpty(n)&&wp.element.createElement(f.RichText.Content,{tagName:"div",className:"ugb-image-box__subtitle",value:n}),E&&!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:d||"h4",className:"ugb-image-box__title",value:a})),A&&!f.RichText.isEmpty(o)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:o})),P&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),r["link".concat(t,"Url")]&&wp.element.createElement("a",{className:"ugb-image-box__overlay-link",href:r["link".concat(t,"Url")],target:r["link".concat(t,"NewTab")]?"_blank":void 0,rel:s.join(" ")||void 0,title:l,"aria-label":l},null))}))}})}),Z=n(16);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return te}),n.d(t,"name",function(){return ne}),n.d(t,"settings",function(){return ae});var te=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(n,!0).forEach(function(t){ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.h)("link%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-image-box__item%d .ugb-image-box__overlay-link",attribute:"href"},["1","2","3","4"]),{},Object(b.h)("link%s%s",{type:"boolean",default:""},["1","2","3","4"],["NewTab","NoFollow"]),{},Object(b.t)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(b.v)("image%s"),{imageSize:{type:"string",default:"large"}},Object(b.h)("image%s%s",{type:"number",default:""},["1","2","3","4"],["Id","FullWidth","FullHeight"]),{},Object(b.h)("image%s%s",{type:"string",default:""},["1","2","3","4"],["Url","FullUrl"]),{showOverlay:{type:"boolean",default:!1}},Object(b.j)("overlay%s"),{overlayOpacity:{type:"number",default:.7},showOverlayHover:{type:"boolean",default:!0}},Object(b.j)("overlayHover%s"),{overlayHoverOpacity:{type:"number",default:.7}},Object(b.A)("imageBackground%sHeight",{type:"number",default:""}),{imageHoverEffect:{type:"string",default:""},hoverEffect:{type:"string",default:""},lineColor:{type:"string",default:""},lineSize:{type:"number",default:""}},Object(b.A)("Line%sAlign",{type:"string",default:""}),{},Object(b.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__subtitle",default:Object(d.__)("Subtitle",g.i18n)},["1","2","3","4"]),{showSubtitle:{type:"boolean",default:!0}},Object(b.G)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(b.h)("title%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__title",default:Object(d.__)("Title",g.i18n)},["1","2","3","4"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(b.G)("title%s"),{titleColor:{type:"string",default:""}},Object(b.h)("description%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__description",default:Object(d.__)("Description",g.i18n)},["1","2","3","4"]),{showDescription:{type:"boolean",default:!0}},Object(b.G)("description%s"),{descriptionColor:{type:"string",default:""},showArrow:{type:"boolean",default:!1},arrowColor:{type:"string",default:""}},Object(b.A)("Arrow%sSize",{type:"number",default:""}),{},Object(b.A)("Arrow%sAlign",{type:"string",default:""}),{},Object(b.h)("%s%sAlign",{type:"string",default:""},["Subtitle","Title","Description","Arrow"],["","Tablet","Mobile"]),{},Object(b.h)("%s%sBottomMargin",{type:"number",default:""},["Subtitle","Title","Line","Description","Arrow"],["","Tablet","Mobile"])),ne="ugb/image-box",ae={title:Object(d.__)("Image Box",g.i18n),description:Object(d.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",g.i18n),icon:Z.r,category:"layout",keywords:[Object(d.__)("Image Box",g.i18n),Object(d.__)("Stackable",g.i18n)],supports:{align:["center","wide","full"],inserter:!g.disabledBlocks.includes(ne)},attributes:te,deprecated:_,edit:X,save:$,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(i.addFilter)("stackable.image-box.advanced-column-spacing.styles","stackable/image-box/column-height",function(e){return e["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.tablet["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.mobile["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e})},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(1),o=n(9),l=n(5);Object(l.addFilter)("stackable.cta.design.no-text-attributes","stackable/cta",function(e){return Object(o.omit)(e,["title","description","buttonText"])}),Object(l.addFilter)("stackable.cta.design.filtered-block-attributes","stackable/cta",function(e){return Object(o.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var c=n(19),s=n(0),u=n(8),b=n.n(u),p=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:Object(s.__)("Title for This Block")},bodyText:{source:"html",selector:"p",default:Object(a.J)()},buttonText:{source:"html",selector:".ugb-button span",default:Object(s.__)("Button text")},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.url,r=a.buttonText,o=a.ctaTitle,s=a.bodyText,u=a.color,m=a.textColor,f=a.size,h=a.borderButtonRadius,v=a.bodyTextColor,y=a.titleColor,O=a.backgroundColorType,w=void 0===O?"":O,_=a.backgroundColor,j=a.backgroundColor2,k=a.backgroundColorDirection,C=void 0===k?0:k,x=a.backgroundType,E=void 0===x?"":x,S=a.backgroundImageURL,A=a.backgroundOpacity,T=a.fixedBackground,B=a.buttonDesign,P=a.buttonIcon,N=a.design,M=void 0===N?"basic":N,R=a.borderRadius,F=void 0===R?12:R,D=a.shadow,z=void 0===D?3:D,I=a.align,H=a.contentWidth,L=a.newTab,U="plain"!==M,W=b()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(A/1)],Object(l.applyFilters)("stackable.cta.mainclasses_1_15_5",(d(t={},"ugb-cta--design-".concat(M),"basic"!==M),d(t,"ugb--shadow-".concat(z),"plain"!==M&&3!==z),d(t,"ugb--has-background",_||S),d(t,"ugb--has-background-image",S),d(t,"ugb-content-width","full"===I&&H),d(t,"ugb--has-background-gradient",U&&"gradient"===w),d(t,"ugb--has-background-video",U&&"video"===E),t),M,e)),G=g({backgroundAttachment:T?"fixed":void 0},U?{backgroundColor:_||void 0,backgroundImage:S?"url(".concat(S,")"):void 0,"--ugb-background-color":S||"gradient"===w?_:void 0,"--ugb-background-color2":"gradient"===w&&j?j:void 0,"--ugb-background-direction":"gradient"===w?"".concat(C,"deg"):void 0,borderRadius:12!==F?F:void 0}:{});return wp.element.createElement("div",{className:W,style:G},U&&"video"===E&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:S}),Object(l.applyFilters)("stackable.cta.save.output.before_1_15_5",null,M,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},o&&!!o.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:o}),s&&!!s.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:s}),r&&!!r.length&&wp.element.createElement(c.b,{size:f,url:i,color:m,text:r,design:B,icon:P,backgroundColor:u,borderRadius:h,newTab:L})))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-cta(\s*{)/g,"\n.ugb-cta__item$1").replace(/\.ugb-content-wrapper/g,".ugb-cta__item")};return g({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.ctaTitle||"",titleColor:e.titleColor||"",description:e.bodyText||"",descriptionColor:e.bodyTextColor||"",buttonUrl:e.url,buttonNewTab:e.newTab,buttonBackgroundColor:e.color,buttonTextColor:e.textColor,buttonSize:e.size,buttonDesign:e.buttonDesign,buttonBorderRadius:e.borderButtonRadius,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],h=n(3),v=n(10),y=n(14),O=n.n(y),w=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showBlockBackground,r=void 0!==i&&i,o=t.blockInnerWidth,c=void 0===o?"":o,s=t.align,u=void 0===s?"":s,b=t.showTitle,p=void 0===b||b,m=t.showDescription,g=void 0===m||m,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(r?"full"===c&&(h=!1):h=!1),Object(l.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:p,descriptionSpacing:g,buttonSpacing:f},e)};function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,i=n.columnBackgroundColor,r=void 0===i?"":i,o=n.columnBackgroundColorOpacity,l=void 0===o?1:o,c=w(e),s=[];s.push({".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:Object(a.c)(t("contentAlign"))},tablet:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),c.borderRadius&&s.push({".ugb-cta__item":{borderRadius:t("borderRadius","%spx !important")}});s.push(k({},c.columnBackground?Object(a.l)("column%s","ugb-cta__item",e.attributes,{importantBackgroundColor:!0}):{})),c.titleSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-cta__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.descriptionSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-cta__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.buttonSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var u=e.attributes,b=u.titleColor,p=void 0===b?"":b,m=u.showTitle;(void 0===m||m)&&s.push({".ugb-cta__title":k({},Object(a.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.rb)(p,0!==l?r:null),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-cta__title":k({},Object(a.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-cta__title":k({},Object(a.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes,d=g.descriptionColor,f=void 0===d?"":d,h=g.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":k({},Object(a.H)("description%s","desktop",e.attributes),{color:Object(a.rb)(f,0!==l?r:null),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-cta__description":k({},Object(a.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-cta__description":k({},Object(a.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}});var v=e.attributes.showButton;return(void 0===v||v)&&(s.push(k({},Object(a.p)("button%s","ugb-button",e.attributes))),s.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),O.a.all(s)},E=n(270),S=n.n(E),A=n(271),T=n.n(A),B=n(11),P=n(12),N=n(6);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(l.addFilter)("stackable.cta.edit.inspector.layout.before","stackable/cta",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(h.A,{initialOpen:!0,selected:i,options:Object(l.applyFilters)("stackable.cta.edit.layouts",[{label:Object(s.__)("Basic",r.i18n),value:"basic",image:S.a},{label:Object(s.__)("Plain",r.i18n),value:"plain",image:T.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(h.gb,null)))}),Object(l.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.titleColor,l=i.descriptionColor,c=i.borderRadius,u=void 0===c?"":c,b=i.shadow,p=void 0===b?"":b,m=i.showTitle,g=void 0===m||m,d=i.showDescription,f=void 0===d||d,v=i.showButton,y=void 0===v||v,O=i.titleTag,_=void 0===O?"":O,j=w(t);return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(B.PanelBody,{title:Object(s.__)("General",r.i18n)},j.borderRadius&&wp.element.createElement(h.c,{label:Object(s.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),j.columnBackground&&wp.element.createElement(h.c,{label:Object(s.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(h.u,{setAttributes:n,blockAttributes:t.attributes})),j.columnBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Column Background",r.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(h.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(h.cb,{title:Object(s.__)("Title",r.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(R(Object(a.F)("title%s")),["titleTag","titleColor"],R(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(h.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,className:"ugb--help-tip-typography-family"}),wp.element.createElement(h.J,{value:_||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(h.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Description",r.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(R(Object(a.F)("description%s")),["descriptionColor"],R(Object(a.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(h.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.s,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Button",r.i18n),id:"button",checked:y,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(R(Object(a.n)("button%s")),R(Object(a.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(h.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.v,null),wp.element.createElement(h.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.db,{initialOpen:!1,blockProps:t},j.titleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),j.descriptionSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),j.buttonSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Button",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var F=Object(P.compose)(v.i,v.g,v.d,Object(v.h)(),Object(v.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(v.a)(x,{editorMode:!0}),Object(v.b)([[".ugb-cta__title","title"],[".ugb-cta__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,i=e.attributes,o=i.design,c=void 0===o?"basic":o,u=i.shadow,m=void 0===u?"":u,g=i.showTitle,d=void 0===g||g,f=i.title,v=void 0===f?"":f,y=i.titleTag,O=void 0===y?"h3":y,w=i.showDescription,_=void 0===w||w,j=i.description,k=void 0===j?"":j,C=i.showButton,x=void 0===C||C,E=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",M({},"ugb-cta--design-".concat(c),"basic"!==c),c,e)),S=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",M({},"ugb--shadow-".concat(m),"plain"!==c&&""!==m),c,e)),A=d&&wp.element.createElement(p.RichText,{tagName:O||"h3",value:v,className:"ugb-cta__title",placeholder:Object(s.__)("Title for This Block",r.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),T=_&&wp.element.createElement(p.RichText,{tagName:"p",value:k,className:"ugb-cta__description",onChange:function(e){return n({description:e})},placeholder:Object(a.J)(),keepPlaceholderOnFocus:!0}),B=x&&wp.element.createElement(h.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes}),P={title:A,description:T,button:B};return wp.element.createElement(h.k.Edit,{className:E,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:S,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.edit.output",wp.element.createElement(N.Fragment,null,A,T,B),P,e)))}})});function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z=Object(P.compose)(v.i,Object(v.a)(x))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.shadow,o=void 0===r?"":r,c=n.showTitle,s=void 0===c||c,u=n.title,m=void 0===u?"":u,g=n.titleTag,d=void 0===g?"h3":g,f=n.showDescription,v=void 0===f||f,y=n.description,O=void 0===y?"":y,w=n.showButton,_=void 0===w||w,j=n.buttonUrl,k=void 0===j?"":j,C=n.buttonNewTab,x=void 0!==C&&C,E=n.buttonSize,S=void 0===E?"normal":E,A=n.buttonText,T=void 0===A?"":A,B=n.buttonShadow,P=void 0===B?0:B,M=n.buttonHoverEffect,R=void 0===M?"":M,F=n.buttonIcon,z=void 0===F?"":F,I=n.buttonIconPosition,H=void 0===I?"":I,L=n.buttonDesign,U=void 0===L?"basic":L,W=n.buttonHoverGhostToNormal,G=void 0!==W&&W,V=n.buttonNoFollow,q=void 0!==V&&V,J=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",D({},"ugb-cta--design-".concat(i),"basic"!==i),i,e)),Y=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",D({},"ugb--shadow-".concat(o),"plain"!==i&&""!==o),i,e)),X=s&&!p.RichText.isEmpty(m)&&wp.element.createElement(p.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:m}),K=v&&!p.RichText.isEmpty(O)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:O}),$=_&&!p.RichText.isEmpty(T)&&wp.element.createElement(h.o.Content,{size:""!==S?S:"normal",text:T,icon:z,newTab:""!==x&&x,url:k,noFollow:q,hoverEffect:R,ghostToNormalEffect:G,shadow:P,iconPosition:H,design:""!==U?U:"basic"}),Z={title:X,description:K,button:$};return wp.element.createElement(h.k.Save,{className:J,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:Y,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.save.output",wp.element.createElement(N.Fragment,null,X,K,$),Z,e)))}})});function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return U}),n.d(t,"settings",function(){return W});var L=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},title:{source:"html",selector:"h3, .ugb-cta__title",default:Object(s.__)("Title for This Block",r.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.G)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:"p, .ugb-cta__description",default:Object(a.J)()},showDescription:{type:"boolean",default:!0}},Object(a.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(a.o)("button%s",{selector:".ugb-button"}),{},Object(a.j)("column%s"),{hoverEffect:{type:"string",default:""}},Object(a.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("button%sBottomMargin",{type:"number",default:""}),{},Object(a.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"])),U="ugb/cta",W={title:Object(s.__)("Call to Action",r.i18n),description:Object(s.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",r.i18n),icon:i.e,category:"layout",keywords:[Object(s.__)("Call to Action",r.i18n),Object(s.__)("Stackable",r.i18n),Object(s.__)("CTA",r.i18n)],attributes:L,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(U)},deprecated:f,edit:F,save:z,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(l.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.design.no-text-attributes","stackable/card",function(e){return Object(r.omit)(e,["title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button2Text","button3Text"])}),Object(o.addFilter)("stackable.card.design.filtered-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,[].concat(l(t&&t.image1Id?["image1Url"]:[]),["image1Id"],l(t&&t.image2Id?["image2Url"]:[]),["image2Id"],l(t&&t.image3Id?["image3Url"]:[]),["image3Id","button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow"]))});var c=n(19),s=n(8),u=n.n(s),b=n(1),p=n(0),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=[{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:Object(p.__)("Title for This Block",b.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(p.__)("Subtitle for this block",b.i18n)},des:{source:"html",selector:".ugb-card__description",default:Object(i.J)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(p.__)("Button text",b.i18n)},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,i=a.heading,r=a.tagline,l=a.des,s=a.mediaURL,b=a.headingColor,p=a.taglineColor,g=a.desColor,h=a.buttonURL,v=a.buttonNewTab,y=a.buttonText,O=a.buttonColor,w=a.buttonTextColor,_=a.size,j=a.cornerButtonRadius,k=a.contentAlign,C=a.buttonDesign,x=a.buttonIcon,E=a.design,S=void 0===E?"basic":E,A=a.backgroundColor,T=a.borderRadius,B=void 0===T?12:T,P=a.shadow,N=void 0===P?3:P,M=u()([n,"ugb-card"],Object(o.applyFilters)("stackable.card.mainclasses_1_17_3",(f(t={},"ugb-card--design-".concat(S),"basic"!==S),f(t,"ugb--shadow-".concat(N),"plain"!==S&&3!==N),t),S,e)),R={borderRadius:"plain"!==S?B:void 0,backgroundColor:"plain"!==S?A:void 0},F=u()(["ugb-card__image-container"],f({},"ugb--shadow-".concat(N),"plain"===S)),D={borderRadius:"plain"===S?B:void 0};return wp.element.createElement("div",{className:M,style:R},Object(o.applyFilters)("stackable.card.save.output.before_1_17_3",null,S,e),s&&wp.element.createElement("div",{className:F,style:d({},D,{backgroundImage:"url(".concat(s,")"),textAlign:k}),"data-src":s}),!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:b,textAlign:k},value:i}),!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:p,textAlign:k},value:r}),!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:g,textAlign:k},value:l}),y&&!!y.length&&wp.element.createElement(c.b,{size:_,url:h,newTab:v,align:k,color:w,text:y,icon:x,design:C,backgroundColor:O,borderRadius:j}),Object(o.applyFilters)("stackable.card.save.output.after_1_17_3",null,S,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-card([\s\{\[\.\#\:])/g,".ugb-card__item$1").replace(/\.ugb-card__tagline([\s\{\[\.\#\:])/g,".ugb-card__subtitle$1").replace(/\.ugb-card__image-container([\s\{\[\.\#\:])/g,".ugb-card__image$1")};return d({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),columns:1,showButton:!!e.buttonText,image1Id:e.mediaID,image1Url:e.mediaURL,title1:e.heading,subtitle1:e.tagline,description1:e.des,titleColor:e.headingColor,subtitleColor:e.taglineColor,descriptionColor:e.desColor,button1Url:e.buttonURL,button1NewTab:e.buttonNewTab,button1Text:e.buttonText,buttonBackgroundColor:e.buttonColor,buttonIcon:e.buttonIcon,buttonTextColor:e.buttonTextColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,buttonDesign:e.buttonDesign,columnBackgroundColor:e.backgroundColor})}}],v=n(3),y=n(10),O=n(272),w=n.n(O),_=n(273),j=n.n(_),k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showImage,r=void 0===i||i,l=t.showTitle,c=void 0===l||l,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,p=void 0===b||b,m=t.showButton,g=void 0===m||m;return Object(o.applyFilters)("stackable.card.show",{columnBackground:"plain"!==a,borderRadius:!0,shadow:!0,imageHeight:("basic"===a||"plain"===a)&&"horizontal-card"!==a,imageWidth:"horizontal"===a,imageSpacing:"plain"===a&&r,titleSpacing:c,subtitleSpacing:u,descriptionSpacing:p,buttonSpacing:g},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=Object(i.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,r=x(e),o=[];if(o.push({".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("contentAlign")},tablet:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),r.borderRadius){var l=r.columnBackground?".ugb-card__item":".ugb-card__image";o.push(T({},l,{borderRadius:t("borderRadius","%spx !important")}))}o.push(A({},r.columnBackground?Object(i.l)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),o.push({".ugb-card__item1 .ugb-card__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-card__item2 .ugb-card__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-card__item3 .ugb-card__image":{backgroundImage:t("image3Url","url(%s)")}}),o.push(A({},Object(i.w)("image%s","ugb-card__image",e.attributes))),r.imageHeight&&o.push.apply(o,E(Object(i.C)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,!0))),r.imageWidth&&o.push({".ugb-card__image":{width:t("imageBackgroundWidth")?Object(i.c)(t("imageBackgroundWidth")+t("imageBackgroundWidthUnit","%s","%")):void 0},tablet:{".ugb-card__image":{width:t("imageBackgroundTabletWidth")?Object(i.c)(t("imageBackgroundTabletWidth")+t("imageBackgroundTabletWidthUnit","%s","%")):void 0}},mobile:{".ugb-card__image":{width:t("imageBackgroundMobileWidth")?Object(i.c)(t("imageBackgroundMobileWidth")+t("imageBackgroundMobileWidthUnit","%s","%")):void 0}}});var c=e.attributes,s=c.titleColor,u=void 0===s?"":s,b=c.showTitle;(void 0===b||b)&&o.push({".ugb-card__title":A({},Object(i.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(u,r.columnBackground&&a)),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-card__title":A({},Object(i.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-card__title":A({},Object(i.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var p=e.attributes,m=p.subtitleColor,g=void 0===m?"":m,d=p.showSubtitle;(void 0===d||d)&&o.push({".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(g,r.columnBackground&&a)),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var f=e.attributes,h=f.descriptionColor,v=void 0===h?"":h,y=f.showDescription;(void 0===y||y)&&o.push({".ugb-card__description":A({},Object(i.H)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(v,r.columnBackground&&a)),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-card__description":A({},Object(i.H)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-card__description":A({},Object(i.H)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var O=e.attributes.showButton;return(void 0===O||O)&&(o.push(A({},Object(i.p)("button%s","ugb-button",e.attributes))),o.push.apply(o,E(Object(i.C)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,!0)))),r.imageSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.titleSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.subtitleSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.descriptionSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.buttonSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),C.a.all(o)},P=n(11),N=n(12),M=n(6),R=n(13);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.edit.inspector.layout.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(v.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.card.edit.layouts",[{label:Object(p.__)("Basic",b.i18n),value:"basic",image:w.a},{label:Object(p.__)("Plain",b.i18n),value:"plain",image:j.a}]),onChange:function(e){return n({design:e})}},b.showProNotice&&wp.element.createElement(v.gb,null)))}),Object(o.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=a.borderRadius,l=void 0===o?"":o,c=a.shadow,s=void 0===c?"":c,u=a.showImage,m=void 0===u||u,g=a.showTitle,d=void 0===g||g,f=a.showSubtitle,h=void 0===f||f,y=a.showDescription,O=void 0===y||y,w=a.showButton,_=void 0===w||w,j=a.image1Id,k=void 0===j?"":j,C=a.image2Id,E=void 0===C?"":C,S=a.image3Id,A=void 0===S?"":S,T=a.imageBackgroundWidth,B=void 0===T?"":T,N=a.imageBackgroundTabletWidth,R=void 0===N?"":N,F=a.imageBackgroundMobileWidth,z=void 0===F?"":F,I=a.imageBackgroundWidthUnit,H=void 0===I?"%":I,L=a.imageBackgroundTabletWidthUnit,U=void 0===L?"%":L,W=a.imageBackgroundMobileWidthUnit,G=void 0===W?"%":W,V=a.titleTag,q=void 0===V?"":V,J=a.titleColor,Y=void 0===J?"":J,X=a.descriptionColor,K=void 0===X?"":X,$=a.subtitleColor,Z=void 0===$||$,Q=x(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(p.__)("General",b.i18n)},wp.element.createElement(v.c,{label:Object(p.__)("Columns",b.i18n),value:r,onChange:function(e){return n({columns:e})},min:1,max:3,className:"ugb--help-tip-general-columns"}),Q.borderRadius&&wp.element.createElement(v.c,{label:Object(p.__)("Border Radius",b.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Q.shadow&&wp.element.createElement(v.c,{label:Object(p.__)("Shadow / Outline",b.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(v.u,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBackground&&wp.element.createElement(v.cb,{title:Object(p.__)("Column Background",b.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(v.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(v.cb,{title:Object(p.__)("Image",b.i18n),checked:m,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:[].concat(D(Object(i.u)("image%s")),D(Object(i.z)("imageBackground%sHeight")),D(Object(i.z)("imageBackground%sWidth"))),toggleAttributeName:"showImage"},wp.element.createElement(v.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(i.R)(k,e||"large"),image2Url:Object(i.R)(E,e||"large"),image3Url:Object(i.R)(A,e||"large")})}}),Q.imageHeight&&wp.element.createElement(v.hb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image Height",b.i18n),min:50,max:1e3,allowReset:!0,placeholder:"300",className:"ugb--help-tip-image-height-crop"})),Q.imageWidth&&wp.element.createElement(M.Fragment,null,wp.element.createElement(v.ub,null,wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:B,unit:H,onChange:function(e){return n({imageBackgroundWidth:e})},onChangeUnit:function(e){return n({imageBackgroundWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"tablet"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:R,unit:U,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"mobile"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:z,unit:G,onChange:function(e){return n({imageBackgroundMobileWidth:e})},onChangeUnit:function(e){return n({imageBackgroundMobileWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})))),wp.element.createElement(v.cb,{title:Object(p.__)("Title",b.i18n),id:"title",checked:d,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("title%s")),["titleTag","titleColor"],D(Object(i.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(v.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.J,{value:q||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(v.s,{value:Y,onChange:function(e){return n({titleColor:e})},label:Object(p.__)("Title Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Subtitle",b.i18n),id:"subtitle",checked:h,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("subtitle%s")),["subtitleColor"],D(Object(i.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(v.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:Z,onChange:function(e){return n({subtitleColor:e})},label:Object(p.__)("Subtitle Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Description",b.i18n),id:"description",checked:O,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("description%s")),["descriptionColor"],D(Object(i.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(v.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:K,onChange:function(e){return n({descriptionColor:e})},label:Object(p.__)("Description Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Button",b.i18n),id:"button",checked:_,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(D(Object(i.n)("button%s")),D(Object(i.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(v.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(v.v,null),wp.element.createElement(v.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(v.db,{initialOpen:!1,blockProps:t},Q.imageSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),Q.titleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Title",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.subtitleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Subtitle",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.descriptionSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Description",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Q.buttonSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Button",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(N.compose)(y.i,y.g,y.d,Object(y.h)(),Object(y.c)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(y.a)(B,{editorMode:!0}),Object(y.b)([[".ugb-card__title","title"],[".ugb-card__subtitle","subtitle"],[".ugb-card__description","description"],[".ugb-button","button"],[".ugb-card__item","column-background"]]),Object(R.withSelect)(function(e,t){Object(i.f)(t.attributes.image1Id,e),Object(i.f)(t.attributes.image2Id,e),Object(i.f)(t.attributes.image3Id,e)}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,l=a.columns,c=void 0===l?2:l,s=a.design,g=void 0===s?"basic":s,d=a.shadow,f=void 0===d?"":d,h=a.imageSize,y=void 0===h?"":h,O=a.titleTag,w=void 0===O?"h4":O,_=a.showImage,j=void 0===_||_,k=a.showTitle,C=void 0===k||k,E=a.showSubtitle,S=void 0===E||E,A=a.showDescription,T=void 0===A||A,B=a.showButton,P=void 0===B||B,N=a.buttonIcon,R=void 0===N?"":N,D=x(e),z=u()([t,"ugb-card--v2","ugb-card--design-".concat(g),"ugb-card--columns-".concat(c)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Edit,{className:z,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,c+1).map(function(t){var r=a["image".concat(t,"Url")],l=a["image".concat(t,"Id")],c=a["title".concat(t)],s=a["subtitle".concat(t)],g=a["description".concat(t)],d=a["button".concat(t,"Text")],h=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",F({},"ugb--shadow-".concat(f),D.columnBackground&&""!==f),e)),O=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",F({},"ugb--shadow-".concat(f),!D.columnBackground),e));return wp.element.createElement(v.D,{className:h,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground,key:t},j&&wp.element.createElement(v.Y,{imageID:l,imageURL:r,imageSize:y,className:O,onRemove:function(){var e;n((F(e={},"image".concat(t,"Url"),""),F(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a;n((F(a={},"image".concat(t,"Url"),e.url),F(a,"image".concat(t,"Id"),e.id),a))}}),wp.element.createElement("div",{className:"ugb-card__content"},C&&wp.element.createElement(m.RichText,{tagName:w||"h4",value:c,className:"ugb-card__title",placeholder:Object(p.__)("Title for This Block",b.i18n),onChange:function(e){return n(F({},"title".concat(t),e))},keepPlaceholderOnFocus:!0}),S&&wp.element.createElement(m.RichText,{tagName:"p",value:s,className:"ugb-card__subtitle",onChange:function(e){return n(F({},"subtitle".concat(t),e))},placeholder:Object(p.__)("Subtitle for this block",b.i18n),keepPlaceholderOnFocus:!0}),T&&wp.element.createElement(m.RichText,{tagName:"p",value:g,className:"ugb-card__description",onChange:function(e){return n(F({},"description".concat(t),e))},placeholder:Object(i.J)("medium"),keepPlaceholderOnFocus:!0}),P&&wp.element.createElement(v.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,text:d,icon:a["button".concat(t,"Icon")]||R,onChange:function(e){return n(F({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(F({},"button".concat(t,"Icon"),e))},url:a["button".concat(t,"Url")],newTab:a["button".concat(t,"NewTab")],noFollow:a["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(F({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(F({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(F({},"button".concat(t,"NoFollow"),e))}})))}))}})});function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=Object(N.compose)(y.i,Object(y.a)(B))(function(e){var t=e.className,n=e.attributes,a=n.columns,i=void 0===a?2:a,l=n.design,c=void 0===l?"basic":l,s=n.shadow,b=void 0===s?"":s,p=n.titleTag,g=void 0===p?"h4":p,d=n.showImage,f=void 0===d||d,h=n.showTitle,y=void 0===h||h,O=n.showSubtitle,w=void 0===O||O,_=n.showDescription,j=void 0===_||_,k=n.showButton,C=void 0===k||k,E=n.buttonIcon,S=void 0===E?"":E,A=x(e),T=u()([t,"ugb-card--v2","ugb-card--design-".concat(c),"ugb-card--columns-".concat(i)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Save,{className:T,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,i+1).map(function(t){var a=n["image".concat(t,"Url")],i=n["title".concat(t)],r=n["subtitle".concat(t)],l=n["description".concat(t)],c=n["button".concat(t,"Text")],s=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",I({},"ugb--shadow-".concat(b),A.columnBackground&&""!==b),e)),p=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",I({},"ugb--shadow-".concat(b),!A.columnBackground),e));return wp.element.createElement(v.D,{className:s,backgroundAttrName:"column%s",blockProps:e,showBackground:A.columnBackground,key:t},f&&a&&wp.element.createElement("div",{className:p}),wp.element.createElement("div",{className:"ugb-card__content"},y&&!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:g||"h4",className:"ugb-card__title",value:i}),w&&!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__subtitle",value:r}),j&&!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",value:l}),C&&!m.RichText.isEmpty(c)&&wp.element.createElement(v.p.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,text:c,icon:n["button".concat(t,"Icon")]||S,url:n["button".concat(t,"Url")],newTab:n["button".concat(t,"NewTab")],noFollow:n["button".concat(t,"NoFollow")]})))}))}})});function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return W}),n.d(t,"name",function(){return G}),n.d(t,"settings",function(){return V});var W=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(i.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(i.v)("image%s"),{},Object(i.h)("imageBackground%s%s",{type:"number",default:""},["","Tablet","Mobile"],["Width","Height"]),{},Object(i.A)("imageBackground%sWidthUnit",{type:"string",default:"%"}),{},Object(i.h)("image%sId",{type:"number",default:""},["1","2","3"]),{},Object(i.h)("image%sUrl",{type:"string",default:""},["1","2","3"]),{},Object(i.h)("title%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__title",default:Object(p.__)("Title for This Block",b.i18n)},["1","2","3"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(i.G)("title%s"),{titleColor:{type:"string",default:""}},Object(i.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__subtitle",default:Object(p.__)("Subtitle for This Block",b.i18n)},["1","2","3"]),{showSubtitle:{type:"boolean",default:!0}},Object(i.G)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(i.h)("description%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__description",default:Object(i.J)("medium")},["1","2","3"]),{showDescription:{type:"boolean",default:!0}},Object(i.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(i.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(i.o)("button1%s",{selector:".ugb-card__item1 .ugb-button"}),{},Object(i.o)("button2%s",{selector:".ugb-card__item2 .ugb-button"}),{},Object(i.o)("button3%s",{selector:".ugb-card__item3 .ugb-button"}),{},Object(i.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(i.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(i.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3"]),{hoverEffect:{type:"string",default:""}}),G="ugb/card",V={title:Object(p.__)("Card",b.i18n),description:Object(p.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",b.i18n),icon:a.f,category:"layout",keywords:[Object(p.__)("Card",b.i18n),Object(p.__)("Stackable",b.i18n)],attributes:W,supports:{inserter:!b.disabledBlocks.includes(G)},deprecated:h,edit:z,save:H,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.card.custom-css.default","")}}};Object(o.addFilter)("stackable.card.advanced-column-spacing.paddings.selector","stackable/card",function(){return".ugb-card__content"}),Object(o.addFilter)("stackable.card.advanced-column-spacing.vertical-align.selector","stackable/card",function(){return".ugb-card__content"})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature-grid.design.no-text-attributes","stackable/feature-grid",function(e){return Object(a.omit)(e,["title1","title2","title3","title4","description1","description2","description3","description4","button1Text","button2Text","button3Text","button4Text"])}),Object(i.addFilter)("stackable.feature-grid.design.filtered-block-attributes","stackable/feature-grid",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["image1Id"].concat(r(t&&t.image1Id?["image1Url"]:[]),["image2Id"],r(t&&t.image2Id?["image2Url"]:[]),["image3Id"],r(t&&t.image3Id?["image3Url"]:[]),["image4Id"],r(t&&t.image4Id?["image4Url"]:[]),["button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow","button4Url","button4NewTab","button4NoFollow"]))});var o=n(19),l=n(2),c=n(8),s=n.n(c),u=n(1),b=n(31),p=n.n(b),m=n(7),g=n(0);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=[{attributes:{design:{type:"string",default:"basic"},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"},imageAlt1:{type:"string"},imageAlt2:{type:"string"},imageAlt3:{type:"string"},title1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},title2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},title3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},description1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__description",default:Object(l.J)("short")},description2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__description",default:Object(l.J)("short")},description3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__description",default:Object(l.J)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"href",default:""},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"href",default:""},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"href",default:""},newTab1:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"target",default:!1},newTab2:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"target",default:!1},newTab3:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"target",default:!1},linkText1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},linkText2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},linkText3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"link"},buttonIcon:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,r=t.imageSize,c=t.design,u=t.buttonColor,b=t.buttonTextColor,g=t.buttonSize,d=t.buttonBorderRadius,h=t.buttonDesign,v=void 0===h?"link":h,y=t.buttonIcon,O=t.borderRadius,w=void 0===O?12:O,_=t.shadow,j=void 0===_?3:_,k=s()([n,"ugb-feature-grid","ugb-feature-grid--columns-".concat(a)],Object(i.applyFilters)("stackable.feature-grid.mainclasses_1_17_2",f({},"ugb-feature-grid--design-".concat(c),c&&"basic"!==c),c,e)),C={borderRadius:"plain"!==c&&12!==w?w:void 0};return wp.element.createElement("div",{className:k},Object(i.applyFilters)("stackable.feature-grid.edit.output.before_1_17_2",null,c,e),Object(l.jb)(1,a+1).map(function(n){var a=t["imageUrl".concat(n)],l=t["imageAlt".concat(n)],h=t["title".concat(n)],O=t["description".concat(n)],w=t["linkUrl".concat(n)],_=t["newTab".concat(n)],k=t["linkText".concat(n)],x=s()(["ugb-feature-grid__item"],Object(i.applyFilters)("stackable.feature-grid.itemclasses_1_17_2",f({},"ugb--shadow-".concat(j),"plain"!==c&&3!==j),c,n,e)),E=Object(i.applyFilters)("stackable.feature-grid.itemstyles_1_17_2",{image:{width:a?"".concat(r,"%"):void 0}},c,n,e);return wp.element.createElement("div",{className:x,style:C,key:n},a&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement("img",{src:a,style:E.image,alt:p()(h||l)})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},!m.RichText.isEmpty(h)&&wp.element.createElement(m.RichText.Content,{tagName:"h5",className:"ugb-feature-grid__title",value:h}),!m.RichText.isEmpty(O)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:O}),!m.RichText.isEmpty(k)&&wp.element.createElement(o.b,{size:g,url:w,newTab:_,color:b,text:k,icon:y,design:v,backgroundColor:u,borderRadius:d})))}),Object(i.applyFilters)("stackable.feature-grid.edit.output.after_1_17_2",null,c,e))},migrate:function(e){var t;if(e.imageSize&&"horizontal"!==e.design){var n="wide"!==e.align?u.contentWidth||900:1200,a="plain"===e.design?0:70,i=1===e.columns?n-a:2===e.columns?(n-35)/2-a:(n-70)/3-a;t=parseInt((parseInt(e.imageSize,10)||100)/100*i,10)}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image1Url:e.imageUrl1,image2Url:e.imageUrl2,image3Url:e.imageUrl3,image1Alt:e.imageAlt1,image2Alt:e.imageAlt2,image3Alt:e.imageAlt3,button1Url:e.linkUrl1,button2Url:e.linkUrl2,button3Url:e.linkUrl3,button1NewTab:e.newTab1,button2NewTab:e.newTab2,button3NewTab:e.newTab3,button1Text:e.linkText1,button2Text:e.linkText2,button3Text:e.linkText3,buttonBackgroundColor:e.buttonColor,imageWidth:t})}}],v=n(3),y=n(10),O=n(286),w=n.n(O),_=n(287),j=n.n(_),k=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showImage,o=void 0===r||r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(i.applyFilters)("stackable.feature-grid.show",{columnBackground:"plain"!==a,columnBackground1:"plain"!==a,columnBackground2:"plain"!==a,columnBackground3:"plain"!==a,columnBackground4:"plain"!==a,imageSpacing:o&&"horizontal"!==a,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p},e)},C=n(14),x=n.n(C);function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=Object(l.b)(e.attributes),n=k(e),a=e.attributes,r=a.columnBackgroundColor,o=void 0===r?"":r,c=a.showImage,s=void 0===c||c,u=a.contentAlign,b=void 0===u?"":u,p=[];n.columnBackground&&p.push({".ugb-feature-grid__item":{borderRadius:t("borderRadius","%spx !important")}});var m=Object(i.applyFilters)("stackable.feature-grid.styles.column-background","ugb-feature-grid__item",e.attributes);m&&p.push(A({},n.columnBackground?Object(l.l)("column%s",m,e.attributes,{importantBackgroundColor:!0}):{}));var g=e.attributes,d=g.imageAlign,f=void 0===d?"":d,h=g.imageTabletAlign,v=void 0===h?"":h,y=g.tabletContentAlign,O=void 0===y?"":y,w=g.imageMobileAlign,_=void 0===w?"":w,j=g.mobileContentAlign,C=void 0===j?"":j;s&&(p.push(A({},Object(l.y)("image%s","ugb-img",e.attributes))),p.push({".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==f||""!==b?Object(l.db)(f||b)+" !important":void 0,marginRight:""!==f||""!==b?Object(l.eb)(f||b)+" !important":void 0},tablet:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==v||""!==O?Object(l.db)(v||O)+" !important":void 0,marginRight:""!==v||""!==O?Object(l.eb)(v||O)+" !important":void 0}},mobile:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==_||""!==C?Object(l.db)(_||C)+" !important":void 0,marginRight:""!==_||""!==C?Object(l.eb)(_||C)+" !important":void 0}}}));var S=e.attributes,B=S.titleColor,P=void 0===B?"":B,N=S.showTitle;if(void 0===N||N){var M=Object(i.applyFilters)("stackable.feature-grid.styles.title.color-selector",".ugb-feature-grid__title",e);p.push(T({},M,{color:Object(l.rb)(P,n.columnBackground&&o)})),p.push({".ugb-feature-grid__title":A({},Object(l.H)("title%s","desktop",e.attributes),{textAlign:t("titleAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__title":A({},Object(l.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__title":A({},Object(l.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")||t("mobileContentAlign")})}})}var R=e.attributes,F=R.descriptionColor,D=void 0===F?"":F,z=R.showDescription;if(void 0===z||z){var I=Object(i.applyFilters)("stackable.feature-grid.styles.description.color-selector",".ugb-feature-grid__description",e);p.push(T({},I,{color:Object(l.rb)(D,n.columnBackground&&o)})),p.push({".ugb-feature-grid__description":A({},Object(l.H)("description%s","desktop",e.attributes),{textAlign:t("descriptionAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__description":A({},Object(l.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__description":A({},Object(l.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")||t("mobileContentAlign")})}})}var H=e.attributes,L=H.showButton,U=void 0===L||L,W=H.buttonDesign,G=void 0===W?"":W;return U&&(p.push(A({},Object(l.p)("button%s","ugb-button",A({},e.attributes,{buttonDesign:G||"plain"})))),p.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")||t("contentAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")||t("tabletContentAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")||t("mobileContentAlign","%s !important")}}})),n.imageSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),x.a.all(p)},P=n(11),N=n(12),M=n(6),R=n(13);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature-grid.edit.inspector.layout.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(v.A,{initialOpen:!0,selected:r,options:[{image:w.a,label:Object(g.__)("Basic",u.i18n),value:"basic"},{image:j.a,label:Object(g.__)("Plain",u.i18n),value:"plain"}].concat(D(Object(i.applyFilters)("stackable.feature-grid.edit.layouts",[]))),onChange:function(e){n({design:e})}},u.showProNotice&&wp.element.createElement(v.gb,null)))}),Object(i.addFilter)("stackable.feature-grid.edit.inspector.style.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.columns,r=a.borderRadius,o=void 0===r?"":r,c=a.shadow,s=void 0===c?"":c,b=a.showTitle,p=void 0===b||b,m=a.showDescription,d=void 0===m||m,f=a.titleTag,h=void 0===f?"":f,y=a.titleColor,O=void 0===y?"":y,w=a.descriptionColor,_=void 0===w?"":w,j=a.showImage,C=void 0===j||j,x=a.showButton,E=void 0===x||x,S=a.image1Id,A=void 0===S?"":S,T=a.image2Id,B=void 0===T?"":T,N=a.image3Id,R=void 0===N?"":N,F=a.image4Id,z=void 0===F?"":F,I=k(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(g.__)("General",u.i18n)},wp.element.createElement(v.c,{label:Object(g.__)("Columns",u.i18n),value:i,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),I.columnBackground&&wp.element.createElement(v.c,{label:Object(g.__)("Border Radius",u.i18n),value:o,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),I.columnBackground&&wp.element.createElement(v.c,{label:Object(g.__)("Shadow / Outline",u.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(v.u,{setAttributes:n,blockAttributes:t.attributes})),I.columnBackground&&wp.element.createElement(v.cb,{title:Object(g.__)("Column Background",u.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(v.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(v.cb,{title:Object(g.__)("Image",u.i18n),checked:C,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize","imageShape","imageShapeFlipX","imageShapeFlipY","imageShapeStretch","imageWidth"].concat(D(Object(l.z)("image%sWidth")),["imageBorderRadius","imageShadow","imageBlendMode"]),toggleAttributeName:"showImage"},wp.element.createElement(v.U,{attrNameTemplate:"image%s",setAttributes:t.setAttributes,blockAttributes:t.attributes,onChangeImage:!1,onChangeAlt:!1,onChangeBlendMode:!1,onChangeSize:function(e){n({imageSize:e,image1Url:Object(l.R)(A,e||"medium"),image2Url:Object(l.R)(B,e||"medium"),image3Url:Object(l.R)(R,e||"medium"),image4Url:Object(l.R)(z,e||"medium")})}}),wp.element.createElement(v.hb,{attrNameTemplate:"Image%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-image"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Title",u.i18n),id:"title",checked:p,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(D(Object(l.F)("title%s")),["titleTag","titleColor"],D(Object(l.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(v.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.J,{value:h||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(v.s,{value:O,onChange:function(e){return n({titleColor:e})},label:Object(g.__)("Title Color",u.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Description",u.i18n),id:"description",checked:d,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(D(Object(l.F)("description%s")),["descriptionColor"],D(Object(l.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(v.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:_,onChange:function(e){return n({descriptionColor:e})},label:Object(g.__)("Description Color",u.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Button",u.i18n),id:"button",checked:E,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:D(Object(l.n)("button%s")),toggleAttributeName:"showButton"},wp.element.createElement(v.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,design:t.attributes.buttonDesign||"plain",onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(v.v,null),wp.element.createElement(v.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(v.db,{initialOpen:!1,blockProps:t},I.imageSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Image",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),I.titleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Title",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),I.descriptionSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Description",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),I.buttonSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Button",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(N.compose)(y.i,y.g,y.d,Object(y.h)(),Object(y.c)(["Image%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(y.a)(B,{editorMode:!0}),Object(y.b)([[".ugb-feature-grid__item","column-background"],[".ugb-feature-grid__title","title"],[".ugb-feature-grid__description","description"],[".ugb-button","button"]]),Object(R.withSelect)(function(e,t){Object(l.f)(t.attributes.image1Id,e),Object(l.f)(t.attributes.image2Id,e),Object(l.f)(t.attributes.image3Id,e),Object(l.f)(t.attributes.image4Id,e)}))(function(e){var t=e.className,n=e.setAttributes,r=e.attributes,o=r.columns,c=void 0===o?3:o,b=r.titleTag,p=void 0===b?"":b,d=r.imageSize,f=r.imageShape,h=void 0===f?"":f,y=r.imageShapeStretch,O=void 0!==y&&y,w=r.imageWidth,_=void 0===w?"":w,j=r.imageShadow,C=void 0===j?"":j,x=r.design,E=void 0===x?"basic":x,S=r.shadow,A=void 0===S?"":S,T=r.showImage,B=void 0===T||T,P=r.showTitle,N=void 0===P||P,R=r.showDescription,D=void 0===R||R,z=r.showButton,I=void 0===z||z,H=r.buttonIcon,L=void 0===H?"":H,U=s()([t,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(E)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),W=k(e);return wp.element.createElement(v.k.Edit,{className:U,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(t){var a=r["image".concat(t,"Url")],o=r["image".concat(t,"Id")],c=r["image".concat(t,"Alt")],b=r["title".concat(t)],f=r["description".concat(t)],y=r["button".concat(t,"Text")],w=s()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(t)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",F({},"ugb--shadow-".concat(A),W.columnBackground&&""!==A),e,t));return wp.element.createElement(v.D,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:W.columnBackground&&W["columnBackground".concat(t)],key:t},B&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(v.Y,{imageID:o,imageURL:a,imageSize:d,onRemove:function(){var e;n((F(e={},"image".concat(t,"Url"),""),F(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a,i=e.url,r=e.id;n((F(a={},"image".concat(t,"Url"),i),F(a,"image".concat(t,"Id"),r),a))},render:wp.element.createElement(v.O,{imageId:o,src:a,size:d,shape:r["image".concat(t,"Shape")]||h,shapeStretch:r["image".concat(t,"ShapeStretch")]||O,alt:c,shadow:C,width:_})})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},N&&wp.element.createElement(m.RichText,{tagName:p||"h5",className:"ugb-feature-grid__title",value:b,onChange:function(e){return n(F({},"title".concat(t),e))},placeholder:Object(g.__)("Title",u.i18n),keepPlaceholderOnFocus:!0}),D&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-feature-grid__description",value:f,onChange:function(e){return n(F({},"description".concat(t),e))},placeholder:Object(l.J)("short"),keepPlaceholderOnFocus:!0}),I&&wp.element.createElement(v.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,designDefault:"plain",text:y,icon:r["button".concat(t,"Icon")]||L,onChange:function(e){return n(F({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(F({},"button".concat(t,"Icon"),e))},url:r["button".concat(t,"Url")],newTab:r["button".concat(t,"NewTab")],noFollow:r["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(F({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(F({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(F({},"button".concat(t,"NoFollow"),e))}})))}))}})});var I=Object(N.compose)(y.i,Object(y.a)(B))(function(e){var t=e.attributes,n=e.className,r=t.design,o=void 0===r?"basic":r,l=t.columns,c=void 0===l?3:l,u=t.imageShape,b=void 0===u?"":u,p=t.imageShapeStretch,g=void 0!==p&&p,d=t.imageWidth,f=void 0===d?"":d,h=t.imageShadow,y=void 0===h?"":h,O=t.titleTag,w=void 0===O?"":O,_=t.shadow,j=void 0===_?"":_,C=t.showImage,x=void 0===C||C,E=t.showTitle,S=void 0===E||E,A=t.showDescription,T=void 0===A||A,B=t.showButton,P=void 0===B||B,N=t.buttonIcon,R=void 0===N?"":N,F=s()([n,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(o)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),D=k(e);return wp.element.createElement(v.k.Save,{className:F,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(n){var a,r,o,l=t["image".concat(n,"Url")],c=t["image".concat(n,"Id")],u=t["image".concat(n,"Alt")],p=t["title".concat(n)],d=t["description".concat(n)],h=t["button".concat(n,"Text")],O=s()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(n)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",(a={},r="ugb--shadow-".concat(j),o=D.columnBackground&&""!==j,r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a),e,n));return wp.element.createElement(v.D,{className:O,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground&&D["columnBackground".concat(n)],key:n},l&&x&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(v.O,{imageId:c,src:l,width:f,alt:u||S&&p,shadow:y,shape:t["image".concat(n,"Shape")]||b,shapeStretch:t["image".concat(n,"ShapeStretch")]||g})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},S&&!m.RichText.isEmpty(p)&&wp.element.createElement(m.RichText.Content,{tagName:w||"h5",className:"ugb-feature-grid__title",value:p}),T&&!m.RichText.isEmpty(d)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:d}),P&&!m.RichText.isEmpty(h)&&wp.element.createElement(v.p.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,designDefault:"plain",text:h,icon:t["button".concat(n,"Icon")]||R,url:t["button".concat(n,"Url")],newTab:t["button".concat(n,"NewTab")],noFollow:t["button".concat(n,"NoFollow")]})))}))}})}),H=n(16);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){W(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return G}),n.d(t,"name",function(){return V}),n.d(t,"settings",function(){return q});var G=U({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(l.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(l.t)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(l.h)("image%sId",{type:"number",default:""},["1","2","3","4"]),{},Object(l.h)("image%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"src"},["1","2","3","4"]),{},Object(l.h)("image%sAlt",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"alt"},["1","2","3","4"]),{},Object(l.h)("image%sShape",{type:"string",default:""},["1","2","3","4"]),{},Object(l.h)("image%s%s",{type:"boolean",default:!1},["1","2","3","4"],["ShapeFlipX","ShapeFlipY","ShapeStretch"]),{showTitle:{type:"boolean",default:!0}},Object(l.h)("title%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},["1","2","3","4"]),{titleTag:{type:"string",default:""}},Object(l.G)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(l.h)("description%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__description",default:Object(l.J)("short")},["1","2","3","4"]),{},Object(l.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(l.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(l.o)("button1%s",{selector:".ugb-feature-grid__item1 .ugb-button"}),{},Object(l.o)("button2%s",{selector:".ugb-feature-grid__item2 .ugb-button"}),{},Object(l.o)("button3%s",{selector:".ugb-feature-grid__item3 .ugb-button"}),{},Object(l.o)("button4%s",{selector:".ugb-feature-grid__item4 .ugb-button"}),{},Object(l.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{},Object(l.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}},Object(l.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3","4"])),V="ugb/feature-grid",q={title:Object(g.__)("Feature Grid",u.i18n),description:Object(g.__)("Display multiple product features or services. You can use Feature Grids one after another.",u.i18n),icon:H.l,category:"layout",keywords:[Object(g.__)("Feature Grid",u.i18n),Object(g.__)("Stackable",u.i18n)],attributes:G,supports:{align:["wide"],inserter:!u.disabledBlocks.includes(V)},deprecated:h,edit:z,save:I,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.feature-grid.custom-css.default","")}}};Object(i.addFilter)("stackable.feature-grid.setAttributes","stackable/feature-grid/imageShape",function(e){return void 0!==e.imageShape?U({},e,{image1Shape:"",image2Shape:"",image3Shape:"",image4Shape:"",image1ShapeFlipX:"",image1ShapeFlipY:"",image1ShapeStretch:"",image2ShapeFlipX:"",image2ShapeFlipY:"",image2ShapeStretch:"",image3ShapeFlipX:"",image3ShapeFlipY:"",image3ShapeStretch:"",image4ShapeFlipX:"",image4ShapeFlipY:"",image4ShapeStretch:""}):void 0!==e.imageShapeFlipX?U({},e,{image1ShapeFlipX:"",image2ShapeFlipX:"",image3ShapeFlipX:"",image4ShapeFlipX:""}):void 0!==e.imageShapeFlipY?U({},e,{image1ShapeFlipY:"",image2ShapeFlipY:"",image3ShapeFlipY:"",image4ShapeFlipY:""}):void 0!==e.imageShapeStretch?U({},e,{image1ShapeStretch:"",image2ShapeStretch:"",image3ShapeStretch:"",image4ShapeStretch:""}):void 0!==e.columnBackgroundColor||void 0!==e.columnBackgroundColorType?U({},e,{column1BackgroundColor:"",column2BackgroundColor:"",column3BackgroundColor:"",column4BackgroundColor:""}):e})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature.design.no-text-attributes","stackable/feature",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(i.addFilter)("stackable.feature.design.filtered-block-attributes","stackable/feature",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["imageId"].concat(r(t&&t.imageId?["imageUrl"]:[]),["imageAlt","buttonUrl","buttonNewTab","buttonNoFollow"]))});var o=n(19),l=n(2),c=n(8),s=n.n(c),u=n(1),b=n(31),p=n.n(b),m=n(7),g=n(0);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},imageAlt:{type:"string"},title:{source:"html",selector:"h2",default:Object(g.__)("Title for This Block",u.i18n)},description:{source:"html",selector:"p",default:Object(l.J)("medium")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(g.__)("Button text",u.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,r=a.invert,l=a.contentAlign,c=a.textColor,u=a.imageAlt,b=void 0===u?"":u,g=a.imageSize,d=a.imageUrl,v=a.title,y=a.description,O=a.buttonURL,w=a.buttonNewTab,_=a.buttonText,j=a.buttonColor,k=a.buttonTextColor,C=a.buttonSize,x=a.buttonBorderRadius,E=a.buttonDesign,S=a.buttonIcon,A=a.backgroundColorType,T=void 0===A?"":A,B=a.backgroundColor,P=a.backgroundColor2,N=a.backgroundColorDirection,M=void 0===N?0:N,R=a.backgroundType,F=void 0===R?"":R,D=a.backgroundImageURL,z=a.backgroundOpacity,I=void 0===z?5:z,H=a.fixedBackground,L=a.contentWidth,U=a.align,W=a.design,G=void 0===W?"plain":W,V=a.borderRadius,q=void 0===V?12:V,J=a.shadow,Y=void 0===J?3:J,X=s()([n,"ugb-feature","ugb--background-opacity-"+1*Math.round(I/1),"ugb-feature--design-".concat(G)],Object(i.applyFilters)("stackable.feature.mainclasses_1_17_2",(h(t={},"ugb-feature--content-".concat(l),l),h(t,"ugb-feature--invert",r),h(t,"ugb--has-background","plain"!==G&&(B||D)),h(t,"ugb--has-background-image","plain"!==G&&D),h(t,"ugb--content-width","full"===U&&L),h(t,"ugb--shadow-".concat(Y),"plain"!==G&&3!==Y),h(t,"ugb--has-background-gradient","plain"!==G&&"gradient"===T),h(t,"ugb--has-background-video","plain"!==G&&"video"===F),t),G,e)),K=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses_1_17_2",h({},"ugb--shadow-".concat(Y),"plain"===G),G,e)),$="plain"===G?{}:{backgroundColor:B||void 0,backgroundImage:D?"url(".concat(D,")"):void 0,backgroundAttachment:H?"fixed":void 0,"--ugb-background-color":D||"gradient"===T?B:void 0,"--ugb-background-color2":"gradient"===T&&P?P:void 0,"--ugb-background-direction":"gradient"===T?"".concat(M,"deg"):void 0,borderRadius:12!==q?q:void 0},Z=Object(i.applyFilters)("stackable.feature.styles_1_17_2",{main:f({"--image-size":g?"".concat(g,"px"):void 0},$),image:{borderRadius:"plain"===G?q:void 0}},G,e),Q=!m.RichText.isEmpty(v)&&wp.element.createElement(m.RichText.Content,{tagName:"h2",className:"ugb-feature__title",style:{color:c},value:v}),ee=!m.RichText.isEmpty(y)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature__description",style:{color:c},value:y}),te=!m.RichText.isEmpty(_)&&wp.element.createElement(o.b,{size:C,url:O,newTab:w,align:l,color:k,text:_,icon:S,design:E,backgroundColor:j,borderRadius:x}),ne=d&&wp.element.createElement("img",{className:K,style:Z.image,src:d,alt:p()(v||b)}),ae={titleComp:Q,descriptionComp:ee,buttonComp:te,imageComp:ne};return wp.element.createElement("div",{className:X,style:Z.main},"basic"===G&&"video"===F&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:D}),Object(i.applyFilters)("stackable.feature.save.output.before_1_17_2",null,G,e),Object(i.applyFilters)("stackable.feature.save.output_1_17_2",wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-feature__content"},Q,ee,te),wp.element.createElement("div",{className:"ugb-feature__image-side"},ne)),ae,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-feature(\s*{)/g,"\n.ugb-feature__item$1")},n={overlap:"overlap-bg",overlap2:"overlap-bg2",overlap3:"overlap-bg4"};return f({},e,{design:Object.keys(n).includes(e.design)?n[e.design]:e.design,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),titleColor:e.textColor,descriptionColor:e.textColor,imageWidth:e.imageSize,imageId:e.imageID,imageUrl:e.imageUrl,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],y=n(3),O=n(10),w=n(288),_=n.n(w),j=n(289),k=n.n(j),C=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,o=void 0===r||r,l=t.showDescription,c=void 0===l||l,s=t.showButton,u=void 0===s||s;return Object(i.applyFilters)("stackable.feature.show",{imageColumnWidth:["basic","plain","half"].includes(a),containerWidth:a.match(/^overlap/),containerOffset:a.match(/^overlap(.*)?[2-5]$/),reverseHorizontally:!a.match(/^overlap-?\w*[45]$/),borderRadius:"plain"!==a,columnBackground:"plain"!==a,featuredImageAsBackground:a.match(/^(overlap-bg|half)/),titleSpacing:o,descriptionSpacing:c,buttonSpacing:u},e)},x=n(14),E=n.n(x);function S(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(n,!0).forEach(function(t){B(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){var t=Object(l.b)(e.attributes),n=C(e),a=e.attributes,i=a.design,r=void 0===i?"plain":i,o=a.columnBackgroundColor,c=void 0===o?"":o,s=a.invert,u=void 0!==s&&s,b=[],p=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=("number"!=typeof e?50:e)/100*2,a=2-n;return t?"".concat(a.toFixed(2),"fr ").concat(n.toFixed(2),"fr"):"".concat(n.toFixed(2),"fr ").concat(a.toFixed(2),"fr")};if(n.imageColumnWidth&&b.push({desktopTablet:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnWidth")?p(t("imageColumnWidth"),!u)+" !important":void 0}},tabletOnly:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnTabletWidth")?p(t("imageColumnTabletWidth"),!u)+" !important":void 0}}}),n.borderRadius){var m="basic"===r||"half"===r?".ugb-feature__item":".ugb-feature__content";b.push(B({},m,{borderRadius:t("borderRadius","%spx !important")}))}if(n.columnBackground){var g="basic"===r?"ugb-feature__item":"ugb-feature__content";b.push(T({},n.columnBackground?Object(l.l)("column%s",g,e.attributes,{importantBackgroundColor:!0}):{}))}n.featuredImageAsBackground?(b.push(T({},Object(l.w)("image%s","ugb-feature__image",e.attributes))),b.push({".ugb-feature__item":{height:t("imageBackgroundHeight","%spx !important")},tablet:{".ugb-feature__item":{height:t("imageBackgroundTabletHeight","%spx !important")}},mobile:{".ugb-feature__item":{height:t("imageBackgroundMobileHeight","%spx !important")}}})):b.push(T({},n.featuredImageAsBackground?{}:Object(l.y)("image%s","ugb-img",e.attributes)));var d=e.attributes,f=d.titleColor,h=void 0===f?"":f,v=d.showTitle;(void 0===v||v)&&b.push({".ugb-feature__title":T({},Object(l.H)("title%s","desktop",e.attributes),{color:Object(l.rb)(h,n.columnBackground&&c),textAlign:t("titleAlign")}),tablet:{".ugb-feature__title":T({},Object(l.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-feature__title":T({},Object(l.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var y=e.attributes,O=y.descriptionColor,w=void 0===O?"":O,_=y.showDescription;(void 0===_||_)&&b.push({".ugb-feature__description":T({},Object(l.H)("description%s","desktop",e.attributes),{color:Object(l.rb)(w,n.columnBackground&&c),textAlign:t("descriptionAlign")}),tablet:{".ugb-feature__description":T({},Object(l.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-feature__description":T({},Object(l.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}});var j=e.attributes.showButton;return(void 0===j||j)&&(b.push(T({},Object(l.p)("button%s","ugb-button",e.attributes))),b.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),n.titleSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-feature__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-feature__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),E.a.all(b)},N=n(11),M=n(6),R=n(12),F=n(13);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature.edit.inspector.layout.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"plain":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(y.A,{initialOpen:!0,selected:r,options:[{image:_.a,label:Object(g.__)("Basic",u.i18n),value:"basic"},{image:k.a,label:Object(g.__)("Plain",u.i18n),value:"plain"}].concat(z(Object(i.applyFilters)("stackable.feature.edit.layouts",[]))),onChange:function(e){n({design:e})}},u.showProNotice&&wp.element.createElement(y.gb,null)))}),Object(i.addFilter)("stackable.feature.edit.inspector.style.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,r=void 0===i?"":i,o=a.shadow,c=void 0===o?"":o,s=a.showTitle,b=void 0===s||s,p=a.titleTag,m=void 0===p?"":p,d=a.titleColor,f=void 0===d?"":d,h=a.invert,v=void 0!==h&&h,O=a.showButton,w=void 0===O||O,_=a.showDescription,j=void 0===_||_,k=a.descriptionColor,x=void 0===k?"":k,E=C(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(N.PanelBody,{title:Object(g.__)("General",u.i18n)},E.imageColumnWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"imageColumn%sWidth",setAttributes:n,blockAttributes:t.attributes,screens:["desktop","tablet"]},wp.element.createElement(y.c,{label:Object(g.__)("Image Column Width",u.i18n),min:0,max:100,allowReset:!0,placeholder:"50",className:"ugb--help-tip-image-column-width"})),E.containerWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"container%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Container Width",u.i18n),min:300,max:1e3,allowReset:!0,className:"ugb--help-tip-feature-container-width"})),E.containerOffset&&wp.element.createElement(y.hb,{attrNameTemplate:"container%sOffset",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Container Offset",u.i18n),min:0,max:300,allowReset:!0,className:"ugb--help-tip-feature-container-offset"})),E.reverseHorizontally&&wp.element.createElement(N.ToggleControl,{label:Object(g.__)("Reverse Horizontally",u.i18n),checked:v,onChange:function(e){return n({invert:e})}}),E.borderRadius&&wp.element.createElement(y.c,{label:Object(g.__)("Border Radius",u.i18n),value:r,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),E.columnBackground&&wp.element.createElement(y.c,{label:Object(g.__)("Shadow / Outline",u.i18n),value:c,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.u,{setAttributes:n,blockAttributes:t.attributes})),E.columnBackground&&wp.element.createElement(y.cb,{title:Object(g.__)("Background",u.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(N.PanelBody,{title:Object(g.__)("Image",u.i18n),initialOpen:!1},!E.featuredImageAsBackground&&wp.element.createElement(y.U,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeBlendMode:!1}),E.featuredImageAsBackground&&wp.element.createElement(M.Fragment,null,wp.element.createElement(y.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.hb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Image Height",u.i18n),min:400,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"})))),wp.element.createElement(y.cb,{title:Object(g.__)("Title",u.i18n),id:"title",checked:b,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(z(Object(l.F)("title%s")),["titleTag","titleColor"],z(Object(l.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.J,{value:m||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.s,{value:f,onChange:function(e){return n({titleColor:e})},label:Object(g.__)("Title Color",u.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.cb,{title:Object(g.__)("Description",u.i18n),id:"description",checked:j,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(z(Object(l.F)("description%s")),["descriptionColor"],z(Object(l.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:x,onChange:function(e){return n({descriptionColor:e})},label:Object(g.__)("Description Color",u.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(g.__)("Button",u.i18n),id:"button",checked:w,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(z(Object(l.n)("button%s")),z(Object(l.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(y.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.v,null),wp.element.createElement(y.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(y.db,{initialOpen:!1,blockProps:t},E.titleSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Title",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),E.descriptionSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Description",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),E.buttonSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Button",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var I=Object(R.compose)(O.i,O.g,O.d,Object(O.h)(),Object(O.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(O.a)(P,{editorMode:!0}),Object(O.b)([[".ugb-feature__item","column-background"],[".ugb-feature__title","title"],[".ugb-feature__description","description"],[".ugb-button","button"]]),Object(F.withSelect)(function(e,t){Object(l.f)(t.attributes.imageId,e)}))(function(e){var t,n=e.className,a=e.setAttributes,r=e.attributes,o=r.title,c=r.design,b=void 0===c?"basic":c,p=r.shadow,d=void 0===p?"":p,f=r.invert,h=void 0!==f&&f,v=r.showTitle,O=void 0===v||v,w=r.titleTag,_=void 0===w?"":w,j=r.showDescription,k=void 0===j||j,x=r.description,E=void 0===x?"":x,S=r.imageId,A=void 0===S?"":S,T=r.imageUrl,B=void 0===T?"":T,P=r.imageAlt,N=void 0===P?"":P,R=r.imageSize,F=void 0===R?"large":R,z=r.imageShape,I=void 0===z?"":z,H=r.imageShapeStretch,L=void 0!==H&&H,U=r.imageWidth,W=void 0===U?"":U,G=r.imageHeight,V=void 0===G?"":G,q=r.imageShadow,J=void 0===q?"":q,Y=r.showButton,X=void 0===Y||Y,K=C(e),$=s()([n,"ugb-feature--v2","ugb-feature--design-".concat(b)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":K.reverseHorizontally&&h},b,e)),Z=s()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",D({},"ugb--shadow-".concat(d),K.columnBackground&&("basic"===b||"half"===b)&&""!==d),e)),Q=s()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",D({},"ugb--shadow-".concat(d),K.columnBackground&&"basic"!==b&&"half"!==b&&""!==d),e)),ee=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(D(t={},"ugb--shadow-".concat(J),K.columnBackground&&"plain"===b&&""===I),D(t,"ugb-feature__image-has-shape",""!==I),t),b,e));return wp.element.createElement(y.k.Edit,{className:$,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,wp.element.createElement(y.D,{className:Z,backgroundAttrName:"column%s",blockProps:e,showBackground:K.columnBackground&&"basic"===b},wp.element.createElement(y.D,{className:Q,backgroundAttrName:"column%s",blockProps:e,showBackground:K.columnBackground&&"basic"!==b},O&&wp.element.createElement(m.RichText,{tagName:_||"h2",className:"ugb-feature__title",value:o,onChange:function(e){return a({title:e})},placeholder:Object(g.__)("Title for This Block",u.i18n),keepPlaceholderOnFocus:!0}),k&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-feature__description",value:E,onChange:function(e){return a({description:e})},placeholder:Object(l.J)("medium"),keepPlaceholderOnFocus:!0}),X&&wp.element.createElement(y.p,{attrNameTemplate:"button%s",setAttributes:a,blockAttributes:e.attributes})),!K.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(y.Y,{imageID:A,imageURL:B,imageSize:F,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})},render:wp.element.createElement(y.O,{imageId:A,src:B,size:F,shape:I,shapeStretch:L,alt:N,width:W,height:V,shadow:J})})),K.featuredImageAsBackground&&wp.element.createElement(y.Y,{imageID:A,imageURL:B,imageSize:F,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})}})))}})});function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=Object(R.compose)(O.i,Object(O.a)(P))(function(e){var t,n=e.className,a=e.attributes,r=a.title,o=a.design,l=void 0===o?"basic":o,c=a.shadow,u=void 0===c?"":c,b=a.invert,p=void 0!==b&&b,g=a.showTitle,d=void 0===g||g,f=a.titleTag,h=void 0===f?"":f,v=a.showDescription,O=void 0===v||v,w=a.description,_=void 0===w?"":w,j=a.imageId,k=void 0===j?"":j,x=a.imageUrl,E=void 0===x?"":x,S=a.imageAlt,A=void 0===S?"":S,T=a.imageShape,B=void 0===T?"":T,P=a.imageWidth,N=void 0===P?"":P,R=a.imageHeight,F=void 0===R?"":R,D=a.imageShadow,z=void 0===D?"":D,I=a.showButton,L=void 0===I||I,U=a.buttonUrl,W=void 0===U?"":U,G=a.buttonNewTab,V=void 0!==G&&G,q=a.buttonSize,J=void 0===q?"normal":q,Y=a.buttonText,X=void 0===Y?"":Y,K=a.buttonShadow,$=void 0===K?0:K,Z=a.buttonHoverEffect,Q=void 0===Z?"":Z,ee=a.buttonIcon,te=void 0===ee?"":ee,ne=a.buttonIconPosition,ae=void 0===ne?"":ne,ie=a.buttonDesign,re=void 0===ie?"basic":ie,oe=a.buttonHoverGhostToNormal,le=void 0!==oe&&oe,ce=a.buttonNoFollow,se=void 0!==ce&&ce,ue=C(e),be=s()([n,"ugb-feature--v2","ugb-feature--design-".concat(l)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":ue.reverseHorizontally&&p},l,e)),pe=s()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",H({},"ugb--shadow-".concat(u),ue.columnBackground&&("basic"===l||"half"===l)&&""!==u),e)),me=s()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",H({},"ugb--shadow-".concat(u),ue.columnBackground&&"basic"!==l&&"half"!==l&&""!==u),e)),ge=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(H(t={},"ugb--shadow-".concat(z),ue.columnBackground&&"plain"===l&&""===B),H(t,"ugb-feature__image-has-shape",""!==B),t),l,e));return wp.element.createElement(y.k.Save,{className:be,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,wp.element.createElement(y.D,{className:pe,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"===l},wp.element.createElement(y.D,{className:me,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"!==l},d&&!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:h||"h2",className:"ugb-feature__title",value:r}),O&&!m.RichText.isEmpty(_)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature__description",value:_}),L&&!m.RichText.isEmpty(X)&&wp.element.createElement(y.o.Content,{size:""!==J?J:"normal",text:X,icon:te,newTab:""!==V&&V,url:W,noFollow:se,hoverEffect:Q,ghostToNormalEffect:le,shadow:$,iconPosition:ae,design:""!==re?re:"basic"})),!ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(y.O,{imageId:k,className:ge,src:E,width:N,height:F,alt:A,shape:B,shadow:z})),ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image"})))}})}),U=n(16);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return V}),n.d(t,"name",function(){return q}),n.d(t,"settings",function(){return J});var V=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"}},Object(l.A)("imageColumn%sWidth",{type:"number",default:""}),{},Object(l.A)("container%sWidth",{type:"number",default:""}),{},Object(l.A)("container%sOffset",{type:"number",default:""}),{invert:{type:"boolean",default:!1},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(l.j)("column%s"),{},Object(l.t)("image%s"),{},Object(l.v)("image%s"),{imageShapeStretch:{type:"boolean",default:!0}},Object(l.A)("imageBackground%sHeight",{type:"number",default:""}),{title:{source:"html",selector:".ugb-feature__title",default:Object(g.__)("Title for This Block",u.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(l.G)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:".ugb-feature__description",default:Object(l.J)("medium")},showDescription:{type:"boolean",default:!0}},Object(l.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(l.o)("button%s",{selector:".ugb-button"}),{},Object(l.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(l.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(l.A)("button%sBottomMargin",{type:"number",default:""}),{},Object(l.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}}),q="ugb/feature",J={title:Object(g.__)("Feature",u.i18n),description:Object(g.__)("Display a product feature or a service in a large area.",u.i18n),icon:U.m,category:"layout",keywords:[Object(g.__)("Feature",u.i18n),Object(g.__)("Stackable",u.i18n)],supports:{align:["center","wide","full"],inserter:!u.disabledBlocks.includes(q)},deprecated:v,edit:I,save:L,attributes:V,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.feature.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(1),o=n(9),l=n(5);Object(l.addFilter)("stackable.header.design.no-text-attributes","stackable/header",function(e){return Object(o.omit)(e,["title","subtitle","buttonText","button2Text"])}),Object(l.addFilter)("stackable.header.design.filtered-block-attributes","stackable/header",function(e){return Object(o.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow","button2Url","button2NewTab","button2NoFollow"])});var c=n(19),s=n(0),u=n(8),b=n.n(u),p=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{title:{source:"html",selector:"h2",default:Object(s.__)("Title for This Block",r.i18n)},subtitle:{source:"html",selector:"p",default:Object(a.J)()},titleColor:{type:"string"},subtitleColor:{type:"string"},contentAlign:{type:"string",default:"center"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},contentWidth:{type:"boolean",default:!1},align:{type:"string"},invert:{type:"boolean",default:!1},fullHeight:{type:"boolean",default:!1},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(s.__)("Button text",r.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonURL2:{type:"string",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"href",default:""},buttonNewTab2:{type:"boolean",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"target",default:!1},buttonText2:{source:"html",selector:".ugb-header__buttons > *:last-child .ugb-button span",default:Object(s.__)("Button text",r.i18n)},buttonColor2:{type:"string"},buttonTextColor2:{type:"string",default:"#ffffff"},buttonDesign2:{type:"string",default:"basic"},buttonIcon2:{type:"string"},buttonSize2:{type:"string",default:"normal"},buttonBorderRadius2:{type:"number",default:4},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},opacity:{type:"number"},url:{type:"string"},id:{type:"number"}},save:function(e){var t,n,a,i,r,o,s,u,m=e.className,f=e.attributes,h=f.buttonURL,v=f.buttonText,y=f.buttonColor,O=f.buttonTextColor,w=f.buttonDesign,_=f.buttonIcon,j=f.cornerButtonRadius,k=f.size,C=f.title,x=f.titleColor,E=f.subtitle,S=f.subtitleColor,A=f.contentAlign,T=void 0===A?"center":A,B=f.backgroundColorType,P=void 0===B?"":B,N=f.backgroundColor,M=f.backgroundColor2,R=f.backgroundColorDirection,F=void 0===R?0:R,D=f.backgroundType,z=void 0===D?"":D,I=f.backgroundImageURL,H=f.backgroundOpacity,L=f.fixedBackground,U=f.design,W=void 0===U?"basic":U,G=f.borderRadius,V=void 0===G?12:G,q=f.shadow,J=void 0===q?3:q,Y=f.align,X=f.contentWidth,K=void 0!==X&&X,$=f.buttonNewTab,Z=f.invert,Q=void 0!==Z&&Z,ee=f.fullHeight,te=void 0!==ee&&ee,ne=f.buttonSize2,ae=f.buttonTextColor2,ie=f.buttonColor2,re=f.buttonText2,oe=void 0===re?"":re,le=f.buttonBorderRadius2,ce=void 0===le?4:le,se=f.buttonDesign2,ue=void 0===se?"basic":se,be=f.buttonIcon2,pe=void 0===be?"":be,me=f.buttonURL2,ge=void 0===me?"":me,de=f.buttonNewTab2,fe=void 0!==de&&de,he=b()([m,"ugb-header","ugb-header--v2","ugb--background-opacity-"+1*Math.round(H/1),["ugb-header--design-".concat(W)]],Object(l.applyFilters)("stackable.header.mainclasses_1_15_6",(d(t={"ugb--has-background":"plain"!==W&&(N||I),"ugb--has-background-image":"plain"!==W&&I},"ugb--shadow-".concat(J),"plain"!==W&&3!==J),d(t,"ugb--content-width","full"===Y&&K),d(t,"ugb-header--invert",Q),d(t,"ugb-header--full-height",te),d(t,"ugb--has-background-gradient","gradient"===P),d(t,"ugb--has-background-video","video"===z),t),W,e)),ve="plain"===W?{}:{"--ugb-background-color":I||"gradient"===P?N:void 0,"--ugb-background-color2":"gradient"===P&&M?M:void 0,"--ugb-background-direction":"gradient"===P?"".concat(F,"deg"):void 0,backgroundAttachment:L?"fixed":void 0,backgroundColor:N||void 0,backgroundImage:I?"url(".concat(I,")"):void 0,borderRadius:12!==V?V:void 0},ye=Object(l.applyFilters)("stackable.header.styles_1_15_6",{main:g({textAlign:T||void 0},ve),title:{color:x||("plain"===W?void 0:"#ffffff"),textAlign:T||void 0},subtitle:{color:S||("plain"===W?void 0:"#ffffff"),textAlign:T||void 0}},W,e);return wp.element.createElement("div",{className:he,style:ye.main},"plain"!==W&&"video"===z&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:I}),Object(l.applyFilters)("stackable.header.save.output.before_1_15_6",null,W,e),(n=!p.RichText.isEmpty(C)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header__title",style:ye.title,value:C}),a=!p.RichText.isEmpty(E)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header__subtitle",style:ye.subtitle,value:E}),i=v&&!!v.length&&wp.element.createElement(c.b,{size:k,url:h,newTab:$,align:T,color:O,text:v,design:w,icon:_,backgroundColor:y,borderRadius:j}),r=oe&&!!oe.length&&wp.element.createElement(c.b,{size:ne,url:ge,newTab:fe,align:T,color:ae,text:oe,design:ue,icon:pe,backgroundColor:ie,borderRadius:ce}),o={titleComp:n,subtitleComp:a,buttonComp:i},s={justifyContent:"right"===T?"flex-end":"left"===T?"flex-start":void 0},u=oe?wp.element.createElement("div",{className:"ugb-header__buttons",style:s},o.buttonComp,r):o.buttonComp,"basic"===W||"plain"===W?wp.element.createElement("div",{className:"ugb-content-wrapper"},n,a,u):wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-header__wrapper"},n,a,u))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-header(\s*\{)/g,".ugb-header__item$1")},n={};return"half-overlay"===e.design&&e.fullHeight&&(n.design="side-overlay",n[e.invert?"columnPaddingRight":"columnPaddingLeft"]=0),g({},e,{},n,{columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,restrictContentWidth:e.contentWidth,showButton:!!e.buttonText,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,showButton2:!!e.buttonText2,button2Url:e.buttonURL2,button2NewTab:e.buttonNewTab2,button2Text:e.buttonText2,button2BackgroundColor:e.buttonColor2,button2TextColor:e.buttonTextColor2,button2Design:e.buttonDesign2,button2Icon:e.buttonIcon2,button2Size:e.buttonSize2,button2BorderRadius:e.buttonBorderRadius2,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],h=n(3),v=n(10),y=n(14),O=n.n(y),w=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.align,r=void 0===i?"":i,o=t.showTitle,c=void 0===o||o,s=t.showSubtitle,u=void 0===s||s,b=t.showButton,p=void 0===b||b,m=t.showButton2,g=void 0!==m&&m,d=t.showBlockBackground,f=void 0!==d&&d,h=t.blockInnerWidth,v=void 0===h?"":h,y=!f&&"full"!==r||f&&"full"!==v;return Object(l.applyFilters)("stackable.header.show",{columnBackground:"plain"!==a,borderRadius:"plain"!==a&&y,titleSpacing:c,subtitleSpacing:u,buttonSpacing:p||g,buttonGap:p&&g,restrictContent:!f&&"full"===r||f&&"full"===v,overlayBackground:a.match(/overlay/)},e)};function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=Object(a.b)(e.attributes),n=w(e),i=e.attributes.columnBackgroundColor,r=void 0===i?"":i,o=[];n.columnBackground&&o.push({".ugb-header__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}}),o.push(k({},n.columnBackground?Object(a.l)("column%s","ugb-header__item",k({},e.attributes,{columnBackgroundColor:e.attributes.columnBackgroundColor||"#000000"}),{importantBackgroundColor:!0}):{}));var l=e.attributes,c=l.overlayColor,s=void 0===c?"":c,u=l.overlayOpacity,b=void 0===u?"0.4":u;n.overlayBackground&&(s||b)&&o.push({".ugb-content-wrapper, .ugb-content-wrapper:after":{background:Object(a.W)(s||"#000000",""===b?.4:b)+" !important"}});var p=e.attributes,m=p.titleColor,g=void 0===m?"":m,d=p.showTitle;(void 0===d||d)&&o.push({".ugb-header__title":k({},Object(a.H)("title%s","desktop",e.attributes),{color:Object(a.rb)(g,n.columnBackground&&r),textAlign:Object(a.c)(t("titleAlign")||t("contentAlign"))}),tablet:{".ugb-header__title":k({},Object(a.H)("title%s","tablet",e.attributes),{textAlign:Object(a.c)(t("titleTabletAlign")||t("tabletContentAlign"))})},mobile:{".ugb-header__title":k({},Object(a.H)("title%s","mobile",e.attributes),{textAlign:Object(a.c)(t("titleMobileAlign")||t("mobileContentAlign"))})}});var f=e.attributes,h=f.subtitleColor,v=void 0===h?"":h,y=f.showSubtitle;(void 0===y||y)&&o.push({".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","desktop",e.attributes),{color:Object(a.rb)(v,n.columnBackground&&r),textAlign:t("subtitleAlign")}),tablet:{".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","tablet",e.attributes),{textAlign:t("subtitleTabletAlign")})},mobile:{".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","mobile",e.attributes),{textAlign:t("subtitleMobileAlign")})}});var j=e.attributes,C=j.showButton,x=void 0!==C&&C,E=j.showButton2,S=void 0===E||E;return(x||S)&&(o.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("contentAlign")?"flex-start":"right"===t("contentAlign")?"flex-end":"center"===t("contentAlign")?"center":void 0)},tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("tabletContentAlign")?"flex-start":"right"===t("tabletContentAlign")?"flex-end":"center"===t("tabletContentAlign")?"center":void 0)}},mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("mobileContentAlign")?"flex-start":"right"===t("mobileContentAlign")?"flex-end":"center"===t("mobileContentAlign")?"center":void 0)}}}),t("buttonAlign")&&o.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonAlign")?"flex-start":"right"===t("buttonAlign")?"flex-end":"center"===t("buttonAlign")?"center":void 0)}}),t("buttonTabletAlign")&&o.push({tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonTabletAlign")?"flex-start":"right"===t("buttonTabletAlign")?"flex-end":"center"===t("buttonTabletAlign")?"center":void 0)}}}),t("buttonMobileAlign")&&o.push({mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonMobileAlign")?"flex-start":"right"===t("buttonMobileAlign")?"flex-end":"center"===t("buttonMobileAlign")?"center":void 0)}}})),x&&o.push(k({},Object(a.p)("button%s","ugb-button1",e.attributes))),S&&o.push(k({},Object(a.p)("button2%s","ugb-button2",e.attributes))),n.titleSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-header__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.subtitleSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-header__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonGap&&o.push.apply(o,_(Object(a.C)(".ugb-button1","buttonGap%s","marginRight","%spx",e.attributes,!0))),O.a.all(o)},E=n(290),S=n.n(E),A=n(291),T=n.n(A),B=n(11),P=n(12),N=n(6);function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(l.addFilter)("stackable.header.edit.inspector.layout.before","stackable/header",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(h.A,{initialOpen:!0,selected:i,options:[{image:S.a,label:Object(s.__)("Basic",r.i18n),value:"basic"},{image:T.a,label:Object(s.__)("Plain",r.i18n),value:"plain"}].concat(M(Object(l.applyFilters)("stackable.header.edit.layouts",[]))),onChange:function(e){n({design:e})}},r.showProNotice&&wp.element.createElement(h.gb,null)))}),Object(l.addFilter)("stackable.header.edit.inspector.style.before","stackable/header",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.design,l=void 0===o?"basic":o,c=i.borderRadius,u=void 0===c?"":c,b=i.shadow,p=void 0===b?"":b,m=i.showTitle,g=void 0===m||m,d=i.showSubtitle,f=void 0===d||d,v=i.titleTag,y=void 0===v?"":v,O=i.titleColor,_=void 0===O?"":O,j=i.subtitleColor,k=void 0===j?"":j,C=i.invert,x=void 0!==C&&C,E=i.restrictContentWidth,S=void 0!==E&&E,A=i.fullHeight,T=void 0!==A&&A,P=i.showButton,R=void 0===P||P,F=i.showButton2,D=void 0!==F&&F,z=i.overlayColor,I=void 0===z?"":z,H=i.overlayOpacity,L=void 0===H?"":H,U=w(t);return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(B.PanelBody,{title:Object(s.__)("General",r.i18n)},!["basic","plain","center-overlay"].includes(l)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Reverse Horizontally",r.i18n),checked:x,onChange:function(e){return n({invert:e})}}),wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Full Height",r.i18n),checked:T,onChange:function(e){return n({fullHeight:e})},className:"ugb--help-tip-full-height"}),U.restrictContent&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Restrict to Content Width",r.i18n),checked:S,onChange:function(e){return n({restrictContentWidth:e})},className:"ugb--help-tip-general-restrict-content"}),U.borderRadius&&wp.element.createElement(h.c,{label:Object(s.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),U.columnBackground&&wp.element.createElement(h.c,{label:Object(s.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(h.u,{setAttributes:n,blockAttributes:t.attributes})),U.columnBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Column Background",r.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(h.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),U.overlayBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Overlay Background",r.i18n),id:"overlay-background",initialOpen:!1},wp.element.createElement(h.s,{label:Object(s.__)("Background Color",r.i18n),value:I,onChange:function(e){return n({overlayColor:e})}}),wp.element.createElement(h.c,{label:Object(s.__)("Background Color Opacity",r.i18n),value:L,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(h.cb,{title:Object(s.__)("Title",r.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("title%s")),["titleTag","titleColor"],M(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(h.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.J,{value:y||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(h.s,{value:_,onChange:function(e){return n({titleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Subtitle",r.i18n),id:"subtitle",checked:f,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("subtitle%s")),["subtitleColor"],M(Object(a.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(h.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.s,{value:k,onChange:function(e){return n({subtitleColor:e})},label:Object(s.__)("Subtitle Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",r.i18n),Object(s.__)("Button",r.i18n),1),id:"button1",checked:R,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(M(Object(a.n)("button%s")),M(Object(a.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(h.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.v,null),wp.element.createElement(h.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),help:Object(s.__)("This affects other buttons in this block",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.cb,{title:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",r.i18n),Object(s.__)("Button",r.i18n),2),id:"button2",checked:D,onChange:function(e){return n({showButton2:e})},toggleOnSetAttributes:M(Object(a.n)("button2%s")),toggleAttributeName:"showButton2"},wp.element.createElement(h.n,{attrNameTemplate:"button2%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),help:Object(s.__)("This affects other buttons in this block",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.db,{initialOpen:!1,blockProps:t},U.titleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),U.subtitleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"subtitle%sB
|
1 |
var editor_blocks=function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],b=0,p=[];b<l.length;b++)o=l[b],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={0:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var l=window.webpackJsonp_name_=window.webpackJsonp_name_||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var u=c;return r.push([379,1]),n()}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=stackable},function(e,t,n){"use strict";var a=n(1),i=[],r={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},o=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!i.includes(e)){if(document&&o(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=r[a.locale]?"&subset=".concat(r):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}i.push(e)}},c=function(e){return o(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},s=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&l(n)})},u=n(9),b=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.camelCase)(Object(b.sprintf)(e,t,n))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return a.length?n.reduce(function(n,i){return m({},n,{},a.reduce(function(n,a,r){var o=m({},t);return void 0!==o.selector&&(o.selector=Object(b.sprintf)(o.selector,r+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,i,a))]=o,n},{}))},{}):n.reduce(function(n,a,i){var r=m({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,i+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=r,n},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(e,t,["","Tablet","Mobile"])},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.omit)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))}))},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?Object(u.pick)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))})):e},O=function(e){return Object.keys(h(e))};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),{},f(e,{type:"number",default:""},["LetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),{},f(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),{},f(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"]))},k=j,C=function(e){return Object.keys(j(e))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i,""),o=a.importantSize,l=void 0!==o&&o,s=a.important,p=void 0!==s&&s,m={};return m="tablet"!==t&&"mobile"!==t?{fontFamily:""!==r("FontFamily")?nt(c(r("FontFamily"))):void 0,fontSize:""!==r("FontSize")?nt("".concat(r("FontSize")).concat(r("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==r("FontWeight")?r("FontWeight"):void 0,textTransform:""!==r("TextTransform")?r("TextTransform"):void 0,letterSpacing:""!==r("LetterSpacing")?"".concat(r("LetterSpacing"),"px"):void 0,lineHeight:""!==r("LineHeight")?"".concat(r("LineHeight")).concat(r("LineHeightUnit")||"em"):void 0}:"tablet"===t?{fontSize:""!==r("TabletFontSize")?nt("".concat(r("TabletFontSize")).concat(r("TabletFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("TabletLineHeight")?"".concat(r("TabletLineHeight")).concat(r("TabletLineHeightUnit")||"em"):void 0}:{fontSize:""!==r("MobileFontSize")?nt("".concat(r("MobileFontSize")).concat(r("MobileFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("MobileLineHeight")?"".concat(r("MobileLineHeight")).concat(r("MobileLineHeightUnit")||"em"):void 0},p?tt(m):m};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundMediaId","BackgroundMediaUrl","TabletBackgroundMediaId","TabletBackgroundMediaUrl","MobileBackgroundMediaId","MobileBackgroundMediaUrl","BackgroundGradientBlendMode","BackgroundPosition","TabletBackgroundPosition","MobileBackgroundPosition","BackgroundRepeat","TabletBackgroundRepeat","MobileBackgroundRepeat","BackgroundSize","TabletBackgroundSize","MobileBackgroundSize","BackgroundImageBlendMode"]),{},f(e,{type:"number",default:""},["BackgroundColorOpacity","BackgroundTintStrength","BackgroundGradientDirection","BackgroundCustomSize","TabletBackgroundCustomSize","MobileBackgroundCustomSize","BackgroundGradientLocation1","BackgroundGradientLocation2"]),{},f(e,{type:"boolean",default:""},["FixedBackground"]),{},f(e,{type:"string",default:"%"},["BackgroundCustomSizeUnit","TabletBackgroundCustomSizeUnit","MobileBackgroundCustomSizeUnit"]))},T=A,B=function(e){return Object.keys(A(e))};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(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=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=r("BackgroundCustomSize")?r("BackgroundCustomSize")+(r("BackgroundCustomSizeUnit")||"%"):void 0,s=r("TabletBackgroundCustomSize")?r("TabletBackgroundCustomSize")+(r("TabletBackgroundCustomSizeUnit")||"%"):void 0,p=r("MobileBackgroundCustomSize")?r("MobileBackgroundCustomSize")+(r("MobileBackgroundCustomSizeUnit")||"%"):void 0,m=nt(r("BackgroundColor"),l);return r("BackgroundColorType")||void 0===n[i("BackgroundColorOpacity")]||""===n[i("BackgroundColorOpacity")]||r("BackgroundMediaURL")||r("TabletBackgroundMediaURL")||r("MobileBackgroundMediaURL")||(m=nt("".concat(Yt(r("BackgroundColor")||"#ffffff",r("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:m,backgroundAttachment:r("FixedBackground")?"fixed":void 0,backgroundImage:r("BackgroundMediaURL","url(%s)"),backgroundPosition:r("BackgroundPosition"),backgroundRepeat:r("BackgroundRepeat"),backgroundSize:r("BackgroundSize")?"custom"!==r("BackgroundSize")?r("BackgroundSize"):c:void 0,backgroundBlendMode:r("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:r("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:r("TabletBackgroundPosition"),backgroundRepeat:r("TabletBackgroundRepeat"),backgroundSize:r("TabletBackgroundSize")?"custom"!==r("TabletBackgroundSize")?r("TabletBackgroundSize"):s:void 0}:{backgroundImage:r("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:r("MobileBackgroundPosition"),backgroundRepeat:r("MobileBackgroundRepeat"),backgroundSize:r("MobileBackgroundSize")?"custom"!==r("MobileBackgroundSize")?r("MobileBackgroundSize"):p:void 0}},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=rt(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=parseInt(r("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===r("BackgroundColorType"),p=Yt(r("BackgroundColor2")||"#ffffff",0),m=Yt(r("BackgroundColor")||"#ffffff",0),g="".concat(r("BackgroundGradientLocation1")||"0","%"),d="".concat(r("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:nt(!s&&r("BackgroundColor")?r("BackgroundColor"):void 0,l),backgroundImage:nt(s?"linear-gradient(".concat(r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("BackgroundColor")||p," ").concat(g,", ").concat(r("BackgroundColor2")||m," ").concat(d,")"):void 0,l),opacity:r("BackgroundMediaURL")?c:void 0,mixBlendMode:s?r("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:r("TabletBackgroundMediaURL")?c:void 0}:{opacity:r("MobileBackgroundMediaURL")?c:void 0}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=rt(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")},z=function(){var e,t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return M(n={},".".concat(i),N({},R(a,"desktop",r,o))),M(n,".".concat(i,":before"),N({},F(a,"desktop",r,o))),M(n,"tablet",(M(e={},".".concat(i),N({},R(a,"tablet",r,o))),M(e,".".concat(i,":before"),N({},F(a,"tablet",r,o))),e)),M(n,"mobile",(M(t={},".".concat(i),N({},R(a,"mobile",r,o))),M(t,".".concat(i,":before"),N({},F(a,"mobile",r,o))),t)),n},I=R,H=n(8),L=n.n(H),U=n(6),W=function(e,t){var n=rt(t.attributes,function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),i=n("TabletBackgroundMediaUrl"),r=n("MobileBackgroundMediaUrl"),o=L()(["ugb-video-background"],{"ugb--video-hide-tablet":i,"ugb--video-hide-mobile":r}),l=L()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":r}),c=L()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(U.Fragment,null,Vt(a)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Vt(i)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:i}),Vt(r)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}))};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(n,!0).forEach(function(t){q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-img":n,i=t.exclude,r=void 0===i?[]:i;return v(V({},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),{},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),{},f(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),{},f(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),{},f(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square"]),{},f(e,{type:"string",default:"large"},["Size"])),r,e)},Y=J,X=n(4),K=n.n(X);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=K.a.createElement("circle",{cx:50,cy:50,r:50}),Q=function(e){return K.a.createElement("svg",$({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=K.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ne=function(e){return K.a.createElement("svg",ee({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=K.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}),re=function(e){return K.a.createElement("svg",ae({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),ie)},oe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(U.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?n.replace(/#/g,"%23"):n},le=n(5);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(n,!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be={circle:Q,square:ne,blob1:re},pe=function(e){var t=Object(le.applyFilters)("stackable.image.shape.svgs",be);return t[e]?t[e]:null},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=rt(n,a),r=i("Shape"),o=function(e){return i("Square")&&i(e)?i(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:r?void 0:i("BorderRadius","%spx"),width:i("Width","%spx"),height:i("Width")?nt(o("Width")):void 0}:"tablet"===t?{width:i("TabletWidth","%spx"),height:i("TabletWidth")?nt(o("TabletWidth")):void 0}:{width:i("MobileWidth","%spx"),height:i("MobileWidth")?nt(o("MobileWidth")):void 0}},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=rt(t,n),i=a("Shape");if(!i)return{};var r=a("ShapeStretch"),o=a("ShapeFlipX"),l=a("ShapeFlipY"),c=pe(i),s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(i)&&r?"none":void 0,transform:o||l?"scale(".concat(o?-1:1,",").concat(l?-1:1,")"):void 0}),p=btoa(oe(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(p,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(p,"')")}},de=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ue(e={},".".concat(n),se({},me(t,"desktop",a,i),{},ge(t,a,i))),ue(e,"tablet",ue({},".".concat(n),se({},me(t,"tablet",a,i)))),ue(e,"mobile",ue({},".".concat(n),se({},me(t,"mobile",a,i)))),e},fe=n(13),he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},ve=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||he(e):null};window._stackableCachedImageData={};var ye=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},Oe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=we(e)||ye(e,fe.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""},we=function(e){return window._stackableCachedImageData[e]||null};function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){ke(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exclude,a=void 0===n?[]:n;return v(je({},f(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize"]),{},f(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),{},f(e,{type:"string",default:"large"},["Size"]),{},f(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])),a,e)},xe=Ce,Ee=function(e){return Object.keys(Ce(e))};function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(n,!0).forEach(function(t){Te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=rt(n,a);return"tablet"!==t&&"mobile"!==t?{backgroundImage:i("Url","url(%s)"),backgroundPosition:nt(i("BackgroundPosition")),backgroundRepeat:nt(i("BackgroundRepeat")),backgroundSize:nt("custom"!==i("BackgroundSize")?i("BackgroundSize"):i("BackgroundCustomSize")?i("BackgroundCustomSize")+i("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Pe=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Te(e={},".".concat(n),Ae({},Be(t,"desktop",a,i))),Te(e,"tablet",Te({},".".concat(n),Ae({},Be(t,"tablet",a,i)))),Te(e,"mobile",Te({},".".concat(n),Ae({},Be(t,"mobile",a,i)))),e};function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,i=void 0===n?".ugb-button":n,r=t.defaultText,o=void 0===r?Object(b.__)("Button text",a.i18n):r,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(Me({},k(e),{},f(e,{type:"string",source:"html",selector:"".concat(i," span"),default:o},["Text"]),{},f(e,{type:"string",source:"attribute",selector:i,attribute:"href",default:""},["Url"]),{},f(e,{type:"boolean",source:"attribute",selector:i,attribute:"target",default:""},["NewTab"]),{},f(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),{},f(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),{},f(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow"])),c,e),u,e)},De=Fe,ze=function(e){return Object.keys(Fe(e))},Ie=n(14),He=n.n(Ie);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){We(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ge=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},o=rt(a,r,""),l=[];l.push((We(e={},".".concat(n," .ugb-button--inner"),Ue({},x(t,"desktop",a))),We(e,"tablet",We({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"tablet",a)))),We(e,"mobile",We({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"mobile",a)))),e));var c=o("BackgroundColor2"),s=o("BackgroundColor"),p=!1;if(""===o("Design")||"basic"===o("Design")){var m;l.push((We(m={},".".concat(n),{backgroundColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,backgroundImage:"gradient"===o("BackgroundColorType")?"linear-gradient(".concat(""!==a[r("BackgroundGradientDirection")]?o("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(o("BackgroundColor")||c,", ").concat(o("BackgroundColor2")||s,")"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),We(m,".".concat(n," .ugb-button--inner, .").concat(n," svg:not(.ugb-custom-icon)"),{color:nt(et(o("TextColor"),o("BackgroundColor")))}),We(m,".".concat(n,":hover .ugb-button--inner, .").concat(n,":hover svg:not(.ugb-custom-icon)"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")))}),We(m,".".concat(n,":hover"),{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),m)),p=""!==o("HoverBackgroundColor");var g="gradient"===o("BackgroundColorType")&&(o("HoverBackgroundColor")||o("HoverBackgroundColor2")||o("HoverBackgroundGradientDirection"));l.push(We({},".".concat(n,":before"),{content:g?'""':void 0,backgroundImage:g?"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor")||c,", ").concat(o("HoverBackgroundColor2")||o("BackgroundColor2")||s,")"):void 0})),p=p||g||""!==o("HoverTextColor")}if("ghost"===o("Design")){var d,f;if(l.push((We(d={},".".concat(n),{borderColor:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0,borderWidth:""!==o("BorderWidth")?"".concat(o("BorderWidth"),"px"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),We(d,".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),We(d,".".concat(n,":hover"),{borderColor:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):void 0}),We(d,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),d)),""!==o("Icon")||i)l.push((We(f={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),We(f,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),f));p=""!==o("HoverBackgroundColor");var h,v=o("HoverGhostToNormal");if(v)l.push((We(h={},".".concat(n,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor"),", ").concat(o("HoverBackgroundColor2")||o("HoverBackgroundColor")||o("BackgroundColor"),")"),top:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,right:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,bottom:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,left:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0}),We(h,".".concat(n,":hover"),{backgroundColor:nt(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))}),We(h,".".concat(n,":hover .ugb-button--inner"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}),h)),(""!==o("Icon")||i)&&l.push(We({},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:nt(et(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))})),p=!0}if("plain"===o("Design")){var y,O;if(l.push((We(y={},".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?nt(o("BackgroundColor")):void 0}),We(y,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?nt(o("HoverBackgroundColor")):void 0}),y)),""!==o("Icon")||i)l.push((We(O={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),We(O,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),O));p=""!==o("HoverBackgroundColor")}if("link"!==o("Design")){var w,_=""!==a[r("IconSpacing")]&&void 0!==a[r("IconSpacing")]?"".concat(o("IconSpacing","%spx",16)):void 0,j=a[r("BorderRadius")];l.push((We(w={},".".concat(n),{opacity:""!==o("Opacity")?o("Opacity"):void 0,borderRadius:""!==j&&void 0!==j?nt("".concat(j,"px")):void 0}),We(w,".".concat(n,":before"),{borderRadius:""!==j&&void 0!==j?nt("".concat(j,"px")):void 0}),We(w,".".concat(n,":hover"),{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):p?1:void 0}),We(w,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:(""!==o("Icon")||i)&&"right"===o("IconPosition")?_:void 0,marginRight:(""!==o("Icon")||i)&&"right"!==o("IconPosition")?_:void 0,width:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0,height:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0}),w))}return He.a.all(l)},Ve=n(54),qe=n.n(Ve);function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xe=function(e){try{if(!e.match(/^#/))return qe()(e);var t=e.replace(/#/g,"");return 3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),qe()("#".concat(t))}catch(e){return!1}},Ke=function(e){return"left"===e||"flex-start"===e?0:"auto"},$e=function(e){return"right"===e||"flex-end"===e?0:"auto"},Ze=function(e){return"left"===e?"flex-start":"right"===e?"flex-end":e},Qe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=""!==e?e:void 0;return!n&&t&&Xe(t)?"#ffffff":n},et=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222",i=""!==e?e:void 0;return!i&&t?Xe(t)?n:a:i},tt=function(e){return Object.keys(e).reduce(function(t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach(function(t){Ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,Ye({},n,nt(e[n])))},{})},nt=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},at=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=rt(r);return[(t={},Ye(t,e,Ye({},a,nt(l(Object(b.sprintf)(n,""),i),o))),Ye(t,"tablet",Ye({},e,Ye({},a,nt(l(Object(b.sprintf)(n,"Tablet"),i),o)))),Ye(t,"mobile",Ye({},e,Ye({},a,nt(l(Object(b.sprintf)(n,"Mobile"),i),o)))),t)]},it=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=rt(a),r=i("contentAlign"),o=i("TabletContentAlign"),l=i("MobileContentAlign"),c=i(Object(b.sprintf)(n,"")),s=i(Object(b.sprintf)(n,"Tablet")),u=i(Object(b.sprintf)(n,"Mobile"));return[(t={},Ye(t,e,tt({marginLeft:c||r?Ke(c||r):void 0,marginRight:c||r?$e(c||r):void 0})),Ye(t,"tablet",Ye({},e,tt({marginLeft:s||o?Ke(s||o):void 0,marginRight:s||o?$e(s||o):void 0}))),Ye(t,"mobile",Ye({},e,tt({marginLeft:u||l?Ke(u||l):void 0,marginRight:u||l?$e(u||l):void 0}))),t)]},rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,o=null!==t?t:function(e){return Object(u.lowerFirst)(e)},l=void 0===e[o(a)]?"":e[o(a)];return""!==l?i?Object(b.sprintf)(i.replace(/%$/,"%%"),l):l:r}};function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(n,!0).forEach(function(t){ct(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var st=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-button-%s":n,i=t.exclude,r=void 0===i?[]:i,o=t.include,l=void 0===o?[]:o,c=Object.keys(dt).reduce(function(n,i){return lt({},n,{},f(e,{type:"string",source:"attribute",selector:Object(b.sprintf)(a,i),attribute:"href",default:t["".concat(i,"Default")]?t["".concat(i,"Default")]:""},["".concat(Object(u.upperFirst)(i),"Url")]))},{});return y(v(lt({},De(e,{exclude:["Text","Url","NoFollow","Icon","IconPosition","NewTab"]}),{},f(e,{type:"boolean",default:""},["NewTab"]),{},f(e,{type:"boolean",default:!0},["UseSocialColors"]),{},c),r,e),l,e)},ut=st;function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(n,!0).forEach(function(t){mt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},o=rt(i,r,""),l=[];if(l.push(pt({},Ge(n,a,i,!0))),!o("UseSocialColors"))return He.a.all(l);""!==o("Design")&&"basic"!==o("Design")||l.push((mt(e={},".".concat(a),{backgroundColor:void 0,backgroundImage:void 0}),mt(e,".".concat(a," .ugb-button--inner, .").concat(a," svg"),{color:void 0}),mt(e,".".concat(a,":hover .ugb-button--inner, .").concat(a,":hover svg"),{color:void 0}),mt(e,".".concat(a,":hover"),{backgroundColor:void 0}),mt(e,".".concat(a,":before"),{content:void 0,backgroundImage:void 0}),e));if("ghost"===o("Design")){var c;l.push((mt(c={},".".concat(a),{borderColor:void 0}),mt(c,".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),mt(c,".".concat(a,":hover"),{borderColor:void 0}),mt(c,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),c));var s,p=o("HoverGhostToNormal");if(p)l.push((mt(s={},".".concat(a,":before"),{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}),mt(s,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),s))}"plain"===o("Design")&&l.push((mt(t={},".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),mt(t,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),t));return He.a.all(l)},dt={facebook:{label:Object(b.__)("Facebook",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:Object(b.__)("Twitter",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:Object(b.__)("Instagram",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:Object(b.__)("Pinterest",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:Object(b.__)("LinkedIn",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:Object(b.__)("YouTube",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:Object(b.__)("Email",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},ft=n(17);function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(n,!0).forEach(function(t){yt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ot=["uniqueClass"],wt={};function _t(e){return wt[e.name]||(wt[e.name]=Object(ft.createBlock)(e.name).attributes),Object.keys(wt[e.name]).every(function(t){return!!Ot.includes(t)||wt[e.name][t]===e.attributes[t]})}var jt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(fe.select)("core/block-editor"),i=a.getBlockName,r=a.getSelectedBlockClientId,o=a.getBlockAttributes,l=a.hasMultiSelection,c=a.getMultiSelectedBlockClientIds,b=Object(fe.dispatch)("core/block-editor"),p=b.updateBlockAttributes,m=Object(fe.select)("core/blocks"),g=m.getBlockType;if(n||!l()){var d=n||r();if(d){var f=o(d),h=i(d).replace(/^\w+\//g,""),v=g(i(d)).attributes,y=Object.keys(v).reduce(function(e,t){return vt({},e,yt({},t,v[t]?v[t].default:""))},{}),O=Object(le.applyFilters)("stackable.".concat(h,".design.filtered-block-attributes"),vt({},y,{},t),f),w=Object(le.applyFilters)("stackable.".concat(h,".design.no-text-attributes"),O,f);s(w),p(d,Object(u.omit)(w,["uniqueClass"]))}}else c().forEach(function(n){e(t,n)})};function kt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(U.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=kt(n,2),i=a[0],r=a[1],o=function(t){try{var n=t instanceof Function?t(i):t;r(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[i,o]},xt=function(){return void 0!==ft.registerBlockCollection},Et=function(){return xt()};function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){Tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-icon":n,i=t.defaultIcon,r=void 0===i?"fas-cogs":i,o=t.exclude,l=void 0===o?[]:o,c=t.include,s=void 0===c?[]:c;return y(v(At({},f(e,{type:"string",source:"html",selector:"".concat(a),default:r},["Icon"]),{},f(e,{type:"string",default:""},["Design","ColorType","Color","Color2","BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundShape","BackgroundShapeColor","Color3","Color4","Color5","Color5","Color6","Color7","Color8","Color9","Color10"]),{},f(e,{type:"number",default:""},["ColorGradientDirection","OutlineWidth","BackgroundColorGradientDirection","Size","TabletSize","MobileSize","BorderRadius","Shadow","Opacity","Padding","Rotation","BackgroundShapeOpacity","BackgroundShapeSize","BackgroundShapeOffsetHorizontal","BackgroundShapeOffsetVertical","MultiOpacity1","MultiOpacity2","MultiOpacity3","MultiOpacity4","MultiOpacity5","MultiOpacity6","MultiOpacity7","MultiOpacity8","MultiOpacity9","MultiOpacity10"]),{},f(e,{type:"boolean",default:""},["ShowBackgroundShape"])),l,e),s,e)},Pt=Bt,Nt=function(e){return Object.keys(Bt(e))};function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},r=rt(a,i),o=[];return o.push((Mt(e={},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("Size","%spx")),height:nt(r("Size","%spx"))}),Mt(e,"tablet",Mt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("TabletSize","%spx")),height:nt(r("TabletSize","%spx"))})),Mt(e,"mobile",Mt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:nt(r("MobileSize","%spx")),height:nt(r("MobileSize","%spx"))})),Mt(e,".".concat(n," .ugb-icon-inner-svg"),{color:nt(r("Color")),transform:nt(r("Rotation","rotate(%sdeg)"))}),Mt(e,".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg *"),{color:nt(r("Color")),fill:nt(r("Color"))}),Mt(e,".".concat(n),{opacity:nt(r("Opacity"))}),e)),"shaped"!==r("Design")&&"outlined"!==r("Design")||o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{borderRadius:nt(r("BorderRadius","%s%","100%")),padding:nt(r("Padding","%spx"))})),"shaped"===r("Design")&&o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{background:nt(r("BackgroundColor"))})),"outlined"===r("Design")&&o.push(Mt({},".".concat(n," .ugb-icon__design-wrapper"),{borderColor:nt(r("BackgroundColor")),borderWidth:nt(r("OutlineWidth","%spx"))})),He.a.all(Object(le.applyFilters)("stackable.icon-style-set.styles",o,r,n,a))},Ft=function(e){return"string"!=typeof e?0:Object(u.range)(10).reduce(function(t,n){var a=n+1;return new RegExp("(<(circle|ellipse|line|polygon|polyline|rect|shape|path)[^>]*(/>|>[sS]*?</\\w+>)[ \t\r\n\v\f]*){".concat(a,"}"),"gm").test(e)?a:t},0)},Dt=function(e,t){var n=zt(e,t);return n?n.html[0]:""},zt=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},It=function(){return!!window.FontAwesome},Ht=function(){return window.FontAwesome?Promise.resolve(!0):new Promise(function(e,t){var n=240,a=setInterval(function(){window.FontAwesome?(clearInterval(a),e(!0)):n--<0&&(clearInterval(a),t(!1))},250)})},Lt=function(e,t){var n=zt(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var i=240,r=setInterval(function(){var o=zt(e,t);window.FontAwesome?(clearInterval(r),n(o)):i--<0&&(clearInterval(r),a(!1))},250)})};n(22),n(413);var Ut=n(78),Wt=n.n(Ut);n.d(t,"jb",function(){return Gt}),n.d(t,"pb",function(){return Vt}),n.d(t,"U",function(){return qt}),n.d(t,"J",function(){return Jt}),n.d(t,"W",function(){return Yt}),n.d(t,"fb",function(){return Xt}),n.d(t,"g",function(){return Kt}),n.d(t,"ib",function(){return $t}),n.d(t,"S",function(){return Qt}),n.d(t,"lb",function(){return en}),n.d(t,"Y",function(){return nn}),n.d(t,"kb",function(){return an}),n.d(t,"gb",function(){return rn}),n.d(t,"bb",function(){return l}),n.d(t,"P",function(){return c}),n.d(t,"cb",function(){return s}),n.d(t,"O",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"A",function(){return h}),n.d(t,"z",function(){return O}),n.d(t,"G",function(){return k}),n.d(t,"H",function(){return x}),n.d(t,"F",function(){return C}),n.d(t,"j",function(){return T}),n.d(t,"i",function(){return B}),n.d(t,"m",function(){return I}),n.d(t,"k",function(){return F}),n.d(t,"l",function(){return z}),n.d(t,"V",function(){return D}),n.d(t,"I",function(){return W}),n.d(t,"t",function(){return Y}),n.d(t,"y",function(){return de}),n.d(t,"x",function(){return ge}),n.d(t,"T",function(){return pe}),n.d(t,"Q",function(){return ve}),n.d(t,"f",function(){return ye}),n.d(t,"R",function(){return Oe}),n.d(t,"v",function(){return xe}),n.d(t,"u",function(){return Ee}),n.d(t,"w",function(){return Pe}),n.d(t,"o",function(){return De}),n.d(t,"n",function(){return ze}),n.d(t,"p",function(){return Ge}),n.d(t,"X",function(){return Xe}),n.d(t,"db",function(){return Ke}),n.d(t,"eb",function(){return $e}),n.d(t,"ab",function(){return Ze}),n.d(t,"rb",function(){return Qe}),n.d(t,"sb",function(){return et}),n.d(t,"d",function(){return tt}),n.d(t,"c",function(){return nt}),n.d(t,"C",function(){return at}),n.d(t,"B",function(){return it}),n.d(t,"b",function(){return rt}),n.d(t,"D",function(){return ut}),n.d(t,"E",function(){return gt}),n.d(t,"a",function(){return dt}),n.d(t,"Z",function(){return _t}),n.d(t,"e",function(){return jt}),n.d(t,"ob",function(){return oe}),n.d(t,"qb",function(){return Ct}),n.d(t,"mb",function(){return xt}),n.d(t,"nb",function(){return Et}),n.d(t,"r",function(){return Pt}),n.d(t,"q",function(){return Nt}),n.d(t,"s",function(){return Rt}),n.d(t,"hb",function(){return Ft}),n.d(t,"L",function(){return Dt}),n.d(t,"N",function(){return It}),n.d(t,"K",function(){return Ht}),n.d(t,"M",function(){return Lt});var Gt=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},Vt=function(e){return e.match(/(mp4|webm|ogg)$/i)},qt=function(e){var t="";return(t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1])||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:((t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2])||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},Jt=function e(t){return"short"===t?Object(b.__)("Description for this block. You can use this space for describing your block.",a.i18n):"medium"===t?"".concat(e()," ").concat(e("short")):"long"===t?"".concat(e("medium")," ").concat(e()," ").concat(e("short")):Object(b.__)("Description for this block. Use this space for describing your block. Any text will do.",a.i18n)},Yt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;e.indexOf("var(")>-1&&(e=window.getComputedStyle(document.documentElement).getPropertyValue(e.replace("var(","").replace(")",""))||"#fff"),(n=e.replace(/#/,"")).length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));var a=Wt()("#".concat(n,"ff"));return a[3]=null!==t?t:1,"rgba(".concat(a.join(", "),")")},Xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},Kt=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,function(e,i,r){if(i.match(/@\w+/g))return i.replace(/(@\w+[^{]+{\s*)([^{]+)/g,function(e,a,i){var o=$t(i,t,n);return"".concat(a," ").concat(o," ").concat(r)});var o=$t(i,t,n);return(a?"#editor ":"")+"".concat(o," ").concat(r)}).trim()},$t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(function(e){var i="";return i=n&&t?e.includes(n)?e:n&&!t?".".concat(n," ").concat(e.trim()):".".concat(n," ").concat(e.trim()).replace(new RegExp("(.".concat(n,") (.").concat(t,"(#|:|\\[|\\.|\\s|$))"),"g"),"$1$2"):e,a?"".concat(a," ").concat(i):i}).join(", ")},Zt="desktop",Qt=function(){return Zt},en=function(e){return Zt=e},tn=!1,nn=function(){return tn},an=function(e){return tn=e},rn=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}},function(e,t,n){"use strict";var a=n(19),i=n(2),r=n(9),o=n(8),l=n.n(o),c=n(6),s=n(0);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a},o=Object.keys(i.a).reduce(function(e,i){var o;return p({},e,(m(o={},"".concat(i,"Url"),a("".concat(i,"Url"))),m(o,"onChange".concat(Object(r.upperFirst)(i),"Url"),function(e){return t(m({},n("".concat(i,"Url")),e))}),o))},{});return wp.element.createElement(j,u({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(m({},n("NewTab"),e))},isSelected:e.isSelected},o,e))};g.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(g.Content=function(e){var t=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a},a=Object.keys(i.a).reduce(function(e,t){return p({},e,m({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(j.Content,u({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var d=g;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(r.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(r.upperFirst)(t))])&&wp.element.createElement(a.c,y({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(r.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},w=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.defaultProps=h({useSocialColors:!0},w),O.Content=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return!1!==e["show".concat(Object(r.upperFirst)(t))]&&wp.element.createElement(a.c.Content,y({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var _=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.Content.defaultProps=h({useSocialColors:!0},_);var j=O,k=n(4),C=n.n(k);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),S=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),A=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),T=function(e){return C.a.createElement("svg",x({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),E,S,A)},B=n(11),P=n(7);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,i=e.className,r=e.allowedTypes,o=e.render,c=e.hasRemove,s=e.style,u=l()([i,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),b=M({},s,{backgroundImage:n&&!o?"url(".concat(n,")"):void 0});return wp.element.createElement(P.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,i=t.height,r=e.imageSize||"full";t.sizes&&t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChange(M({},t,{url:n,width:a,height:i}))},allowedTypes:r,value:t,render:function(e){return n&&o?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),o):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),!n&&wp.element.createElement(T,null))}})};F.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var D=F,z=n(1);function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=function(e){return wp.element.createElement(B.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(P.URLInput,I({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(r.omit)(e,["label","help"]))))};H.defaultProps={label:Object(s.__)("URL",z.i18n),help:null,value:"",onChange:function(){}};var L=H,U=n(414),W=[{id:"opensInNewTab",title:Object(s.__)("Opens in new tab",z.i18n)},{id:"noFollowLink",title:Object(s.__)("Nofollow link",z.i18n)}],G=function(e){var t=e.value,n={url:t,opensInNewTab:e.newTab,noFollowLink:e.noFollow};if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=l()(["ugb-url-input-popover"]),i=W.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(B.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(P.__experimentalLinkControl,{value:n,settings:i,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},i=Object(r.omitBy)(Object(r.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(r.keys)(i).map(function(e){return a[e](i[e])})}},wp.element.createElement("form",null,wp.element.createElement("input",{placeholder:Object(s.__)("Search or type url",z.i18n),value:t}),wp.element.createElement(B.Button,{icon:U.a,type:"submit"}))))};G.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var V=G,q=n(12);function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=Object(s.__)("(current %s: %s)",z.i18n),X=Object(q.compose)([P.withColorContext,Object(q.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,i=e.onChange,r=e.value,o=e.className,u=void 0===o?"":o,b=Object(P.getColorObjectByColorValue)(t,r),p=b&&b.name,m=Object(s.sprintf)(Y,a.toLowerCase(),p||r),g=wp.element.createElement(c.Fragment,null,a,r&&wp.element.createElement(B.ColorIndicator,{colorValue:r,"aria-label":m}));return wp.element.createElement(B.BaseControl,{className:l()([u,"editor-color-palette-control"]),id:"editor-color-palette-control",label:g},wp.element.createElement(B.ColorPalette,J({className:"editor-color-palette-control__color-palette",value:r,onChange:i},{colors:t,disableCustomColors:n})))}),K=n(10);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=function(e){return wp.element.createElement(B.SelectControl,$({},e,{options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"multiply",label:Object(s.__)("Multiply",z.i18n)},{value:"screen",label:Object(s.__)("Screen",z.i18n)},{value:"overlay",label:Object(s.__)("Overlay",z.i18n)},{value:"darken",label:Object(s.__)("Darken",z.i18n)},{value:"lighten",label:Object(s.__)("Lighten",z.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",z.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",z.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",z.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",z.i18n)},{value:"difference",label:Object(s.__)("Difference",z.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",z.i18n)},{value:"hue",label:Object(s.__)("Hue",z.i18n)},{value:"saturation",label:Object(s.__)("Saturation",z.i18n)},{value:"color",label:Object(s.__)("Color",z.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",z.i18n)},{value:"initial",label:Object(s.__)("Initial",z.i18n)},{value:"inherit",label:Object(s.__)("Inherit",z.i18n)},{value:"unset",label:Object(s.__)("Unset",z.i18n)}]}))};Z.defaultProps={label:Object(s.__)("Mix Blend Mode",z.i18n),help:Object(s.__)("Not supported in all browsers.",z.i18n)};var Q=Object(q.compose)(Object(K.e)("background-blend-mode"))(Z);function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ne=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ae=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),ie=function(e){return C.a.createElement("svg",ee({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),te,ne,ae)},re=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(B.BaseControl,{help:e.help},wp.element.createElement(Ye,{label:e.label,screens:e.screens}),wp.element.createElement(P.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(c.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(B.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",z.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(ie,null)))}})))};re.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var oe=re;function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=function(e){return wp.element.createElement(B.TextareaControl,le({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",z.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",z.i18n))}))};ce.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",z.i18n)};var se=ce,ue=n(79),be=n.n(ue),pe=n(80),me=n.n(pe),ge=n(81),de=n.n(ge),fe=n(82),he=n.n(fe),ve=n(5);function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Oe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var we=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(qa,ye({},e,{className:l()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(Oe(e.hasDefault?[{label:Object(s.__)("Default",z.i18n),value:"",image:be.a}]:[]),[{label:Object(s.__)("Square",z.i18n),value:"square",image:me.a},{label:Object(s.__)("Circle",z.i18n),value:"circle",image:de.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",z.i18n),1),value:"blob1",image:he.a}],Oe(Object(ve.applyFilters)("stackable.image.control.shapes",[])))})),z.showProNotice&&wp.element.createElement(Vo,{type:"image"}))};we.defaultProps={className:"",label:Object(s.__)("Shape",z.i18n),selected:"",hasDefault:!0};var _e=we,je=n(13),ke=function(e){var t=e.imageData?Object(i.Q)(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeShape&&wp.element.createElement(_e,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",z.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",z.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",z.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};ke.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ce=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(ke);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=function(e){var t,n=(t=e.imageSizes,Object(r.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(r.isEmpty)(n)?null:wp.element.createElement(B.SelectControl,xe({},e,{value:e.value||"large",options:n,className:l()(e.className,["ugb--help-tip-image-size"])}))};Ee.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Se=Object(q.compose)([Object(je.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ee);function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=C.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Be=function(e){return C.a.createElement("svg",Ae({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=C.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Me=function(e){return C.a.createElement("svg",Pe({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fe=C.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),De=function(e){return C.a.createElement("svg",Re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Fe)};function ze(e){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function He(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var We={desktop:wp.element.createElement(Be,null),tablet:wp.element.createElement(De,null),mobile:wp.element.createElement(Me,null)},Ge={desktop:Object(s.__)("Desktop",z.i18n),tablet:Object(s.__)("Tablet",z.i18n),mobile:Object(s.__)("Mobile",z.i18n)},Ve=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=He(this,Le(t).apply(this,arguments))).state={screen:Object(i.S)(),isScreenPickerOpen:Object(i.Y)()},e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ue(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Object(i.kb)(!1),Object(ve.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(i.kb)(!0),Object(ve.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(i.lb)(e),Object(ve.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(B.Button,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:We[t],label:Ge[t]})}))}}])&&Ie(n.prototype,a),r&&Ie(n,r),t}();Ve.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var qe=Object(q.withInstanceId)(Ve),Je=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(qe,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};Je.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ye=Je;function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qe=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$e(n,!0).forEach(function(t){Ze(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder="20";var a,o=e.placeholder;if(!Array.isArray(o)&&"object"===Ke(o)){var c=Object(i.S)()||"desktop";o=void 0!==o[c]?o[c]:Object.keys(o)[0]}return Array.isArray(o)?(t.placeholder=o[n]||"",t.initialPosition=o[n]||""):(t.placeholder=o||"",t.initialPosition=o||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),t.initialPosition="string"==typeof(a=t.initialPosition)&&""!==a&&a.match(/^[\d.]+$/)?a.includes(".")?parseFloat(a):parseInt(a,10):a,wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.RangeControl,Xe({placeholder:e.placeholder,initialPosition:e.initialPosition},t)))};Qe.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var et=Qe,tt=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.SelectControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};tt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var nt=tt,at=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.TextControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};at.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var it=n(83),rt=n.n(it);function ot(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function st(e,t){return(st=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){return(ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var bt=function(e){return!(!e.length||"object"!==ut(e[0].options))},pt=function(e,t){if(!t.length)return e;if(!bt(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},mt=function(e){return e.value},gt=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},dt=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},ft=function(e){return e.options},ht=function(){return!0},vt=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=lt(t).apply(this,arguments))||"object"!==ut(a)&&"function"!=typeof a?ct(n):a).state={value:e.props.value,label:e.props.value?pt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(ct(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(ct(e)),e.onChange=e.onChange.bind(ct(e)),e.onFocus=e.onFocus.bind(ct(e)),e.autosuggestDiv=Object(c.createRef)(),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&st(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:pt(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return bt(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this.state,t=e.label,n=e.suggestions,a={placeholder:"",value:t,onChange:this.onChange,onFocus:this.onFocus};return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(rt.a,{multiSection:bt(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:mt,renderSuggestion:gt,renderSectionTitle:dt,getSectionSuggestions:ft,shouldRenderSuggestions:ht,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&ot(n.prototype,a),i&&ot(n,i),t}();vt.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",z.i18n)};var yt=vt;function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wt=C.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),_t=function(e){return C.a.createElement("svg",Ot({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),wt)};function jt(){return(jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kt=C.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),Ct=function(e){return C.a.createElement("svg",jt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),kt)};function xt(){return(xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Et=C.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),St=function(e){return C.a.createElement("svg",xt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Et)};function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tt=C.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),Bt=function(e){return C.a.createElement("svg",At({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Tt)};function Pt(){return(Pt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nt=C.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Mt=function(e){return C.a.createElement("svg",Pt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Nt)};function Rt(){return(Rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ft=C.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Dt=function(e){return C.a.createElement("svg",Rt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ft)};function zt(){return(zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var It=C.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),Ht=function(e){return C.a.createElement("svg",zt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),It)};function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gt=[{value:"flex-start",title:Object(s.__)("Align Left",z.i18n),icon:wp.element.createElement(St,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ct,null)},{value:"flex-end",title:Object(s.__)("Align Right",z.i18n),icon:wp.element.createElement(Bt,null)}],Vt=[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ht,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(_t,null)},{value:"stretch",title:Object(s.__)("Stretch",z.i18n),icon:wp.element.createElement(Mt,null)}],qt={"flex-horizontal":Gt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(Ht,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(_t,null)}],"flex-vertical-with-stretch":Vt},Jt=function(e){var t="string"==typeof e.controls?qt[e.controls]:e.controls,n=l()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.ButtonGroup,Lt({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"]),{children:t.map(function(t,n){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(n,!0).forEach(function(t){Wt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isPrimary:e.value===t.value,children:t.icon?null:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)});return wp.element.createElement(B.Button,Lt({key:n},a))}),className:n})))};Jt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0};var Yt=Jt;function Xt(){return(Xt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Kt=function(e){return wp.element.createElement(et,Xt({initialPosition:"21"},e,{onChangeUnit:function(t){e.value&&("em"===t||"rem"===t?e.onChange(1):"px"===t&&e.onChange(20)),e.onChangeUnit(t)}}))};Kt.defaultProps={label:Object(s.__)("Font Size",z.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[10,.1],max:[100,3],step:[1,.05],units:["px","em"]};var $t=Kt;function Zt(){return(Zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qt=n(84).map(function(e){return{label:e.family,value:e.family}}),en=function(e){return wp.element.createElement(yt,Zt({options:[{title:Object(s.__)("System Fonts",z.i18n),options:[{label:Object(s.__)("Sans-Serif",z.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",z.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",z.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",z.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",z.i18n),options:Qt}]},e,{onChange:function(t){Qt.some(function(e){return e.value===t&&(Object(i.bb)(t),!0)}),e.onChange(t)}}))};en.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",z.i18n),value:""};var tn=en,nn=n(63);function an(){return(an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function rn(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var on=Object(nn.a)(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),ln=Object(nn.b)(function(e){var t=e.value,n=(e.key,e.index,rn(e,["value","key","index"]));return wp.element.createElement("div",an({className:"ugb-sort-control__item"},n),t)}),cn=!1,sn=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(r.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(B.BaseControl,{help:t.help,className:l()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(Ye,an({label:t.label},Object(r.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(B.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(on,{onSortStart:function(){return cn=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,i=e.newIndex;cn=!1;var r=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,i);t.onChange(r,{oldIndex:a,newIndex:i})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(ln,{key:n,index:n,value:e,onMouseEnter:function(){cn||t.onHover(n)},onMouseLeave:function(){cn||t.onHover(null)}})})))};sn.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",z.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};var un=n(36);function bn(e){return(bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function dn(e){return(dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hn(e,t){return(hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var vn=1,yn=function(e){function t(e){var n,a,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(i=dn(t).apply(this,arguments))||"object"!==bn(i)&&"function"!=typeof i?fn(a):i).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(fn(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(fn(n)),n.instanceId=vn++,n.panelRef=Object(c.createRef)(),n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hn(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(n,!0).forEach(function(t){mn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,mn({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Object(un.b)(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Object(un.b)(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"ugb-toggle-panel-body"],mn({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(B.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(B.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",z.i18n):Object(s.__)("Advanced",z.i18n)))}}])&&gn(n.prototype,a),i&&gn(n,i),t}();yn.defaultProps={id:"",className:"",title:Object(s.__)("Settings",z.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var On=yn;function wn(){return(wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _n=function(e){var t=e.blockProps;return wp.element.createElement(On,wn({title:Object(s.__)("Spacing",z.i18n)},e,{className:l()(["ugb--help-tip-spacing",e.className])}),Object(ve.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(ve.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};_n.defaultProps={className:"",blockProps:{}};var jn=_n,kn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};kn.defaultProps={tab:"layout"};var Cn=kn,xn=n(20),En=n(22),Sn=n.n(En);function An(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}function Tn(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){An(r,a,i,o,l,"next",e)}function l(e){An(r,a,i,o,l,"throw",e)}o(void 0)})}}var Bn=null,Pn={},Nn=[],Mn=function(e){return e.replace(/^[\w-]+\//,"")},Rn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],Bn&&!t){e.next=9;break}return e.next=4,Sn()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:Bn=e.sent,t&&(Pn={},Nn=[]);case 9:return e.abrupt("return",Bn);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Fn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Mn(t),Pn[n]){e.next=8;break}return e.next=4,Sn()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Pn[n]=e.sent;case 8:return e.abrupt("return",Pn[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Dn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Nn[t]){e.next=7;break}return e.next=3,Sn()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Nn[t]=e.sent;case 7:return e.abrupt("return",Nn[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),zn=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,Sn()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(xn.a)(function(){});var In=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l,c,s,u,b,p,m,g,d,f,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,i=t.block,r=void 0===i?"":i,o=t.mood,l=void 0===o?"":o,c=t.plan,s=void 0===c?"":c,u=t.colors,b=void 0===u?[]:u,p=t.categories,m=void 0===p?[]:p,g=t.search,d=void 0===g?"":g,f=t.reset,h=void 0!==f&&f,e.t0=Object,e.next=4,Rn(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),r&&(y=-1===r.indexOf("ugb/")?"ugb/".concat(r):r,v=v.filter(function(e){return e.block===y})),l&&(v=v.filter(function(e){return e.mood===l})),s&&(v=v.filter(function(e){return e.plan===s})),b&&b.length&&(v=v.filter(function(e){return e.colors.some(function(e){return b.includes(e)})})),m&&m.length&&(v=v.filter(function(e){return e.categories.some(function(e){return m.includes(e)})})),d&&d.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Hn=function(){var e=Tn(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rn();case 2:if(n=e.sent,a=n[t],i=a.type,r=a.block,o=a.template,"block"!==i||!r){e.next=12;break}return e.next=8,Fn(r);case 8:return l=e.sent,e.abrupt("return",l[t]);case 12:if(!o){e.next=16;break}return e.next=15,Dn(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=Tn(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Rn();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Un(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Wn=function(e){var t=Un(Object(c.useState)(!1),2),n=t[0],a=t[1],i=Un(Object(c.useState)(""),2),r=i[0],o=i[1],l=Un(Object(c.useState)([]),2),u=l[0],b=l[1],p=Un(Object(c.useState)(!0),2),m=p[0],g=p[1],d=Un(Object(c.useState)(""),2),f=d[0],h=d[1];return Object(c.useEffect)(function(){In({type:"block",block:e.block,search:r}).then(function(e){b(e)}).finally(function(){g(!1)})},[e.block,r]),wp.element.createElement("div",null,wp.element.createElement(B.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",z.i18n),isSmall:!0,alignRight:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",z.i18n)),wp.element.createElement(B.TextControl,{placeholder:Object(s.__)("Search designs...",z.i18n),value:r,onChange:function(e){return o(e)}}),!z.isPro&&wp.element.createElement(Yt,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",z.i18n),wp.element.createElement("span",null,u.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:f,onChange:function(e){return h(e)}}),wp.element.createElement(aa,{designs:u.filter(function(e){var t=e.plan;return!f||t===f}),isBusy:m,onSelect:e.onSelect}),n&&wp.element.createElement(lg,{search:r,selectedBlock:e.block,onClose:function(){a(!1),o("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Wn.defaultProps={block:"",onSelect:function(){}};var Gn=Wn,Vn=n(16);function qn(e){return(qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Yn(e){return(Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kn(e,t){return(Kn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $n=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Yn(t).apply(this,arguments))||"object"!==qn(a)&&"function"!=typeof a?Xn(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(Xn(e)),e.close=e.close.bind(Xn(e)),e.prev=e.prev.bind(Xn(e)),e.next=e.next.bind(Xn(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}(t,c["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(B.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:Object(s.__)("Premium features",z.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",z.i18n)},wp.element.createElement(Vn.w,null),Object(s.__)("Upgrade to Premium",z.i18n)),wp.element.createElement("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:Object(s.__)("Try Premium Demo",z.i18n)},Object(s.__)("Try Premium Demo",z.i18n)))))}}])&&Jn(n.prototype,a),i&&Jn(n,i),t}();$n.defaultProps={button:Object(s.__)("Learn More",z.i18n),buttonClassName:"button button-secondary",tag:"div"};var Zn=$n;function Qn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ea=function(e){var t,n,a,i=e.designId,r=e.image,o=e.label,s=e.onClick,u=e.plan,b=e.isPro,p=Qn(Object(c.useState)(!1),2),m=p[0],g=p[1],d=Qn(Object(c.useState)(!1),2),f=d[0],h=d[1],v=l()(["ugb-design-library-item"],(t={"ugb--is-busy":m},n="ugb--is-".concat(u),a=!b&&"free"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:v,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},m&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!b&&"free"!==u&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(b||"free"===u)&&(g(!0),Hn(i).then(function(e){g(!1),s(e)}))}},!b&&"free"!==u&&wp.element.createElement(B.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:r,alt:o,loading:"lazy"})),wp.element.createElement("footer",null,(b||"free"===u)&&wp.element.createElement("span",null,o),!b&&"free"!==u&&!f&&wp.element.createElement("span",null,o),!b&&"free"!==u&&f&&wp.element.createElement(Zn,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.Dashicon,{icon:"external"}),e.premiumLabel)})))};ea.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:z.isPro,premiumLabel:Object(s.__)("Go Premium",z.i18n)};var ta=ea;var na=function(e){var t,n,a,i=e.designs,r=e.isBusy,o=e.onSelect,c=l()(["ugb-design-library-items"],(t={},n="ugb-design-library-items--columns-".concat(e.columns),a=!r&&e.columns,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:c},(i||[]).map(function(e,t){return wp.element.createElement(ta,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){o(e)}})}),r&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!r&&!(i||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",z.i18n)))};na.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var aa=na,ia=(n(337),n(15)),ra=n.n(ia);function oa(e){return(oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function la(){return(la=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ua(e){return(ua=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pa(e,t){return(pa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ga={},da=Object(q.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ua(n).apply(this,arguments))||"object"!==oa(a)&&"function"!=typeof a?ba(t):a).blockClientId=e.props.blockProps.clientId,void 0===ga[e.blockClientId]&&(ga[e.blockClientId]={tab:Object(i.Z)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(ba(e)),e.onClickTab=e.onClickTab.bind(ba(e)),e}var a,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}(n,c["Component"]),a=n,(r=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(-1===e)return null;var t=this.getActiveTabPanelContainer();return t?t.querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle")):null}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==ga[this.blockClientId].panel){var e=this.getPanelFromIndex(ga[this.blockClientId].panel);e&&e.click()}else Aa()}},{key:"onClickPanel",value:function(e){ga[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(n,!0).forEach(function(t){ma(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ga[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){ga[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,la({initialTab:ga[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&sa(a.prototype,r),o&&sa(a,o),n}(),ma(t,"propTypes",{blockProps:ra.a.shape({clientId:ra.a.string.isRequired,name:ra.a.string.isRequired,attributes:ra.a.object.isRequired})}),n},"withMemory");function fa(e){return(fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ha(){return(ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function va(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){return(wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _a=Object(q.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ya(n).apply(this,arguments))||"object"!==fa(a)&&"function"!=typeof a?Oa(t):a).onSidebarScroll=e.onSidebarScroll.bind(Oa(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wa(e,t)}(n,c["Component"]),a=n,(i=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var i=a.getBoundingClientRect();this.styleTop=i.top,this.styleWidth=i.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=l()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(c.Fragment,null,wp.element.createElement(e,ha({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&va(a.prototype,i),r&&va(a,r),n}(),r={className:""},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withSticky");function ja(e){return(ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ka(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ca(e){return(Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return(Ea=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sa=[{value:"layout",title:Object(s.__)("Layout",z.i18n),label:Object(s.__)("Layout Tab",z.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",z.i18n),label:Object(s.__)("Style Tab",z.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",z.i18n),label:Object(s.__)("Advanced Tab",z.i18n),icon:"admin-tools"}],Aa=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Ta=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Ca(t).apply(this,arguments))||"object"!==ja(a)&&"function"!=typeof a?xa(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(xa(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(xa(e)),e.select=e.select.bind(xa(e)),e.containerDiv=Object(c.createRef)(),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}(t,c["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&(t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs"))}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Aa(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Sa.map(function(t,n){var a=t.value,i=t.title,r=t.label,o=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:l()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":r,"data-label":r},wp.element.createElement(B.Icon,{icon:o}),i):null})))}}])&&ka(n.prototype,a),i&&ka(n,i),t}();Ta.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Ba=da(Ta);Object(i.nb)()||(Ba=_a(Ba));var Pa=Ba;function Na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ma(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Na(n,!0).forEach(function(t){Ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Na(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce(function(r,o){return Ma({},r,Ra({},Object(i.ib)(o,t,n,a?"#editor":""),e[o]))},{})},Da=function(e){return Object(i.fb)(Object.keys(e).reduce(function(t,n){var a=Object.keys(e[n]).reduce(function(t,a){var i=e[n][a];if(void 0===i)return t;var o=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(r.kebabCase)(n))});return"".concat(t,"\n\t").concat(o,": ").concat(i,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},za=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,o=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,p=void 0===b?1025:b,m=e.breakMobile,g=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=[],b=Object(r.omit)(t,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor"]);if(Object.keys(b).length){var p=Fa(b,n,a,c);u.push(Da(p))}if(void 0!==t.desktopTablet){var m=Fa(t.desktopTablet,n,a,c),g=Da(m);g&&u.push("\n@media screen and (min-width: ".concat(l,"px) {\n").concat(g," }"))}if(void 0!==t.desktopOnly){var d=Fa(t.desktopOnly,n,a,c),f=Da(d);f&&u.push("\n@media screen and (min-width: ".concat(o,"px) {\n").concat(f," }"))}if(void 0!==t.tablet){var h=Fa(t.tablet,n,a,c),v=Da(h);v&&u.push("\n@media screen and (max-width: ".concat(o,"px) {\n").concat(v," }"))}if(void 0!==t.tabletOnly){var y=Fa(t.tabletOnly,n,a,c),O=Da(y);O&&u.push("\n@media screen and (min-width: ".concat(l,"px) and (max-width: ").concat(o,"px) {\n").concat(O," }"))}if(void 0!==t.mobile){var w=Fa(t.mobile,n,a,c),_=Da(w);_&&u.push("\n@media screen and (max-width: ".concat(l,"px) {\n").concat(_," }"))}if(void 0!==t.ie11){var j=Fa(t.ie11,n,a,c),k=Da(j);k&&u.push("\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n".concat(k," }"))}return c&&void 0!==t.editor&&!s&&u.push(e(t.editor,n,a,o,l,c,s++)),Object(i.fb)(u.join(""))}(n,u,c,p,void 0===m?768:m,o);return g?wp.element.createElement("style",null,g):null};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ha=function(e){var t=e.options,n=e.selected,a=e.title,i=void 0===a?Object(s.__)("Layout",z.i18n):a,o=e.selectedOptionInTitle,c=void 0===o||o,u=e.help,b=void 0===u?"":u,p=e.className,m=void 0===p?"":p,g=e.initialOpen,d=void 0===g||g,f=t?t.find(function(e){return e.value===n}):null,h=f?"".concat(i," – ").concat(f.label):i,v=l()(["ugb-design-panel-body",m]);return wp.element.createElement(B.PanelBody,Ia({title:c?wp.element.createElement("span",null,h):i,className:v,initialOpen:d},Object(r.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(qa,Object(r.omit)(e,["help","title"])),e.children)};var La=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,i=void 0===a?"":a,r=e.imageHeight,o=void 0===r?"":r,l=e.label,c=t?t.match(/https?:/i)?t:z.srcUrl?"".concat(z.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:z.srcUrl?"".concat(z.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},s&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:i,height:o}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:i,height:o}),wp.element.createElement("span",{className:"design-label"},l))};function Ua(){return(Ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Va=function(e){var t=e.options.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wa(n,!0).forEach(function(t){Ga(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(La,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})}),n=l()([e.className,"ugb-design-control-wrapper","components-base-control","ugb-design-control--columns-".concat(e.columns)]);return wp.element.createElement("div",{className:n},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(B.RadioControl,Ua({},Object(r.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Va.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var qa=Va,Ja=n(85),Ya=n.n(Ja),Xa=n(86),Ka=n.n(Xa),$a=n(87),Za=n.n($a),Qa=n(88),ei=n.n(Qa),ti=n(89),ni=n.n(ti),ai=n(90),ii=n.n(ai),ri=n(91),oi=n.n(ri),li=n(92),ci=n.n(li),si=n(93),ui=n.n(si),bi=n(94),pi=n.n(bi),mi=n(95),gi=n.n(mi),di=n(96),fi=n.n(di),hi=n(97),vi=n.n(hi);function yi(){return(yi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oi={"wave-1":{image:pi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),1),value:"wave-1"},"straight-1":{image:ui.a,label:Object(s.__)("Straight",z.i18n),value:"straight-1"},"wave-2":{image:gi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),2),value:"wave-2"},"wave-3":{image:fi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),3),value:"wave-3"},"wave-4":{image:vi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),4),value:"wave-4"},"slant-1":{image:oi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),1),value:"slant-1"},"slant-2":{image:ci.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),2),value:"slant-2"},"curve-1":{image:Ya.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),1),value:"curve-1"},"curve-2":{image:Ka.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),2),value:"curve-2"},"curve-3":{image:Za.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),3),value:"curve-3"},"rounded-1":{image:ei.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),1),value:"rounded-1"},"rounded-2":{image:ni.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),2),value:"rounded-2"},"rounded-3":{image:ii.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),3),value:"rounded-3"}},wi=function(e){var t=Object.keys(Oi).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return Oi[e]});return wp.element.createElement(B.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(qa,yi({options:Object(ve.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(r.omit)(e,["label","help"]))))};wi.defaultProps={label:"",help:"",excludeDesigns:[]};var _i=wi;function ji(){return(ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ki=C.a.createElement("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}),Ci=function(e){return C.a.createElement("svg",ji({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),ki)};function xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ei=Object(q.withInstanceId)(Object(q.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,i=e.setState;return wp.element.createElement(B.BaseControl,xi({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(r.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(B.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){i(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(fo,{value:e.value}),!e.value&&wp.element.createElement(Ci,{style:{opacity:.3}})),n&&wp.element.createElement(Wi,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?i({clickedOnButton:!0}):i({openPopover:!1,clickedOnButton:!1})},onClose:function(){return i({openPopover:!1})},returnSVGValue:e.returnSVGValue,onChange:e.onChange})),wp.element.createElement(B.Button,{onClick:function(){e.onChange(""),i({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Reset",z.i18n))))}));Ei.defaultProps={label:Object(s.__)("Icon",z.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var Si=Ei;function Ai(){return(Ai=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ti=C.a.createElement("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}),Bi=function(e){return C.a.createElement("svg",Ai({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},e),Ti)};function Pi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ni(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}var Mi=function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,i,r=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"icon",n=r.length>1&&void 0!==r[1]?r[1]:z.fontAwesomeSearchProIcons,a='{ search(version: "latest", first: 50, query: "'.concat((t||"info").replace(/["'\\]/g,""),'") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t').concat(n?"pro":"","\n\t\t\t}\n\t\t} }"),e.next=5,fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then(function(e){return e.json()});case 5:return i=e.sent,e.abrupt("return",i.data.search.reduce(function(e,t){return Ri(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Ni(r,a,i,o,l,"next",e)}function l(e){Ni(r,a,i,o,l,"throw",e)}o(void 0)})});return function(){return t.apply(this,arguments)}}(),Ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(Pi(e.membership.free),Pi(t?e.membership.pro.filter(function(t){return!e.membership.free.includes(t)}):[]));return n.map(function(t){return{className:"fa".concat(t[0]," fa-").concat(e.id),prefix:"fa".concat(t[0]),iconName:e.id}})},Fi=n(98);function Di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zi=null,Ii=null,Hi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,"$1".concat(t," ")):e.match(/(<svg)/)?e.replace(/(<svg)/,'$1 class="'.concat(t,'"')):e},Li=function(e){for(var t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1"),n=0;n<2;n++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},Ui=function(e){var t=Di(Object(c.useState)(""),2),n=t[0],a=t[1],r=Di(Object(c.useState)([]),2),o=r[0],l=r[1],u=Di(Object(c.useState)(!1),2),b=u[0],p=u[1],m=Di(Object(c.useState)(!1),2),g=m[0],d=m[1],f=e.returnSVGValue;Object(c.useEffect)(function(){return clearTimeout(zi),zi=setTimeout(function(){p(!0),Mi(n).then(function(e){l(e)}).finally(function(){p(!1)})},500),function(){return clearTimeout(zi)}},[n]),Object(c.useEffect)(function(){Ii||(Ii=wp.data.select("core/block-editor").getSettings().mediaUpload),g?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Ii&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Ii})},[g]);return wp.element.createElement(B.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:"center"},wp.element.createElement(B.PanelBody,null,wp.element.createElement(Fi.FileDrop,{onFrameDragEnter:function(){return d(!0)},onFrameDragLeave:function(){return d(!1)},onFrameDrop:function(){return d(!1)},onDrop:function(t){if(f&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){d(!1);var n=Li(Hi(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else d(!1);else d(!1)}},wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(B.TextControl,{className:"ugb-icon-popover__input",value:n,onChange:a,placeholder:Object(s.__)("Type to search icon",z.i18n)}),f&&wp.element.createElement(B.Button,{onClick:function(t){t.preventDefault();var n=document.createElement("input");n.accept="image/svg+xml",n.type="file",n.onchange=function(t){var n=t.target.files;if(n.length){var a=new FileReader;a.onload=function(t){d(!1);var n=Li(Hi(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else d(!1)},n.click()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Upload SVG",z.i18n)),e.allowReset&&wp.element.createElement(B.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isTertiary:!0,className:"components-range-control__reset"},Object(s.__)("Clear",z.i18n))),f&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-area"},Object(s.__)("You can also drop your own SVG icon here",z.i18n)),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},b&&wp.element.createElement(B.Spinner,null),!b&&o.map(function(t,n){var a=t.prefix,r=t.iconName,o="".concat(a,"-").concat(r);return wp.element.createElement("button",{key:n,className:"components-button ugb-prefix--".concat(a," ugb-icon--").concat(r),onClick:function(){e.returnSVGValue?e.onChange(Li(Object(i.L)(a,r))):e.onChange(o,a,r),e.onClose()}},wp.element.createElement(dg,{prefix:a,iconName:r}))}),!b&&!o.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",z.i18n))),f&&g&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(Bi,{height:"40",width:"40"}),Object(s.__)("Drop your SVG here",z.i18n)))))};Ui.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0};var Wi=Ui,Gi=function(e){return wp.element.createElement(us,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Ws,{label:Object(s.__)("Align",z.i18n),className:l()([e.className,"ugb--help-tip-alignment-all"])}))};Gi.defaultProps={className:"",setAttributes:function(){},blockAttributes:{}};var Vi=Gi,qi=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function Ji(e){return(Ji="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function $i(e){return($i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qi(e,t){return(Qi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var er=1,tr=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=$i(t).apply(this,arguments))||"object"!==Ji(a)&&"function"!=typeof a?Zi(n):a).state={open:!1,isMouseOutside:!1},e.handleOpen=e.handleOpen.bind(Zi(e)),e.handleClose=e.handleClose.bind(Zi(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Zi(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Zi(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Zi(e)),e.buttonRef=Object(c.createRef)(),e.instanceId=er++,e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qi(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(n,!0).forEach(function(t){Xi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Xi({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleOnClickOutside",value:function(e){this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(B.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:l()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(B.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(B.Button,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",z.i18n),icon:"image-rotate"}),wp.element.createElement(B.Button,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",z.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(B.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(B.PanelBody,null,(this.props.label||this.props.popoverLabel)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Ki(n.prototype,a),i&&Ki(n,i),t}();tr.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var nr=tr,ar=function(e){var t=Object(i.Q)(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var r=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(oe,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,i=t.height,r=e.size||"full";t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChangeImage({id:t.id,url:n,width:a,height:i})}}),e.onChangeShape&&wp.element.createElement(Ce,{isSquareImage:r,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(qi,null),e.onChangeAlt&&wp.element.createElement(se,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){var n=Object(i.Q)(e.imageData,t||"full"),a="",r="",o=e.url;n&&(a=n.width,r=n.height,o=n.source_url),e.onChangeSize(t,o,a,r)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.width,max:n,onChange:function(t){var i=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(i*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Image Width",z.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&("number"==typeof e.width||e.width)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Force square image",z.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"}),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(et,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(et,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Blend Mode",z.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ar.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",onChangeSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var ir=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(ar);function rr(){return(rr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(ir,rr({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id,o=e.width,l=e.height;t((or(a={},n("Url"),i),or(a,n("Id"),r),or(a,n("Width"),o),or(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(or({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,i,r){var o;t((or(o={},n("Size"),e),or(o,n("Url"),a),or(o,n("Width"),i),or(o,n("Height"),r),o))},shape:a("Shape"),onChangeShape:function(e){return t(or({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(or({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(or({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(or({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(or({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var i;t((or(i={},n("Width"),e),or(i,n("Height"),a),i))},onChangeTabletWidth:function(e){return t(or({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(or({},n("MobileWidth"),e))},square:a("Square"),onChangeSquare:function(e){return t(or({},n("Square"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(or({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(or({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(or({},n("BlendMode"),e))}},e))};lr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var cr=lr,sr=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(oe,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(i.R)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(nt,{label:Object(s.__)("Background Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};sr.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var ur=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(sr);function br(){return(br=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(ur,br({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id;t((pr(a={},n("Url"),i),pr(a,n("Id"),r),a))},size:a("Size"),onChangeSize:function(e,a){var i;t((pr(i={},n("Size"),e),pr(i,n("Url"),a),i))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(pr({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(pr({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(pr({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(pr({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(pr({},n("BackgroundCustomSizeUnit"),e))}},e))};mr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var gr=mr;function dr(){return(dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fr=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(nr,{label:e.label,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,className:"ugb--help-tip-typography"},e.onChangeFontFamily&&wp.element.createElement(tn,{label:Object(s.__)("Font Family",z.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Weight",z.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Normal",z.i18n),value:"normal"},{label:Object(s.__)("Bold",z.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Transform",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Uppercase",z.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",z.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",z.i18n),value:"capitalize"},{label:Object(s.__)("None",z.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(et,{label:Object(s.__)("Letter Spacing",z.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement($t,dr({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};fr.defaultProps={label:Object(s.__)("Typography",z.i18n),showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var hr=fr;function vr(){return(vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Or=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(hr,vr({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(yr({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(yr({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(yr({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(yr({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(yr({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(yr({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(yr({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(yr({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(yr({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(yr({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(yr({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(yr({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(yr({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(yr({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(yr({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(yr({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((yr(e={},n("FontFamily"),""),yr(e,n("FontSize"),""),yr(e,n("TabletFontSize"),""),yr(e,n("MobileFontSize"),""),yr(e,n("FontSizeUnit"),"px"),yr(e,n("TabletFontSizeUnit"),"px"),yr(e,n("MobileFontSizeUnit"),"px"),yr(e,n("FontWeight"),""),yr(e,n("TextTransform"),""),yr(e,n("LetterSpacing"),""),yr(e,n("LineHeight"),""),yr(e,n("TabletLineHeight"),""),yr(e,n("MobileLineHeight"),""),yr(e,n("LineHeightUnit"),"em"),yr(e,n("TabletLineHeightUnit"),"em"),yr(e,n("MobileLineHeightUnit"),"em"),e))}},e))};Or.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var wr=Or,_r=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(B.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(et,{label:Object(s.__)("Background Color Opacity",z.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Gradient Color Settings",z.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(et,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(et,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Background Gradient Blend Mode",z.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(qi,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(et,{label:Object(s.__)("Background Media Tint Strength",z.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(i.pb).length>0)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Fixed Background",z.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Background Image Settings",z.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(hs,null,wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(nt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Image Blend Mode",z.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};_r.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",z.i18n),labelBackgroundColor:Object(s.__)("Background Color",z.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var jr=_r;function kr(){return(kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(jr,kr({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(Cr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Cr({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(Cr({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(Cr({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("BackgroundMediaURL"),i),Cr(a,n("BackgroundMediaID"),r),a))},onChangeTabletBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("TabletBackgroundMediaURL"),i),Cr(a,n("TabletBackgroundMediaID"),r),a))},onChangeMobileBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((Cr(a={},n("MobileBackgroundMediaURL"),i),Cr(a,n("MobileBackgroundMediaID"),r),a))},onChangeBackgroundTintStrength:function(e,a){var i;t((Cr(i={},n("BackgroundTintStrength"),e),Cr(i,n("BackgroundColor"),a),i))},onChangeFixedBackground:function(e){return t(Cr({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(Cr({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(Cr({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(Cr({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(Cr({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((Cr(e={},n("BackgroundGradientDirection"),""),Cr(e,n("BackgroundGradientBlendMode"),""),Cr(e,n("BackgroundGradientLocation1"),""),Cr(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(Cr({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(Cr({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(Cr({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(Cr({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(Cr({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(Cr({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(Cr({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(Cr({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(Cr({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(Cr({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(Cr({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(Cr({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(Cr({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(Cr({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(Cr({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(Cr({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((Cr(e={},n("BackgroundPosition"),""),Cr(e,n("TabletBackgroundPosition"),""),Cr(e,n("MobileBackgroundPosition"),""),Cr(e,n("BackgroundRepeat"),""),Cr(e,n("TabletBackgroundRepeat"),""),Cr(e,n("MobileBackgroundRepeat"),""),Cr(e,n("BackgroundSize"),""),Cr(e,n("TabletBackgroundSize"),""),Cr(e,n("MobileBackgroundSize"),""),Cr(e,n("BackgroundCustomSize"),""),Cr(e,n("TabletBackgroundCustomSize"),""),Cr(e,n("MobileBackgroundCustomSize"),""),Cr(e,n("BackgroundCustomSizeUnit"),"%"),Cr(e,n("TabletBackgroundCustomSizeUnit"),"%"),Cr(e,n("MobileBackgroundCustomSizeUnit"),"%"),Cr(e,n("BackgroundImageBlendMode"),""),e))}},e))};xr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Er=xr,Sr=n(99),Ar=n.n(Sr),Tr=n(100),Br=n.n(Tr),Pr=n(101),Nr=n.n(Pr),Mr=n(102),Rr=n.n(Mr);function Fr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Dr=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(c.Fragment,null,e.onChangeUrl&&wp.element.createElement(L,{label:Object(s.__)("Link / URL",z.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(qi,null),e.onChangeDesign&&wp.element.createElement(qa,{label:Object(s.__)("Design",z.i18n),selected:t,options:[{label:Object(s.__)("Basic",z.i18n),value:"basic",image:Ar.a},{label:Object(s.__)("Ghost",z.i18n),value:"ghost",image:Br.a},{label:Object(s.__)("Plain",z.i18n),value:"plain",image:Rr.a}].concat(Fr(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",z.i18n),value:"link",image:Nr.a}]),Fr(Object(ve.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(qi,null),e.hasTypography&&"link"!==t&&wp.element.createElement(wr,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Button Size",z.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",z.i18n)},{value:"small",label:Object(s.__)("Small",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"medium",label:Object(s.__)("Medium",z.i18n)},{value:"large",label:Object(s.__)("Large",z.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(et,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Al,{label:Object(s.__)("Vertical Padding",z.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Al,{label:Object(s.__)("Horizontal Padding",z.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(et,{label:Object(s.__)("Border Width",z.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(et,{label:Object(s.__)("Shadow",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(qi,null),e.onChangeUseSocialColors&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Use social colors",z.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Button Color Type",z.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(X,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Opacity",z.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:.1,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(qi,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",z.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Hover Effect",z.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"lift",label:Object(s.__)("Lift",z.i18n)},{value:"scale",label:Object(s.__)("Scale",z.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",z.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",z.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",z.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Hover Opacity",z.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:.1,max:1,step:.1,allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(nr,{label:Object(s.__)("Hover Colors",z.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(X,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(X,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(et,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(X,{label:Object(s.__)("Text Color",z.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(qi,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Si,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(nr,{label:Object(s.__)("Adv. Icon Settings",z.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Icon Position",z.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",z.i18n)},{value:"right",label:Object(s.__)("Right",z.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(et,{label:Object(s.__)("Icon Spacing",z.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};Dr.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var zr=Dr;function Ir(){return(Ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(zr,Ir({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(Hr({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(Hr({},n("Url"),e))},onChangeNewTab:function(e){return t(Hr({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(Hr({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(Hr({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(Hr({},n("Opacity"),e))},onChangeTextColor:function(e){return t(Hr({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(Hr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Hr({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(Hr({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(Hr({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((Hr(e={},n("HoverBackgroundColor"),""),Hr(e,n("HoverBackgroundColor2"),""),Hr(e,n("HoverBackgroundGradientDirection"),""),Hr(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(Hr({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(Hr({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(Hr({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(Hr({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(Hr({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(Hr({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(Hr({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(Hr({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(Hr({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(Hr({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(Hr({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((Hr(e={},n("IconSize"),""),Hr(e,n("IconPosition"),""),Hr(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(Hr({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(Hr({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(Hr({},n("IconSpacing"),e))}},e))};Lr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ur=Lr,Wr=n(103),Gr=n.n(Wr),Vr=n(104),qr=n.n(Vr),Jr=n(105),Yr=n.n(Jr);function Xr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Kr=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(c.Fragment,null,e.onChangeIcon&&wp.element.createElement(Si,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(qa,{label:Object(s.__)("Design",z.i18n),selected:e.design,columns:3,options:[{label:Object(s.__)("Plain",z.i18n),value:"plain",image:Gr.a},{label:Object(s.__)("Shaped",z.i18n),value:"shaped",image:qr.a},{label:Object(s.__)("Outlined",z.i18n),value:"outlined",image:Yr.a}].concat(Xr(Object(ve.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),z.showProNotice&&wp.element.createElement(Vo,{title:Object(s.__)("Say Hello to Gorgeous Icons 👋",z.i18n),description:Object(s.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",z.i18n)}),z.showProNotice&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Color Type",z.i18n),id:"icon-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n),className:"ugb--is-premium",isDisabled:!0},{value:"multicolor",title:Object(s.__)("Multicolor",z.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(ve.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(c.Fragment,null,e.onChangeColor&&wp.element.createElement(X,{label:Object(s.__)("Icon Color",z.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(qi,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(c.Fragment,null,z.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Shape / Outline Color",z.i18n),id:"icon-shape-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(ve.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(X,{label:Object(s.__)("Icon Shape / Outline Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(et,{label:"shaped"===e.design?Object(s.__)("Icon Shape Border Radius",z.i18n):Object(s.__)("Outline Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(et,{label:"shaped"===e.design?Object(s.__)("Icon Shape Padding",z.i18n):Object(s.__)("Outline Padding",z.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(et,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&wp.element.createElement(et,{label:Object(s.__)("Outline Width",z.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(qi,null)),e.onChangeSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(hs,null,wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(hs,{screen:"tablet"},wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(hs,{screen:"mobile"},wp.element.createElement(et,{label:Object(s.__)("Icon Size",z.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(et,{label:Object(s.__)("Icon Opacity",z.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(et,{label:Object(s.__)("Icon Rotation",z.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(ve.applyFilters)("stackable.icon-controls.edit.after",null,e))};Kr.defaultProps={icon:"",onChangeIcon:function(){},design:"",onChangeDesign:function(){},colorType:"",onChangeColorType:function(){},color:"",onChangeColor:function(){},color2:"",onChangeColor2:function(){},colorGradientDirection:"",onChangeColorGradientDirection:function(){},numPaths:"",color3:"",onChangeColor3:function(){},color4:"",onChangeColor4:function(){},color5:"",onChangeColor5:function(){},color6:"",onChangeColor6:function(){},color7:"",onChangeColor7:function(){},color8:"",onChangeColor8:function(){},color9:"",onChangeColor9:function(){},color10:"",onChangeColor10:function(){},multiOpacity1:"",onChangeMultiOpacity1:function(){},multiOpacity2:"",onChangeMultiOpacity2:function(){},multiOpacity3:"",onChangeMultiOpacity3:function(){},multiOpacity4:"",onChangeMultiOpacity4:function(){},multiOpacity5:"",onChangeMultiOpacity5:function(){},multiOpacity6:"",onChangeMultiOpacity6:function(){},multiOpacity7:"",onChangeMultiOpacity7:function(){},multiOpacity8:"",onChangeMultiOpacity8:function(){},multiOpacity9:"",onChangeMultiOpacity9:function(){},multiOpacity10:"",onChangeMultiOpacity10:function(){},borderRadius:"",onChangeBorderRadius:function(){},padding:"",onChangePadding:function(){},shadow:"",onChangeShadow:function(){},outlineWidth:"",onChangeOutlineWidth:function(){},backgroundColorType:"",onChangeBackgroundColorType:function(){},backgroundColor:"",onChangeBackgroundColor:function(){},backgroundColor2:"",onChangeBackgroundColor2:function(){},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:function(){},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:function(){},onChangeTabletSize:function(){},onChangeMobileSize:function(){},opacity:"",onChangeOpacity:function(){},rotation:"",onChangeRotation:function(){},showBackgroundShape:"",onChangeShowBackgroundShape:function(){},backgroundShape:"",onChangeBackgroundShape:function(){},backgroundShapeSize:"",onChangeBackgroundShapeSize:function(){},backgroundShapeColor:"",onChangeBackgroundShapeColor:function(){},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:function(){},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:function(){}};var $r=Kr;function Zr(){return(Zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement($r,Zr({icon:a("Icon"),onChangeIcon:function(e){return t(Qr({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(Qr({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(Qr({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(Qr({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(Qr({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(Qr({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(Qr({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(Qr({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(Qr({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(Qr({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(Qr({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(Qr({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(Qr({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(Qr({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(Qr({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(Qr({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(Qr({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(Qr({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(Qr({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(Qr({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(Qr({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(Qr({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(Qr({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(Qr({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Qr({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(Qr({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(Qr({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Qr({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(Qr({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(Qr({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(Qr({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(Qr({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(Qr({},n("Size"),e))},onChangeTabletSize:function(e){return t(Qr({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(Qr({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(Qr({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(Qr({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(Qr({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(Qr({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(Qr({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(Qr({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(Qr({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(Qr({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(Qr({},n("BackgroundShapeOffsetVertical"),e))}},e))};eo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var to=eo,no=function(e){return wp.element.createElement(c.Fragment,null,e.socialUrlFields&&wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){return wp.element.createElement(B.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",z.i18n),i.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(r.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(qi,null),wp.element.createElement(Ur,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};no.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var ao=no;function io(){return(io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(ao,io({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(ro({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(ro({},n("UseSocialColors"),e))}},e))};oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var lo=oo;function co(){return(co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(n,!0).forEach(function(t){bo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var po=function(e,t){var n=Object(i.T)(t||"blob1");return n?wp.element.createElement("div",{className:"ugb-icon__bg-shape-wrapper"},e,wp.element.createElement(n,{className:"ugb-icon__bg-shape"})):e},mo=function(e){var t=Object(ve.applyFilters)("stackable.svg-icon.extract-svg",e);return t.match(/^<svg(.*?)<\/svg>$/g)?t:t.match(/<svg/)?(t.match(/<svg.*?<\/svg>/g)||[t])[0]:t},go=function(e){var t=uo({},e,{value:"string"==typeof e.value?mo(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],bo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(dg,co({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],bo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=po(a,e.backgroundShape)),a=Object(ve.applyFilters)("stackable.component.svg-icon",a,t)};go.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(go.Content=function(e){var t=uo({},e,{value:"string"==typeof e.value?mo(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],bo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(dg.Content,co({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],bo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=po(a,e.backgroundShape)),a=Object(ve.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=uo({},go.defaultProps);var fo=go;function ho(){return(ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vo=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(fo,ho({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))};vo.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},vo.Content=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(fo.Content,ho({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))},vo.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var yo=vo;function Oo(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var _o=Object(q.withInstanceId)(function(e){var t=wo(Object(c.useState)(!1),2),n=t[0],a=t[1],i=wo(Object(c.useState)(!1),2),r=i[0],o=i[1],l=e.instanceId,s=e.isOpen,u=e.onChange,b=Oo(e,["instanceId","isOpen","onChange"]);return Object(c.useEffect)(function(){e.onToggle(n)},[n]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(l)},wp.element.createElement(B.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){r?(a(!1),o(!1)):a(!0)}},wp.element.createElement(yo,b)),(null!==s&&s||null===s&&n)&&wp.element.createElement(Wi,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(l))?o(!0):(a(!1),o(!1))},onClose:function(){return a(!1)},onChange:u}))});_o.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var jo=_o;function ko(){return(ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Co=C.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),xo=C.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),Eo=C.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),So=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Ao=C.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),To=C.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Bo=C.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),Po=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),No=C.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),Mo=C.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),Ro=C.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),Fo=function(e){return C.a.createElement("svg",ko({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Co,xo,Eo,So,Ao,To,Bo,Po,No,Mo,Ro)},Do={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",z.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",z.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",z.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",z.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",z.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",z.i18n),description:Object(s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)}},zo=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(Fo,null),wp.element.createElement("h4",null,e.title||Do[e.type].title),wp.element.createElement("p",null,e.description||Do[e.type].description),e.showButton&&wp.element.createElement(Zn,{button:e.button||Do[e.type].button}))};zo.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var Io=zo;function Ho(e){return(Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lo(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Uo(e){return(Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Wo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Go(e,t){return(Go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Vo=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Uo(t).apply(this,arguments))||"object"!==Ho(a)&&"function"!=typeof a?Wo(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(Wo(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Go(e,t)}(t,c["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=l()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(Io,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&Lo(n.prototype,a),i&&Lo(n,i),t}();function qo(e){return(qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jo(n,!0).forEach(function(t){Xo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ko(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Zo(e){return(Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function el(e,t){return(el=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var tl=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=Zo(t).apply(this,arguments))||"object"!==qo(a)&&"function"!=typeof a?Qo(n):a).getEnabledValues(),r=!i.length||i.every(function(e){return e===i[0]}),o=i.every(function(e){return""===e});return e.state={locked:o?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Qo(e)),e.onChangeTop=e.onChangeTop.bind(Qo(e)),e.onChangeRight=e.onChangeRight.bind(Qo(e)),e.onChangeBottom=e.onChangeBottom.bind(Qo(e)),e.onChangeLeft=e.onChangeLeft.bind(Qo(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Ko(this.props.enableTop?[this.props.top]:[]),Ko(this.props.enableRight?[this.props.right]:[]),Ko(this.props.enableBottom?[this.props.bottom]:[]),Ko(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Ko(this.props.enableTop?["top"]:[]),Ko(this.props.enableRight?["right"]:[]),Ko(this.props.enableBottom?["bottom"]:[]),Ko(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Yo({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",z.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",z.i18n))),wp.element.createElement(B.Button,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&$o(n.prototype,a),i&&$o(n,i),t}();tl.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(q.withInstanceId)(tl);function nl(){return(nl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var al=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),il=C.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),rl=function(e){return C.a.createElement("svg",nl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),al,il)};function ol(){return(ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ll=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),cl=C.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),sl=function(e){return C.a.createElement("svg",ol({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ll,cl)};function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),pl=C.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),ml=function(e){return C.a.createElement("svg",ul({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),bl,pl)};function gl(){return(gl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),fl=C.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),hl=function(e){return C.a.createElement("svg",gl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),dl,fl)};function vl(e){return(vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yl(){return(yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ol(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wl(n,!0).forEach(function(t){jl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Cl(e){return(Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function El(e,t){return(El=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Sl=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=Cl(t).apply(this,arguments))||"object"!==vl(a)&&"function"!=typeof a?xl(n):a).getEnabledValues(),r=e.firstValue(),o=Object.values(i).every(function(e){return e===r}),l=Object.values(i).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:o},e.onToggleLock=e.onToggleLock.bind(xl(e)),e.onChangeAll=e.onChangeAll.bind(xl(e)),e.onChangeTop=e.onChangeTop.bind(xl(e)),e.onChangeRight=e.onChangeRight.bind(xl(e)),e.onChangeBottom=e.onChangeBottom.bind(xl(e)),e.onChangeLeft=e.onChangeLeft.bind(xl(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return _l({},t,jl({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(Ol(this.props.enableTop?["top"]:[]),Ol(this.props.enableRight?["right"]:[]),Ol(this.props.enableBottom?["bottom"]:[]),Ol(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(_l({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,i="ugb-four-range-control-".concat(t,"__item-"),r={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},o=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(r.min=this.props.min[o]),Array.isArray(this.props.max)&&(r.max=this.props.max[o]),Array.isArray(this.props.step)&&(r.step=this.props.step[o]),Array.isArray(this.props.placeholder)&&(r.placeholder=this.props.placeholder[o]),Array.isArray(this.props.initialPosition)&&(r.initialPosition=this.props.initialPosition[o]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(B.Button,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:b}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(et,yl({id:"".concat(i,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},r))),!this.state.locked&&wp.element.createElement(c.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Top",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(hl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},r))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Right",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(ml,null))),wp.element.createElement(et,yl({id:"".concat(i,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},r))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Bottom",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(rl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},r))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Left",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(sl,null))),wp.element.createElement(et,yl({id:"".concat(i,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},r)))))}}])&&kl(n.prototype,a),i&&kl(n,i),t}();Sl.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",initialPosition:""};var Al=Sl,Tl=n(106),Bl=n.n(Tl),Pl=n(107),Nl=n.n(Pl),Ml=n(108),Rl=n.n(Ml),Fl=n(109),Dl=n.n(Fl),zl=n(110),Il=n.n(zl),Hl=n(111),Ll=n.n(Hl),Ul=n(112),Wl=n.n(Ul),Gl=n(113),Vl=n.n(Gl),ql=n(114),Jl=n.n(ql),Yl=n(115),Xl=n.n(Yl),Kl=n(116),$l=n.n(Kl),Zl=n(117),Ql=n.n(Zl),ec=n(118),tc=n.n(ec),nc=n(119),ac=n.n(nc),ic=n(120),rc=n.n(ic),oc=n(121),lc=n.n(oc),cc=n(122),sc=n.n(cc),uc=n(123),bc=n.n(uc),pc=n(124),mc=n.n(pc),gc=n(125),dc=n.n(gc),fc=n(126),hc=n.n(fc),vc=n(127),yc=n.n(vc),Oc=n(128),wc=n.n(Oc),_c=n(129),jc=n.n(_c),kc=n(130),Cc=n.n(kc),xc=n(131),Ec=n.n(xc),Sc=n(132),Ac=n.n(Sc),Tc=n(133),Bc=n.n(Tc),Pc=n(134),Nc=n.n(Pc),Mc=n(135),Rc=n.n(Mc),Fc=n(47);function Dc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function zc(){return(zc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ic={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Hc={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Lc=function(e){var t=e.getRailProps;return wp.element.createElement(c.Fragment,null,wp.element.createElement("div",zc({style:Ic},t())),wp.element.createElement("div",{style:Hc}))},Uc=function(e){var t=Dc(e.domain,2),n=t[0],a=t[1],i=e.handle,r=i.id,o=i.value,l=i.percent,c=e.disabled,s=void 0!==c&&c,u=e.getHandleProps;return wp.element.createElement("button",zc({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":o,disabled:s,style:{left:"".concat(l,"%")}},u(r)))},Wc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var i=0;i<e.length-1;i++)if(e[i]<10){var r=10-e[i];e[i]=10,e[i+1]-=r}if("right"===t)for(var o=e.length-1;o>=1;o--)if(e[o]<10){var l=10-e[o];e[o]=10,e[o-1]-=l}return e};function Gc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Vc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var qc={position:"relative",width:"100%"},Jc=[0,100],Yc=function(e){var t=0;return[].concat(Vc(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Xc=function(e){var t=0;return Vc(e).pop(),e.reduce(function(n,a,i){if(i===e.length-1)return n;var r=a+t;return t+=a,n.push(r),n},[])},Kc=function(e){return wp.element.createElement(Fc.c,{className:"ugb-column-widths-control__columns-slider",rootStyle:qc,mode:function(e,t){var n,a=e.map(function(e){return e.val}),i=t.map(function(e){return e.val});if(Object(r.isEqual)(a,i))return t;if((n=[0].concat(Vc(i),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var o=Gc(function(e,t){var n,a=0;return t.some(function(t,i){return t!==e[i]&&(a=i,n=t>e[i]?"right":"left",!0)}),[a,n]}(a,i),2);o[0];(function(e,t,n){var a=Yc(e),i=Wc(a,n);return Xc(i)})(i,0,o[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Yc(t))},domain:Jc,values:Xc(e.value)},wp.element.createElement(Fc.b,null,function(e){var t=e.getRailProps;return wp.element.createElement(Lc,{getRailProps:t})}),wp.element.createElement(Fc.a,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(Uc,{key:e.id,handle:e,domain:Jc,getHandleProps:n})}))}))};Kc.defaultProps={onChange:function(){},value:[]};var $c=Kc;function Zc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Qc=function(e){return e.every(function(e){return!e})},es=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Qc(e.value)?"column":void 0,justifyContent:Qc(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),i=Zc(e.value);i[n]=isNaN(a)?"":a,e.onChange(i)},onBlur:function(){var t=Wc(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(Wc(t))}})}))};es.defaultProps={onChange:function(){},value:[]};var ts=es;function ns(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var as={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},is={plain:{2:[{value:"2-1",image:Bl.a},{value:"2-2",image:Nl.a},{value:"2-3",image:Rl.a}],3:[{value:"3-1",image:Dl.a},{value:"3-2",image:Il.a},{value:"3-3",image:Ll.a},{value:"3-4",image:Wl.a}],4:[{value:"4-1",image:Vl.a},{value:"4-2",image:Jl.a},{value:"4-3",image:Xl.a}]},grid:{2:[{value:"2-1",image:$l.a},{value:"2-2",image:Ql.a},{value:"2-3",image:tc.a}],3:[{value:"3-1",image:ac.a},{value:"3-2",image:rc.a},{value:"3-3",image:lc.a},{value:"3-4",image:sc.a}],4:[{value:"4-1",image:bc.a},{value:"4-2",image:mc.a},{value:"4-3",image:dc.a}]},uneven:{2:[{value:"2-1",image:hc.a},{value:"2-2",image:yc.a},{value:"2-3",image:wc.a}],3:[{value:"3-1",image:jc.a},{value:"3-2",image:Cc.a},{value:"3-3",image:Ec.a},{value:"3-4",image:Ac.a}],4:[{value:"4-1",image:Bc.a},{value:"4-2",image:Nc.a},{value:"4-3",image:Rc.a}]}},rs=function(e){return e.every(function(e){return!e})},os=function(e){var t=ns(Object(c.useState)(-1),2),n=(t[0],t[1]),a=ns(Object(c.useState)(!0),2),i=(a[0],a[1]),o=ns(Object(c.useState)(""),2),u=o[0],b=o[1];Object(c.useEffect)(function(){b("")},[e.columns]);var p="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",m=is[p],g=wp.element.createElement(B.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?rs(e.values):Object(r.isEqual)(e.values,as[u||"".concat(e.columns,"-1")]),onClick:function(){b(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(as[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(B.BaseControl,{help:e.help,className:l()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&m[e.columns])&&wp.element.createElement(Ye,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),m[e.columns]&&wp.element.createElement(qa,{options:m[e.columns],onChange:function(t){n(-1),i(!0),b(t),e.onChange(as[t])}}),e.hasIndividualControls&&wp.element.createElement(c.Fragment,null,wp.element.createElement($c,{value:rs(e.values)?as["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(ts,{value:rs(e.values)?e.forceBlank?e.values:as["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};os.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",z.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var ls=os;function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ss=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(i.b)(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(c.Fragment,null,a.includes("desktop")&&wp.element.createElement(hs,{screens:a},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(cs({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(hs,{screens:a,screen:"tablet"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Tablet"),placeholder:n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(cs({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(hs,{screens:a,screen:"mobile"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Mobile"),placeholder:n("Tablet")||n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(cs({},t("Mobile"),n))}})})))};ss.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var us=ss;function bs(e){return(bs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ps(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ms(e){return(ms=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ds(e,t){return(ds=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fs=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ms(t).apply(this,arguments))||"object"!==bs(a)&&"function"!=typeof a?gs(n):a).state={screen:Object(i.S)()},e.onScreenChange=e.onScreenChange.bind(gs(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}(t,c["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=c.Children.toArray(this.props.children).map(function(t){return Object(c.cloneElement)(t,{screens:e.props.screens})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(c.Fragment,null,(n||a)&&t)}}])&&ps(n.prototype,a),r&&ps(n,r),t}();fs.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var hs=Object(q.withInstanceId)(fs);function vs(){return(vs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ys=C.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),Os=function(e){return C.a.createElement("svg",vs({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ys)};function ws(){return(ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _s=C.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),js=function(e){return C.a.createElement("svg",ws({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),_s)};function ks(){return(ks=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cs=C.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),xs=function(e){return C.a.createElement("svg",ks({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Cs)};function Es(){return(Es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ss=C.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),As=function(e){return C.a.createElement("svg",Es({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ss)};function Ts(){return(Ts=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bs=C.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),Ps=function(e){return C.a.createElement("svg",Ts({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Bs)};function Ns(){return(Ns=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ms=C.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),Rs=function(e){return C.a.createElement("svg",Ns({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ms)};function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ds=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),1),icon:wp.element.createElement(Os,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),2),icon:wp.element.createElement(js,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),3),icon:wp.element.createElement(xs,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),4),icon:wp.element.createElement(As,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),5),icon:wp.element.createElement(Ps,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),6),icon:wp.element.createElement(Rs,null)}],zs=function(e){return wp.element.createElement(Yt,Fs({},e,{className:"ugb-heading-buttons-control",controls:Ds}))};zs.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",z.i18n)),value:Ds[0].value};var Is=zs;function Hs(){return(Hs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ls=[{value:"left",title:Object(s.__)("Align Left",z.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",z.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",z.i18n),icon:"editor-justify"}],Us=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Yt,Hs({},Object(r.omit)(e,["justified"]),{className:l()([n,"ugb-align-buttons-control"]),controls:Ls.filter(function(e){return!!t||"justify"!==e.value})}))};Us.defaultProps={className:"",label:Object(s.__)("Align",z.i18n),value:Ls[0].value,justified:!1};var Ws=Us;function Gs(){return(Gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Vs(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var qs={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Vs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(ve.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(ve.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Gs({},r,{id:u,className:g}),t.styles,Object(ve.applyFilters)("stackable.".concat(o,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(ve.applyFilters)("stackable.".concat(o,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(o,".edit.output.after"),null,b,t)))}};qs.Edit.defaultProps={styles:null,mainClass:!0},qs.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Vs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(ve.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(ve.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Gs({},r,{id:u,className:g}),t.styles,Object(ve.applyFilters)("stackable.".concat(o,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(ve.applyFilters)("stackable.".concat(o,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(o,".save.output.after"),null,b,t)))},qs.Save.defaultProps={styles:null,mainClass:!0};var Js=qs,Ys=n(43),Xs=n(14),Ks=n.n(Xs);function $s(e){return($s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zs(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qs(e){return(Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tu(e,t){return(tu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var nu=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Qs(t).apply(this,arguments))||"object"!==$s(a)&&"function"!=typeof a?eu(n):a).state={value:e.props.value},e.uniqueId=Object(r.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(eu(e)),e.debouncedOnChange=Object(r.debounce)(e.debouncedOnChange.bind(eu(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tu(e,t)}(t,c["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Ys.initialize&&(this.codeMirror=Object(Ys.initialize)(this.uniqueId,Ks()(Ys.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Zs(n.prototype,a),i&&Zs(n,i),t}();nu.defaultProps={value:"",onChange:function(){},editorSettings:{}};var au=nu;function iu(){return(iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ru=C.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),ou=function(e){return C.a.createElement("svg",iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ru)};function lu(){return(lu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cu=C.a.createElement("filter",{id:"curve-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),su=C.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),uu=function(e){return C.a.createElement("svg",lu({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cu,su)};function bu(){return(bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pu=C.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),mu=function(e){return C.a.createElement("svg",bu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pu)};function gu(){return(gu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var du=C.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fu=C.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),hu=function(e){return C.a.createElement("svg",gu({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),du,fu)};function vu(){return(vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yu=C.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),Ou=function(e){return C.a.createElement("svg",vu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yu)};function wu(){return(wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _u=C.a.createElement("filter",{id:"curve-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ju=C.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),ku=function(e){return C.a.createElement("svg",wu({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_u,ju)};function Cu(){return(Cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xu=C.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),Eu=function(e){return C.a.createElement("svg",Cu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xu)};function Su(){return(Su=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Au=C.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Tu=C.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),Bu=function(e){return C.a.createElement("svg",Su({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Au,Tu)};function Pu(){return(Pu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nu=C.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),Mu=function(e){return C.a.createElement("svg",Pu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Nu)};function Ru(){return(Ru=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fu=C.a.createElement("filter",{id:"curve-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Du=C.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),zu=function(e){return C.a.createElement("svg",Ru({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fu,Du)};function Iu(){return(Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hu=C.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),Lu=function(e){return C.a.createElement("svg",Iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hu)};function Uu(){return(Uu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wu=C.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Gu=C.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Vu=function(e){return C.a.createElement("svg",Uu({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wu,Gu)};function qu(){return(qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ju=C.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Yu=function(e){return C.a.createElement("svg",qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ju)};function Xu(){return(Xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ku=C.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$u=C.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Zu=function(e){return C.a.createElement("svg",Xu({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ku,$u)};function Qu(){return(Qu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eb=C.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),tb=function(e){return C.a.createElement("svg",Qu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),eb)};function nb(){return(nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ab=C.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ib=C.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),rb=function(e){return C.a.createElement("svg",nb({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ab,ib)};function ob(){return(ob=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lb=C.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),cb=function(e){return C.a.createElement("svg",ob({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lb)};function sb(){return(sb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ub=C.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),bb=C.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),pb=function(e){return C.a.createElement("svg",sb({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ub,bb)};function mb(){return(mb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gb=C.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),db=function(e){return C.a.createElement("svg",mb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gb)};function fb(){return(fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hb=C.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),vb=C.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),yb=function(e){return C.a.createElement("svg",fb({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hb,vb)};function Ob(){return(Ob=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wb=C.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),_b=function(e){return C.a.createElement("svg",Ob({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wb)};function jb(){return(jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kb=C.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Cb=C.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),xb=function(e){return C.a.createElement("svg",jb({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kb,Cb)};function Eb(){return(Eb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sb=C.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),Ab=function(e){return C.a.createElement("svg",Eb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Sb)};function Tb(){return(Tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bb=C.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Pb=C.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),Nb=function(e){return C.a.createElement("svg",Tb({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bb,Pb)};function Mb(){return(Mb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rb=C.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),Fb=function(e){return C.a.createElement("svg",Mb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rb)};function Db(){return(Db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zb=C.a.createElement("filter",{id:"slant-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ib=C.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),Hb=function(e){return C.a.createElement("svg",Db({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zb,Ib)};function Lb(){return(Lb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ub=C.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),Wb=function(e){return C.a.createElement("svg",Lb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ub)};function Gb(){return(Gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vb=C.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qb=C.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Jb=function(e){return C.a.createElement("svg",Gb({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vb,qb)};function Yb(){return(Yb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xb=C.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Kb=function(e){return C.a.createElement("svg",Yb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xb)};function $b(){return($b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zb=C.a.createElement("filter",{id:"slant-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qb=C.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),ep=function(e){return C.a.createElement("svg",$b({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zb,Qb)};function tp(){return(tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var np=C.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),ap=function(e){return C.a.createElement("svg",tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),np)};function ip(){return(ip=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rp=C.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),op=C.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),lp=function(e){return C.a.createElement("svg",ip({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rp,op)};function cp(){return(cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sp=C.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),up=function(e){return C.a.createElement("svg",cp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sp)};function bp(){return(bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pp=C.a.createElement("filter",{id:"straight-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),mp=C.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),gp=function(e){return C.a.createElement("svg",bp({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pp,mp)};function dp(){return(dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fp=C.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),hp=function(e){return C.a.createElement("svg",dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fp)};function vp(){return(vp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yp=C.a.createElement("filter",{id:"wave-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Op=C.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),_p=function(e){return C.a.createElement("svg",vp({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yp,Op)};function jp(){return(jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kp=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),Cp=function(e){return C.a.createElement("svg",jp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kp)};function xp(){return(xp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ep=C.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sp=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),Ap=function(e){return C.a.createElement("svg",xp({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ep,Sp)};function Tp(){return(Tp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bp=C.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),Pp=function(e){return C.a.createElement("svg",Tp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bp)};function Np(){return(Np=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mp=C.a.createElement("filter",{id:"wave-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rp=C.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),Fp=function(e){return C.a.createElement("svg",Np({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mp,Rp)};function Dp(){return(Dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zp=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),Ip=function(e){return C.a.createElement("svg",Dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zp)};function Hp(){return(Hp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lp=C.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Up=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Wp=function(e){return C.a.createElement("svg",Hp({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lp,Up)};function Gp(){return(Gp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vp=C.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),qp=function(e){return C.a.createElement("svg",Gp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vp)};function Jp(){return(Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yp=C.a.createElement("filter",{id:"wave-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Xp=C.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Kp=function(e){return C.a.createElement("svg",Jp({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yp,Xp)};function $p(){return($p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zp=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Qp=function(e){return C.a.createElement("svg",$p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zp)};function em(){return(em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var tm=C.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),nm=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),am=function(e){return C.a.createElement("svg",em({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tm,nm)};function im(){return(im=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rm=C.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),om=function(e){return C.a.createElement("svg",im({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rm)};function lm(){return(lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cm=C.a.createElement("filter",{id:"wave-4-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),sm=C.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),um=function(e){return C.a.createElement("svg",lm({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cm,sm)};function bm(){return(bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pm=C.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),mm=function(e){return C.a.createElement("svg",bm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pm)};function gm(){return(gm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dm=C.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fm=C.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),hm={"wave-1":{default:{shape:hp,shadow:_p},inverted:{shape:Cp,shadow:Ap}},"wave-2":{default:{shape:Pp,shadow:Fp},inverted:{shape:Ip,shadow:Wp}},"wave-3":{default:{shape:qp,shadow:Kp},inverted:{shape:Qp,shadow:am}},"wave-4":{default:{shape:om,shadow:um},inverted:{shape:mm,shadow:function(e){return C.a.createElement("svg",gm({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),dm,fm)}}},"curve-1":{default:{shape:ou,shadow:uu},inverted:{shape:mu,shadow:hu}},"curve-2":{default:{shape:Ou,shadow:ku},inverted:{shape:Eu,shadow:Bu}},"curve-3":{default:{shape:Mu,shadow:zu},inverted:{shape:Lu,shadow:Vu}},"slant-1":{default:{shape:Fb,shadow:Hb},inverted:{shape:Wb,shadow:Jb}},"slant-2":{default:{shape:Kb,shadow:ep},inverted:{shape:ap,shadow:lp}},"straight-1":{default:{shape:up,shadow:gp},inverted:{shape:up,shadow:gp}},"rounded-1":{default:{shape:Yu,shadow:Zu},inverted:{shape:tb,shadow:rb}},"rounded-2":{default:{shape:cb,shadow:pb},inverted:{shape:db,shadow:yb}},"rounded-3":{default:{shape:_b,shadow:xb},inverted:{shape:Ab,shadow:Nb}}},vm=function(e){var t=hm[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,i=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:i},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};vm.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},vm.Save=function(e){return wp.element.createElement(vm,e)};var ym=vm;function Om(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wm=function(e){var t,n=l()([e.className,"ugb-img"],(Om(t={},"wp-image-".concat(e.imageId),e.imageId),Om(t,"ugb-img--shape",e.shape),Om(t,"ugb-image--shape-stretch",e.shapeStretch),Om(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:e.alt||void 0,width:e.width||void 0,height:e.height||void 0})};wm.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var _m=wm,jm=n(17),km=n(26),Cm=wp.element.createElement(B.Icon,{icon:Vn.h}),xm=wp.element.createElement(B.Icon,{icon:Vn.D});var Em=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),i=a.getBlockRootClientId,r=a.getBlocksByClientId,o=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?i(n[0]):void 0),l=r(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:o&&l.length&&!c,isUngroupable:c&&!!l[0].innerBlocks.length,blocksSelection:l,groupingBlockName:"ugb/container"}}),Object(je.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,i=void 0===a?r.noop:a,o=t.blocksSelection,l=void 0===o?[]:o,c=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=Object(je.select)("core/blocks").getGroupingBlockName();Object(jm.setGroupingBlockName)("ugb/container");var t=Object(jm.switchToBlockType)(l,c);t&&s(n,t),Object(jm.setGroupingBlockName)(e),i()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(s(n,e),i())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,i=void 0!==a&&a,r=e.isUngroupable,o=void 0!==r&&r;return Object(je.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,i&&wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:Cm,label:Object(s.__)("Group into Container",z.i18n),onClick:t}),o&&wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:xm,label:Object(s.__)("Ungroup from Container",z.i18n),onClick:n})):null}),Sm=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(Em),Am=Object(q.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,i=e.setState,o=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(km.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){i({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(B.Modal,{title:"".concat(Object(r.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}i({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return i({changed:!0})}},o())))}),Tm=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var i=e("core/block-editor").getBlockAttributes(n),r=t(n).replace(/^\w+\//g,""),o=a(t(n)).attributes,l=Object.keys(i).reduce(function(e,t){return i[t]!==(o[t]?o[t].default:"")&&(e[t]=i[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(ve.applyFilters)("stackable.".concat(r,".design.filtered-block-attributes"),l),null,4)}}}),Object(je.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Object(i.e)(t,n)}catch(e){console.error(e)}}}})])(Am),Bm=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(Tm);function Pm(){return(Pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Nm(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Mm=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,o=e.showBackground,c=e.showVideoBackground,s=Nm(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":o&&Object(i.V)(a,r.attributes)});return wp.element.createElement(t,Pm({className:u},s),e.children,o&&c&&Object(i.I)(a,r))};Mm.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var Rm=Mm,Fm=function(e){return wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Welcome Guide",z.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",z.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",z.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(B.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",z.i18n))))};Fm.defaultProps={onRequestClose:function(){}};var Dm=Fm;function zm(){return(zm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Im=C.a.createElement("path",{d:"M38 12H12v26h26V12z"}),Hm=function(e){return C.a.createElement("svg",zm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Im)};function Lm(){return(Lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Um=C.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),Wm=function(e){return C.a.createElement("svg",Lm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Um)};function Gm(){return(Gm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vm=C.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),qm=function(e){return C.a.createElement("svg",Gm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Vm)},Jm=void 0;function Ym(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ym(n,!0).forEach(function(t){Km(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ym(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Zm=function(e){var t=$m(Object(c.useState)([]),2),n=t[0],a=t[1],i=$m(Object(c.useState)({}),2),o=i[0],u=i[1],b=$m(Object(c.useState)(0),2),p=b[0],m=b[1],g=$m(Object(c.useState)(0),2),d=g[0],f=g[1],h=$m(Object(c.useState)(0),2),v=h[0],y=h[1],O=$m(Object(c.useState)(""),2),w=O[0],_=O[1];return Object(c.useEffect)(function(){Ln().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(je.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(je.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(je.select)("core/blocks").getBlockType(t).title:""}}return e},{});u(t)})},[]),Object(c.useEffect)(function(){Object.keys(o).length&&In({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(o).reduce(function(e,t){return e[t]=Xm({},o[t]),e},{}),i=0,l=0,c=t.reduce(function(t,n){var a=n.block,r=n.type,o=n.plan;return"block"===r&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===o&&i++),t},Xm({},n));m(l),f(i),y(l-i),a(Object(r.orderBy)(c,["title"],["asc"]))})},[o,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===w?"is-active":"","data-count":p,onClick:function(){_(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":""===w?"true":"false"},Object(s.__)("All Block Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},p))),p!==d&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===w?"is-active":"","data-count":d,onClick:function(){_("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":"free"===w?"true":"false"},Object(s.__)("Free Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},d)),wp.element.createElement("div",{className:"premium"===w?"is-active":"","data-count":v,onClick:function(){_("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===w?"true":"false"},Object(s.__)("Premium Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},v))),wp.element.createElement(qi,null),n.map(function(t,n){var a=w===t.name||t.name===e.forceBlock,i=l()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:i,"data-count":t.count,onClick:function(){e.forceBlock||(_(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&Jm.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Zm.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var Qm=Zm;function eg(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function tg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ng={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},ag=function(e){var t=tg(Object(c.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(B.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var i=ng[t],r=i.color,o=i.name;return wp.element.createElement(B.ColorPalette,{key:t,value:n.includes(o)?r:"",colors:[{color:r,name:o}],onChange:function(t){var i;i=t?[].concat(eg(n),[o]):n.filter(function(e){return e!==o}),a(i),e.onSelect(i)},clearable:!1,disableCustomColors:!0})})))};ag.defaultProps={onSelect:function(){},colors:ng};var ig=ag;function rg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var og=function(e){var t=rg(Object(c.useState)(e.search),2),n=t[0],a=t[1],r=rg(Object(c.useState)(),2),o=r[0],l=r[1],u=rg(Object(c.useState)(""),2),b=u[0],p=u[1],m=rg(Object(c.useState)(""),2),g=m[0],d=m[1],f=rg(Object(c.useState)([]),2),h=f[0],v=f[1],y=rg(Object(c.useState)(3),2),O=y[0],w=y[1],_=rg(Object(c.useState)([]),2),j=_[0],k=_[1],C=rg(Object(c.useState)(!0),2),x=C[0],E=C[1],S=rg(Object(c.useState)(!1),2),A=S[0],T=S[1],P=rg(Object(i.qb)("stk__design_library_dev_mode",!1),2),N=P[0],M=P[1];Object(c.useEffect)(function(){return l(e.selectedBlock)},[e.selectedBlock]);var R=rg(Object(c.useState)(n),2),F=R[0],D=R[1],I=rg(Object(c.useState)(null),2),H=I[0],L=I[1];return Object(c.useEffect)(function(){H&&(clearTimeout(H),L(null)),L(setTimeout(function(){D(n)},500))},[n]),Object(c.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(c.useEffect)(function(){A&&(k([]),E(!0)),In({type:"block",block:o,plan:b,mood:g,colors:h,search:F,reset:A}).then(function(e){k(e)}).finally(function(){E(!1),T(!1)})},[o,g,h,b,F,A]),wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Design Library",z.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(B.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",z.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(ig,{onSelect:function(e){v(e)}}),wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("All",z.i18n)},{value:"light",title:Object(s.__)("Light",z.i18n)},{value:"dark",title:Object(s.__)("Dark",z.i18n)}],value:g,onChange:function(e){return d(e)}}),wp.element.createElement(Qm,{search:n,mood:g,colors:h,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;l(t),p(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},z.devMode&&wp.element.createElement(B.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:N,onChange:function(e){zn(e).then(function(){T(!0)}),M(e)}}),wp.element.createElement(B.Button,{icon:"image-rotate",label:Object(s.__)("Refresh Library",z.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return T(!0)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Hm,{width:"18",height:"18"}),className:2===O?"is-active":"",label:Object(s.__)("Large preview",z.i18n),onClick:function(){return w(2)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(qm,{width:"18",height:"18"}),className:3===O?"is-active":"",label:Object(s.__)("Medium preview",z.i18n),onClick:function(){return w(3)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Wm,{width:"18",height:"18"}),className:4===O?"is-active":"",label:Object(s.__)("Small preview",z.i18n),onClick:function(){return w(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(aa,{columns:O,onSelect:e.onSelect,isBusy:x,designs:e.selectedBlock?j.filter(function(t){return t.block===e.selectedBlock}):j}))))};og.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var lg=og;function cg(){return(cg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sg=C.a.createElement("path",{fill:"currentColor",d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}),ug=function(e){return C.a.createElement("svg",cg({"aria-hidden":"true","data-prefix":"fas","data-icon":"circle-notch",className:"spinner_svg__svg-inline--fa spinner_svg__fa-circle-notch spinner_svg__fa-w-16",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),sg)};function bg(){return(bg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var mg=function(){return wp.element.createElement(ug,{className:"ugb-icon-is-loading"})},gg=function(e){var t=pg(Object(c.useState)(0),2),n=t[0],a=t[1],o=function(){a(n+1)};Object(c.useEffect)(function(){Object(i.K)().then(o)},[]);var l=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,l,e.value);if(!Object(i.N)())return wp.element.createElement(mg,null);var s=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&u){var b=Object(i.L)(s,u);return b?wp.element.createElement(c.RawHTML,l,b):(Object(i.M)(s,u).then(o),wp.element.createElement(mg,null))}var p=Object(i.L)("far","smile");return wp.element.createElement(c.RawHTML,bg({},l,{className:"".concat(e.className," ugb-icon--faded")}),p)};gg.Content=function(e){var t=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,o=Object(i.L)(n,a);return wp.element.createElement(c.RawHTML,t,o)},gg.defaultProps={prefix:"",iconName:"",value:""};var dg=gg;function fg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var hg=1,vg=function(e){var t,n,a,i=fg(Object(c.useState)("ugb-admin-setting-".concat(hg++)),1)[0],r=l()(["ugb-admin-setting"],(t={},n="ugb-admin-setting--".concat(e.size),a=e.size,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:r,id:i},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:i},wp.element.createElement("span",{className:"ugb-admin-setting__label"},e.label),wp.element.createElement("div",{className:"ugb-admin-setting__field"},e.children)))};vg.defaultProps={label:""};var yg=vg,Og=function(e){return wp.element.createElement(yg,e,wp.element.createElement("input",{className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:e.onChange}))};Og.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var wg=function(e){return wp.element.createElement(yg,e,wp.element.createElement("button",{className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:function(){return e.onChange(!e.value)},style:{minWidth:e.width||void 0}},wp.element.createElement("span",null,e.disabled),wp.element.createElement("span",null,e.enabled)))};wg.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(s.__)("Disabled",z.i18n),enabled:Object(s.__)("Enabled",z.i18n),width:""};n.d(t,"o",function(){return a.c}),n.d(t,"p",function(){return a.a}),n.d(t,"jb",function(){return j}),n.d(t,"kb",function(){return d}),n.d(t,"Y",function(){return D}),n.d(t,"sb",function(){return L}),n.d(t,"tb",function(){return V}),n.d(t,"s",function(){return X}),n.d(t,"j",function(){return Q}),n.d(t,"S",function(){return oe}),n.d(t,"P",function(){return se}),n.d(t,"V",function(){return _e}),n.d(t,"W",function(){return Ce}),n.d(t,"X",function(){return Se}),n.d(t,"c",function(){return et}),n.d(t,"d",function(){return nt}),n.d(t,"b",function(){return yt}),n.d(t,"e",function(){return Yt}),n.d(t,"G",function(){return $t}),n.d(t,"F",function(){return tn}),n.d(t,"cb",function(){return On}),n.d(t,"db",function(){return jn}),n.d(t,"Z",function(){return Cn}),n.d(t,"y",function(){return Gn}),n.d(t,"z",function(){return aa}),n.d(t,"eb",function(){return Pa}),n.d(t,"l",function(){return za}),n.d(t,"A",function(){return Ha}),n.d(t,"B",function(){return La}),n.d(t,"x",function(){return qa}),n.d(t,"C",function(){return _i}),n.d(t,"K",function(){return Si}),n.d(t,"N",function(){return Wi}),n.d(t,"u",function(){return Vi}),n.d(t,"v",function(){return qi}),n.d(t,"q",function(){return nr}),n.d(t,"T",function(){return ir}),n.d(t,"U",function(){return cr}),n.d(t,"Q",function(){return ur}),n.d(t,"R",function(){return gr}),n.d(t,"qb",function(){return hr}),n.d(t,"rb",function(){return wr}),n.d(t,"g",function(){return jr}),n.d(t,"h",function(){return Er}),n.d(t,"m",function(){return zr}),n.d(t,"n",function(){return Ur}),n.d(t,"L",function(){return $r}),n.d(t,"M",function(){return to}),n.d(t,"lb",function(){return ao}),n.d(t,"mb",function(){return lo}),n.d(t,"nb",function(){return fo}),n.d(t,"ob",function(){return yo}),n.d(t,"pb",function(){return jo}),n.d(t,"fb",function(){return Io}),n.d(t,"gb",function(){return Vo}),n.d(t,"H",function(){return Al}),n.d(t,"t",function(){return ls}),n.d(t,"hb",function(){return us}),n.d(t,"i",function(){return Ye}),n.d(t,"ub",function(){return hs}),n.d(t,"J",function(){return Is}),n.d(t,"f",function(){return Ws}),n.d(t,"k",function(){return Js}),n.d(t,"r",function(){return au}),n.d(t,"ib",function(){return ym}),n.d(t,"O",function(){return _m}),n.d(t,"w",function(){return Sm}),n.d(t,"I",function(){return Bm}),n.d(t,"D",function(){return Rm}),n.d(t,"bb",function(){return Dm}),n.d(t,"ab",function(){return lg}),n.d(t,"E",function(){return dg}),n.d(t,"a",function(){return yg})},,function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.blockEditor},,function(e,t){e.exports=lodash},function(e,t,n){"use strict";var a=n(3),i=n(5),r=n(8),o=n.n(r),l=n(6),c=n(12),s=n(15),u=n.n(s);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function f(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.createHigherOrderComponent)(function(n){var r,c;return c=r=function(r){function c(){return m(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var r=o()([this.props.className,this.props.attributes.uniqueClass]),l=this.props.blockName,c=Object(i.applyFilters)("stackable.".concat(l,".styles"),e(this.props),this.props),s=wp.element.createElement(a.l,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.mainClassName,style:c,editorMode:t.editorMode||!1});return wp.element.createElement(n,p({},this.props,{className:r,styles:s}))}}]),c}(),O(r,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),O(r,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),c},"withBlockStyles")},_=n(2);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return k(this,a),E(this,S(a).apply(this,arguments))}return A(a,l["Component"]),x(a,[{key:"componentDidMount",value:function(){var t=this.props.blockName;Object(i.addFilter)("stackable.".concat(t,".setAttributes"),"stackable/".concat(t,"/contentAlign"),function(n){var a=Object(i.applyFilters)("stackable.with-content-align-reseter.attributeNamesToReset",e,t);return["","Tablet","Mobile"].forEach(function(e){void 0!==n[Object(_.O)("%sContentAlign",e)]&&a.forEach(function(t){n[Object(_.O)(t,e)]=""})}),n})}},{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}(),B(n,"defaultProps",{attributes:{},blockName:""}),a},"withContentAlignReseter")};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),R(this,F(n).apply(this,arguments))}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){Object(_.cb)(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&M(a.prototype,i),r&&M(a,r),n}(),r={attributes:{}},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withGoogleFont");function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function L(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function U(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V=function(e){return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),U(this,W(a).apply(this,arguments))}var r,c,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(a,l["Component"]),r=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),r=Object(i.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=o()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),r]);return wp.element.createElement(t,H({},this.props,{className:l,mainClassName:r,blockName:n}))}}])&&L(r.prototype,c),s&&L(r,s),a}()},"withMainClassname")},q=n(9);function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function X(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Q=Object(c.createHigherOrderComponent)(function(e){var t,n,a,r,o;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=K(n).apply(this,arguments))||"object"!==J(a)&&"function"!=typeof a?$(t):a).setAttributes=e.setAttributes.bind($(e)),e}var a,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z(e,t)}(n,l["Component"]),a=n,(r=[{key:"componentDidUpdate",value:function(e){Object(q.isEqual)(e.attributes,this.props.attributes)||Object(i.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(i.applyFilters)("stackable.setAttributes",e,this.props);n=Object(i.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,Y({},this.props,{setAttributes:this.setAttributes}))}}])&&X(a.prototype,r),o&&X(a,o),n}(),a=t,r="propTypes",o={setAttributes:u.a.func.isRequired},r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,n},"withSetAttributeHook"),ee=n(7);function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ie(e,t,n){return t&&ae(e.prototype,t),n&&ae(e,n),e}function re(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(c.createHigherOrderComponent)(function(t){var n,r;return r=n=function(n){function r(){return ne(this,r),re(this,oe(r).apply(this,arguments))}return le(r,l["Component"]),ie(r,[{key:"render",value:function(){var n=this.props.blockName,r=Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.block"),null,this.props);return wp.element.createElement(l.Fragment,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.before"),null,this.props),wp.element.createElement(ee.InspectorControls,null,wp.element.createElement(a.eb,{tabs:e,blockProps:this.props}),wp.element.createElement(a.Z,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.after"),null,this.props)),wp.element.createElement(a.Z,{tab:"style"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.after"),null,this.props),r&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),r),wp.element.createElement(a.Z,{tab:"advanced"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.after"),null,this.props))),wp.element.createElement(t,this.props))}}]),r}(),se(n,"defaultProps",{attributes:{},blockName:""}),r},"withTabbedInspector")};function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function me(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ge(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function de(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ye=Object(c.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),de(this,fe(n).apply(this,arguments))}var a,i,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&he(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,i="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===i||n({uniqueClass:i})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&ge(a.prototype,i),r&&ge(a,r),n}(),ve(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(i.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(me(e),["uniqueClass"])}),Object(i.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(n,!0).forEach(function(t){ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Oe=ye,we=n(36),_e=n(20);function je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=!1,Ee={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Se={},Ae=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Te=function(e,t,n){void 0===Se[e]&&(Se[e]={}),Se[e][t]=n},Be=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach(function(t){Ce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Se[e],{},Ee)};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Re(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function Fe(e,t){return!t||"object"!==Pe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ie(e,t)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(_e.a)(function(){if(!xe&&(xe=!0,Element.prototype.matches)){var e=Object(i.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,i=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(i){var r=Be(i);if(r){var o=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(o=e[n],!0)}),[].concat(je(o),Ae).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(r).some(function(e){if(n.matches(e)){var t=r[e];return Object(we.a)(t)}return!1})})}}})}});var He=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){var t;Ne(this,a);var n=(t=Fe(this,De(a).apply(this,arguments))).props.blockName;return e.forEach(function(e){Te(n,e[0],e[1])}),t}return ze(a,l["Component"]),Re(a,[{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}()},"withClickOpenInspector")};function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function We(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ge(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=function(e){return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Ge(this,Ve(a).apply(this,arguments))}var i,r,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qe(e,t)}(a,l["Component"]),i=a,(r=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=o()([this.props.className],Je({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,Ue({},this.props,{className:a}))}}])&&We(i.prototype,r),c&&We(i,c),a}(),Je(n,"defaultProps",{className:""}),a},"withHelpTip")};n.d(t,"a",function(){return w}),n.d(t,"c",function(){return P}),n.d(t,"d",function(){return z}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return Q}),n.d(t,"h",function(){return ue}),n.d(t,"i",function(){return Oe}),n.d(t,"b",function(){return He}),n.d(t,"e",function(){return Ye})},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.data},,,function(e,t,n){"use strict";var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),l=i.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),c=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),s=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),u=function(e){return i.a.createElement("svg",r({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),o,l,c,s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=i.a.createElement("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}),m=function(e){return i.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),p)};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=i.a.createElement("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}),f=function(e){return i.a.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=i.a.createElement("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}),y=function(e){return i.a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg"},e),v)};function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v5.3C0 8.2.8 9 1.8 9H7v2.7c-.1-.2-.2-.4-.3-.5-.3-.5-.7-.9-1.3-1.1-.5-.2-1.1-.1-1.6.2-1.1.6-1.5 1.9-.9 2.9l1.3 2.4c.1.1.1.2.2.3.9 1.6 2.3 4 6.5 4 4.1 0 6-3.6 6-7v-3c0-.4-.1-.7-.2-1h1.5c1 0 1.8-.8 1.8-1.8V1.8c0-1-.8-1.8-1.8-1.8zm-2.8 13c0 2-1 5.5-4.5 5.5-3.3 0-4.3-1.7-5.2-3.3-.1-.1-.1-.2-.2-.3l-1.3-2.4c-.1-.2-.1-.3 0-.5s.2-.3.3-.4c.2-.1.3-.1.5 0s.3.2.4.3c.1.2.3.7.5.9.4.5 1 .8 1.6.6.6-.2 1-.8 1-1.5V5.1c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4.3.8.8.8s.8-.3.8-.8V8.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7v2.3c0 .4.3.8.8.8s.8-.3.8-.8V9.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7V13zm3.1-5.8c0 .2-.1.3-.3.3h-4.7c-.4-.4-.9-.6-1.5-.6-.2 0-.4 0-.6.1V5.1c0-1.2-1-2.2-2.2-2.2S7 3.9 7 5.1v2.4H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v5.4z"}),_=function(e){return i.a.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg"},e),w)};function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var k=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}),C=function(e){return i.a.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg"},e),k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 18.5c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h7.4v17H1.8zm16.4 0h-7.4v-17h7.3c.2 0 .3.1.3.3v16.4h.1c0 .2-.1.3-.3.3z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),B=function(e){return i.a.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=i.a.createElement("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}),M=function(e){return i.a.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=i.a.createElement("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}),D=function(e){return i.a.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg"},e),F)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=i.a.createElement("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}),H=function(e){return i.a.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg"},e),I)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=i.a.createElement("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}),W=function(e){return i.a.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg"},e),U)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var V=i.a.createElement("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}),q=function(e){return i.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),V)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}),X=function(e){return i.a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg"},e),Y)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),Z=function(e){return i.a.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg"},e),$)};function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ee=i.a.createElement("path",{d:"M15.3 1.1c-.7 0-1.4.5-1.4 1.4v6.3H6.1V2.5c0-.7-.5-1.4-1.4-1.4-.7 0-1.4.5-1.4 1.4v14.9c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4v-6.3h7.7v6.3c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4V2.5c.1-.7-.4-1.4-1.3-1.4z"}),te=function(e){return i.a.createElement("svg",Q({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ee)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=i.a.createElement("path",{d:"M19.6 8.9c.7-.7.4-1.9-.6-2.1l-4.9-.7c-.3-.1-.6-.3-.8-.6l-2.2-4.4C10.7.2 9.4.2 9 1.1L6.7 5.5c-.1.4-.4.6-.8.6L1 6.8C0 7-.3 8.2.4 8.9l3.5 3.5c.3.2.4.6.3.9l-.8 4.9c-.2 1 .9 1.7 1.7 1.3l4.4-2.3c.3-.2.7-.2 1 0l4.4 2.3c.9.5 1.9-.3 1.7-1.3l-.8-4.9c-.1-.3.1-.7.3-.9zm-5.4 3.8l.8 4.7c0 .2-.2.4-.4.3l-4.2-2.2c-.3-.1-.6-.1-.9 0l-4.2 2.2c-.1.1-.3-.1-.3-.3l.8-4.6c.1-.3 0-.6-.3-.8L2.1 8.7c-.1-.2 0-.5.2-.5L7 7.5c.3 0 .6-.2.7-.5l2.1-4.2c.1-.2.4-.2.5 0l2 4.2c.1.3.4.5.7.5l4.6.7c.2 0 .3.3.2.5L14.4 12c-.2.2-.2.4-.2.7z"}),ie=function(e){return i.a.createElement("svg",ne({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ae)};function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=i.a.createElement("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}),le=function(e){return i.a.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg"},e),oe)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}),ue=function(e){return i.a.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg"},e),se)};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=i.a.createElement("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}),me=function(e){return i.a.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg"},e),pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}),fe=function(e){return i.a.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}),ye=function(e){return i.a.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg"},e),ve)};function Oe(){return(Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var we=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}),_e=function(e){return i.a.createElement("svg",Oe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),we)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ke=i.a.createElement("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}),Ce=function(e){return i.a.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg"},e),ke)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=i.a.createElement("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}),Se=function(e){return i.a.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg"},e),Ee)};function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=i.a.createElement("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}),Be=function(e){return i.a.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=i.a.createElement("path",{d:"M17.1 1.1H7.4C4.4 1.1 2 3.5 2 6.5c0 3 2.4 5.4 5.4 5.4.4 0 .7 0 .9-.1v6.3c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.4v15.4c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.6c.5 0 .8-.4.8-.8.2-.4-.1-.8-.6-.8zM8.4 10c-.2.1-.5.2-.9.2-2.1 0-3.8-1.7-3.8-3.8s1.7-3.8 3.8-3.8c.4 0 .7.1.9.2V10z"}),Me=function(e){return i.a.createElement("svg",Pe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fe=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}),De=function(e){return i.a.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg"},e),Fe)};function ze(){return(ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ie=i.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),He=function(e){return i.a.createElement("svg",ze({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ie)},Le=n(6),Ue=n(20);n.d(t,"v",function(){return Ge}),n.d(t,"w",function(){return Ve}),n.d(t,"z",function(){return qe}),n.d(t,"a",function(){return Je}),n.d(t,"b",function(){return Ye}),n.d(t,"c",function(){return Xe}),n.d(t,"d",function(){return Ke}),n.d(t,"f",function(){return $e}),n.d(t,"g",function(){return Ze}),n.d(t,"h",function(){return Qe}),n.d(t,"i",function(){return et}),n.d(t,"e",function(){return tt}),n.d(t,"j",function(){return nt}),n.d(t,"k",function(){return at}),n.d(t,"l",function(){return it}),n.d(t,"m",function(){return rt}),n.d(t,"n",function(){return ot}),n.d(t,"o",function(){return lt}),n.d(t,"p",function(){return ct}),n.d(t,"q",function(){return st}),n.d(t,"r",function(){return ut}),n.d(t,"s",function(){return bt}),n.d(t,"t",function(){return pt}),n.d(t,"u",function(){return mt}),n.d(t,"x",function(){return gt}),n.d(t,"y",function(){return dt}),n.d(t,"A",function(){return ft}),n.d(t,"B",function(){return ht}),n.d(t,"C",function(){return vt}),n.d(t,"E",function(){return yt}),n.d(t,"D",function(){return Ot});var We=function(e){return Object(Le.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(Ue.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(Le.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Ge=function(){return We(wp.element.createElement(u,{width:"20",height:"20",className:"components-panel__icon"}))},Ve=function(){return wp.element.createElement(u,{width:"20",height:"20"})},qe=function(){return We(wp.element.createElement(u,{width:"20",height:"20"}))},Je=function(){return We(wp.element.createElement(m,{width:"20",height:"20"}))},Ye=function(){return We(wp.element.createElement(f,{width:"20",height:"20"}))},Xe=function(){return We(wp.element.createElement(y,{width:"20",height:"20"}))},Ke=function(){return We(wp.element.createElement(_,{width:"20",height:"20"}))},$e=function(){return We(wp.element.createElement(C,{width:"20",height:"20"}))},Ze=function(){return We(wp.element.createElement(S,{width:"20",height:"20"}))},Qe=function(){return We(wp.element.createElement(B,{width:"20",height:"20"}))},et=function(){return We(wp.element.createElement(M,{width:"20",height:"20"}))},tt=function(){return We(wp.element.createElement(D,{width:"20",height:"20"}))},nt=function(){return We(wp.element.createElement(H,{width:"20",height:"20"}))},at=function(){return We(wp.element.createElement(W,{width:"20",height:"20"}))},it=function(){return We(wp.element.createElement(q,{width:"20",height:"20"}))},rt=function(){return We(wp.element.createElement(X,{width:"20",height:"20"}))},ot=function(){return We(wp.element.createElement(Z,{width:"20",height:"20"}))},lt=function(){return We(wp.element.createElement(te,{width:"20",height:"20"}))},ct=function(){return We(wp.element.createElement(ie,{width:"20",height:"20"}))},st=function(){return We(wp.element.createElement(le,{width:"20",height:"20"}))},ut=function(){return We(wp.element.createElement(ue,{width:"20",height:"20"}))},bt=function(){return We(wp.element.createElement(me,{width:"20",height:"20"}))},pt=function(){return We(wp.element.createElement(fe,{width:"20",height:"20"}))},mt=function(){return We(wp.element.createElement(ye,{width:"20",height:"20"}))},gt=function(){return We(wp.element.createElement(_e,{width:"20",height:"20"}))},dt=function(){return We(wp.element.createElement(Ce,{width:"20",height:"20"}))},ft=function(){return We(wp.element.createElement(Se,{width:"20",height:"20"}))},ht=function(){return We(wp.element.createElement(Be,{width:"20",height:"20"}))},vt=function(){return We(wp.element.createElement(Me,{width:"20",height:"20"}))},yt=function(){return We(wp.element.createElement(De,{width:"20",height:"20"}))},Ot=function(){return We(wp.element.createElement(He,{width:"20",height:"20"}))}},function(e,t){e.exports=wp.blocks},,function(e,t,n){"use strict";var a=n(3),i=n(0),r=n(6),o=n(8),l=n.n(o),c=n(1),s=n(7);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){var t,n=e.className,i=void 0===n?"":n,r=e.align,o=void 0===r?"center":r,c=e.size,b=void 0===c?"normal":c,p=e.url,m=void 0===p?"":p,g=e.icon,d=void 0===g?null:g,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,O=e.design,w=void 0===O?"basic":O,_=e.newTab,j=void 0!==_&&_,k={borderRadius:"link"===w?void 0:"plain"===w?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===w?v:void 0,color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f};k.backgroundColor="ghost"===w?void 0:k.backgroundColor,k.backgroundColor="plain"===w?void 0:k.backgroundColor,k.backgroundColor="link"===w?void 0:k.backgroundColor;var C=l()([i,"ugb-button","ugb-button--align-".concat(o),"ugb-button--size-".concat(b)],(u(t={},"ugb-button--design-".concat(w),"basic"!==w),u(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:m,style:k,target:j?"_blank":void 0,rel:j?"noopener noreferrer":void 0},d&&"link"!==w&&wp.element.createElement(a.nb.Content,{value:d,style:{color:"ghost"===w?v:"plain"===w?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===w?"":"ugb-button--inner",style:{color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f},value:h})))},p=n(9);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.setAttributes,n=function(t){return Object(p.camelCase)(Object(i.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(x,m({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(g({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(g({},n("Url"),e))},onChangeNewTab:function(e){return t(g({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(g({},n("NoFollow"),e))},onChangeIcon:function(e){return t(g({},n("Icon"),e))},isSelected:e.isSelected},e))};d.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(d.Content=function(e){var t=function(t){return Object(p.camelCase)(Object(i.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a};return wp.element.createElement(x.Content,m({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var f=d;function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"b",function(){return b}),n.d(t,"a",function(){return f});var k=1,C=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=O(t).apply(this,arguments),e=!a||"object"!==v(a)&&"function"!=typeof a?w(n):a,j(w(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=k++,e.onButtonClickHandler=e.onButtonClickHandler.bind(w(e)),e.outsideClickHandler=e.outsideClickHandler.bind(w(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(w(e)),e}var n,o,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,r["Component"]),n=t,(o=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,o=t.className,u=void 0===o?"":o,b=t.size,p=void 0===b?"normal":b,m=t.text,g=void 0===m?"":m,d=t.onChange,f=void 0===d?function(){}:d,h=t.design,v=void 0===h?"basic":h,y=t.shadow,O=void 0===y?0:y,w=t.iconPosition,_=void 0===w?"":w,k=t.hoverEffect,C=void 0===k?"":k,x=t.ghostToNormalEffect,E=void 0!==x&&x,S=t.url,A=void 0===S?"":S,T=t.newTab,B=void 0===T?"":T,P=t.noFollow,N=void 0===P?"":P,M=t.onChangeUrl,R=void 0===M?null:M,F=t.onChangeNewTab,D=void 0===F?null:F,z=t.onChangeNoFollow,I=void 0===z?null:z,H=t.onChangeIcon,L=void 0===H?null:H,U=t.icon,W=void 0===U?null:U,G=t.isSelected,V=void 0===G?null:G,q=l()([u,"ugb-button","ugb-button--size-".concat(p)],(j(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":E},"ugb--hover-effect-".concat(C),"link"!==v&&C),j(e,"ugb--shadow-".concat(O),"basic"===v&&O),j(e,"ugb-button--design-".concat(v),"basic"!==v),j(e,"ugb-button--has-icon",W),j(e,"ugb-button--icon-position-".concat(_),_),e)),J=l()(["ugb-button-container","ugb-button-container-".concat(this.buttonInstanceId),this.props.containerClassName]),Y=(null===V||V)&&this.state.openPopup;return wp.element.createElement("div",{className:J,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},W&&"link"!==v&&wp.element.createElement(r.Fragment,null,!L&&wp.element.createElement(a.nb,{value:W}),L&&wp.element.createElement(a.pb,{value:W,onChange:L,isOpen:n?Y:null})),!n&&wp.element.createElement(s.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(i.__)("Button text",c.i18n),value:g,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),Y&&wp.element.createElement(a.tb,{value:A,onChange:R,newTab:B,noFollow:N,onChangeNewTab:D,onChangeNoFollow:I,disableSuggestions:this.props.disableSuggestions})))}}])&&y(n.prototype,o),u&&y(n,u),t}();C.defaultProps={iconButton:!1,disableSuggestions:!1,containerClassName:"",className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},C.Content=function(e){var t,n=e.iconButton,i=e.className,r=void 0===i?"":i,o=e.size,c=void 0===o?"normal":o,u=e.url,b=void 0===u?"":u,p=e.icon,m=void 0===p?null:p,g=e.text,d=void 0===g?"":g,f=e.design,v=void 0===f?"basic":f,y=e.newTab,O=void 0!==y&&y,w=e.shadow,_=void 0===w?0:w,k=e.iconPosition,C=void 0!==k&&k,x=e.hoverEffect,E=void 0===x?"":x,S=e.noFollow,A=void 0!==S&&S,T=e.ghostToNormalEffect,B=void 0!==T&&T,P=e.target,N=void 0===P?"":P,M=e.role,R=void 0===M?"":M,F=l()([r,"ugb-button","ugb-button--size-".concat(c)],(j(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":B},"ugb--hover-effect-".concat(E),"link"!==v&&E),j(t,"ugb--shadow-".concat(_),"basic"===v&&_),j(t,"ugb-button--design-".concat(v),"basic"!==v),j(t,"ugb-button--has-icon",m),j(t,"ugb-button--icon-position-".concat(C),C),t)),D=[];O&&(D.push("noopener"),D.push("noreferrer")),A&&D.push("nofollow");var z={};return R&&(z.role=R),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",h({className:F,href:b,target:N||O?N||"_blank":void 0,rel:e.rel||D.join(" ")},z),m&&"link"!==v&&wp.element.createElement(a.nb.Content,{value:m}),!n&&wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===v?"":"ugb-button--inner",value:d})))};var x=t.c=C},,,function(e,t){e.exports=wp.apiFetch},,,,function(e,t){e.exports=wp.editPost},,,,,,,function(e,t){e.exports=wp.plugins},,,function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var a=n(2),i=function(e){var t=r(e);if(t){var n=o(t);l(n),c(t)}return t},r=function(e){return document.querySelector(".ugb-panel--".concat(e))},o=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},l=function(e){e&&(e.classList.contains("is-active")||e.click())},c=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}s(e)}},s=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),i=e.getBoundingClientRect().top+2;if(i-=t?t.getBoundingClientRect().height:0,i-=n.getBoundingClientRect().top,!Object(a.nb)()){var r=document.querySelector(".edit-post-sidebar-header");i-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=i}},function(e,t){e.exports=wp.richText},,,,,,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports="dist/videos/help/alignment-image.mp4"},function(e,t){e.exports="dist/videos/help/spacing-image.mp4"},function(e,t){e.exports=wp.api},,,,,,,,,,function(e,t){e.exports="dist/videos/help/typography-family.mp4"},function(e,t){e.exports="dist/videos/help/alignment-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-title.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-margins.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-paddings.mp4"},function(e,t){e.exports="dist/videos/help/accordion-border-size.mp4"},function(e,t){e.exports=wp.date},,,,,,,,,,,,,,,,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},,function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","300italic","regular","italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},,function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-icon-controls-plain.08b10ae.png"},function(e,t){e.exports="dist/images/components-icon-controls-shaped.f4f347f.png"},function(e,t){e.exports="dist/images/components-icon-controls-outlined.ecba760.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,,function(e,t){e.exports="dist/videos/help/full-height.mp4"},function(e,t){e.exports="dist/videos/help/general-restrict-content.mp4"},function(e,t){e.exports="dist/videos/help/general-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/general-shadow.mp4"},function(e,t){e.exports="dist/videos/help/alignment-all.mp4"},function(e,t){e.exports="dist/videos/help/general-columns.mp4"},function(e,t){e.exports="dist/videos/help/column-background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/image-shape.mp4"},function(e,t){e.exports="dist/videos/help/image-size.mp4"},function(e,t){e.exports="dist/videos/help/image-size-no-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-width-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-height-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-square.mp4"},function(e,t){e.exports="dist/videos/help/image-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/image-shadow.mp4"},function(e,t){e.exports="dist/videos/help/typography-size.mp4"},function(e,t){e.exports="dist/videos/help/typography-weight.mp4"},function(e,t){e.exports="dist/videos/help/typography-transform.mp4"},function(e,t){e.exports="dist/videos/help/typography-line-height.mp4"},function(e,t){e.exports="dist/videos/help/typography-letter-spacing.mp4"},function(e,t){e.exports="dist/videos/help/alignment-description.mp4"},function(e,t){e.exports="dist/videos/help/alignment-button.mp4"},function(e,t){e.exports="dist/videos/help/button-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-vertical-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-horizontal-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-size.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-opacity.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-color.mp4"},function(e,t){e.exports="dist/videos/help/button-shadow.mp4"},function(e,t){e.exports="dist/videos/help/button-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/button-color-type.mp4"},function(e,t){e.exports="dist/videos/help/button-to-normal.mp4"},function(e,t){e.exports="dist/videos/help/button-collapse.mp4"},function(e,t){e.exports="dist/videos/help/spacing.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button-gap.mp4"},function(e,t){e.exports="dist/videos/help/hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/background-color-opacity.mp4"},function(e,t){e.exports="dist/videos/help/background-tint.mp4"},function(e,t){e.exports="dist/videos/help/background-color-type.mp4"},function(e,t){e.exports="dist/videos/help/background-fixed.mp4"},function(e,t){e.exports="dist/videos/help/gradient-direction.mp4"},function(e,t){e.exports="dist/videos/help/gradient-location.mp4"},function(e,t){e.exports="dist/videos/help/background-image-position.mp4"},function(e,t){e.exports="dist/videos/help/background-image-repeat.mp4"},function(e,t){e.exports="dist/videos/help/background-image-size.mp4"},function(e,t){e.exports="dist/videos/help/background-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/separator-top-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-bottom-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-height.mp4"},function(e,t){e.exports="dist/videos/help/separator-width.mp4"},function(e,t){e.exports="dist/videos/help/separator-shadow.mp4"},function(e,t){e.exports="dist/videos/help/separator-bring-to-front.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer2.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer3.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-opacity.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/advanced-opacity.mp4"},function(e,t){e.exports="dist/videos/help/advanced-zindex.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-paddings.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-content-width.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-horizontal-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-gap.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-column-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-content-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/accordion-adjacent-open.mp4"},function(e,t){e.exports="dist/videos/help/accordion-closed-state-background-color.mp4"},function(e,t){e.exports="dist/videos/help/accordion-padding.mp4"},function(e,t){e.exports="dist/videos/help/accordion-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-column-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-offset.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-grid.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-gap.mp4"},function(e,t){e.exports="dist/videos/help/image-box-height.mp4"},function(e,t){e.exports="dist/videos/help/notification-dismissible.mp4"},function(e,t){e.exports="dist/videos/help/posts-content-order.mp4"},function(e,t){e.exports="dist/videos/help/posts-meta-separator.mp4"},function(e,t){e.exports="dist/videos/help/divider-margin.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay-hover.mp4"},function(e,t){e.exports="dist/videos/help/image-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-line-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-align.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-width.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-height.mp4"},function(e,t){e.exports="dist/videos/help/container-image-width.mp4"},function(e,t){e.exports="dist/videos/help/container-image-height.mp4"},function(e,t){e.exports="dist/videos/help/column-row-gap.mp4"},function(e,t){e.exports="dist/videos/help/no-padding.mp4"},function(e,t){e.exports="dist/videos/help/column-width.mp4"},function(e,t){e.exports="dist/videos/help/column-arrangement.mp4"},function(e,t){e.exports="dist/images/block-accordion-basic.b0f3789.png"},function(e,t){e.exports="dist/images/block-accordion-plain.2aeac8f.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.0a574ba.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.cd0c86f.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.0431caf.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.78b14dd.png"},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.cf5349e.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.f370f41.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.6509764.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.45eb41b.png"},function(e,t){e.exports="dist/images/block-button-spread.a2b3bf6.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.82b89ff.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.aeb4b5d.png"},function(e,t){e.exports="dist/images/block-card-basic.ed15cbf.png"},function(e,t){e.exports="dist/images/block-card-plain.01b366e.png"},function(e,t){e.exports="dist/images/block-column-basic.eeda154.png"},function(e,t){e.exports="dist/images/block-column-plain.dd6702f.png"},function(e,t){e.exports="dist/images/block-columns-grid.74cce02.png"},function(e,t){e.exports="dist/images/block-columns-plain.f83145c.png"},function(e,t){e.exports="dist/images/block-container-basic.9b80141.png"},function(e,t){e.exports="dist/images/block-container-plain.b0bf4b9.png"},function(e,t){e.exports="dist/images/block-count-up-plain.9350896.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.ba5ab0d.png"},function(e,t){e.exports="dist/images/block-divider-basic.728eebd.png"},function(e,t){e.exports="dist/images/block-divider-bar.38cc0b7.png"},function(e,t){e.exports="dist/images/block-divider-dots.6f31a0f.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.d07ce3c.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.d153b82.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.d4efae7.png"},function(e,t){e.exports="dist/images/block-feature-basic.21129f8.png"},function(e,t){e.exports="dist/images/block-feature-plain.705697f.png"},function(e,t){e.exports="dist/images/block-header-basic.a9cc4da.png"},function(e,t){e.exports="dist/images/block-header-plain.aeccf8f.png"},function(e,t){e.exports="dist/images/block-image-box-basic.f577755.png"},function(e,t){e.exports="dist/images/block-image-box-plain.7482e86.png"},function(e,t){e.exports="dist/images/block-notification-basic.a1f0aae.png"},function(e,t){e.exports="dist/images/block-notification-plain.eccdf36.png"},function(e,t){e.exports="dist/images/block-number-box-basic.3d5ce27.png"},function(e,t){e.exports="dist/images/block-number-box-plain.1e11a36.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.f439dd1.png"},function(e,t){e.exports="dist/images/block-pricing-box-plain.d7c8289.png"},function(e,t){e.exports="dist/images/block-team-member-basic.53fb1db.png"},function(e,t){e.exports="dist/images/block-team-member-plain.c44209b.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.13e214f.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.8208cdb.png"},function(e,t){e.exports="dist/images/block-text-plain.dc76980.png"},function(e,t){e.exports="dist/images/block-text-side-title-1.72a0b81.png"},function(e,t){e.exports="dist/images/block-text-side-title-2.4b31aa6.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a={"./accordion/index.js":384,"./blockquote/index.js":382,"./blog-posts/index.js":386,"./button/index.js":401,"./call-to-action/index.js":389,"./card/index.js":390,"./column/index.js":404,"./columns/index.js":402,"./container/index.js":403,"./count-up/index.js":387,"./design-library/index.js":410,"./divider/index.js":405,"./expand/index.js":406,"./feature-grid/index.js":391,"./feature/index.js":392,"./header/index.js":393,"./heading/index.js":394,"./icon-list/index.js":381,"./icon/index.js":395,"./image-box/index.js":388,"./notification/index.js":385,"./number-box/index.js":396,"./pricing-box/index.js":397,"./separator/index.js":380,"./spacer/index.js":407,"./team-member/index.js":398,"./testimonial/index.js":399,"./text/index.js":400,"./video-popup/index.js":383};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id=378},function(e,t,n){"use strict";n.r(t);var a=n(3),i=n(2),r=n(1),o=n(11),l=n(37),c=n(7),s=n(0),u=n(6),b=n(20),p=n(13);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var g=function(e,t,n){return t?n?Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(Object(i.sb)("",t),"; background-color: ").concat(t,";")}}):Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(t,";")}}):Object(l.removeFormat)(e,"ugb/highlight")};Object(l.registerFormatType)("ugb/highlight",{title:Object(s.__)("Highlight Text",r.i18n),tagName:"span",className:"ugb-highlight",edit:function(e){var t=m(Object(u.useState)(!1),2),n=t[0],i=t[1],l=Object(u.useRef)(null),b=Object(u.useCallback)(function(e){n&&(e.target.closest(l.current)||e.target.closest(".components-popover")||i(!1))});Object(u.useEffect)(function(){return document.body.addEventListener("click",b),function(){return document.body.removeEventListener("click",b)}},[b]);var p=e.activeAttributes,d=e.isActive,f=e.onChange,h=e.value,v="",y=!1;if(d){var O=p.style.match(/background-color:\s*([#\d\w]+)/);if(O)y=!0,v=O[1];else{var w=p.style.match(/color:\s*([#\d\w]+)/);w&&(v=w[1])}}return wp.element.createElement(c.BlockControls,null,wp.element.createElement(o.Toolbar,{className:"stackable-components-toolbar"},wp.element.createElement(o.Button,{className:"components-button components-icon-button components-toolbar__control",icon:"editor-textcolor","aria-haspopup":"true",tooltip:Object(s.__)("Color & Highlight",r.i18n),onClick:function(){return i(!n)}},wp.element.createElement("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:v}})),n&&wp.element.createElement(o.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container",useRef:l},wp.element.createElement("div",{className:"components-stackable-highlight__inner"},wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(a.s,{label:Object(s.__)("Text Color",r.i18n),value:v,onChange:function(e){f(g(h,e,y),{withoutHistory:!0})}})),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Highlight Text",r.i18n),checked:y,onChange:function(e){f(g(h,v||"#8c33da",e))}})))))},attributes:{style:"style"}}),Object(b.a)(function(){Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitColorsFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitHighlightFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats")});var d=n(17),f=n(53),h=n(23),v=n(9);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var O=["style","svg"],w=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&!Object(v.isEqual)(e.args[2].match(/ugb-[^\s]+/g),e.args[3].match(/ugb-[^\s]+/g)))))},_=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)))))},j=function(e){return!!e.args&&(3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]))},k=function(e){return!!e.args&&(3===e.args.length&&("svg"===e.args[1]&&"svg"!==e.args[2]||"svg"!==e.args[1]&&"svg"===e.args[2]))},C=function(e){return!!e.args&&(3===e.args.length&&("video"===e.args[1]&&"video"!==e.args[2]||"video"===e.args[2]&&"video"!==e.args[1]))},x=function(e){return!!e.args&&(3===e.args.length&&(!!Array.isArray(e.args[1])&&!!e.args[1].some(function(e){return Array.isArray(e)&&"playsinline"===e[0]})))},E=function(e){var t,n=e.name,a=e.attributes,i=e.innerBlocks,r=e.originalContent;if(e.isValid)return!1;try{t=Object(d.getSaveContent)(n,a,i)}catch(e){return!1}return function(e,t){var n=y([e,t].map(function(e){return function(e){try{return new f.Tokenizer(new h.DecodeEntityParser).tokenize(e)}catch(e){}return null}(e)}),2),a=n[0],i=n[1];if(!a||!i)return!1;var r,o,l=[];for(;r=Object(h.getNextNonWhitespaceToken)(a);){if(o=Object(h.getNextNonWhitespaceToken)(i),"StartTag"===r.type&&l.push(r.tagName.toLowerCase()),!o)return l;if(r.type!==o.type)return l;var c=h.isEqualTokensOfType[r.type];if(c&&!c(r,o))return l;"StartTag"===r.type&&!0===r.selfClosing?l.pop():"EndTag"===r.type&&l.pop(),Object(h.isClosedByToken)(r,i[0])?Object(h.getNextNonWhitespaceToken)(i):Object(h.isClosedByToken)(o,a[0])&&Object(h.getNextNonWhitespaceToken)(a)}return!1}(r,t)};var S=function e(t){t.forEach(function(t){if(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O,n=e.name,a=e.isValid,i=e.validationIssues;if(!n||!n.match(/^ugb\//))return!1;if(a)return!1;if(!i.length)return!1;if(w(i[0]))return!0;if(j(i[0]))return!0;if(k(i[0]))return!0;if(_(i[0]))return!0;if(C(i[0]))return!0;if(x(i[0]))return!0;var r=E(e);return!!r&&r.some(function(e){return t.includes(e)})}(t)){Object(p.dispatch)("core/block-editor").replaceBlock(t.clientId,(a=(n=t).name,i=n.attributes,r=n.innerBlocks,Object(d.createBlock)(a,i,r)))}var n,a,i,r;t.innerBlocks&&t.innerBlocks.length&&e(t.innerBlocks)})};Object(b.a)(function(){window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then(function(){S(Object(p.select)("core/editor").getEditorBlocks())})});var A=n(5),T=n(33),B={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"};Object(A.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-preview",function(e){var t=Object(p.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType,n=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(t){var a=B[e];a!==n()&&t(a)}});Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(T.registerPlugin)("stackable-responsive-toggle-change",{render:function(){var e=Object(p.useSelect)(function(e){return{deviceType:e("core/edit-post").__experimentalGetPreviewDeviceType()}},[]).deviceType,t=Object(v.findKey)(B,function(t){return t===e})||"desktop";return setTimeout(function(){t!==Object(i.S)()&&(Object(i.lb)(t),Object(A.doAction)("stackable.responsive-toggle.screen.change",t)),"desktop"!==t?(Object(i.kb)(!0),Object(A.doAction)("stackable.responsive-toggle.screen.open")):(Object(i.kb)(!1),Object(A.doAction)("stackable.responsive-toggle.screen.close"))},0),null}});var P=n(137),N=n.n(P);function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(n,!0).forEach(function(t){D(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var I=[null,"/dist/frontend_blocks__premium_only.css","/dist/frontend_blocks.css","/dist/editor_blocks__premium_only.css","/dist/editor_blocks.css"],H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return[];var n=[];return e.forEach(function(e,a){var i=e.href;t.some(function(e){return e||null!==i?!!(i&&e&&i.includes(e))&&n.push(a):n.push(a)})}),n},L={},U={},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.styleSheets,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L,a=Array.from(t),i=H(a,e),r=[];return i.forEach(function(e){if(t[e].__id)r.push(t[e].__id);else{var n=N()(Math.floor(Math.random()*(new Date).getTime())).substr(0,10);t[e].__id=n,r.push(n)}}),r.forEach(function(e){var t={},i=Array.from(a).findIndex(function(t){return t.__id===e}),r=Array.from(a[i].cssRules).filter(function(e){return e.media});(!U[e]||U[e]&&!Object(v.isEqual)(U[e],r))&&(U[e]=!Object(v.isEmpty)(r)&&z(r),Array.from(a[i].cssRules).forEach(function(a,i){var r=a.cssText,o=a.media;if(o&&r.includes(".ugb")&&o.mediaText.match(/(max|min)-width/)){var l=o.mediaText.match(/max-width:\s*(\d+)px/),c=o.mediaText.match(/min-width:\s*(\d+)px/),s=l?parseInt(l[1],10):9999,u=c?parseInt(c[1],10):0;if(n&&n[e]&&n[e][i])n[e][i].previousMediaText===o.mediaText?t[i]=F({},n[e][i]):t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s};else t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s}}}),n[e]=F({},t))}),F({},n)},G=".edit-post-visual-editor",V="Desktop",q={},J=function(){var e=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(e){var t=e();if("Desktop"!==t||"Desktop"!==V){if(V=t,!q[t]){var n=document.querySelector(G);q[t]=parseInt(window.getComputedStyle(n).width,10)}!function(){var e,t,n,a,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.styleSheets,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:L;e=W(o,l,c),t=function(e){var t=M(e.split("vw"),1)[0],n=parseFloat(t)/100*r;return"".concat(n,"px")},n=function(e){return e.replace(/(-?[.0-9]+)vw/g,t)},a=function(e,t,n){l[e].deleteRule(t),l[e].insertRule(n,t)},"Tablet"===i||"Mobile"===i?Object(v.keys)(e).forEach(function(t){var i=Array.from(l).findIndex(function(e){return e.__id===t});Object(v.keys)(e[t]).forEach(function(o){if(l[i]&&l[i].cssRules[o]){var c=e[t][o],s=c.min,u=c.max,b=c.cssText;Object(v.inRange)(r,s,u)?(b&&b.match(/(-?[.0-9]+)vw/g)&&a(i,o,n(b)),l[i].cssRules[o].media.mediaText="screen and (max-width: 5000px)"):(b&&b.match(/(-?[.0-9]+)vw/g)&&a(i,o,n(b)),l[i].cssRules[o].media.mediaText="screen and (min-width: 5000px)"),e[t][o].previousMediaText!==l[i].cssRules[o].media.mediaText&&(e[t][o].previousMediaText=l[i].cssRules[o].media.mediaText)}})}):Object(v.keys)(e).forEach(function(t){var n=Array.from(l).findIndex(function(e){return e.__id===t});Object(v.keys)(e[t]).forEach(function(i){if(l[n]&&l[n].cssRules[i]){var r=e[t][i].cssText;l[n].cssRules[i].media.mediaText!==e[t][i].mediaText&&(e[t][i].previousMediaText=l[n].cssRules[i].media.mediaText,a(n,i,r)),e[t][i].previousMediaText!==l[n].cssRules[i].media.mediaText&&(e[t][i].previousMediaText=l[n].cssRules[i].media.mediaText)}})})}(t,q[t])}}};Object(A.addAction)("stackable.setAttributes.after","stackable/responsive-preview",J);Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(b.a)(function(){var e=document.querySelector(G);if(e){new MutationObserver(Object(v.throttle)(J,500)).observe(e,{attributes:!0,childList:!0,subtree:!0})}});var Y="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",X=function(e){try{var t=Object(d.parse)(e.replace(/\n/g,"").replace(/\t/g,""))[0],n=function(e){var t=(e.match(/<!--\s*[^:]*:([\/\w\d-]+)/i)||[])[1];return"string"!=typeof t?"":t.match(/^[^\/]+\//)?t:"core/".concat(t)}(e);return t.name!==n?"Block rendered as: ".concat(t.name):t.isValid&&t.name===n}catch(e){return!1}},K=n(8),$=n.n(K);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var le=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ie(t).apply(this,arguments))||"object"!==Z(a)&&"function"!=typeof a?re(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(re(e)),e.onClickLocal=e.onClickLocal.bind(re(e)),e.onRunAllTests=e.onRunAllTests.bind(re(e)),e.onRunTest=e.onRunTest.bind(re(e)),e.onShowToggle=e.onShowToggle.bind(re(e)),e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(t,u["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return te({},e,{passed:null})}),testBlockNames:Q(new Set(e.map(function(e){return e.block})))})}},{key:"fetchTests",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;this.setState({isLoading:!0}),fetch(t).then(function(t){return e.setState({isLoading:!1,loaded:!0}),t.json()}).then(function(t){e.updateTestState(t)})}},{key:"onClick",value:function(){this.fetchTests(Y)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(s.sprintf)("%s/dist/deprecation-tests.json",r.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?te({},e,{passed:!0}):te({},e,{passed:X(e.html)})});this.setState({tests:e})}},{key:"onRunTest",value:function(e){var t=this.state.tests.map(function(t){return t.block!==e?t:t.skip?te({},t,{passed:!0}):te({},t,{passed:X(t.html)})});this.setState({tests:t})}},{key:"onShowToggle",value:function(e){this.setState({show:this.state.show.includes(e)?this.state.show.filter(function(t){return t!==e}):this.state.show.concat(e)})}},{key:"render",value:function(){var e=this,t=$()(["ugb-deprecated-tester"],{"ugb-deprecated-tester--loading":this.state.isLoading});return wp.element.createElement("div",{className:t},wp.element.createElement(o.BaseControl,null,wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("When Stackable blocks are updated, block internal workings may change & editing existing blocks may result in errors if the changes are not backward compatible. This area tests multiple outdated blocks on whether they can migrate properly to newer versions.",r.i18n)),wp.element.createElement(o.Button,{className:"ugb-deprecated-tester__load-button",isDefault:!0,onClick:this.onClick,disabled:this.state.isLoading},wp.element.createElement(o.Dashicon,{icon:"image-rotate",size:"12"}),Object(s.__)("Load Tests from Server",r.i18n)),!1),this.state.loaded&&wp.element.createElement(u.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("p",{className:"ugb-deprecated-tester--row ugb--first"},wp.element.createElement(o.Button,{isPrimary:!0,isSmall:!0,onClick:this.onRunAllTests},Object(s.__)("Run All Tests",r.i18n)))),this.state.loaded&&this.state.testBlockNames.map(function(t,n){var a=e.state.tests.filter(function(e){return e.block===t}),i=a.length,l=a.filter(function(e){return e.passed}).length;return wp.element.createElement(u.Fragment,{key:n},wp.element.createElement("div",{key:n,className:"ugb-deprecated-tester--row"},wp.element.createElement("span",{className:"ugb-deprecated-tester--name"},t,wp.element.createElement(o.Button,{isDefault:!1,icon:"editor-help",onClick:function(){return e.onShowToggle(t)}})),wp.element.createElement("span",{className:i===l?"ugb--green":""},Object(s.sprintf)(Object(s.__)("%d / %d Tests",r.i18n),l,i),wp.element.createElement(o.Button,{isDefault:!1,onClick:function(){return e.onRunTest(t)},icon:"controls-play"}))),e.state.show.includes(t)&&wp.element.createElement("div",{className:"ugb-deprecated-tester--test-detail-wrapper"},a.map(function(e,t){var n=e.html.replace(/(<!--[\s\S]*?-->)/g,function(e,t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t")});return wp.element.createElement("div",{key:t},wp.element.createElement("div",null,e.description,!e.skip&&!0===e.passed&&wp.element.createElement("small",{className:"ugb--passed"},Object(s.__)("Passed",r.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(s.__)("Failed",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(s.__)("Skipped",r.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(s.sprintf)(Object(s.__)("v%s",r.i18n),e.version)),e.plan&&wp.element.createElement("small",{className:"ugb--plan ugb--plan-".concat(e.plan)},e.plan),wp.element.createElement(o.ClipboardButton,{isDefault:!1,isLink:!0,text:n},Object(s.__)("Copy code",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Note",r.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&ae(n.prototype,a),i&&ae(n,i),t}();function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me={codemirror:{mode:"html"}},ge=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ue(t).apply(this,arguments))||"object"!==ce(a)&&"function"!=typeof a?be(n):a).state={value:e.props.value,isValid:X(e.props.value)},e.onChange=e.onChange.bind(be(e)),e}var n,i,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}(t,u["Component"]),n=t,(i=[{key:"onChange",value:function(e){this.setState({value:e,isValid:X(e)})}},{key:"render",value:function(){return wp.element.createElement(o.BaseControl,{className:"ugb-html-validator"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("Enter some HTML below to see whether it renders correctly as a block. Check the browser console for block errors.",r.i18n)),wp.element.createElement(a.r,{value:this.state.value,onChange:this.onChange,editorSettings:me}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Valid",r.i18n)},"✔️"),Object(s.__)("Valid",r.i18n)),!0!==this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--invalid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Invalid",r.i18n)},"️️⚠️"),Object(s.__)("Invalid",r.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&se(n.prototype,i),l&&se(n,l),t}();ge.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var de=ge,fe=n(26),he=function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(fe.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(s.__)("Stackable Debugger",r.i18n)),wp.element.createElement(fe.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(s.__)("Stackable Debugger",r.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("This area contains a number of testing and debugging tools made specifically for Stackable.",r.i18n))),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Validity Checker",r.i18n)},wp.element.createElement(de,null)),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Migration Tests",r.i18n)},wp.element.createElement(le,null))))};Object(T.registerPlugin)("stackable-convert-to-container-button",{render:a.w}),r.devMode&&(Object(T.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:he}),Object(T.registerPlugin)("stackable-block-attributes-get-button",{render:a.I}));var ve=n(138),ye=n.n(ve),Oe=n(139),we=n.n(Oe),_e=n(140),je=n.n(_e),ke=n(141),Ce=n.n(ke),xe=n(142),Ee=n.n(xe),Se=n(143),Ae=n.n(Se),Te=n(144),Be=n.n(Te),Pe=n(145),Ne=n.n(Pe),Me=n(146),Re=n.n(Me),Fe=n(147),De=n.n(Fe),ze=n(148),Ie=n.n(ze),He=n(149),Le=n.n(He),Ue=n(150),We=n.n(Ue),Ge=n(151),Ve=n.n(Ge),qe=n(152),Je=n.n(qe),Ye=n(56),Xe=n.n(Ye),Ke=n(153),$e=n.n(Ke),Ze=n(154),Qe=n.n(Ze),et=n(155),tt=n.n(et),nt=n(156),at=n.n(nt),it=n(157),rt=n.n(it),ot=n(44),lt=n.n(ot),ct=n(57),st=n.n(ct),ut=n(158),bt=n.n(ut),pt=n(159),mt=n.n(pt),gt=n(160),dt=n.n(gt),ft=n(161),ht=n.n(ft),vt=n(162),yt=n.n(vt),Ot=n(163),wt=n.n(Ot),_t=n(164),jt=n.n(_t),kt=n(165),Ct=n.n(kt),xt=n(166),Et=n.n(xt),St=n(167),At=n.n(St),Tt=n(168),Bt=n.n(Tt),Pt=n(169),Nt=n.n(Pt),Mt=n(170),Rt=n.n(Mt),Ft=n(171),Dt=n.n(Ft),zt=n(172),It=n.n(zt),Ht=n(173),Lt=n.n(Ht),Ut=n(174),Wt=n.n(Ut),Gt=n(45),Vt=n.n(Gt),qt=n(58),Jt=n.n(qt),Yt=n(175),Xt=n.n(Yt),Kt=n(176),$t=n.n(Kt),Zt=n(177),Qt=n.n(Zt),en=n(178),tn=n.n(en),nn=n(179),an=n.n(nn),rn=n(180),on=n.n(rn),ln=n(181),cn=n.n(ln),sn=n(182),un=n.n(sn),bn=n(183),pn=n.n(bn),mn=n(184),gn=n.n(mn),dn=n(185),fn=n.n(dn),hn=n(186),vn=n.n(hn),yn=n(187),On=n.n(yn),wn=n(188),_n=n.n(wn),jn=n(189),kn=n.n(jn),Cn=n(190),xn=n.n(Cn),En=n(191),Sn=n.n(En),An=n(192),Tn=n.n(An),Bn=n(193),Pn=n.n(Bn),Nn=n(194),Mn=n.n(Nn),Rn=n(195),Fn=n.n(Rn),Dn=n(196),zn=n.n(Dn),In=n(197),Hn=n.n(In),Ln=n(198),Un=n.n(Ln),Wn=n(199),Gn=n.n(Wn),Vn=n(200),qn=n.n(Vn),Jn=n(201),Yn=n.n(Jn),Xn=n(59),Kn=n.n(Xn),$n=n(202),Zn=n.n($n),Qn=n(203),ea=n.n(Qn),ta=n(204),na=n.n(ta),aa=n(205),ia=n.n(aa),ra=n(206),oa=n.n(ra),la=n(60),ca=n.n(la),sa=n(207),ua=n.n(sa),ba=n(208),pa=n.n(ba),ma=n(209),ga=n.n(ma),da=n(210),fa=n.n(da),ha=n(211),va=n.n(ha),ya=n(212),Oa=n.n(ya),wa=n(213),_a=n.n(wa),ja=n(214),ka=n.n(ja),Ca=n(61),xa=n.n(Ca),Ea=n(215),Sa=n.n(Ea),Aa=n(216),Ta=n.n(Aa),Ba=n(217),Pa=n.n(Ba),Na=n(218),Ma=n.n(Na),Ra=n(219),Fa=n.n(Ra),Da=n(220),za=n.n(Da),Ia=n(221),Ha=n.n(Ia),La=n(222),Ua=n.n(La),Wa=n(223),Ga=n.n(Wa),Va=n(224),qa=n.n(Va),Ja=n(225),Ya=n.n(Ja),Xa=n(226),Ka=n.n(Xa),$a=n(227),Za=n.n($a),Qa=n(228),ei=n.n(Qa),ti=n(229),ni=n.n(ti),ai=n(230),ii=n.n(ai),ri=n(231),oi=n.n(ri),li=n(232),ci=n.n(li),si=n(233),ui=n.n(si),bi=n(234),pi=n.n(bi),mi=n(235),gi=n.n(mi),di=n(236),fi=n.n(di),hi=n(237),vi=n.n(hi),yi=n(238),Oi=n.n(yi),wi=n(239),_i=n.n(wi),ji=n(240),ki=n.n(ji),Ci=n(241),xi=n.n(Ci),Ei=n(242),Si=n.n(Ei),Ai=n(243),Ti=n.n(Ai),Bi=n(244),Pi=n.n(Bi),Ni=n(245),Mi=n.n(Ni),Ri=n(246),Fi=n.n(Ri),Di=n(247),zi=n.n(Di),Ii=n(248),Hi=n.n(Ii),Li=n(249),Ui=n.n(Li),Wi=n(250),Gi=n.n(Wi),Vi=n(251),qi=n.n(Vi),Ji=n(252),Yi=n.n(Ji),Xi=n(253),Ki=n.n(Xi),$i=n(254),Zi=n.n($i),Qi=n(255),er=n.n(Qi),tr=n(256),nr=n.n(tr),ar=n(257),ir=n.n(ar),rr={fullHeight:{video:ye.a,title:Object(s.__)("Full Height",r.i18n),description:Object(s.__)("Block height takes up the full height of the screen",r.i18n)},generalRestrictContent:{video:we.a,title:Object(s.__)("Restrict to Content Width",r.i18n),description:Object(s.__)("Restricts content to a narrower space when block width is set to full width",r.i18n)},generalBorderRadius:{video:je.a,title:Object(s.__)("Border Radius",r.i18n),description:Object(s.__)("Adjusts the radius of block corners to make them more rounded",r.i18n)},generalShadow:{video:Ce.a,title:Object(s.__)("Shadow/Outline",r.i18n),description:Object(s.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",r.i18n)},alignmentAll:{video:Ee.a,title:Object(s.__)("Align (general / all)",r.i18n),description:Object(s.__)("Adjusts the placement of all content in the block to align left, center or right",r.i18n)},generalColumns:{video:Ae.a,title:Object(s.__)("Columns",r.i18n),description:Object(s.__)("Sets the number of columns",r.i18n)},columnBackgroundOnOff:{video:Be.a,title:Object(s.__)("Column / Container Background",r.i18n),description:Object(s.__)("Background settings for the container or columns.",r.i18n)},imageShape:{video:Ne.a,title:Object(s.__)("Shape",r.i18n),description:Object(s.__)("Change the shape of the image",r.i18n)},imageSize:{video:Re.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",r.i18n)},imageSizeNoCrop:{video:De.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Adjusts the image size / width while preseving the aspect ratio",r.i18n)},imageWidthCrop:{video:Ie.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},imageHeightCrop:{video:Le.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},imageSquare:{video:We.a,title:Object(s.__)("Force Square Image",r.i18n),description:Object(s.__)("Crops image into a square",r.i18n)},imageBorderRadius:{video:Ve.a,title:Object(s.__)("Border radius (of image)",r.i18n),description:Object(s.__)("Adjusts the radius of image corners to make them more rounded",r.i18n)},imageShadow:{video:Je.a,title:Object(s.__)("Shadow (of image)",r.i18n),description:Object(s.__)("Adjusts the intensity of the image shadow",r.i18n)},typography:{video:Xe.a,title:Object(s.__)("Typography",r.i18n),description:Object(s.__)("Change the font family, size, weight and spacing of the font of this text",r.i18n)},typographyFamily:{video:Xe.a,title:Object(s.__)("Font family",r.i18n),description:Object(s.__)("Sets the font set to be used for the element",r.i18n)},typographySize:{video:$e.a,title:Object(s.__)("Font size",r.i18n),description:Object(s.__)("Sets the size of text characters",r.i18n)},typographyWeight:{video:Qe.a,title:Object(s.__)("Font weight",r.i18n),description:Object(s.__)("Sets the thinness or thickness of text characters",r.i18n)},typographyTransform:{video:tt.a,title:Object(s.__)("Transform",r.i18n),description:Object(s.__)("Sets the usage of upper or lower case",r.i18n)},typographyLineHeight:{video:at.a,title:Object(s.__)("Line height",r.i18n),description:Object(s.__)("Sets the vertical distance between lines of text",r.i18n)},typographyLetterSpacing:{video:rt.a,title:Object(s.__)("Letter spacing",r.i18n),description:Object(s.__)("Sets the distance or space between letters",r.i18n)},alignmentImage:{video:lt.a,title:Object(s.__)("Image alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},alignmentNumber:{video:lt.a,title:Object(s.__)("Number alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the number to align left, center or right",r.i18n)},alignmentIcon:{video:lt.a,title:Object(s.__)("Icon alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the icon to align left, center or right",r.i18n)},alignmentTitle:{video:st.a,title:Object(s.__)("Title / subtitle alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the title or subtitle to align left, center or right",r.i18n)},alignmentName:{video:st.a,title:Object(s.__)("Name / position alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the name or position to align left, center or right",r.i18n)},alignmentDescription:{video:bt.a,title:Object(s.__)("Description / text alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the text to align left, center or right",r.i18n)},alignmentButton:{video:mt.a,title:Object(s.__)("Button / link alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the button or link to align left, center or right",r.i18n)},buttonPadding:{video:dt.a,title:Object(s.__)("Button padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button borders",r.i18n)},buttonVerticalPadding:{video:ht.a,title:Object(s.__)("Button vertical padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's top and bottom borders",r.i18n)},buttonHorizontalPadding:{video:yt.a,title:Object(s.__)("Button horizontal padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's side borders",r.i18n)},buttonSize:{video:wt.a,title:Object(s.__)("Button size",r.i18n),description:Object(s.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",r.i18n)},buttonHoverEffect:{video:jt.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},buttonHoverOpacity:{video:Ct.a,title:Object(s.__)("Hover opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the button when you mouse over",r.i18n)},buttonHoverColor:{video:Et.a,title:Object(s.__)("Hover colors",r.i18n),description:Object(s.__)("Triggers a change in color when you mouse over",r.i18n)},buttonShadow:{video:At.a,title:Object(s.__)("Button shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the button shadow",r.i18n)},buttonBorderRadius:{video:Bt.a,title:Object(s.__)("Button border radius",r.i18n),description:Object(s.__)("Adjusts the radius of button corners to make them more rounded",r.i18n)},buttonColorType:{video:Nt.a,title:Object(s.__)("Button color type",r.i18n),description:Object(s.__)("Sets the button color type to single or gradient",r.i18n)},buttonToNormal:{video:Rt.a,title:Object(s.__)("Change to normal button on hover",r.i18n),description:Object(s.__)("Triggers change from ghost to normal button when you mouse over",r.i18n)},buttonCollapse:{video:Dt.a,title:Object(s.__)("Collapse buttons on",r.i18n),description:Object(s.__)("Sets when buttons will be triggered to arrange vertically",r.i18n)},spacing:{video:It.a,title:Object(s.__)("Spacing",r.i18n),description:Object(s.__)("Adjusts the space between block elements",r.i18n)},spacingBlockTitle:{video:Lt.a,title:Object(s.__)("Block title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block title",r.i18n)},spacingBlockDescription:{video:Wt.a,title:Object(s.__)("Block description spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block description",r.i18n)},spacingImage:{video:Vt.a,title:Object(s.__)("Image spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},spacingNumber:{video:Vt.a,title:Object(s.__)("Number spacing",r.i18n),description:Object(s.__)("Adjusts the space below the number",r.i18n)},spacingIcon:{video:Vt.a,title:Object(s.__)("Icon spacing",r.i18n),description:Object(s.__)("Adjusts the space below the icon",r.i18n)},spacingTitle:{video:Jt.a,title:Object(s.__)("Title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},spacingName:{video:Jt.a,title:Object(s.__)("Name / position spacing",r.i18n),description:Object(s.__)("Adjusts the space below the name / position",r.i18n)},spacingDescription:{video:Xt.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},spacingButton:{video:$t.a,title:Object(s.__)("Button spacing",r.i18n),description:Object(s.__)("Adjusts the space beloe the button",r.i18n)},spacingButtonGap:{video:Qt.a,title:Object(s.__)("Button spacing gap",r.i18n),description:Object(s.__)("Adjusts the gap between the buttons",r.i18n)},hoverEffect:{video:tn.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},backgroundOnOff:{video:an.a,title:Object(s.__)("Background Toggle On/Off",r.i18n),description:Object(s.__)("Turns the block background on/off. Turn on to enable different background settings.",r.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:on.a,title:Object(s.__)("Background Color Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the background color",r.i18n)},backgroundTint:{video:cn.a,title:Object(s.__)("Background Media Tint Strength",r.i18n),description:Object(s.__)("Adjusts the intensity of the background media tint",r.i18n)},backgroundColorType:{video:un.a,title:Object(s.__)("Color type",r.i18n),description:Object(s.__)("Sets the color to either a single color or a gradient",r.i18n)},backgroundFixed:{video:pn.a,title:Object(s.__)("Fixed Background",r.i18n),description:Object(s.__)("Keeps the background image fixed in place while scrolling",r.i18n)},gradientDirection:{video:gn.a,title:Object(s.__)("Gradient direction",r.i18n),description:Object(s.__)("Sets the direction (in degrees) of the colors",r.i18n)},gradientLocation:{video:fn.a,title:Object(s.__)("Gradient Color location",r.i18n),description:Object(s.__)("Sets the placement of each color in relation to the other color",r.i18n)},backgroundImagePosition:{video:vn.a,title:Object(s.__)("Image Position",r.i18n),description:Object(s.__)("Chooses which part of the background image will be the focal point",r.i18n)},backgroundImageRepeat:{video:On.a,title:Object(s.__)("Image Repeat",r.i18n),description:Object(s.__)("Covers the background with tiled images",r.i18n)},backgroundImageSize:{video:_n.a,title:Object(s.__)("Image Size",r.i18n),description:Object(s.__)("Sets the display image size",r.i18n)},backgroundBlendMode:{video:kn.a,title:Object(s.__)("Image Blend Mode",r.i18n),description:Object(s.__)("Sets how this background gradient/image blends into the other background",r.i18n)},separatorTopOn:{video:xn.a,title:Object(s.__)("Separator Top On and Off",r.i18n),description:Object(s.__)("Turns the top separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorBottomOn:{video:Sn.a,title:Object(s.__)("Separator Bottom On and Off",r.i18n),description:Object(s.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorHeight:{video:Tn.a,title:Object(s.__)("Separator height",r.i18n),description:Object(s.__)("Adjusts the height of the separator to stretch or compress vertically",r.i18n)},separatorWidth:{video:Pn.a,title:Object(s.__)("Separator width",r.i18n),description:Object(s.__)("Adusts the width of the separator to stretch or compress horizantally",r.i18n)},separatorShadow:{video:Mn.a,title:Object(s.__)("Shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",r.i18n)},separatorBringToFront:{video:Fn.a,title:Object(s.__)("Bring to Front",r.i18n),description:Object(s.__)("Brings the separator layer in front of other block elements",r.i18n)},separatorLayer2:{video:zn.a,title:Object(s.__)("Layer 2",r.i18n),description:Object(s.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayer3:{video:Hn.a,title:Object(s.__)("Layer 3",r.i18n),description:Object(s.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayerOpacity:{video:Un.a,title:Object(s.__)("Layer Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the separator layer",r.i18n)},separatorLayerBlendMode:{video:Gn.a,title:Object(s.__)("Layer blend mode",r.i18n),description:Object(s.__)("Sets how the sepator layer is blended into the background",r.i18n)},advancedOpacity:{video:qn.a,title:Object(s.__)("Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the entire block",r.i18n)},advancedZindex:{video:Yn.a,title:Object(s.__)("Z-Index",r.i18n),description:Object(s.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",r.i18n)},advancedBlockSpacing:{video:Kn.a,title:Object(s.__)("Block Spacing",r.i18n),description:Object(s.__)("Set margins, paddings and alignment of the block and its content",r.i18n)},advancedBlockMargins:{video:Kn.a,title:Object(s.__)("Block Margins",r.i18n),description:Object(s.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",r.i18n)},advancedBlockPaddings:{video:Zn.a,title:Object(s.__)("Block Padding",r.i18n),description:Object(s.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",r.i18n)},advancedBlockHeight:{video:ea.a,title:Object(s.__)("Min Block Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the block",r.i18n)},advancedBlockVerticalAlign:{video:na.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",r.i18n)},advancedBlockContentWidth:{video:ia.a,title:Object(s.__)("Max Content Width",r.i18n),description:Object(s.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",r.i18n)},advancedBlockHorizontalAlign:{video:oa.a,title:Object(s.__)("Content Horizontal Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",r.i18n)},advancedColumnSpacing:{video:ca.a,title:Object(s.__)("Column Spacing & More",r.i18n),description:Object(s.__)("Sets column paddings, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnPaddings:{video:ca.a,title:Object(s.__)("Column Paddings",r.i18n),description:Object(s.__)("Sets the column padding, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnGap:{video:ua.a,title:Object(s.__)("Column Gap",r.i18n),description:Object(s.__)("Sets the distance between two or more columns",r.i18n)},advancedColumnColumnVerticalAlign:{video:pa.a,title:Object(s.__)("Column Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",r.i18n)},advancedColumnHeight:{video:ga.a,title:Object(s.__)("Min Column Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the column container",r.i18n)},advancedColumnContentVerticalAlign:{video:fa.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the block elements to top, center, bottom or stretch. Available when column heights are different or when min. column height is set to higher than default.",r.i18n)},accordionAdjacentOpen:{video:va.a,title:Object(s.__)("Close adjacent on open",r.i18n),description:Object(s.__)("Automatically closes adjacent accordion panels when clicked",r.i18n)},accordionClosedStateBackgroundColor:{video:Oa.a,title:Object(s.__)("Closed state Background Color",r.i18n),description:Object(s.__)("Sets color of the panel when closed",r.i18n)},accordionPadding:{video:_a.a,title:Object(s.__)("Accordion Padding",r.i18n),description:Object(s.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",r.i18n)},accordionTitleSpacing:{video:ka.a,title:Object(s.__)("Accordion Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},accordionBorder:{video:xa.a,title:Object(s.__)("Border",r.i18n),description:Object(s.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",r.i18n)},accordionBorderSize:{video:xa.a,title:Object(s.__)("Border Size",r.i18n),description:Object(s.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",r.i18n)},imageColumnWidth:{video:Sa.a,title:Object(s.__)("Image Column Width",r.i18n),description:Object(s.__)("Adjusts the width of the image",r.i18n)},featureContainerWidth:{video:Ta.a,title:Object(s.__)("Container Width",r.i18n),description:Object(s.__)("Adjusts the width of the text and button container",r.i18n)},featureContainerOffset:{video:Pa.a,title:Object(s.__)("Container Offset",r.i18n),description:Object(s.__)("Adjusts the relative arrangement of the image and the text and button contianer",r.i18n)},iconListGrid:{video:Ma.a,title:Object(s.__)("Display as a grid",r.i18n),description:Object(s.__)("Displays the list in an evenly-spaced grid arrangement",r.i18n)},iconListGap:{video:Fa.a,title:Object(s.__)("List Gap",r.i18n),description:Object(s.__)("Adjusts the space between different list lines",r.i18n)},imageBoxHeight:{video:za.a,title:Object(s.__)("Height",r.i18n),description:Object(s.__)("Adjusts the height of the image box",r.i18n)},notificationDismissible:{video:Ha.a,title:Object(s.__)("Dismissible",r.i18n),description:Object(s.__)("Provides option to close the notification",r.i18n)},postsContentOrder:{video:Ua.a,title:Object(s.__)("Content Order",r.i18n),description:Object(s.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",r.i18n)},postsMetaSeparator:{video:Ga.a,title:Object(s.__)("Meta Separator",r.i18n),description:Object(s.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",r.i18n)},dividerMargin:{video:qa.a,title:Object(s.__)("Vertical Margin",r.i18n),description:Object(s.__)("Adjusts the space between the divider and the vertically adjacent blocks",r.i18n)},pricingImageAlign:{video:Ya.a,title:Object(s.__)("Image Align",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},pricingTitleAlign:{video:Ka.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},pricingPriceAlign:{video:Za.a,title:Object(s.__)("Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the price to align left, center or right",r.i18n)},pricingSubpriceAlign:{video:ei.a,title:Object(s.__)("Sub Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},pricingButtonAlign:{video:ni.a,title:Object(s.__)("Button Align",r.i18n),description:Object(s.__)("Adjusts the placement of the button to align left, center or right",r.i18n)},pricingDescriptionAlign:{video:ii.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},pricingImageSpacing:{video:oi.a,title:Object(s.__)("Image Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},pricingTitleSpacing:{video:ci.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},pricingPriceSpacing:{video:ui.a,title:Object(s.__)("Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the price",r.i18n)},pricingSubpriceSpacing:{video:pi.a,title:Object(s.__)("Sub Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},pricingButtonSpacing:{video:gi.a,title:Object(s.__)("Button Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the button",r.i18n)},pricingDescriptionSpacing:{video:fi.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxOverlay:{video:vi.a,title:Object(s.__)("Overlay Color",r.i18n),description:Object(s.__)("Sets the overlay color of all image boxes",r.i18n)},imageBoxOverlayHover:{video:Oi.a,title:Object(s.__)("Overlay Hover Color",r.i18n),description:Object(s.__)("Triggers change in overlay color when you mouse over",r.i18n)},imageBoxHoverEffect:{video:_i.a,title:Object(s.__)("Image Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the image",r.i18n)},imageBoxBoxHoverEffect:{video:ki.a,title:Object(s.__)("Box Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the container of the image",r.i18n)},imageBoxSubtitleSpacing:{video:xi.a,title:Object(s.__)("Subtitle Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},imageBoxTitleSpacing:{video:Si.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},imageBoxLineSpacing:{video:Ti.a,title:Object(s.__)("Line Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the line",r.i18n)},imageBoxDescriptionSpacing:{video:Pi.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxArrowSpacing:{video:Mi.a,title:Object(s.__)("Arrow Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the arrow",r.i18n)},imageBoxSubtitleAlign:{video:Fi.a,title:Object(s.__)("Subtitle Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},imageBoxTitleAlign:{video:zi.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},imageBoxDescriptionAlign:{video:Hi.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},imageBoxArrowAlign:{video:Ui.a,title:Object(s.__)("Arrow Align",r.i18n),description:Object(s.__)("Adjusts the placement of the arrow to align left, center or right",r.i18n)},videoPopupWidth:{video:Gi.a,title:Object(s.__)("Video popup width",r.i18n),description:Object(s.__)("Adjusts the width of the video popup container",r.i18n)},videoPopupHeight:{video:qi.a,title:Object(s.__)("Video popup height",r.i18n),description:Object(s.__)("Adjusts the height of the video popup container",r.i18n)},containerImageWidth:{video:Yi.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},containerImageHeight:{video:Ki.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},columnRowGap:{video:Zi.a,title:Object(s.__)("Row gap",r.i18n),description:Object(s.__)("Adjusts the vertical row gap between columns",r.i18n)},noPadding:{video:er.a,title:Object(s.__)("No paddings",r.i18n),description:Object(s.__)("Removes all outer paddings of the block",r.i18n)},columnWidth:{video:nr.a,title:Object(s.__)("Column widths",r.i18n),description:Object(s.__)("Adjust the individual widths of each column",r.i18n)},columnArrangement:{video:ir.a,title:Object(s.__)("Column arrangement",r.i18n),description:Object(s.__)("Rearrange and move columns around by dragging each handle",r.i18n)}},or=function(e){var t=e.getAnchorRect,n=e.title,a=e.videoUrl,i=e.description,l=e.learnMoreUrl,c=e.learnMore,b=Object(u.useRef)();return Object(u.useEffect)(function(){var e=b.current;e.muted=!0,e&&!e.playing&&e.play()},[]),Object(u.useEffect)(function(){window.dispatchEvent(new window.Event("resize"))},[e.videoUrl]),wp.element.createElement(o.Popover,{title:n,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},wp.element.createElement(o.PanelBody,null,wp.element.createElement("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},wp.element.createElement(o.Dashicon,{icon:"no"})),a&&wp.element.createElement(u.Fragment,null,wp.element.createElement("video",{ref:b,width:"600",autoPlay:!0,loop:!0,muted:!0,playsinline:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:a}),(!b.current||!b.current.playing)&&wp.element.createElement(o.Spinner,null)),wp.element.createElement("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},n&&wp.element.createElement("h4",null,n),i,l&&wp.element.createElement("div",{className:"ugb-help-tooltip-video__link"},wp.element.createElement("a",{href:l,target:"_learn"},c," ",wp.element.createElement(o.Dashicon,{icon:"external"}))),wp.element.createElement(o.CheckboxControl,{label:Object(s.__)("Stop showing tooltips",r.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:function(t){return e.onTooltipsEnabledChange(!t)}}))))};or.defaultProps={onClickClose:function(){},getAnchorRect:null,title:Object(s.__)("Help",r.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:Object(s.__)("Learn more",r.i18n),tooltipsEnabled:!0,onTooltipsEnabledChange:function(){}};var lr=or,cr=n(46),sr=null,ur={},br={},pr={},mr=function(e){return e.closest('[class*="ugb--help-tip-"]')},gr=function(){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};ur[e]=function(n){var a=n.target.closest(e);a&&sr!==a&&(sr=a,t(a))},br[e]=function(t){var a=t.target.closest(e);t.relatedTarget&&a===t.relatedTarget.closest(e)||a&&sr===a&&(n(sr),sr=null)},document.body.addEventListener("mouseover",ur[e]),document.body.addEventListener("mouseout",br[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),function(e){return Object(A.doAction)("stackable.help-video.control.hover.in",e,mr(e))},function(){return Object(A.doAction)("stackable.help-video.control.hover.out")}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};pr[e]=function(n){var a=n.target.closest(e);a&&t(a)},document.body.addEventListener("click",pr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),function(e){return Object(A.doAction)("stackable.help-video.control.click",e,mr(e))})},dr=function(){var e;e=['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),document.body.removeEventListener("mouseover",ur[e]),document.body.removeEventListener("mouseout",br[e]),function(e){document.body.removeEventListener("click",pr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "))};function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vr,yr={show:!1,controlEl:null,target:null},Or=function(e,t){vr=setTimeout(function(){_r(e,t)},1500)},wr=function(){vr&&clearTimeout(vr),vr=null},_r=function(e,t){yr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fr(n,!0).forEach(function(t){hr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},yr,{show:!0,controlEl:t,target:e}),Object(A.doAction)("stackable.help-video.show",e)},jr=function(){yr.show=!1,Object(A.doAction)("stackable.help-video.hide")};function kr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Cr=function(e){return"".concat(r.cdnUrl,"/").concat(e)},xr=function(e){var t=kr(Object(u.useState)(null),2),n=t[0],a=t[1],i=kr(Object(u.useState)(!1),2),r=i[0],o=i[1],l=kr(Object(u.useState)(""),2),c=l[0],s=l[1],b=kr(Object(u.useState)(!1),2),p=b[0],m=b[1],g=function(e){document.activeElement&&document.activeElement.blur();var t,n="string"!=typeof e&&e,i=e&&"string"!=typeof e?(t=e)&&t.closest('[class*="ugb--help-tip-"]')&&Object(v.camelCase)((t.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;a(n),s(i),o(!0)},d=function(){o(!1);var e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()};if(Object(u.useEffect)(function(){return cr.loadPromise.then(function(){(new cr.models.Settings).fetch().then(function(e){m(!e.stackable_help_tooltip_disabled)})}),Object(A.addAction)("stackable.help-video.show","stackable/help",g),Object(A.addAction)("stackable.help-video.hide","stackable/help",d),function(){Object(A.removeAction)("stackable.help-video.show","stackable/help"),Object(A.removeAction)("stackable.help-video.hide","stackable/help")}},[]),Object(u.useEffect)(function(){p?(gr(),document.body.classList.add("ugb--help-tips-enabled"),Object(A.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",Or),Object(A.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",wr),Object(A.addAction)("stackable.help-video.control.click","stackable/help/click",function(e,t){if(!yr.show)return _r(e,t);e===yr.target?jr():_r(e,t)}),document.body.addEventListener("click",function(e){yr.show&&(e.target.closest(".ugb-help-tooltip-video")||mr(e.target)===yr.controlEl||jr())})):(document.body.classList.remove("ugb--help-tips-enabled"),dr(),Object(A.removeAction)("stackable.help-video.control.hover.in","stackable/help/hoverin"),Object(A.removeAction)("stackable.help-video.control.hover.out","stackable/help/hoverout"),Object(A.removeAction)("stackable.help-video.control.click","stackable/help/click"))},[p]),!r)return null;if(void 0===e.tooltipData[c])return null;var f=e.tooltipData[c],h=f.title,y=f.video,O=f.description,w=f.learnMore;return wp.element.createElement(lr,{onClickClose:d,getAnchorRect:function(){if(!n)return null;var e=n.getBoundingClientRect(),t=document.querySelector(".edit-post-sidebar");if(t){var a=t.getBoundingClientRect();e.x=a.x,e.width=a.width}return e},title:h,description:O,videoUrl:Cr(y),learnMoreUrl:w,tooltipsEnabled:p,onTooltipsEnabledChange:function(e){!function(e){new cr.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save()}(e),m(e)}})};xr.defaultProps={tooltipData:rr};var Er=xr,Sr=n(22),Ar=n.n(Sr),Tr=n(12);function Br(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Pr=!1,Nr=Object(Tr.createHigherOrderComponent)(function(e){return function(t){var n=t.isSelected,i=t.name,r=Br(Object(u.useState)(!1),2),o=r[0],l=r[1],c=Br(Object(u.useState)(null),2),s=c[0],b=c[1];return Object(u.useEffect)(function(){return n&&i.match(/^ugb\//)&&!o&&!Pr&&b(setTimeout(function(){Pr||(Pr=!0,b(null),l(!0))},1e3)),function(){s&&clearTimeout(s)}},[o,n]),wp.element.createElement(u.Fragment,null,wp.element.createElement(e,t),o&&wp.element.createElement(a.bb,{onRequestClose:function(){l(!1),Ar()({path:"/wp/v2/stk_welcome_video_closed",method:"POST"})}}))}},"withWelcomeTutorialModal");Object(b.a)(function(){if(Element.prototype.closest){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(u.render)(wp.element.createElement(Er,null),e)}}),r.displayWelcomeVideo&&Object(A.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",Nr);var Mr=n(16),Rr=n(14),Fr=n.n(Rr);function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(n,!0).forEach(function(t){Ir(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(e,t){return function(n,i){var l=i.setAttributes,c=i.attributes.blockTag,b=void 0===c?"div":c;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(o.PanelBody,{title:Object(s.__)("General",r.i18n),initialOpen:!1},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,i),t.blockTag&&wp.element.createElement(o.SelectControl,{label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Block",r.i18n)),value:b,options:[{value:"",label:Object(s.__)("Default",r.i18n)},{value:"div",label:Object(s._x)("Div","HTML Tag",r.i18n)},{value:"blockquote",label:Object(s._x)("Blockquote","HTML Tag",r.i18n)},{value:"section",label:Object(s._x)("Section","HTML Tag",r.i18n)},{value:"article",label:Object(s._x)("Article","HTML Tag",r.i18n)},{value:"aside",label:Object(s._x)("Aside","HTML Tag",r.i18n)},{value:"main",label:Object(s._x)("Main","HTML Tag",r.i18n)},{value:"header",label:Object(s._x)("Header","HTML Tag",r.i18n)},{value:"footer",label:Object(s._x)("Footer","HTML Tag",r.i18n)},{value:"nav",label:Object(s._x)("Nav","HTML Tag",r.i18n)},{value:"address",label:Object(s._x)("Address","HTML Tag",r.i18n)},{value:"hgroup",label:Object(s._x)("Hgroup","HTML Tag",r.i18n)}],onChange:function(e){return l({blockTag:e})}}),t.opacity&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockOpacity",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Opacity",r.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-advanced-opacity"})),t.zIndex&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockZIndex",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Z-Index",r.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"})),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,i)))}},Lr=function(){return function(e,t){var n,a=Object(i.b)(t.attributes),r=".".concat(t.mainClassName),o=(Ir(n={},r,{zIndex:Object(i.c)(a("blockZIndex")),opacity:Object(i.c)(a("blockOpacity"))}),Ir(n,"tablet",Ir({},r,{zIndex:Object(i.c)(a("tabletBlockZIndex")),opacity:Object(i.c)(a("tabletBlockOpacity"))})),Ir(n,"mobile",Ir({},r,{zIndex:Object(i.c)(a("mobileBlockZIndex")),opacity:Object(i.c)(a("mobileBlockOpacity"))})),n);return Fr.a.all([e,o])}},Ur=function(e){return zr({},e,{blockTag:{type:"string",default:""}},Object(i.h)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},Wr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=zr({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),Hr(e,n),2),n.modifyStyles&&Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),Lr()),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),Ur),Object(A.doAction)("stackable.module.advanced-general",e)};function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(n,!0).forEach(function(t){qr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(A.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object(A.addFilter)("stackable.setAttributes","stackable/module/block-spacing",function(e,t){return void 0===e.align?e:("full"===e.align&&"full"!==t.align&&(e.marginRight="",e.marginLeft="",e.tabletMarginRight="",e.tabletMarginLeft="",e.tabletPaddingRight="",e.tabletPaddingLeft=""),e)});var Jr=function(e,t){return function(n,i){var o=i.setAttributes,l=i.attributes,c=l.align,b=void 0!==c&&c,p=l.blockInnerWidth,m=void 0===p?"":p,g=l.marginTop,d=void 0===g?"":g,f=l.marginRight,h=void 0===f?"":f,v=l.marginBottom,y=void 0===v?"":v,O=l.marginLeft,w=void 0===O?"":O,_=l.marginUnit,j=void 0===_?"px":_,k=l.tabletMarginTop,C=void 0===k?"":k,x=l.tabletMarginRight,E=void 0===x?"":x,S=l.tabletMarginBottom,T=void 0===S?"":S,B=l.tabletMarginLeft,P=void 0===B?"":B,N=l.tabletMarginUnit,M=void 0===N?"px":N,R=l.mobileMarginTop,F=void 0===R?"":R,D=l.mobileMarginRight,z=void 0===D?"":D,I=l.mobileMarginBottom,H=void 0===I?"":I,L=l.mobileMarginLeft,U=void 0===L?"":L,W=l.mobileMarginUnit,G=void 0===W?"px":W,V=l.paddingTop,q=void 0===V?"":V,J=l.paddingBottom,Y=void 0===J?"":J,X=l.paddingRight,K=void 0===X?"":X,$=l.paddingLeft,Z=void 0===$?"":$,Q=l.paddingUnit,ee=void 0===Q?"px":Q,te=l.tabletPaddingTop,ne=void 0===te?"":te,ae=l.tabletPaddingBottom,ie=void 0===ae?"":ae,re=l.tabletPaddingRight,oe=void 0===re?"":re,le=l.tabletPaddingLeft,ce=void 0===le?"":le,se=l.tabletPaddingUnit,ue=void 0===se?"px":se,be=l.mobilePaddingTop,pe=void 0===be?"":be,me=l.mobilePaddingBottom,ge=void 0===me?"":me,de=l.mobilePaddingRight,fe=void 0===de?"":de,he=l.mobilePaddingLeft,ve=void 0===he?"":he,ye=l.mobilePaddingUnit,Oe=void 0===ye?"px":ye,we=l.blockHeight,_e=void 0===we?"":we,je=l.blockHeightUnit,ke=void 0===je?"px":je,Ce=l.tabletBlockHeight,xe=void 0===Ce?"":Ce,Ee=l.tabletBlockHeightUnit,Se=void 0===Ee?"px":Ee,Ae=l.mobileBlockHeight,Te=void 0===Ae?"":Ae,Be=l.mobileBlockHeightUnit,Pe=void 0===Be?"px":Be,Ne=l.blockWidth,Me=void 0===Ne?"":Ne,Re=l.blockWidthUnit,Fe=void 0===Re?"px":Re,De=l.tabletBlockWidth,ze=void 0===De?"":De,Ie=l.tabletBlockWidthUnit,He=void 0===Ie?"px":Ie,Le=l.mobileBlockWidth,Ue=void 0===Le?"":Le,We=l.mobileBlockWidthUnit,Ge=void 0===We?"px":We,Ve=l.blockHorizontalAlign,qe=void 0===Ve?"":Ve,Je=l.tabletBlockHorizontalAlign,Ye=void 0===Je?"":Je,Xe=l.mobileBlockHorizontalAlign,Ke=void 0===Xe?"":Xe,$e=l.blockVerticalAlign,Ze=void 0===$e?"":$e,Qe=l.tabletBlockVerticalAlign,et=void 0===Qe?"":Qe,tt=l.mobileBlockVerticalAlign,nt=void 0===tt?"":tt;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(a.cb,{title:Object(s.__)("Block Spacing",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-block-spacing"},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,i),t.height&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:_e,unit:ke,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},initialPosition:"100",className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:xe,unit:Se,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Te,unit:Pe,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"}))),t.verticalAlign&&wp.element.createElement(u.Fragment,null,""!==_e&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:Ze,onChange:function(e){return o({blockVerticalAlign:Ze!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==xe&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:et,onChange:function(e){return o({tabletBlockVerticalAlign:et!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Te&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:nt,onChange:function(e){return o({mobileBlockVerticalAlign:nt!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"}))),t.width&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[2e3,100],step:[1,1],allowReset:!0,value:Me,unit:Fe,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},initialPosition:"2000",className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[1500,100],step:[1,1],allowReset:!0,value:ze,unit:He,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ue,unit:Ge,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"}))),(t.horizontalAlign||""!==m&&"full"!==m)&&wp.element.createElement(u.Fragment,null,(""!==Me||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:qe,onChange:function(e){return o({blockHorizontalAlign:qe!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==ze||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({tabletBlockHorizontalAlign:Ye!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Ue||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:Ke,onChange:function(e){return o({mobileBlockHorizontalAlign:Ke!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"}))),t.margins&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:d,bottom:y,right:h,left:w,unit:j,min:[-500,-100],max:[500,100],onChange:function(e){o({marginTop:e.top||0===e.top?parseInt(e.top,10):"",marginRight:e.right||0===e.right?parseInt(e.right,10):"",marginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",marginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({marginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:C,bottom:T,right:E,left:P,unit:M,min:[-500,-100],max:[500,100],onChange:function(e){o({tabletMarginTop:e.top||0===e.top?parseInt(e.top,10):"",tabletMarginRight:e.right||0===e.right?parseInt(e.right,10):"",tabletMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:F,bottom:H,right:z,left:U,unit:G,min:[-500,-100],max:[500,100],onChange:function(e){o({mobileMarginTop:e.top||0===e.top?parseInt(e.top,10):"",mobileMarginRight:e.right||0===e.right?parseInt(e.right,10):"",mobileMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobileMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobileMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"}))),t.paddings&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:q,bottom:Y,right:K,left:Z,unit:ee,min:[0,0,0],max:[500,30,100],onChange:function(e){o({paddingTop:e.top||0===e.top?parseInt(e.top,10):"",paddingRight:e.right||0===e.right?parseInt(e.right,10):"",paddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",paddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({paddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,initialPosition:"10",className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:ne,bottom:ie,right:oe,left:ce,unit:ue,min:[0,0,0],max:[500,30,100],onChange:function(e){o({tabletPaddingTop:e.top||0===e.top?parseInt(e.top,10):"",tabletPaddingRight:e.right||0===e.right?parseInt(e.right,10):"",tabletPaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletPaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletPaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:pe,bottom:ge,right:fe,left:ve,unit:Oe,min:[0,0,0],max:[500,30,100],onChange:function(e){o({mobilePaddingTop:e.top||0===e.top?parseInt(e.top,10):"",mobilePaddingRight:e.right||0===e.right?parseInt(e.right,10):"",mobilePaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobilePaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobilePaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"}))),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,i)))}},Yr=function(e){return function(t,n){var a,r,o,l,c,s=Object(i.b)(n.attributes),u=n.attributes,b=u.blockInnerWidth,p=void 0===b?"":b,m=u.marginUnit,g=void 0===m?"px":m,d=u.tabletMarginUnit,f=void 0===d?"px":d,h=u.mobileMarginUnit,v=void 0===h?"px":h,y=u.paddingUnit,O=void 0===y?"px":y,w=u.tabletPaddingUnit,_=void 0===w?"px":w,j=u.mobilePaddingUnit,k=void 0===j?"px":j,C=u.blockHeightUnit,x=void 0===C?"px":C,E=u.tabletBlockHeightUnit,S=void 0===E?"px":E,T=u.mobileBlockHeightUnit,B=void 0===T?"px":T,P=u.blockWidthUnit,N=void 0===P?"px":P,M=u.tabletBlockWidthUnit,R=void 0===M?"px":M,F=u.mobileBlockWidthUnit,D=void 0===F?"px":F,z=".".concat(n.mainClassName),I=Object(A.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),(qr(a={},z,{marginTop:Object(i.c)(s("marginTop","%s".concat(g))),marginRight:Object(i.c)(s("marginRight","%s".concat(g))),marginBottom:Object(i.c)(s("marginBottom","%s".concat(g))),marginLeft:Object(i.c)(s("marginLeft","%s".concat(g)))}),qr(a,"tablet",qr({},z,{marginTop:Object(i.c)(s("tabletMarginTop","%s".concat(f))),marginRight:Object(i.c)(s("tabletMarginRight","%s".concat(f))),marginBottom:Object(i.c)(s("tabletMarginBottom","%s".concat(f))),marginLeft:Object(i.c)(s("tabletMarginLeft","%s".concat(f)))})),qr(a,"mobile",qr({},z,{marginTop:Object(i.c)(s("mobileMarginTop","%s".concat(v))),marginRight:Object(i.c)(s("mobileMarginRight","%s".concat(v))),marginBottom:Object(i.c)(s("mobileMarginBottom","%s".concat(v))),marginLeft:Object(i.c)(s("mobileMarginLeft","%s".concat(v)))})),a)),H=Object(A.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),(qr(r={},z,{paddingTop:Object(i.c)(s("paddingTop","%s".concat(O))),paddingRight:Object(i.c)(s("paddingRight","%s".concat(O))),paddingBottom:Object(i.c)(s("paddingBottom","%s".concat(O))),paddingLeft:Object(i.c)(s("paddingLeft","%s".concat(O)))}),qr(r,"tablet",qr({},z,{paddingTop:Object(i.c)(s("tabletPaddingTop","%s".concat(_))),paddingRight:Object(i.c)(s("tabletPaddingRight","%s".concat(_))),paddingBottom:Object(i.c)(s("tabletPaddingBottom","%s".concat(_))),paddingLeft:Object(i.c)(s("tabletPaddingLeft","%s".concat(_)))})),qr(r,"mobile",qr({},z,{paddingTop:Object(i.c)(s("mobilePaddingTop","%s".concat(k))),paddingRight:Object(i.c)(s("mobilePaddingRight","%s".concat(k))),paddingBottom:Object(i.c)(s("mobilePaddingBottom","%s".concat(k))),paddingLeft:Object(i.c)(s("mobilePaddingLeft","%s".concat(k)))})),r)),L=(qr(c={},z,{minHeight:s("blockHeight","%s".concat(x)),justifyContent:s("blockHorizontalAlign"),alignItems:s("blockVerticalAlign")}),qr(c,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("blockWidth","%s".concat(N))),minWidth:"wide"===p&&s("blockWidth")?"auto !important":void 0}),qr(c,"tablet",(qr(o={},z,{minHeight:s("tabletBlockHeight","%s".concat(S)),justifyContent:s("tabletBlockHorizontalAlign"),alignItems:s("tabletBlockVerticalAlign")}),qr(o,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("tabletBlockWidth","%s".concat(R))),minWidth:"wide"===p&&s("tabletBlockWidth")?"auto !important":void 0}),o)),qr(c,"mobile",(qr(l={},z,{minHeight:Object(i.c)(s("mobileBlockHeight","%s".concat(B))),justifyContent:s("mobileBlockHorizontalAlign"),alignItems:s("mobileBlockVerticalAlign")}),qr(l,"".concat(z," > .ugb-inner-block"),{maxWidth:Object(i.c)(s("mobileBlockWidth","%s".concat(D))),minWidth:"wide"===p&&s("mobileBlockWidth")?"auto !important":void 0}),l)),qr(c,"ie11",qr({},z,{height:s("blockHeight","%s".concat(x))})),c);return Fr.a.all([t,I,H,L])}},Xr=function(e){return Vr({},e,{},Object(i.h)("%sMargin%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sMarginUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockHeightUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockWidth",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sBlockWidthUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sBlock%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},Kr=function(e,t){var n=t.attributes,a=n.blockWidth,i=void 0===a?"":a,r=n.tabletBlockWidth,o=void 0===r?"":r,l=n.mobileBlockWidth;return Vr({},e,{"ugb--has-custom-content-width":""!==i,"ugb--has-custom-content-width-tablet":""!==o,"ugb--has-custom-content-width-mobile":""!==(void 0===l?"":l)})},$r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Vr({margins:!0,paddings:!0,height:!0,width:!0,horizontalAlign:!0,verticalAlign:!0,modifyStyles:!0,enableMarginTop:!0,enableMarginRight:!0,enableMarginBottom:!0,enableMarginLeft:!0,enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),Jr(e,n),5),n.modifyStyles&&Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),Yr(e)),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),Xr),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-block-spacing"),Kr),Object(A.doAction)("stackable.module.advanced-block-spacing",e)};function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eo=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Column Spacing & More",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-column-spacing"},wp.element.createElement(a.fb,{type:"advanced"})))},to=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(n,!0).forEach(function(t){Qr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.h)("%sColumnPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.h)("%sColumnPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnGap",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.h)("%sColumnContent%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]),{},Object(i.h)("%sColumn%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},no=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.showProNotice&&Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),eo,6),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),to),Object(A.doAction)("stackable.module.advanced-column-spacing",e,t)};function ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(n,!0).forEach(function(t){ro(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ao(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oo=function(e,t){var n=t.attributes,a=n.hideDesktop,i=void 0!==a&&a,r=n.hideTablet,o=void 0!==r&&r,l=n.hideMobile;return io({},e,{"ugb--hide-desktop":i,"ugb--hide-tablet":o,"ugb--hide-mobile":void 0!==l&&l})},lo=function(e){return io({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},co=function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-responsive"),function(e){return function(t,n){var a=n.setAttributes,i=n.attributes,l=i.hideDesktop,c=void 0!==l&&l,b=i.hideTablet,p=void 0!==b&&b,m=i.hideMobile,g=void 0!==m&&m;return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Responsive",r.i18n),initialOpen:!1},Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Desktop",r.i18n),checked:c,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Tablet",r.i18n),checked:p,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Mobile",r.i18n),checked:g,onChange:function(e){return a({hideMobile:e})}}),Object(A.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),lo),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),oo),Object(A.doAction)("stackable.module.advanced-responsive",e)};function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(n,!0).forEach(function(t){po(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mo=[],go=function(e){return bo({},e,{supports:bo({},e.supports,{align:null})})},fo=function(e){return Object(v.includes)(["center","wide","full"],e)},ho=Object(Tr.createHigherOrderComponent)(Object(Tr.compose)([Object(p.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.attributes,a=t.name,i=n.align,r=t.wrapperProps;return mo.includes(a)&&fo(i)&&(r=bo({},r,{"data-align":i})),wp.element.createElement(e,so({},t,{wrapperProps:r}))}}]));function vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vo(n,!0).forEach(function(t){Oo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(A.addFilter)("editor.BlockListBlock","stackable/with-data-align",ho),Object(A.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,i=n.align;return mo.includes(a)?(fo(i)&&(e.className=$()("align".concat(i),e.className)),e):e}),Object(A.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object(A.addFilter)("stackable.setAttributes","stackable/module/block-background/show",function(e,t){if(void 0===e.showBlockBackground)return e;var n=t.attributes,a=n.align,i=void 0===a?"":a,r=n.blockInnerWidth,o=void 0===r?"":r;return e.align=e.showBlockBackground?"full":o||"center",e.blockInnerWidth=e.showBlockBackground?i||"center":"",e});var _o=function(e,t){var n=t.setAttributes,l=t.attributes,c=l.showBlockBackground,b=void 0!==c&&c,p=l.noPaddings,m=void 0===p?"":p;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Background",r.i18n),id:"block-background",checked:b,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:[].concat(wo(Object(i.i)("blockBackground%s")),["noPaddings"]),toggleAttributeName:"showBlockBackground",className:"ugb--help-tip-background-on-off"},wp.element.createElement(a.v,null),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("No Paddings",r.i18n),checked:m,onChange:function(e){return n({noPaddings:e})},className:"ugb--help-tip-no-padding"}),wp.element.createElement(a.h,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},jo=function(e,t){var n=t.setAttributes,a=t.attributes,i=a.showBlockBackground,l=void 0!==i&&i,b=a.align,p=void 0===b?"":b,m=a.blockInnerWidth,g=void 0===m?"":m;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,!l&&wp.element.createElement(c.BlockAlignmentToolbar,{value:p,onChange:function(e){var t=l&&!e?"full":e;n(l?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),l&&wp.element.createElement(o.Toolbar,{label:Object(s.__)("Change Alignment",r.i18n),controls:[{icon:"align-center",title:Object(s.__)("Align center",r.i18n),isActive:""===g||"center"===g,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(s.__)("Wide width",r.i18n),isActive:"wide"===g,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(s.__)("Full width",r.i18n),isActive:"full"===g,onClick:function(){n({blockInnerWidth:"full"})}}]})))},ko=function(e){return yo({},e,{supports:yo({},e.supports,{align:["center","wide","full"]})})},Co=function(e){return yo({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"},noPaddings:{type:"boolean",default:""}},Object(i.j)("blockBackground%s"))},xo=function(e,t){var n,a=t.attributes,r=a.showBlockBackground,o=void 0!==r&&r,l=a.blockInnerWidth,c=void 0===l?"":l;return o?yo({},e,(Oo(n={},"ugb-main-block--inner-".concat(c),c),Oo(n,"ugb--has-block-background",o),Oo(n,"ugb--has-background-overlay",Object(i.V)("blockBackground%s",t.attributes)),n)):e},Eo=function(e,t){var n=t.attributes,a=n.showBlockBackground,i=void 0!==a&&a,r=n.blockInnerWidth;return i?yo({},e,Oo({},"ugb-inner-block--".concat((void 0===r?"":r)||"center"),!0)):e},So=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(u.Fragment,null,e,Object(i.I)("blockBackground%s",n)):e},Ao=function(e,t){var n,a,r,o=Object(i.b)(t.attributes);if(!t.attributes.showBlockBackground)return e;var l=(Oo(r={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","desktop",t.attributes))),Oo(r,"",{padding:o("noPaddings")?"0 !important":void 0}),Oo(r,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","desktop",t.attributes))),Oo(r,"tablet",(Oo(n={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","tablet",t.attributes))),Oo(n,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","tablet",t.attributes))),n)),Oo(r,"mobile",(Oo(a={},".".concat(t.mainClassName),yo({},Object(i.m)("blockBackground%s","mobile",t.attributes))),Oo(a,".".concat(t.mainClassName,":before"),yo({},Object(i.k)("blockBackground%s","mobile",t.attributes))),a)),r);return Fr()(e,l)},To=function(e){return Object(v.omit)(e,["blockBackgroundBackgroundMediaId"])};function Bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bo(n,!0).forEach(function(t){No(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var i=n.setAttributes,l=n.attributes,c=l.showTopSeparator,b=void 0!==c&&c,p=l.topSeparatorDesign,m=void 0===p?"wave-1":p,g=l.topSeparatorColor,d=void 0===g?"":g,f=l.topSeparatorWidth,h=void 0===f?"":f,v=l.topSeparatorFlipHorizontally,y=void 0!==v&&v,O=l.topSeparatorFlipVertically,w=void 0!==O&&O,_=l.topSeparatorShadow,j=void 0===_||_,k=l.topSeparatorBringToFront,C=void 0!==k&&k,x=l.showBottomSeparator,E=void 0!==x&&x,S=l.bottomSeparatorDesign,T=void 0===S?"wave-1":S,B=l.bottomSeparatorColor,P=void 0===B?"":B,N=l.bottomSeparatorWidth,M=void 0===N?"":N,R=l.bottomSeparatorFlipHorizontally,F=void 0!==R&&R,D=l.bottomSeparatorFlipVertically,z=void 0!==D&&D,I=l.bottomSeparatorShadow,H=void 0===I||I,L=l.bottomSeparatorBringToFront,U=void 0!==L&&L;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Top Separator",r.i18n),id:"top-separator",checked:b,onChange:function(e){return i({showTopSeparator:e})},toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorFlipVertically","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator",className:"ugb-top-block-separator-panel ugb--help-tip-separator-top-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:m,onChange:function(e){return i({topSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:d,onChange:function(e){return i({topSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"topSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return i({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:y,onChange:function(e){return i({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:w,onChange:function(e){return i({topSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:j,onChange:function(e){return i({topSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:C,onChange:function(e){return i({topSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(A.applyFilters)("stackable.block-separators.edit.top",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})),wp.element.createElement(a.cb,{title:Object(s.__)("Bottom Separator",r.i18n),id:"bottom-separator",checked:E,onChange:function(e){return i({showBottomSeparator:e})},toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorFlipVertically","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator",className:"ugb-bottom-block-separator-panel ugb--help-tip-separator-bottom-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:T,onChange:function(e){return i({bottomSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:P,onChange:function(e){return i({bottomSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:M,onChange:function(e){return i({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:F,onChange:function(e){return i({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:z,onChange:function(e){return i({bottomSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:H,onChange:function(e){return i({bottomSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:U,onChange:function(e){return i({bottomSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(A.applyFilters)("stackable.block-separators.edit.bottom",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})))}},Ro=function(e){return Po({},e,{},Object(i.h)("Show%sSeparator",{type:"boolean",default:""},["Top","Bottom"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:"wave-1"},["Top","Bottom"],["Design"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Color"]),{},Object(i.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Height","TabletHeight","MobileHeight","Width"]),{},Object(i.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["FlipHorizontally","FlipVertically","BringToFront"]),{},Object(i.h)("%sSeparatorShadow",{type:"boolean",default:!0},["Top","Bottom"]),{},Object(i.h)("Show%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2","Layer3"]),{},Object(i.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Layer2Color","Layer3Color","Layer2BlendMode","Layer3BlendMode"]),{},Object(i.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Layer2Height","Layer3Height","Layer2Width","Layer3Width","Layer2Opacity","Layer3Opacity"]),{},Object(i.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2FlipHorizontally","Layer3FlipHorizontally"]))},Fo=function(e,t,n){var i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorDesign,c=void 0===l?"wave-1":l,s=i.topSeparatorFlipVertically,b=void 0!==s&&s,p=i.topSeparatorShadow,m=void 0===p||p,g=i.showBottomSeparator,d=void 0!==g&&g,f=i.bottomSeparatorDesign,h=void 0===f?"wave-1":f,v=i.bottomSeparatorFlipVertically,y=void 0!==v&&v,O=i.bottomSeparatorShadow,w=void 0===O||O;return wp.element.createElement(u.Fragment,null,e,o&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(a.ib,{design:c,shadow:m,inverted:b},Object(A.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),d&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(a.ib,{design:h,shadow:w,inverted:y},Object(A.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},Do=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorColor,c=void 0===l?"":l,s=i.topSeparatorHeight,u=void 0===s?"":s,b=i.topSeparatorTabletHeight,p=void 0===b?"":b,m=i.topSeparatorMobileHeight,g=void 0===m?"":m,d=i.topSeparatorWidth,f=void 0===d?"":d,h=i.topSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.topSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(No(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scale(-1)":void 0}),No(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),No(a,".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),No(a,"tablet",No({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),No(a,"mobile",No({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Fr()(e,w)}},zo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showBottomSeparator,o=void 0!==r&&r,l=i.bottomSeparatorColor,c=void 0===l?"":l,s=i.bottomSeparatorHeight,u=void 0===s?"":s,b=i.bottomSeparatorTabletHeight,p=void 0===b?"":b,m=i.bottomSeparatorMobileHeight,g=void 0===m?"":m,d=i.bottomSeparatorWidth,f=void 0===d?"":d,h=i.bottomSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.bottomSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(No(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scaleX(-1)":void 0}),No(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),No(a,".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),No(a,"tablet",No({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),No(a,"mobile",No({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Fr()(e,w)}},Io=function(e,t){var n=t.attributes,a=n.showTopSeparator,i=void 0!==a&&a,r=n.showBottomSeparator;return Po({},e,{"ugb--has-top-separator":i,"ugb--has-bottom-separator":void 0!==r&&r})};function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ho(n,!0).forEach(function(t){Uo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Go=function(e,t){var n=t.setAttributes,o=t.attributes,l=o.showBlockTitle,c=void 0!==l&&l,b=o.blockTitleTag,p=void 0===b?"":b,m=o.blockTitleColor,g=void 0===m?"":m,d=o.showBlockDescription,f=void 0!==d&&d,h=o.blockDescriptionColor,v=void 0===h?"":h,y=o.blockTitle,O=void 0===y?"":y,w=o.blockDescription,_=void 0===w?"":w,j=o.blockTitleWidth,k=void 0===j?"":j,C=o.blockTitleTabletWidth,x=void 0===C?"":C,E=o.blockTitleMobileWidth,S=void 0===E?"":E,A=o.blockTitleWidthUnit,T=void 0===A?"px":A,B=o.blockTitleTabletWidthUnit,P=void 0===B?"px":B,N=o.blockTitleMobileWidthUnit,M=void 0===N?"px":N,R=o.blockDescriptionWidth,F=void 0===R?"":R,D=o.blockDescriptionTabletWidth,z=void 0===D?"":D,I=o.blockDescriptionMobileWidth,H=void 0===I?"":I,L=o.blockDescriptionWidthUnit,U=void 0===L?"px":L,W=o.blockDescriptionTabletWidthUnit,G=void 0===W?"px":W,V=o.blockDescriptionMobileWidthUnit,q=void 0===V?"px":V,J=o.blockTitleHorizontalAlign,Y=void 0===J?"":J,X=o.blockDescriptionHorizontalAlign,K=void 0===X?"":X;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Title",r.i18n),id:"block-title",className:"ugb-panel-block-title-module",checked:c,onChange:function(e){var t={showBlockTitle:e};e&&""===O&&(t.blockTitle=Object(s.__)("Title for This Block",r.i18n)),n(t)},toggleOnSetAttributes:[].concat(Wo(Object(i.F)("blockTitle%s")),["blockTitleTag","blockTitleColor"],Wo(Object(i.z)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(a.rb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(a.J,{value:p||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(a.s,{value:g,onChange:function(e){return n({blockTitleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:k,unit:T||"px",onChange:function(e){return n({blockTitleWidth:e})},onChangeUnit:function(e){return n({blockTitleWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:x,unit:P||"px",onChange:function(e){return n({blockTitleTabletWidth:e})},onChangeUnit:function(e){return n({blockTitleTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:S,unit:M||"px",onChange:function(e){return n({blockTitleMobileWidth:e})},onChangeUnit:function(e){return n({blockTitleMobileWidthUnit:e})}})),(k||x||S)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:Y,onChange:function(e){return n({blockTitleHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(a.cb,{title:Object(s.__)("Block Description",r.i18n),id:"block-description",checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===_&&(t.blockDescription=Object(i.J)()),n(t)},toggleOnSetAttributes:[].concat(Wo(Object(i.F)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],Wo(Object(i.z)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(a.rb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(a.s,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:F,unit:U||"px",onChange:function(e){return n({blockDescriptionWidth:e})},onChangeUnit:function(e){return n({blockDescriptionWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:z,unit:G||"px",onChange:function(e){return n({blockDescriptionTabletWidth:e})},onChangeUnit:function(e){return n({blockDescriptionTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:H,unit:q||"px",onChange:function(e){return n({blockDescriptionMobileWidth:e})},onChangeUnit:function(e){return n({blockDescriptionMobileWidthUnit:e})}})),(F||z||H)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:K,onChange:function(e){return n({blockDescriptionHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-description"}))))},Vo=function(e){return Lo({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(s.__)("Title for This Block",r.i18n)}},Object(i.A)("blockTitle%sWidth",{type:"number",default:""}),{},Object(i.A)("blockTitle%sWidthUnit",{type:"string",default:""}),{blockTitleHorizontalAlign:{type:"string",default:""}},Object(i.A)("blockTitle%sBottomMargin",{type:"number",default:""}),{},Object(i.G)("blockTitle%s"),{},Object(i.A)("blockTitle%sAlign",{type:"string",default:""}),{blockTitleColor:{type:"string",default:""},blockTitleTag:{type:"string",default:""},showBlockDescription:{type:"boolean",default:!1},blockDescription:{source:"html",selector:".ugb-block-description",default:Object(i.J)()}},Object(i.A)("blockDescription%sWidth",{type:"number",default:""}),{},Object(i.A)("blockDescription%sWidthUnit",{type:"string",default:""}),{blockDescriptionHorizontalAlign:{type:"string",default:""}},Object(i.A)("blockDescription%sBottomMargin",{type:"number",default:""}),{},Object(i.G)("blockDescription%s"),{},Object(i.A)("blockDescription%sAlign",{type:"string",default:""}),{blockDescriptionColor:{type:"string",default:""}})},qo=function(e,t,n){var a=n.setAttributes,o=n.attributes,l=o.showBlockTitle,b=void 0!==l&&l,p=o.blockTitle,m=void 0===p?"":p,g=o.blockTitleTag,d=void 0===g?"":g,f=o.showBlockDescription,h=void 0!==f&&f,v=o.blockDescription,y=void 0===v?"":v,O=$()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement(c.RichText,{tagName:d||"h2",value:m,className:O,onChange:function(e){return a({blockTitle:e})},placeholder:Object(s.__)("Title for This Block",r.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(c.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(i.J)(),keepPlaceholderOnFocus:!0}))},Jo=function(e,t){var n=t.setAttributes,i=t.attributes,o=i.showBlockTitle,l=void 0!==o&&o,c=i.showBlockDescription,b=void 0!==c&&c;return wp.element.createElement(u.Fragment,null,e,l&&wp.element.createElement(a.hb,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-title"})),b&&wp.element.createElement(a.hb,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-description"})))},Yo=function(e,t,n){var a=n.attributes,i=a.showBlockTitle,r=void 0!==i&&i,o=a.blockTitle,l=void 0===o?"":o,s=a.blockTitleTag,b=void 0===s?"":s,p=a.showBlockDescription,m=void 0!==p&&p,g=a.blockDescription,d=void 0===g?"":g,f=$()(["ugb-block-title"],{"ugb-block-title--with-subtitle":m&&d});return wp.element.createElement(u.Fragment,null,e,r&&!c.RichText.isEmpty(l)&&wp.element.createElement(c.RichText.Content,{tagName:b||"h2",className:f,value:l}),m&&!c.RichText.isEmpty(d)&&wp.element.createElement(c.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},Xo=function(e,t){var n=Object(i.b)(t.attributes),a=t.attributes,r=a.showBlockTitle,o=void 0!==r&&r,l=a.blockTitleColor,c=void 0===l?"":l,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,p=void 0===b?"":b,m=a.showBlockBackground,g=void 0!==m&&m,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e],v=n("blockTitleWidth")||n("blockTitleTabletWidth")||n("blockTitleMobileWidth");o&&h.push({".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","desktop",t.attributes),{color:Object(i.rb)(c,g&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleWidth","%s"+n("blockTitleWidthUnit","%s","px"))),marginLeft:v?Object(i.c)(Object(i.db)(n("blockTitleHorizontalAlign"))):void 0,marginRight:v?Object(i.c)(Object(i.eb)(n("blockTitleHorizontalAlign"))):void 0}),tablet:{".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleTabletWidth","%s"+n("blockTitleTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-title":Lo({},Object(i.H)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleMobileWidth","%s"+n("blockTitleMobileWidthUnit","%s","px")))})}});var y=n("blockDescriptionWidth")||n("blockDescriptionTabletWidth")||n("blockDescriptionMobileWidth");return u&&h.push({".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","desktop",t.attributes),{color:Object(i.rb)(p,g&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionWidth","%s"+n("blockDescriptionWidthUnit","%s","px"))),marginLeft:y?Object(i.c)(Object(i.db)(n("blockDescriptionHorizontalAlign"))):void 0,marginRight:y?Object(i.c)(Object(i.eb)(n("blockDescriptionHorizontalAlign"))):void 0}),tablet:{".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionTabletWidth","%s"+n("blockDescriptionTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-description":Lo({},Object(i.H)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionMobileWidth","%s"+n("blockDescriptionMobileWidthUnit","%s","px")))})}}),Fr.a.all(h)},Ko=function(e){return Object(v.omit)(Lo({},e,{blockTitle:Object(s.__)("Title for This Block",r.i18n),blockDescription:Object(i.J)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},$o=function(e){return[].concat(Wo(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function Zo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zo(n,!0).forEach(function(t){el(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function el(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tl=function(e){return function(t){return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Designs",r.i18n),initialOpen:!0},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("You will not lose your block content when changing designs.",r.i18n)),wp.element.createElement(a.y,{block:"ugb/".concat(e),onSelect:function(e){Object(i.e)(e.attributes)}})))}};function nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function al(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var il=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nl(n,!0).forEach(function(t){al(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.h)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},rl=function(e,t){var n=Object(i.b)(t.attributes),a=[e];return a.push({".ugb-inner-block":{textAlign:n("contentAlign")},tablet:{".ugb-inner-block":{textAlign:n("tabletContentAlign")}},mobile:{".ugb-inner-block":{textAlign:n("mobileContentAlign")}}}),Fr.a.all(a)},ol=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,i=void 0===a?"":a;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,wp.element.createElement(c.AlignmentToolbar,{value:i,onChange:function(e){return n({contentAlign:e})}})))};function ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function cl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sl=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Custom CSS",r.i18n)},wp.element.createElement(a.fb,{title:Object(s.__)("Say Hello to Custom CSS 👋",r.i18n),description:Object(s.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",r.i18n)})))},ul=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ll(n,!0).forEach(function(t){cl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ll(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""}})},bl=function(e,t,n){var a=n.mainClassName,r=n.attributes,o=r.customCSS,l=void 0===o?"":o,c=r.uniqueClass,s=void 0===c?n.attributes.customCSSUniqueID||"":c,b=Object(i.fb)(Object(i.g)(l,a,s),!0);return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement("style",null,b))},pl={},ml=function(e,t){pl[e]=t},gl=function(e){return pl[e]},dl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!gl(t)){var a=fl.reduce(function(e,n){var a=n.name,i=n.module;return t===a?i:e},null);a&&ml(t,a)}var i=gl(t);i&&i(e,n)},fl=[{name:"advanced-general",module:Wr},{name:"advanced-responsive",module:co},{name:"advanced-block-spacing",module:$r},{name:"advanced-column-spacing",module:no},{name:"block-background",module:function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),_o,18),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),Co),Object(A.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),jo),Object(A.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),ko),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),xo),Object(A.addFilter)("stackable.".concat(e,".main-block.inner-classes"),"stackable/".concat(e,"/block-background"),Eo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),Ao),Object(A.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),So),Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),So),Object(A.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-separators"),To),Object(A.doAction)("stackable.module.block-background",e),function(e){Object(A.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),go,99),mo.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Po({enableBringToFront:!0},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),Mo(e,n),18),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),Ro),Object(A.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),Fo),Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),Fo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),Do(e,n)),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),zo(e,n)),Object(A.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),Io),Object(A.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object(A.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object(A.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),Go,17),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),Vo),Object(A.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",Jo),Object(A.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),qo),Object(A.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),Yo),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),Xo),Object(A.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),$o),Object(A.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-title"),Ko),Object(A.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Qo({},t);Object(A.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),tl(e),20),Object(A.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object(A.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),ol,11),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),il),Object(A.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),rl,9),Object(A.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){r.showProNotice&&Object(A.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),sl,20),Object(A.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),ul),r.isPro||Object(A.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),bl),Object(A.doAction)("stackable.module.custom-css",e)}}],hl=n(10);function vl(e){return(vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ol(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yl(n,!0).forEach(function(t){wl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _l,jl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(d.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=Ol({},t,{category:Object(i.mb)()?t.category:"stackable",modules:Object(A.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return Ol({},t,{save:Object(hl.f)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&dl(n,e,"object"===vl(t)?t:{})}),a.attributes=Object(A.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object(A.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(hl.f)(e)(a.edit),a.save=Object(hl.f)(e)(a.save),Object(d.registerBlockType)(e,Object(A.applyFilters)("stackable.".concat(n,".settings"),a)),a}};Object(i.mb)()?Object(d.registerBlockCollection)("ugb",{title:Object(s.__)("Stackable",r.i18n),icon:Mr.v}):Object(d.setCategories)([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(_l=Object(d.getCategories)())||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(_l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),[{slug:"stackable",title:Object(s.__)("Stackable",r.i18n),icon:Mr.v}]));var kl;(kl=n(378)).keys().forEach(function(e){var t=kl(e),n=t.name,a=t.settings;try{return n&&a&&jl(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),l=function(e){return i.a.createElement("svg",r({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),o)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=i.a.createElement("filter",{id:"curve-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),u=i.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),b=function(e){return i.a.createElement("svg",c({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),s,u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=i.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),g=function(e){return i.a.createElement("svg",p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=i.a.createElement("filter",{id:"curve-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),h=i.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),v=function(e){return i.a.createElement("svg",d({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=i.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),w=function(e){return i.a.createElement("svg",y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=i.a.createElement("filter",{id:"curve-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),k=i.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),C=function(e){return i.a.createElement("svg",_({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),j,k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),B=i.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),P=function(e){return i.a.createElement("svg",A({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),T,B)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var M=i.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),R=function(e){return i.a.createElement("svg",N({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),M)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=i.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),z=i.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),I=function(e){return i.a.createElement("svg",F({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),D,z)};function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var L=i.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),U=function(e){return i.a.createElement("svg",H({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),L)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var G=i.a.createElement("filter",{id:"slant-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),V=i.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),q=function(e){return i.a.createElement("svg",W({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),G,V)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),X=function(e){return i.a.createElement("svg",J({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Y)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=i.a.createElement("filter",{id:"slant-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Z=i.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Q=function(e){return i.a.createElement("svg",K({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$,Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=i.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ne=function(e){return i.a.createElement("svg",ee({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=i.a.createElement("filter",{id:"wave-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),re=i.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),oe=function(e){return i.a.createElement("svg",ae({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ie,re)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=i.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),se=function(e){return i.a.createElement("svg",le({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=i.a.createElement("filter",{id:"wave-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pe=i.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),me=function(e){return i.a.createElement("svg",ue({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),fe=function(e){return i.a.createElement("svg",ge({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("filter",{id:"wave-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ye=i.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Oe={"wave-1":ne,"wave-2":se,"wave-3":fe,"curve-1":l,"curve-2":g,"curve-3":w,"slant-1":U,"slant-2":X,"rounded-1":S,"rounded-2":R},we={"wave-1":oe,"wave-2":me,"wave-3":function(e){return i.a.createElement("svg",he({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ve,ye)},"curve-1":b,"curve-2":v,"curve-3":C,"slant-1":q,"slant-2":Q,"rounded-1":P,"rounded-2":I},_e=n(5),je=n(8),ke=n.n(je),Ce=[{attributes:{align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.height,i=n.design,r=void 0===i?"wave-1":i,o=n.marginTop,l=void 0===o?0:o,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,p=n.paddingBottom,m=void 0===p?0:p,g=n.backgroundColor,d=void 0===g?"":g,f=n.flipVertically,h=void 0!==f&&f,v=n.flipHorizontally,y=void 0!==v&&v,O=n.layer1Color,w=void 0===O?"":O,_=n.layer1Width,j=void 0===_?1:_,k=n.layer1Flip,C=void 0!==k&&k,x=n.layer1Shadow,E=void 0!==x&&x,S=ke()([t,"ugb-separator","ugb-separator--design-".concat(r)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},r,e)),A={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},T={height:"".concat(m,"px"),background:w||void 0},B={height:"".concat(b,"px"),background:d||void 0},P={height:a+"px"},N={fill:w||void 0,transform:j?"scaleX(".concat(j,")"):void 0};C&&(N.transform=N.transform?"".concat(N.transform," scaleX(-1)"):"scaleX(-1)");var M=Oe[r],R=we[r];return wp.element.createElement("div",{className:S,style:A,"aria-hidden":"true"},Object(_e.applyFilters)("stackable.separator.save.output.before_1_15",null,r,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:B}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:P},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:N}),wp.element.createElement(M,{preserveAspectRatio:"none",style:N}),Object(_e.applyFilters)("stackable.separator.save.output.layers_1_15",null,r,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:T}))}}],xe=n(3),Ee=n(1),Se=n(0),Ae=n(6);Ee.showProNotice&&Object(_e.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),2),className:"ugb--help-tip-separator-layer2"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a second layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})),wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),3),className:"ugb--help-tip-separator-layer3"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Te=n(10),Be=n(2),Pe=function(e){var t,n=Object(Be.b)(e.attributes),a=e.attributes,i=a.backgroundColor,r=void 0===i?"":i,o=a.layer1Color,l=void 0===o?"":o,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,p=a.marginTop,m=void 0===p?0:p,g=a.marginBottom,d=void 0===g?0:g,f=a.marginUnit,h=void 0===f?"px":f,v=a.tabletMarginTop,y=void 0===v?"":v,O=a.tabletMarginBottom,w=void 0===O?"":O,_=a.tabletMarginUnit,j=void 0===_?"px":_,k=a.mobileMarginTop,C=void 0===k?"":k,x=a.mobileMarginBottom,E=void 0===x?"":x,S=a.mobileMarginUnit,A=void 0===S?"px":S,T=a.paddingTop,B=void 0===T?0:T,P=a.paddingBottom,N=void 0===P?0:P,M=a.paddingUnit,R=void 0===M?"px":M,F=a.tabletPaddingTop,D=void 0===F?"":F,z=a.tabletPaddingBottom,I=void 0===z?"":z,H=a.tabletPaddingUnit,L=void 0===H?"px":H,U=a.mobilePaddingTop,W=void 0===U?"":U,G=a.mobilePaddingBottom,V=void 0===G?"":G,q=a.mobilePaddingUnit,J=void 0===q?"px":q,Y=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:r||void 0,marginTop:"".concat(m-1+(Y?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(Y?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==N?"".concat(N).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==B?"".concat(B).concat(R):void 0,background:r||void 0},".ugb-separator__svg-wrapper":{height:200!==n("height")?Object(Be.c)(n("height","%spx")):void 0},".ugb-separator__shadow, .ugb-separator__layer-1":{fill:l||void 0,transform:(t=s?"scaleX(".concat(s,")"):void 0,b&&(t=t?"".concat(t," scaleX(-1)"):"scaleX(-1)"),t)},tablet:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("tabletHeight","%spx"))},".ugb-separator":{marginTop:"".concat(y-1).concat(j," !important"),marginBottom:"".concat(w-1).concat(j," !important")},".ugb-separator__bottom-pad":{height:""!==I?"".concat(I).concat(L):void 0},".ugb-separator__top-pad":{height:""!==D?"".concat(D).concat(L):void 0}},mobile:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(A," !important"),marginBottom:"".concat(E-1).concat(A," !important")},".ugb-separator__bottom-pad":{height:""!==V?"".concat(V).concat(J):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(J):void 0}}}},Ne=n(11),Me=n(12);Object(_e.addFilter)("stackable.separator.edit.inspector.layout.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"wave-1":a;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.A,null,wp.element.createElement(xe.C,{onChange:function(e){return n({design:e})},selected:i,excludeDesigns:["straight-1"]})))}),Object(_e.addFilter)("stackable.separator.edit.inspector.style.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.height,r=a.tabletHeight,o=void 0===r?"":r,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,p=void 0===b?0:b,m=a.marginUnit,g=void 0===m?"px":m,d=a.tabletMarginTop,f=void 0===d?"":d,h=a.tabletMarginBottom,v=void 0===h?"":h,y=a.tabletMarginUnit,O=void 0===y?"px":y,w=a.mobileMarginTop,_=void 0===w?"":w,j=a.mobileMarginBottom,k=void 0===j?"":j,C=a.mobileMarginUnit,x=void 0===C?"px":C,E=a.backgroundColor,S=void 0===E?"":E,A=a.flipVertically,T=void 0!==A&&A,B=a.flipHorizontally,P=void 0!==B&&B,N=a.layer1Color,M=void 0===N?"":N,R=a.layer1Width,F=void 0===R?1:R,D=a.layer1Flip,z=void 0!==D&&D,I=a.layer1Shadow,H=void 0!==I&&I,L=a.paddingTop,U=void 0===L?0:L,W=a.paddingBottom,G=void 0===W?0:W,V=a.paddingUnit,q=void 0===V?"px":V,J=a.tabletPaddingTop,Y=void 0===J?"":J,X=a.tabletPaddingBottom,K=void 0===X?"":X,$=a.tabletPaddingUnit,Z=void 0===$?"px":$,Q=a.mobilePaddingTop,ee=void 0===Q?"":Q,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,ie=void 0===ae?"px":ae;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{title:Object(Se.__)("Separator",Ee.i18n),id:"separator"},wp.element.createElement(xe.s,{label:Object(Se.__)("Separator Color",Ee.i18n),value:M,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.c,{label:Object(Se.__)("Separator Width",Ee.i18n),value:F,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1",className:"ugb--help-tip-separator-width"}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:z,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Shadow",Ee.i18n),checked:H,onChange:function(e){return n({layer1Shadow:e})},className:"ugb--help-tip-separator-shadow"})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:i,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Vertically",Ee.i18n),checked:T,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:P,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.s,{label:Object(Se.__)("Background Color",Ee.i18n),value:S,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:U,min:"0",max:"400",onChange:function(e){return n({paddingTop:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:G,min:"0",max:"400",onChange:function(e){return n({paddingBottom:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:u,min:-i-U-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:p,min:-i-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:Y,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:K,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:f,min:-o-Y-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:v,min:-o-K-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:ee,min:"0",max:"400",onChange:function(e){return n({mobilePaddingTop:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:ne,min:"0",max:"400",onChange:function(e){return n({mobilePaddingBottom:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:_,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:k,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}))))});var Re=Object(Me.compose)(Te.i,Te.g,Te.d,Object(Te.h)(),Object(Te.a)(Pe,{editorMode:!0}),Object(Te.b)([[".ugb-separator__layer-1","separator"]]))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Edit,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),Fe=Object(Me.compose)(Te.i,Object(Te.a)(Pe))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Save,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),De=n(16);n.d(t,"schema",function(){return ze}),n.d(t,"name",function(){return Ie}),n.d(t,"settings",function(){return He});var ze={align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},tabletHeight:{type:"number",default:""},mobileHeight:{type:"number",default:""},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},tabletMarginTop:{type:"number",default:""},tabletMarginBottom:{type:"number",default:""},mobileMarginTop:{type:"number",default:""},mobileMarginBottom:{type:"number",default:""},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},tabletPaddingTop:{type:"number",default:""},tabletPaddingBottom:{type:"number",default:""},mobilePaddingTop:{type:"number",default:""},mobilePaddingBottom:{type:"number",default:""},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer2BlendMode:{type:"string",default:""},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5}},Ie="ugb/separator",He={title:Object(Se.__)("Separator",Ee.i18n),description:Object(Se.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:De.x,category:"layout",keywords:[Object(Se.__)("Separator",Ee.i18n),Object(Se.__)("SVG Divider",Ee.i18n),Object(Se.__)("Stackable",Ee.i18n)],attributes:ze,supports:{align:["full"],inserter:!Ee.disabledBlocks.includes(Ie)},deprecated:Ce,save:Fe,edit:Re,modules:{"advanced-general":!0,"advanced-responsive":!0,"advanced-block-spacing":{enableMarginRight:!1,enableMarginLeft:!1,enablePaddingRight:!1,enablePaddingLeft:!1,height:!1,width:!1,horizontalContentAlign:!1,verticalContentAlign:!1,modifyStyles:!1},"custom-css":{default:Object(_e.applyFilters)("stackable.separator.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(9),o=n(5);Object(o.addFilter)("stackable.icon-list.design.no-text-attributes","stackable/icon-list",function(e){return Object(r.omit)(e,["text"])});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM78.2 150.4l-10.6-10.6L110.3 97 67.6 54.2l10.6-10.6L131.5 97l-53.3 53.4z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=c.a.createElement("path",{d:"M59.4 177.5l82.4-82.4-82.4-82.3-10.6 10.6 71.8 71.7-71.8 71.8 10.6 10.6z"}),g=function(e){return c.a.createElement("svg",p({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=c.a.createElement("path",{d:"M73.1 65.3L104.8 97l-31.7 31.7 10.6 10.6L126 97 83.7 54.7z"}),h=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),v=function(e){return c.a.createElement("svg",d({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM76.6 144.7l-36.5-36.5 10.6-10.6 25.9 25.9 68.8-68.8L156 65.3l-79.4 79.4z"}),w=function(e){return c.a.createElement("svg",y({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=c.a.createElement("path",{d:"M173.8 28.4L60.4 141.8 15.7 97.2 5.1 107.8 60.4 163l124-124-10.6-10.6z"}),k=function(e){return c.a.createElement("svg",_({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=c.a.createElement("path",{d:"M79.4 112.4L60.7 93.7l-10.6 10.6 29.3 29.3 62.3-62.3-10.6-10.6z"}),E=c.a.createElement("path",{d:"M182.3 57.5c-7.2-17-19.3-31.5-34.4-41.8C132.7 5.5 114.4-.5 94.7-.5c-13.1 0-25.6 2.7-37 7.5-17 7.2-31.5 19.2-41.7 34.4C5.7 56.5-.3 74.8-.3 94.5c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8 15.2 10.2 33.5 16.2 53.1 16.2 13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1.1-13.1-2.6-25.6-7.4-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.6-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29-8.6-12.8-13.7-28.1-13.7-44.7 0-11.1 2.2-21.6 6.3-31.1C27.1 49 37.2 36.8 50 28.1c12.8-8.6 28.1-13.7 44.7-13.7 11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7.1 11.2-2.2 21.7-6.2 31.2z"}),S=function(e){return c.a.createElement("svg",C({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),x,E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm47.4 131.5l-10.6 10.6-36.5-36.5-36.5 36.5-10.6-10.6L86.6 97 50.1 60.5l10.6-10.6 36.5 36.5 36.5-36.5 10.6 10.6L107.8 97l36.5 36.5z"}),B=function(e){return c.a.createElement("svg",A({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=c.a.createElement("path",{d:"M167.2 33.4l-10.6-10.6-61.7 61.7-61.7-61.7-10.6 10.6 61.7 61.7-61.7 61.7 10.6 10.6 61.7-61.7 61.7 61.7 10.6-10.6-61.7-61.7z"}),M=function(e){return c.a.createElement("svg",P({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=c.a.createElement("path",{d:"M134.7 70.1l-10.6-10.6-26.9 26.9-26.8-26.9-10.7 10.6L86.6 97l-26.9 26.9 10.7 10.6 26.8-26.9 26.9 26.9 10.6-10.6L107.8 97z"}),D=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),z=function(e){return c.a.createElement("svg",R({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),F,D)};function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM151 104.5h-46.6v46.6h-15v-46.6H42.8v-15h46.6V42.9h15v46.6H151v15z"}),L=function(e){return c.a.createElement("svg",I({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),H)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var W=c.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),G=function(e){return c.a.createElement("svg",U({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),W)};function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var q=c.a.createElement("path",{d:"M104.5 55.4h-15v34.1H55.4v15h34.1v34.1h15v-34.1h34.1v-15h-34.1z"}),J=c.a.createElement("path",{d:"M184.5 60c-7.2-17-19.2-31.5-34.4-41.8C135 8 116.6 2 97 2 83.9 2 71.4 4.7 60 9.5c-17.1 7.2-31.6 19.3-41.8 34.4S2 77.4 2 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.3 192 97 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4C186 134.9 192 116.6 192 97c0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-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.3-14.3-6.1-26.6-16.2-35.2-29C22 129 17 113.6 17 97c0-11.1 2.2-21.6 6.3-31.1 6.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 14.3 6.1 26.6 16.2 35.2 29C171.9 65.1 177 80.4 177 97c0 11.1-2.2 21.6-6.3 31.1z"}),Y=function(e){return c.a.createElement("svg",V({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),q,J)};function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=c.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm37.8 150.1l-37.8-19.5-37.8 19.5 6.9-41.9-30.2-29.9 42-6.4 19.1-38 19.1 38 42 6.4-30.2 29.9 6.9 41.9z"}),$=function(e){return c.a.createElement("svg",X({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),K)};function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Q=c.a.createElement("path",{d:"M95.4 6.3l29.2 58 64.2 9.9-46.2 45.7 10.5 64.1-57.7-29.8L37.6 184l10.5-64.1L2 74.2l64.2-9.9z"}),ee=function(e){return c.a.createElement("svg",Z({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),Q)};function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ne=c.a.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.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.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 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),ae=c.a.createElement("path",{d:"M96.9 49.3L82.2 78.5l-32.3 5 23.2 23-5.3 32.2 29.1-15 29 15-5.2-32.2 23.2-23-32.3-5z"}),ie=function(e){return c.a.createElement("svg",te({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),ne,ae)},re=n(0),oe=n(1);function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(n,!0).forEach(function(t){se(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(k,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(w,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(S,{style:{fill:e}})},title:Object(re.__)("Check",oe.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(G,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(L,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Y,{style:{fill:e}})},title:Object(re.__)("Plus",oe.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(g,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(b,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(v,{style:{fill:e}})},title:Object(re.__)("Arrow",oe.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(M,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(B,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(z,{style:{fill:e}})},title:Object(re.__)("Cross",oe.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ee,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement($,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ie,{style:{fill:e}})},title:Object(re.__)("Star",oe.i18n),value:"star"}},be=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ue[e]?ue[e][be(t)]():null},me=function(e,t,n){var i=be(t);if(!ue[e])return"";var r=Object(a.ob)(ue[e][i](n),!1);return btoa(r)},ge=function(e){return["","circle","outline"].map(function(t){return ce({},ue[e],{icon:pe(e,t),value:t})})},de=n(8),fe=n.n(de),he=n(7);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=[{attributes:{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",default:""},gap:{type:"number",default:16},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,l=n.iconSize,c=n.text,s=n.columns,u=n.gap,b=n.design,p=void 0===b?"":b,m=fe()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(o.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},p,e)),g=fe()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(s)],Object(o.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},p,e)),d={"--icon":"url('data:image/svg+xml;base64,"+me(a,i,r)+"')","--icon-size":l?"".concat(l,"px"):void 0,"--gap":u?"".concat(u,"px"):void 0};return wp.element.createElement("div",{className:m},Object(o.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,p,e),wp.element.createElement(he.RichText.Content,{tagName:"ul",className:g,style:d,value:c}),Object(o.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/.ugb-icon-list-wrapper .ugb-icon-list li/g,".ugb-icon-list li").replace(/.ugb-icon-list-wrapper .ugb-icon-list/g,".ugb-icon-list ul").replace(/.ugb-icon-list-wrapper/g,".ugb-icon-list")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(n,!0).forEach(function(t){ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{columns:e.columns?e.columns:1,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{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}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,o=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=fe()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+me(a,i,r)+"')","--icon-size":o?"".concat(o,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(he.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}],we=n(10),_e=n(3),je=n(14),ke=n.n(je);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(n,!0).forEach(function(t){Ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Se=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,i=n.icon,r=n.iconShape,o=n.iconColor,l=n.iconSize,c=n.showBlockBackground,s=void 0===c?"":c,u=n.blockBackgroundBackgroundColor,b=void 0===u?"":u,p=n.listTextColor,m=void 0===p?"":p,g=me(i,r,Object(a.rb)(o,s&&b)),d=[];d.push({li:xe({},Object(a.H)("listText%s","desktop",e.attributes),{color:Object(a.rb)(m,s&&b)}),tablet:{li:xe({},Object(a.H)("listText%s","tablet",e.attributes))},mobile:{li:xe({},Object(a.H)("listText%s","mobile",e.attributes))}}),d.push({li:{"--icon-size":l?"".concat(l,"px"):void 0},"li::before":{height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),backgroundImage:"url('data:image/svg+xml;base64,"+g+"')"}}),d.push({li:{marginBottom:Object(a.c)(t("gap","%spx"))},"li ul":{marginBottom:Object(a.c)(t("gap","%spx"))}});var f=e.attributes.displayAsGrid,h=void 0!==f&&f,v=function(e){return t(e)?parseInt(t(e),10):1},y=function(e){return new Array(e+1).join("1fr ").trim()};return d.push({".ugb-icon-list ul":{columns:t("columns"),gridTemplateColumns:t("columns")&&h?y(v("columns")):void 0},tablet:{".ugb-icon-list ul":{columns:t("tabletColumns","%s !important"),gridTemplateColumns:t("tabletColumns")&&h?y(v("tabletColumns"))+" !important":void 0}},mobile:{".ugb-icon-list ul":{columns:t("mobileColumns","%s !important"),gridTemplateColumns:t("mobileColumns")&&h?y(v("mobileColumns"))+" !important":void 0}}}),ke.a.all(d)},Ae=n(11),Te=n(12),Be=n(6);Object(o.addFilter)("stackable.icon-list.edit.inspector.style.before","stackable/icon-list",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.icon,r=a.iconShape,o=a.iconColor,l=a.iconSize,c=a.gap,s=a.listTextColor,u=void 0===s?"":s,b=a.displayAsGrid,p=void 0!==b&&b,m=a.columns,g=void 0===m?"":m,d=a.tabletColumns,f=void 0===d?"":d,h=a.mobileColumns,v=void 0===h?"":h;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(Ae.PanelBody,{title:Object(re.__)("General",oe.i18n)},wp.element.createElement(_e.hb,{attrNameTemplate:"%sColumns",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(_e.c,{label:Object(re.__)("Columns",oe.i18n),min:1,max:4})),(g&&g>1||f&&f>1||v&&v>1)&&wp.element.createElement(Ae.ToggleControl,{label:Object(re.__)("Display as a grid (left to right & evenly spaced)",oe.i18n),checked:p,onChange:function(e){return n({displayAsGrid:e})},className:"ugb--help-tip-icon-list-grid"}),wp.element.createElement(_e.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Ae.PanelBody,{title:Object(re.__)("Icon",oe.i18n),initialOpen:!1},wp.element.createElement(_e.e,{label:Object(re.__)("Icon",oe.i18n),controls:Object.keys(ue).map(function(e){return ce({},ue[e],{icon:pe(e)})}),value:i,onChange:function(e){return n({icon:e})},fullwidth:!1}),wp.element.createElement(_e.e,{label:Object(re.__)("Icon Shape",oe.i18n),controls:ge(i),value:r,onChange:function(e){return n({iconShape:e})},fullwidth:!1}),wp.element.createElement(_e.s,{label:Object(re.__)("Icon Color",oe.i18n),value:o,onChange:function(e){return n({iconColor:e})}}),wp.element.createElement(_e.c,{label:Object(re.__)("Icon Size",oe.i18n),value:l,onChange:function(e){return n({iconSize:e})},min:8,max:50,allowReset:!0,placeholder:"20"})),wp.element.createElement(_e.cb,{title:Object(re.__)("List Text",oe.i18n),id:"text",initialOpen:!1},wp.element.createElement(_e.rb,{attrNameTemplate:"listText%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(_e.s,{value:u,onChange:function(e){return n({listTextColor:e})},label:Object(re.__)("Color",oe.i18n)})),wp.element.createElement(_e.db,{initialOpen:!1,blockProps:t},wp.element.createElement(_e.c,{label:Object(re.__)("List Gap",oe.i18n),value:c,onChange:function(e){return n({gap:e})},min:0,max:30,allowReset:!0,placeholder:"16",className:"ugb--help-tip-icon-list-gap"})))});var Pe=Object(Te.compose)(we.i,we.g,we.d,Object(we.h)(),Object(we.c)(),Object(we.a)(Se,{editorMode:!0}),Object(we.b)([["ul, ul li","text"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,i=a.icon,r=a.text,l=a.design,c=void 0===l?"":l,s=a.displayAsGrid,u=void 0!==s&&s,b=fe()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(i)],Object(o.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":u},c,e));return wp.element.createElement(_e.k.Edit,{className:b,blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement(he.RichText,{tagName:"ul",multiline:"li",value:r,onChange:function(e){return n({text:e})},placeholder:Object(re.__)("Text for this block",oe.i18n),keepPlaceholderOnFocus:!0}))}})}),Ne=Object(Te.compose)(we.i,Object(we.a)(Se))(function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.text,r=n.design,l=void 0===r?"":r,c=n.displayAsGrid,s=void 0!==c&&c,u=fe()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(a)],Object(o.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":s},l,e));return wp.element.createElement(_e.k.Save,{className:u,blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement(he.RichText.Content,{tagName:"ul",value:i}))}})});function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return Fe}),n.d(t,"name",function(){return De}),n.d(t,"settings",function(){return ze});var Fe=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach(function(t){Re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:2},tabletColumns:{type:"number",default:""},mobileColumns:{type:"number",default:""},text:{source:"html",selector:"ul",multiline:"li",default:Object(r.range)(1,7).map(function(e){return Object(re.sprintf)(Object(re.__)("Line %d",oe.i18n),e)}).map(function(e){return"<li>".concat(e,"</li>")}).join("")},displayAsGrid:{type:"boolean",default:!1},gap:{type:"number",default:16},listTextColor:{type:"string",default:""}},Object(a.G)("listText%s")),De="ugb/icon-list",ze={title:Object(re.__)("Icon List",oe.i18n),description:Object(re.__)("An unordered list with icons. You can use this as a list of features or benefits.",oe.i18n),icon:i.q,category:"common",keywords:[Object(re.__)("Icon List",oe.i18n),Object(re.__)("Stackable",oe.i18n)],attributes:Fe,supports:{inserter:!oe.disabledBlocks.includes(De)},deprecated:Oe,edit:Pe,save:Ne,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.icon-list.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blockquote.design.no-text-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])});var r=n(4),o=n.n(r);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=o.a.createElement("path",{d:"M22.3 30.5c0 6-4.8 10.8-10.8 10.8-2.3 0-4.5-.8-6.3-2-.9-.6-1.8-1.4-2.5-2.4-1.8-2.4-2.7-5.4-2.7-9 0-4.5 1.3-8.5 4-11.9 2.7-3.4 6.4-5.8 11.1-7.3v2.8c-2.7 2.2-4.4 5-4.9 8.3.4-.1.9-.1 1.3-.1 6-.1 10.8 4.8 10.8 10.8zm16.9-10.9c-.5 0-.9 0-1.3.1.5-3.3 2.2-6.1 4.9-8.3V8.7c-4.7 1.4-8.4 3.9-11.1 7.3-2.7 3.4-4 7.4-4 11.9 0 3.6.9 6.6 2.7 9 .8 1 1.6 1.8 2.5 2.4 1.8 1.3 3.9 2 6.3 2 6 0 10.8-4.8 10.8-10.8 0-6-4.8-10.9-10.8-10.9z"}),s=function(e){return o.a.createElement("svg",l({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),c)};function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=o.a.createElement("path",{d:"M9.4 14.6c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.3.9 7.3 2.7 2 1.8 3 4.2 3 7.3 0 1.9-.5 3.6-1.4 5.1-.9 1.5-2.2 2.7-3.8 3.6s-3.3 1.3-5.1 1.3c-4.1 0-7.3-1.6-9.5-4.9C.9 36.9 0 33.5 0 29.4c0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.3 1.3-6.2 3.5-8.7 6.4zm27.5 0c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.4.9 7.4 2.7 2 1.8 3 4.2 3 7.3 0 2.8-1 5.2-3 7.1-2 1.9-4.4 2.9-7.3 2.9-4.1 0-7.3-1.6-9.5-4.9-1.8-2.7-2.8-6.2-2.8-10.3 0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.5 1.2-6.4 3.4-8.8 6.3z"}),p=function(e){return o.a.createElement("svg",u({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=o.a.createElement("path",{d:"M22.6 12.8c-1.9.5-3.7 1.2-5.3 2.1-1.6.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.3 1.8.8 0 1.5-.3 2.4-.9.8-.6 1.9-.9 3.3-.9 2.1 0 3.9.8 5.4 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-1.9 1.8-4.3 2.6-7.3 2.6-1.8 0-3.4-.4-4.9-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.6-4.6C.3 32.5 0 30.6 0 28.6c0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.6-1.8 8.6-2v5.8zm27.4 0c-1.9.5-3.7 1.2-5.4 2.1-1.7.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.4 1.8.8 0 1.5-.3 2.3-.9.8-.6 1.9-.9 3.3-.9 2 0 3.8.8 5.3 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-2 1.8-4.4 2.6-7.3 2.6-1.7 0-3.3-.4-4.8-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.7-4.6c-.7-1.8-1-3.7-1-5.7 0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.7-1.8 8.8-2v5.7z"}),d=function(e){return o.a.createElement("svg",m({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=o.a.createElement("path",{d:"M19.8 9.3C10.5 11.8 4.6 17 2.1 24.8c2.3-3.6 5.6-5.4 9.9-5.4 3.3 0 6 1.1 8.3 3.3 2.2 2.2 3.4 5 3.4 8.3 0 3.2-1.1 5.8-3.3 8-2.2 2.2-5.1 3.2-8.7 3.2-3.7 0-6.5-1.2-8.6-3.5C1 36.3 0 33.1 0 29 0 18.3 6.5 11.2 19.6 7.9l.2 1.4zm26.4 0C36.9 11.9 31 17 28.5 24.8c2.2-3.6 5.5-5.4 9.8-5.4 3.2 0 6 1.1 8.3 3.2 2.3 2.2 3.4 4.9 3.4 8.3 0 3.1-1.1 5.8-3.3 7.9-2.2 2.2-5.1 3.3-8.6 3.3-3.7 0-6.6-1.1-8.6-3.4-2.1-2.3-3.1-5.5-3.1-9.7 0-10.7 6.6-17.8 19.7-21.1l.1 1.4z"}),v=function(e){return o.a.createElement("svg",f({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=o.a.createElement("path",{d:"M12.5 9.2H19c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H20c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H3c-1.1 0-1.8-.2-2.3-.7-.5-.4-.7-1.2-.7-2.2V21.9c0-4.3 1.1-7.4 3.4-9.6 2.3-2 5.3-3.1 9.1-3.1zm26.9 0h6.5c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H47c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H30c-1.1 0-1.8-.2-2.3-.7-.5-.5-.7-1.2-.7-2.3V21.9c0-4.3 1.1-7.4 3.4-9.6 2.2-2 5.2-3.1 9-3.1z"}),w=function(e){return o.a.createElement("svg",y({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=o.a.createElement("path",{d:"M20.8 44.5H0V23.7L9.3 5.5h7.3L12 23.7h8.8v20.8zm29.2 0H29.2V23.7l9.3-18.1h7.3l-4.6 18.1H50v20.8z"}),k=function(e){return o.a.createElement("svg",_({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=o.a.createElement("path",{d:"M10.3 24.8V26H20v16.9H0V26.2C0 13.4 6.6 7.1 19.9 7.1v7.1c-3.4.5-5.9 1.6-7.4 3.3-1.5 1.7-2.2 4.1-2.2 7.3zm30 0V26H50v16.9H30.1V26.2c0-12.7 6.6-19.1 19.9-19.1v7.1c-6.4.7-9.7 4.3-9.7 10.6z"}),E=function(e){return o.a.createElement("svg",C({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var A=o.a.createElement("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}),T=function(e){return o.a.createElement("svg",S({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),A)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=o.a.createElement("path",{d:"M14.7 45.9H0V31.3C0 17.6 8.6 6.6 21.6 4.1v4.7c-10 2.6-16.7 10.9-16.7 22.6h9.8v14.5zm28.1 0H28.4V31.3C28.4 17.6 37 6.6 50 4.1v4.7c-9.8 2.6-16.7 10.9-16.7 22.6h9.5v14.5z"}),N=function(e){return o.a.createElement("svg",B({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),P)},M=n(1),R=n(0);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(p,F({style:e},t))},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(v,F({style:e},t))},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(d,F({style:e},t))},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(s,F({style:e},t))},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(E,F({style:e},t))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(w,F({style:e},t))},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(k,F({style:e},t))},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(T,F({style:e},t))},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(N,F({style:e},t))},q={"round-thin":{icon:z(),iconFunc:z,title:Object(R.__)("Round Thin",M.i18n),value:"round-thin"},round:{icon:D(),iconFunc:D,title:Object(R.__)("Round",M.i18n),value:"round"},"round-thick":{icon:I(),iconFunc:I,title:Object(R.__)("Round Thick",M.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(R.__)("Round Fat",M.i18n),value:"round-fat"},"square-thin":{icon:V(),iconFunc:V,title:Object(R.__)("Square Thin",M.i18n),value:"square-thin"},square:{icon:L(),iconFunc:L,title:Object(R.__)("Square",M.i18n),value:"square"},"square-simple":{icon:G(),iconFunc:G,title:Object(R.__)("Square Simple",M.i18n),value:"square-simple"},"square-modern":{icon:W(),iconFunc:W,title:Object(R.__)("Square Modern",M.i18n),value:"square-modern"},"square-fat":{icon:U(),iconFunc:U,title:Object(R.__)("Square Fat",M.i18n),value:"square-fat"}},J=n(2),Y=n(7),X=n(8),K=n.n(X);function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ee=[{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(J.J)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=K()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after_1_17_3",null,E,e))},migrate:function(e){var t=function(t){var n=(t||"").replace(/\.ugb-content-wrapper/g,".ugb-blockquote__item").replace(/svg(\s*\{)/g,".ugb-blockquote__quote$1");return"basic"===e.design&&(n=n.replace(/\.ugb-blockquote(\s*\{)/g,".ugb-blockquote__item$1")),n};return Z({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),showQuote:!0,quoteIcon:e.quotationMark,quoteSize:e.quotationSize,textColor:e.color?e.color:e.backgroundColor?"#000000":void 0,containerBackgroundColorType:e.backgroundColorType,containerBackgroundColor:e.backgroundColor,containerBackgroundColor2:e.backgroundColor2,containerBackgroundGradientDirection:e.backgroundColorDirection,containerBackgroundMediaId:e.backgroundImageID,containerBackgroundMediaUrl:e.backgroundImageURL,containerBackgroundTintStrength:e.backgroundOpacity,containerFixedBackground:e.fixedBackground,design:"basic"===e.design&&"full"===e.align?"plain":e.design,showBlockBackground:"basic"===e.design&&"full"===e.align||void 0,blockInnerWidth:"full"!==e.align?void 0:"basic"===e.design&&!0===e.contentWidth?"center":"full",blockBackgroundBackgroundColor:"basic"===e.design&&"full"===e.align?e.backgroundColor:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(J.J)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=K()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}}],te=n(260),ne=n.n(te),ae=n(261),ie=n.n(ae),re=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(i.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},oe=n(14),le=n.n(oe);function ce(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){var t=Object(J.b)(e.attributes),n=re(e),a=[];a.push(ue({},n.containerBackground?Object(J.l)("container%s","ugb-blockquote__item",e.attributes,{importantBackgroundColor:!0}):{})),n.containerBackground&&a.push({".ugb-blockquote__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}});var i=e.attributes.showQuote;(void 0===i||i)&&(a.push({".ugb-blockquote__quote":{fill:Object(J.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,!0))),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,!0))));var r=e.attributes,o=r.containerBackgroundColor,l=void 0===o?"":o,c=r.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":ue({},Object(J.H)("text%s","desktop",e.attributes,{important:!0}),{color:Object(J.rb)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":ue({},Object(J.H)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":ue({},Object(J.H)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,ce(Object(J.C)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,!0))),le.a.all(a)},me=n(3),ge=n(10),de=n(11),fe=n(6),he=n(12);function ve(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.blockquote.edit.inspector.layout.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(me.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(R.__)("Basic",M.i18n),value:"basic",image:ne.a},{label:Object(R.__)("Plain",M.i18n),value:"plain",image:ie.a}]),onChange:function(e){return n({design:e})}},M.showProNotice&&wp.element.createElement(me.gb,null)))}),Object(i.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,r=void 0===i?"":i,o=a.shadow,l=void 0===o?"":o,c=a.showQuote,s=void 0===c||c,u=a.quoteIcon,b=void 0===u?"round-thin":u,p=a.quoteColor,m=void 0===p?"":p,g=a.quoteOpacity,d=void 0===g?"":g,f=a.textColor,h=void 0===f?"":f,v=re(t);return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(de.PanelBody,{title:Object(R.__)("General",M.i18n)},v.borderRadius&&wp.element.createElement(me.c,{label:Object(R.__)("Border Radius",M.i18n),value:r,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),v.shadow&&wp.element.createElement(me.c,{label:Object(R.__)("Shadow / Outline",M.i18n),value:l,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(me.u,{setAttributes:n,blockAttributes:t.attributes})),v.containerBackground&&wp.element.createElement(me.cb,{title:Object(R.__)("Container Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(me.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(me.cb,{title:Object(R.__)("Quotation Mark",M.i18n),id:"quotation",checked:s,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(ve(Object(J.z)("quote%sSize")),ve(Object(J.z)("quote%sX")),ve(Object(J.z)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(me.e,{label:Object(R.__)("Icon",M.i18n),multiline:!0,className:"ugb-blockquote__inspector__icon",controls:Object.values(q),value:b,onChange:function(e){return n({quoteIcon:e})}}),wp.element.createElement(me.s,{value:m,onChange:function(e){return n({quoteColor:e})},label:Object(R.__)("Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Size",M.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(me.c,{label:Object(R.__)("Opacity",M.i18n),value:d,onChange:function(e){return n({quoteOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Horizontal Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Vertical Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(me.cb,{title:Object(R.__)("Text",M.i18n),id:"text",hasToggle:!1},wp.element.createElement(me.rb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(me.s,{value:h,onChange:function(e){return n({textColor:e})},label:Object(R.__)("Text Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.f,{label:Object(R.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))))});var ye=Object(he.compose)(ge.i,ge.g,ge.d,Object(ge.h)(),Object(ge.c)(["Text%sAlign"]),Object(ge.a)(pe,{editorMode:!0}),Object(ge.b)([[".ugb-blockquote__item","column-background"],[".ugb-blockquote__quote","quotation"],[".ugb-blockquote__text","text"]]))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.blockTag,s=void 0===c?"":c,u=l.design,b=void 0===u?"plain":u,p=l.shadow,m=void 0===p?"":p,g=l.text,d=void 0===g?"":g,f=l.showQuote,h=void 0===f||f,v=l.quoteIcon,y=void 0===v?"round-thin":v,O=l.quoteSize,w=void 0===O?70:O,_=re(e),j=K()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(b)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},b,e)),k=K()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(m),a=_.containerBackground&&""!==m,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Edit,{blockTag:s||"blockquote",className:j,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:k,backgroundAttrName:"container%s",blockProps:e,showBackground:_.containerBackground},h&&q[y].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText,{className:"ugb-blockquote__text",value:d,onChange:function(e){return o({text:e})},placeholder:Object(J.J)("long"),keepPlaceholderOnFocus:!0}))))}})});var Oe=Object(he.compose)(ge.i,Object(ge.a)(pe))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.blockTag,c=void 0===l?"":l,s=o.design,u=void 0===s?"plain":s,b=o.shadow,p=void 0===b?"":b,m=o.text,g=void 0===m?"":m,d=o.showQuote,f=void 0===d||d,h=o.quoteIcon,v=void 0===h?"round-thin":h,y=o.quoteSize,O=void 0===y?70:y,w=re(e),_=K()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":O<60},u,e)),j=K()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(p),a=w.containerBackground&&""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Save,{blockTag:c||"blockquote",className:_,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:j,backgroundAttrName:"container%s",blockProps:e,showBackground:w.containerBackground},f&&q[v].iconFunc({},{className:"ugb-blockquote__quote",width:O,height:O}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:g}))))}})}),we=n(16);function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return Ce}),n.d(t,"settings",function(){return xe});var ke=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(J.j)("container%s"),{showQuote:{type:"boolean",default:!0},quoteIcon:{type:"string",default:"round-thin"},quoteOpacity:{type:"number",default:""},quoteColor:{type:"string",default:""},quoteSize:{type:"number",default:70}},Object(J.h)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(J.J)("long")}},Object(J.G)("text%s"),{textColor:{type:"string",default:""}},Object(J.A)("text%sAlign",{type:"string",default:""})),Ce="ugb/blockquote",xe={title:Object(R.__)("Blockquote",M.i18n),description:Object(R.__)("Display a quote in style.",M.i18n),icon:we.b,category:"common",keywords:[Object(R.__)("Blockquote",M.i18n),Object(R.__)("Stackable",M.i18n)],supports:{align:["center","wide","full"],inserter:!M.disabledBlocks.includes(Ce)},attributes:ke,deprecated:ee,edit:ye,save:Oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.video-popup.design.filtered-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,["videoLink","videoID","video-popup3","previewBackgroundMediaId"].concat(l(t&&t.previewBackgroundMediaId?["previewBackgroundMediaUrl"]:[])))});var c=n(4),s=n.n(c);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=s.a.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"}),p=function(e){return s.a.createElement("svg",u({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),d=function(e){return s.a.createElement("svg",m({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=s.a.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"}),v=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),y=function(e){return s.a.createElement("svg",f({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),h,v)},O=n(0),w=n(1),_={normal:function(e){return wp.element.createElement(d,{style:e,width:"30",height:"30"})},circle:function(e){return wp.element.createElement(p,{style:e,width:"50",height:"50"})},outline:function(e){return wp.element.createElement(y,{style:e,width:"50",height:"50"})}},j=(Object(O.__)("Normal Play Button",w.i18n),Object(O.__)("Play Button with Circle",w.i18n),Object(O.__)("Outline Play Button",w.i18n),n(8)),k=n.n(j);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=[{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.videoID,r=a.playButtonType,l=a.playButtonColor,c=void 0===l?"#ffffff":l,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,p=a.backgroundColor,m=a.backgroundColor2,g=a.backgroundColorDirection,d=void 0===g?0:g,f=a.backgroundType,h=void 0===f?"":f,v=a.backgroundOpacity,y=a.design,O=void 0===y?"basic":y,w=a.borderRadius,j=void 0===w?12:w,C=a.shadow,E=void 0===C?3:C,S=k()([n,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(O),"ugb-video-popup--button-".concat(r),"ugb--background-opacity-"+1*Math.round(v/1)],Object(o.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(x(t={"ugb--has-background":p||s,"ugb--has-background-image":s},"ugb--shadow-".concat(E),"plain"!==O&&3!==E),x(t,"ugb--has-background-gradient","gradient"===b),x(t,"ugb--has-background-video","video"===h),t),O,e)),A={backgroundColor:p||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?p:void 0,"--ugb-background-color2":"gradient"===b&&m?m:void 0,"--ugb-background-direction":"gradient"===b?"".concat(d,"deg"):void 0,borderRadius:"plain"!==O&&12!==j?j:void 0};return wp.element.createElement("div",{className:S,style:A,"data-video":i},"video"===h&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(o.applyFilters)("stackable.video-popup.save.output.before_1_15_6",null,O,e),wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _[e]({fill:t})}(r,c))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{previewBackgroundColorType:e.backgroundColorType,previewBackgroundColor:e.backgroundColor,previewBackgroundColor2:e.backgroundColor2,previewBackgroundGradientDirection:e.backgroundColorDirection,previewBackgroundMediaId:e.backgroundImageID,previewBackgroundMediaUrl:e.backgroundImageURL,previewBackgroundTintStrength:e.backgroundOpacity,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],S=n(3);function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=s.a.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"}),B=function(e){return s.a.createElement("svg",A({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),M=function(e){return s.a.createElement("svg",P({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=s.a.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"}),D=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),z=function(e){return s.a.createElement("svg",R({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),F,D)},I={normal:wp.element.createElement(M,{className:"ugb-play-button-normal",width:"30",height:"30"}),circle:wp.element.createElement(B,{className:"ugb-play-button-cirle",width:"50",height:"50"}),outline:wp.element.createElement(z,{className:"ugb-play-button-outline",width:"50",height:"50"})},H=[{value:"normal",label:Object(O.__)("Normal Play Button",w.i18n)},{value:"circle",label:Object(O.__)("Play Button with Circle",w.i18n)},{value:"outline",label:Object(O.__)("Outline Play Button",w.i18n)}],L=function(e){return I[e]},U=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,i=t.blockInnerWidth,r=void 0===i?"":i,l=t.align,c=!a&&"full"===(void 0===l?"":l)||a&&"full"===r;return Object(o.applyFilters)("stackable.video-popup.show",{containerWidth:!c,borderRadius:!c},e)},W=n(10),G=n(14),V=n.n(G);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e){var t=Object(i.b)(e.attributes),n=U(e);!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e.attributes);var a=[];n.containerWidth&&a.push({".ugb-video-popup__wrapper":{maxWidth:""!==t("width")?t("width","%spx"):void 0},tablet:{".ugb-video-popup__wrapper":{maxWidth:""!==t("tabletWidth")?t("tabletWidth","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{maxWidth:""!==t("mobileWidth")?t("mobileWidth","%spx"):void 0}}}),a.push({".ugb-video-popup__wrapper":{height:""!==t("height")?t("height","%spx !important"):void 0,borderRadius:n.borderRadius&&""!==t("borderRadius")?t("borderRadius","%spx"):void 0},".ugb-video-popup__play-button svg":{fill:""!==t("playButtonColor")?t("playButtonColor","%s !important"):void 0,height:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,width:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,opacity:""!==t("playButtonOpacity")?t("playButtonOpacity"):void 0},tablet:{".ugb-video-popup__wrapper":{height:""!==t("tabletHeight")?t("tabletHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0,width:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{height:""!==t("mobileHeight")?t("mobileHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0,width:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0}}}),a.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach(function(t){J(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(i.l)("preview%s","ugb-video-popup__wrapper",e.attributes)));var r=e.attributes,o=r.previewBackgroundTintStrength,l=void 0===o?"":o,c=r.previewBackgroundColor,s=void 0===c?"":c;return(l||s)&&a.push({".ugb-video-popup__wrapper:hover:before":{opacity:s&&""===l?.2:l>=5?l/10-.3:l/10+.3}}),V.a.all(a)},X=n(11),K=n(12),$=n(6);Object(o.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,o=void 0===r?"":r,l=a.shadow,c=void 0===l?"":l,s=a.videoLink,u=void 0===s?"":s,b=a.videoID,p=void 0===b?"":b,m=a.playButtonType,g=a.playButtonColor,d=void 0===g?"#ffffff":g,f=a.playButtonOpacity,h=void 0===f?"":f,v=a.width,y=void 0===v?"":v,_=a.tabletWidth,j=void 0===_?"":_,k=a.mobileWidth,C=void 0===k?"":k,x=a.showBlockTitle,E=void 0!==x&&x,A=a.showBlockDescription,T=void 0!==A&&A,B=U(t);return wp.element.createElement($.Fragment,null,e,wp.element.createElement(X.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(S.S,{label:Object(O.__)("Popup Option #1: Upload Video",w.i18n),help:Object(O.__)("Use .mp4 format for videos",w.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(i.pb)(u)?p:"",imageURL:Object(i.pb)(u)?u:"",allowedTypes:["video"]}),wp.element.createElement(X.TextControl,{label:Object(O.__)("Popup Option #2: Video URL",w.i18n),help:Object(O.__)("Paste a Youtube / Vimeo URL",w.i18n),placeholder:"https://",value:Object(i.pb)(u)?"":u,onChange:function(e){return n({videoLink:e,videoID:Object(i.U)(e).id})},min:1,max:4})),wp.element.createElement(S.cb,{title:Object(O.__)("Container",w.i18n),initialOpen:!1},B.containerWidth&&wp.element.createElement($.Fragment,null,wp.element.createElement(S.ub,{screen:"desktop"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:y,min:"200",max:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"tablet"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:j,min:"200",max:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"mobile"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:C,min:"200",max:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})},className:"ugb--help-tip-video-popup-width"}))),wp.element.createElement(S.hb,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Height",w.i18n),min:100,max:1e3,allowReset:!0,placeholder:"400",className:"ugb--help-tip-video-popup-height"})),B.borderRadius&&wp.element.createElement(S.c,{label:Object(O.__)("Border Radius",w.i18n),value:o,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),wp.element.createElement(S.c,{label:Object(O.__)("Shadow / Outline",w.i18n),value:c,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"})),wp.element.createElement(S.cb,{title:Object(O.__)("Background",w.i18n),id:"background",initialOpen:!1},wp.element.createElement(S.h,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(S.cb,{title:Object(O.__)("Play Button",w.i18n),id:"play-button",initialOpen:!1},wp.element.createElement(X.SelectControl,{label:Object(O.__)("Button Style",w.i18n),value:m,options:H.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(S.hb,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Size",w.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(S.s,{label:Object(O.__)("Color",w.i18n),value:d,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(S.c,{label:Object(O.__)("Opacity",w.i18n),min:0,max:1,step:.1,value:h,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||T)&&wp.element.createElement(S.db,{initialOpen:!1,blockProps:t}))});var Z=Object(K.compose)(W.i,W.g,W.d,Object(W.h)(),Object(W.a)(Y,{editorMode:!0}),Object(W.b)([[".ugb-video-popup__wrapper","background"],[".ugb-video-popup__play-button svg","play-button"]]))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.playButtonType,c=r.shadow,s=void 0===c?"":c,u=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),b=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(s),a=""!==s,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement($.Fragment,null,wp.element.createElement(S.D,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(l))))}})});var Q=Object(K.compose)(W.i,Object(W.a)(Y))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.videoID,c=r.playButtonType,s=r.shadow,u=void 0===s?"":s,b=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),p=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(u),a=""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement($.Fragment,null,wp.element.createElement(S.D,{className:p,backgroundAttrName:"preview%s",blockProps:e,"data-video":l},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(c))))}})});function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ne}),n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return ie});var ne=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video"}},Object(i.A)("%sWidth",{type:"number",default:""}),{},Object(i.A)("%sHeight",{type:"number",default:""}),{borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string"},playButtonSize:{type:"number",default:""},playButtonOpacity:{type:"number",default:""}},Object(i.j)("preview%s"),{previewBackgroundColor:{type:"string",default:"#000000"},hoverEffect:{type:"string",default:""}}),ae="ugb/video-popup",ie={title:Object(O.__)("Video Popup",w.i18n),description:Object(O.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",w.i18n),icon:a.E,category:"common",keywords:[Object(O.__)("Video Popup",w.i18n),Object(O.__)("Stackable",w.i18n),Object(O.__)("YouTube Vimeo mp4",w.i18n)],attributes:ne,supports:{align:["center","wide","full"],inserter:!w.disabledBlocks.includes(ae)},deprecated:E,edit:Z,save:Q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.video-popup.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(i.addFilter)("stackable.accordion.design.no-text-attributes","stackable/accordion",function(e){return Object(a.omit)(e,["title"])}),Object(i.addFilter)("stackable.accordion.edit.designs","stackable/accordion",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e)});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),u)},p=n(2),m=n(8),g=n.n(m),d=n(1),f=n(0),h=n(17),v=n(7);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:Object(f.__)("Title for This Block",d.i18n)},text:{source:"html",selector:".ugb-accordion__text",default:Object(p.J)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n,a=e.className,r=e.attributes,o=r.headingColor,l=r.headingBackgroundColor,c=r.heading,s=r.text,u=r.openStart,p=r.design,m=void 0===p?"basic":p,d=r.borderRadius,f=void 0===d?12:d,h=r.shadow,y=void 0===h?3:h,w=g()([a,"ugb-accordion"],Object(i.applyFilters)("stackable.accordion.mainclasses_1_17_3",(O(t={},"ugb-accordion--design-".concat(m),"basic"!==m),O(t,"ugb-accordion--open",u),t),m,e)),_=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses_1_17_3",O({},"ugb--shadow-".concat(y),"plain"!==m&&3!==y),m,e)),j=Object(i.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==m&&12!==f?f:void 0,backgroundColor:"plain"!==m&&l?l:void 0},title:{color:o||void 0}},m,e);return wp.element.createElement("div",{className:w,style:j.main,role:"presentation"},Object(i.applyFilters)("stackable.accordion.save.output.before_1_17_3",null,m,e),wp.element.createElement("div",{className:_,role:"button",tabIndex:"0","aria-expanded":u?"true":"false",style:j.heading},wp.element.createElement(v.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",style:j.title,value:c}),(n={fill:o||void 0}.fill,wp.element.createElement(b,{width:"20",height:"20",fill:n}))),wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",value:s}),Object(i.applyFilters)("stackable.accordion.save.output.after",null,m,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-accordion__heading h4(\s*{)/g,"\n.ugb-accordion__title$1").replace(/\.ugb-accordion__text/g,".ugb-accordion__content").replace(/\.ugb-accordion__heading svg/g,".ugb-accordion__arrow")};return[function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.heading,titleColor:e.headingColor||"#222222",containerBackgroundColor:e.headingBackgroundColor,showBorder:"plain"!==e.design,containerClosedBackgroundColor:"colored"===e.design?"#ffffff":void 0,arrowColor:"colored"===e.design||"basic"===e.design||"plain"===e.design?e.headingColor||"#222222":"line-colored"===e.design?e.headingBackgroundColor:void 0}),[Object(h.createBlock)("core/paragraph",{content:e.text})]]}}],_=n(258),j=n.n(_),k=n(259),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,o=void 0===r||r;return Object(i.applyFilters)("stackable.accordion.show",{headerBackground:"basic"===a,containerBackground:"colored"===a||"line-colored"===a,borderRadius:"plain"!==a,shadow:"plain"!==a,border:"line-colored"===a||"plain"===a,titleSpacing:o},e)},E=n(14),S=n.n(E);function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(e){var t=Object(p.b)(e.attributes),n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.reverseArrow,o=void 0!==r&&r,l=x(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:o?"row-reverse":void 0}}),l.borderRadius&&"basic"===i&&c.push({".ugb-accordion__heading":{borderRadius:t("borderRadius","%spx !important")}});c.push(B({},l.headerBackground?Object(p.l)("container%s","ugb-accordion__heading",e.attributes,{importantBackgroundColor:!0}):{}));var s=e.attributes,u=s.titleColor,b=void 0===u?"":u,m=s.showTitle;(void 0===m||m)&&c.push({".ugb-accordion__title":B({},Object(p.H)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-accordion__title":B({},Object(p.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-accordion__title":B({},Object(p.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes.containerBackgroundColor,d=void 0===g?"":g;"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__title":{color:Object(p.rb)(b,l.headerBackground&&d)}});var f=e.attributes,h=f.showArrow,v=void 0===h||h,y=f.arrowColor,O=void 0===y?"":y;v&&c.push({".ugb-accordion__arrow":{width:Object(p.c)(t("arrowSize","%spx")),height:Object(p.c)(t("arrowSize","%spx"))}}),!v||"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__arrow":{fill:Object(p.rb)(O,l.headerBackground&&d)}});var w=e.attributes.showBorder,_=void 0===w||w;return l.border&&!_&&c.push({".ugb-accordion__item":{border:"none !important"}}),l.border&&_&&c.push({".ugb-accordion__item":{borderWidth:Object(p.c)(t("borderSize","%spx")),borderColor:Object(p.c)(t("borderColor"))}}),l.headerBackground&&c.push({".ugb-accordion__heading":{paddingTop:Object(p.c)(t("containerPaddingTop","%spx")),paddingRight:Object(p.c)(t("containerPaddingRight","%spx")),paddingBottom:Object(p.c)(t("containerPaddingBottom","%spx")),paddingLeft:Object(p.c)(t("containerPaddingLeft","%spx"))}}),l.titleSpacing&&c.push.apply(c,A(Object(p.C)(".ugb-accordion.ugb-accordion--open .ugb-accordion__heading","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),S.a.all(c)};function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),F=function(e){return c.a.createElement("svg",M({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),R)},D=n(3),z=n(10),I=n(11),H=n(12),L=n(6),U=n(13);Object(i.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(D.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(f.__)("Basic",d.i18n),value:"basic",image:j.a},{label:Object(f.__)("Plain",d.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},d.showProNotice&&wp.element.createElement(D.gb,null)))}),Object(i.addFilter)("stackable.accordion.edit.inspector.style.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.design,r=void 0===i?"basic":i,o=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,p=void 0!==b&&b,m=a.openStart,g=void 0!==m&&m,h=a.reverseArrow,v=void 0!==h&&h,y=a.titleTag,O=void 0===y?"":y,w=a.showArrow,_=void 0===w||w,j=a.arrowSize,k=void 0===j?"":j,C=a.arrowColor,E=void 0===C?"":C,S=a.showBorder,A=void 0===S||S,T=a.borderSize,B=void 0===T?"":T,P=a.borderColor,N=void 0===P?"":P,M=a.containerPaddingTop,R=void 0===M?"":M,F=a.containerPaddingRight,z=void 0===F?"":F,H=a.containerPaddingBottom,U=void 0===H?"":H,W=a.containerPaddingLeft,G=void 0===W?"":W,V=a.containerClosedBackgroundColor,q=void 0===V?"":V,J=x(t);return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(I.PanelBody,{title:Object(f.__)("General",d.i18n)},wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Close adjacent on open",d.i18n),checked:p,onChange:function(e){return n({onlyOnePanelOpen:e})},className:"ugb--help-tip-accordion-adjacent-open"}),wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Open at the start",d.i18n),checked:g,onChange:function(e){return n({openStart:e})}}),wp.element.createElement(I.ToggleControl,{label:Object(f.__)("Reverse arrow",d.i18n),checked:v,onChange:function(e){return n({reverseArrow:e})}}),J.borderRadius&&wp.element.createElement(D.c,{label:Object(f.__)("Border Radius",d.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.c,{label:Object(f.__)("Shadow / Outline",d.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(D.u,{setAttributes:n,blockAttributes:t.attributes})),(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.cb,{title:Object(f.__)("Container Background",d.i18n),id:"column-background",initialOpen:!1},wp.element.createElement(D.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===r&&wp.element.createElement(D.s,{value:q,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(f.__)("Closed State Background Color",d.i18n),className:"ugb--help-tip-accordion-closed-state-background-color"})),wp.element.createElement(D.cb,{title:Object(f.__)("Title",d.i18n),id:"title",hasToggle:!1},wp.element.createElement(D.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(D.J,{value:O||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(D.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(f.__)("Title Color",d.i18n)}),wp.element.createElement(D.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(D.f,{label:Object(f.__)("Align",d.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(D.cb,{title:Object(f.__)("Arrow",d.i18n),id:"arrow",checked:_,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowSize","arrowColor"],toggleAttributeName:"showArrow"},wp.element.createElement(D.c,{label:Object(f.__)("Size",d.i18n),min:10,max:100,allowReset:!0,value:k,onChange:function(e){return n({arrowSize:e})},placeholder:"20"}),wp.element.createElement(D.s,{value:E,onChange:function(e){return n({arrowColor:e})},label:Object(f.__)("Color",d.i18n)})),J.border&&wp.element.createElement(D.cb,{title:Object(f.__)("Border",d.i18n),checked:A,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder",className:"ugb--help-tip-accordion-border"},wp.element.createElement(D.c,{label:Object(f.__)("Size",d.i18n),min:0,max:10,allowReset:!0,value:B,onChange:function(e){return n({borderSize:e})},placeholder:"3",className:"ugb--help-tip-accordion-border-size"}),wp.element.createElement(D.s,{value:N,onChange:function(e){return n({borderColor:e})},label:Object(f.__)("Color",d.i18n)})),wp.element.createElement(D.db,{initialOpen:!1,blockProps:t},(J.headerBackground||J.containerBackground)&&wp.element.createElement(D.H,{label:Object(f.__)("Padding",d.i18n),top:R,right:z,bottom:U,left:G,onChange:function(e){return n({containerPaddingTop:e.top,containerPaddingRight:e.right,containerPaddingBottom:e.bottom,containerPaddingLeft:e.left})},max:200,className:"ugb--help-tip-accordion-padding"}),J.titleSpacing&&wp.element.createElement(D.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(D.c,{label:Object(f.__)("Title",d.i18n),min:-50,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-accordion-title-spacing"}))))});var W=[["core/paragraph",{content:Object(p.J)("long")}]],G=Object(H.compose)(z.i,z.g,z.d,Object(z.h)(),Object(z.c)(),Object(z.a)(N,{editorMode:!0}),Object(z.b)([[".ugb-accordion__title","title"],[".ugb-accordion__arrow","arrow"]]),Object(U.withSelect)(function(e,t){var n=t.clientId,a=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length)}}),Object(H.withState)({openTimeout:null,isOpen:null}))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,p=l.titleTag,m=void 0===p?"":p,h=l.title,y=void 0===h?"":h,O=l.openStart,w=void 0!==O&&O,_=l.showArrow,j=void 0===_||_,k=x(e),C=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(s)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":null===e.isOpen?w:e.isOpen},e)),E=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),S=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(b),a="basic"===s&&""!==b,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),s,e));return wp.element.createElement(D.k.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(D.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(D.D,{className:S,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,onClick:function(){e.openTimeout&&clearTimeout(e.openTimeout);var t=setTimeout(function(){e.setState({isOpen:!e.isOpen})},150);e.setState({openTimeout:t})},onDoubleClick:function(){e.openTimeout&&clearTimeout(e.openTimeout)},onKeyPress:function(){e.openTimeout&&clearTimeout(e.openTimeout),e.setState({isOpen:!w})},role:"button",tabIndex:"0"},wp.element.createElement(v.RichText,{tagName:m||"h4",className:"ugb-accordion__title",value:y,onChange:function(e){return o({title:e})},placeholder:Object(f.__)("Title for This Block",d.i18n),keepPlaceholderOnFocus:!0}),j&&wp.element.createElement(F,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks,{template:W,renderAppender:function(){return e.hasInnerBlocks?wp.element.createElement(v.InnerBlocks.DefaultBlockAppender,null):wp.element.createElement(v.InnerBlocks.ButtonBlockAppender,null)}})))))}})});var V=Object(H.compose)(z.i,Object(z.a)(N))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.shadow,u=void 0===s?"":s,b=o.titleTag,p=void 0===b?"":b,m=o.title,d=void 0===m?"":m,f=o.openStart,h=void 0!==f&&f,y=o.showArrow,O=void 0===y||y,w=o.onlyOnePanelOpen,_=void 0!==w&&w,j=x(e),k=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(c)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":h,"ugb-accordion--single-open":_},e)),C=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),E=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(u),a=j.headerBackground&&""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),c,e));return wp.element.createElement(D.k.Save,{className:k,blockProps:e,"aria-expanded":h?"true":"false",render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(D.D,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(D.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(v.RichText.Content,{tagName:p||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:d}),O&&wp.element.createElement(F,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content",role:"region"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks.Content,null)))))}})}),q=n(16);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return K}),n.d(t,"settings",function(){return $});var X=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(n,!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},onlyOnePanelOpen:{type:"boolean",default:!1},openStart:{type:"boolean",default:!1},reverseArrow:{type:"boolean",default:!1}},Object(p.j)("container%s"),{containerClosedBackgroundColor:{type:"string",default:""},title:{source:"html",selector:".ugb-accordion__title",default:Object(f.__)("Title for This Block",d.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(p.G)("title%s"),{titleColor:{type:"string",default:""},showArrow:{type:"boolean",default:!0},arrowSize:{type:"number",default:""},arrowColor:{type:"string",default:""},showBorder:{type:"boolean",default:!0},borderSize:{type:"number",default:""},borderColor:{type:"string",default:""}},Object(p.h)("Title%sAlign",{type:"string",default:""},["","Tablet","Mobile"]),{},Object(p.h)("containerPadding%s",{type:"number",default:""},["Top","Right","Bottom","Left"]),{},Object(p.A)("title%sBottomMargin",{type:"number",default:""})),K="ugb/accordion",$={title:Object(f.__)("Accordion",d.i18n),description:Object(f.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",d.i18n),icon:q.a,category:"common",keywords:[Object(f.__)("Accordion",d.i18n),Object(f.__)("Toggle",d.i18n),Object(f.__)("Stackable",d.i18n)],attributes:X,deprecated:w,edit:G,save:V,supports:{inserter:!d.disabledBlocks.includes(K)},modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.notification.design.no-text-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(i.addFilter)("stackable.notification.design.filtered-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var r=n(2),o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(8),p=n.n(b),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{text:{source:"html",selector:"p",default:Object(r.J)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.text,r=n.color,o=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,b=void 0===s?12:s,g=n.shadow,f=void 0===g?3:g,h=n.design,v=void 0===h?"":h,y=p()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(i.applyFilters)("stackable.notification.mainclasses_1_17",d({"ugb-notification--dismissible":c},"ugb--shadow-".concat(f),3!==f),v,e)),O={backgroundColor:r,color:o,borderRadius:12!==b?b:void 0};return wp.element.createElement("div",{className:y,style:O},Object(i.applyFilters)("stackable.notification.save.output.before_1_17",null,v,e),c&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(u,{style:{fill:o}})),wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:o},value:a}))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-notification(\s*{)/g,"\n.ugb-notification__item$1").replace(/\n\.ugb-notification p(\s*{)/g,"\n.ugb-notification__description$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),description:e.text,columnBackgroundColor:e.color,iconColor:e.textColor,titleColor:e.textColor,descriptionColor:e.textColor,showTitle:!1,showButton:!1})}}];Object(i.addFilter)("stackable.svg-icon.extract-svg","stackable/notification-2.6",function(e){return e.replace(/<span[^>]*ugb-notification__close-button.*?<svg.*?\/svg>.*?<\/span>/,"")});var h=n(294),v=n.n(h),y=n(295),O=n.n(y);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),j=function(e){return l.a.createElement("svg",w({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),_)},k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showIcon,o=void 0!==r&&r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(i.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:o,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p,iconAlign:!0,iconLocation:!1},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B={success:"#ffffff",error:"#ffffff",info:"#ffffff",warning:"#424242"},P=function(e){var t=Object(r.b)(e.attributes),n=[],a=e.attributes,i=a.contentAlign,o=void 0===i?"":i,l=a.tabletContentAlign,c=void 0===l?"":l,s=a.mobileContentAlign,u=void 0===s?"":s,b=a.notifType,p=a.design,m=void 0===p?"basic":p,g=a.columnBackgroundColor,d=void 0===g?"":g,f=x(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==m?t("borderRadius","%spx !important"):void 0}}),n.push(A({},f.columnBackground?Object(r.l)("column%s","ugb-notification__item",e.attributes,{importantBackgroundColor:!0}):{}));var h=e.attributes,v=h.dismissible,y=void 0!==v&&v,O=h.dismissibleIconSize,w=void 0===O?"":O,_=h.dismissibleIconTabletSize,j=void 0===_?"":_,k=h.dismissibleIconMobileSize,S=void 0===k?"":k,P=h.dismissibleIconColor,N=void 0===P?"":P;y&&n.push({".ugb-notification__item":{paddingRight:w&&w>40?"100px !important":void 0},".ugb-notification__close-button":{width:w?"".concat(w,"px"):void 0,height:w?"".concat(w,"px"):void 0},".ugb-notification__close-button svg":{fill:N?"".concat(N," !important"):void 0},tablet:{".ugb-notification__close-button":{width:j?"".concat(j,"px"):void 0,height:j?"".concat(j,"px"):void 0}},mobile:{".ugb-notification__close-button":{width:S?"".concat(S,"px"):void 0,height:S?"".concat(S,"px"):void 0}}});var M=e.attributes,R=M.showIcon,F=void 0!==R&&R,D=M.iconColor,z=void 0===D?"":D,I=M.iconAlign,H=void 0===I?"":I,L=M.iconTabletAlign,U=void 0===L?"":L,W=M.iconMobileAlign,G=void 0===W?"":W;if(F){var V=Object(r.sb)(z,f.columnBackground&&d);n.push({".ugb-notification__icon svg:not(.ugb-custom-icon)":{color:V?"".concat(V," !important"):void 0},".ugb-notification__icon":{marginLeft:""!==H||""!==o?Object(r.c)(Object(r.db)(H||o)):void 0,marginRight:""!==H||""!==o?Object(r.c)(Object(r.eb)(H||o)):void 0,height:t("iconSize","%spx !important"),width:t("iconSize","%spx !important")},tablet:{".ugb-notification__icon":{marginLeft:""!==U||""!==c?Object(r.db)(U||c):void 0,marginRight:""!==U||""!==c?Object(r.eb)(U||c):void 0,height:t("iconTabletSize","%spx !important"),width:t("iconTabletSize","%spx !important")}},mobile:{".ugb-notification__icon":{marginLeft:""!==G||""!==u?Object(r.db)(G||u):void 0,marginRight:""!==G||""!==u?Object(r.eb)(G||u):void 0,height:t("iconMobileSize","%spx !important"),width:t("iconMobileSize","%spx !important")}}}),n.push(A({},Object(r.s)("icon%s","ugb-notification__icon",e.attributes)))}var q=e.attributes,J=q.titleColor,Y=void 0===J?"":J,X=q.showTitle;if(void 0===X||X){var K=Object(r.sb)(Y,f.columnBackground&&d);n.push({".ugb-notification__title":A({},Object(r.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:K?"".concat(K," !important"):void 0,textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-notification__title":A({},Object(r.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-notification__title":A({},Object(r.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}})}var $=e.attributes,Z=$.descriptionColor,Q=void 0===Z?"":Z,ee=$.showDescription;if(void 0===ee||ee){var te=Object(r.sb)(Q,f.columnBackground&&d);n.push({".ugb-notification__description":A({},Object(r.H)("description%s","desktop",e.attributes),{color:te?"".concat(te," !important"):void 0,textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-notification__description":A({},Object(r.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-notification__description":A({},Object(r.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}})}var ne=e.attributes,ae=ne.showButton,ie=void 0!==ae&&ae,re=ne.buttonDesign,oe=void 0===re?"ghost":re,le=ne.buttonBackgroundColor,ce=void 0===le?"":le;if(ie){if(n.push(A({},Object(r.p)("button%s","ugb-button",e.attributes))),!ce&&f.columnBackground){var se,ue,be=d?Object(r.sb)(ce,d,"#ffffff","#424242"):"bordered"===m?"#424242":B[b],pe=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===oe||""===oe)n.push((T(se={},".ugb-button",{backgroundColor:be||void 0}),T(se,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:pe||void 0}),T(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:pe||void 0}),se));else n.push((T(ue={},".ugb-button",{borderColor:be||void 0}),T(ue,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:be||void 0}),T(ue,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:be||void 0}),ue))}n.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})}return f.iconSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.titleSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.descriptionSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-notification__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.buttonSpacing&&n.push.apply(n,E(Object(r.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),C.a.all(n)},N=n(3),M=n(1),R=n(10),F=n(11),D=n(0),z=n(12),I=n(6);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var G=[{value:"success",label:Object(D.__)("Success",M.i18n)},{value:"error",label:Object(D.__)("Error",M.i18n)},{value:"warning",label:Object(D.__)("Warning",M.i18n)},{value:"info",label:Object(D.__)("Information",M.i18n)}];Object(i.addFilter)("stackable.notification.edit.inspector.layout.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(N.A,{initialOpen:!0,selected:r,options:[{image:v.a,label:Object(D.__)("Basic",M.i18n),value:"basic"},{image:O.a,label:Object(D.__)("Plain",M.i18n),value:"plain"}].concat(W(Object(i.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},M.showProNotice&&wp.element.createElement(N.gb,null)))}),Object(i.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.titleColor,o=a.descriptionColor,l=a.design,c=void 0===l?"basic":l,s=a.borderRadius,u=void 0===s?"":s,b=a.shadow,p=void 0===b?"":b,m=a.showTitle,g=void 0===m||m,d=a.showDescription,f=void 0===d||d,h=a.titleTag,v=void 0===h?"":h,y=a.notifType,O=a.dismissible,w=void 0!==O&&O,_=a.dismissibleIconColor,j=void 0===_?"":_,k=a.columnBorderColor,C=void 0===k?"":k,E=a.columnBorderThickness,S=void 0===E?"":E,A=a.showButton,T=void 0===A||A,B=a.showIcon,P=void 0===B||B,R=a.iconTop,z=void 0===R?"":R,H=a.iconLeft,L=void 0===H?"":H,U=x(t);return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(D.__)("General",M.i18n)},wp.element.createElement(F.SelectControl,{label:Object(D.__)("Notification Type",M.i18n),value:y,options:G.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),U.borderRadius&&wp.element.createElement(N.c,{label:Object(D.__)("Border Radius",M.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),U.shadow&&wp.element.createElement(N.c,{label:Object(D.__)("Shadow / Outline",M.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(N.u,{setAttributes:n,blockAttributes:t.attributes})),U.columnBorder&&wp.element.createElement(N.cb,{title:Object(D.__)("Border",M.i18n),hasToggle:!1},wp.element.createElement(N.s,{value:C,onChange:function(e){return n({columnBorderColor:e})},label:Object(D.__)("Border Color",M.i18n)}),wp.element.createElement(N.c,{label:Object(D.__)("Border Thickness",M.i18n),value:S,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===c?5:3})),U.columnBackground&&wp.element.createElement(N.cb,{title:Object(D.__)("Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(N.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(N.cb,{title:Object(D.__)("Dismissible",M.i18n),id:"dismissible",checked:w,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(W(Object(r.z)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible",className:"ugb--help-tip-notification-dismissible"},wp.element.createElement(N.hb,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Icon Size",M.i18n),min:5,max:50,allowReset:!0,placeholder:"16"})),wp.element.createElement(N.s,{value:j,onChange:function(e){return n({dismissibleIconColor:e})},label:Object(D.__)("Icon Color",M.i18n)})),wp.element.createElement(N.cb,{title:Object(D.__)("Icon",M.i18n),id:"icon",checked:P,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon"].concat(W(Object(r.q)("icon%s")),W(Object(r.z)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(N.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,icon:t.attributes.icon,onChangeIcon:function(e){return n({icon:e})},sizeMax:"large-icon"!==c?300:500,onChangeDesign:!1,onChangeShowBackgroundShape:!1}),U.iconLocation&&wp.element.createElement(N.H,{label:Object(D.__)("Icon Location",M.i18n),min:-250,max:250,top:z,left:L,onChange:function(e){n({iconTop:e.top||0===e.top?parseInt(e.top,10):"",iconLeft:e.left||0===e.left?parseInt(e.left,10):""})},enableRight:!1,enableBottom:!1}),U.iconAlign&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Title",M.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(W(Object(r.F)("title%s")),["titleTag","titleColor"],W(Object(r.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(N.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.J,{value:v||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(N.s,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(D.__)("Title Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Description",M.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(W(Object(r.F)("description%s")),["descriptionColor"],W(Object(r.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(N.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.s,{value:o,onChange:function(e){return n({descriptionColor:e})},label:Object(D.__)("Description Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(N.cb,{title:Object(D.__)("Button",M.i18n),id:"button",checked:T,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(W(Object(r.n)("button%s")),W(Object(r.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(N.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.v,null),wp.element.createElement(N.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(D.__)("Align",M.i18n),className:"ugb--help-tip-alignment-button"}))),(U.iconSpacing||U.titleSpacing||U.descriptionSpacing||U.buttonSpacing)&&wp.element.createElement(N.db,{initialOpen:!1,blockProps:t},U.iconSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Icon",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),U.titleSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Title",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),U.descriptionSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Description",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),U.buttonSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(D.__)("Button",M.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var V=Object(z.compose)(R.i,R.g,R.d,Object(R.h)(),Object(R.c)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(R.a)(P,{editorMode:!0}),Object(R.b)([[".ugb-notification__item","column-background"],[".ugb-notification__close-button","dismissible"],[".ugb-notification__icon svg","icon"],[".ugb-notification__title","title"],[".ugb-notification__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.design,l=void 0===o?"basic":o,c=a.notifType,s=a.dismissible,u=a.shadow,b=void 0===u?"":u,g=a.showIcon,d=void 0!==g&&g,f=a.icon,h=void 0===f?"fas-exclamation-triangle":f,v=a.showTitle,y=void 0===v||v,O=a.titleTag,w=void 0===O?"h5":O,_=a.title,k=void 0===_?"":_,C=a.showDescription,E=void 0===C||C,S=a.description,A=void 0===S?"":S,T=a.showButton,B=void 0===T||T,P=a.buttonDesign,R=void 0===P?"plain":P,F=p()([t,"ugb-notification--v2","ugb-notification--design-".concat(l),"ugb-notification--type-".concat(c)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":s},e)),z=p()(["ugb-notification__item","ugb-notification--new-icon"],U({},"ugb--shadow-".concat(b),""!==b)),H=x(e);return wp.element.createElement(N.k.Edit,{className:F,blockProps:e,render:function(){return wp.element.createElement(I.Fragment,null,wp.element.createElement(N.D,{className:z,backgroundAttrName:"column%s",blockProps:e,showBackground:H.columnBackground},s&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button"},wp.element.createElement(j,null)),d&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:h,onChange:function(e){return n({icon:e})}})),y&&wp.element.createElement(m.RichText,{tagName:w||"h5",value:k,className:"ugb-notification__title",placeholder:Object(D.__)("Title for This Block",M.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-notification__description",value:A,onChange:function(e){return n({description:e})},placeholder:Object(r.J)("long"),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(N.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:L({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var q=Object(z.compose)(R.i,Object(R.a)(P))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.notifType,u=o.dismissible,b=o.shadow,g=void 0===b?"":b,d=o.showIcon,f=void 0!==d&&d,h=o.icon,v=void 0===h?"fas-exclamation-triangle":h,y=o.showTitle,O=void 0===y||y,w=o.titleTag,_=void 0===w?"h5":w,k=o.title,C=void 0===k?"":k,E=o.showDescription,S=void 0===E||E,A=o.description,T=void 0===A?"":A,B=o.showButton,P=void 0===B||B,M=o.buttonSize,R=void 0===M?"normal":M,F=o.buttonText,D=void 0===F?"":F,z=o.buttonShadow,H=void 0===z?0:z,L=o.buttonHoverEffect,U=void 0===L?"":L,W=o.buttonIcon,G=void 0===W?"":W,V=o.buttonIconPosition,q=void 0===V?"":V,J=o.buttonDesign,Y=void 0===J?"plain":J,X=o.buttonHoverGhostToNormal,K=void 0!==X&&X,$=o.buttonNewTab,Z=void 0!==$&&$,Q=o.buttonUrl,ee=void 0===Q?"":Q,te=o.buttonNoFollow,ne=void 0!==te&&te,ae=p()([r,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),ie=p()(["ugb-notification__item","ugb-notification--new-icon"],(t={},n="ugb--shadow-".concat(g),a=""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),re=x(e);return wp.element.createElement(N.k.Save,{className:ae,blockProps:e,render:function(){return wp.element.createElement(I.Fragment,null,wp.element.createElement(N.D,{className:ie,backgroundAttrName:"column%s",blockProps:e,showBackground:re.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(j,null)),f&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:v})),O&&!m.RichText.isEmpty(C)&&wp.element.createElement(m.RichText.Content,{tagName:_||"h5",className:"ugb-notification__title",value:C}),S&&!m.RichText.isEmpty(T)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:T}),P&&!m.RichText.isEmpty(D)&&wp.element.createElement(N.o.Content,{size:""!==R?R:"normal",text:D,icon:G,newTab:""!==Z&&Z,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:K,shadow:H,iconPosition:q,design:""!==Y?Y:"ghost"})))}})}),J=n(16);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(n,!0).forEach(function(t){K(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return $}),n.d(t,"name",function(){return Z}),n.d(t,"settings",function(){return Q});var $=X({design:{type:"string",default:"basic"},notifType:{type:"string",default:"success"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:3},columnBorderColor:{type:"string",default:""},columnBorderThickness:{type:"number",default:""}},Object(r.j)("column%s"),{dismissible:{type:"boolean",default:!1}},Object(r.A)("dismissibleIcon%sSize",{type:"number",default:""}),{dismissibleIconColor:{type:"string",default:""},showIcon:{type:"boolean",default:!1},icon:{type:"string",source:"html",selector:".ugb-notification__icon .ugb-icon-inner-svg,.ugb-notification__item:not(.ugb-notification--new-icon)",default:"fas-exclamation-triangle"}},Object(r.r)("icon%s"),{},Object(r.A)("icon%sAlign",{type:"string",default:""}),{},Object(r.h)("icon%s",{type:"number",default:""},["Top","Left"]),{title:{source:"html",selector:".ugb-notification__title",default:Object(D.__)("Title for This Block",M.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(r.G)("title%s"),{titleColor:{type:"string",default:""}},Object(r.A)("title%sAlign",{type:"string",default:""}),{description:{source:"html",selector:".ugb-notification__description",default:Object(r.J)("long")},showDescription:{type:"boolean",default:!0}},Object(r.G)("description%s"),{descriptionColor:{type:"string",default:""}},Object(r.A)("description%sAlign",{type:"string",default:""}),{showButton:{type:"boolean",default:!0}},Object(r.o)("button%s",{selector:".ugb-button"}),{buttonDesign:{type:"string",default:"ghost"}},Object(r.A)("button%sAlign",{type:"string",default:""}),{},Object(r.A)("icon%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(r.A)("button%sBottomMargin",{type:"number",default:""})),Z="ugb/notification",Q={title:Object(D.__)("Notification",M.i18n),description:Object(D.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",M.i18n),icon:J.s,category:"formatting",keywords:[Object(D.__)("Notification",M.i18n),Object(D.__)("Stackable",M.i18n)],attributes:$,supports:{inserter:!M.disabledBlocks.includes(Z)},deprecated:f,edit:V,save:q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.notification.custom-css.default","")}}};Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/notifType",function(e){return void 0===e.notifType?e:X({},e,{columnBackgroundColor:"",columnBackgroundColorOpacity:"",iconColor:"",titleColor:"",descriptionColor:"",buttonBackgroundColor:"",columnBorderColor:""})}),Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/opacity",function(e,t){var n=e.hasOwnProperty("columnBackgroundColor");if(void 0===e.columnBackgroundColorOpacity&&!n)return e;if(n&&void 0!==e.columnBackgroundColor)return e;var a=t.attributes,i=a.notifType,r=void 0===i?"success":i,o=a.columnBackgroundColor,l=void 0===o?"":o;return X({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[r]})})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blog-posts.design.no-text-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])});var r=n(262),o=n.n(r),l=n(263),c=n.n(l),s=n(2),u=n(14),b=n.n(u),p=n(1),m=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.postType,o=void 0===r?"post":r,l=t.showImage,c=void 0===l||l,s=t.showTitle,u=void 0===s||s,b=t.showCategory,m=void 0===b||b,g=t.showExcerpt,d=void 0===g||g,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v,O=t.showLoadMoreButton,w=void 0!==O&&O;return Object(i.applyFilters)("stackable.blog-posts.show",{columnBackground:!["basic","list"].includes(a),showBackgroundInItem:"vertical-card2"===a,showBackgroundInContent:["vertical-card","horizontal-card","image-card"].includes(a),borderRadius:!0,shadow:!0,imageShadow:["basic","list"].includes(a),postType:p.isPro,imageHeight:"portfolio"!==a&&"portfolio2"!==a,imageWidth:"horizontal-card"===a||"list"===a,showCategory:"post"===o,imageAsBackground:["portfolio","portfolio2","image-card"].includes(a),imageOutsideContainer:["list","vertical-card","horizontal-card","image-card"].includes(a),imageSpacing:c&&["basic","list","vertical-card2"].includes(a),categorySpacing:m,titleSpacing:u,excerptSpacing:d,metaSpacing:h,readmoreSpacing:y,loadMoreSpacing:w,contentOrderStyles:"image-card"!==a},e)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t=Object(s.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,i=void 0===a?"":a,r=n.design,o=void 0===r?"basc":r,l=n.showReadmore,c=void 0===l||l,u=m(e),p=[];u.columnBackground||p.push({".ugb-blog-posts__featured-image":{borderRadius:Object(s.c)(t("borderRadius","%spx"))}});var g=e.attributes.contentOrder,v=void 0===g?"":g;v&&u.contentOrderStyles&&v.split(",").forEach(function(e,t){var n=0===t?1:3===t?10:t+3;p.push(h({},".ugb-blog-posts__".concat(e),{order:Object(s.c)(n)})),c&&"excerpt"===e&&p.push({".ugb-blog-posts__readmore":{order:Object(s.c)(n)}})});var y=e.attributes.showImage,O=void 0===y||y;O&&u.imageHeight&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,!0))),O&&u.imageWidth&&"list"===o&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__item","image%sWidth","gridTemplateColumns","%spx minmax(0, 1fr)",e.attributes,!0)));var w=e.attributes,_=w.categoryHighlighted,j=void 0!==_&&_,k=w.categoryColor,C=void 0===k?"":k,x=w.showCategory;(void 0===x||x)&&(j?p.push({".ugb-blog-posts__category a":{backgroundColor:Object(s.c)(t("categoryColor")),color:Object(s.c)(Object(s.sb)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(s.c)(t("categoryHoverColor")),color:Object(s.c)(Object(s.sb)("",t("categoryHoverColor")))}}):p.push({".ugb-blog-posts__category a":{color:Object(s.c)(Object(s.sb)(C,u.columnBackground&&i))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(s.c)(t("categoryHoverColor"))}}),p.push({".ugb-blog-posts__category":d({},Object(s.H)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":d({},Object(s.H)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":d({},Object(s.H)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,S=E.titleColor,A=void 0===S?"":S,T=E.showTitle;(void 0===T||T)&&p.push({".ugb-blog-posts__title a":{color:Object(s.c)(Object(s.sb)(A,u.columnBackground&&i))},".ugb-blog-posts__title a:hover":{opacity:A&&!t("titleHoverColor")?.8:void 0,color:Object(s.c)(t("titleHoverColor"))},".ugb-blog-posts__title":d({},Object(s.H)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":d({},Object(s.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":d({},Object(s.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var B=e.attributes,P=B.excerptColor,N=void 0===P?"":P,M=B.showExcerpt;(void 0===M||M)&&p.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.sb)(N,u.columnBackground&&i))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","tablet",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptTabletAlign","%s !important")}},mobile:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.H)("excerpt%s","mobile",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptMobileAlign","%s !important")}}});var R=e.attributes,F=R.metaColor,D=void 0===F?"":F,z=R.showMeta,I=void 0===z||z,H=R.showAuthor,L=void 0===H||H,U=R.showDate,W=void 0===U||U,G=R.showComments;I&&(L||W||(void 0===G||G))&&p.push({".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.sb)(D,u.columnBackground&&i)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":d({},Object(s.H)("meta%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("metaMobileAlign","%s !important")})}});var V=e.attributes.readmoreColor,q=void 0===V?"":V;return c&&p.push({".ugb-blog-posts__readmore a":{color:Object(s.c)(Object(s.sb)(q,u.columnBackground&&i))},".ugb-blog-posts__readmore a:hover":{opacity:q&&!t("readmoreHoverColor")?.8:void 0,color:Object(s.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":d({},Object(s.H)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),u.imageSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.categorySpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.titleSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.excerptSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.metaSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,!0))),u.readmoreSpacing&&p.push.apply(p,f(Object(s.C)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b.a.all(p)},y=n(3),O=n(6),w=n(11),_=n(0),j=n(413),k=n(22),C=n.n(k);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function S(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=[],P=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=S(this,A(t).apply(this,arguments))).state={isLoading:0===B.length,termList:B},e}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(t,O["Component"]),n=t,(a=[{key:"componentWillMount",value:function(){var e=this;this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=C()({path:Object(j.a)("/wp/v2/stk_terms",{per_page:-1})}).then(function(t){e.isStillMounted&&(B=t,e.setState({termList:t,isLoading:!1}))}).catch(function(){e.isStillMounted&&e.setState({termList:[],isLoading:!1})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=[],n=[],a=[{label:Object(_.__)("All",p.i18n),value:""}],i="";if(Object.keys(this.state.termList).forEach(function(i){var r=e.state.termList[i],o=r.label,l=r.taxonomies;t.push({label:o,value:i}),i===e.props.postType&&Object.keys(l).forEach(function(t,i){var r=l[t],o=r.label,c=r.terms;n.push({label:o,value:t});var s=!e.props.taxonomyType&&0===i;(t===e.props.taxonomyType||s)&&Object.keys(c).forEach(function(e){a.push({label:c[e].name,value:c[e].term_id})})})}),n.length){var r=this.props.taxonomyType||n[0].value,o=n.filter(function(e){var t=e.value;return r===t});i=o.length?o[0].label:n[0].label}return this.state.isLoading?wp.element.createElement("div",{className:"ugb-blog-post__inspector-spinner"},wp.element.createElement(w.Spinner,null)):wp.element.createElement("div",null,p.isPro&&wp.element.createElement(y.d,{label:Object(_.__)("Post Type",p.i18n),options:t,value:this.props.postType,onChange:function(t){var n=Object.keys(e.state.termList[t].taxonomies);e.props.onChangePostType(t),e.props.onChangeTaxonomyType(n.length?n[0]:""),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:Object(_.__)("Filter by Taxonomy",p.i18n),options:n,value:this.props.taxonomyType,onChange:function(t){e.props.onChangeTaxonomyType(t),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:i,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&E(n.prototype,a),i&&E(n,i),t}();P.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var N=P,M=n(10),R=n(8),F=n.n(R),D=n(62),z=n(264),I=n(13),H=n(12);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function q(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var K={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(i.addFilter)("stackable.blog-posts.edit.inspector.layout.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(y.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(_.__)("Basic",p.i18n),value:"basic",image:o.a},{label:Object(_.__)("List",p.i18n),value:"list",image:c.a}]),onChange:function(e){return n({design:e})}},p.showProNotice&&wp.element.createElement(y.gb,null)))}),Object(i.addFilter)("stackable.blog-posts.edit.inspector.style.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=void 0===r?2:r,l=a.borderRadius,c=void 0===l?"":l,u=a.shadow,b=void 0===u?"":u,g=a.contentOrder,d=void 0===g?"":g,f=a.numberOfItems,h=void 0===f?6:f,v=a.showImage,j=void 0===v||v,k=a.showTitle,C=void 0===k||k,x=a.showCategory,E=void 0===x||x,S=a.showExcerpt,A=void 0===S||S,T=a.showMeta,B=void 0===T||T,P=a.showReadmore,M=void 0!==P&&P,R=a.titleTag,F=void 0===R?"":R,D=a.titleColor,z=void 0===D?"":D,I=a.titleHoverColor,H=void 0===I?"":I,L=a.orderBy,U=void 0===L?"date":L,W=a.order,G=void 0===W?"desc":W,V=a.postType,q=void 0===V?"post":V,J=a.taxonomyType,Y=void 0===J?"category":J,K=a.taxonomy,$=void 0===K?"":K,Z=a.imageSize,Q=void 0===Z?"large":Z,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,ie=a.categoryHoverColor,re=void 0===ie?"":ie,oe=a.excerptColor,le=void 0===oe?"":oe,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,pe=a.showDate,me=void 0===pe||pe,ge=a.showComments,de=void 0===ge||ge,fe=a.metaColor,he=void 0===fe?"":fe,ve=a.metaSeparator,ye=void 0===ve?"":ve,Oe=a.readmoreColor,we=void 0===Oe?"":Oe,_e=a.readmoreHoverColor,je=void 0===_e?"":_e,ke=a.readmoreText,Ce=void 0===ke?"":ke,xe=m(t),Ee=Object(_.__)("Category",p.i18n),Se=Object(_.__)("Title",p.i18n),Ae=Object(_.__)("Meta",p.i18n),Te=Object(_.__)("Excerpt",p.i18n);return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(w.PanelBody,{title:Object(_.__)("General",p.i18n)},wp.element.createElement(y.c,{label:Object(_.__)("Columns",p.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),xe.borderRadius&&wp.element.createElement(y.c,{label:Object(_.__)("Border Radius",p.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),xe.shadow&&wp.element.createElement(y.c,{label:Object(_.__)("Shadow / Outline",p.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.d,{label:Object(_.__)("Content Order",p.i18n),options:[{label:Object(_.__)("Default",p.i18n),value:""},{label:"".concat(Ee," → ").concat(Se," → ").concat(Ae," → ").concat(Te),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Se," → ").concat(Te," → ").concat(Ae),value:"category,title,excerpt,meta"},{label:"".concat(Se," → ").concat(Ae," → ").concat(Te," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Se," → ").concat(Ee," → ").concat(Te," → ").concat(Ae),value:"title,category,excerpt,meta"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Te," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Ee," → ").concat(Te),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})},className:"ugb--help-tip-posts-content-order"}),wp.element.createElement(y.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.PanelBody,{title:Object(_.__)("Posts Settings",p.i18n),initialOpen:!1},wp.element.createElement(y.c,{label:Object(_.__)("Number of items",p.i18n),min:1,max:100,allowReset:!0,value:h,onChange:function(e){return n({numberOfItems:e})},placeholder:"6"}),wp.element.createElement(y.d,{label:Object(_.__)("Order by",p.i18n),options:[{label:Object(_.__)("Newest to Oldest",p.i18n),value:"date,desc"},{label:Object(_.__)("Oldest to Newest",p.i18n),value:"date,asc"},{label:Object(_.__)("A → Z",p.i18n),value:"title,asc"},{label:Object(_.__)("Z → A",p.i18n),value:"title,desc"},{label:Object(_.__)("Last Modified to Oldest",p.i18n),value:"modified,desc"},{label:Object(_.__)("Oldest Modified to Last",p.i18n),value:"modified,asc"},{label:Object(_.__)("Menu Order",p.i18n),value:"menu_order,asc"},{label:Object(_.__)("Random",p.i18n),value:"rand,desc"}],value:"".concat(U,",").concat(G),onChange:function(e){return n({orderBy:e.split(",")[0],order:e.split(",")[1]})}}),wp.element.createElement(N,{postType:q,onChangePostType:function(e){return n({postType:e})},taxonomyType:Y,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:$,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),p.showProNotice&&wp.element.createElement(y.gb,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(y.cb,{title:Object(_.__)("Column Background",p.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},(xe.showBackgroundInItem||xe.showBackgroundInContent)&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,backgroundMediaAllowVideo:!1}),!(xe.showBackgroundInItem||xe.showBackgroundInContent)&&xe.columnBackground&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,onChangeBackgroundMedia:!1,onChangeBackgroundColorOpacity:!1,onChangeBackgroundGradientBlendMode:!1})),wp.element.createElement(y.cb,{title:Object(_.__)("Featured Image",p.i18n),id:"image",checked:j,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat(X(Object(s.z)("Image%sWidth")),X(Object(s.z)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.X,{label:Object(_.__)("Image Size",p.i18n),value:Q,onChange:function(e){return n({imageSize:e})},className:"ugb--help-tip-image-size"}),xe.imageWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Width",p.i18n),min:100,max:600,allowReset:!0,className:"ugb--help-tip-image-width-crop"})),xe.imageHeight&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Height",p.i18n),min:100,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Category",p.i18n),id:"category",checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],X(Object(s.z)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(y.rb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Highlighted",p.i18n),checked:te,onChange:function(e){return n({categoryHighlighted:e})}}),wp.element.createElement(y.s,{value:ae,onChange:function(e){return n({categoryColor:e})},label:Object(_.__)("Color",p.i18n)}),wp.element.createElement(y.s,{value:re,onChange:function(e){return n({categoryHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Title",p.i18n),id:"title",checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("title%s")),["titleTag","titleColor","titleHoverColor"],X(Object(s.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.J,{value:F||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.s,{value:z,onChange:function(e){return n({titleColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:H,onChange:function(e){return n({titleHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Excerpt",p.i18n),id:"excerpt",checked:A,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat(X(Object(s.F)("excerpt%s")),["excerptColor","excerptLength"],X(Object(s.z)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt Length",p.i18n),value:se,onChange:function(e){return n({excerptLength:e})},min:1,max:100,allowReset:!0,placeholder:"55"}),wp.element.createElement(y.rb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Meta",p.i18n),id:"meta",checked:B,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat(X(Object(s.F)("meta%s")),["metaColor","metaSeparator"],X(Object(s.z)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Author",p.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Date",p.i18n),checked:me,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Comments",p.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.d,{label:Object(_.__)("Separator",p.i18n),options:[{label:Object(_.__)("Default (Dot)",p.i18n),value:""},{label:Object(_.__)("Space",p.i18n),value:"space"},{label:Object(_.__)("Comma",p.i18n),value:"comma"},{label:Object(_.__)("Dash",p.i18n),value:"dash"},{label:Object(_.__)("Pipe",p.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})},className:"ugb--help-tip-posts-meta-separator"}),wp.element.createElement(y.hb,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Read More Link",p.i18n),id:"readmore",checked:M,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat(X(Object(s.F)("readmore%s")),["readmoreColor","readmoreHoverColor"],X(Object(s.z)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(w.TextControl,{label:Object(_.__)("Customize Read More Link",p.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:we,onChange:function(e){return n({readmoreColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:je,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-button"}))),p.showProNotice&&wp.element.createElement(y.cb,{title:Object(_.__)("Load More Button",p.i18n),id:"loadmore",initialOpen:!1},wp.element.createElement(y.fb,{title:Object(_.__)("Say Hello to More Options 👋",p.i18n),description:Object(_.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium",p.i18n)})),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.read-more.after",null,t),wp.element.createElement(y.db,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-image"})),xe.categorySpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Category",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.titleSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Title",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-title"})),xe.excerptSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.metaSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Meta",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.readmoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Read More",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"})),xe.loadMoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"loadMoreButton%sTopMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Load More",p.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"}))))});var $=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),q(this,J(t).apply(this,arguments))}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(t,O["Component"]),n=t,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,a=t.className,r=t.attributes,o=t.posts,l=r.columns,c=void 0===l?2:l,s=r.design,u=void 0===s?"basic":s,b=r.shadow,g=void 0===b?"":b,d=r.numberOfItems,f=void 0===d?6:d,h=r.titleTag,v=void 0===h?"":h,j=r.imageSize,k=void 0===j?"large":j,C=r.categoryHighlighted,x=void 0!==C&&C,E=r.excerptLength,S=void 0===E?"":E,A=r.metaSeparator,T=void 0===A?"":A,B=r.showImage,P=void 0===B||B,N=r.showTitle,M=void 0===N||N,R=r.showCategory,I=void 0===R||R,H=r.showExcerpt,L=void 0===H||H,U=r.showMeta,W=void 0===U||U,V=r.showReadmore,q=void 0!==V&&V,J=r.showAuthor,Y=void 0===J||J,X=r.showDate,$=void 0===X||X,Z=r.showComments,Q=void 0===Z||Z,ee=r.readmoreText,te=void 0===ee?"":ee,ne=r.columnBackgroundColor,ae=void 0===ne?"":ne,ie=r.columnBackgroundColor2,re=void 0===ie?"":ie,oe=r.showLoadMoreButton,le=void 0!==oe&&oe,ce=m(this.props),se=Array.isArray(o)&&o.length,ue=v||"h3",be=F()([a,"ugb-blog-posts--v2","ugb-blog-posts--columns-".concat(c),"ugb-blog-posts--design-".concat(u)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":x,"ugb-blog-posts--has-bg-color":ae||re},this.props)),pe=se&&o.length>f?o.slice(0,f):o,me=F()(["ugb-blog-posts__item"],G({},"ugb--shadow-".concat(g||3),!ce.imageShadow)),ge=F()(["ugb-blog-posts__featured-image"],G({},"ugb--shadow-".concat(g||3),ce.imageShadow));return se?wp.element.createElement(y.k.Edit,{className:be,blockProps:this.props,render:function(){return wp.element.createElement(O.Fragment,null,(pe||[]).map(function(t,n){var a=(t.featured_image_urls&&t.featured_image_urls[k||"large"]||[])[0],r=a&&wp.element.createElement("figure",{className:ge},wp.element.createElement("a",null,wp.element.createElement("img",{src:a,alt:Object(_.__)("featured",p.i18n)}))),o=a&&wp.element.createElement("div",{className:"ugb-blog-posts__featured-image-background",style:{backgroundImage:"url(".concat(a,")")}}),l=wp.element.createElement(ue,{className:"ugb-blog-posts__title"},wp.element.createElement("a",null,Object(z.decodeEntities)(t.title.rendered.trim())||Object(_.__)("(Untitled)",p.i18n))),c=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list.replace(/href=['"].*?['"]/g,"")}}),s=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},K[T||"dot"]),u=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),b=t.date_gmt&&wp.element.createElement("time",{dateTime:Object(D.format)("c",t.date_gmt),className:"ugb-blog-posts__date"},Object(D.dateI18n)("F d, Y",t.date_gmt)),m=wp.element.createElement("span",null,t.comments_num),g=t.post_excerpt_stackable.split(" "),d=(g=g.length>(S||55)?g.slice(0,S||55).join(" ")+"...":t.post_excerpt_stackable)&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:g}}),f=wp.element.createElement("p",{className:"ugb-blog-posts__readmore"},wp.element.createElement("a",null,te||Object(_.__)("Continue reading",p.i18n))),h=(Y||$||Q)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},Y&&u,Y&&u&&($&&b||Q&&m)&&s,$&&b,(Y&&u||$&&b)&&Q&&m&&s,Q&&m),v=Object(i.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:me,featuredImageBackground:o,featuredImage:r,category:c,title:l,author:u,separator:s,date:b,comments:m,excerpt:d,readmore:f,meta:h},n);return v||wp.element.createElement(y.D,{tagName:"article",className:me,backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInItem,showBackgroundVideo:!1,key:n},P&&ce.imageAsBackground&&o,P&&!ce.imageAsBackground&&ce.imageOutsideContainer&&r,wp.element.createElement(y.D,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInContent,showBackgroundVideo:!1},P&&!ce.imageAsBackground&&!ce.imageOutsideContainer&&r,I&&c,M&&l,W&&h,L&&d,q&&f))}),le&&wp.element.createElement(y.p,{containerClassName:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",setAttributes:n,blockAttributes:r,isSelected:!1}))}}):wp.element.createElement(w.Placeholder,{icon:"admin-post",label:Object(_.__)("Posts",p.i18n)},Array.isArray(o)?Object(_.__)("No posts found.",p.i18n):wp.element.createElement(w.Spinner,null))}}])&&V(n.prototype,a),r&&V(n,r),t}(),Z=Object(H.compose)(M.i,M.g,M.d,Object(M.h)(),Object(M.c)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(M.a)(v,{editorMode:!0}),Object(M.b)([[".ugb-blog-posts__featured-image","image"],[".ugb-blog-posts__featured-image img","image"],[".ugb-blog-posts__category","category"],[".ugb-blog-posts__title","title"],[".ugb-blog-posts__excerpt","excerpt"],[".ugb-blog-posts__meta","meta"],[".ugb-blog-posts__readmore","readmore"],[".ugb-blog-posts--design-image-card .ugb-blog-posts__header","image"],[".ugb-blog-posts__item","column-background"],[".ugb-blog-posts__load-more-button","loadmore"]]),Object(I.withSelect)(function(e,t){var n=t.attributes,r=n.postType,o=void 0===r?"post":r,l=n.numberOfItems,c=void 0===l?6:l,s=n.orderBy,u=void 0===s?"date":s,b=n.order,p=void 0===b?"desc":b,m=n.taxonomyType,g=void 0===m?"":m,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",o,Object(a.pickBy)(U({order:p,orderby:u,per_page:c,categories:"category"===g&&f?[f]:void 0,tags:"post_tag"===g&&f?[f]:void 0},Object(i.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))($);function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Object(i.addFilter)("stackable.click-open-inspector.listener-override","stackable/blog-posts",function(e){return U({},e,{'[data-type="ugb/blog-posts"]':["img","p","h1","h2","h3","h4","h5","h6","span","time","aside","figure","div"]})});var ee=Object(H.compose)(M.i,Object(M.a)(v))(function(e){var t=e.className,n=e.attributes,a=n.uniqueClass,r=void 0===a?"":a,o=n.columns,l=void 0===o?2:o,c=n.design,s=void 0===c?"basic":c,u=n.categoryHighlighted,b=void 0!==u&&u,p=n.columnBackgroundColor,m=void 0===p?"":p,g=n.columnBackgroundColor2,d=void 0===g?"":g,f=n.showLoadMoreButton,h=void 0!==f&&f,v=n.loadMoreItems,w=void 0===v?"":v,_=F()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(s),"ugb-blog-posts--columns-".concat(l)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":b,"ugb-blog-posts--has-bg-color":m||d},e)),j={};return h&&(j["data-load-items"]=w,j["data-id"]=r),wp.element.createElement(y.k.Save,Q({className:_,blockProps:e},j,{render:function(){return wp.element.createElement(O.Fragment,null,h&&wp.element.createElement(y.p.Content,{className:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",blockAttributes:e.attributes,url:"#0",role:"button"}))}}))});function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=[{attributes:{className:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string"},postsToShow:{type:"number",default:6},columns:{type:"number",default:2},displayFeaturedImage:{type:"boolean",default:!0},featuredImageShape:{type:"string",default:"landscape"},displayTitle:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayComments:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0},displayReadMoreLink:{type:"boolean",default:!1},readMoreText:{type:"string"},contentAlign:{type:"string"},align:{type:"string"},accentColor:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(){return null},migrate:function(e){var t,n=["portfolio","portfolio2"].includes(e.design)?"#ffffff":void 0;e.accentColor&&["basic","list","vertical-card","horizontal-card","vertical-card2"].includes(e.design)&&(n=e.accentColor),e.accentColor&&["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design)&&(t=e.accentColor);var a=function(e){return(e||"").replace(/\.ugb-blog-posts__category-list/g,".ugb-blog-posts__category").replace(/\.ugb-blog-posts__read_more/g,".ugb-blog-posts__readmore").replace(/\.ugb-blog-posts__side/g,".ugb-blog-posts__content")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:a(e.customCSS),customCSSCompiled:a(e.customCSSCompiled),numberOfItems:e.postsToShow,categoryHighlighted:["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design),metaColor:n,categoryColor:t,showImage:e.displayFeaturedImage,showTitle:e.displayTitle,showDate:e.displayDate,showCategory:e.displayCategory,showComments:e.displayComments,showAuthor:e.displayAuthor,showExcerpt:e.displayExcerpt,showReadmore:e.displayReadMoreLink,readmoreText:e.readMoreText,postType:"post",taxonomyType:"category",taxonomy:e.categories})}}],ie=n(16);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return ce}),n.d(t,"settings",function(){return se});var le=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},contentOrder:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postType:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},postInclude:{type:"string",default:""}},Object(s.j)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(s.A)("image%sWidth",{type:"number",default:""}),{},Object(s.A)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(s.G)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(s.A)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(s.G)("title%s"),{titleTag:{type:"string",default:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(s.A)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(s.G)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(s.A)("Excerpt%sAlign",{type:"string",default:""}),{showMeta:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0}},Object(s.G)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(s.A)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(s.G)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(s.A)("Readmore%sAlign",{type:"string",default:""}),{showLoadMoreButton:{type:"boolean",default:!1},loadMoreItems:{type:"number",default:""}},Object(s.o)("loadMoreButton%s",{exclude:["Url","NewTab","NoFollow"]}),{loadMoreButtonText:{type:"string",default:Object(_.__)("Load More",p.i18n)}},Object(s.A)("loadMoreButton%sAlign",{type:"string",default:""}),{},Object(s.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"]),{},Object(s.A)("LoadMoreButton%sTopMargin",{type:"number",default:""})),ce="ugb/blog-posts",se={title:Object(_.__)("Posts",p.i18n),description:Object(_.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",p.i18n),icon:ie.c,category:"layout",keywords:[Object(_.__)("Blog Posts",p.i18n),Object(_.__)("Stackable",p.i18n)],supports:{align:["center","wide","full"],inserter:!p.disabledBlocks.includes(ce)},attributes:le,save:ee,edit:Z,deprecated:ae,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0,verticalContentAlign:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(9),o=n(5);Object(o.addFilter)("stackable.count-up.design.no-text-attributes","stackable/count-up",function(e){return Object(r.omit)(e,["title1","title2","title3","title4","countText1","countText2","countText3","countText4","description1","description2","description3","description4"])});var l=n(0),c=n(8),s=n.n(c),u=n(7);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=[{attributes:{columns:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title")},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title")},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title")},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title")},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description")},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description")},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description")},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},title:{type:"string"},counter:{type:"string"},des:{type:"string"},fontSize:{type:"number"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n,i=e.className,r=e.attributes,l=r.columns,c=r.backgroundColorType,b=void 0===c?"":c,g=r.backgroundColor,d=r.backgroundColor2,f=r.backgroundColorDirection,h=void 0===f?0:f,v=r.backgroundType,y=void 0===v?"":v,O=r.backgroundImageURL,w=r.fixedBackground,_=r.backgroundOpacity,j=void 0===_?5:_,k=r.textColor,C=r.countColor,x=r.countSize,E=r.contentWidth,S=r.design,A=void 0===S?"plain":S,T=r.align,B=r.borderRadius,P=void 0===B?12:B,N=r.shadow,M=void 0===N?3:N,R=r.countFont,F=r.countFontWeight,D=Object(o.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==A},A,e),z="basic"===A,I=s()([i.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(l),"ugb--background-opacity-"+1*Math.round(j/1)],Object(o.applyFilters)("stackable.count-up.mainclasses_1_15_4",(m(t={"ugb--has-background-image":O},"ugb--content-width","full"===T&&E),m(t,"ugb-countup--design-".concat(A),"plain"!==A),m(t,"ugb--shadow-".concat(M),"basic"===A&&3!==M),m(t,"ugb--has-background-gradient","basic"===A&&"gradient"===b),m(t,"ugb--has-background-video","basic"===A&&"video"===y),t),A,e)),H=z?{backgroundColor:g||void 0,backgroundImage:O?"url(".concat(O,")"):void 0,"--ugb-background-color":O||"gradient"===b?g:void 0,"--ugb-background-color2":"gradient"===b&&d?d:void 0,"--ugb-background-direction":"gradient"===b?"".concat(h,"deg"):void 0,borderRadius:12!==P?P:void 0}:{},L=Object(o.applyFilters)("stackable.count-up.mainstyle_1_15_4",p({backgroundAttachment:w?"fixed":void 0},H),A,e),U={color:C||void 0,fontSize:x?x+"px":void 0,fontWeight:F||void 0};return R&&"theme"!==R&&(U.fontFamily="serif"===(n=R)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':"monospace"===n?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'),wp.element.createElement("div",{className:I,style:L},D.background&&"video"===y&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:O}),Object(o.applyFilters)("stackable.count-up.save.output.before_1_15_4",null,A,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.jb)(1,l+1).map(function(t){var n=r["title".concat(t)],a=r["description".concat(t)],i=r["countText".concat(t)],l=!u.RichText.isEmpty(n)&&wp.element.createElement(u.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:k||void 0},value:n}),c=!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:U,value:i,"data-duration":"1000","data-delay":"16"}),s=!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:k||void 0},value:a}),b={i:t,titleComp:l,countComp:c,descriptionComp:s};return Object(o.applyFilters)("stackable.count-up.save.output_1_15_4",wp.element.createElement("div",{className:"ugb-countup__item",key:t},l,c,s),b,t,e)})))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-countup([\s\{\[\.\#\:])/g,".ugb-count-up$1")};return p({},e,{columns:e.columns?e.columns:4,columnBackgroundColorType:e.backgroundColorType?e.backgroundColorType:void 0,columnBackgroundColor:e.backgroundColor?e.backgroundColor:void 0,columnBackgroundColor2:e.backgroundColor2?e.backgroundColor2:void 0,columnBackgroundGradientDirection:e.backgroundColorDirection?e.backgroundColorDirection:void 0,columnBackgroundMediaID:e.backgroundImageID?e.backgroundImageID:void 0,columnBackgroundMediaURL:e.backgroundImageURL?e.backgroundImageURL:void 0,columnBackgroundTintStrength:e.backgroundOpacity?e.backgroundOpacity:void 0,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,numberColor:e.countColor?e.countColor:void 0,numberFontSize:e.countSize?e.countSize:void 0,numberFontFamily:"theme"===e.countFont?"":e.countFont?e.countFont:void 0,numberFontWeight:e.countFontWeight?e.countFontWeight:void 0,titleColor:e.textColor?e.textColor:void 0,descriptionColor:e.textColor?e.textColor:void 0,showBlockBackground:"full"===e.align&&"basic"===e.design||void 0,blockInnerWidth:"full"!==e.align?void 0:!0===e.contentWidth?"center":"full",customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],d=n(3),f=n(10),h=function(e){var t=e.attributes.design,n=void 0===t?"plain":t;return Object(o.applyFilters)("stackable.count-up.show",{columnBackground:"boxed"===n},e)},v=n(14),y=n.n(v);function O(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t=Object(a.b)(e.attributes),n=h(e),i=[];i.push({".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("contentAlign")},tablet:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("mobileContentAlign")}}}),n.columnBackground&&i.push({".ugb-countup__item":{borderRadius:t("borderRadius","%spx !important")}});i.push(_({},n.columnBackground?Object(a.l)("column%s","ugb-countup__item",e.attributes,{importantBackgroundColor:!0}):{}));var r=e.attributes,o=r.showIcon,l=void 0!==o&&o,c=r.showNumber,s=void 0===c||c,u=r.showTitle,b=void 0===u||u,p=r.showDescription,m=void 0===p||p;l&&i.push.apply(i,O(Object(a.C)(".ugb-countup__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s&&i.push.apply(i,O(Object(a.C)(".ugb-countup__counter","number%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b&&i.push.apply(i,O(Object(a.C)(".ugb-countup__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),m&&i.push.apply(i,O(Object(a.C)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var g=e.attributes,d=g.columnBackgroundColor,f=void 0===d?"":d,v=g.showBlockBackground,w=void 0!==v&&v,j=g.blockBackgroundBackgroundColor,k=void 0===j?"":j,C=g.iconAlign,x=void 0===C?"":C,E=g.contentAlign,S=void 0===E?"":E,A=g.iconTabletAlign,T=void 0===A?"":A,B=g.tabletContentAlign,P=void 0===B?"":B,N=g.iconMobileAlign,M=void 0===N?"":N,R=g.mobileContentAlign,F=void 0===R?"":R;l&&(i.push({".ugb-countup__icon svg:not(.ugb-custom-icon)":{color:Object(a.rb)(t("iconColor"),n.columnBackground?f:w?k:"")},".ugb-countup__icon":{marginLeft:""!==x||""!==S?Object(a.c)(Object(a.db)(x||S)):void 0,marginRight:""!==x||""!==S?Object(a.c)(Object(a.eb)(x||S)):void 0},tablet:{".ugb-countup__icon svg":{marginLeft:""!==T||""!==P?Object(a.c)(Object(a.db)(T||P)):void 0,marginRight:""!==T||""!==P?Object(a.c)(Object(a.eb)(T||P)):void 0}},mobile:{".ugb-countup__icon svg":{marginLeft:""!==M||""!==F?Object(a.c)(Object(a.db)(M||F)):void 0,marginRight:""!==M||""!==F?Object(a.c)(Object(a.eb)(M||F)):void 0}}}),i.push(_({},Object(a.s)("icon%s","ugb-countup__icon",e.attributes))));var D=e.attributes.titleColor,z=void 0===D?"":D;b&&i.push({".ugb-countup__title":_({},Object(a.H)("title%s","desktop",e.attributes),{color:Object(a.rb)(z,n.columnBackground?f:w?k:""),textAlign:t("titleAlign")}),tablet:{".ugb-countup__title":_({},Object(a.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-countup__title":_({},Object(a.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var I=e.attributes.numberColor,H=void 0===I?"":I;s&&i.push({".ugb-countup__counter":_({},Object(a.H)("number%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.rb)(H,n.columnBackground?f:w?k:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":_({},Object(a.H)("number%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":_({},Object(a.H)("number%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("numberMobileAlign")})}});var L=e.attributes.descriptionColor,U=void 0===L?"":L;return m&&i.push({".ugb-countup__description":_({},Object(a.H)("description%s","desktop",e.attributes),{color:Object(a.rb)(U,n.columnBackground?f:w?k:""),textAlign:t("descriptionAlign")}),tablet:{".ugb-countup__description":_({},Object(a.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-countup__description":_({},Object(a.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}}),y.a.all(i)},C=n(280),x=n.n(C),E=n(281),S=n.n(E),A=n(1),T=n(11),B=n(12),P=n(6);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.count-up.edit.inspector.layout.before","stackable/count-up",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(d.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",A.i18n),value:"plain",image:x.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",A.i18n),Object(l.__)("Plain",A.i18n),2),value:"plain-2",image:S.a}]),onChange:function(e){return n({design:e})}},A.showProNotice&&wp.element.createElement(d.gb,null)))}),Object(o.addFilter)("stackable.count-up.edit.inspector.style.before","stackable/count-up",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.columns,c=i.borderRadius,s=void 0===c?"":c,u=i.shadow,b=void 0===u?"":u,p=i.showNumber,m=void 0===p||p,g=i.showTitle,f=void 0===g||g,v=i.showDescription,y=void 0===v||v,O=i.showIcon,w=void 0!==O&&O,_=i.numberColor,j=void 0===_?"":_,k=i.titleTag,C=void 0===k?"":k,x=i.titleColor,E=void 0===x?"":x,S=i.descriptionColor,B=void 0===S?"":S,R=h(t);return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(T.PanelBody,{title:Object(l.__)("General",A.i18n)},wp.element.createElement(d.c,{label:Object(l.__)("Columns",A.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Border Radius",A.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Shadow / Outline",A.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(d.u,{setAttributes:n,blockAttributes:t.attributes})),R.columnBackground&&wp.element.createElement(d.cb,{title:Object(l.__)("Column Background",A.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(d.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(d.cb,{title:Object(l.__)("Icon",A.i18n),id:"icon",checked:w,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon1","icon2","icon3","icon4"].concat(M(Object(a.q)("icon%s")),M(Object(a.z)("icon%sAlign"))),toggleAttributeName:"showIcon"},Object(r.range)(1,o+1).map(function(e){return wp.element.createElement(d.K,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",A.i18n),Object(l.__)("Icon",A.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(N({},"icon".concat(e),t))}})}),wp.element.createElement(d.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,onChangeIcon:!1,numPaths:Math.max.apply(Math,M(Object.values(Object(r.pick)(t.attributes,["icon1","icon2","icon3","icon4"])).map(function(e){return Object(a.hb)(e)||1})))}),wp.element.createElement(d.hb,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Title",A.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("title%s")),["titleTag","titleColor"],M(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(d.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(d.J,{value:C||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(d.s,{value:E,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Number",A.i18n),id:"number",checked:m,onChange:function(e){return n({showNumber:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("number%s")),["numberColor"],M(Object(a.z)("Number%sAlign"))),toggleAttributeName:"showNumber"},wp.element.createElement(d.rb,{attrNameTemplate:"number%s",setAttributes:n,blockAttributes:t.attributes,fontSizeProps:{max:[150,10]}}),wp.element.createElement(d.s,{value:j,onChange:function(e){return n({numberColor:e})},label:Object(l.__)("Number Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Description",A.i18n),id:"description",checked:y,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("description%s")),["descriptionColor"],M(Object(a.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(d.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(d.s,{value:B,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.db,{initialOpen:!1,blockProps:t},w&&wp.element.createElement(d.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Icon",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),f&&wp.element.createElement(d.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Title",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),m&&wp.element.createElement(d.hb,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Number",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),y&&wp.element.createElement(d.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Description",A.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"}))))});var R=Object(B.compose)(f.i,f.g,f.d,Object(f.h)(),Object(f.c)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(f.a)(k,{editorMode:!0}),Object(f.b)([[".ugb-container__wrapper","column-background"],[".ugb-countup__icon svg","icon"],[".ugb-countup__title","title"],[".ugb-countup__counter","number"],[".ugb-countup__description","description"]]))(function(e){var t=e.setAttributes,n=e.className,a=e.attributes,i=a.columns,c=a.design,b=void 0===c?"plain":c,p=a.titleTag,m=void 0===p?"":p,g=a.showIcon,f=void 0!==g&&g,v=a.showNumber,y=void 0===v||v,O=a.showTitle,w=void 0===O||O,_=a.showDescription,j=void 0===_||_,k=s()([n,"ugb-countup--v4","ugb-countup--columns-".concat(i)],Object(o.applyFilters)("stackable.count-up.mainclasses",N({},"ugb-countup--design-".concat(b),"plain"!==b),b,e)),C=h(e);return wp.element.createElement(d.k.Edit,{className:k,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,i+1).map(function(n){var i=a["icon".concat(n)],r=a["title".concat(n)],c=a["description".concat(n)],p=a["countText".concat(n)],g=f&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:i,onChange:function(e){return t(N({},"icon".concat(n),e))}})),h=w&&wp.element.createElement(u.RichText,{tagName:m||"h4",className:"ugb-countup__title",value:r,placeholder:Object(l.__)("Title",A.i18n),onChange:function(e){return t(N({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),v=y&&wp.element.createElement(u.RichText,{tagName:"div",className:"ugb-countup__counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:p,onChange:function(e){return t(N({},"countText".concat(n),e))},keepPlaceholderOnFocus:!0}),O=j&&wp.element.createElement(u.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",A.i18n),value:c,onChange:function(e){return t(N({},"description".concat(n),e))},keepPlaceholderOnFocus:!0}),_={i:n,iconComp:g,titleComp:h,countComp:v,descriptionComp:O},k=s()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},b,e));return wp.element.createElement(d.D,{className:k,backgroundAttrName:"column%s",blockProps:e,showBackground:C.columnBackground,key:n},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,g,"plain-2"===b&&v,h,"plain-2"!==b&&v,O),_,n,e))}))}})});var F=Object(B.compose)(f.i,Object(f.a)(k))(function(e){var t,n,a,i=e.className,l=e.attributes,c=l.columns,b=l.design,p=void 0===b?"plain":b,m=l.titleTag,g=void 0===m?"":m,f=l.showIcon,v=void 0!==f&&f,y=l.showNumber,O=void 0===y||y,w=l.showTitle,_=void 0===w||w,j=l.showDescription,k=void 0===j||j,C=s()([i,"ugb-countup--v4","ugb-countup--columns-".concat(c)],Object(o.applyFilters)("stackable.count-up.mainclasses",(t={},n="ugb-countup--design-".concat(p),a="plain"!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),p,e)),x=h(e);return wp.element.createElement(d.k.Save,{className:C,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,c+1).map(function(t){var n=l["icon".concat(t)],a=l["title".concat(t)],i=l["description".concat(t)],r=l["countText".concat(t)],c=v&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:n})),b=_&&!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:g||"h4",className:"ugb-countup__title",value:a}),m=O&&!u.RichText.isEmpty(r)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:r,"data-duration":"1000","data-delay":"16"}),f=k&&!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:i}),h={i:t,iconComp:c,titleComp:b,countComp:m,descriptionComp:f},y=s()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},p,e));return wp.element.createElement(d.D,{className:y,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:t},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,c,"plain-2"===p&&m,b,"plain-2"!==p&&m,f),h,t,e))}))}})});function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return I}),n.d(t,"name",function(){return H}),n.d(t,"settings",function(){return L});var I=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(n,!0).forEach(function(t){z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},columns:{type:"number",default:2}},Object(a.j)("column%s"),{},Object(a.A)("icon%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("number%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("description%sBottomMargin",{type:"number",default:""}),{showIcon:{type:"boolean",default:!1},icon1:{type:"string",source:"html",selector:".ugb-countup__item1 .ugb-icon-inner-svg,.ugb-countup__item1 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-cogs"},icon2:{type:"string",source:"html",selector:".ugb-countup__item2 .ugb-icon-inner-svg,.ugb-countup__item2 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-hands-helping"},icon3:{type:"string",source:"html",selector:".ugb-countup__item3 .ugb-icon-inner-svg,.ugb-countup__item3 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-envelope"},icon4:{type:"string",source:"html",selector:".ugb-countup__item4 .ugb-icon-inner-svg,.ugb-countup__item4 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-globe-americas"}},Object(a.r)("icon%s"),{showNumber:{type:"boolean",default:!0}},Object(a.G)("number%s"),{numberColor:{type:"string",default:""},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.G)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(a.G)("description%s"),{descriptionColor:{type:"string",default:""}},Object(a.h)("%s%sAlign",{type:"string",default:""},["Icon","Number","Title","Description"],["","Tablet","Mobile"]),{},Object(a.h)("Column%s%sColor",{type:"string",default:""},["1","2","3","4"],["Background","Icon"])),H="ugb/count-up",L={title:Object(l.__)("Count Up",A.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",A.i18n),icon:i.i,category:"common",keywords:[Object(l.__)("Statistics",A.i18n),Object(l.__)("Count Up",A.i18n),Object(l.__)("Stackable",A.i18n)],attributes:I,supports:{align:["center","wide","full"],inserter:!A.disabledBlocks.includes(H)},deprecated:g,edit:R,save:F,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.count-up.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.design.no-text-attributes","stackable/image-box",function(e){return Object(a.omit)(e,["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"])}),Object(i.addFilter)("stackable.image-box.design.filtered-block-attributes","stackable/image-box",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["link1Url","link2Url","link3Url","link4Url","link1NewTab","link2NewTab","link3NewTab","link4NewTab","link1NoFollow","link2NoFollow","link3NoFollow","link4NoFollow","image1Id"].concat(r(t&&t.image1Id?["image1Url"]:[]),["image2Id"],r(t&&t.image2Id?["image2Url"]:[]),["image3Id"],r(t&&t.image3Id?["image3Url"]:[]),["image4Id"],r(t&&t.image4Id?["image4Url"]:[])))});var o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M116.8 106.6l50.8-52.7-50.9-52.7c-1.5-1.6-4.1-1.6-5.7-.1-1.6 1.5-1.6 4.1-.1 5.7l41.6 43.1H4c-2.2 0-4 1.7-4 3.9s1.7 4 3.9 4.1h148.7L111 101c-1.5 1.6-1.4 4.1.1 5.6 1.6 1.6 4.1 1.5 5.7 0z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(2),p=n(8),m=n.n(p),g=n(1),d=n(0),f=n(7);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={align:{type:"string"},columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayOpacity:{type:"number",default:7},imageHoverEffect:{type:"string",default:""},arrow:{type:"string",default:""},hoverEffect:{type:"string",default:""},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}};[1,2,3,4].forEach(function(e){y["title".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__title"),default:Object(d.__)("Title",g.i18n)},y["description".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__description"),default:Object(d.__)("Description",g.i18n)},y["imageURL".concat(e)]={type:"string"},y["imageID".concat(e)]={type:"number"},y["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"href",default:""},y["newTab".concat(e)]={type:"boolean",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"target",default:!1}});var O=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var a,r=n.className,o=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,p=l.overlayColor,g=l.height,d=l.width,h=l.verticalAlign,y=l.horizontalAlign,O=l.align,w=l.columns,_=l.design,j=void 0===_?"basic":_,k=l.borderRadius,C=void 0===k?12:k,x=l.shadow,E=void 0===x?3:x,S=l.imageHoverEffect,A=void 0===S?"":S,T=l.overlayOpacity,B=void 0===T?7:T,P=l.arrow,N=void 0===P?"":P,M=m()([r,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(a={},"ugb-image-box--design-".concat(j),"basic"!==j),v(a,"ugb-image-box--effect-".concat(A),A),v(a,"ugb-image-box--overlay-".concat(B),7!==B),v(a,"ugb-image-box--arrow",N),a),j,n)),R={textAlign:y||void 0,"--overlay-color":p};return wp.element.createElement("div",{className:M,style:R},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,j,n),Object(b.jb)(1,w+1).map(function(a){var r=o["imageURL".concat(a)],l=o["title".concat(a)],b=o["description".concat(a)],p=o["link".concat(a)],_=o["newTab".concat(a)],k={backgroundImage:r?"url(".concat(r,")"):void 0,maxWidth:"wide"!==O&&"full"!==O&&1===w?d:void 0,height:g,textAlign:y,justifyContent:h,borderRadius:C},x=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(E),3!==E),j,a,n)),S=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(N)]);return wp.element.createElement("div",{className:x,style:k,key:a},A&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:r?"url(".concat(r,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:p,target:_?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(l)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:e?{color:c}:void 0,value:l}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:t?{color:s}:void 0,value:b})),N&&p&&wp.element.createElement("div",{className:S},wp.element.createElement(u,{style:{fill:c||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,j,n))}},w=function(e){var t=function(e){return(e||"").replace(/\.ugb-image-box__overlay(\s*{)/g,".ugb-image-box__overlay-hover$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),blockWidth:1===e.columns&&"full"!==e.align?e.width:void 0,columnHeight:e.height,columnContentVerticalAlign:e.verticalAlign,contentAlign:e.horizontalAlign,link1Url:e.link1,link2Url:e.link2,link3Url:e.link3,link4Url:e.link4,link1NewTab:e.newTab1,link2NewTab:e.newTab2,link3NewTab:e.newTab3,link4NewTab:e.newTab4,image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image4Id:e.imageID4,image1Url:e.imageURL1,image2Url:e.imageURL2,image3Url:e.imageURL3,image4Url:e.imageURL4,image1FullUrl:e.imageURL1,image2FullUrl:e.imageURL2,image3FullUrl:e.imageURL3,image4FullUrl:e.imageURL4,imageSize:"full",showOverlay:!1,showOverlayHover:!0,overlayHoverBackgroundColor:e.overlayColor,overlayHoverOpacity:isNaN(parseInt(e.overlayOpacity,10))?.7:parseInt(e.overlayOpacity,10)/10,showArrow:!!e.arrow,arrowAlign:e.arrow?e.arrow:void 0,arrowColor:e.titleColor,descriptionColor:e.subtitleColor,showSubtitle:!1,borderRadius:1===e.columns&&"full"===e.align?0:e.borderRadius,paddingRight:1===e.columns&&"full"===e.align?0:void 0,paddingLeft:1===e.columns&&"full"===e.align?0:void 0})},_=[{attributes:y,save:function(e){var t,n=e.className,a=e.attributes,r=e.attributes,o=r.titleColor,l=r.subtitleColor,c=r.overlayColor,s=r.height,p=r.width,g=r.verticalAlign,d=r.horizontalAlign,h=r.align,y=r.columns,O=r.design,w=void 0===O?"basic":O,_=r.borderRadius,j=void 0===_?12:_,k=r.shadow,C=void 0===k?3:k,x=r.imageHoverEffect,E=void 0===x?"":x,S=r.overlayOpacity,A=void 0===S?7:S,T=r.arrow,B=void 0===T?"":T,P=m()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(y)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(t={},"ugb-image-box--design-".concat(w),"basic"!==w),v(t,"ugb-image-box--effect-".concat(E),E),v(t,"ugb-image-box--overlay-".concat(A),7!==A),v(t,"ugb-image-box--arrow",B),t),w,e)),N={textAlign:d||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:P,style:N},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,w,e),Object(b.jb)(1,y+1).map(function(t){var n=a["imageURL".concat(t)],r=a["title".concat(t)],c=a["description".concat(t)],b=a["link".concat(t)],O=a["newTab".concat(t)],_={backgroundImage:n?"url(".concat(n,")"):void 0,maxWidth:"wide"!==h&&"full"!==h&&1===y?p:void 0,height:s,textAlign:d,justifyContent:g,borderRadius:j},k=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(C),3!==C),w,t,e)),x=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(B)]);return wp.element.createElement("div",{className:k,style:_,key:t},E&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:n?"url(".concat(n,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:b,target:O?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(r)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:{color:o},value:r}),!f.RichText.isEmpty(c)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:{color:l},value:c})),B&&b&&wp.element.createElement("div",{className:x},wp.element.createElement(u,{style:{fill:o||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,w,e))},migrate:w},{attributes:y,save:O(!1,!1),migrate:w},{attributes:y,save:O(!0,!1),migrate:w},{attributes:y,save:O(!1,!0),migrate:w}],j=n(3),k=n(10),C=n(292),x=n.n(C),E=n(293),S=n.n(E),A=n(14),T=n.n(A),B=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showSubtitle,o=void 0===r||r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,p=void 0!==b&&b;return Object(i.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:o,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:p},e)};function P(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){var t=Object(b.b)(e.attributes),n=B(e),a=[];n.borderRadius&&a.push({".ugb-image-box__box":{borderRadius:Object(b.c)(t("borderRadius","%spx !important"))}}),a.push({".ugb-image-box__item":{height:Object(b.c)(t("columnHeight","%spx"))},tablet:{".ugb-image-box__item":{height:Object(b.c)(t("tabletColumnHeight","%spx"))}},mobile:{".ugb-image-box__item":{height:Object(b.c)(t("mobileColumnHeight","%spx"))}}}),a.push({".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentVerticalAlign"))},tablet:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentTabletVerticalAlign"))}},mobile:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentMobileVerticalAlign"))}}}),a.push({".ugb-image-box__item1 .ugb-image-box__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-image-box__item2 .ugb-image-box__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-image-box__item3 .ugb-image-box__image":{backgroundImage:t("image3Url","url(%s)")},".ugb-image-box__item4 .ugb-image-box__image":{backgroundImage:t("image4Url","url(%s)")},".ugb-image-box__image":{backgroundPosition:Object(b.c)(t("imageBackgroundPosition")),backgroundRepeat:Object(b.c)(t("imageBackgroundRepeat")),backgroundSize:Object(b.c)(t("imageBackgroundSize"))}});var i=e.attributes.showOverlay;void 0!==i&&i&&a.push({".ugb-image-box__overlay":M({},Object(b.m)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.k)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:not(:hover) .ugb-image-box__overlay":{opacity:Object(b.c)(t("overlayOpacity"))}});var r=e.attributes.showOverlayHover;void 0!==r&&r&&a.push({".ugb-image-box__overlay-hover":M({},Object(b.m)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.k)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:hover .ugb-image-box__overlay-hover":{opacity:Object(b.c)(t("overlayHoverOpacity"))}});var o=e.attributes.showSubtitle;(void 0===o||o)&&a.push({".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("subtitleColor")),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-image-box__subtitle":M({},Object(b.H)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var l=e.attributes.showTitle;(void 0===l||l)&&a.push({".ugb-image-box__title":M({},Object(b.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("titleColor")),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-image-box__title":M({},Object(b.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-image-box__title":M({},Object(b.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var c=e.attributes.showDescription;(void 0===c||c)&&a.push({".ugb-image-box__description":M({},Object(b.H)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("descriptionColor")),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-image-box__description":M({},Object(b.H)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-image-box__description":M({},Object(b.H)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var s=e.attributes.showArrow;return void 0!==s&&s&&(a.push({".ugb-image-box__arrow svg":{fill:Object(b.c)(t("arrowColor"))}}),a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow svg","arrow%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow","arrow%sAlign","textAlign","%s",e.attributes,!0)))),n.subtitleSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.arrowSpacing&&a.push.apply(a,P(Object(b.C)(".ugb-image-box__arrow","arrow%sBottomMargin","marginBottom","%spx",e.attributes,!0))),T.a.all(a)},D=n(11),z=n(6),I=n(12),H=n(13);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.edit.inspector.layout.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(j.A,{initialOpen:!0,selected:r,options:[{image:x.a,label:Object(d.__)("Basic",g.i18n),value:"basic"},{image:S.a,label:Object(d.__)("Plain",g.i18n),value:"plain"}].concat(J(Object(i.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},g.showProNotice&&wp.element.createElement(j.gb,null)))}),Object(i.addFilter)("stackable.image-box.edit.inspector.style.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.design,o=void 0===r?"basic":r,l=a.columns,c=void 0===l?3:l,s=a.titleColor,u=a.descriptionColor,p=a.borderRadius,m=void 0===p?"":p,f=a.shadow,h=void 0===f?"":f,v=a.showTitle,y=void 0===v||v,O=a.showDescription,w=void 0===O||O,_=a.titleTag,k=void 0===_?"":_,C=a.image1Id,x=void 0===C?"":C,E=a.image2Id,S=void 0===E?"":E,A=a.image3Id,T=void 0===A?"":A,P=a.image4Id,N=void 0===P?"":P,M=a.imageHoverEffect,R=void 0===M?"":M,F=a.showOverlay,I=void 0!==F&&F,H=a.showOverlayHover,L=void 0===H||H,U=a.overlayOpacity,W=void 0===U?.7:U,G=a.overlayHoverOpacity,V=void 0===G?.7:G,q=a.showSubtitle,Y=void 0===q||q,X=a.subtitleColor,K=void 0===X?"":X,$=a.lineColor,Z=void 0===$?"":$,Q=a.lineSize,ee=void 0===Q?"":Q,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,ie=void 0===ae?"":ae,re=B(t);return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(D.PanelBody,{title:Object(d.__)("General",g.i18n)},wp.element.createElement(j.c,{label:Object(d.__)("Columns",g.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),wp.element.createElement(j.hb,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Height",g.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350",className:"ugb--help-tip-image-box-height"})),re.borderRadius&&wp.element.createElement(j.c,{label:Object(d.__)("Border Radius",g.i18n),value:m,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),re.shadow&&wp.element.createElement(j.c,{label:Object(d.__)("Shadow / Outline",g.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(j.hb,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.e,{label:Object(d.__)("Content Vertical Align",g.i18n),controls:"flex-vertical",className:"ugb--help-tip-advanced-column-content-vertical-align"})),wp.element.createElement(j.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(D.PanelBody,{title:Object(d.__)("Image",g.i18n),initialOpen:!1},wp.element.createElement(j.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(b.R)(x,e||"large"),image2Url:Object(b.R)(S,e||"large"),image3Url:Object(b.R)(T,e||"large"),image4Url:Object(b.R)(N,e||"large")})}})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Color",g.i18n),checked:I,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat(J(Object(b.i)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay",className:"ugb--help-tip-image-box-overlay"},wp.element.createElement(j.h,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Hover Color",g.i18n),checked:L,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat(J(Object(b.i)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover",className:"ugb--help-tip-image-box-overlay-hover"},wp.element.createElement(j.h,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:V,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(D.PanelBody,{title:Object(d.__)("Effects",g.i18n),initialOpen:!1},wp.element.createElement(D.SelectControl,{label:Object(d.__)("Image Hover Effect",g.i18n),options:Object(i.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(d.__)("None",g.i18n),value:""},{label:Object(d.__)("Zoom In",g.i18n),value:"zoom-in"},{label:Object(d.__)("Zoom Out",g.i18n),value:"zoom-out"}]),value:R,onChange:function(e){return n({imageHoverEffect:e})},className:"ugb--help-tip-image-box-hover-effect"}),Object(i.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),g.showProNotice&&wp.element.createElement(j.gb,{type:"effect"})),re.line&&wp.element.createElement(j.cb,{title:Object(d.__)("Line",g.i18n),hasToggle:!1},wp.element.createElement(j.s,{value:Z,onChange:function(e){return n({lineColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"10",value:ee,onChange:function(e){return n({lineSize:e})},allowReset:!0,placeholder:"box"===o?1:12})),wp.element.createElement(j.cb,{title:Object(d.__)("Subtitle",g.i18n),id:"subtitle",checked:Y,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("subtitle%s")),["subtitleColor"],J(Object(b.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(j.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.s,{value:K,onChange:function(e){return n({subtitleColor:e})},label:Object(d.__)("Subtitle Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-subtitle-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Title",g.i18n),id:"title",checked:y,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("title%s")),["titleTag","titleColor"],J(Object(b.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(j.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.J,{value:k||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(j.s,{value:s,onChange:function(e){return n({titleColor:e})},label:Object(d.__)("Title Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-title-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Description",g.i18n),id:"description",checked:w,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(J(Object(b.F)("description%s")),["descriptionColor"],J(Object(b.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(j.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.s,{value:u,onChange:function(e){return n({descriptionColor:e})},label:Object(d.__)("Description Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-description-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Arrow",g.i18n),id:"arrow",checked:ne,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowColor"].concat(J(Object(b.z)("Arrow%sSize")),J(Object(b.z)("Arrow%sAlign"))),toggleAttributeName:"showArrow"},wp.element.createElement(j.s,{value:ie,onChange:function(e){return n({arrowColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"50",allowReset:!0})),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-arrow-align"}))),wp.element.createElement(j.db,{initialOpen:!1,blockProps:t},re.subtitleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Subtitle",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-subtitle-spacing"})),re.titleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Title",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-title-spacing"})),re.lineSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Line",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-line-spacing"})),re.descriptionSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Description",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-description-spacing"})),re.arrowSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Arrow",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-arrow-spacing"}))))});var Y=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=G(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?V(n):a).state={selectedBox:null},e.handleFocusOutside=e.handleFocusOutside.bind(V(e)),e}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(t,z["Component"]),n=t,(r=[{key:"handleFocusOutside",value:function(){this.setState({selectedBox:null})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,o=n.setAttributes,l=n.attributes,c=l.columns,s=void 0===c?3:c,b=l.contentAlign,p=void 0===b?"":b,h=l.design,v=void 0===h?"basic":h,y=l.shadow,O=void 0===y?"":y,w=l.imageSize,_=void 0===w?"large":w,k=l.imageHoverEffect,C=void 0===k?"":k,x=l.showSubtitle,E=void 0===x||x,S=l.showTitle,A=void 0===S||S,T=l.showDescription,P=void 0===T||T,N=l.showArrow,M=void 0!==N&&N,R=l.titleTag,F=void 0===R?"":R,D=l.showOverlay,I=void 0!==D&&D,H=l.showOverlayHover,L=void 0===H||H,W=m()([r,"ugb-image-box--v4","ugb-image-box--columns-".concat(s),"ugb-image-box--design-".concat(v)],Object(i.applyFilters)("stackable.image-box.mainclasses",(U(e={},"ugb-image-box--effect-".concat(C),C),U(e,"ugb-image-box--with-arrow",M),U(e,"ugb-image-box--align-".concat(p),p),e),this.props)),G=B(this.props);return wp.element.createElement(j.k.Edit,{className:W,blockProps:this.props,render:function(){return wp.element.createElement(z.Fragment,null,Object(a.range)(1,s+1).map(function(e){var n=m()(["ugb-image-box__item","ugb-image-box__item".concat(e),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",U({},"ugb--shadow-".concat(O),G.columnBackground&&""!==O),t.props,e));return wp.element.createElement("div",{className:n,key:e,onMouseDown:function(){return t.setState({selectedBox:e})},role:"button",tabIndex:"0"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement(j.Y,{imageID:l["image".concat(e,"Id")],imageURL:l["image".concat(e,"Url")],imageSize:_,className:"ugb-image-box__box ugb-image-box__image",onRemove:function(){var t;o((U(t={},"image".concat(e,"Id"),""),U(t,"image".concat(e,"Url"),""),U(t,"image".concat(e,"FullWidth"),""),U(t,"image".concat(e,"FullHeight"),""),U(t,"image".concat(e,"FullUrl"),""),t))},onChange:function(t){var n;o((U(n={},"image".concat(e,"Id"),t.id),U(n,"image".concat(e,"Url"),t.url),U(n,"image".concat(e,"FullWidth"),t.sizes.full.width),U(n,"image".concat(e,"FullHeight"),t.sizes.full.height),U(n,"image".concat(e,"FullUrl"),t.sizes.full.url),n))}})),I&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),L&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(E||A)&&wp.element.createElement("div",{className:"ugb-image-box__header"},E&&wp.element.createElement(f.RichText,{tagName:"div",className:"ugb-image-box__subtitle",value:l["subtitle".concat(e)],onChange:function(t){return o(U({},"subtitle".concat(e),t))},placeholder:Object(d.__)("Subtitle",g.i18n),keepPlaceholderOnFocus:!0}),A&&wp.element.createElement(f.RichText,{tagName:F||"h4",className:"ugb-image-box__title",value:l["title".concat(e)],onChange:function(t){return o(U({},"title".concat(e),t))},placeholder:Object(d.__)("Title",g.i18n),keepPlaceholderOnFocus:!0})),P&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-image-box__description",value:l["description".concat(e)],onChange:function(t){return o(U({},"description".concat(e),t))},placeholder:Object(d.__)("Description",g.i18n),keepPlaceholderOnFocus:!0})),M&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),t.state.selectedBox===e&&wp.element.createElement(j.tb,{value:l["link".concat(e,"Url")],onChange:function(t){return o(U({},"link".concat(e,"Url"),t))},newTab:l["link".concat(e,"NewTab")],noFollow:l["link".concat(e,"NoFollow")],onChangeNewTab:function(t){return o(U({},"link".concat(e,"NewTab"),t))},onChangeNoFollow:function(t){return o(U({},"link".concat(e,"NoFollow"),t))}}))}))}})}}])&&W(n.prototype,r),o&&W(n,o),t}(),X=Object(I.compose)(k.i,k.g,k.d,Object(k.h)(),Object(k.c)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(k.a)(F,{editorMode:!0}),Object(k.b)([[".ugb-image-box__title","title"],[".ugb-image-box__subtitle","subtitle"],[".ugb-image-box__description","description"],[".ugb-image-box__arrow svg","arrow"]]),Object(H.withSelect)(function(e,t){Object(b.f)(t.attributes.image1Id,e),Object(b.f)(t.attributes.image2Id,e),Object(b.f)(t.attributes.image3Id,e),Object(b.f)(t.attributes.image4Id,e)}),D.withFocusOutside)(Y);function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=Object(I.compose)(k.i,Object(k.a)(F))(function(e){var t,n=e.className,r=e.attributes,o=r.columns,l=void 0===o?2:o,c=r.contentAlign,s=void 0===c?"":c,b=r.design,p=void 0===b?"basic":b,g=r.titleTag,d=void 0===g?"":g,h=r.shadow,v=void 0===h?"":h,y=r.showOverlay,O=void 0!==y&&y,w=r.showOverlayHover,_=void 0===w||w,k=r.showSubtitle,C=void 0===k||k,x=r.showTitle,E=void 0===x||x,S=r.showDescription,A=void 0===S||S,T=r.showArrow,P=void 0!==T&&T,N=r.imageHoverEffect,M=void 0===N?"":N,R=m()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(p)],Object(i.applyFilters)("stackable.image-box.mainclasses",(K(t={},"ugb-image-box--effect-".concat(M),M),K(t,"ugb-image-box--with-arrow",P),K(t,"ugb-image-box--align-".concat(s),s),t),e)),F=B(e);return wp.element.createElement(j.k.Save,{className:R,blockProps:e,render:function(){return wp.element.createElement(z.Fragment,null,Object(a.range)(1,l+1).map(function(t){var n=r["subtitle".concat(t)],a=r["title".concat(t)],o=r["description".concat(t)],l=E&&!f.RichText.isEmpty(a)?a:C&&!f.RichText.isEmpty(n)?n:A&&!f.RichText.isEmpty(o)?o:"",c=m()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",K({},"ugb--shadow-".concat(v),F.columnBackground&&""!==v),e,t)),s=[];return r["link".concat(t,"NewTab")]&&(s.push("noopener"),s.push("noreferrer")),r["link".concat(t,"NoFollow")]&&s.push("nofollow"),wp.element.createElement("div",{className:c,key:t},r["image".concat(t,"Url")]&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image",role:"img","aria-label":l})),O&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),_&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(C||E)&&wp.element.createElement("div",{className:"ugb-image-box__header"},C&&!f.RichText.isEmpty(n)&&wp.element.createElement(f.RichText.Content,{tagName:"div",className:"ugb-image-box__subtitle",value:n}),E&&!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:d||"h4",className:"ugb-image-box__title",value:a})),A&&!f.RichText.isEmpty(o)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:o})),P&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),r["link".concat(t,"Url")]&&wp.element.createElement("a",{className:"ugb-image-box__overlay-link",href:r["link".concat(t,"Url")],target:r["link".concat(t,"NewTab")]?"_blank":void 0,rel:s.join(" ")||void 0,title:l,"aria-label":l},null))}))}})}),Z=n(16);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return te}),n.d(t,"name",function(){return ne}),n.d(t,"settings",function(){return ae});var te=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(n,!0).forEach(function(t){ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.h)("link%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-image-box__item%d .ugb-image-box__overlay-link",attribute:"href"},["1","2","3","4"]),{},Object(b.h)("link%s%s",{type:"boolean",default:""},["1","2","3","4"],["NewTab","NoFollow"]),{},Object(b.t)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(b.v)("image%s"),{imageSize:{type:"string",default:"large"}},Object(b.h)("image%s%s",{type:"number",default:""},["1","2","3","4"],["Id","FullWidth","FullHeight"]),{},Object(b.h)("image%s%s",{type:"string",default:""},["1","2","3","4"],["Url","FullUrl"]),{showOverlay:{type:"boolean",default:!1}},Object(b.j)("overlay%s"),{overlayOpacity:{type:"number",default:.7},showOverlayHover:{type:"boolean",default:!0}},Object(b.j)("overlayHover%s"),{overlayHoverOpacity:{type:"number",default:.7}},Object(b.A)("imageBackground%sHeight",{type:"number",default:""}),{imageHoverEffect:{type:"string",default:""},hoverEffect:{type:"string",default:""},lineColor:{type:"string",default:""},lineSize:{type:"number",default:""}},Object(b.A)("Line%sAlign",{type:"string",default:""}),{},Object(b.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__subtitle",default:Object(d.__)("Subtitle",g.i18n)},["1","2","3","4"]),{showSubtitle:{type:"boolean",default:!0}},Object(b.G)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(b.h)("title%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__title",default:Object(d.__)("Title",g.i18n)},["1","2","3","4"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(b.G)("title%s"),{titleColor:{type:"string",default:""}},Object(b.h)("description%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__description",default:Object(d.__)("Description",g.i18n)},["1","2","3","4"]),{showDescription:{type:"boolean",default:!0}},Object(b.G)("description%s"),{descriptionColor:{type:"string",default:""},showArrow:{type:"boolean",default:!1},arrowColor:{type:"string",default:""}},Object(b.A)("Arrow%sSize",{type:"number",default:""}),{},Object(b.A)("Arrow%sAlign",{type:"string",default:""}),{},Object(b.h)("%s%sAlign",{type:"string",default:""},["Subtitle","Title","Description","Arrow"],["","Tablet","Mobile"]),{},Object(b.h)("%s%sBottomMargin",{type:"number",default:""},["Subtitle","Title","Line","Description","Arrow"],["","Tablet","Mobile"])),ne="ugb/image-box",ae={title:Object(d.__)("Image Box",g.i18n),description:Object(d.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",g.i18n),icon:Z.r,category:"layout",keywords:[Object(d.__)("Image Box",g.i18n),Object(d.__)("Stackable",g.i18n)],supports:{align:["center","wide","full"],inserter:!g.disabledBlocks.includes(ne)},attributes:te,deprecated:_,edit:X,save:$,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(i.addFilter)("stackable.image-box.advanced-column-spacing.styles","stackable/image-box/column-height",function(e){return e["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.tablet["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.mobile["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e})},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(1),o=n(9),l=n(5);Object(l.addFilter)("stackable.cta.design.no-text-attributes","stackable/cta",function(e){return Object(o.omit)(e,["title","description","buttonText"])}),Object(l.addFilter)("stackable.cta.design.filtered-block-attributes","stackable/cta",function(e){return Object(o.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var c=n(19),s=n(0),u=n(8),b=n.n(u),p=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:Object(s.__)("Title for This Block")},bodyText:{source:"html",selector:"p",default:Object(a.J)()},buttonText:{source:"html",selector:".ugb-button span",default:Object(s.__)("Button text")},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.url,r=a.buttonText,o=a.ctaTitle,s=a.bodyText,u=a.color,m=a.textColor,f=a.size,h=a.borderButtonRadius,v=a.bodyTextColor,y=a.titleColor,O=a.backgroundColorType,w=void 0===O?"":O,_=a.backgroundColor,j=a.backgroundColor2,k=a.backgroundColorDirection,C=void 0===k?0:k,x=a.backgroundType,E=void 0===x?"":x,S=a.backgroundImageURL,A=a.backgroundOpacity,T=a.fixedBackground,B=a.buttonDesign,P=a.buttonIcon,N=a.design,M=void 0===N?"basic":N,R=a.borderRadius,F=void 0===R?12:R,D=a.shadow,z=void 0===D?3:D,I=a.align,H=a.contentWidth,L=a.newTab,U="plain"!==M,W=b()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(A/1)],Object(l.applyFilters)("stackable.cta.mainclasses_1_15_5",(d(t={},"ugb-cta--design-".concat(M),"basic"!==M),d(t,"ugb--shadow-".concat(z),"plain"!==M&&3!==z),d(t,"ugb--has-background",_||S),d(t,"ugb--has-background-image",S),d(t,"ugb-content-width","full"===I&&H),d(t,"ugb--has-background-gradient",U&&"gradient"===w),d(t,"ugb--has-background-video",U&&"video"===E),t),M,e)),G=g({backgroundAttachment:T?"fixed":void 0},U?{backgroundColor:_||void 0,backgroundImage:S?"url(".concat(S,")"):void 0,"--ugb-background-color":S||"gradient"===w?_:void 0,"--ugb-background-color2":"gradient"===w&&j?j:void 0,"--ugb-background-direction":"gradient"===w?"".concat(C,"deg"):void 0,borderRadius:12!==F?F:void 0}:{});return wp.element.createElement("div",{className:W,style:G},U&&"video"===E&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:S}),Object(l.applyFilters)("stackable.cta.save.output.before_1_15_5",null,M,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},o&&!!o.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:o}),s&&!!s.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:s}),r&&!!r.length&&wp.element.createElement(c.b,{size:f,url:i,color:m,text:r,design:B,icon:P,backgroundColor:u,borderRadius:h,newTab:L})))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-cta(\s*{)/g,"\n.ugb-cta__item$1").replace(/\.ugb-content-wrapper/g,".ugb-cta__item")};return g({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.ctaTitle||"",titleColor:e.titleColor||"",description:e.bodyText||"",descriptionColor:e.bodyTextColor||"",buttonUrl:e.url,buttonNewTab:e.newTab,buttonBackgroundColor:e.color,buttonTextColor:e.textColor,buttonSize:e.size,buttonDesign:e.buttonDesign,buttonBorderRadius:e.borderButtonRadius,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],h=n(3),v=n(10),y=n(14),O=n.n(y),w=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showBlockBackground,r=void 0!==i&&i,o=t.blockInnerWidth,c=void 0===o?"":o,s=t.align,u=void 0===s?"":s,b=t.showTitle,p=void 0===b||b,m=t.showDescription,g=void 0===m||m,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(r?"full"===c&&(h=!1):h=!1),Object(l.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:p,descriptionSpacing:g,buttonSpacing:f},e)};function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,i=n.columnBackgroundColor,r=void 0===i?"":i,o=n.columnBackgroundColorOpacity,l=void 0===o?1:o,c=w(e),s=[];s.push({".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:Object(a.c)(t("contentAlign"))},tablet:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),c.borderRadius&&s.push({".ugb-cta__item":{borderRadius:t("borderRadius","%spx !important")}});s.push(k({},c.columnBackground?Object(a.l)("column%s","ugb-cta__item",e.attributes,{importantBackgroundColor:!0}):{})),c.titleSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-cta__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.descriptionSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-cta__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.buttonSpacing&&s.push.apply(s,_(Object(a.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var u=e.attributes,b=u.titleColor,p=void 0===b?"":b,m=u.showTitle;(void 0===m||m)&&s.push({".ugb-cta__title":k({},Object(a.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.rb)(p,0!==l?r:null),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-cta__title":k({},Object(a.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-cta__title":k({},Object(a.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes,d=g.descriptionColor,f=void 0===d?"":d,h=g.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":k({},Object(a.H)("description%s","desktop",e.attributes),{color:Object(a.rb)(f,0!==l?r:null),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-cta__description":k({},Object(a.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-cta__description":k({},Object(a.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}});var v=e.attributes.showButton;return(void 0===v||v)&&(s.push(k({},Object(a.p)("button%s","ugb-button",e.attributes))),s.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),O.a.all(s)},E=n(270),S=n.n(E),A=n(271),T=n.n(A),B=n(11),P=n(12),N=n(6);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(l.addFilter)("stackable.cta.edit.inspector.layout.before","stackable/cta",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(h.A,{initialOpen:!0,selected:i,options:Object(l.applyFilters)("stackable.cta.edit.layouts",[{label:Object(s.__)("Basic",r.i18n),value:"basic",image:S.a},{label:Object(s.__)("Plain",r.i18n),value:"plain",image:T.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(h.gb,null)))}),Object(l.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.titleColor,l=i.descriptionColor,c=i.borderRadius,u=void 0===c?"":c,b=i.shadow,p=void 0===b?"":b,m=i.showTitle,g=void 0===m||m,d=i.showDescription,f=void 0===d||d,v=i.showButton,y=void 0===v||v,O=i.titleTag,_=void 0===O?"":O,j=w(t);return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(B.PanelBody,{title:Object(s.__)("General",r.i18n)},j.borderRadius&&wp.element.createElement(h.c,{label:Object(s.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),j.columnBackground&&wp.element.createElement(h.c,{label:Object(s.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(h.u,{setAttributes:n,blockAttributes:t.attributes})),j.columnBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Column Background",r.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(h.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(h.cb,{title:Object(s.__)("Title",r.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(R(Object(a.F)("title%s")),["titleTag","titleColor"],R(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(h.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,className:"ugb--help-tip-typography-family"}),wp.element.createElement(h.J,{value:_||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(h.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Description",r.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(R(Object(a.F)("description%s")),["descriptionColor"],R(Object(a.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(h.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.s,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Button",r.i18n),id:"button",checked:y,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(R(Object(a.n)("button%s")),R(Object(a.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(h.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.v,null),wp.element.createElement(h.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.db,{initialOpen:!1,blockProps:t},j.titleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),j.descriptionSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),j.buttonSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Button",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var F=Object(P.compose)(v.i,v.g,v.d,Object(v.h)(),Object(v.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(v.a)(x,{editorMode:!0}),Object(v.b)([[".ugb-cta__title","title"],[".ugb-cta__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,i=e.attributes,o=i.design,c=void 0===o?"basic":o,u=i.shadow,m=void 0===u?"":u,g=i.showTitle,d=void 0===g||g,f=i.title,v=void 0===f?"":f,y=i.titleTag,O=void 0===y?"h3":y,w=i.showDescription,_=void 0===w||w,j=i.description,k=void 0===j?"":j,C=i.showButton,x=void 0===C||C,E=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",M({},"ugb-cta--design-".concat(c),"basic"!==c),c,e)),S=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",M({},"ugb--shadow-".concat(m),"plain"!==c&&""!==m),c,e)),A=d&&wp.element.createElement(p.RichText,{tagName:O||"h3",value:v,className:"ugb-cta__title",placeholder:Object(s.__)("Title for This Block",r.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),T=_&&wp.element.createElement(p.RichText,{tagName:"p",value:k,className:"ugb-cta__description",onChange:function(e){return n({description:e})},placeholder:Object(a.J)(),keepPlaceholderOnFocus:!0}),B=x&&wp.element.createElement(h.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes}),P={title:A,description:T,button:B};return wp.element.createElement(h.k.Edit,{className:E,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:S,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.edit.output",wp.element.createElement(N.Fragment,null,A,T,B),P,e)))}})});function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z=Object(P.compose)(v.i,Object(v.a)(x))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.shadow,o=void 0===r?"":r,c=n.showTitle,s=void 0===c||c,u=n.title,m=void 0===u?"":u,g=n.titleTag,d=void 0===g?"h3":g,f=n.showDescription,v=void 0===f||f,y=n.description,O=void 0===y?"":y,w=n.showButton,_=void 0===w||w,j=n.buttonUrl,k=void 0===j?"":j,C=n.buttonNewTab,x=void 0!==C&&C,E=n.buttonSize,S=void 0===E?"normal":E,A=n.buttonText,T=void 0===A?"":A,B=n.buttonShadow,P=void 0===B?0:B,M=n.buttonHoverEffect,R=void 0===M?"":M,F=n.buttonIcon,z=void 0===F?"":F,I=n.buttonIconPosition,H=void 0===I?"":I,L=n.buttonDesign,U=void 0===L?"basic":L,W=n.buttonHoverGhostToNormal,G=void 0!==W&&W,V=n.buttonNoFollow,q=void 0!==V&&V,J=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",D({},"ugb-cta--design-".concat(i),"basic"!==i),i,e)),Y=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",D({},"ugb--shadow-".concat(o),"plain"!==i&&""!==o),i,e)),X=s&&!p.RichText.isEmpty(m)&&wp.element.createElement(p.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:m}),K=v&&!p.RichText.isEmpty(O)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:O}),$=_&&!p.RichText.isEmpty(T)&&wp.element.createElement(h.o.Content,{size:""!==S?S:"normal",text:T,icon:z,newTab:""!==x&&x,url:k,noFollow:q,hoverEffect:R,ghostToNormalEffect:G,shadow:P,iconPosition:H,design:""!==U?U:"basic"}),Z={title:X,description:K,button:$};return wp.element.createElement(h.k.Save,{className:J,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:Y,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.save.output",wp.element.createElement(N.Fragment,null,X,K,$),Z,e)))}})});function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return U}),n.d(t,"settings",function(){return W});var L=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},title:{source:"html",selector:"h3, .ugb-cta__title",default:Object(s.__)("Title for This Block",r.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.G)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:"p, .ugb-cta__description",default:Object(a.J)()},showDescription:{type:"boolean",default:!0}},Object(a.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(a.o)("button%s",{selector:".ugb-button"}),{},Object(a.j)("column%s"),{hoverEffect:{type:"string",default:""}},Object(a.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(a.A)("button%sBottomMargin",{type:"number",default:""}),{},Object(a.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"])),U="ugb/cta",W={title:Object(s.__)("Call to Action",r.i18n),description:Object(s.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",r.i18n),icon:i.e,category:"layout",keywords:[Object(s.__)("Call to Action",r.i18n),Object(s.__)("Stackable",r.i18n),Object(s.__)("CTA",r.i18n)],attributes:L,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(U)},deprecated:f,edit:F,save:z,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(l.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.design.no-text-attributes","stackable/card",function(e){return Object(r.omit)(e,["title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button2Text","button3Text"])}),Object(o.addFilter)("stackable.card.design.filtered-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,[].concat(l(t&&t.image1Id?["image1Url"]:[]),["image1Id"],l(t&&t.image2Id?["image2Url"]:[]),["image2Id"],l(t&&t.image3Id?["image3Url"]:[]),["image3Id","button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow"]))});var c=n(19),s=n(8),u=n.n(s),b=n(1),p=n(0),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=[{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:Object(p.__)("Title for This Block",b.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(p.__)("Subtitle for this block",b.i18n)},des:{source:"html",selector:".ugb-card__description",default:Object(i.J)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(p.__)("Button text",b.i18n)},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,i=a.heading,r=a.tagline,l=a.des,s=a.mediaURL,b=a.headingColor,p=a.taglineColor,g=a.desColor,h=a.buttonURL,v=a.buttonNewTab,y=a.buttonText,O=a.buttonColor,w=a.buttonTextColor,_=a.size,j=a.cornerButtonRadius,k=a.contentAlign,C=a.buttonDesign,x=a.buttonIcon,E=a.design,S=void 0===E?"basic":E,A=a.backgroundColor,T=a.borderRadius,B=void 0===T?12:T,P=a.shadow,N=void 0===P?3:P,M=u()([n,"ugb-card"],Object(o.applyFilters)("stackable.card.mainclasses_1_17_3",(f(t={},"ugb-card--design-".concat(S),"basic"!==S),f(t,"ugb--shadow-".concat(N),"plain"!==S&&3!==N),t),S,e)),R={borderRadius:"plain"!==S?B:void 0,backgroundColor:"plain"!==S?A:void 0},F=u()(["ugb-card__image-container"],f({},"ugb--shadow-".concat(N),"plain"===S)),D={borderRadius:"plain"===S?B:void 0};return wp.element.createElement("div",{className:M,style:R},Object(o.applyFilters)("stackable.card.save.output.before_1_17_3",null,S,e),s&&wp.element.createElement("div",{className:F,style:d({},D,{backgroundImage:"url(".concat(s,")"),textAlign:k}),"data-src":s}),!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:b,textAlign:k},value:i}),!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:p,textAlign:k},value:r}),!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:g,textAlign:k},value:l}),y&&!!y.length&&wp.element.createElement(c.b,{size:_,url:h,newTab:v,align:k,color:w,text:y,icon:x,design:C,backgroundColor:O,borderRadius:j}),Object(o.applyFilters)("stackable.card.save.output.after_1_17_3",null,S,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-card([\s\{\[\.\#\:])/g,".ugb-card__item$1").replace(/\.ugb-card__tagline([\s\{\[\.\#\:])/g,".ugb-card__subtitle$1").replace(/\.ugb-card__image-container([\s\{\[\.\#\:])/g,".ugb-card__image$1")};return d({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),columns:1,showButton:!!e.buttonText,image1Id:e.mediaID,image1Url:e.mediaURL,title1:e.heading,subtitle1:e.tagline,description1:e.des,titleColor:e.headingColor,subtitleColor:e.taglineColor,descriptionColor:e.desColor,button1Url:e.buttonURL,button1NewTab:e.buttonNewTab,button1Text:e.buttonText,buttonBackgroundColor:e.buttonColor,buttonIcon:e.buttonIcon,buttonTextColor:e.buttonTextColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,buttonDesign:e.buttonDesign,columnBackgroundColor:e.backgroundColor})}}],v=n(3),y=n(10),O=n(272),w=n.n(O),_=n(273),j=n.n(_),k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showImage,r=void 0===i||i,l=t.showTitle,c=void 0===l||l,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,p=void 0===b||b,m=t.showButton,g=void 0===m||m;return Object(o.applyFilters)("stackable.card.show",{columnBackground:"plain"!==a,borderRadius:!0,shadow:!0,imageHeight:("basic"===a||"plain"===a)&&"horizontal-card"!==a,imageWidth:"horizontal"===a,imageSpacing:"plain"===a&&r,titleSpacing:c,subtitleSpacing:u,descriptionSpacing:p,buttonSpacing:g},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=Object(i.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,r=x(e),o=[];if(o.push({".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("contentAlign")},tablet:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),r.borderRadius){var l=r.columnBackground?".ugb-card__item":".ugb-card__image";o.push(T({},l,{borderRadius:t("borderRadius","%spx !important")}))}o.push(A({},r.columnBackground?Object(i.l)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),o.push({".ugb-card__item1 .ugb-card__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-card__item2 .ugb-card__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-card__item3 .ugb-card__image":{backgroundImage:t("image3Url","url(%s)")}}),o.push(A({},Object(i.w)("image%s","ugb-card__image",e.attributes))),r.imageHeight&&o.push.apply(o,E(Object(i.C)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,!0))),r.imageWidth&&o.push({".ugb-card__image":{width:t("imageBackgroundWidth")?Object(i.c)(t("imageBackgroundWidth")+t("imageBackgroundWidthUnit","%s","%")):void 0},tablet:{".ugb-card__image":{width:t("imageBackgroundTabletWidth")?Object(i.c)(t("imageBackgroundTabletWidth")+t("imageBackgroundTabletWidthUnit","%s","%")):void 0}},mobile:{".ugb-card__image":{width:t("imageBackgroundMobileWidth")?Object(i.c)(t("imageBackgroundMobileWidth")+t("imageBackgroundMobileWidthUnit","%s","%")):void 0}}});var c=e.attributes,s=c.titleColor,u=void 0===s?"":s,b=c.showTitle;(void 0===b||b)&&o.push({".ugb-card__title":A({},Object(i.H)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(u,r.columnBackground&&a)),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-card__title":A({},Object(i.H)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-card__title":A({},Object(i.H)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var p=e.attributes,m=p.subtitleColor,g=void 0===m?"":m,d=p.showSubtitle;(void 0===d||d)&&o.push({".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(g,r.columnBackground&&a)),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-card__subtitle":A({},Object(i.H)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var f=e.attributes,h=f.descriptionColor,v=void 0===h?"":h,y=f.showDescription;(void 0===y||y)&&o.push({".ugb-card__description":A({},Object(i.H)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.sb)(v,r.columnBackground&&a)),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-card__description":A({},Object(i.H)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-card__description":A({},Object(i.H)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var O=e.attributes.showButton;return(void 0===O||O)&&(o.push(A({},Object(i.p)("button%s","ugb-button",e.attributes))),o.push.apply(o,E(Object(i.C)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,!0)))),r.imageSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.titleSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.subtitleSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.descriptionSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.buttonSpacing&&o.push.apply(o,E(Object(i.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),C.a.all(o)},P=n(11),N=n(12),M=n(6),R=n(13);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.edit.inspector.layout.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(v.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.card.edit.layouts",[{label:Object(p.__)("Basic",b.i18n),value:"basic",image:w.a},{label:Object(p.__)("Plain",b.i18n),value:"plain",image:j.a}]),onChange:function(e){return n({design:e})}},b.showProNotice&&wp.element.createElement(v.gb,null)))}),Object(o.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=a.borderRadius,l=void 0===o?"":o,c=a.shadow,s=void 0===c?"":c,u=a.showImage,m=void 0===u||u,g=a.showTitle,d=void 0===g||g,f=a.showSubtitle,h=void 0===f||f,y=a.showDescription,O=void 0===y||y,w=a.showButton,_=void 0===w||w,j=a.image1Id,k=void 0===j?"":j,C=a.image2Id,E=void 0===C?"":C,S=a.image3Id,A=void 0===S?"":S,T=a.imageBackgroundWidth,B=void 0===T?"":T,N=a.imageBackgroundTabletWidth,R=void 0===N?"":N,F=a.imageBackgroundMobileWidth,z=void 0===F?"":F,I=a.imageBackgroundWidthUnit,H=void 0===I?"%":I,L=a.imageBackgroundTabletWidthUnit,U=void 0===L?"%":L,W=a.imageBackgroundMobileWidthUnit,G=void 0===W?"%":W,V=a.titleTag,q=void 0===V?"":V,J=a.titleColor,Y=void 0===J?"":J,X=a.descriptionColor,K=void 0===X?"":X,$=a.subtitleColor,Z=void 0===$||$,Q=x(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(p.__)("General",b.i18n)},wp.element.createElement(v.c,{label:Object(p.__)("Columns",b.i18n),value:r,onChange:function(e){return n({columns:e})},min:1,max:3,className:"ugb--help-tip-general-columns"}),Q.borderRadius&&wp.element.createElement(v.c,{label:Object(p.__)("Border Radius",b.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Q.shadow&&wp.element.createElement(v.c,{label:Object(p.__)("Shadow / Outline",b.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(v.u,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBackground&&wp.element.createElement(v.cb,{title:Object(p.__)("Column Background",b.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(v.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(v.cb,{title:Object(p.__)("Image",b.i18n),checked:m,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:[].concat(D(Object(i.u)("image%s")),D(Object(i.z)("imageBackground%sHeight")),D(Object(i.z)("imageBackground%sWidth"))),toggleAttributeName:"showImage"},wp.element.createElement(v.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(i.R)(k,e||"large"),image2Url:Object(i.R)(E,e||"large"),image3Url:Object(i.R)(A,e||"large")})}}),Q.imageHeight&&wp.element.createElement(v.hb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image Height",b.i18n),min:50,max:1e3,allowReset:!0,placeholder:"300",className:"ugb--help-tip-image-height-crop"})),Q.imageWidth&&wp.element.createElement(M.Fragment,null,wp.element.createElement(v.ub,null,wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:B,unit:H,onChange:function(e){return n({imageBackgroundWidth:e})},onChangeUnit:function(e){return n({imageBackgroundWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"tablet"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:R,unit:U,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"mobile"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:z,unit:G,onChange:function(e){return n({imageBackgroundMobileWidth:e})},onChangeUnit:function(e){return n({imageBackgroundMobileWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})))),wp.element.createElement(v.cb,{title:Object(p.__)("Title",b.i18n),id:"title",checked:d,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("title%s")),["titleTag","titleColor"],D(Object(i.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(v.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.J,{value:q||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(v.s,{value:Y,onChange:function(e){return n({titleColor:e})},label:Object(p.__)("Title Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Subtitle",b.i18n),id:"subtitle",checked:h,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("subtitle%s")),["subtitleColor"],D(Object(i.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(v.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:Z,onChange:function(e){return n({subtitleColor:e})},label:Object(p.__)("Subtitle Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Description",b.i18n),id:"description",checked:O,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(D(Object(i.F)("description%s")),["descriptionColor"],D(Object(i.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(v.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:K,onChange:function(e){return n({descriptionColor:e})},label:Object(p.__)("Description Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Button",b.i18n),id:"button",checked:_,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(D(Object(i.n)("button%s")),D(Object(i.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(v.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(v.v,null),wp.element.createElement(v.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(v.db,{initialOpen:!1,blockProps:t},Q.imageSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),Q.titleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Title",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.subtitleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Subtitle",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.descriptionSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Description",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Q.buttonSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Button",b.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(N.compose)(y.i,y.g,y.d,Object(y.h)(),Object(y.c)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(y.a)(B,{editorMode:!0}),Object(y.b)([[".ugb-card__title","title"],[".ugb-card__subtitle","subtitle"],[".ugb-card__description","description"],[".ugb-button","button"],[".ugb-card__item","column-background"]]),Object(R.withSelect)(function(e,t){Object(i.f)(t.attributes.image1Id,e),Object(i.f)(t.attributes.image2Id,e),Object(i.f)(t.attributes.image3Id,e)}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,l=a.columns,c=void 0===l?2:l,s=a.design,g=void 0===s?"basic":s,d=a.shadow,f=void 0===d?"":d,h=a.imageSize,y=void 0===h?"":h,O=a.titleTag,w=void 0===O?"h4":O,_=a.showImage,j=void 0===_||_,k=a.showTitle,C=void 0===k||k,E=a.showSubtitle,S=void 0===E||E,A=a.showDescription,T=void 0===A||A,B=a.showButton,P=void 0===B||B,N=a.buttonIcon,R=void 0===N?"":N,D=x(e),z=u()([t,"ugb-card--v2","ugb-card--design-".concat(g),"ugb-card--columns-".concat(c)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Edit,{className:z,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,c+1).map(function(t){var r=a["image".concat(t,"Url")],l=a["image".concat(t,"Id")],c=a["title".concat(t)],s=a["subtitle".concat(t)],g=a["description".concat(t)],d=a["button".concat(t,"Text")],h=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",F({},"ugb--shadow-".concat(f),D.columnBackground&&""!==f),e)),O=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",F({},"ugb--shadow-".concat(f),!D.columnBackground),e));return wp.element.createElement(v.D,{className:h,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground,key:t},j&&wp.element.createElement(v.Y,{imageID:l,imageURL:r,imageSize:y,className:O,onRemove:function(){var e;n((F(e={},"image".concat(t,"Url"),""),F(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a;n((F(a={},"image".concat(t,"Url"),e.url),F(a,"image".concat(t,"Id"),e.id),a))}}),wp.element.createElement("div",{className:"ugb-card__content"},C&&wp.element.createElement(m.RichText,{tagName:w||"h4",value:c,className:"ugb-card__title",placeholder:Object(p.__)("Title for This Block",b.i18n),onChange:function(e){return n(F({},"title".concat(t),e))},keepPlaceholderOnFocus:!0}),S&&wp.element.createElement(m.RichText,{tagName:"p",value:s,className:"ugb-card__subtitle",onChange:function(e){return n(F({},"subtitle".concat(t),e))},placeholder:Object(p.__)("Subtitle for this block",b.i18n),keepPlaceholderOnFocus:!0}),T&&wp.element.createElement(m.RichText,{tagName:"p",value:g,className:"ugb-card__description",onChange:function(e){return n(F({},"description".concat(t),e))},placeholder:Object(i.J)("medium"),keepPlaceholderOnFocus:!0}),P&&wp.element.createElement(v.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,text:d,icon:a["button".concat(t,"Icon")]||R,onChange:function(e){return n(F({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(F({},"button".concat(t,"Icon"),e))},url:a["button".concat(t,"Url")],newTab:a["button".concat(t,"NewTab")],noFollow:a["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(F({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(F({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(F({},"button".concat(t,"NoFollow"),e))}})))}))}})});function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=Object(N.compose)(y.i,Object(y.a)(B))(function(e){var t=e.className,n=e.attributes,a=n.columns,i=void 0===a?2:a,l=n.design,c=void 0===l?"basic":l,s=n.shadow,b=void 0===s?"":s,p=n.titleTag,g=void 0===p?"h4":p,d=n.showImage,f=void 0===d||d,h=n.showTitle,y=void 0===h||h,O=n.showSubtitle,w=void 0===O||O,_=n.showDescription,j=void 0===_||_,k=n.showButton,C=void 0===k||k,E=n.buttonIcon,S=void 0===E?"":E,A=x(e),T=u()([t,"ugb-card--v2","ugb-card--design-".concat(c),"ugb-card--columns-".concat(i)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Save,{className:T,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,i+1).map(function(t){var a=n["image".concat(t,"Url")],i=n["title".concat(t)],r=n["subtitle".concat(t)],l=n["description".concat(t)],c=n["button".concat(t,"Text")],s=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",I({},"ugb--shadow-".concat(b),A.columnBackground&&""!==b),e)),p=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",I({},"ugb--shadow-".concat(b),!A.columnBackground),e));return wp.element.createElement(v.D,{className:s,backgroundAttrName:"column%s",blockProps:e,showBackground:A.columnBackground,key:t},f&&a&&wp.element.createElement("div",{className:p}),wp.element.createElement("div",{className:"ugb-card__content"},y&&!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:g||"h4",className:"ugb-card__title",value:i}),w&&!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__subtitle",value:r}),j&&!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",value:l}),C&&!m.RichText.isEmpty(c)&&wp.element.createElement(v.p.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,text:c,icon:n["button".concat(t,"Icon")]||S,url:n["button".concat(t,"Url")],newTab:n["button".concat(t,"NewTab")],noFollow:n["button".concat(t,"NoFollow")]})))}))}})});function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return W}),n.d(t,"name",function(){return G}),n.d(t,"settings",function(){return V});var W=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(i.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(i.v)("image%s"),{},Object(i.h)("imageBackground%s%s",{type:"number",default:""},["","Tablet","Mobile"],["Width","Height"]),{},Object(i.A)("imageBackground%sWidthUnit",{type:"string",default:"%"}),{},Object(i.h)("image%sId",{type:"number",default:""},["1","2","3"]),{},Object(i.h)("image%sUrl",{type:"string",default:""},["1","2","3"]),{},Object(i.h)("title%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__title",default:Object(p.__)("Title for This Block",b.i18n)},["1","2","3"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(i.G)("title%s"),{titleColor:{type:"string",default:""}},Object(i.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__subtitle",default:Object(p.__)("Subtitle for This Block",b.i18n)},["1","2","3"]),{showSubtitle:{type:"boolean",default:!0}},Object(i.G)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(i.h)("description%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__description",default:Object(i.J)("medium")},["1","2","3"]),{showDescription:{type:"boolean",default:!0}},Object(i.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(i.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(i.o)("button1%s",{selector:".ugb-card__item1 .ugb-button"}),{},Object(i.o)("button2%s",{selector:".ugb-card__item2 .ugb-button"}),{},Object(i.o)("button3%s",{selector:".ugb-card__item3 .ugb-button"}),{},Object(i.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(i.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(i.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3"]),{hoverEffect:{type:"string",default:""}}),G="ugb/card",V={title:Object(p.__)("Card",b.i18n),description:Object(p.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",b.i18n),icon:a.f,category:"layout",keywords:[Object(p.__)("Card",b.i18n),Object(p.__)("Stackable",b.i18n)],attributes:W,supports:{inserter:!b.disabledBlocks.includes(G)},deprecated:h,edit:z,save:H,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.card.custom-css.default","")}}};Object(o.addFilter)("stackable.card.advanced-column-spacing.paddings.selector","stackable/card",function(){return".ugb-card__content"}),Object(o.addFilter)("stackable.card.advanced-column-spacing.vertical-align.selector","stackable/card",function(){return".ugb-card__content"})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature-grid.design.no-text-attributes","stackable/feature-grid",function(e){return Object(a.omit)(e,["title1","title2","title3","title4","description1","description2","description3","description4","button1Text","button2Text","button3Text","button4Text"])}),Object(i.addFilter)("stackable.feature-grid.design.filtered-block-attributes","stackable/feature-grid",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["image1Id"].concat(r(t&&t.image1Id?["image1Url"]:[]),["image2Id"],r(t&&t.image2Id?["image2Url"]:[]),["image3Id"],r(t&&t.image3Id?["image3Url"]:[]),["image4Id"],r(t&&t.image4Id?["image4Url"]:[]),["button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow","button4Url","button4NewTab","button4NoFollow"]))});var o=n(19),l=n(2),c=n(8),s=n.n(c),u=n(1),b=n(31),p=n.n(b),m=n(7),g=n(0);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=[{attributes:{design:{type:"string",default:"basic"},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"},imageAlt1:{type:"string"},imageAlt2:{type:"string"},imageAlt3:{type:"string"},title1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},title2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},title3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},description1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__description",default:Object(l.J)("short")},description2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__description",default:Object(l.J)("short")},description3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__description",default:Object(l.J)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"href",default:""},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"href",default:""},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"href",default:""},newTab1:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"target",default:!1},newTab2:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"target",default:!1},newTab3:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"target",default:!1},linkText1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},linkText2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},linkText3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button span",default:Object(g.__)("Button text",u.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"link"},buttonIcon:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,r=t.imageSize,c=t.design,u=t.buttonColor,b=t.buttonTextColor,g=t.buttonSize,d=t.buttonBorderRadius,h=t.buttonDesign,v=void 0===h?"link":h,y=t.buttonIcon,O=t.borderRadius,w=void 0===O?12:O,_=t.shadow,j=void 0===_?3:_,k=s()([n,"ugb-feature-grid","ugb-feature-grid--columns-".concat(a)],Object(i.applyFilters)("stackable.feature-grid.mainclasses_1_17_2",f({},"ugb-feature-grid--design-".concat(c),c&&"basic"!==c),c,e)),C={borderRadius:"plain"!==c&&12!==w?w:void 0};return wp.element.createElement("div",{className:k},Object(i.applyFilters)("stackable.feature-grid.edit.output.before_1_17_2",null,c,e),Object(l.jb)(1,a+1).map(function(n){var a=t["imageUrl".concat(n)],l=t["imageAlt".concat(n)],h=t["title".concat(n)],O=t["description".concat(n)],w=t["linkUrl".concat(n)],_=t["newTab".concat(n)],k=t["linkText".concat(n)],x=s()(["ugb-feature-grid__item"],Object(i.applyFilters)("stackable.feature-grid.itemclasses_1_17_2",f({},"ugb--shadow-".concat(j),"plain"!==c&&3!==j),c,n,e)),E=Object(i.applyFilters)("stackable.feature-grid.itemstyles_1_17_2",{image:{width:a?"".concat(r,"%"):void 0}},c,n,e);return wp.element.createElement("div",{className:x,style:C,key:n},a&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement("img",{src:a,style:E.image,alt:p()(h||l)})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},!m.RichText.isEmpty(h)&&wp.element.createElement(m.RichText.Content,{tagName:"h5",className:"ugb-feature-grid__title",value:h}),!m.RichText.isEmpty(O)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:O}),!m.RichText.isEmpty(k)&&wp.element.createElement(o.b,{size:g,url:w,newTab:_,color:b,text:k,icon:y,design:v,backgroundColor:u,borderRadius:d})))}),Object(i.applyFilters)("stackable.feature-grid.edit.output.after_1_17_2",null,c,e))},migrate:function(e){var t;if(e.imageSize&&"horizontal"!==e.design){var n="wide"!==e.align?u.contentWidth||900:1200,a="plain"===e.design?0:70,i=1===e.columns?n-a:2===e.columns?(n-35)/2-a:(n-70)/3-a;t=parseInt((parseInt(e.imageSize,10)||100)/100*i,10)}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image1Url:e.imageUrl1,image2Url:e.imageUrl2,image3Url:e.imageUrl3,image1Alt:e.imageAlt1,image2Alt:e.imageAlt2,image3Alt:e.imageAlt3,button1Url:e.linkUrl1,button2Url:e.linkUrl2,button3Url:e.linkUrl3,button1NewTab:e.newTab1,button2NewTab:e.newTab2,button3NewTab:e.newTab3,button1Text:e.linkText1,button2Text:e.linkText2,button3Text:e.linkText3,buttonBackgroundColor:e.buttonColor,imageWidth:t})}}],v=n(3),y=n(10),O=n(286),w=n.n(O),_=n(287),j=n.n(_),k=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showImage,o=void 0===r||r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(i.applyFilters)("stackable.feature-grid.show",{columnBackground:"plain"!==a,columnBackground1:"plain"!==a,columnBackground2:"plain"!==a,columnBackground3:"plain"!==a,columnBackground4:"plain"!==a,imageSpacing:o&&"horizontal"!==a,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p},e)},C=n(14),x=n.n(C);function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=Object(l.b)(e.attributes),n=k(e),a=e.attributes,r=a.columnBackgroundColor,o=void 0===r?"":r,c=a.showImage,s=void 0===c||c,u=a.contentAlign,b=void 0===u?"":u,p=[];n.columnBackground&&p.push({".ugb-feature-grid__item":{borderRadius:t("borderRadius","%spx !important")}});var m=Object(i.applyFilters)("stackable.feature-grid.styles.column-background","ugb-feature-grid__item",e.attributes);m&&p.push(A({},n.columnBackground?Object(l.l)("column%s",m,e.attributes,{importantBackgroundColor:!0}):{}));var g=e.attributes,d=g.imageAlign,f=void 0===d?"":d,h=g.imageTabletAlign,v=void 0===h?"":h,y=g.tabletContentAlign,O=void 0===y?"":y,w=g.imageMobileAlign,_=void 0===w?"":w,j=g.mobileContentAlign,C=void 0===j?"":j;s&&(p.push(A({},Object(l.y)("image%s","ugb-img",e.attributes))),p.push({".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==f||""!==b?Object(l.db)(f||b)+" !important":void 0,marginRight:""!==f||""!==b?Object(l.eb)(f||b)+" !important":void 0},tablet:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==v||""!==O?Object(l.db)(v||O)+" !important":void 0,marginRight:""!==v||""!==O?Object(l.eb)(v||O)+" !important":void 0}},mobile:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==_||""!==C?Object(l.db)(_||C)+" !important":void 0,marginRight:""!==_||""!==C?Object(l.eb)(_||C)+" !important":void 0}}}));var S=e.attributes,B=S.titleColor,P=void 0===B?"":B,N=S.showTitle;if(void 0===N||N){var M=Object(i.applyFilters)("stackable.feature-grid.styles.title.color-selector",".ugb-feature-grid__title",e);p.push(T({},M,{color:Object(l.rb)(P,n.columnBackground&&o)})),p.push({".ugb-feature-grid__title":A({},Object(l.H)("title%s","desktop",e.attributes),{textAlign:t("titleAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__title":A({},Object(l.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__title":A({},Object(l.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")||t("mobileContentAlign")})}})}var R=e.attributes,F=R.descriptionColor,D=void 0===F?"":F,z=R.showDescription;if(void 0===z||z){var I=Object(i.applyFilters)("stackable.feature-grid.styles.description.color-selector",".ugb-feature-grid__description",e);p.push(T({},I,{color:Object(l.rb)(D,n.columnBackground&&o)})),p.push({".ugb-feature-grid__description":A({},Object(l.H)("description%s","desktop",e.attributes),{textAlign:t("descriptionAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__description":A({},Object(l.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__description":A({},Object(l.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")||t("mobileContentAlign")})}})}var H=e.attributes,L=H.showButton,U=void 0===L||L,W=H.buttonDesign,G=void 0===W?"":W;return U&&(p.push(A({},Object(l.p)("button%s","ugb-button",A({},e.attributes,{buttonDesign:G||"plain"})))),p.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")||t("contentAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")||t("tabletContentAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")||t("mobileContentAlign","%s !important")}}})),n.imageSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-feature-grid__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&p.push.apply(p,E(Object(l.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),x.a.all(p)},P=n(11),N=n(12),M=n(6),R=n(13);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature-grid.edit.inspector.layout.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(v.A,{initialOpen:!0,selected:r,options:[{image:w.a,label:Object(g.__)("Basic",u.i18n),value:"basic"},{image:j.a,label:Object(g.__)("Plain",u.i18n),value:"plain"}].concat(D(Object(i.applyFilters)("stackable.feature-grid.edit.layouts",[]))),onChange:function(e){n({design:e})}},u.showProNotice&&wp.element.createElement(v.gb,null)))}),Object(i.addFilter)("stackable.feature-grid.edit.inspector.style.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.columns,r=a.borderRadius,o=void 0===r?"":r,c=a.shadow,s=void 0===c?"":c,b=a.showTitle,p=void 0===b||b,m=a.showDescription,d=void 0===m||m,f=a.titleTag,h=void 0===f?"":f,y=a.titleColor,O=void 0===y?"":y,w=a.descriptionColor,_=void 0===w?"":w,j=a.showImage,C=void 0===j||j,x=a.showButton,E=void 0===x||x,S=a.image1Id,A=void 0===S?"":S,T=a.image2Id,B=void 0===T?"":T,N=a.image3Id,R=void 0===N?"":N,F=a.image4Id,z=void 0===F?"":F,I=k(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(g.__)("General",u.i18n)},wp.element.createElement(v.c,{label:Object(g.__)("Columns",u.i18n),value:i,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),I.columnBackground&&wp.element.createElement(v.c,{label:Object(g.__)("Border Radius",u.i18n),value:o,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),I.columnBackground&&wp.element.createElement(v.c,{label:Object(g.__)("Shadow / Outline",u.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(v.u,{setAttributes:n,blockAttributes:t.attributes})),I.columnBackground&&wp.element.createElement(v.cb,{title:Object(g.__)("Column Background",u.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(v.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(v.cb,{title:Object(g.__)("Image",u.i18n),checked:C,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize","imageShape","imageShapeFlipX","imageShapeFlipY","imageShapeStretch","imageWidth"].concat(D(Object(l.z)("image%sWidth")),["imageBorderRadius","imageShadow","imageBlendMode"]),toggleAttributeName:"showImage"},wp.element.createElement(v.U,{attrNameTemplate:"image%s",setAttributes:t.setAttributes,blockAttributes:t.attributes,onChangeImage:!1,onChangeAlt:!1,onChangeBlendMode:!1,onChangeSize:function(e){n({imageSize:e,image1Url:Object(l.R)(A,e||"medium"),image2Url:Object(l.R)(B,e||"medium"),image3Url:Object(l.R)(R,e||"medium"),image4Url:Object(l.R)(z,e||"medium")})}}),wp.element.createElement(v.hb,{attrNameTemplate:"Image%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-image"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Title",u.i18n),id:"title",checked:p,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(D(Object(l.F)("title%s")),["titleTag","titleColor"],D(Object(l.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(v.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.J,{value:h||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(v.s,{value:O,onChange:function(e){return n({titleColor:e})},label:Object(g.__)("Title Color",u.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Description",u.i18n),id:"description",checked:d,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(D(Object(l.F)("description%s")),["descriptionColor"],D(Object(l.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(v.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:_,onChange:function(e){return n({descriptionColor:e})},label:Object(g.__)("Description Color",u.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(v.cb,{title:Object(g.__)("Button",u.i18n),id:"button",checked:E,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:D(Object(l.n)("button%s")),toggleAttributeName:"showButton"},wp.element.createElement(v.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,design:t.attributes.buttonDesign||"plain",onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(v.v,null),wp.element.createElement(v.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(v.db,{initialOpen:!1,blockProps:t},I.imageSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Image",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),I.titleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Title",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),I.descriptionSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Description",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),I.buttonSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(g.__)("Button",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(N.compose)(y.i,y.g,y.d,Object(y.h)(),Object(y.c)(["Image%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(y.a)(B,{editorMode:!0}),Object(y.b)([[".ugb-feature-grid__item","column-background"],[".ugb-feature-grid__title","title"],[".ugb-feature-grid__description","description"],[".ugb-button","button"]]),Object(R.withSelect)(function(e,t){Object(l.f)(t.attributes.image1Id,e),Object(l.f)(t.attributes.image2Id,e),Object(l.f)(t.attributes.image3Id,e),Object(l.f)(t.attributes.image4Id,e)}))(function(e){var t=e.className,n=e.setAttributes,r=e.attributes,o=r.columns,c=void 0===o?3:o,b=r.titleTag,p=void 0===b?"":b,d=r.imageSize,f=r.imageShape,h=void 0===f?"":f,y=r.imageShapeStretch,O=void 0!==y&&y,w=r.imageWidth,_=void 0===w?"":w,j=r.imageShadow,C=void 0===j?"":j,x=r.design,E=void 0===x?"basic":x,S=r.shadow,A=void 0===S?"":S,T=r.showImage,B=void 0===T||T,P=r.showTitle,N=void 0===P||P,R=r.showDescription,D=void 0===R||R,z=r.showButton,I=void 0===z||z,H=r.buttonIcon,L=void 0===H?"":H,U=s()([t,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(E)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),W=k(e);return wp.element.createElement(v.k.Edit,{className:U,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(t){var a=r["image".concat(t,"Url")],o=r["image".concat(t,"Id")],c=r["image".concat(t,"Alt")],b=r["title".concat(t)],f=r["description".concat(t)],y=r["button".concat(t,"Text")],w=s()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(t)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",F({},"ugb--shadow-".concat(A),W.columnBackground&&""!==A),e,t));return wp.element.createElement(v.D,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:W.columnBackground&&W["columnBackground".concat(t)],key:t},B&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(v.Y,{imageID:o,imageURL:a,imageSize:d,onRemove:function(){var e;n((F(e={},"image".concat(t,"Url"),""),F(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a,i=e.url,r=e.id;n((F(a={},"image".concat(t,"Url"),i),F(a,"image".concat(t,"Id"),r),a))},render:wp.element.createElement(v.O,{imageId:o,src:a,size:d,shape:r["image".concat(t,"Shape")]||h,shapeStretch:r["image".concat(t,"ShapeStretch")]||O,alt:c,shadow:C,width:_})})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},N&&wp.element.createElement(m.RichText,{tagName:p||"h5",className:"ugb-feature-grid__title",value:b,onChange:function(e){return n(F({},"title".concat(t),e))},placeholder:Object(g.__)("Title",u.i18n),keepPlaceholderOnFocus:!0}),D&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-feature-grid__description",value:f,onChange:function(e){return n(F({},"description".concat(t),e))},placeholder:Object(l.J)("short"),keepPlaceholderOnFocus:!0}),I&&wp.element.createElement(v.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,designDefault:"plain",text:y,icon:r["button".concat(t,"Icon")]||L,onChange:function(e){return n(F({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(F({},"button".concat(t,"Icon"),e))},url:r["button".concat(t,"Url")],newTab:r["button".concat(t,"NewTab")],noFollow:r["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(F({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(F({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(F({},"button".concat(t,"NoFollow"),e))}})))}))}})});var I=Object(N.compose)(y.i,Object(y.a)(B))(function(e){var t=e.attributes,n=e.className,r=t.design,o=void 0===r?"basic":r,l=t.columns,c=void 0===l?3:l,u=t.imageShape,b=void 0===u?"":u,p=t.imageShapeStretch,g=void 0!==p&&p,d=t.imageWidth,f=void 0===d?"":d,h=t.imageShadow,y=void 0===h?"":h,O=t.titleTag,w=void 0===O?"":O,_=t.shadow,j=void 0===_?"":_,C=t.showImage,x=void 0===C||C,E=t.showTitle,S=void 0===E||E,A=t.showDescription,T=void 0===A||A,B=t.showButton,P=void 0===B||B,N=t.buttonIcon,R=void 0===N?"":N,F=s()([n,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(o)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),D=k(e);return wp.element.createElement(v.k.Save,{className:F,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(n){var a,r,o,l=t["image".concat(n,"Url")],c=t["image".concat(n,"Id")],u=t["image".concat(n,"Alt")],p=t["title".concat(n)],d=t["description".concat(n)],h=t["button".concat(n,"Text")],O=s()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(n)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",(a={},r="ugb--shadow-".concat(j),o=D.columnBackground&&""!==j,r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a),e,n));return wp.element.createElement(v.D,{className:O,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground&&D["columnBackground".concat(n)],key:n},l&&x&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(v.O,{imageId:c,src:l,width:f,alt:u||S&&p,shadow:y,shape:t["image".concat(n,"Shape")]||b,shapeStretch:t["image".concat(n,"ShapeStretch")]||g})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},S&&!m.RichText.isEmpty(p)&&wp.element.createElement(m.RichText.Content,{tagName:w||"h5",className:"ugb-feature-grid__title",value:p}),T&&!m.RichText.isEmpty(d)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:d}),P&&!m.RichText.isEmpty(h)&&wp.element.createElement(v.p.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,designDefault:"plain",text:h,icon:t["button".concat(n,"Icon")]||R,url:t["button".concat(n,"Url")],newTab:t["button".concat(n,"NewTab")],noFollow:t["button".concat(n,"NoFollow")]})))}))}})}),H=n(16);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){W(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return G}),n.d(t,"name",function(){return V}),n.d(t,"settings",function(){return q});var G=U({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(l.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(l.t)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(l.h)("image%sId",{type:"number",default:""},["1","2","3","4"]),{},Object(l.h)("image%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"src"},["1","2","3","4"]),{},Object(l.h)("image%sAlt",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"alt"},["1","2","3","4"]),{},Object(l.h)("image%sShape",{type:"string",default:""},["1","2","3","4"]),{},Object(l.h)("image%s%s",{type:"boolean",default:!1},["1","2","3","4"],["ShapeFlipX","ShapeFlipY","ShapeStretch"]),{showTitle:{type:"boolean",default:!0}},Object(l.h)("title%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__title",default:Object(g.__)("Title",u.i18n)},["1","2","3","4"]),{titleTag:{type:"string",default:""}},Object(l.G)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(l.h)("description%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__description",default:Object(l.J)("short")},["1","2","3","4"]),{},Object(l.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(l.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(l.o)("button1%s",{selector:".ugb-feature-grid__item1 .ugb-button"}),{},Object(l.o)("button2%s",{selector:".ugb-feature-grid__item2 .ugb-button"}),{},Object(l.o)("button3%s",{selector:".ugb-feature-grid__item3 .ugb-button"}),{},Object(l.o)("button4%s",{selector:".ugb-feature-grid__item4 .ugb-button"}),{},Object(l.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{},Object(l.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}},Object(l.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3","4"])),V="ugb/feature-grid",q={title:Object(g.__)("Feature Grid",u.i18n),description:Object(g.__)("Display multiple product features or services. You can use Feature Grids one after another.",u.i18n),icon:H.l,category:"layout",keywords:[Object(g.__)("Feature Grid",u.i18n),Object(g.__)("Stackable",u.i18n)],attributes:G,supports:{align:["wide"],inserter:!u.disabledBlocks.includes(V)},deprecated:h,edit:z,save:I,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.feature-grid.custom-css.default","")}}};Object(i.addFilter)("stackable.feature-grid.setAttributes","stackable/feature-grid/imageShape",function(e){return void 0!==e.imageShape?U({},e,{image1Shape:"",image2Shape:"",image3Shape:"",image4Shape:"",image1ShapeFlipX:"",image1ShapeFlipY:"",image1ShapeStretch:"",image2ShapeFlipX:"",image2ShapeFlipY:"",image2ShapeStretch:"",image3ShapeFlipX:"",image3ShapeFlipY:"",image3ShapeStretch:"",image4ShapeFlipX:"",image4ShapeFlipY:"",image4ShapeStretch:""}):void 0!==e.imageShapeFlipX?U({},e,{image1ShapeFlipX:"",image2ShapeFlipX:"",image3ShapeFlipX:"",image4ShapeFlipX:""}):void 0!==e.imageShapeFlipY?U({},e,{image1ShapeFlipY:"",image2ShapeFlipY:"",image3ShapeFlipY:"",image4ShapeFlipY:""}):void 0!==e.imageShapeStretch?U({},e,{image1ShapeStretch:"",image2ShapeStretch:"",image3ShapeStretch:"",image4ShapeStretch:""}):void 0!==e.columnBackgroundColor||void 0!==e.columnBackgroundColorType?U({},e,{column1BackgroundColor:"",column2BackgroundColor:"",column3BackgroundColor:"",column4BackgroundColor:""}):e})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature.design.no-text-attributes","stackable/feature",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(i.addFilter)("stackable.feature.design.filtered-block-attributes","stackable/feature",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["imageId"].concat(r(t&&t.imageId?["imageUrl"]:[]),["imageAlt","buttonUrl","buttonNewTab","buttonNoFollow"]))});var o=n(19),l=n(2),c=n(8),s=n.n(c),u=n(1),b=n(31),p=n.n(b),m=n(7),g=n(0);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},imageAlt:{type:"string"},title:{source:"html",selector:"h2",default:Object(g.__)("Title for This Block",u.i18n)},description:{source:"html",selector:"p",default:Object(l.J)("medium")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(g.__)("Button text",u.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,r=a.invert,l=a.contentAlign,c=a.textColor,u=a.imageAlt,b=void 0===u?"":u,g=a.imageSize,d=a.imageUrl,v=a.title,y=a.description,O=a.buttonURL,w=a.buttonNewTab,_=a.buttonText,j=a.buttonColor,k=a.buttonTextColor,C=a.buttonSize,x=a.buttonBorderRadius,E=a.buttonDesign,S=a.buttonIcon,A=a.backgroundColorType,T=void 0===A?"":A,B=a.backgroundColor,P=a.backgroundColor2,N=a.backgroundColorDirection,M=void 0===N?0:N,R=a.backgroundType,F=void 0===R?"":R,D=a.backgroundImageURL,z=a.backgroundOpacity,I=void 0===z?5:z,H=a.fixedBackground,L=a.contentWidth,U=a.align,W=a.design,G=void 0===W?"plain":W,V=a.borderRadius,q=void 0===V?12:V,J=a.shadow,Y=void 0===J?3:J,X=s()([n,"ugb-feature","ugb--background-opacity-"+1*Math.round(I/1),"ugb-feature--design-".concat(G)],Object(i.applyFilters)("stackable.feature.mainclasses_1_17_2",(h(t={},"ugb-feature--content-".concat(l),l),h(t,"ugb-feature--invert",r),h(t,"ugb--has-background","plain"!==G&&(B||D)),h(t,"ugb--has-background-image","plain"!==G&&D),h(t,"ugb--content-width","full"===U&&L),h(t,"ugb--shadow-".concat(Y),"plain"!==G&&3!==Y),h(t,"ugb--has-background-gradient","plain"!==G&&"gradient"===T),h(t,"ugb--has-background-video","plain"!==G&&"video"===F),t),G,e)),K=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses_1_17_2",h({},"ugb--shadow-".concat(Y),"plain"===G),G,e)),$="plain"===G?{}:{backgroundColor:B||void 0,backgroundImage:D?"url(".concat(D,")"):void 0,backgroundAttachment:H?"fixed":void 0,"--ugb-background-color":D||"gradient"===T?B:void 0,"--ugb-background-color2":"gradient"===T&&P?P:void 0,"--ugb-background-direction":"gradient"===T?"".concat(M,"deg"):void 0,borderRadius:12!==q?q:void 0},Z=Object(i.applyFilters)("stackable.feature.styles_1_17_2",{main:f({"--image-size":g?"".concat(g,"px"):void 0},$),image:{borderRadius:"plain"===G?q:void 0}},G,e),Q=!m.RichText.isEmpty(v)&&wp.element.createElement(m.RichText.Content,{tagName:"h2",className:"ugb-feature__title",style:{color:c},value:v}),ee=!m.RichText.isEmpty(y)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature__description",style:{color:c},value:y}),te=!m.RichText.isEmpty(_)&&wp.element.createElement(o.b,{size:C,url:O,newTab:w,align:l,color:k,text:_,icon:S,design:E,backgroundColor:j,borderRadius:x}),ne=d&&wp.element.createElement("img",{className:K,style:Z.image,src:d,alt:p()(v||b)}),ae={titleComp:Q,descriptionComp:ee,buttonComp:te,imageComp:ne};return wp.element.createElement("div",{className:X,style:Z.main},"basic"===G&&"video"===F&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:D}),Object(i.applyFilters)("stackable.feature.save.output.before_1_17_2",null,G,e),Object(i.applyFilters)("stackable.feature.save.output_1_17_2",wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-feature__content"},Q,ee,te),wp.element.createElement("div",{className:"ugb-feature__image-side"},ne)),ae,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-feature(\s*{)/g,"\n.ugb-feature__item$1")},n={overlap:"overlap-bg",overlap2:"overlap-bg2",overlap3:"overlap-bg4"};return f({},e,{design:Object.keys(n).includes(e.design)?n[e.design]:e.design,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),titleColor:e.textColor,descriptionColor:e.textColor,imageWidth:e.imageSize,imageId:e.imageID,imageUrl:e.imageUrl,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],y=n(3),O=n(10),w=n(288),_=n.n(w),j=n(289),k=n.n(j),C=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,o=void 0===r||r,l=t.showDescription,c=void 0===l||l,s=t.showButton,u=void 0===s||s;return Object(i.applyFilters)("stackable.feature.show",{imageColumnWidth:["basic","plain","half"].includes(a),containerWidth:a.match(/^overlap/),containerOffset:a.match(/^overlap(.*)?[2-5]$/),reverseHorizontally:!a.match(/^overlap-?\w*[45]$/),borderRadius:"plain"!==a,columnBackground:"plain"!==a,featuredImageAsBackground:a.match(/^(overlap-bg|half)/),titleSpacing:o,descriptionSpacing:c,buttonSpacing:u},e)},x=n(14),E=n.n(x);function S(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(n,!0).forEach(function(t){B(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){var t=Object(l.b)(e.attributes),n=C(e),a=e.attributes,i=a.design,r=void 0===i?"plain":i,o=a.columnBackgroundColor,c=void 0===o?"":o,s=a.invert,u=void 0!==s&&s,b=[],p=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=("number"!=typeof e?50:e)/100*2,a=2-n;return t?"".concat(a.toFixed(2),"fr ").concat(n.toFixed(2),"fr"):"".concat(n.toFixed(2),"fr ").concat(a.toFixed(2),"fr")};if(n.imageColumnWidth&&b.push({desktopTablet:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnWidth")?p(t("imageColumnWidth"),!u)+" !important":void 0}},tabletOnly:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnTabletWidth")?p(t("imageColumnTabletWidth"),!u)+" !important":void 0}}}),n.borderRadius){var m="basic"===r||"half"===r?".ugb-feature__item":".ugb-feature__content";b.push(B({},m,{borderRadius:t("borderRadius","%spx !important")}))}if(n.columnBackground){var g="basic"===r?"ugb-feature__item":"ugb-feature__content";b.push(T({},n.columnBackground?Object(l.l)("column%s",g,e.attributes,{importantBackgroundColor:!0}):{}))}n.featuredImageAsBackground?(b.push(T({},Object(l.w)("image%s","ugb-feature__image",e.attributes))),b.push({".ugb-feature__item":{height:t("imageBackgroundHeight","%spx !important")},tablet:{".ugb-feature__item":{height:t("imageBackgroundTabletHeight","%spx !important")}},mobile:{".ugb-feature__item":{height:t("imageBackgroundMobileHeight","%spx !important")}}})):b.push(T({},n.featuredImageAsBackground?{}:Object(l.y)("image%s","ugb-img",e.attributes)));var d=e.attributes,f=d.titleColor,h=void 0===f?"":f,v=d.showTitle;(void 0===v||v)&&b.push({".ugb-feature__title":T({},Object(l.H)("title%s","desktop",e.attributes),{color:Object(l.rb)(h,n.columnBackground&&c),textAlign:t("titleAlign")}),tablet:{".ugb-feature__title":T({},Object(l.H)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-feature__title":T({},Object(l.H)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var y=e.attributes,O=y.descriptionColor,w=void 0===O?"":O,_=y.showDescription;(void 0===_||_)&&b.push({".ugb-feature__description":T({},Object(l.H)("description%s","desktop",e.attributes),{color:Object(l.rb)(w,n.columnBackground&&c),textAlign:t("descriptionAlign")}),tablet:{".ugb-feature__description":T({},Object(l.H)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-feature__description":T({},Object(l.H)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}});var j=e.attributes.showButton;return(void 0===j||j)&&(b.push(T({},Object(l.p)("button%s","ugb-button",e.attributes))),b.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),n.titleSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-feature__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-feature__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&b.push.apply(b,S(Object(l.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),E.a.all(b)},N=n(11),M=n(6),R=n(12),F=n(13);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.feature.edit.inspector.layout.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"plain":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(y.A,{initialOpen:!0,selected:r,options:[{image:_.a,label:Object(g.__)("Basic",u.i18n),value:"basic"},{image:k.a,label:Object(g.__)("Plain",u.i18n),value:"plain"}].concat(z(Object(i.applyFilters)("stackable.feature.edit.layouts",[]))),onChange:function(e){n({design:e})}},u.showProNotice&&wp.element.createElement(y.gb,null)))}),Object(i.addFilter)("stackable.feature.edit.inspector.style.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,r=void 0===i?"":i,o=a.shadow,c=void 0===o?"":o,s=a.showTitle,b=void 0===s||s,p=a.titleTag,m=void 0===p?"":p,d=a.titleColor,f=void 0===d?"":d,h=a.invert,v=void 0!==h&&h,O=a.showButton,w=void 0===O||O,_=a.showDescription,j=void 0===_||_,k=a.descriptionColor,x=void 0===k?"":k,E=C(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(N.PanelBody,{title:Object(g.__)("General",u.i18n)},E.imageColumnWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"imageColumn%sWidth",setAttributes:n,blockAttributes:t.attributes,screens:["desktop","tablet"]},wp.element.createElement(y.c,{label:Object(g.__)("Image Column Width",u.i18n),min:0,max:100,allowReset:!0,placeholder:"50",className:"ugb--help-tip-image-column-width"})),E.containerWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"container%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Container Width",u.i18n),min:300,max:1e3,allowReset:!0,className:"ugb--help-tip-feature-container-width"})),E.containerOffset&&wp.element.createElement(y.hb,{attrNameTemplate:"container%sOffset",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Container Offset",u.i18n),min:0,max:300,allowReset:!0,className:"ugb--help-tip-feature-container-offset"})),E.reverseHorizontally&&wp.element.createElement(N.ToggleControl,{label:Object(g.__)("Reverse Horizontally",u.i18n),checked:v,onChange:function(e){return n({invert:e})}}),E.borderRadius&&wp.element.createElement(y.c,{label:Object(g.__)("Border Radius",u.i18n),value:r,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),E.columnBackground&&wp.element.createElement(y.c,{label:Object(g.__)("Shadow / Outline",u.i18n),value:c,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.u,{setAttributes:n,blockAttributes:t.attributes})),E.columnBackground&&wp.element.createElement(y.cb,{title:Object(g.__)("Background",u.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(N.PanelBody,{title:Object(g.__)("Image",u.i18n),initialOpen:!1},!E.featuredImageAsBackground&&wp.element.createElement(y.U,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeBlendMode:!1}),E.featuredImageAsBackground&&wp.element.createElement(M.Fragment,null,wp.element.createElement(y.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.hb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Image Height",u.i18n),min:400,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"})))),wp.element.createElement(y.cb,{title:Object(g.__)("Title",u.i18n),id:"title",checked:b,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(z(Object(l.F)("title%s")),["titleTag","titleColor"],z(Object(l.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.J,{value:m||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.s,{value:f,onChange:function(e){return n({titleColor:e})},label:Object(g.__)("Title Color",u.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.cb,{title:Object(g.__)("Description",u.i18n),id:"description",checked:j,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(z(Object(l.F)("description%s")),["descriptionColor"],z(Object(l.z)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:x,onChange:function(e){return n({descriptionColor:e})},label:Object(g.__)("Description Color",u.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(g.__)("Button",u.i18n),id:"button",checked:w,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(z(Object(l.n)("button%s")),z(Object(l.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(y.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.v,null),wp.element.createElement(y.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(g.__)("Align",u.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(y.db,{initialOpen:!1,blockProps:t},E.titleSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Title",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),E.descriptionSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Description",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),E.buttonSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(g.__)("Button",u.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var I=Object(R.compose)(O.i,O.g,O.d,Object(O.h)(),Object(O.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(O.a)(P,{editorMode:!0}),Object(O.b)([[".ugb-feature__item","column-background"],[".ugb-feature__title","title"],[".ugb-feature__description","description"],[".ugb-button","button"]]),Object(F.withSelect)(function(e,t){Object(l.f)(t.attributes.imageId,e)}))(function(e){var t,n=e.className,a=e.setAttributes,r=e.attributes,o=r.title,c=r.design,b=void 0===c?"basic":c,p=r.shadow,d=void 0===p?"":p,f=r.invert,h=void 0!==f&&f,v=r.showTitle,O=void 0===v||v,w=r.titleTag,_=void 0===w?"":w,j=r.showDescription,k=void 0===j||j,x=r.description,E=void 0===x?"":x,S=r.imageId,A=void 0===S?"":S,T=r.imageUrl,B=void 0===T?"":T,P=r.imageAlt,N=void 0===P?"":P,R=r.imageSize,F=void 0===R?"large":R,z=r.imageShape,I=void 0===z?"":z,H=r.imageShapeStretch,L=void 0!==H&&H,U=r.imageWidth,W=void 0===U?"":U,G=r.imageHeight,V=void 0===G?"":G,q=r.imageShadow,J=void 0===q?"":q,Y=r.showButton,X=void 0===Y||Y,K=C(e),$=s()([n,"ugb-feature--v2","ugb-feature--design-".concat(b)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":K.reverseHorizontally&&h},b,e)),Z=s()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",D({},"ugb--shadow-".concat(d),K.columnBackground&&("basic"===b||"half"===b)&&""!==d),e)),Q=s()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",D({},"ugb--shadow-".concat(d),K.columnBackground&&"basic"!==b&&"half"!==b&&""!==d),e)),ee=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(D(t={},"ugb--shadow-".concat(J),K.columnBackground&&"plain"===b&&""===I),D(t,"ugb-feature__image-has-shape",""!==I),t),b,e));return wp.element.createElement(y.k.Edit,{className:$,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,wp.element.createElement(y.D,{className:Z,backgroundAttrName:"column%s",blockProps:e,showBackground:K.columnBackground&&"basic"===b},wp.element.createElement(y.D,{className:Q,backgroundAttrName:"column%s",blockProps:e,showBackground:K.columnBackground&&"basic"!==b},O&&wp.element.createElement(m.RichText,{tagName:_||"h2",className:"ugb-feature__title",value:o,onChange:function(e){return a({title:e})},placeholder:Object(g.__)("Title for This Block",u.i18n),keepPlaceholderOnFocus:!0}),k&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-feature__description",value:E,onChange:function(e){return a({description:e})},placeholder:Object(l.J)("medium"),keepPlaceholderOnFocus:!0}),X&&wp.element.createElement(y.p,{attrNameTemplate:"button%s",setAttributes:a,blockAttributes:e.attributes})),!K.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(y.Y,{imageID:A,imageURL:B,imageSize:F,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})},render:wp.element.createElement(y.O,{imageId:A,src:B,size:F,shape:I,shapeStretch:L,alt:N,width:W,height:V,shadow:J})})),K.featuredImageAsBackground&&wp.element.createElement(y.Y,{imageID:A,imageURL:B,imageSize:F,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})}})))}})});function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=Object(R.compose)(O.i,Object(O.a)(P))(function(e){var t,n=e.className,a=e.attributes,r=a.title,o=a.design,l=void 0===o?"basic":o,c=a.shadow,u=void 0===c?"":c,b=a.invert,p=void 0!==b&&b,g=a.showTitle,d=void 0===g||g,f=a.titleTag,h=void 0===f?"":f,v=a.showDescription,O=void 0===v||v,w=a.description,_=void 0===w?"":w,j=a.imageId,k=void 0===j?"":j,x=a.imageUrl,E=void 0===x?"":x,S=a.imageAlt,A=void 0===S?"":S,T=a.imageShape,B=void 0===T?"":T,P=a.imageWidth,N=void 0===P?"":P,R=a.imageHeight,F=void 0===R?"":R,D=a.imageShadow,z=void 0===D?"":D,I=a.showButton,L=void 0===I||I,U=a.buttonUrl,W=void 0===U?"":U,G=a.buttonNewTab,V=void 0!==G&&G,q=a.buttonSize,J=void 0===q?"normal":q,Y=a.buttonText,X=void 0===Y?"":Y,K=a.buttonShadow,$=void 0===K?0:K,Z=a.buttonHoverEffect,Q=void 0===Z?"":Z,ee=a.buttonIcon,te=void 0===ee?"":ee,ne=a.buttonIconPosition,ae=void 0===ne?"":ne,ie=a.buttonDesign,re=void 0===ie?"basic":ie,oe=a.buttonHoverGhostToNormal,le=void 0!==oe&&oe,ce=a.buttonNoFollow,se=void 0!==ce&&ce,ue=C(e),be=s()([n,"ugb-feature--v2","ugb-feature--design-".concat(l)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":ue.reverseHorizontally&&p},l,e)),pe=s()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",H({},"ugb--shadow-".concat(u),ue.columnBackground&&("basic"===l||"half"===l)&&""!==u),e)),me=s()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",H({},"ugb--shadow-".concat(u),ue.columnBackground&&"basic"!==l&&"half"!==l&&""!==u),e)),ge=s()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(H(t={},"ugb--shadow-".concat(z),ue.columnBackground&&"plain"===l&&""===B),H(t,"ugb-feature__image-has-shape",""!==B),t),l,e));return wp.element.createElement(y.k.Save,{className:be,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,wp.element.createElement(y.D,{className:pe,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"===l},wp.element.createElement(y.D,{className:me,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"!==l},d&&!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:h||"h2",className:"ugb-feature__title",value:r}),O&&!m.RichText.isEmpty(_)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-feature__description",value:_}),L&&!m.RichText.isEmpty(X)&&wp.element.createElement(y.o.Content,{size:""!==J?J:"normal",text:X,icon:te,newTab:""!==V&&V,url:W,noFollow:se,hoverEffect:Q,ghostToNormalEffect:le,shadow:$,iconPosition:ae,design:""!==re?re:"basic"})),!ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(y.O,{imageId:k,className:ge,src:E,width:N,height:F,alt:A,shape:B,shadow:z})),ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image"})))}})}),U=n(16);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return V}),n.d(t,"name",function(){return q}),n.d(t,"settings",function(){return J});var V=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"}},Object(l.A)("imageColumn%sWidth",{type:"number",default:""}),{},Object(l.A)("container%sWidth",{type:"number",default:""}),{},Object(l.A)("container%sOffset",{type:"number",default:""}),{invert:{type:"boolean",default:!1},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(l.j)("column%s"),{},Object(l.t)("image%s"),{},Object(l.v)("image%s"),{imageShapeStretch:{type:"boolean",default:!0}},Object(l.A)("imageBackground%sHeight",{type:"number",default:""}),{title:{source:"html",selector:".ugb-feature__title",default:Object(g.__)("Title for This Block",u.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(l.G)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:".ugb-feature__description",default:Object(l.J)("medium")},showDescription:{type:"boolean",default:!0}},Object(l.G)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(l.o)("button%s",{selector:".ugb-button"}),{},Object(l.A)("title%sBottomMargin",{type:"number",default:""}),{},Object(l.A)("description%sBottomMargin",{type:"number",default:""}),{},Object(l.A)("button%sBottomMargin",{type:"number",default:""}),{},Object(l.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}}),q="ugb/feature",J={title:Object(g.__)("Feature",u.i18n),description:Object(g.__)("Display a product feature or a service in a large area.",u.i18n),icon:U.m,category:"layout",keywords:[Object(g.__)("Feature",u.i18n),Object(g.__)("Stackable",u.i18n)],supports:{align:["center","wide","full"],inserter:!u.disabledBlocks.includes(q)},deprecated:v,edit:I,save:L,attributes:V,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.feature.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(1),o=n(9),l=n(5);Object(l.addFilter)("stackable.header.design.no-text-attributes","stackable/header",function(e){return Object(o.omit)(e,["title","subtitle","buttonText","button2Text"])}),Object(l.addFilter)("stackable.header.design.filtered-block-attributes","stackable/header",function(e){return Object(o.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow","button2Url","button2NewTab","button2NoFollow"])});var c=n(19),s=n(0),u=n(8),b=n.n(u),p=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{title:{source:"html",selector:"h2",default:Object(s.__)("Title for This Block",r.i18n)},subtitle:{source:"html",selector:"p",default:Object(a.J)()},titleColor:{type:"string"},subtitleColor:{type:"string"},contentAlign:{type:"string",default:"center"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},contentWidth:{type:"boolean",default:!1},align:{type:"string"},invert:{type:"boolean",default:!1},fullHeight:{type:"boolean",default:!1},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(s.__)("Button text",r.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonURL2:{type:"string",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"href",default:""},buttonNewTab2:{type:"boolean",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"target",default:!1},buttonText2:{source:"html",selector:".ugb-header__buttons > *:last-child .ugb-button span",default:Object(s.__)("Button text",r.i18n)},buttonColor2:{type:"string"},buttonTextColor2:{type:"string",default:"#ffffff"},buttonDesign2:{type:"string",default:"basic"},buttonIcon2:{type:"string"},buttonSize2:{type:"string",default:"normal"},buttonBorderRadius2:{type:"number",default:4},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},opacity:{type:"number"},url:{type:"string"},id:{type:"number"}},save:function(e){var t,n,a,i,r,o,s,u,m=e.className,f=e.attributes,h=f.buttonURL,v=f.buttonText,y=f.buttonColor,O=f.buttonTextColor,w=f.buttonDesign,_=f.buttonIcon,j=f.cornerButtonRadius,k=f.size,C=f.title,x=f.titleColor,E=f.subtitle,S=f.subtitleColor,A=f.contentAlign,T=void 0===A?"center":A,B=f.backgroundColorType,P=void 0===B?"":B,N=f.backgroundColor,M=f.backgroundColor2,R=f.backgroundColorDirection,F=void 0===R?0:R,D=f.backgroundType,z=void 0===D?"":D,I=f.backgroundImageURL,H=f.backgroundOpacity,L=f.fixedBackground,U=f.design,W=void 0===U?"basic":U,G=f.borderRadius,V=void 0===G?12:G,q=f.shadow,J=void 0===q?3:q,Y=f.align,X=f.contentWidth,K=void 0!==X&&X,$=f.buttonNewTab,Z=f.invert,Q=void 0!==Z&&Z,ee=f.fullHeight,te=void 0!==ee&&ee,ne=f.buttonSize2,ae=f.buttonTextColor2,ie=f.buttonColor2,re=f.buttonText2,oe=void 0===re?"":re,le=f.buttonBorderRadius2,ce=void 0===le?4:le,se=f.buttonDesign2,ue=void 0===se?"basic":se,be=f.buttonIcon2,pe=void 0===be?"":be,me=f.buttonURL2,ge=void 0===me?"":me,de=f.buttonNewTab2,fe=void 0!==de&&de,he=b()([m,"ugb-header","ugb-header--v2","ugb--background-opacity-"+1*Math.round(H/1),["ugb-header--design-".concat(W)]],Object(l.applyFilters)("stackable.header.mainclasses_1_15_6",(d(t={"ugb--has-background":"plain"!==W&&(N||I),"ugb--has-background-image":"plain"!==W&&I},"ugb--shadow-".concat(J),"plain"!==W&&3!==J),d(t,"ugb--content-width","full"===Y&&K),d(t,"ugb-header--invert",Q),d(t,"ugb-header--full-height",te),d(t,"ugb--has-background-gradient","gradient"===P),d(t,"ugb--has-background-video","video"===z),t),W,e)),ve="plain"===W?{}:{"--ugb-background-color":I||"gradient"===P?N:void 0,"--ugb-background-color2":"gradient"===P&&M?M:void 0,"--ugb-background-direction":"gradient"===P?"".concat(F,"deg"):void 0,backgroundAttachment:L?"fixed":void 0,backgroundColor:N||void 0,backgroundImage:I?"url(".concat(I,")"):void 0,borderRadius:12!==V?V:void 0},ye=Object(l.applyFilters)("stackable.header.styles_1_15_6",{main:g({textAlign:T||void 0},ve),title:{color:x||("plain"===W?void 0:"#ffffff"),textAlign:T||void 0},subtitle:{color:S||("plain"===W?void 0:"#ffffff"),textAlign:T||void 0}},W,e);return wp.element.createElement("div",{className:he,style:ye.main},"plain"!==W&&"video"===z&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:I}),Object(l.applyFilters)("stackable.header.save.output.before_1_15_6",null,W,e),(n=!p.RichText.isEmpty(C)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header__title",style:ye.title,value:C}),a=!p.RichText.isEmpty(E)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header__subtitle",style:ye.subtitle,value:E}),i=v&&!!v.length&&wp.element.createElement(c.b,{size:k,url:h,newTab:$,align:T,color:O,text:v,design:w,icon:_,backgroundColor:y,borderRadius:j}),r=oe&&!!oe.length&&wp.element.createElement(c.b,{size:ne,url:ge,newTab:fe,align:T,color:ae,text:oe,design:ue,icon:pe,backgroundColor:ie,borderRadius:ce}),o={titleComp:n,subtitleComp:a,buttonComp:i},s={justifyContent:"right"===T?"flex-end":"left"===T?"flex-start":void 0},u=oe?wp.element.createElement("div",{className:"ugb-header__buttons",style:s},o.buttonComp,r):o.buttonComp,"basic"===W||"plain"===W?wp.element.createElement("div",{className:"ugb-content-wrapper"},n,a,u):wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-header__wrapper"},n,a,u))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-header(\s*\{)/g,".ugb-header__item$1")},n={};return"half-overlay"===e.design&&e.fullHeight&&(n.design="side-overlay",n[e.invert?"columnPaddingRight":"columnPaddingLeft"]=0),g({},e,{},n,{columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,restrictContentWidth:e.contentWidth,showButton:!!e.buttonText,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,showButton2:!!e.buttonText2,button2Url:e.buttonURL2,button2NewTab:e.buttonNewTab2,button2Text:e.buttonText2,button2BackgroundColor:e.buttonColor2,button2TextColor:e.buttonTextColor2,button2Design:e.buttonDesign2,button2Icon:e.buttonIcon2,button2Size:e.buttonSize2,button2BorderRadius:e.buttonBorderRadius2,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],h=n(3),v=n(10),y=n(14),O=n.n(y),w=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.align,r=void 0===i?"":i,o=t.showTitle,c=void 0===o||o,s=t.showSubtitle,u=void 0===s||s,b=t.showButton,p=void 0===b||b,m=t.showButton2,g=void 0!==m&&m,d=t.showBlockBackground,f=void 0!==d&&d,h=t.blockInnerWidth,v=void 0===h?"":h,y=!f&&"full"!==r||f&&"full"!==v;return Object(l.applyFilters)("stackable.header.show",{columnBackground:"plain"!==a,borderRadius:"plain"!==a&&y,titleSpacing:c,subtitleSpacing:u,buttonSpacing:p||g,buttonGap:p&&g,restrictContent:!f&&"full"===r||f&&"full"===v,overlayBackground:a.match(/overlay/)},e)};function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=Object(a.b)(e.attributes),n=w(e),i=e.attributes.columnBackgroundColor,r=void 0===i?"":i,o=[];n.columnBackground&&o.push({".ugb-header__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}}),o.push(k({},n.columnBackground?Object(a.l)("column%s","ugb-header__item",k({},e.attributes,{columnBackgroundColor:e.attributes.columnBackgroundColor||"#000000"}),{importantBackgroundColor:!0}):{}));var l=e.attributes,c=l.overlayColor,s=void 0===c?"":c,u=l.overlayOpacity,b=void 0===u?"0.4":u;n.overlayBackground&&(s||b)&&o.push({".ugb-content-wrapper, .ugb-content-wrapper:after":{background:Object(a.W)(s||"#000000",""===b?.4:b)+" !important"}});var p=e.attributes,m=p.titleColor,g=void 0===m?"":m,d=p.showTitle;(void 0===d||d)&&o.push({".ugb-header__title":k({},Object(a.H)("title%s","desktop",e.attributes),{color:Object(a.rb)(g,n.columnBackground&&r),textAlign:Object(a.c)(t("titleAlign")||t("contentAlign"))}),tablet:{".ugb-header__title":k({},Object(a.H)("title%s","tablet",e.attributes),{textAlign:Object(a.c)(t("titleTabletAlign")||t("tabletContentAlign"))})},mobile:{".ugb-header__title":k({},Object(a.H)("title%s","mobile",e.attributes),{textAlign:Object(a.c)(t("titleMobileAlign")||t("mobileContentAlign"))})}});var f=e.attributes,h=f.subtitleColor,v=void 0===h?"":h,y=f.showSubtitle;(void 0===y||y)&&o.push({".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","desktop",e.attributes),{color:Object(a.rb)(v,n.columnBackground&&r),textAlign:t("subtitleAlign")}),tablet:{".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","tablet",e.attributes),{textAlign:t("subtitleTabletAlign")})},mobile:{".ugb-header__subtitle":k({},Object(a.H)("subtitle%s","mobile",e.attributes),{textAlign:t("subtitleMobileAlign")})}});var j=e.attributes,C=j.showButton,x=void 0!==C&&C,E=j.showButton2,S=void 0===E||E;return(x||S)&&(o.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("contentAlign")?"flex-start":"right"===t("contentAlign")?"flex-end":"center"===t("contentAlign")?"center":void 0)},tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("tabletContentAlign")?"flex-start":"right"===t("tabletContentAlign")?"flex-end":"center"===t("tabletContentAlign")?"center":void 0)}},mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("mobileContentAlign")?"flex-start":"right"===t("mobileContentAlign")?"flex-end":"center"===t("mobileContentAlign")?"center":void 0)}}}),t("buttonAlign")&&o.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonAlign")?"flex-start":"right"===t("buttonAlign")?"flex-end":"center"===t("buttonAlign")?"center":void 0)}}),t("buttonTabletAlign")&&o.push({tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonTabletAlign")?"flex-start":"right"===t("buttonTabletAlign")?"flex-end":"center"===t("buttonTabletAlign")?"center":void 0)}}}),t("buttonMobileAlign")&&o.push({mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonMobileAlign")?"flex-start":"right"===t("buttonMobileAlign")?"flex-end":"center"===t("buttonMobileAlign")?"center":void 0)}}})),x&&o.push(k({},Object(a.p)("button%s","ugb-button1",e.attributes))),S&&o.push(k({},Object(a.p)("button2%s","ugb-button2",e.attributes))),n.titleSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-header__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.subtitleSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-header__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&o.push.apply(o,_(Object(a.C)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonGap&&o.push.apply(o,_(Object(a.C)(".ugb-button1","buttonGap%s","marginRight","%spx",e.attributes,!0))),O.a.all(o)},E=n(290),S=n.n(E),A=n(291),T=n.n(A),B=n(11),P=n(12),N=n(6);function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(l.addFilter)("stackable.header.edit.inspector.layout.before","stackable/header",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(h.A,{initialOpen:!0,selected:i,options:[{image:S.a,label:Object(s.__)("Basic",r.i18n),value:"basic"},{image:T.a,label:Object(s.__)("Plain",r.i18n),value:"plain"}].concat(M(Object(l.applyFilters)("stackable.header.edit.layouts",[]))),onChange:function(e){n({design:e})}},r.showProNotice&&wp.element.createElement(h.gb,null)))}),Object(l.addFilter)("stackable.header.edit.inspector.style.before","stackable/header",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.design,l=void 0===o?"basic":o,c=i.borderRadius,u=void 0===c?"":c,b=i.shadow,p=void 0===b?"":b,m=i.showTitle,g=void 0===m||m,d=i.showSubtitle,f=void 0===d||d,v=i.titleTag,y=void 0===v?"":v,O=i.titleColor,_=void 0===O?"":O,j=i.subtitleColor,k=void 0===j?"":j,C=i.invert,x=void 0!==C&&C,E=i.restrictContentWidth,S=void 0!==E&&E,A=i.fullHeight,T=void 0!==A&&A,P=i.showButton,R=void 0===P||P,F=i.showButton2,D=void 0!==F&&F,z=i.overlayColor,I=void 0===z?"":z,H=i.overlayOpacity,L=void 0===H?"":H,U=w(t);return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(B.PanelBody,{title:Object(s.__)("General",r.i18n)},!["basic","plain","center-overlay"].includes(l)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Reverse Horizontally",r.i18n),checked:x,onChange:function(e){return n({invert:e})}}),wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Full Height",r.i18n),checked:T,onChange:function(e){return n({fullHeight:e})},className:"ugb--help-tip-full-height"}),U.restrictContent&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Restrict to Content Width",r.i18n),checked:S,onChange:function(e){return n({restrictContentWidth:e})},className:"ugb--help-tip-general-restrict-content"}),U.borderRadius&&wp.element.createElement(h.c,{label:Object(s.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),U.columnBackground&&wp.element.createElement(h.c,{label:Object(s.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(h.u,{setAttributes:n,blockAttributes:t.attributes})),U.columnBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Column Background",r.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(h.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),U.overlayBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Overlay Background",r.i18n),id:"overlay-background",initialOpen:!1},wp.element.createElement(h.s,{label:Object(s.__)("Background Color",r.i18n),value:I,onChange:function(e){return n({overlayColor:e})}}),wp.element.createElement(h.c,{label:Object(s.__)("Background Color Opacity",r.i18n),value:L,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(h.cb,{title:Object(s.__)("Title",r.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("title%s")),["titleTag","titleColor"],M(Object(a.z)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(h.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.J,{value:y||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(h.s,{value:_,onChange:function(e){return n({titleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Subtitle",r.i18n),id:"subtitle",checked:f,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.F)("subtitle%s")),["subtitleColor"],M(Object(a.z)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(h.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.s,{value:k,onChange:function(e){return n({subtitleColor:e})},label:Object(s.__)("Subtitle Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",r.i18n),Object(s.__)("Button",r.i18n),1),id:"button1",checked:R,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(M(Object(a.n)("button%s")),M(Object(a.z)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(h.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.v,null),wp.element.createElement(h.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),help:Object(s.__)("This affects other buttons in this block",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.cb,{title:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",r.i18n),Object(s.__)("Button",r.i18n),2),id:"button2",checked:D,onChange:function(e){return n({showButton2:e})},toggleOnSetAttributes:M(Object(a.n)("button2%s")),toggleAttributeName:"showButton2"},wp.element.createElement(h.n,{attrNameTemplate:"button2%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),help:Object(s.__)("This affects other buttons in this block",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.db,{initialOpen:!1,blockProps:t},U.titleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),U.subtitleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"subtitle%sB
|