Stackable – Page Builder Gutenberg Blocks - Version 3.1.4

Version Description

  • Fixed: Blocks with variations couldn't be added (free only)
  • Fixed: Layout switcher button doesn't show
Download this release

Release Info

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

Code changes from version 3.1.3 to 3.1.4

Files changed (1) hide show
  1. dist/editor_blocks.js +0 -1
dist/editor_blocks.js CHANGED
@@ -1 +1 @@
1
- var editor_blocks;(()=>{var e,t={3347:(e,t,a)=>{"use strict";a.d(t,{W:()=>o,L:()=>r});var n=a(2610),l=a(3284),i=a(78);const o=e=>`${e.substring(0,7)}`,r=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{clientId:t}=(0,i.useBlockEditContext)();(0,n.useEffect)((()=>{const a=(0,l.select)("core/block-editor").getBlockAttributes(t);if(!a)return;if(!e&&!a.uniqueId)return;const n=o(t);a.uniqueId?n!==a.uniqueId&&document.querySelectorAll(`[data-block-id="${a.uniqueId}"]`).length>1&&(a.uniqueId=n):a.uniqueId=n}),[t])}},4392:(e,t,a)=>{"use strict";a.d(t,{y:()=>c});var n=a(2610),l=a(3870),i=a(910),o=a(3233),r=a(8003);const s=e=>{let{hasLink:t,hasTitle:a}=e;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.ME,null,(0,n.createElement)(o.SQ,{title:(0,r.__)("Link",i.i18n),id:"link"},(0,n.createElement)(l.W3,{attrNameTemplate:"blockLink%s",hasLink:t,hasTitle:a}))))};s.defaultProps={hasLink:!0,hasTitle:!0};const c=()=>null;c.Content=e=>{const{href:t,attributes:a,isHidden:l}=e;return a.blockLinkUrl?(0,n.createElement)(o.rU.Content,{className:"stk-block-link stk--transparent-overlay",href:t||a.blockLinkUrl,target:a.blockLinkNewTab?"_blank":"",rel:a.blockLinkRel||void 0,title:a.blockLinkTitle||void 0,"aria-hidden":l?"true":void 0,tabindex:l?"-1":void 0}):null},c.Content.defaultProps={className:"",attributes:{},href:"",isHidden:!0},c.InspectorControls=s,c.addAttributes=e=>{(0,l._1)(e,"blockLink%s","a.stk-block-link")},c.addStyles=()=>{}},376:(e,t,a)=>{"use strict";a.d(t,{w:()=>l});var n=a(8085);const l=e=>{const t=[];return e.reduce(((e,a)=>((0,n.sum)(e[e.length-1])+a>100?e.push([a]):e[e.length-1].push(a),t.push(e.length),e)),[[]]),t}},3870:(e,t,a)=>{"use strict";a.d(t,{W3:()=>u,_1:()=>l});const n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";return{hasLink:{type:"boolean",default:!0},url:{type:"string",source:"attribute",selector:e,attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:e,attribute:"target",default:!1},rel:{type:"string",source:"attribute",selector:e,attribute:"rel",default:""},hasTitle:{type:"boolean",default:!0},title:{type:"string",source:"attribute",selector:e,attribute:"title",default:""}}},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"a";e.add({attributes:n(a),attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})};var i=a(2610),o=a(910),r=a(3233),s=a(8003),c=a(6869);const u=e=>{const{hasLink:t,hasTitle:a}=e,{getAttribute:n,updateAttributeHandler:l}=(0,c.Mf)(e.attrNameTemplate);return(0,i.createElement)(i.Fragment,null,(t||n("hasLink"))&&(0,i.createElement)(r.nD,{label:(0,s.__)("Link / URL",o.i18n),value:n("url"),onChange:l("url")}),(0,i.createElement)(r.PQ,{label:(0,s.__)("Open in new tab",o.i18n),checked:n("newTab"),onChange:l("newTab")}),(0,i.createElement)(r.nS,{label:(0,s.__)("Link rel",o.i18n),value:n("rel"),onChange:l("rel")}),(a||n("hasTitle"))&&(0,i.createElement)(r.nS,{label:(0,s.__)("Link Title",o.i18n),value:n("title"),onChange:l("title"),isDynamic:!0,isFormatType:!1}))};u.defaultProps={attrNameTemplate:"%s",hasLink:!0,hasTitle:!1}},2285:(e,t,a)=>{"use strict";a.d(t,{aE:()=>h,v2:()=>ot,H:()=>C,YI:()=>y,Q:()=>X,yG:()=>Y.y,QW:()=>oe,BI:()=>B,N4:()=>w,zx:()=>ze,sg:()=>Fe,fN:()=>Me,e4:()=>He,hK:()=>je,mz:()=>J,qy:()=>Ke,ZK:()=>et,fn:()=>z,SX:()=>M,JO:()=>pe,Ee:()=>zt,rU:()=>Ce,EG:()=>It,cy:()=>Xt,Et:()=>ea,X2:()=>st,Z0:()=>jt,bg:()=>Qt.bg,wx:()=>na,ZT:()=>ma,PH:()=>k,_I:()=>E,c4:()=>A,Xd:()=>Wt,Yr:()=>Gt,KL:()=>Qt.KL,NA:()=>it,$U:()=>Pe,gd:()=>We,ul:()=>Yt,pc:()=>rt,HI:()=>Ht,Qz:()=>da,j7:()=>Ut,Wy:()=>lt,h5:()=>$e,i_:()=>Qt.i_,Ld:()=>P.L});var n=a(2610),l=a(910),i=a(3233),o=a(6869),r=a(1874),s=a(78),c=a(8003);const u=[{value:"",label:(0,c.__)("Default",l.i18n)},{value:"address",label:(0,c._x)("Address","HTML Tag",l.i18n)},{value:"article",label:(0,c._x)("Article","HTML Tag",l.i18n)},{value:"aside",label:(0,c._x)("Aside","HTML Tag",l.i18n)},{value:"blockquote",label:(0,c._x)("Blockquote","HTML Tag",l.i18n)},{value:"div",label:(0,c._x)("Div","HTML Tag",l.i18n)},{value:"details",label:(0,c._x)("Details","HTML Tag",l.i18n)},{value:"footer",label:(0,c._x)("Footer","HTML Tag",l.i18n)},{value:"header",label:(0,c._x)("Header","HTML Tag",l.i18n)},{value:"hgroup",label:(0,c._x)("Hgroup","HTML Tag",l.i18n)},{value:"main",label:(0,c._x)("Main","HTML Tag",l.i18n)},{value:"nav",label:(0,c._x)("Nav","HTML Tag",l.i18n)},{value:"section",label:(0,c._x)("Section","HTML Tag",l.i18n)},{value:"summary",label:(0,c._x)("Summary","HTML Tag",l.i18n)}];var d=a(7462),m=a(4678);const b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{positionSelector:t=""}=e;return[{selector:t,hoverSelector:t?`${t}:hover`:void 0,styleRule:"top",attrName:"positionNum",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:(e,t,a)=>e&&""===e.top&&"sticky"===t("position",a,"normal",!0)?0:null==e?void 0:e.top},{selector:t,hoverSelector:t?`${t}:hover`:void 0,styleRule:"right",attrName:"positionNum",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right},{selector:t,hoverSelector:t?`${t}:hover`:void 0,styleRule:"bottom",attrName:"positionNum",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:t,hoverSelector:t?`${t}:hover`:void 0,styleRule:"left",attrName:"positionNum",responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left},{renderIn:"edit",selector:t,hoverSelector:t?`${t}:hover`:void 0,styleRule:"position",attrName:"positionNum",responsive:"all",hover:"all",valuePreCallback:(e,t,a)=>{if(e&&(""!==e.top||""!==e.right||""!==e.bottom||""!==e.left)&&""===t("position",a))return"relative"}},{selector:"",styleRule:"position",attrName:"position",responsive:"all"},{selector:"",styleRule:"opacity",attrName:"opacity",responsive:"all",hover:"all"},{renderIn:"edit",selectorCallback:e=>`.editor-styles-wrapper [data-block="${e("clientId")}"]`,styleRule:"zIndex",attrName:"zIndex",responsive:"all"},{renderIn:"save",selector:"",styleRule:"zIndex",attrName:"zIndex",responsive:"all"},{selector:"",styleRule:"overflow",attrName:"overflow",responsive:"all"},{selector:".stk-container",styleRule:"overflow",attrName:"overflow",enabledCallback:e=>"visible"===e("overflow"),responsive:"all"},{selector:"",styleRule:"clear",attrName:"clear"}]},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{positionSelector:t=""}=e;return[{selector:t,styleRule:"top",attrName:"positionNum",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.top)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hovered");if(e&&""!==e.top||n&&""!==n.top)return 0}}},{selector:t,styleRule:"right",attrName:"positionNum",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.right)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hovered");if(e&&""!==e.right||n&&""!==n.right)return 0}}},{selector:t,styleRule:"bottom",attrName:"positionNum",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.bottom)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hovered");if(e&&""!==e.bottom||n&&""!==n.bottom)return 0}}},{selector:t,styleRule:"left",attrName:"positionNum",responsive:"all",valuePreCallback:(e,t,a,n)=>{if((!e||""===e.left)&&"normal"===n){const e=t("positionNum",a,"hover"),n=t("positionNum",a,"parent-hovered");if(e&&""!==e.left||n&&""!==n.left)return 0}}}]},p=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,b(a)),r=(0,m.yK)(t,g(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)))};p.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,b(a)),r=(0,m.Wi)(t,g(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)))};const h=()=>null;h.InspectorControls=()=>{const{clientId:e}=(0,s.useBlockEditContext)();(0,r.$)();const t=(0,o.kX)(e);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("General",l.i18n),id:"general"},(0,n.createElement)(i.qD,{label:(0,c.sprintf)((0,c._x)("%s HTML Tag","component",l.i18n),(0,c.__)("Block",l.i18n)),attribute:"htmlTag",options:u}),(0,n.createElement)(i.qD,{label:(0,c.__)("Overflow",l.i18n),attribute:"overflow",responsive:"all",options:[{value:"",label:(0,c.__)("Default",l.i18n)},{value:"auto",label:(0,c.__)("Auto",l.i18n)},{value:"hidden",label:(0,c.__)("Hidden",l.i18n)},{value:"scroll",label:(0,c.__)("Scroll",l.i18n)},{value:"visible",label:(0,c.__)("Visible",l.i18n)}]}),(0,n.createElement)(i.qD,{label:(0,c.__)("Clear",l.i18n),attribute:"clear",options:[{value:"",label:(0,c.__)("Default",l.i18n)},{value:"left",label:(0,c.__)("Left",l.i18n)},{value:"right",label:(0,c.__)("Right",l.i18n)},{value:"both",label:(0,c.__)("Both",l.i18n)},{value:"none",label:(0,c.__)("None",l.i18n)}]})),(0,n.createElement)(i.SQ,{title:(0,c.__)("Position",l.i18n),id:"position"},(0,n.createElement)(i.o1,{label:(0,c.__)("Opacity",l.i18n),attribute:"opacity",responsive:"all",hover:"all",min:0,max:1,step:.1,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-opacity"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Z-Index",l.i18n),attribute:"zIndex",responsive:"all",sliderMin:-10,sliderMax:10,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"}),(0,n.createElement)(i.qD,{label:(0,c.__)("Position",l.i18n),attribute:"position",responsive:"all",help:[t.position,t.positionTablet,t.positionMobile].includes("sticky")?(0,c.__)("Sticky position may not work across all themes",l.i18n):"",options:[{value:"",label:(0,c.__)("Default",l.i18n)},{value:"static",label:(0,c.__)("Static",l.i18n)},{value:"relative",label:(0,c.__)("Relative",l.i18n)},{value:"absolute",label:(0,c.__)("Absolute",l.i18n)},{value:"sticky",label:(0,c.__)("Sticky",l.i18n)}]}),(0,n.createElement)(i.ld,{label:(0,c.__)("Position",l.i18n),attribute:"positionNum",responsive:"all",units:["px","%"],hover:"all",defaultLocked:!1,hasLock:!1,sliderMin:-100,sliderMax:100,className:"ugb--help-tip-advanced-block-paddings"}))))},h.addAttributes=e=>{e.add({attributes:{htmlTag:{type:"string",default:""},opacity:{stkResponsive:!0,stkHover:!0,type:"number",default:""},zIndex:{stkResponsive:!0,type:"number",default:""},overflow:{stkResponsive:!0,type:"string",default:""},clear:{type:"string",default:""},position:{stkResponsive:!0,type:"string",default:""},positionNum:{stkUnits:"px",stkResponsive:!0,stkHover:!0,type:"object",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},h.Style=p;const v={backgroundColorType:{type:"string",default:""},backgroundColor:{stkHover:!0,type:"string",default:""},backgroundColor2:{type:"string",default:""},backgroundMediaId:{stkResponsive:!0,type:"string",default:""},backgroundMediaUrl:{stkResponsive:!0,type:"string",default:""},backgroundGradientBlendMode:{type:"string",default:""},backgroundPosition:{stkResponsive:!0,type:"string",default:""},backgroundRepeat:{stkResponsive:!0,type:"string",default:""},backgroundSize:{stkResponsive:!0,type:"string",default:""},backgroundImageBlendMode:{type:"string",default:""},backgroundColorOpacity:{stkHover:!0,type:"number",default:""},backgroundTintStrength:{stkHover:!0,type:"number",default:""},backgroundGradientDirection:{type:"number",default:""},backgroundCustomSize:{stkResponsive:!0,stkUnits:"%",type:"number",default:""},backgroundGradientLocation1:{type:"number",default:""},backgroundGradientLocation2:{type:"number",default:""},fixedBackground:{type:"boolean",default:""}},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:v,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t="",attrNameTemplate:a="%s",backgroundFallbackColor:n="#ffffff"}=e;return[{selector:t,hoverSelector:`${t}:hover`,styleRule:"backgroundColor",attrName:"backgroundColor",attrNameTemplate:a,hoverCallback:e=>"gradient"!==e("backgroundColorType")&&"all",valueCallback:(e,t,a,n)=>{const l=t("backgroundColorType"),i=t("backgroundColorOpacity","desktop",n),o=t("backgroundMediaUrl","desktop")||t("backgroundMediaUrl","tablet")||t("backgroundMediaUrl","mobile");return l||""===i||o?e:`${(0,m.a7)(e||"#ffffff",i||0)}`},valuePreCallback:(e,t,a,l)=>{let i=e;return i||""===t("backgroundColorOpacity","desktop",l)||(i=("desktop"!==a||"normal"!==l)&&t("backgroundColor","desktop","normal")||n),i},dependencies:["backgroundColorOpacity","backgroundColorType","backgroundMediaUrl"]},{selector:t,styleRule:"backgroundImage",attrName:"backgroundMediaUrl",attrNameTemplate:a,format:"url(%s)",responsive:"all"},{selector:t,styleRule:"backgroundAttachment",attrName:"fixedBackground",attrNameTemplate:a,valueCallback:e=>e?"fixed":void 0},{selector:t,styleRule:"backgroundPosition",attrName:"backgroundPosition",attrNameTemplate:a,responsive:"all"},{selector:t,styleRule:"backgroundRepeat",attrName:"backgroundRepeat",attrNameTemplate:a,responsive:"all"},{selector:t,styleRule:"backgroundSize",attrName:"backgroundSize",attrNameTemplate:a,responsive:"all",valueCallback:(e,t,a)=>"custom"===e&&t("backgroundCustomSize",a)?t("backgroundCustomSize",a)+(t("backgroundCustomSizeUnit",a)||"%"):e,dependencies:["backgroundCustomSize","backgroundCustomSizeUnit"]},{selector:t,styleRule:"backgroundBlendMode",attrName:"backgroundImageBlendMode",attrNameTemplate:a},{selector:`${t}:before`,hoverSelector:`${t}:hover:before`,styleRule:"backgroundColor",attrName:"backgroundColor",attrNameTemplate:a,hover:"all",valuePreCallback:(e,t,a,n)=>""===e&&t("backgroundTintStrength",a,n)?"#000000":e,valueCallback:(e,t)=>"gradient"!==t("backgroundColorType")&&e?e:void 0,dependencies:["backgroundColorType"]},{selector:`${t}:before`,hoverSelector:`${t}:hover:before`,styleRule:"opacity",attrName:"backgroundTintStrength",attrNameTemplate:a,hover:"all",enabledCallback:e=>!!e("backgroundMediaUrl","mobile","normal",!0),valuePreCallback:(e,t,a,n)=>""===e&&t("backgroundColor",a,n)?5:e,valueCallback:e=>parseInt(e,10)/10,dependencies:["backgroundColor","backgroundMediaUrl"]},{selector:`${t}:before`,styleRule:"mixBlendMode",attrName:"backgroundGradientBlendMode",attrNameTemplate:a,enabledCallback:e=>"gradient"===e("backgroundColorType"),dependencies:["backgroundColorType"]},{selector:`${t}:before`,styleRule:"backgroundImage",attrName:"backgroundColor",attrNameTemplate:a,enabledCallback:e=>"gradient"===e("backgroundColorType"),valueCallback:(e,t)=>{const a=(0,m.a7)(t("backgroundColor2")||"#ffffff",0),n=(0,m.a7)(t("backgroundColor")||"#ffffff",0),l=`${t("backgroundGradientLocation1")||"0"}%`,i=`${t("backgroundGradientLocation2")||"100"}%`;let o=t("backgroundGradientDirection");return""===o&&(o="90"),o=`${o}deg`,`linear-gradient(${o}, ${t("backgroundColor")||a} ${l}, ${t("BackgroundColor2")||n} ${i})`},dependencies:["backgroundColorType","backgroundColor","backgroundColor2","backgroundGradientLocation1","backgroundGradientLocation2","backgroundGradientDirection"]},{renderIn:"edit",selector:`${t}:before`,styleRule:"borderRadius",attrName:"borderRadius",attrNameTemplate:a,format:"%spx",enabledCallback:e=>"gradient"===e("backgroundColorType")||e("backgroundColor")||e("backgroundColor","desktop","hover")||e("backgroundColor","desktop","parent-hovered"),dependencies:["backgroundColorType","backgroundColor"]}]},y=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,f(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};y.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,f(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};const C=e=>{const t=(0,o.hU)(),{getAttribute:a,getAttributes:r,updateAttributes:s,getAttrName:u}=(0,o.Mf)(e.attrNameTemplate),d=a("backgroundMediaUrl")||a("backgroundMediaUrlTablet")||a("backgroundMediaUrlMobile"),b=(0,n.useCallback)((()=>[a("backgroundMediaUrl"),a("backgroundMediaUrlTablet"),a("backgroundMediaUrlMobile")].filter((e=>e)).filter(m.sM).length>0),[a("backgroundMediaUrl"),a("backgroundMediaUrlTablet"),a("backgroundMediaUrlMobile")]);return(0,n.createElement)(n.Fragment,null,e.hasGradient&&(0,n.createElement)(i.iB,{controls:[{value:"",title:(0,c.__)("Single",l.i18n)},{value:"gradient",title:(0,c.__)("Gradient",l.i18n)}],attribute:u("backgroundColorType"),fullwidth:!1,isSmall:!0}),(0,n.createElement)(i.Xw,{label:"gradient"===a("backgroundColorType")?(0,c.sprintf)((0,c._x)("%s #%d","option title",l.i18n),(0,c.__)("Background Color",l.i18n),1):(0,c.__)("Background Color",l.i18n),attribute:u("backgroundColor"),hasTransparent:!0,hover:"gradient"!==a("backgroundColorType")&&"all"}),"gradient"!==a("backgroundColorType")&&!a("backgroundMediaUrl")&&!a("backgroundMediaUrlTablet")&&!a("backgroundMediaUrlMobile")&&(0,n.createElement)(i.o1,{label:(0,c.__)("Background Color Opacity",l.i18n),attribute:u("backgroundColorOpacity"),hover:"all",min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),"gradient"===a("backgroundColorType")&&(0,n.createElement)(i.Xw,{label:(0,c.sprintf)((0,c._x)("%s #%d","option title",l.i18n),(0,c.__)("Background Color",l.i18n),2),attribute:u("backgroundColor2")}),"gradient"===a("backgroundColorType")&&(0,n.createElement)(i.NT,{label:(0,c.__)("Adv. Gradient Color Settings",l.i18n),onReset:()=>{s({backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:"",backgroundGradientLocation2:""})},allowReset:""!==a("backgroundGradientDirection")&&90!==a("backgroundGradientDirection")||""!==a("backgroundGradientLocation1")&&0!==a("backgroundGradientLocation1")||""!==a("backgroundGradientLocation2")&&100!==a("backgroundGradientLocation2")||a("backgroundGradientBlendMode")},(0,n.createElement)(i.o1,{label:(0,c.__)("Gradient Direction (degrees)",l.i18n),attribute:u("backgroundGradientDirection"),min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),(0,n.createElement)(i.o1,{label:(0,c.sprintf)((0,c.__)("Color %d Location",l.i18n),1),attribute:u("backgroundGradientLocation1"),sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),(0,n.createElement)(i.o1,{label:(0,c.sprintf)((0,c.__)("Color %d Location",l.i18n),2),attribute:u("backgroundGradientLocation2"),sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.hasBackgroundGradientBlendMode&&(0,n.createElement)(i.Yd,{label:(0,c.__)("Background Gradient Blend Mode",l.i18n),attribute:u("backgroundGradientBlendMode"),className:"ugb--help-tip-background-blend-mode"})),"gradient"===a("backgroundColorType")&&(0,n.createElement)(i.Eg,null),e.hasBackgroundImage&&(0,n.createElement)(i.Wb,{label:e.backgroundMediaAllowVideo?(0,c.__)("Background Image or Video",l.i18n):(0,c.__)("Background Image",l.i18n),help:e.backgroundMediaAllowVideo?(0,c.__)("Use .mp4 format for videos",l.i18n):"",allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"],attribute:u("backgroundMedia"),responsive:"all"}),d&&(0,n.createElement)(i.o1,{label:(0,c.__)("Background Media Tint Strength",l.i18n),attribute:u("backgroundTintStrength"),hover:"all",min:0,max:10,step:1,allowReset:!0,placeholder:a("backgroundColor")?"5":"0",className:"ugb--help-tip-background-tint"}),d&&!b()&&(0,n.createElement)(i.PQ,{label:(0,c.__)("Fixed Background",l.i18n),attribute:u("fixedBackground"),className:"ugb--help-tip-background-fixed"}),d&&(0,n.createElement)(i.NT,{label:(0,c.__)("Adv. Background Image Settings",l.i18n),onReset:()=>{s({BackgroundPosition:"",BackgroundPositionTablet:"",BackgroundPositionMobile:"",BackgroundRepeat:"",BackgroundRepeatTablet:"",BackgroundRepeatMobile:"",BackgroundSize:"",BackgroundSizeTablet:"",BackgroundSizeMobile:"",BackgroundCustomSize:"",BackgroundCustomSizeTablet:"",BackgroundCustomSizeMobile:"",BackgroundCustomSizeUnit:"%",BackgroundCustomSizeUnitTablet:"%",BackgroundCustomSizeUnitMobile:"%",BackgroundImageBlendMode:""})},allowReset:a("backgroundPosition")||a("BackgroundPositionTablet")||a("BackgroundPositionMobile")||a("backgroundRepeat")||a("BackgroundRepeatTablet")||a("BackgroundRepeatMobile")||a("backgroundSize")||a("BackgroundSizeTablet")||a("BackgroundSizeMobile")||a("backgroundImageBlendMode")},(0,n.createElement)(i.qD,{label:(0,c.__)("Image Position",l.i18n),attribute:u("backgroundPosition"),options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Top Left",l.i18n),value:"top left"},{label:(0,c.__)("Top Center",l.i18n),value:"top center"},{label:(0,c.__)("Top Right",l.i18n),value:"top right"},{label:(0,c.__)("Center Left",l.i18n),value:"center left"},{label:(0,c.__)("Center Center",l.i18n),value:"center center"},{label:(0,c.__)("Center Right",l.i18n),value:"center right"},{label:(0,c.__)("Bottom Left",l.i18n),value:"bottom left"},{label:(0,c.__)("Bottom Center",l.i18n),value:"bottom center"},{label:(0,c.__)("Bottom Right",l.i18n),value:"bottom right"}],className:"ugb--help-tip-background-image-position",responsive:"all"}),(0,n.createElement)(i.qD,{label:(0,c.__)("Image Repeat",l.i18n),attribute:u("backgroundRepeat"),options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("No-Repeat",l.i18n),value:"no-repeat"},{label:(0,c.__)("Repeat",l.i18n),value:"repeat"},{label:(0,c.__)("Repeat-X",l.i18n),value:"repeat-x"},{label:(0,c.__)("Repeat-Y",l.i18n),value:"repeat-y"}],className:"ugb--help-tip-background-image-repeat",responsive:"all"}),(0,n.createElement)(i.qD,{label:(0,c.__)("Image Size",l.i18n),attribute:u("backgroundSize"),options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Auto",l.i18n),value:"auto"},{label:(0,c.__)("Cover",l.i18n),value:"cover"},{label:(0,c.__)("Contain",l.i18n),value:"contain"},{label:(0,c.__)("Custom",l.i18n),value:"custom"}],className:"ugb--help-tip-background-image-size",responsive:"all"}),"custom"===r()[(0,m.UX)(u("backgroundSize"),t)]&&(0,n.createElement)(i.o1,{label:(0,c.__)("Custom Size",l.i18n),attribute:u("backgroundCustomSize"),responsive:"all",units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100]}),(0,n.createElement)(i.Yd,{label:(0,c.__)("Image Blend Mode",l.i18n),attribute:u("backgroundImageBlendMode")})))};C.defaultProps={attrNameTemplate:"%s",backgroundMediaAllowVideo:!0,hasGradient:!0,hasBackgroundImage:!0,hasBackgroundGradientBlendMode:!0};const _={borderType:{type:"string",default:""},borderColor:{stkHover:!0,type:"string",default:""},borderWidth:{stkResponsive:!0,stkHover:!0,type:"object"},borderRadius:{stkResponsive:!0,stkHover:!0,type:"number",default:""},shadow:{stkHover:!0,type:"string",default:""}},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:_,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t="",attrNameTemplate:a="%s",hoverSelector:n,borderRadiusSelector:l}=e;return[{selector:l||t,styleRule:"borderRadius",attrName:"borderRadius",attrNameTemplate:a,format:"%spx",responsive:"all",hover:"all",hoverSelector:l?void 0:n},{selector:l||t,styleRule:"overflow",attrName:"borderRadius",attrNameTemplate:a,responsive:"all",hover:"all",hoverSelector:l?void 0:n,valueCallback:()=>"hidden"},{selector:t,styleRule:"boxShadow",attrName:"shadow",attrNameTemplate:a,hover:"all",hoverSelector:n},{selector:t,styleRule:"borderStyle",attrName:"borderType",attrNameTemplate:a},{selector:t,styleRule:"borderColor",attrName:"borderColor",attrNameTemplate:a,enabledCallback:e=>e("borderType"),hover:"all",hoverSelector:n},{selector:t,styleRule:"borderTopWidth",attrName:"borderWidth",attrNameTemplate:a,responsive:"all",hover:"all",hoverSelector:n,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.top},{selector:t,styleRule:"borderRightWidth",attrName:"borderWidth",attrNameTemplate:a,responsive:"all",hover:"all",hoverSelector:n,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.right},{selector:t,styleRule:"borderBottomWidth",attrName:"borderWidth",attrNameTemplate:a,responsive:"all",hover:"all",hoverSelector:n,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.bottom},{selector:t,styleRule:"borderLeftWidth",attrName:"borderWidth",attrNameTemplate:a,responsive:"all",hover:"all",hoverSelector:n,format:"%spx",enabledCallback:e=>e("borderType"),valuePreCallback:e=>null==e?void 0:e.left}]},w=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,x(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};w.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,x(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};const S=[{value:"",title:(0,c.__)("None",l.i18n)},{value:"solid",title:(0,c.__)("Solid",l.i18n)},{value:"dashed",title:(0,c.__)("Dashed",l.i18n)},{value:"dotted",title:(0,c.__)("Dotted",l.i18n)}],B=e=>{const{getAttribute:t,getAttrName:a}=(0,o.Mf)(e.attrNameTemplate);return(0,n.createElement)(n.Fragment,null,e.hasBorderType&&(0,n.createElement)(i.iB,{label:(0,c.__)("Borders",l.i18n),controls:S,className:"ugb-border-controls__border-type-toolbar",attribute:a("borderType"),fullwidth:!0,isSmall:!0}),(t("borderType")||!e.hasBorderType)&&e.hasBorderControls&&(0,n.createElement)(i.ld,{label:(0,c.__)("Border Width"),attribute:a("borderWidth"),responsive:"all",hover:"all",min:0,max:99,step:1,sliderMax:5,defaultLocked:!0}),(t("borderType")||!e.hasBorderType)&&e.hasBorderControls&&(0,n.createElement)(i.Xw,{label:(0,c.__)("Border Color",l.i18n),attribute:a("borderColor"),hover:"all",hasTransparent:!0}),(0,n.createElement)(i.o1,{label:(0,c.__)("Border Radius",l.i18n),attribute:a("borderRadius"),responsive:"all",hover:e.hasBorderRadiusHover,className:"ugb--help-tip-general-border-radius",min:0,sliderMax:e.borderSliderMax,placeholderRender:e.borderRadiusPlaceholder}),(0,n.createElement)(i.s5,{label:(0,c.__)("Shadow / Outline",l.i18n),attribute:a("shadow"),hover:"all"}))};B.defaultProps={attrNameTemplate:"%s",blockEl:null,hasBorderType:!0,hasBorderControls:!0,hasBorderRadiusHover:!0,borderSelector:null,borderSliderMax:50};const T={columnGap:{stkResponsive:!0,type:"number",default:""},rowGap:{stkResponsive:!0,type:"number",default:""}},A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:T,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},z=()=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.o1,{label:(0,c.__)("Column Gap",l.i18n),attribute:"columnGap",responsive:"all",min:"0",sliderMax:"50",placeholder:""}),(0,n.createElement)(i.o1,{label:(0,c.__)("Row Gap",l.i18n),attribute:"rowGap",responsive:"all",min:"0",sliderMax:"50",placeholder:""})),N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t,enableColumnGap:a=!0}=e;return[{selector:t,styleRule:"columnGap",attrName:"columnGap",format:"%spx",responsive:"all",enabledCallback:()=>a},{selector:t,styleRule:"rowGap",attrName:"rowGap",format:"%spx",responsive:"all"}]},M=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,N(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};M.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,N(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};const I={height:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},width:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},verticalAlign:{stkResponsive:!0,type:"string",default:""},horizontalAlign:{stkResponsive:!0,type:"string",default:""},margin:{stkResponsive:!0,stkUnits:"px",type:"object"},padding:{stkResponsive:!0,stkHover:!0,stkUnits:"px",type:"object"}},H=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";e.add({attributes:I,attrNameTemplate:t,versionAdded:"3.0.0",versionDeprecated:""})},U=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t="",attrNameTemplate:a="%s",horizontalAlignRule:n="margin",verticalAlignRule:l="alignItems",wrapperSelector:i=""}=e;return[{selector:t,styleRule:"minHeight",attrName:"height",attrNameTemplate:a,responsive:"all",hasUnits:"px"},{renderIn:"save",selector:t,styleRule:l||"alignItems",attrName:"verticalAlign",attrNameTemplate:a,responsive:"all"},{renderIn:"edit",selector:t,styleRule:"justifyContent",attrName:"verticalAlign",attrNameTemplate:a,responsive:"all"},{selector:i||t,styleRule:"maxWidth",attrName:"width",attrNameTemplate:a,responsive:"all",hasUnits:"px"},{selector:i||t,styleRule:"minWidth",attrName:"width",attrNameTemplate:a,responsive:"all",hover:"all",versionAdded:"3.0.0",versionDeprecated:"3.0.2",valueCallback:e=>""!==e?"auto":void 0},{selector:t,styleRule:"paddingTop",attrName:"padding",attrNameTemplate:a,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top},{selector:t,styleRule:"paddingRight",attrName:"padding",attrNameTemplate:a,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right},{selector:t,styleRule:"paddingBottom",attrName:"padding",attrNameTemplate:a,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:t,styleRule:"paddingLeft",attrName:"padding",attrNameTemplate:a,responsive:"all",hover:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left},{selector:i||t,styleRule:"marginTop",attrName:"margin",attrNameTemplate:a,responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top,valueCallback:e=>e.startsWith("auto")?"auto":e},{selector:i||t,styleRule:"marginRight",attrName:"margin",attrNameTemplate:a,responsive:"all",hasUnits:"px",valuePreCallback:(e,t,a)=>{const n=null==e?void 0:e.right;switch(t("horizontalAlign",a)){case"flex-start":case"center":return"auto";case"flex-end":return n||0;default:return n}},valueCallback:e=>e.startsWith("auto")?"auto":e},{selector:i||t,styleRule:"marginBottom",attrName:"margin",attrNameTemplate:a,responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom,valueCallback:e=>e.startsWith("auto")?"auto":e},{selector:i||t,styleRule:"marginLeft",attrName:"margin",attrNameTemplate:a,responsive:"all",hasUnits:"px",valuePreCallback:(e,t,a)=>{const n=null==e?void 0:e.left;switch(t("horizontalAlign",a)){case"flex-start":return n||0;case"center":case"flex-end":return"auto";default:return n}},valueCallback:e=>e.startsWith("auto")?"auto":e,dependencies:["horizontalAlign"]},{selector:t,styleRule:"display",attrName:"verticalAlign",attrNameTemplate:a,responsive:"all",valueCallback:()=>"flex"},{renderIn:"save",selector:t,styleRule:"flexDirection",attrName:"verticalAlign",responsive:"all",attrNameTemplate:a,valueCallback:()=>"justifyContent"===(l||"alignItems")?"column":void 0},{renderIn:"edit",selector:t,styleRule:"flexDirection",attrName:"verticalAlign",responsive:"all",attrNameTemplate:a,valueCallback:()=>"column"},..."margin"!==n?[{renderIn:"save",selector:i||t,styleRule:n||"justifyContent",attrName:"horizontalAlign",attrNameTemplate:a,responsive:"all"}]:[]]},R=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,U(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};R.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,U(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};const L=e=>{const t=(0,o.hU)(),{getAttribute:a,getAttrName:r}=(0,o.Mf)(e.attrNameTemplate),{labelHeight:s=(0,c.__)("Min. Height",l.i18n),labelContentWidth:u=(0,c.__)("Max. Content Width",l.i18n),labelHorizontalAlign:d=(0,c.__)("Content Horizontal Align",l.i18n),labelVerticalAlign:m=(0,c.__)("Content Vertical Align",l.i18n),labelPaddings:b=(0,c.__)("Paddings",l.i18n),labelMargins:g=(0,c.__)("Margins",l.i18n)}=e.labels;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.o1,{label:s,attribute:r("height"),responsive:"all",units:["px","vh"],min:[0,0],sliderMax:[1e3,100],step:[1,1],allowReset:!0,placeholder:"0",className:"ugb--help-tip-advanced-block-height"}),(0,n.createElement)(i.iB,{label:m,attribute:r("verticalAlign"),responsive:"all",controls:"flex-vertical",className:"ugb--help-tip-advanced-block-vertical-align"}),(0,n.createElement)(i.o1,{label:u,attribute:r("width"),responsive:"all",units:["px","%"],min:[0,0],sliderMax:[1500,100],step:[1,1],allowReset:!0,placeholder:"",initialPosition:"1500",className:"ugb--help-tip-advanced-block-content-width"}),""!==a("width")&&"Desktop"===t&&(0,n.createElement)(i.iB,{label:d,attribute:r("HorizontalAlign"),responsive:"all",controls:"flex-horizontal",value:a("HorizontalAlign"),className:"ugb--help-tip-advanced-block-horizontal-align"}),(""!==a("width")||""!==a("widthTablet"))&&"Tablet"===t&&(0,n.createElement)(i.iB,{label:d,attribute:r("HorizontalAlign"),responsive:"all",controls:"flex-horizontal",className:"ugb--help-tip-advanced-block-horizontal-align"}),(""!==a("width")||""!==a("widthTablet")||""!==a("widthMobile"))&&"Mobile"===t&&(0,n.createElement)(i.iB,{label:d,attribute:r("HorizontalAlign"),responsive:"all",controls:"flex-horizontal",className:"ugb--help-tip-advanced-block-horizontal-align"}),(0,n.createElement)(i.ld,{label:b,attribute:r("padding"),responsive:"all",hover:"all",units:["px","em","%"],defaultLocked:!0,min:[0,0,0],sliderMax:[200,30,100],className:"ugb--help-tip-advanced-block-paddings"}),e.enableMargin&&(0,n.createElement)(i.ld,{label:g,attribute:r("margin"),responsive:"all",units:["px","%"],defaultLocked:!1,sliderMin:[-200,-100],sliderMax:[200,100],placeholder:"0",className:"ugb--help-tip-advanced-block-margins"}))};L.defaultProps={attrNameTemplate:"%s",blockEl:null,enableMargin:!0,labels:{}};var P=a(3347);const F=e=>{const t={...e.options,attrNameTemplate:"block%s"};return(0,n.createElement)(n.Fragment,null,e.attributes.hasBackground&&(0,n.createElement)(y,(0,d.Z)({},e,{options:t})),(0,n.createElement)(w,(0,d.Z)({},e,{options:t})),(0,n.createElement)(R,(0,d.Z)({},e,{options:t})))};F.Content=e=>{const t={...e.options,attrNameTemplate:"block%s"};return(0,n.createElement)(n.Fragment,null,e.attributes.hasBackground&&(0,n.createElement)(y.Content,(0,d.Z)({},e,{options:t})),(0,n.createElement)(w.Content,(0,d.Z)({},e,{options:t})),(0,n.createElement)(R.Content,(0,d.Z)({},e,{options:t})))};var O=a(3284);const D=e=>{const{hasSizeSpacing:t}=e,{clientId:a}=(0,s.useBlockEditContext)(),{updateBlockAttributes:r}=(0,O.useDispatch)("core/block-editor"),u=(0,o.kX)(a),d=(0,o.Bh)();return(0,n.createElement)(i.ME,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Background",l.i18n),id:"background",checked:u.hasBackground,onChange:e=>r(a,{hasBackground:e})},(0,n.createElement)(C,{attrNameTemplate:"block%s"})),t&&(0,n.createElement)(i.SQ,{title:(0,c.__)("Size & Spacing",l.i18n),id:"size"},(0,n.createElement)(L,{attrNameTemplate:"block%s",blockEl:d})),(0,n.createElement)(i.SQ,{title:(0,c.__)("Borders & Shadows",l.i18n),id:"borders"},(0,n.createElement)(B,{attrNameTemplate:"block%s",blockEl:d})))};D.defaultProps={hasSizeSpacing:!0};var Z=a(4184),V=a.n(Z),q=a(3882);const G=e=>e.htmlTag||"div";var W=a(8085),$=a(3726),j=a.n($);const Q=["class","className","id","ref","style","dangerouslySetInnerHTML"],K=["customAttributes"],J=()=>null;J.InspectorControls=()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{updateBlockAttributes:t}=(0,O.useDispatch)("core/block-editor"),a=(0,o.kX)(e);return(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Custom Attributes",l.i18n),id:"custom-attributes"},(0,n.createElement)(i.GT,{label:(0,c.__)("Custom Attributes",l.i18n),value:a.customAttributes,invalidHtmlAttributes:Q,onChange:a=>t(e,{customAttributes:a})})))},J.addAttributes=e=>{e.add({attributes:{customAttributes:{type:"array",default:[]}},versionAdded:"3.0.0",versionDeprecated:""})},J.getCustomAttributes=e=>{if(!Array.isArray(e.customAttributes)||0===e.customAttributes.length)return{};const t=Object.fromEntries(e.customAttributes);return Object.keys(t).forEach((a=>{let n=unescape(t[a]);t[a]=n;try{const l=n.match(/%[^\%]*%/g);l&&(l.forEach((t=>{const a=t.substr(1,t.length-2);K.includes(a)||!e.hasOwnProperty(a)||(0,W.isUndefined)(e[a])||(n=n.replace(t,j()(e[a].toString())))})),t[a]=n)}catch{}})),(0,W.omit)(t,Q)};const X=e=>{const{className:t,applyCustomAttributes:a,applyAdvancedAttributes:l,renderHtmlTag:r,enableVariationPicker:c,withUniqueClass:u,...b}=e,{clientId:g}=(0,s.useBlockEditContext)(),p=(0,o.kX)(g);(0,P.L)(!c);const h=(0,m.wB)(p.uniqueId);let v=(0,m.tJ)(p.uniqueId);v=h?v+`-${h}`:v;const k=(0,o.PV)(g,p.uniqueId);if(k&&c)return k;const f=G(p),y=a?J.getCustomAttributes(p):{},C=V()([t,"stk-block",{[v]:u}],(0,q.applyFilters)("stackable.block-components.block-div.classnames",[],p),{"stk-block-background":p.hasBackground});return(0,n.createElement)(i.ZC,(0,d.Z)({},b,y,{className:C,id:l&&(p.anchor||void 0)||void 0,"data-block-id":p.uniqueId,blockTag:r?f:"div",hasBackground:p.hasBackground,backgroundUrl:p.blockBackgroundMediaUrl,backgroundUrlTablet:p.blockBackgroundMediaUrlTablet,backgroundUrlMobile:p.blockBackgroundMediaUrlMobile,backgroundColorType:p.blockBackgroundColorType},(0,q.applyFilters)("stackable.block-components.block-div.attributes",{},p)))};X.defaultProps={className:"",applyCustomAttributes:!0,applyAdvancedAttributes:!0,renderHtmlTag:!0,enableVariationPicker:!1,withUniqueClass:!0},X.Content=e=>{const{className:t,attributes:a,applyCustomAttributes:l,applyAdvancedAttributes:o,...r}=e,s=G(a),c=l?J.getCustomAttributes(a):{},u=V()([t,"stk-block",(0,m.tJ)(a.uniqueId)],(0,q.applyFilters)("stackable.block-components.block-div.classnames.content",[],a),{"stk-block-background":a.hasBackground});return(0,n.createElement)(i.ZC.Content,(0,d.Z)({},r,c,{className:u,id:o&&(a.anchor||void 0)||void 0,"data-block-id":a.uniqueId,blockTag:s,hasBackground:a.hasBackground,backgroundUrl:a.blockBackgroundMediaUrl,backgroundUrlTablet:a.blockBackgroundMediaUrlTablet,backgroundUrlMobile:a.blockBackgroundMediaUrlMobile,backgroundColorType:a.blockBackgroundColorType},(0,q.applyFilters)("stackable.block-components.block-div.attributes.content",{},a)))},X.Content.defaultProps={className:"",attributes:{},applyCustomAttributes:!0,applyAdvancedAttributes:!0},X.InspectorControls=D,X.addAttributes=e=>{e.add({attributes:{uniqueId:{type:"string",default:""},hasBackground:{type:"boolean",default:!1},hasBorders:{type:"boolean",default:!1}},versionAdded:"3.0.0",versionDeprecated:""}),k(e,"block%s"),E(e,"block%s"),H(e,"block%s")},X.Style=F;var Y=a(4392),ee=a(3420),te=a.n(ee);const ae=wp.keycodes,ne=(0,n.memo)((e=>{const{style:t,isActive:a,onSelect:l,blockName:i}=e,o=e=>{a||l(e)},r=t.icon;return(0,n.createElement)("div",{className:V()("block-editor-block-styles__item",{"is-active":a}),onClick:()=>o(t),onKeyDown:e=>{ae.ENTER!==e.keyCode&&ae.SPACE!==e.keyCode||(e.preventDefault(),o(t))},role:"button",tabIndex:"0","aria-label":t.label||t.name},(0,n.createElement)("div",{className:"block-editor-block-styles__item-preview stk-block-styles-preview","data-block":i,"data-style":t.name},r&&(0,n.createElement)(r,{className:"block-editor-block-styles__icon"})),(0,n.createElement)("div",{className:"block-editor-block-styles__item-label"},t.label||t.name))})),le=e=>{const{clientId:t,styles:a}=e,{className:l,blockName:i}=(0,O.useSelect)((e=>{var a;const n=e("core/block-editor").getBlock(t);return{className:(null==n||null===(a=n.attributes)||void 0===a?void 0:a.className)||"",blockName:null==n?void 0:n.name}}),[t]),r=(0,n.useMemo)((()=>(0,o.RK)(a,l)),[a,l]),{updateBlockAttributes:s}=(0,O.useDispatch)("core/block-editor"),c=(0,n.useCallback)((e=>{const a=function(e,t,a){const n=new(te())(e);return t&&n.remove("is-style-"+t.name),"default"!==a.name&&n.add("is-style-"+a.name),n.value}(l,r,e),n=(0,O.select)("core/block-editor").getBlock(t),i=e.onSelect?e.onSelect(n.attributes):{};s(t,{...i,className:a})}),[t,r,l]);return(0,n.createElement)("div",{className:"block-editor-block-styles"},a.map((e=>(0,n.createElement)(ne,{className:l,isActive:r===e,key:e.name,onSelect:c,style:e,blockName:i}))))},ie=(0,n.memo)((e=>{const{clientId:t}=(0,s.useBlockEditContext)();return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Styles",l.i18n),id:"styles",initialOpen:e.initialOpen},(0,n.createElement)(le,{styles:e.styles,clientId:t}),e.children))}));ie.defaultProps={initialOpen:!0,styles:[]};const oe=()=>null;oe.Content=()=>null,oe.InspectorControls=ie;const re={buttonPadding:{stkResponsive:!0,type:"object",stkUnits:"px"},buttonBackgroundColorType:{type:"string",default:""},buttonBackgroundColor:{stkHover:!0,type:"string",default:""},buttonBackgroundColor2:{stkHover:!0,type:"string",default:""},buttonBackgroundGradientDirection:{stkHover:!0,type:"number",default:""},buttonMinHeight:{stkResponsive:!0,type:"number",default:""},buttonWidth:{stkResponsive:!0,type:"number",default:""},buttonFullWidth:{type:"boolean",default:""},buttonHoverEffect:{type:"string",default:"darken"}},se=(0,q.applyFilters)("stackable.block-component.icon.color-type",[{value:"",title:(0,c.__)("Single",l.i18n),controls:()=>(0,n.createElement)(i.Xw,{label:(0,c.__)("Icon Color",l.i18n),attribute:"iconColor1",hover:"all"})}]),ce=(0,q.applyFilters)("stackable.block-component.icon.shape-color-type",[{value:"",title:(0,c.__)("Single",l.i18n),controls:()=>(0,n.createElement)(i.Xw,{label:(0,c.__)("Shape Color",l.i18n),attribute:"shapeColor1",hover:"all",hasTransparent:!0})}]),ue=e=>{const{hasShape:t,hasIconGap:a,hasIconPosition:r,initialOpen:s,hasMultiColor:u,hasGradient:d}=e,{getAttribute:m,updateAttributeHandler:b}=(0,o.Mf)(),g={...e,getAttribute:m,updateAttributeHandler:b},{colorControls:p,shapeColorControls:h}=(0,n.useMemo)((()=>{let e=null,t=null;const a=se.find((e=>e.value===(m("iconColorType")||""))),n=ce.find((e=>e.value===(m("shapeColorType")||"")));return a&&(a.hasOwnProperty("show")&&a.show(g)&&(e=a.controls(g)),e=a.controls(g)),n&&(n.hasOwnProperty("show")&&n.show(g)&&(t=n.controls(g)),t=n.controls(g)),{colorControls:e,shapeColorControls:t}}),[m,b,se,e]),v=(0,n.useMemo)((()=>se.filter((e=>!e.hasOwnProperty("show")||e.show(g)))),[m,b,se,e]),k=(0,n.useMemo)((()=>ce.filter((e=>!e.hasOwnProperty("show")||e.show(g)))),[m,b,ce,e]);return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Icon",l.i18n),id:"icon",initialOpen:s},(0,n.createElement)(i.b_,{label:(0,q.applyFilters)("stackable.block-component.icon.label",(0,c.__)("Icon",l.i18n)),value:m("icon"),onChange:b("icon")}),l.showProNotice&&(u||d)&&(0,n.createElement)(i.Y_,{title:(0,c.__)("Say Hello to Gorgeous Icons 👋",l.i18n),description:(0,c.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",l.i18n)}),(0,q.applyFilters)("stackable.block-component.icon.after",null),v.length>1&&(0,n.createElement)(i.iB,{controls:v,isSmall:!0,fullwidth:!1,attribute:"iconColorType"}),p,(0,n.createElement)(i.o1,{label:(0,c.__)("Icon Size",l.i18n),attribute:"iconSize",min:0,sliderMax:100,step:1,allowReset:!0,placeholder:"",responsive:"all"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Icon Opacity",l.i18n),attribute:"iconOpacity",min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",hover:"all"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Icon Rotation",l.i18n),attribute:"iconRotation",min:0,max:360,allowReset:!0,placeholder:"0",hover:"all"}),r&&(0,n.createElement)(i.qD,{label:(0,c.__)("Icon Position",l.i18n),attribute:"iconPosition",options:[{value:"",label:(0,c.__)("Left",l.i18n)},{value:"right",label:(0,c.__)("Right",l.i18n)}]}),a&&(0,n.createElement)(i.o1,{label:(0,c.__)("Icon Gap",l.i18n),attribute:"iconGap",min:0,sliderMax:50,allowReset:!0,placeholder:"0"})),t&&(0,n.createElement)(i.SQ,{title:(0,c.__)("Icon Shape",l.i18n),id:"icon-shape"},k.length>1&&(0,n.createElement)(i.iB,{controls:k,isSmall:!0,fullwidth:!1,attribute:"shapeColorType"}),h,(0,n.createElement)(i.o1,{label:(0,c.__)("Shape Border Radius",l.i18n),attribute:"shapeBorderRadius",hover:"all",min:0,sliderMax:100,step:1,allowReset:!0,placeholder:50}),(0,n.createElement)(i.o1,{label:(0,c.__)("Shape Padding",l.i18n),attribute:"shapePadding",min:0,sliderMax:150,step:1,allowReset:!0,placeholder:20}),(0,n.createElement)(i.ld,{label:(0,c.__)("Shape Outline Width"),units:["px"],min:0,step:1,sliderMax:20,defaultLocked:!0,attribute:"shapeOutlineWidth",responsive:"all",default:"1"}),(0,n.createElement)(i.Xw,{label:(0,c.__)("Shape Outline Color",l.i18n),attribute:"shapeOutlineColor",hasTransparent:!0,hover:"all"})),e.hasBackgroundShape&&(0,n.createElement)(n.Fragment,null,l.showProNotice&&!l.isPro&&(0,n.createElement)(i.SQ,{title:(0,c.__)("Background Shape",l.i18n),id:"icon-background-shape"},(0,n.createElement)(i.XK,{title:(0,c.__)("Say Hello to Background Shapes 👋",l.i18n),description:(0,c.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",l.i18n)})),l.isPro&&(0,q.applyFilters)("stackable.block-component.icon.edit.background-shape",null,{...e,getAttribute:m,updateAttributeHandler:b})))};ue.defaultProps={label:(0,c.__)("Icon",l.i18n),hasColor:!0,hasGradient:!0,hasShape:!0,hasShapeGradient:!0,hasBackgroundShape:!0,initialOpen:!1,hasIconGap:!1,hasIconPosition:!1,hasMultiColor:!1};const de={icon:{type:"string",default:""},icon2:{type:"string",default:""},iconColorType:{type:"string",default:""},...(0,W.range)(1,11).reduce(((e,t)=>({...e,[`iconColor${t}`]:{stkHover:!0,type:"string",default:""},[`iconOpacity${t}`]:{stkHover:!0,type:"number",default:""}})),{}),iconColorGradientDirection:{type:"number",default:""},iconOpacity:{stkHover:!0,type:"number",default:""},iconRotation:{stkHover:!0,type:"number",default:""},iconPosition:{type:"string",default:""},iconGap:{type:"number",default:""},shapeColorType:{type:"string",default:""},shapeColor1:{stkHover:!0,type:"string",default:""},shapeColor2:{type:"string",default:""},shapeColorGradientDirection:{type:"number",default:""},shapeBorderRadius:{stkHover:!0,type:"number",default:""},shapePadding:{type:"number",default:""},showBackgroundShape:{type:"boolean",default:!1},backgroundShape:{type:"string",default:""},backgroundShapeColor:{stkHover:!0,type:"string",default:""},backgroundShapeOpacity:{stkHover:!0,type:"number",default:""},backgroundShapeSize:{type:"number",default:""},backgroundShapeOffsetHorizontal:{type:"number",default:""},backgroundShapeOffsetVertical:{type:"number",default:""},shapeOutlineColor:{stkHover:!0,type:"string",default:""},iconSize:{stkResponsive:!0,type:"number",default:""},shapeOutlineWidth:{stkResponsive:!0,type:"object"}},me=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t="",hoverSelector:a=""}=e,n=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t;const i=`${a||l} .stk--inner-svg svg:last-child`;return n.length?[i,i+` :is(${n.join(",")})`]:i},l=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n(e,a,l,t+":hover")},i=`${t} .stk--inner-svg`,o=`${a} .stk--inner-svg`;return[{selectorCallback:e=>n(e),hoverSelectorCallback:e=>l(e,a),styles:{height:"iconSize",width:"iconSize"},responsive:"all",format:"%spx"},{selectorCallback:e=>n(e),hoverSelectorCallback:e=>l(e,a),styleRule:"opacity",attrName:"iconOpacity",hover:"all"},{selectorCallback:e=>n(e),hoverSelectorCallback:e=>l(e,a),styleRule:"transform",attrName:"iconRotation",hover:"all",format:"rotate(%sdeg)"},{selectorCallback:e=>n(e),hoverSelectorCallback:e=>n(e,a),styleRuleCallback:e=>"right"===e("iconPosition")?"marginInlineStart":"marginInlineEnd",attrName:"iconGap",format:"%spx",dependencies:["iconPosition"]},{selectorCallback:e=>n(e,t,["g","path","rect","polygon","ellipse"]),hoverSelectorCallback:e=>l(e,a,["g","path","rect","polygon","ellipse"]),styleRule:"fill",attrName:"iconColor1",valuePreCallback:(e,t,a,n)=>"gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n)?`url(#linear-gradient-${t("uniqueId")})`:t("iconColorType")?void 0:e,dependencies:["iconColorType","iconColor1","iconColor2","uniqueId"],hover:"all"},{selectorCallback:e=>`${t} #linear-gradient-${e("uniqueId")}`,styleRule:"transform",format:"rotate(%sdeg)",attrName:"iconColorGradientDirection",hoverSelectorCallback:e=>`${t}:hover #linear-gradient-${e("uniqueId")}`},{selectorCallback:e=>`${t} #linear-gradient-${e("uniqueId")}`,styleRuleCallback:e=>`--linear-gradient-${e("uniqueId")}-color-1`,attrName:"iconColor1",valuePreCallback:(e,t,a,n)=>{if("gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n))return e},hoverSelectorCallback:e=>`${t}:hover #linear-gradient-${e("uniqueId")}`,dependencies:["iconColorType","iconColor1","iconColor2"]},{selectorCallback:e=>`${t} #linear-gradient-${e("uniqueId")}`,styleRuleCallback:e=>`--linear-gradient-${e("uniqueId")}-color-2`,attrName:"iconColor2",valuePreCallback:(e,t,a,n)=>{if("gradient"===t("iconColorType")&&t("iconColor1","desktop",n)&&t("iconColor2","desktop",n))return e},hoverSelectorCallback:e=>`${t}:hover #linear-gradient-${e("uniqueId")}`,dependencies:["iconColorType","iconColor1","iconColor2"]},{selector:i,hoverSelector:o,styleRule:"backgroundColor",attrName:"shapeColor1",hover:"all",valuePreCallback:(e,t,a,n)=>{const l=t("shapeColorType");if("normal"===n||"gradient"!==l)return e},dependencies:["shapeColorType","shapeColor2","shapeColorType","shapeGradientDirection"]},{selector:i,hoverSelector:o,styleRule:"borderRadius",attrName:"shapeBorderRadius",format:"%s%",hover:"all"},{selector:i,hoverSelector:o,styleRule:"padding",attrName:"shapePadding",format:"%spx"},{selector:i,hoverSelector:o,styleRule:"borderColor",attrName:"shapeOutlineColor",hover:"all"},{selector:i,hoverSelector:o,styleRule:"borderStyle",attrName:"borderStyle",valuePreCallback:(e,t,a,n)=>{var l,i,o,r;if(null!==(l=t("shapeOutlineWidth","desktop",n))&&void 0!==l&&l.top&&null!==(i=t("shapeOutlineWidth","desktop",n))&&void 0!==i&&i.right&&null!==(o=t("shapeOutlineWidth","desktop",n))&&void 0!==o&&o.bottom&&null!==(r=t("shapeOutlineWidth","desktop",n))&&void 0!==r&&r.left)return"solid"},hover:"all",dependencies:["shapeOutlineWidth"]},{selector:i,hoverSelector:o,styleRule:"borderTopWidth",attrName:"shapeOutlineWidth",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.top},{selector:i,hoverSelector:o,styleRule:"borderRightWidth",attrName:"shapeOutlineWidth",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.right},{selector:i,hoverSelector:o,styleRule:"borderBottomWidth",attrName:"shapeOutlineWidth",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:i,hoverSelector:o,styleRule:"borderLeftWidth",attrName:"shapeOutlineWidth",responsive:"all",format:"%spx",valuePreCallback:e=>null==e?void 0:e.left}]},be=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,me(a)),r=(0,m.yK)(t,(0,q.applyFilters)("stackable.block-component.icon.get-style-params",[],a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)))};be.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,me(a)),r=(0,m.Wi)(t,(0,q.applyFilters)("stackable.block-component.icon.get-style-params",[],a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)))};const ge=e=>{let{id:t}=e;const a=(0,W.kebabCase)(t);return(0,n.createElement)("svg",{style:{height:0,width:0}},(0,n.createElement)("defs",null,(0,n.createElement)("linearGradient",{id:t,x1:"0",x2:"100%",y1:"0",y2:"0"},(0,n.createElement)("stop",{offset:"0%",style:{stopOpacity:1,stopColor:`var(--${a}-color-1)`}}),(0,n.createElement)("stop",{offset:"100%",style:{stopOpacity:1,stopColor:`var(--${a}-color-2)`}}))))},pe=e=>{const{attrNameTemplate:t="%s",hasLinearGradient:a=!0}=e,{clientId:l,isSelected:r}=(0,s.useBlockEditContext)(),[c,u]=(0,n.useState)(!1),d=(0,n.useRef)(null),b=(0,n.useCallback)((e=>{c&&(e.target.closest(".stk--inner-svg")&&e.stopPropagation(),e.target.closest(".stk--inner-svg")||(0,m.zJ)(d.current,e.target)||e.target.closest(".components-popover")||u(!1))}),[d.current,c]);(0,n.useEffect)((()=>{!r&&c&&u(!1)}),[r,c]),(0,n.useEffect)((()=>(document.body.addEventListener("click",b),()=>document.body.removeEventListener("click",b))),[b]);const[g,p]=(0,n.useState)(!1);(0,n.useEffect)((()=>{if(!r)return void p(!1);const e=setTimeout((()=>{r&&p(r)}),1);return()=>clearTimeout(e)}),[r]);const h=(0,o.kX)(l),{getAttribute:v,updateAttributeHandler:k}=(0,o.Mf)(t),f=(0,n.useMemo)((()=>(0,m.Wg)(v("backgroundShape")||"blob1")),[v("backgroundShape")]),y=(0,n.useMemo)((()=>a?(0,n.createElement)(ge,{id:"linear-gradient-"+h.uniqueId,iconColor1:v("iconColor1"),iconColor2:v("iconColor2")}):(0,n.createElement)(n.Fragment,null)),[h.uniqueId,v("iconColorGradientDirection"),v("iconColor1"),v("iconColor2")]);if(!v("icon"))return null;const C=V()(["stk--svg-wrapper"],{"stk--show-cursor":g,"stk--has-icon2":v("icon2")});return(0,n.createElement)("span",{className:C,onClick:e=>{g&&e.target.closest(".stk--inner-svg")&&!c&&u(!c)}},v("icon")&&(0,n.createElement)(i.le,{className:"stk--inner-svg",prependRender:y,value:v("icon"),ariaLabel:v("ariaLabel")}),v("showBackgroundShape")&&(0,n.createElement)(f,{className:"stk--shape-icon"}),c&&(0,n.createElement)(i.aF,{useRef:d,onChange:e=>{k("icon")(e),u(!1)}}),v("icon2")&&(0,n.createElement)(i.le,{className:"stk--inner-svg stk--icon-2",prependRender:y,value:v("icon2"),ariaLabel:v("ariaLabel"),style:{display:"none"}}))};pe.Content=e=>{const{attributes:t,attrNameTemplate:a,hasLinearGradient:l=!0,children:o}=e,r=(0,m.CR)(a),s=(0,m.CA)(t,r,""),c=(0,m.Wg)(s("backgroundShape")||"blob1"),u=l?(0,n.createElement)(ge,{id:"linear-gradient-"+t.uniqueId,iconColor1:s("iconColor1"),iconColor2:s("iconColor2")}):(0,n.createElement)(n.Fragment,null),d=V()(["stk--svg-wrapper"],{"stk--has-icon2":s("icon2")});return s("icon")||s("icon2")?(0,n.createElement)("span",{className:d},s("icon")&&(0,n.createElement)(i.le.Content,{className:"stk--inner-svg",prependRender:u,value:s("icon"),ariaLabel:s("ariaLabel")}),s("showBackgroundShape")&&(0,n.createElement)(c,{className:"stk--shape-icon"}),s("icon2")&&(0,n.createElement)(i.le.Content,{className:"stk--inner-svg stk--icon-2",prependRender:u,value:s("icon2"),ariaLabel:s("ariaLabel"),style:{display:"none"}}),o):null},pe.InspectorControls=ue,pe.addAttributes=e=>{e.add({attributes:de,versionAdded:"3.0.0",versionDeprecated:""})},pe.Style=be;const he=e=>{const{selector:t,hoverSelector:a}=e;return[{selector:["",".stk-button"],styleRule:"width",attrName:"buttonFullWidth",valueCallback:()=>"100%",format:"%spx",enabledCallback:e=>e("buttonFullWidth")},{selector:t,responsive:"all",styleRule:"minHeight",attrName:"buttonMinHeight",format:"%spx"},{selector:t,responsive:"all",styleRule:"width",attrName:"buttonWidth",format:"%spx",enabledCallback:e=>!e("buttonFullWidth"),dependencies:["buttonFullWidth"]},{selector:t,responsive:"all",styleRule:"paddingTop",attrName:"buttonPadding",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top},{selector:t,responsive:"all",styleRule:"paddingRight",attrName:"buttonPadding",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right},{selector:t,responsive:"all",styleRule:"paddingBottom",attrName:"buttonPadding",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:t,responsive:"all",styleRule:"paddingLeft",attrName:"buttonPadding",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left},{selector:t,styleRule:"background",attrName:"buttonBackgroundColor",valueCallback:(e,t)=>{const a=t("buttonBackgroundGradientDirection"),n=t("buttonBackgroundColor"),l=t("buttonBackgroundColor2");return"gradient"!==t("buttonBackgroundColorType")?t("buttonBackgroundColor"):`linear-gradient(${""!==a?a+"deg":"90deg"}, ${n||l}, ${l||n})`},dependencies:["buttonBackgroundGradientDirection","buttonBackgroundColor","buttonBackgroundColor2","buttonBackgroundColorType"]},{selector:`${t}:after`,styleRule:"background",attrName:"buttonBackgroundColor",hover:"all",hoverSelector:a||`${t}:hover:after`,valuePreCallback:(e,t,a,n)=>{if("normal"===n)return;if("gradient"!==t("buttonBackgroundColorType"))return e;const l=t("buttonBackgroundGradientDirection","desktop",n),i=t("buttonBackgroundColor","desktop",n),o=t("buttonBackgroundColor2","desktop",n);return void 0!==typeof i&&""!==i||void 0!==typeof o&&""!==o?`linear-gradient(${""!==l?l+"deg":"90deg"}, ${i||o}, ${o||i})`:void 0},dependencies:["buttonBackgroundGradientDirection","buttonBackgroundColor","buttonBackgroundColor2","buttonBackgroundColorType"]},{selector:`${t}:after`,styleRule:"opacity",attrName:"buttonBackgroundColor",hover:"all",hoverSelector:a||`${t}:hover:after`,valuePreCallback:(e,t,a,n)=>{if("normal"===n)return;const l=t("buttonBackgroundColor","desktop",n);return void 0!==l&&""!==l?1:void 0}}]},ve=e=>{var t;const{attributes:a,...l}=e,o=(0,m.yK)(a,he(l.options));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(w,(0,d.Z)({attributes:a},l,{options:{...l.options,selector:l.options.selector+":before",hoverSelector:l.options.selector+":hover:before",borderRadiusSelector:l.options.selector,attrNameTemplate:(0,c.sprintf)("button%s",(null===(t=l.options)||void 0===t?void 0:t.attrNameTemplate)||"%s")}})),(0,n.createElement)(pe.Style,(0,d.Z)({attributes:a},l)))};ve.Content=e=>{var t;const{attributes:a,...l}=e,o=(0,m.Wi)(a,he(l.options));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(w.Content,(0,d.Z)({attributes:a},l,{options:{...l.options,selector:l.options.selector+":before",hoverSelector:l.options.selector+":hover:before",borderRadiusSelector:l.options.selector,attrNameTemplate:(0,c.sprintf)("button%s",(null===(t=l.options)||void 0===t?void 0:t.attrNameTemplate)||"%s")}})),(0,n.createElement)(pe.Style.Content,(0,d.Z)({attributes:a},l)))};var ke=a(3870);const fe=e=>{const{getAttribute:t,updateAttributeHandler:a}=(0,o.Mf)("link%s");return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Link",l.i18n),id:"link",checked:e.hasToggle?t("hasLink"):void 0,onChange:e.hasToggle?a("hasLink"):void 0},(0,n.createElement)(ke.W3,{attrNameTemplate:"link%s"})))};fe.defaultProps={hasToggle:!1};var ye=a(7537);const Ce=e=>{const[t,a]=(0,n.useState)(!1),l=(0,n.useRef)(),[r,c]=(0,n.useState)(null),{parentBlock:u}=(0,o.VG)(),{getAttribute:b}=(0,o.Mf)(),{isSelected:g}=(0,s.useBlockEditContext)(),[p,h]=(0,n.useState)(!1);(0,n.useEffect)((()=>{if(!g)return void h(!1);const e=setTimeout((()=>{g&&h(g)}),1);return()=>clearTimeout(e)}),[g]),(0,n.useEffect)((()=>{!g&&t&&a(!1)}),[g,t]);const v=(0,n.useCallback)((n=>{t&&(n.target.closest(".stk-button")&&n.target.closest(e.linkTrigger||".rich-text")&&n.stopPropagation(),(0,m.zJ)(l.curent,n.target)||n.target.closest(".components-popover")||a(!1))}),[l.current,t]);(0,n.useEffect)((()=>(document.body.addEventListener("click",v),()=>document.body.removeEventListener("click",v))),[v]);const k=(0,q.applyFilters)("stackable.edit.link.enable-link-popup",!0,u);return b("linkHasLink")?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.rU,(0,d.Z)({},e.linkProps,{ref:l,className:e.className,onClick:n=>{if(p){const l=n.target.closest(e.linkTrigger||".rich-text");l&&!t&&(c(l),a(!t))}}}),e.children),t&&k&&(0,n.createElement)(ye.Popover,{position:"top center",getAnchorRect:()=>{var e;return(null==r?void 0:r.getBoundingClientRect())||(null===(e=l.current)||void 0===e?void 0:e.getBoundingClientRect())},focusOnMount:!1,className:"stk-link__popover"},(0,n.createElement)(ke.W3,{attrNameTemplate:"link%s"}))):e.children};Ce.defaultProps={className:"",linkProps:{}},Ce.Content=e=>{const{linkProps:t={},attributes:a}=e;return a.linkHasLink?(0,n.createElement)(i.rU.Content,(0,d.Z)({},t,{className:e.className,href:a.linkUrl||void 0,target:a.linkNewTab?"_blank":void 0,rel:a.linkRel||void 0,title:a.linkTitle||void 0}),e.children):e.children},Ce.InspectorControls=fe,Ce.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{attrNameTemplate:a="link%s",selector:n="a"}=t;(0,ke._1)(e,a,n)};const _e=e=>(0,n.createElement)(pe.InspectorControls,{hasColor:e.hasColor,hasGradient:!1,hasShape:!1,hasBackgroundShape:!1,hasIconGap:e.hasIconGap,hasIconPosition:e.hasIconPosition});_e.defaultProps={hasIconGap:!0,hasIconPosition:!0,hasColor:!0};const Ee=Ce.InspectorControls,xe=[{label:(0,c.__)("None",l.i18n),value:""},{label:(0,c.__)("Darken",l.i18n),value:"darken"},{label:(0,c.__)("Lift",l.i18n),value:"lift"},{label:(0,c.__)("Scale",l.i18n),value:"scale"},{label:(0,c.__)("Lift & Scale",l.i18n),value:"lift-scale"},{label:(0,c.__)("Lift More",l.i18n),value:"lift-more"},{label:(0,c.__)("Scale More",l.i18n),value:"scale-more"},{label:(0,c.__)("Lift & Scale More",l.i18n),value:"lift-scale-more"}],we=e=>{const[t]=(0,o.Ry)(),{getAttribute:a,updateAttribute:r}=(0,o.Mf)(),u=(0,O.useSelect)((e=>e("core/block-editor").getSettings().colors))||[];return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Button Colors"),id:"button-colors"},(0,n.createElement)(i.iB,{controls:[{value:"",title:(0,c.__)("Single",l.i18n)},{value:"gradient",title:(0,c.__)("Gradient",l.i18n)}],attribute:"buttonBackgroundColorType",isSmall:!0,fullwidth:!1}),(0,n.createElement)(i.Xw,{label:"gradient"===a("buttonBackgroundColorType")?(0,c.sprintf)((0,c.__)("Button Color #%s",l.i18n),1):(0,c.__)("Button Color",l.i18n),attribute:"buttonBackgroundColor",hasTransparent:"normal"===t&&"gradient"!==a("buttonBackgroundColorType"),hover:"all"}),"gradient"===a("buttonBackgroundColorType")&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Xw,{label:(0,c.__)("Button Color #2",l.i18n),attribute:"buttonBackgroundColor2",hover:"all"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Gradient Direction (degrees)",l.i18n),attribute:"buttonBackgroundGradientDirection",min:0,max:360,step:10,allowReset:!0,hover:"all"})),e.hasTextColor&&(0,n.createElement)(i.Xw,{changeCallback:e=>{var a;if("normal"!==t)return e;const n=null!=e&&e.startsWith("var(--stk-global-color")?e.match(/(#[^\)]*)/g)[0]:e,l=null===(a=u.find((e=>{let{color:t}=e;return n===t})))||void 0===a?void 0:a.slug;return r("textColorClass",l?(0,s.getColorClassName)("color",l):""),e},label:(0,c.__)("Text Color",l.i18n),attribute:"textColor1",hover:"all"}),e.hasIconColor&&(0,n.createElement)(i.Xw,{label:(0,c.__)("Icon Color",l.i18n),attribute:"iconColor1",hover:"all"})))};we.defaultProps={hasTextColor:!0,hasIconColor:!1};const Se=e=>(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Button Size & Spacing",l.i18n),id:"button"},e.hasFullWidth&&(0,n.createElement)(i.PQ,{label:(0,c.__)("Full Width",l.i18n),attribute:"buttonFullWidth"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Min. Button Height",l.i18n),responsive:"all",attribute:"buttonMinHeight",min:0,max:100}),e.hasWidth&&!e.hasFullWidth&&(0,n.createElement)(i.o1,{label:(0,c.__)("Button Width",l.i18n),responsive:"all",attribute:"buttonWidth",min:0,max:100,placeholder:""}),(0,n.createElement)(i.ld,{label:(0,c.__)("Vertical Padding",l.i18n),units:["px","%"],responsive:"all",defaultLocked:!0,attribute:"buttonPadding",sliderMin:[0,0],sliderMax:[40,100],enableLeft:!1,enableRight:!1}),(0,n.createElement)(i.ld,{label:(0,c.__)("Horizontal Padding",l.i18n),units:["px","%"],responsive:"all",defaultLocked:!0,attribute:"buttonPadding",sliderMin:[0,0],sliderMax:[40,100],enableTop:!1,enableBottom:!1})));Se.defaultProps={hasWidth:!1};const Be=e=>(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Button Borders & Shadows",l.i18n),id:"button-borders"},(0,n.createElement)(B,{attrNameTemplate:"button%s",hasBorderRadiusHover:!1,borderSelector:e.borderSelector,borderRadiusPlaceholder:e.placeholder})));Be.defaultProps={borderSelector:""};const Te=e=>{const{borderSelector:t,hasTextColor:a,hasIcon:l,hasLink:i,hasIconGap:r,hasIconPosition:s,borderRadiusPlaceholder:c,hasFullWidth:u}=e,{parentBlock:d}=(0,o.VG)(),m=(0,q.applyFilters)("stackable.edit.button.enable-link",!0,d);return(0,n.createElement)(n.Fragment,null,(i||m)&&(0,n.createElement)(Ee,null),(0,n.createElement)(we,{hasTextColor:a}),(0,n.createElement)(Se,{hasFullWidth:u}),(0,n.createElement)(Be,{borderSelector:t,placeholder:c}),l&&(0,n.createElement)(_e,{hasIconGap:r,hasIconPosition:s}))};Te.defaultProps={hasIcon:!0,hasLink:!0,borderSelector:"",hasTextColor:!0,hasIconGap:!0,hasIconPosition:!0,hasFullWidth:!1},Te.Link=Ee,Te.Colors=we,Te.Size=Se,Te.Borders=Be,Te.Icon=_e,Te.HoverEffects=()=>(0,n.createElement)(i.qD,{label:(0,c.__)("Hover Effect",l.i18n),attribute:"buttonHoverEffect",options:xe,default:"darken"});const Ae=e=>V()("stk-button",{[`stk--hover-effect-${e.buttonHoverEffect}`]:e.buttonHoverEffect}),ze=e=>{const{className:t,buttonProps:a,linkTrigger:l}=e,{clientId:i}=(0,s.useBlockEditContext)(),r=(0,o.kX)(i);return(0,n.createElement)(Ce,{className:V()([t,Ae(r)]),linkProps:a,linkTrigger:l},"right"===r.iconPosition&&e.children,(0,n.createElement)(pe,{hasLinearGradient:!1}),"right"!==r.iconPosition&&e.children)};ze.defaultProps={className:"",buttonProps:{}},ze.Content=e=>{const{className:t,attributes:a,buttonProps:l}=e;return(0,n.createElement)(Ce.Content,{linkProps:l,attributes:a,className:V()([t,Ae(a)])},"right"===a.iconPosition&&e.children,(0,n.createElement)(pe.Content,{attributes:a,hasLinearGradient:!1}),"right"!==a.iconPosition&&e.children)},ze.Content.defaultProps={className:"",buttonProps:{}},ze.InspectorControls=Te,ze.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{selector:a}=t;e.add({attributes:re,versionAdded:"3.0.0",versionDeprecated:""}),E(e,"button%s"),Ce.addAttributes(e,{selector:a}),pe.addAttributes(e)},ze.Style=ve;const Ne=()=>l.showProNotice||l.isPro?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Conditional Display",l.i18n),id:"conditional-display"},!l.isPro&&(0,n.createElement)(i.XK,{title:(0,c.__)("Say Hello to Display Conditions 👋",l.i18n),description:(0,c.__)("Show/hide this block based on one or more conditions. This feature is only available on Stackable Premium",l.i18n)}),l.isPro&&(0,q.applyFilters)("stackable.block-component.conditional-display.control",null)))):null;Ne.defaultProps={mainBlockClass:""};const Me=()=>null;Me.InspectorControls=Ne,Me.addAttributes=e=>{e.add({attributes:{displayCondition:{type:"object",default:{}}},versionAdded:"3.0.0",versionDeprecated:""})};const Ie=e=>{const{backgroundSelector:t=".%s-container",borderSelector:a=".%s-container",sizeSelector:l=".%s-container",sizeVerticalAlignRule:i=null,sizeHorizontalAlignRule:o="margin",wrapperSelector:r=""}=e.options;return(0,n.createElement)(n.Fragment,null,e.attributes.hasContainer&&(0,n.createElement)(y,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:t}})),(0,n.createElement)(w,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:a,hoverSelector:`${a}:hover`}})),(0,n.createElement)(R,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:l,verticalAlignRule:i,horizontalAlignRule:o,wrapperSelector:r}})))};Ie.defaultProps={options:{}},(Ie.Content=e=>{const{backgroundSelector:t=".%s-container",borderSelector:a=".%s-container",sizeSelector:l=".%s-container",sizeVerticalAlignRule:i=null,sizeHorizontalAlignRule:o="margin",wrapperSelector:r=""}=e.options;return(0,n.createElement)(n.Fragment,null,e.attributes.hasContainer&&(0,n.createElement)(y.Content,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:t}})),(0,n.createElement)(w.Content,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:a,hoverSelector:`${a}:hover`}})),(0,n.createElement)(R.Content,(0,d.Z)({},e,{options:{attrNameTemplate:"container%s",selector:l,verticalAlignRule:i,horizontalAlignRule:o,wrapperSelector:r}})))}).defaultProps={options:{}};const He=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),a=(0,o.kX)(t),l=(0,m.wB)(a.uniqueId);let r=(0,m.tJ)(a.uniqueId);r=l?r+`-${l}`:r;const c=V()([e.className,"stk-container",`${r}-container`],{"stk-hover-parent":a.hasContainer&&a.triggerHoverState,"stk--no-background":!a.hasContainer,"stk--no-padding":!a.hasContainer});return(0,n.createElement)(i.ZC,(0,d.Z)({},e,{className:c,hasBackground:a.hasContainer,backgroundUrl:a.containerBackgroundMediaUrl,backgroundUrlTablet:a.containerBackgroundMediaUrlTablet,backgroundUrlMobile:a.containerBackgroundMediaUrlMobile,backgroundColorType:a.containerBackgroundColorType}))};He.defaultProps={className:""},He.Content=e=>{const{attributes:t,...a}=e,l=V()([e.className,"stk-container",`stk-${t.uniqueId}-container`],{"stk-hover-parent":t.hasContainer&&t.triggerHoverState,"stk--no-background":!t.hasContainer,"stk--no-padding":!t.hasContainer});return(0,n.createElement)(i.ZC.Content,(0,d.Z)({},a,{className:l,hasBackground:t.hasContainer,backgroundUrl:t.containerBackgroundMediaUrl,backgroundUrlTablet:t.containerBackgroundMediaUrlTablet,backgroundUrlMobile:t.containerBackgroundMediaUrlMobile,backgroundColorType:t.containerBackgroundColorType}))},He.Content.defaultProps={className:"",attributes:{}},He.InspectorControls=e=>{const{sizeSelector:t=".stk-container",borderSelector:a=".stk-container"}=e,{clientId:r}=(0,s.useBlockEditContext)(),{updateBlockAttributes:u}=(0,O.useDispatch)("core/block-editor"),d=(0,o.kX)(r),m=(0,o.Bh)(t),b=(0,o.Bh)(a);return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Container Background",l.i18n),id:"container",checked:d.hasContainer,onChange:e=>u(r,{hasContainer:e})},(0,n.createElement)(i.PQ,{label:(0,c.__)("Trigger hover state on nested blocks",l.i18n),attribute:"triggerHoverState",defaultValue:!0}),(0,n.createElement)(C,{attrNameTemplate:"container%s"})),(0,n.createElement)(i.SQ,{title:(0,c.__)("Container Size & Spacing",l.i18n),id:"container-size"},(0,n.createElement)(L,{attrNameTemplate:"container%s",blockEl:m,enableMargin:!1})),(0,n.createElement)(i.SQ,{title:(0,c.__)("Container Borders & Shadow",l.i18n),id:"container-size"},(0,n.createElement)(B,{attrNameTemplate:"container%s",blockEl:b})))},He.addAttributes=e=>{e.add({attributes:{hasContainer:{type:"boolean",default:!1},triggerHoverState:{type:"boolean",default:!0}},versionAdded:"3.0.0",versionDeprecated:""}),k(e,"container%s"),E(e,"container%s"),H(e,"container%s")},He.Style=Ie;const Ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t=""}=e;return[{renderIn:"edit",selectorCallback:e=>`.editor-styles-wrapper [data-block="${e("clientId")}"]`,styleRule:"flex",attrName:"columnWidth",responsive:["desktopTablet","tabletOnly","mobile"],format:"1 1 %s%",dependencies:["columnAdjacentCount"],valueCallback:(e,t,a)=>{if("desktop"===a)return e;const n=t("columnAdjacentCount",a);return n?e.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${n-1} / ${n} )`):e}},{renderIn:"edit",selectorCallback:e=>`.editor-styles-wrapper [data-block="${e("clientId")}"]`,styleRule:"maxWidth",attrName:"columnWidth",responsive:["desktopTablet","tabletOnly","mobile"],format:"%s%",dependencies:["columnAdjacentCount"],valueCallback:(e,t,a)=>{const n=t("columnAdjacentCount",a);return n?e.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${n-1} / ${n} )`):e}},{renderIn:"save",selector:t,styleRule:"flex",attrName:"columnWidth",responsive:["desktopTablet","tabletOnly","mobile"],format:"1 1 %s%",dependencies:["columnAdjacentCount"],valueCallback:(e,t,a)=>{const n="desktop"===a?e:e.replace(/^1 1/,"0 1"),l=t("columnAdjacentCount",a);return l?n.replace(/([\d\.]+%)$/,`calc($1 - var(--stk-column-gap, 0px) * ${l-1} / ${l} )`):n}}]},Re=e=>{const{attributes:t,...a}=e,l=(0,m.yK)(t,Ue());return(0,n.createElement)(i.bg,(0,d.Z)({styles:l,versionAdded:"3.0.0",versionDeprecated:""},a))};Re.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);const a=(0,m.Wi)(t.attributes,Ue());return(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t))};var Le=a(376);const Pe=()=>[V()(["stk-column"]),"stk-column-wrapper"],Fe=e=>{const{isHovered:t,...a}=e,{clientId:l}=(0,s.useBlockEditContext)(),r=(()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{updateBlockAttributes:t}=(0,O.useDispatch)("core/block-editor");return{onChangeDesktop:(0,n.useCallback)((a=>{var n;const l=(0,W.last)((0,O.select)("core/block-editor").getBlockParents(e)),i=(null===(n=(0,O.select)("core/block-editor").getBlock(l))||void 0===n?void 0:n.innerBlocks)||[];i.length&&a.forEach(((e,n)=>{t(i[n].clientId,{columnWidth:e,columnAdjacentCount:a.length})}))}),[e,t]),onChangeTablet:(0,n.useCallback)(((a,n)=>{var l;t(e,{columnWidthTablet:a});const i=(0,W.last)((0,O.select)("core/block-editor").getBlockParents(e)),o=(null===(l=(0,O.select)("core/block-editor").getBlock(i))||void 0===l?void 0:l.innerBlocks)||[];if(o.length){const e=(0,Le.w)(n);n.forEach(((a,l)=>{t(o[l].clientId,{columnWidthTablet:n[l],columnAdjacentCountTablet:e.filter((t=>t===e[l])).length})}))}}),[e,t]),onChangeMobile:(0,n.useCallback)(((a,n)=>{var l;t(e,{columnWidthMobile:a});const i=(0,W.last)((0,O.select)("core/block-editor").getBlockParents(e)),o=(null===(l=(0,O.select)("core/block-editor").getBlock(i))||void 0===l?void 0:l.innerBlocks)||[];if(o.length){const e=(0,Le.w)(n);n.forEach(((a,l)=>{t(o[l].clientId,{columnWidthMobile:n[l],columnAdjacentCountMobile:e.filter((t=>t===e[l])).length})}))}}),[e,t]),onResetDesktop:(0,n.useCallback)((()=>{var a;const n=(0,W.last)((0,O.select)("core/block-editor").getBlockParents(e));((null===(a=(0,O.select)("core/block-editor").getBlock(n))||void 0===a?void 0:a.innerBlocks)||[]).forEach((e=>{let{clientId:a}=e;t(a,{columnWidth:""})}))}),[e,t])}})(),c=(0,o.kX)(l);return(0,n.createElement)(i.Q7,(0,d.Z)({showHandle:t,columnWidth:c.columnWidth,columnWidthTablet:c.columnWidthTablet,columnWidthMobile:c.columnWidthMobile},r,a))};Fe.defaultProps={isHovered:!0},Fe.InspectorControls=null,Fe.addAttributes=e=>{e.add({attributes:{columnWidth:{stkResponsive:!0,type:"number",default:""},columnAdjacentCount:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},Fe.Style=Re;var Oe=a(378);const De=()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{numInnerBlocks:t,innerBlocks:a}=(0,o.VG)(),[r,u]=(0,m._)("stk__columns_new_duplicate",!1),d=(0,n.useCallback)((n=>{const{insertBlock:l,removeBlocks:i}=(0,O.dispatch)("core/block-editor");if(n<t){const e=a.slice(n).map((e=>{let{clientId:t}=e;return t}));i(e,!1)}else if(n>t&&!r){const a=n-t;for(let n=0;n<a;n++)l((0,Oe.getBlockFromExample)("stackable/column",{}),t+n+1,e,!1)}else if(n>t){const i=(0,W.last)(a),o=n-t;for(let a=0;a<o;a++)l((0,Oe.getBlockFromExample)("stackable/column",(0,W.pick)(i,["attributes","innerBlocks"])),t+a+1,e,!1)}}));return(0,n.createElement)(i.o1,{label:(0,c.__)("Columns",l.i18n),min:1,sliderMax:6,placeholder:"1",value:t,onChange:d,allowReset:!1,after:(0,n.createElement)(Ze,{isPressed:r,onClick:()=>u(!r)})})},Ze=e=>(0,n.createElement)(i.u,{text:(0,c.__)("When enabled, the last column will be cloned instead of adding a blank column.",l.i18n)},(0,n.createElement)(ye.Button,{className:"stk-control-columns__settings-button",isSmall:!0,isTertiary:!0,isPressed:e.isPressed,"aria-label":(0,c.__)("Settings",l.i18n),onClick:e.onClick,icon:(0,n.createElement)(ye.Dashicon,{icon:"admin-page"})}));Ze.defaultProps={isPressed:!1,onClick:null};const Ve=e=>{const{hasColumnCount:t}=e,{clientId:a}=(0,s.useBlockEditContext)(),{getAttribute:r,updateAttribute:u}=(0,o.Mf)();return(0,n.createElement)(n.Fragment,null,t&&(0,n.createElement)(De,null),(0,n.createElement)(i.iB,{label:(0,c.__)("Content Width",l.i18n),attribute:"innerBlockContentAlign",default:r("align")?`align${r("align")}`:"",controls:[{value:"",title:(0,c.__)("Align Center",l.i18n),icon:"align-center"},{value:"alignwide",title:(0,c.__)("Align Wide",l.i18n),icon:"align-wide"},{value:"alignfull",title:(0,c.__)("Align Full",l.i18n),icon:"align-full-width"}]}),t&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.PQ,{label:(0,c.__)("Fit all columns to content",l.i18n),checked:r("columnFit"),onChange:e=>{if(u("columnFit",!!e||""),e){const{getBlock:e}=(0,O.select)("core/block-editor"),{updateBlockAttributes:t}=(0,O.dispatch)("core/block-editor");e(a).innerBlocks.forEach((e=>{"stackable/column"===e.name&&t(e.clientId,{[(0,m.UX)("columnWidth","desktop")]:"",[(0,m.UX)("columnWidth","tablet")]:"",[(0,m.UX)("columnWidth","mobile")]:""})}))}}}),r("columnFit")&&(0,n.createElement)(i.iB,{label:(0,c.__)("Columns Alignment",l.i18n),attribute:"columnFitAlign",responsive:"all",controls:"flex-horizontal"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Column Gap",l.i18n),attribute:"columnGap",responsive:"all",min:0,sliderMax:100,placeholder:"0"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Row Gap",l.i18n),attribute:"rowGap",responsive:"all",min:0,sliderMax:100,placeholder:"0"})))};Ve.defaultProps={hasColumnCount:!1};const qe=e=>(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("General",l.i18n),id:"general",initialOpen:!0},(0,n.createElement)(Ve,e)));qe.defaultProps={hasColumnCount:!1},qe.Controls=Ve;const Ge=e=>{const{attributes:t,...a}=e,l=(0,m.yK)(t,(a.options,[{renderIn:"save",selector:".%s-column",styleRule:"--stk-column-gap",attrName:"columnGap",format:"%spx",responsive:"all"},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"--stk-column-gap",attrName:"columnGap",format:"%spx",responsive:"all"},{renderIn:"save",selector:".%s-column",styleRule:"rowGap",attrName:"rowGap",format:"%spx",responsive:"all"},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"rowGap",attrName:"rowGap",format:"%spx",responsive:"all"},{renderIn:"save",selector:".%s-column",styleRule:"justifyContent",attrName:"columnFitAlign",responsive:"all",enabledCallback:e=>!!e("columnFit")},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"justifyContent",attrName:"columnFitAlign",responsive:"all",enabledCallback:e=>!!e("columnFit")}]));return(0,n.createElement)(i.bg,(0,d.Z)({styles:l,versionAdded:"3.0.0",versionDeprecated:""},a))};Ge.defaultProps={isEditor:!1},(Ge.Content=e=>{const{attributes:t,...a}=e,l=(0,m.Wi)(t,(a.options,[{renderIn:"save",selector:".%s-column",styleRule:"--stk-column-gap",attrName:"columnGap",format:"%spx",responsive:"all"},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"--stk-column-gap",attrName:"columnGap",format:"%spx",responsive:"all"},{renderIn:"save",selector:".%s-column",styleRule:"rowGap",attrName:"rowGap",format:"%spx",responsive:"all"},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"rowGap",attrName:"rowGap",format:"%spx",responsive:"all"},{renderIn:"save",selector:".%s-column",styleRule:"justifyContent",attrName:"columnFitAlign",responsive:"all",enabledCallback:e=>!!e("columnFit")},{renderIn:"edit",selector:".%s-column > .block-editor-inner-blocks > .block-editor-block-list__layout",styleRule:"justifyContent",attrName:"columnFitAlign",responsive:"all",enabledCallback:e=>!!e("columnFit")}]));return(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:l,versionAdded:"3.0.0",versionDeprecated:""},a))}).defaultProps={attributes:{}};const We=e=>V()("stk-content-align",`stk-${e.uniqueId}-column`,{"stk--fit-content":e.columnFit,alignwide:"alignwide"===e.innerBlockContentAlign,alignfull:"alignfull"===e.innerBlockContentAlign}),$e=e=>V()({"wp-block":!!e.innerBlockContentAlign},We(e)),je=()=>null;je.InspectorControls=qe,je.Style=Ge,je.addAttributes=e=>{e.add({attributes:{columnFit:{type:"boolean",default:""},columnFitAlign:{type:"string",default:"",stkResponsive:!0},columnGap:{stkResponsive:!0,type:"number",default:""},rowGap:{stkResponsive:!0,type:"number",default:""},innerBlockContentAlign:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""})};const Qe=e=>l.showProNotice||l.isPro?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Custom CSS",l.i18n),id:"custom-css"},!l.isPro&&(0,n.createElement)(i.XK,{title:(0,c.__)("Say Hello to Custom CSS 👋",l.i18n),description:(0,c.__)("Further tweak this block by adding custom CSS rules. This feature is only available on Stackable Premium",l.i18n)}),l.isPro&&(0,q.applyFilters)("stackable.block-component.custom-css.control",null,{mainBlockClass:e.mainBlockClass})))):null;Qe.defaultProps={mainBlockClass:""};const Ke=e=>(0,q.applyFilters)("stackable.block-component.custom-css",null,e);Ke.defaultProps={mainBlockClass:""},Ke.Content=e=>(0,q.applyFilters)("stackable.block-component.custom-css.content",null,e),Ke.Content.defaultProps={attributes:{}},Ke.InspectorControls=Qe,Ke.addAttributes=e=>{e.add({attributes:{customCSS:{type:"string",default:""},customCSSMinified:{type:"string",source:"html",selector:"style.stk-custom-css",default:""}},versionAdded:"3.0.0",versionDeprecated:""})};const Je=e=>l.showProNotice||l.isPro?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Motion Effects",l.i18n),id:"effects-animations"},!l.isPro&&(0,n.createElement)(i.XK,{title:(0,c.__)("Say Hello to Motion Effects 👋",l.i18n),description:(0,c.__)("Add entrance fade ins and animations when you scroll. This feature is only available on Stackable Premium",l.i18n)}),l.isPro&&(0,q.applyFilters)("stackable.block-component.effects-animations.control",null,{mainBlockClass:e.mainBlockClass})))):null;Je.defaultProps={mainBlockClass:""};const Xe=e=>(0,q.applyFilters)("stackable.block-component.effects-animations.get-style-params",[],e),Ye=e=>{const{attributes:t,...a}=e,l=(0,m.yK)(t,Xe(a.options));return(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.effects-animations.style",null,l,a))};Ye.Content=e=>{const{attributes:t,...a}=e,l=(0,m.Wi)(t,Xe(a.options));return(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.effects-animations.style.content",null,l,a))};const et=e=>(0,q.applyFilters)("stackable.block-component.effects-animations",null,e);et.defaultProps={mainBlockClass:""},et.Content=e=>(0,q.applyFilters)("stackable.block-component.effects-animations.content",null,e),et.Content.defaultProps={attributes:{}},et.InspectorControls=Je,et.addAttributes=e=>{e.add({attributes:{effectType:{type:"string",default:""},effectEntrance:{type:"string",stkResponsive:"all",default:""},effectEntranceDuration:{type:"string",default:""},effectEntranceDelay:{type:"number",default:""},effectAnimationSmooth:{type:"boolean",default:""},effectAnimation3d:{type:"boolean",default:""},effectAnimationPerspective:{type:"number",default:""},effectAnimationOut:{type:"object",default:{}},effectAnimationIn:{type:"object",default:{}}},versionAdded:"3.0.0",versionDeprecated:""})},et.Style=Ye;const tt=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),{updateBlockAttributes:a}=(0,O.useDispatch)("core/block-editor"),r=(0,o.kX)(t);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockControls,null,(0,n.createElement)(s.AlignmentToolbar,{value:r.contentAlign,onChange:e=>a(t,{contentAlign:e})})),(0,n.createElement)(i.ME,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Alignment",l.i18n),id:"alignment"},(0,n.createElement)(i.d6,{label:(0,c.__)("Content Alignment",l.i18n),attribute:"contentAlign",responsive:"all"}),e.hasColumnAlignment&&(0,n.createElement)(i.iB,{label:(0,c.__)("Column Alignment",l.i18n),attribute:"columnAlign",responsive:"all",controls:"flex-vertical-with-stretch",className:"ugb--help-tip-advanced-block-vertical-align"}),e.hasRowAlignment&&(0,n.createElement)(i.iB,{label:(0,c.__)("Column Alignment",l.i18n),attribute:"rowAlign",responsive:"all",controls:"flex-vertical-with-stretch",className:"ugb--help-tip-advanced-block-vertical-align"}),(e.hasColumnAlignment||e.hasBlockAlignment)&&(0,n.createElement)(i.iB,{label:(0,c.__)("Inner Block Alignment",l.i18n),controls:[{value:"horizontal",title:(0,c.__)("Horizontal",l.i18n)},{value:"",title:(0,c.__)("Vertical",l.i18n)}],attribute:"innerBlockOrientation"}))))};tt.defaultProps={hasRowAlignment:!1,hasColumnAlignment:!1,hasBlockAlignment:!1};const at=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selectorCallback:t=(e=>`.stk--block-align-${e("uniqueId")}`),editorSelectorCallback:a=(e=>`.stk--block-align-${e("uniqueId")}`),columnAlignSelectorCallback:n=(()=>"")}=e;return[{selectorCallback:n,responsive:"all",styles:{alignSelf:"columnAlign"}},{renderIn:"save",selectorCallback:t,styles:{alignItems:"rowAlign"},responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation")},{renderIn:"edit",selectorCallback:a,styles:{alignItems:"rowAlign"},responsive:"all",enabledCallback:e=>"horizontal"!==e("innerBlockOrientation")}]},nt=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,at(a));return(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l))};nt.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,at(a));return(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l))};const lt=()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{innerBlockOrientation:t}=(0,o.kX)(e);return{blockOrientation:t||"vertical"}},it=e=>V()({[`has-text-align-${e.contentAlign}`]:e.contentAlign,[`has-text-align-${e.contentAlignTablet}-tablet`]:e.contentAlignTablet,[`has-text-align-${e.contentAlignMobile}-mobile`]:e.contentAlignMobile,[`stk--block-orientation-${e.innerBlockOrientation}`]:e.innerBlockOrientation,[`stk--block-align-${e.uniqueId}`]:e.rowAlign||e.rowAlignTablet||e.rowAlignMobile}),ot=()=>null;ot.InspectorControls=tt,ot.addAttributes=e=>{e.add({attributes:{contentAlign:{stkResponsive:!0,type:"string",default:""},rowAlign:{stkResponsive:!0,type:"string",default:""},columnAlign:{stkResponsive:!0,type:"string",default:""},innerBlockOrientation:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},ot.Style=nt;const rt=e=>V()(["stk-row"],{[`stk-columns-${e.numInnerBlocks}`]:e.numInnerBlocks&&e.numInnerBlocks>1}),st=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),{numInnerBlocks:a}=(0,o.VG)(),l=(0,o.kX)(t);return(0,n.useEffect)((()=>{l.numInnerBlocks=a}),[a]),(0,n.createElement)(n.Fragment,{children:e.children})};st.InspectorControls=null,st.addAttributes=e=>{e.add({attributes:{numInnerBlocks:{type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""})},st.addStyles=()=>{},a(7294);const ct={circle:function(e){return(0,n.createElement)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},e),(0,n.createElement)("circle",{cx:50,cy:50,r:50}))},square:function(e){return(0,n.createElement)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,n.createElement)("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}))},blob1:function(e){return(0,n.createElement)("svg",(0,d.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,n.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"}))}},ut=(e,t,a,l)=>{if(!e)return{};const i=(e=>{const t=(0,q.applyFilters)("stackable.image.shape.svgs",ct);return t[e]?t[e]:null})(e),o=(0,n.createElement)(i,{preserveAspectRatio:!["","square"].includes(e)&&l?"none":void 0,transform:t||a?`scale(${t?-1:1},${a?-1:1})`:void 0});return`url('data:image/svg+xml;base64,${btoa((0,m.Qq)(o))}')`},dt=e=>{let{x:t,y:a}=e,n=(0,W.toNumber)(t),l=(0,W.toNumber)(a);return n=isNaN(n)?50:100*n,l=isNaN(l)?50:100*l,`${n}% ${l}%`},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t=".stk-img-wrapper",hoverSelector:a=".stk-img-wrapper:hover",hoverSelectorCallback:n=null,enableWidth:l=!0,enableHeight:i=!0,widthStyleRule:o=null}=e;return[{selector:`${t}:not(.stk--is-resizing)`,renderIn:"edit",styleRule:"width",attrName:"imageWidth",hasUnits:"%",responsive:"all",enabledCallback:()=>l},{selector:t,renderIn:"save",styleRule:o||"width",attrName:"imageWidth",hasUnits:"%",responsive:"all",enabledCallback:()=>l},{selector:`${t}:not(.stk--is-resizing)`,renderIn:"edit",styleRule:"height",attrName:"imageHeight",hasUnits:"px",responsive:"all",enabledCallback:()=>i},{selector:t,renderIn:"save",styleRule:"height",attrName:"imageHeight",hasUnits:"px",responsive:"all",enabledCallback:()=>i},{selector:`${t} .stk-img-resizer-wrapper`,hoverSelector:a?`${a} .stk-img-resizer-wrapper`:void 0,hoverSelectorCallback:n,renderIn:"edit",styleRule:"filter",attrName:"imageShadow",format:"drop-shadow(%s)",hover:"all"},{selector:t,hoverSelector:a,renderIn:"save",styleRule:"filter",attrName:"imageShadow",format:"drop-shadow(%s)",hover:"all"},{selector:`${t} img`,hoverSelector:`${a} img`,hoverSelectorCallback:n,styleRule:"filter",attrName:"imageFilter",hover:"all"},{selector:`${t} img`,hoverSelector:`${a} img`,hoverSelectorCallback:n,styleRule:"transform",attrName:"imageZoom",format:"scale(%s)",hover:"all"},{selector:`${t} .stk-img-resizer-wrapper img`,renderIn:"edit",styleRule:"borderRadius",attrName:"imageBorderRadius",format:"%spx"},{selector:`${t} img`,renderIn:"save",styleRule:"borderRadius",attrName:"imageBorderRadius",format:"%spx"},{selector:`${t} img`,hoverSelector:`${a} img`,hoverSelectorCallback:n,styleRule:"objectPosition",attrName:"imageFocalPoint",valueCallback:dt,responsive:"all",hover:"all"},{selector:`${t} img`,styleRule:"objectFit",attrName:"imageFit",responsive:"all"},{renderIn:"edit",selector:[`${t} .stk-img-resizer-wrapper img`,`${t} .stk-img-resizer-wrapper::after`,`${t} .stk-img-resizer-wrapper::before`],styleRule:"mask-image",vendorPrefixes:["-webkit-"],attrName:"imageShape",responsive:"all",enabledCallback:e=>!!e("imageShape"),valueCallback:(e,t)=>ut(e,t("imageShapeFlipX"),t("imageShapeFlipY"),t("imageShapeStretch")),dependencies:["imageShapeFlipX","imageShapeFlipY","imageShapeStretch"]},{renderIn:"save",selector:[`${t} img`,`${t}::after`,`${t}::before`],styleRule:"mask-image",vendorPrefixes:["-webkit-"],attrName:"imageShape",responsive:"all",enabledCallback:e=>!!e("imageShape"),valueCallback:(e,t)=>ut(e,t("imageShapeFlipX"),t("imageShapeFlipY"),t("imageShapeStretch")),dependencies:["imageShapeFlipX","imageShapeFlipY","imageShapeStretch"]},{renderIn:"save",selector:`${t}::after`,hoverSelector:`${a}::after`,hoverSelectorCallback:n,styleRule:"backgroundColor",attrName:"imageOverlayColor",hover:"all",enabledCallback:e=>"gradient"!==e("imageOverlayColorType")},{renderIn:"edit",selector:`${t} .stk-img-resizer-wrapper::after`,hoverSelector:`${a} .stk-img-resizer-wrapper::after`,hoverSelectorCallback:n,styleRule:"backgroundColor",attrName:"imageOverlayColor",hover:"all",enabledCallback:e=>"gradient"!==e("imageOverlayColorType")},{renderIn:"save",selector:`${t}::after`,hoverSelector:`${t}::before`,styleRule:"backgroundImage",attrName:"imageOverlayColor",hover:"all",enabledCallback:e=>"gradient"===e("imageOverlayColorType"),valuePreCallback:(e,t,a,n)=>"normal"!==n&&(t("imageOverlayColor2","desktop","normal")||t("imageOverlayColor","desktop","normal"))?"1":e,valueCallback:(e,t,a,n)=>{let l=t("imageOverlayColor2","desktop",n);"normal"===n||l||(l=t("imageOverlayColor2","desktop","normal")),l=(0,m.a7)(l||"#ffffff",0);let i=t("imageOverlayColor","desktop",n);"normal"===n||i||(i=t("imageOverlayColor","desktop","normal")),i=(0,m.a7)(i||"#ffffff",0);let o=t("imageOverlayGradientLocation1","desktop",n);"normal"!==n&&""===o&&(o=t("imageOverlayGradientLocation1","desktop","normal")),o=`${o||"0"}%`;let r=t("imageOverlayGradientLocation2","desktop",n);"normal"!==n&&""===r&&(r=t("imageOverlayGradientLocation2","desktop","normal")),r=`${r||"100"}%`;let s=t("imageOverlayGradientDirection","desktop",n);"normal"!==n&&""===s&&(s=t("imageOverlayGradientDirection","desktop","normal")),""===s&&(s="90"),s=`${s}deg`;let c=t("imageOverlayColor","desktop",n);"normal"===n||c||(c=t("imageOverlayColor","desktop","normal"));let u=t("imageOverlayColor2","desktop",n);return"normal"===n||u||(u=t("imageOverlayColor2","desktop","normal")),`linear-gradient(${s}, ${c||l} ${o}, ${u||i} ${r})`},dependencies:["imageOverlayColorType","imageOverlayColor2","imageOverlayColor","imageOverlayGradientLocation1","imageOverlayGradientLocation2","imageOverlayGradientDirection","imageOverlayOpacity"]},{renderIn:"edit",selector:`${t} .stk-img-resizer-wrapper::after`,hoverSelector:`${t} .stk-img-resizer-wrapper::before`,hoverSelectorCallback:n,styleRule:"backgroundImage",attrName:"imageOverlayColor",hover:"all",enabledCallback:e=>"gradient"===e("imageOverlayColorType"),valuePreCallback:(e,t,a,n)=>"normal"!==n&&(t("imageOverlayColor2","desktop","normal")||t("imageOverlayColor","desktop","normal"))?"1":e,valueCallback:(e,t,a,n)=>{let l=t("imageOverlayColor2","desktop",n);"normal"===n||l||(l=t("imageOverlayColor2","desktop","normal")),l=(0,m.a7)(l||"#ffffff",0);let i=t("imageOverlayColor","desktop",n);"normal"===n||i||(i=t("imageOverlayColor","desktop","normal")),i=(0,m.a7)(i||"#ffffff",0);let o=t("imageOverlayGradientLocation1","desktop",n);"normal"!==n&&""===o&&(o=t("imageOverlayGradientLocation1","desktop","normal")),o=`${o||"0"}%`;let r=t("imageOverlayGradientLocation2","desktop",n);"normal"!==n&&""===r&&(r=t("imageOverlayGradientLocation2","desktop","normal")),r=`${r||"100"}%`;let s=t("imageOverlayGradientDirection","desktop",n);"normal"!==n&&""===s&&(s=t("imageOverlayGradientDirection","desktop","normal")),""===s&&(s="90"),s=`${s}deg`;let c=t("imageOverlayColor","desktop",n);"normal"===n||c||(c=t("imageOverlayColor","desktop","normal"));let u=t("imageOverlayColor2","desktop",n);return"normal"===n||u||(u=t("imageOverlayColor2","desktop","normal")),`linear-gradient(${s}, ${c||l} ${o}, ${u||i} ${r})`},dependencies:["imageOverlayColorType","imageOverlayColor2","imageOverlayColor","imageOverlayGradientLocation1","imageOverlayGradientLocation2","imageOverlayGradientDirection","imageOverlayOpacity"]},{renderIn:"save",selector:`${t}`,hoverSelector:`${t}::before`,styleRule:"--stk-gradient-overlay",attrName:"imageOverlayOpacity",hover:"all"},{renderIn:"edit",selector:`${t} .stk-img-resizer-wrapper`,hoverSelector:`${t} .stk-img-resizer-wrapper::before`,styleRule:"--stk-gradient-overlay",attrName:"imageOverlayOpacity",hover:"all"},{renderIn:"save",selector:`${t}::after, ${t}::before`,styleRule:"mix-blend-mode",attrName:"imageOverlayBlendMode"},{renderIn:"edit",selector:`${t} .stk-img-resizer-wrapper::after, ${t} .stk-img-resizer-wrapper::before`,hoverSelectorCallback:n,styleRule:"mix-blend-mode",attrName:"imageOverlayBlendMode"}]},bt=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,mt(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};bt.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,mt(a));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)))};const gt=["none","0px 0 1px rgba(120, 120, 120, 0.5)","0px 0 2px rgba(120, 120, 120, 0.5)","0px 5px 10px rgba(153, 153, 153, 0.35)","0px 2px 20px rgba(153, 153, 153, 0.2)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.1)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","70px 60px 60px rgba(72, 73, 121, 0.2) "],pt=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),{updateBlockAttributes:a}=(0,O.useDispatch)("core/block-editor"),r=(0,o.kX)(t),[u]=(0,o.Ry)(),{imageData:d}=(0,O.useSelect)((e=>({imageData:{...e("core").getMedia(r.imageId)}})),[r.imageId]),b=(0,n.useMemo)((()=>"px"===r.imageWidthUnit&&["","px"].includes(r.imageHeightUnit)?(Math.max(r.imageWidth,r.imageHeight)||200)/2:"px"===r.imageWidthUnit?r.imageWidth:["","px"].includes(r.imageHeightUnit)?(r.imageHeight||200)/2:100),[r.imageWidth,r.imageWidthUnit,r.imageHeight,r.imageHeightUnit]);return(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.image.before",null,e),e.hasSelector&&(0,n.createElement)(i.Wb,{label:(0,c.__)("Select Image",l.i18n),allowedTypes:["image"],attribute:"image",onRemove:()=>a(t,{imageId:"",imageUrl:"",imageWidthAttribute:"",imageHeightAttribute:"",imageAlt:""}),onChange:e=>{var n;let{url:l,width:i,height:o}=e;const s=r.imageSize||"full";var c,u,d,m,b,g;null!==(n=e.sizes)&&void 0!==n&&n[s]&&(l=(null===(c=e.sizes)||void 0===c||null===(u=c[s])||void 0===u?void 0:u.url)||l,o=(null===(d=e.sizes)||void 0===d||null===(m=d[s])||void 0===m?void 0:m.height)||o||"",i=(null===(b=e.sizes)||void 0===b||null===(g=b[s])||void 0===g?void 0:g.width)||i||""),a(t,{imageId:e.id,imageUrl:l,imageWidthAttribute:i,imageHeightAttribute:o,imageAlt:e.alt||""})}}),e.hasWidth&&(0,n.createElement)(i.o1,{label:(0,c.__)("Width",l.i18n),attribute:"imageWidth",units:e.widthUnits,min:e.widthMin,sliderMax:e.widthMax,step:e.widthStep,initialPosition:100,allowReset:!0,placeholder:"250",responsive:"all"}),e.hasHeight&&(0,n.createElement)(i.o1,{label:(0,c.__)("Height",l.i18n),attribute:"imageHeight",units:e.heightUnits,min:e.heightMin,sliderMax:e.heightMax,step:e.heightStep,allowReset:!0,placeholder:"",responsive:"all"}),e.hasAlt&&(0,n.createElement)(i.fe,{label:(0,c.__)("Image Alt",l.i18n),value:r.imageAlt,onChange:e=>a(t,{imageAlt:e})}),(0,n.createElement)(i.o1,{label:(0,c.__)("Zoom",l.i18n),attribute:"imageZoom",hover:"all",min:0,sliderMax:3,step:.01,initialPosition:1,allowReset:!0}),e.hasShadow&&(0,n.createElement)(i.s5,{options:gt,attribute:"imageShadow",hover:"all",isFilter:!0}),r.imageId&&(0,n.createElement)(i.gn,{label:(0,c.__)("Image Size",l.i18n),value:r.imageSize,onChange:e=>{var n,l,i,o,r,s,c,u;const m=(null===(n=d.media_details)||void 0===n||null===(l=n.sizes[e])||void 0===l?void 0:l.source_url)||d.source_url,b=(null===(i=d.media_details)||void 0===i||null===(o=i.sizes[e])||void 0===o?void 0:o.width)||(null===(r=d.media_details)||void 0===r?void 0:r.width)||"",g=(null===(s=d.media_details)||void 0===s||null===(c=s.sizes[e])||void 0===c?void 0:c.height)||(null===(u=d.media_details)||void 0===u?void 0:u.height)||"";a(t,{imageSize:e,imageUrl:m,imageWidthAttribute:b,imageHeightAttribute:g})},defaultValue:"full",className:"ugb--help-tip-image-size"}),e.hasBorderRadius&&(0,n.createElement)(i.o1,{label:(0,c.__)("Border Radius",l.i18n),attribute:"imageBorderRadius",min:"0",sliderMax:b,placeholder:"0",defaultValue:0,allowReset:!0,className:"ugb--help-tip-general-border-radius"}),(0,n.createElement)(i.Eg,null),(0,n.createElement)(i.iB,{controls:[{value:"",title:(0,c.__)("Single",l.i18n)},{value:"gradient",title:(0,c.__)("Gradient",l.i18n)}],attribute:"imageOverlayColorType",fullwidth:!1,isSmall:!0}),(0,n.createElement)(i.Xw,{label:"gradient"===r.imageOverlayColorType?(0,c.sprintf)((0,c._x)("%s #%d","option title",l.i18n),(0,c.__)("Overlay Color",l.i18n),1):(0,c.__)("Overlay Color",l.i18n),attribute:"imageOverlayColor",hover:"all",hasTransparent:"gradient"===r.imageOverlayColorType}),"gradient"===r.imageOverlayColorType&&(0,n.createElement)(i.Xw,{label:(0,c.sprintf)((0,c._x)("%s #%d","option title",l.i18n),(0,c.__)("Overlay Color",l.i18n),2),attribute:"imageOverlayColor2",hover:"all",hasTransparent:!0}),(0,n.createElement)(i.o1,{label:(0,c.__)("Overlay Opacity",l.i18n),attribute:"imageOverlayOpacity",hover:"all",min:0,max:1,step:.1,placeholder:"0.3"}),(0,n.createElement)(i.Yd,{label:(0,c.__)("Overlay Blend Mode",l.i18n),attribute:"imageOverlayBlendMode",className:"ugb--help-tip-background-blend-mode"}),"gradient"===r.imageOverlayColorType&&(0,n.createElement)(i.NT,{label:(0,c.__)("Gradient Overlay Settings",l.i18n),onReset:()=>{a(t,{[(0,m.UX)("imageOverlayGradientDirection","desktop",u)]:"",[(0,m.UX)("imageOverlayGradientLocation1","desktop",u)]:"",[(0,m.UX)("imageOverlayGradientLocation2","desktop",u)]:"",[(0,m.UX)("imageOverlayGradientDirection","tablet",u)]:"",[(0,m.UX)("imageOverlayGradientLocation1","tablet",u)]:"",[(0,m.UX)("imageOverlayGradientLocation2","tablet",u)]:"",[(0,m.UX)("imageOverlayGradientDirection","mobile",u)]:"",[(0,m.UX)("imageOverlayGradientLocation1","mobile",u)]:"",[(0,m.UX)("imageOverlayGradientLocation2","mobile",u)]:""})},allowReset:r[(0,m.UX)("imageOverlayGradientDirection","desktop",u)]||r[(0,m.UX)("imageOverlayGradientLocation1","desktop",u)]||r[(0,m.UX)("imageOverlayGradientLocation2","desktop",u)]||r[(0,m.UX)("imageOverlayGradientDirection","tablet",u)]||r[(0,m.UX)("imageOverlayGradientLocation1","tablet",u)]||r[(0,m.UX)("imageOverlayGradientLocation2","tablet",u)]||r[(0,m.UX)("imageOverlayGradientDirection","mobile",u)]||r[(0,m.UX)("imageOverlayGradientLocation1","mobile",u)]||r[(0,m.UX)("imageOverlayGradientLocation2","mobile",u)]},(0,n.createElement)(i.o1,{label:(0,c.__)("Gradient Direction (degrees)",l.i18n),attribute:"imageOverlayGradientDirection",hover:"all",min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),(0,n.createElement)(i.o1,{label:(0,c.sprintf)((0,c.__)("Color %d Location",l.i18n),1),attribute:"imageOverlayGradientLocation1",hover:"all",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),(0,n.createElement)(i.o1,{label:(0,c.sprintf)((0,c.__)("Color %d Location",l.i18n),2),attribute:"imageOverlayGradientLocation2",hover:"all",sliderMin:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"})),(0,n.createElement)(i.Eg,null),(0,n.createElement)(i.Lu,{attribute:"imageFocalPoint",label:(0,c.__)("Focal point",l.i18n),url:e.src?e.src:r.imageUrl,responsive:"all",hover:"all"}),(0,n.createElement)(i.qD,{label:(0,c.__)("Image Fit",l.i18n),attribute:"imageFit",options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Contain",l.i18n),value:"contain"},{label:(0,c.__)("Cover",l.i18n),value:"cover"},{label:(0,c.__)("Fill",l.i18n),value:"fill"},{label:(0,c.__)("None",l.i18n),value:"none"},{label:(0,c.__)("Scale Down",l.i18n),value:"scale-down"}],className:"ugb--help-tip-background-image-size",responsive:"all"}),e.hasShape&&(0,n.createElement)(i.NT,{label:(0,c.__)("Image Shape",l.i18n),onReset:()=>{a(t,{imageShape:"",imageShapeFlipX:"",imageShapeFlipY:"",imageShapeStretch:!0})},allowReset:r.imageShape||r.imageShapeFlipX||r.imageShapeFlipY||!r.imageShapeStretch},(0,n.createElement)(i.hi,{selected:r.imageShape,onChange:e=>a(t,{imageShape:e})}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Flip Shape Horizontally",l.i18n),attribute:"imageShapeFlipX"}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Flip Shape Vertically",l.i18n),attribute:"imageShapeFlipY"}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Stretch Shape Mask",l.i18n),attribute:"imageShapeStretch",defaultValue:!0})),(0,n.createElement)(i.NT,{label:(0,c.__)("Image Filter",l.i18n),popoverLabel:"",onReset:()=>{a(t,{imageFilter:""})},allowReset:r.imageFilter},(0,n.createElement)(i.z9,{label:(0,c.__)("Image Filter",l.i18n),attribute:"imageFilter",hover:"all"})))};pt.defaultProps={hasAlt:!0,hasWidth:!0,hasSelector:!0,hasShadow:!0,widthUnits:["px","%","vw"],widthMin:[0,0,0],widthMax:[1e3,100,100],widthStep:[1,1,1],hasHeight:!0,heightUnits:["px","%","vh"],heightMin:[0,0,0],heightMax:[1e3,100,100],heightStep:[1,1,1],hasBorderRadius:!0,hasShape:!0};const ht=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),{updateBlockAttributes:a}=(0,O.useDispatch)("core/block-editor"),l=(0,o.kX)(t);return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,(0,d.Z)({title:e.label,id:"image",initialOpen:e.initialOpen},e.hasToggle?{checked:l.imageShow,onChange:e=>a(t,{imageShow:e})}:{}),(0,n.createElement)(pt,e)))};ht.defaultProps={initialOpen:!1,label:(0,c.__)("Image",l.i18n),hasToggle:!1,hasAlt:!0,hasWidth:!0,hasSelector:!0,hasShadow:!0,widthUnits:["px","%","vw"],widthMin:[0,0,0],widthMax:[1e3,100,100],widthStep:[1,1,1],hasHeight:!0,heightUnits:["px","%","vh"],heightMin:[0,0,0],heightMax:[1e3,100,100],heightStep:[1,1,1],hasBorderRadius:!0,hasShape:!0},ht.Controls=pt;const vt=[.25,.5,.75,1],kt=(0,W.range)(50,2001,50),ft=(0,W.range)(100,2001,100),yt=[.1,.2,.25,.3,.4,.5,.6,.7,.75,.8,.9,1],Ct=(0,W.range)(8,2001,8);var _t=a(9755);const Et=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%",a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return"auto"===e?e:e||0===e?"%"===t?n?`${e}%`:e:a?`${e}px`:e:"%"===t?n?"100%":100:a?"150px":150},xt=e=>V()([e.className,"stk-img-wrapper"],{"stk-img--shape":e.shape,"stk-image--shape-stretch":e.shapeStretch,[`stk--shadow-${e.shadow}`]:!e.shape&&e.shadow,"stk-img--gradient-overlay":e.hasGradientOverlay}),wt=e=>V()(["stk-img"],{[`wp-image-${e.imageId}`]:e.imageId}),St=(0,n.memo)((e=>{const[t,a]=(0,n.useState)(!1),[l,r]=(0,n.useState)(!1),[c,u]=(0,n.useState)(),[d,m]=(0,n.useState)(),[b,g]=(0,n.useState)(),[p,h]=(0,n.useState)(),[v,k]=(0,n.useState)(!1),[f,y]=(0,n.useState)(),[C,_]=(0,n.useState)(),[E,x]=(0,n.useState)(!1),w=(0,n.useRef)(),[S,B]=(0,n.useState)(null),[T,A]=(0,n.useState)(null),z=(0,_t.wt)(e.src),N=(0,o.PR)();(0,n.useEffect)((()=>{A(null)}),[N]);const M=V()([xt(e),"stk-img-resizer"],{"stk-img-placeholder":!z||v,"stk--is-resizing":t,"stk--no-click-to-edit":!e.enableClickToEdit,"stk--too-small":E});(0,n.useEffect)((()=>{if(w.current){const e=new ResizeObserver((e=>{for(const t of e)x(t.contentRect.width<140)}));return e.observe(w.current),()=>e.disconnect()}}),[w.current]);const I=wt(e);return(0,n.createElement)(s.MediaUpload,{onSelect:t=>{let{url:a,width:n,height:l}=t;const i=e.size||"full";t.sizes&&t.sizes[i]&&(a=t.sizes[i].url,n=t.sizes[i].width,l=t.sizes[i].height),e.onChange({...t,url:a,width:n,height:l})},allowedTypes:e.allowedTypes,value:e.imageID,render:o=>(0,n.createElement)(ye.ResizableBox,{className:M,enable:{top:!(!e.showHandles||"top"!==e.heightResizePosition)&&e.enableHeight,bottom:!(!e.showHandles||"bottom"!==e.heightResizePosition)&&e.enableHeight,right:!(!e.showHandles||"right"!==e.widthResizePosition)&&e.enableWidth,left:!(!e.showHandles||"left"!==e.widthResizePosition)&&e.enableWidth,topRight:!1,bottomRight:e.showHandles&&e.enableDiagonal,bottomLeft:!1,topLeft:!1},size:{width:Et(C||e.width,e.widthUnit),height:Et(f||e.height,e.heightUnit)},resizeRatio:1.2,lockAspectRatio:l,onClick:t=>{var a,n,l,i,r,s,c,u;e.enableClickToEdit&&(null!==(a=t.target)&&void 0!==a&&null!==(n=a.classList)&&void 0!==n&&n.contains("stk-img")||null!==(l=t.target)&&void 0!==l&&null!==(i=l.classList)&&void 0!==i&&i.contains("stk-img-placeholder")||null!==(r=t.target)&&void 0!==r&&null!==(s=r.classList)&&void 0!==s&&s.contains("stk-img-resizer-wrapper")||null!==(c=t.target)&&void 0!==c&&null!==(u=c.classList)&&void 0!==u&&u.contains("stk-img-resizer"))&&o.open()},role:"button",tabIndex:0,snap:T,snapGap:10,onResizeStart:(t,n,l)=>{r("bottomRight"===n);let i=e.height?parseFloat(e.height):0;if("%"===e.heightUnit){const t=l.parentElement.getBoundingClientRect().height;g(t),i=(e.height||100)/100*t}else e.height&&"auto"!==e.height||(i=parseInt(l.getBoundingClientRect().height,10));u(i||0);let o=e.width?parseFloat(e.width):0;if("%"===e.widthUnit){const t=l.parentElement.getBoundingClientRect().width;h(t),o=(e.width||100)/100*t}else e.width&&"auto"!==e.width||(o=parseInt(l.getBoundingClientRect().width,10));m(o||0),a(!0),A(null)},onResize:(t,a,n,l)=>{let i,o;"%"===e.heightUnit?(i=(0,W.clamp)(Math.round((c+l.height)/b*100),0,100),B(`.stk--is-resizing { height: ${i}% !important; }`)):i=c+l.height,y(i),o="%"===e.widthUnit?(0,W.clamp)(Math.round((d+l.width)/p*100),0,100):d+l.width,_(o),T||A(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"%",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"px",l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return"bottomRight"!==(arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bottom")||l?{x:l?"%"===a?yt.map((t=>t*e)):Ct:"%"===a?vt.map((t=>t*e)):kt,y:l?"%"===n?yt.map((e=>e*t)):Ct:"%"===n?vt.map((e=>e*t)):kt}:{x:"%"===a?vt.map((t=>t*e)):kt,y:"%"===n?vt.map((e=>e*t)):ft}}(p,b,e.widthUnit,e.heightUnit,a,N))},onResizeStop:()=>{e.onChangeSize({width:C,widthUnit:e.widthUnit,height:f,heightUnit:e.heightUnit}),a(!1),_(null),y(null),B(null),A(null)}},z&&e.onRemove&&e.hasRemove&&(0,n.createElement)("button",{className:"stk-img-upload-remove",onClick:t=>{e.onRemove(),t.stopPropagation()}},(0,n.createElement)(ye.Dashicon,{icon:"no"})),e.hasTooltip&&(0,n.createElement)(i.R$,{enableHeight:e.enableHeight||e.enableDiagonal,enableWidth:e.enableWidth||e.enableDiagonal,height:Et(f||e.height,e.heightUnit,!1,!1),width:Et(C||e.width,e.widthUnit,!1,!1),widthUnits:e.widthUnits,heightUnits:e.heightUnits,heightUnit:e.heightUnit,widthUnit:e.widthUnit,allowReset:e.allowReset,defaultWidth:e.defaultWidth,defaultHeight:e.defaultHeight,onChangeHeight:t=>{let{value:a,unit:n}=t;const l={};void 0!==a&&(l.height=a),void 0!==n&&(l.heightUnit=n),e.onChangeSize(l)},onChangeWidth:t=>{let{value:a,unit:n}=t;const l={};void 0!==a&&(l.width=a),void 0!==n&&(l.widthUnit=n),e.onChangeSize(l)}}),(0,n.createElement)("div",{className:"stk-img-resizer-wrapper"},(0,n.createElement)("img",{ref:w,onLoad:()=>k(!1),onError:()=>k(!0),className:I,src:z||void 0,alt:j()(e.alt||void 0),title:j()(e.title||void 0),width:e.width||void 0,height:e.height||void 0,draggable:"false"})),t&&S&&(0,n.createElement)("style",null,S))},e.children)}));St.defaultProps={imageId:"",enableClickToEdit:!0,showHandles:!0,alt:"",title:"",src:"",size:"full",width:"",height:"",widthUnit:"%",heightUnit:"px",widthUnits:["px","%"],heightUnits:["px","%"],shape:"",shapeStretch:!1,shadow:"",allowedTypes:["image"],enableWidth:!0,enableHeight:!0,enableDiagonal:!0,widthResizePosition:"right",heightResizePosition:"bottom",allowReset:!0,hasGradientOverlay:!1,hasRemove:!0,hasTooltip:!0,onChange:()=>{},onRemove:()=>{},onChangeSize:()=>{}};const Bt=e=>{const t=(0,o.hU)(),a="Desktop"===t,l="Mobile"===t;let i=e.width,r=e.widthUnit||"%";a||""===e.widthTablet||(i=e.widthTablet,r=e.widthUnitTablet),l&&""!==e.widthMobile&&(i=e.widthMobile,r=e.widthUnitMobile);let s=e.height,c=e.heightUnit||"px";return a||""===e.heightTablet||(s=e.heightTablet,""!==e.heightUnitTablet&&(c=e.heightUnitTablet)),l&&""!==e.heightMobile&&(s=e.heightMobile,""!==e.heightUnitMobile&&(c=e.heightUnitMobile)),(0,n.createElement)(St,(0,d.Z)({},e,{width:i,widthUnit:r,height:s,heightUnit:c,onChangeSize:a=>{e[`onChangeSize${t}`](a)}}))};Bt.defaultProps={...St.defaultProps,widthTablet:"",heightTablet:"",widthUnitTablet:"",heightUnitTablet:"",widthMobile:"",heightMobile:"",widthUnitMobile:"",heightUnitMobile:"",onChangeSizeDesktop:()=>{},onChangeSizeTablet:()=>{},onChangeSizeMobile:()=>{},defaultWidth:"",defaultHeight:""};const Tt=e=>{const t=xt(e),a=wt(e),l=e.width||0===e.width?"%"===e.widthUnit?`${e.width}%`:e.width:void 0,i=e.height||0===e.height?"%"===e.heightUnit?`${e.height}%`:e.height:void 0,o={},r=j()(e.alt||void 0);r&&(o.alt=r);const s=j()(e.title||void 0);s&&(o.title=s);const c=e.customWrapper||"figure";return(0,n.createElement)(c,{className:t},(0,n.createElement)("img",(0,d.Z)({className:a,src:e.src||void 0,width:l||void 0,height:i||void 0},o)),e.children)};Tt.defaultProps={imageId:"",alt:"",title:"",src:"",size:"full",width:"",height:"",widthUnit:"px",heightUnit:"px",shape:"",shapeStretch:!1,shadow:"",hasGradientOverlay:!1,customWrapper:null},Bt.Content=Tt;const At=Bt,zt=e=>{const{defaultWidth:t,defaultHeight:a,...l}=e,{clientId:i,isSelected:r}=(0,s.useBlockEditContext)(),c=(0,o.kX)(i),{parentBlock:u}=(0,o.VG)(),{setImage:m}=(()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{updateBlockAttributes:t}=(0,O.useDispatch)("core/block-editor");return{setImage:{onChange:(0,n.useCallback)((a=>{t(e,{imageUrl:a.url,imageId:a.id,imageHeightAttribute:a.height,imageWidthAttribute:a.width,imageAlt:a.alt})})),onChangeSizeDesktop:(0,n.useCallback)((a=>{let{width:n,height:l,widthUnit:i,heightUnit:o}=a;const r={};void 0!==n&&(r.imageWidth=n),void 0!==l&&(r.imageHeight=l),void 0!==o&&(r.imageHeightUnit=o),void 0!==i&&(r.imageWidthUnit=i),t(e,r)}),[e,t]),onChangeSizeTablet:(0,n.useCallback)((a=>{let{width:n,height:l,widthUnit:i,heightUnit:o}=a;const r={};void 0!==n&&(r.imageWidthTablet=n),void 0!==l&&(r.imageHeightTablet=l),void 0!==o&&(r.imageHeightUnitTablet=o),void 0!==i&&(r.imageWidthUnitTablet=i),t(e,r)}),[e,t]),onChangeSizeMobile:(0,n.useCallback)((a=>{let{width:n,height:l,widthUnit:i,heightUnit:o}=a;const r={};void 0!==n&&(r.imageWidthMobile=n),void 0!==l&&(r.imageHeightMobile=l),void 0!==o&&(r.imageHeightUnitMobile=o),void 0!==i&&(r.imageWidthUnitMobile=i),t(e,r)}),[e,t]),onRemove:(0,n.useCallback)((()=>{t(e,{imageUrl:"",imageId:"",imageHeightAttribute:"",imageWidthAttribute:"",imageAlt:""})}),[e,t])}}})(),b="auto"===a?"auto":void 0!==a?a:"",g=(0,q.applyFilters)("stackable.image.enable-handlers",!0,u),[p,h]=(0,n.useState)(!1);(0,n.useEffect)((()=>{if(!r)return void h(!1);const e=setTimeout((()=>{r&&h(r)}),1);return()=>clearTimeout(e)}),[r]);const v="gradient"===c.imageOverlayColorType&&(c.imageOverlayColorHover||c.imageOverlayColorParentHover||c.imageOverlayColor2Hover||c.imageOverlayColor2ParentHover||c.imageOverlayOpacityHover||c.imageOverlayOpacityParentHover||c.imageOverlayGradientLocation1Hover||c.imageOverlayGradientLocation1ParentHover||c.imageOverlayGradientLocation2Hover||c.imageOverlayGradientLocation2ParentHover||c.imageOverlayGradientDirectionHover||c.imageOverlayGradientDirectionParentHover);return(0,n.createElement)(At,(0,d.Z)({},m,{enableClickToEdit:p,showHandles:g&&r,imageId:c.imageId,imageURL:c.imageUrl,size:c.imageSize,src:c.imageUrl,width:c.imageWidth||t,widthTablet:c.imageWidthTablet,widthMobile:c.imageWidthMobile,widthUnit:c.imageWidthUnit||"%",widthUnitTablet:c.imageWidthUnitTablet,widthUnitMobile:c.imageWidthUnitMobile,height:c.imageHeight||b,heightTablet:c.imageHeightTablet,heightMobile:c.imageHeightMobile,heightUnit:c.imageHeightUnit||"px",heightUnitTablet:c.imageHeightUnitTablet,heightUnitMobile:c.imageHeightUnitMobile,shape:c.imageShape,shapeStretch:c.imageShapeStretch,shadow:c.imageShadow,hasGradientOverlay:v,defaultWidth:e.defaultWidth,defaultHeight:e.defaultHeight},(0,W.pickBy)(l,(e=>void 0!==e))))};zt.defaultProps={defaultWidth:150,defaultHeight:300,enableHandles:!0},zt.Content=e=>{const{defaultWidth:t,defaultHeight:a,attributes:l,src:i,alt:o,width:r,...s}=e,c="auto"===a&&l.imageUrl?"auto":300,u="gradient"===l.imageOverlayColorType&&(l.imageOverlayColorHover||l.imageOverlayColorParentHover||l.imageOverlayColor2Hover||l.imageOverlayColor2ParentHover||l.imageOverlayOpacityHover||l.imageOverlayOpacityParentHover||l.imageOverlayGradientLocation1Hover||l.imageOverlayGradientLocation1ParentHover||l.imageOverlayGradientLocation2Hover||l.imageOverlayGradientLocation2ParentHover||l.imageOverlayGradientDirectionHover||l.imageOverlayGradientDirectionParentHover);return(0,n.createElement)(At.Content,(0,d.Z)({imageId:l.imageId,imageURL:l.imageUrl,alt:o||l.imageAlt,size:l.imageSize,src:i||l.imageUrl,width:r||l.imageWidthAttribute||l.imageWidth||t,height:l.imageHeightAttribute||l.imageHeight||c,shape:l.imageShape,shapeStretch:l.imageShapeStretch,shadow:l.imageShadow,hasGradientOverlay:u},s))},zt.Content.defaultProps={attributes:{},defaultWidth:150,defaultHeight:300},zt.InspectorControls=ht,zt.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{imageWidthUnitDefault:a="%",selector:n="img"}=t;e.add({attributes:{imageShow:{type:"boolean",default:!0},imageUrl:{type:"string",default:""},imageId:{type:"number",default:""},imageAlt:{type:"string",source:"attribute",selector:n,attribute:"alt",default:""},imageSize:{type:"string",default:"full"},imageWidthAttribute:{type:"number",default:""},imageHeightAttribute:{type:"number",default:""},imageBorderRadius:{type:"number",default:""},imageOverlayColorType:{type:"string",default:""},imageOverlayColor:{type:"string",default:"",stkHover:!0},imageOverlayColor2:{type:"string",default:"",stkHover:!0},imageOverlayOpacity:{type:"number",default:"",stkHover:!0},imageOverlayBlendMode:{type:"string",default:""},imageOverlayGradientDirection:{type:"number",default:"",stkHover:!0},imageOverlayGradientLocation1:{type:"number",default:"",stkHover:!0},imageOverlayGradientLocation2:{type:"number",default:"",stkHover:!0},imageFocalPoint:{stkResponsive:!0,stkHover:!0,type:"object"},imageFit:{stkResponsive:!0,type:"string",default:""},imageHeight:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},imageWidth:{stkResponsive:!0,stkUnits:a,type:"number",default:""},imageZoom:{stkHover:!0,type:"number",default:""},imageShadow:{stkHover:!0,type:"string",default:""},imageFilter:{stkHover:!0,type:"string",default:""},imageShape:{type:"string",default:""},imageShapeFlipX:{type:"boolean",default:""},imageShapeFlipY:{type:"boolean",default:""},imageShapeStretch:{type:"boolean",default:!0}},versionAdded:"3.0.0",versionDeprecated:""})},zt.Style=bt;var Nt=a(48),Mt=a(1398);const It=()=>{const[e,t]=(0,o.i9)(),{isOnlyBlock:a}=(0,o.VG)(),{clientId:r}=(0,s.useBlockEditContext)(),u=(0,Nt.cc)(r);if(!(0,Mt.getPlugin)("stackable-block-linking")||a||!u)return null;const d=V()(["stk-linking-wrapper__tooltip"],{"stk--is-unlinked":!e});return(0,n.createElement)("div",{className:"stk-linking-wrapper"},(0,n.createElement)(i.u,{position:"bottom",text:(0,n.createElement)(n.Fragment,null,(0,c.__)("When linked, styling this block would also style other linked blocks in adjacent columns.",l.i18n),(0,n.createElement)("br",null),(0,n.createElement)("a",{href:"https://docs.wpstackable.com/article/452-how-to-use-linking/?utm_source=wp-linking-tooltip&utm_campaign=learnmore&utm_medium=gutenberg",target:"_blank",rel:"noopener noreferrer"},(0,c.__)("Learn more about linking",l.i18n)))},(0,n.createElement)("div",{className:d,onClick:()=>t(!e),onKeyDown:a=>{13===a.keyCode&&t(!e)},role:"button",tabIndex:"0"},(0,n.createElement)(ye.Dashicon,{icon:e?"admin-links":"editor-unlink"}))))};It.defaultProps={show:!0},It.Content=()=>null;const Ht=e=>V()({"stk-has-top-separator":e.topSeparatorShow,"stk-has-bottom-separator":e.bottomSeparatorShow}),Ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{selector:a,wrapperSelector:n=".stk-separator__wrapper",enableFlipHorizontally:l=!0,enableFlipVertically:i=!1,isInitiallyFlippedVertically:o=!0}=e,r=void 0!==a?a:` > .stk-separator__${t}`;return[{attrNameTemplate:`${t}%s`,selector:r,styleRule:"zIndex",attrName:"separatorBringToFront",valuePreCallback:e=>{if(e)return 6}},{attrNameTemplate:`${t}%s`,selector:r,styleRule:"transform",attrName:"separatorFlipHorizontally",valuePreCallback:(e,t)=>{const a=e,n=t("separatorFlipVertically");if(!i&&!l)return;if(!a&&!n)return;const r=l&&a,s=r&&o,c=i&&n;return(0,W.compact)([r?"scaleX(-1)":void 0,s?"scaleY(-1)":void 0,c?"scaleY(-1)":void 0]).join(" ")},dependencies:["separatorFlipVertically"]},{attrNameTemplate:`${t}%s`,selector:r+" svg",styleRule:"fill",attrName:"separatorColor"},{attrNameTemplate:`${t}%s`,selector:r+` ${n}`,styleRule:"transform",attrName:"separatorWidth",format:"scaleX(%s)"},{attrNameTemplate:`${t}%s`,selector:r+` ${n}`,styleRule:"height",responsive:"all",attrName:"separatorHeight",format:"%spx"},{attrNameTemplate:`${t}%s`,selector:r+" svg",styleRule:"filter",attrName:"separatorShadow",format:"drop-shadow(%s)",valueCallback:e=>"drop-shadow(none)"===e?"none":e}]},Rt=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,Ut(a,"top")),r=(0,m.yK)(t,Ut({...a,isInitiallyFlippedVertically:!1},"bottom")),s=(0,m.yK)(t,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t}=e;return[{renderIn:"edit",selector:void 0!==t?t:" > .stk-separator__bottom",styleRule:"bottom",attrName:"blockMargin",responsive:"all",valuePreCallback:e=>null==e?void 0:e.bottom,format:"%spx"}]}(a)),c=(0,m.yK)(t,(0,q.applyFilters)("stackable.block-component.separator.get-style-params",[],a,"top")),u=(0,m.yK)(t,(0,q.applyFilters)("stackable.block-component.separator.get-style-params",[],a,"bottom"));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:c,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:u,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg,(0,d.Z)({styles:s,versionAdded:"3.0.0",versionDeprecated:""},l)))};Rt.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,Ut(a,"top")),r=(0,m.Wi)(t,Ut({...a,isInitiallyFlippedVertically:!1},"bottom")),s=(0,m.Wi)(t,(0,q.applyFilters)("stackable.block-component.separator.get-style-params",[],a,"top")),c=(0,m.Wi)(t,(0,q.applyFilters)("stackable.block-component.separator.get-style-params",[],a,"bottom"));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:s,versionAdded:"3.0.0",versionDeprecated:""},l)),(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:c,versionAdded:"3.0.0",versionDeprecated:""},l)))};var Lt=a(9188),Pt=a(5509);const Ft=[{image:"dist/images/block-components-separator-wave-1.fe7d2e5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Wave",l.i18n),1),value:"wave-1"},{image:"dist/images/block-components-separator-straight-1.fba0f99.png",label:(0,c.__)("Straight",l.i18n),value:"straight-1"},{image:"dist/images/block-components-separator-wave-2.bc3ff78.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Wave",l.i18n),2),value:"wave-2"},{image:"dist/images/block-components-separator-wave-3.9e204d5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Wave",l.i18n),3),value:"wave-3"},{image:"dist/images/block-components-separator-wave-4.b82e3aa.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Wave",l.i18n),4),value:"wave-4"},{image:"dist/images/block-components-separator-slant-1.645f0b9.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Slant",l.i18n),1),value:"slant-1"},{image:"dist/images/block-components-separator-slant-2.50e3178.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Slant",l.i18n),2),value:"slant-2"},{image:"dist/images/block-components-separator-curve-1.277a020.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Curve",l.i18n),1),value:"curve-1"},{image:"dist/images/block-components-separator-curve-2.4b8c7da.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Curve",l.i18n),2),value:"curve-2"},{image:"dist/images/block-components-separator-curve-3.da5eb6d.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Curve",l.i18n),3),value:"curve-3"},{image:"dist/images/block-components-separator-rounded-1.85d0e25.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Rounded",l.i18n),1),value:"rounded-1"},{image:"dist/images/block-components-separator-rounded-2.6e57ec5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Rounded",l.i18n),2),value:"rounded-2"},{image:"dist/images/block-components-separator-rounded-3.78cb6da.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",l.i18n),(0,c.__)("Rounded",l.i18n),3),value:"rounded-3"}];(0,q.hasFilter)("stackable.block-component.separator.layouts","default")||(0,q.addFilter)("stackable.block-component.separator.layouts","default",(e=>[...e,...Ft]));const Ot=e=>{const{excludeDesigns:t,attribute:a,responsive:l,hover:o,valueCallback:r,changeCallback:s,onChange:c,value:u}=e,m=(0,n.useMemo)((()=>((0,q.applyFilters)("stackable.block-component.separator.layouts",[])||[]).filter((e=>-1===(0,W.findIndex)(t,(t=>t===(null==e?void 0:e.value)))))),[...t]),[b,g]=(0,Pt.G)(a,l,o,r,s),[p,h]=(0,Lt.ED)(e);return(0,n.createElement)(Lt.ZP,h,(0,n.createElement)(i.wf,(0,d.Z)({},p,{options:m,selected:void 0===u?b:u,onChange:void 0===c?g:c})))};Ot.defaultProps={excludeDesigns:[],attribute:""};const Dt=Ot,Zt=["none","0px 0 1px rgba(120, 120, 120, 0.5)","0px 0 2px rgba(120, 120, 120, 0.5)","2px 4px 6px #000","0px 5px 10px rgba(153, 153, 153, 0.35)","0px 2px 20px rgba(153, 153, 153, 0.2)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.05)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","70px 130px -60px rgba(72, 73, 121, 0.38) "],Vt=e=>{const{attrNameTemplate:t,hasFlipVertically:a}=e,r=(0,n.useMemo)((()=>(0,q.applyFilters)("stackable.separator.shadows",Zt)),[]),{getAttrName:s}=(0,o.Mf)(t);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Dt,{label:(0,c.__)("Design",l.i18n),attribute:s("separatorDesign")}),(0,n.createElement)(i.Xw,{label:(0,c.__)("Color",l.i18n),attribute:s("separatorColor")}),(0,n.createElement)(i.o1,{label:(0,c.__)("Height",l.i18n),min:30,sliderMax:400,placeholder:"",attribute:s("separatorHeight"),responsive:"all"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Width",l.i18n),attribute:s("separatorWidth"),min:1,sliderMax:4,step:.1}),(0,n.createElement)(i.s5,{isFilter:!0,label:(0,c.__)("Shadow / Outline",l.i18n),attribute:s("separatorShadow"),options:r,placeholder:"5"}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Invert Design",l.i18n),attribute:s("separatorInverted")}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Flip Horizontally",l.i18n),attribute:s("separatorFlipHorizontally")}),a&&(0,n.createElement)(i.PQ,{label:(0,c.__)("Flip Vertically",l.i18n),attribute:s("separatorFlipVertically")}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Bring to Front",l.i18n),attribute:s("separatorBringToFront")}))};Vt.defaultProps={attrNameTemplate:"%s",hasFlipVertically:!1};const qt=e=>{const{getAttribute:t,updateAttributeHandler:a,updateAttributes:r,getAttrName:s}=(0,o.Mf)();return(0,n.createElement)(i.ME,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Top Separator",l.i18n),id:"top-separator",checked:t("topSeparatorShow"),onChange:a("topSeparatorShow")},(0,n.createElement)(Vt,{attrNameTemplate:"top%s"}),(0,q.applyFilters)("stackable.block-component.separator.top.after",null,{...e,getAttribute:t,updateAttributeHandler:a,updateAttributes:r,getAttrName:s}),l.showProNotice&&(0,n.createElement)(i.Y_,{title:(0,c.__)("Say Hello to Gorgeous Separators 👋"),description:(0,c.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",l.i18n)})),(0,n.createElement)(i.SQ,{title:(0,c.__)("Bottom Separator",l.i18n),id:"bottom-separator",checked:t("bottomSeparatorShow"),onChange:a("bottomSeparatorShow")},(0,n.createElement)(Vt,{attrNameTemplate:"bottom%s"}),(0,q.applyFilters)("stackable.block-component.separator.bottom.after",null,{...e,getAttribute:t,updateAttributeHandler:a,updateAttributes:r,getAttrName:s}),l.showProNotice&&(0,n.createElement)(i.Y_,{title:(0,c.__)("Say Hello to Gorgeous Separators 👋"),description:(0,c.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",l.i18n)})))};qt.SeparatorControls=Vt;const Gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const a=(0,m.CR)(e);return{[a(`SeparatorLayer${t}Show`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Color`)]:{type:"string",default:""},[a(`SeparatorLayer${t}Height`)]:{stkResponsive:!0,type:"number",default:""},[a(`SeparatorLayer${t}Width`)]:{type:"number",default:""},[a(`SeparatorLayer${t}FlipHorizontally`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Inverted`)]:{type:"boolean",default:""},[a(`SeparatorLayer${t}Opacity`)]:{type:"number",default:""},[a(`SeparatorLayer${t}BlendMode`)]:{type:"string",default:""}}},Wt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s";const t=(0,m.CR)(e);return{[t("separatorShow")]:{type:"boolean",default:""},[t("separatorDesign")]:{type:"string",default:""},[t("separatorColor")]:{type:"string",default:""},[t("separatorHeight")]:{stkResponsive:!0,type:"number",default:""},[t("separatorWidth")]:{type:"number",default:""},[t("separatorShadow")]:{type:"string",default:""},[t("separatorInverted")]:{type:"boolean",default:""},[t("separatorFlipHorizontally")]:{type:"boolean",default:""},[t("separatorFlipVertically")]:{type:"boolean",default:""},[t("separatorBringToFront")]:{type:"boolean",default:""}}},$t={...Wt("top%s"),...Wt("bottom%s"),...Gt("top%s",2),...Gt("top%s",3),...Gt("bottom%s",2),...Gt("bottom%s",3)},jt=e=>{let{children:t}=e;const{getAttribute:a,getAttributes:l}=(0,o.Mf)();return(0,n.createElement)(n.Fragment,null,a("topSeparatorShow")&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"stk-separator stk-separator__top"},(0,n.createElement)("div",{className:"stk-separator__wrapper"},(0,n.createElement)(i.Sf,{design:a("topSeparatorDesign"),inverted:a("topSeparatorInverted")}),(0,q.applyFilters)("stackable.block-component.separator.output.top.after",null,l())))),t,a("bottomSeparatorShow")&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"stk-separator stk-separator__bottom"},(0,n.createElement)("div",{className:"stk-separator__wrapper"},(0,n.createElement)(i.Sf,{design:a("bottomSeparatorDesign"),inverted:a("bottomSeparatorInverted")}),(0,q.applyFilters)("stackable.block-component.separator.output.bottom.after",null,l())))))};jt.Content=e=>{let{children:t,attributes:a}=e;return(0,n.createElement)(n.Fragment,null,a.topSeparatorShow&&(0,n.createElement)("div",{className:"stk-separator stk-separator__top"},(0,n.createElement)("div",{className:"stk-separator__wrapper"},(0,n.createElement)(i.Sf,{design:a.topSeparatorDesign,inverted:a.topSeparatorInverted}),(0,q.applyFilters)("stackable.block-component.separator.output.top.after",null,a))),t,a.bottomSeparatorShow&&(0,n.createElement)("div",{className:"stk-separator stk-separator__bottom"},(0,n.createElement)("div",{className:"stk-separator__wrapper"},(0,n.createElement)(i.Sf,{design:a.bottomSeparatorDesign,inverted:a.bottomSeparatorInverted}),(0,q.applyFilters)("stackable.block-component.separator.output.bottom.after",null,a))))},jt.Content.defaultProps={attributes:{}},jt.InspectorControls=qt,jt.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{}=t;e.add({attributes:$t,versionAdded:"3.0.0",versionDeprecated:""})},jt.Style=Rt;var Qt=a(9190);const Kt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=(0,m.CA)(e),{selector:n=""}=t;return{[n]:(0,m.ge)({marginBottom:a("blockMarginBottom","%spx")}),tablet:{[n]:(0,m.ge)({marginBottom:a("blockMarginBottomTablet","%spx")})},mobile:{[n]:(0,m.ge)({marginBottom:a("blockMarginBottomMobile","%spx")})}}},Jt=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.CA)(t),r=(0,n.useMemo)((()=>Kt(t,a)),[a.selector,o("blockMarginBottom"),o("blockMarginBottomTablet"),o("blockMarginBottomMobile"),t.uniqueId]);return(0,n.createElement)(i.bg,(0,d.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},l))};Jt.Content=e=>{const{attributes:t,options:a={},...l}=e,o=Kt(t,a);return(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l))};const Xt=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),a=(0,o.kX)(t),{isLastBlock:l,parentBlock:r}=(0,o.VG)(t),c=(0,q.applyFilters)("stackable.edit.margin-bottom.enable-handlers",!0,r);return l||!c?null:(0,n.createElement)(i.tH,{previewSelector:e.previewSelector||(a.uniqueId?`.${(0,m.tJ)(a.uniqueId)}`:void 0),attribute:"blockMargin",responsive:"all"})};Xt.addAttributes=e=>{e.add({attributes:{blockMargin:{stkResponsive:!0,type:"object"}},versionAdded:"3.0.0",versionDeprecated:""})},Xt.Style=Jt;const Yt=e=>V()({"stk--hide-desktop":e.hideDesktop,"stk--hide-tablet":e.hideTablet,"stk--hide-mobile":e.hideMobile}),ea=()=>null;ea.InspectorControls=()=>{const{clientId:e}=(0,s.useBlockEditContext)(),{updateBlockAttributes:t}=(0,O.useDispatch)("core/block-editor"),{hideDesktop:a,hideTablet:r,hideMobile:u}=(0,o.kX)(e);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Responsive",l.i18n),initialOpen:!1},(0,n.createElement)(i.PQ,{label:(0,c.__)("Hide on Desktop",l.i18n),checked:a,onChange:a=>t(e,{hideDesktop:a})}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Hide on Tablet",l.i18n),checked:r,onChange:a=>t(e,{hideTablet:a})}),(0,n.createElement)(i.PQ,{label:(0,c.__)("Hide on Mobile",l.i18n),checked:u,onChange:a=>t(e,{hideMobile:a})}),(0,q.applyFilters)("stackable.block-components.responsive.control",null))))},ea.addAttributes=e=>{e.add({attributes:{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}},versionAdded:"3.0.0",versionDeprecated:""})};const ta=()=>l.showProNotice||l.isPro?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.wC,null,(0,n.createElement)(i.SQ,{title:(0,c.__)("Transform & Transition",l.i18n),id:"transform-transition"},!l.isPro&&(0,n.createElement)(i.XK,{title:(0,c.__)("Say Hello to Transforms 👋",l.i18n),description:(0,c.__)("Change the timing of your CSS transitions, change the X and Y position, scale or rotate your blocks, perfect for hover animations. This feature is only available on Stackable Premium",l.i18n)}),l.isPro&&(0,q.applyFilters)("stackable.block-component.transform-transition.control",null)))):null;ta.defaultProps={};const aa=e=>(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.transform.style",null,e));aa.Content=e=>(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.transform.style.content",null,e));const na=()=>null;na.InspectorControls=ta,na.addAttributes=e=>{e.add({attributes:{transitionDuration:{type:"number",default:""},transitionOrigin:{type:"string",default:""},transitionFunction:{type:"string",default:""},transform:{type:"string",stkHover:!0,stkResponsive:!0,default:""}},versionAdded:"3.0.0",versionDeprecated:""})},na.Style=aa;const la=wp.escapeHtml,ia=["none","2px 2px 4px rgba(0, 0, 0, 0.2)","6px 6px 4px rgba(120, 120, 120, 0.2)","2px 4px 5px rgba(0, 0, 0, 0.4)","0px 0px 5px rgba(0, 0, 0, 0.4)","4px 4px 0px rgba(0, 0, 0, 1)","0px 15px 14px rgba(18, 63, 82, 0.3)","25px 10px 14px rgba(18, 63, 82, 0.3)","25px 10px 30px rgba(18, 63, 82, 0.3)","0px 0px 40px rgba(18, 63, 82, 0.6)","0px 0px 62px rgba(71, 73, 79, 1)","0px 0px 100px rgba(71, 73, 79, 1)"],oa=e=>{const{hasAlign:t,hasColor:a,hasTextTag:r,hasTextContent:u,hasRemoveMargins:d,attrNameTemplate:b,isMultiline:g,hasGradient:p,hasTextShadow:h}=e,{getAttribute:v,updateAttributeHandler:k,updateAttributes:f,updateAttribute:y}=(0,o.Mf)(b),C=(0,m.CR)(b),_=(0,O.useSelect)((e=>e("core/block-editor").getSettings().colors))||[],E=v("text"),[x]=(0,o.Ry)(),[w,S]=(0,n.useState)(E),B=(0,W.unescape)(w),T=(0,n.useCallback)((e=>S((0,la.escapeHTML)(e))),[S]);return(0,n.useEffect)((()=>{E!==w&&S(E)}),[E]),(0,n.useEffect)((()=>{let e;return w!==E&&(e=setTimeout((()=>{y("text",w)}),300)),()=>clearTimeout(e)}),[y,w,E]),(0,n.createElement)(n.Fragment,null,(0,q.applyFilters)("stackable.block-component.typography.before",null,e),u&&(0,n.createElement)(i.nS,{label:(0,c.__)("Content",l.i18n),isMultiline:g,value:B,onChange:T,changeDynamicContent:S,isDynamic:!0}),d&&(0,n.createElement)(i.PQ,{label:(0,c.__)("Remove extra text margins",l.i18n),attribute:C("textRemoveTextMargins")}),r&&(0,n.createElement)(i.gO,{value:v("textTag"),onChange:k("textTag"),hasP:v("hasP")}),(0,n.createElement)(i.NT,{label:(0,c.__)("Typography",l.i18n),popoverLabel:(0,c.__)("Typography",l.i18n),onReset:()=>{f({[(0,m.UX)("fontFamily")]:"",[(0,m.UX)("fontSize","desktop",x)]:"",[(0,m.UX)("fontSize","tablet",x)]:"",[(0,m.UX)("fontSize","mobile",x)]:"",[(0,m.UX)("fontWeight","desktop",x)]:"",[(0,m.UX)("textTransform","desktop",x)]:"",[(0,m.UX)("letterSpacing","desktop",x)]:"",[(0,m.UX)("lineHeight","desktop",x)]:"",[(0,m.UX)("lineHeight","tablet",x)]:"",[(0,m.UX)("lineHeight","mobile",x)]:""})},allowReset:v("fontFamily")||v("fontSize","desktop",x)||v("fontSize","tablet",x)||v("fontSize","mobile",x)||v("fontWeight","desktop",x)||v("textTransform","desktop",x)||v("letterSpacing","desktop",x)||v("lineHeight","desktop",x)||v("lineHeight","tablet",x)||v("lineHeight","mobile",x)},(0,n.createElement)(i.vl,{label:(0,c.__)("Font Family",l.i18n),onChange:k("fontFamily"),value:v("fontFamily")}),(0,n.createElement)(i.qD,{label:(0,c.__)("Weight",l.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:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Normal",l.i18n),value:"normal"},{label:(0,c.__)("Bold",l.i18n),value:"bold"}],attribute:C("fontWeight")}),(0,n.createElement)(i.qD,{label:(0,c.__)("Transform",l.i18n),options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Uppercase",l.i18n),value:"uppercase"},{label:(0,c.__)("Lowercase",l.i18n),value:"lowercase"},{label:(0,c.__)("Capitalize",l.i18n),value:"capitalize"},{label:(0,c.__)("None",l.i18n),value:"none"}],attribute:C("textTransform")}),(0,n.createElement)(i.qD,{label:(0,c.__)("Font Style",l.i18n),options:[{label:(0,c.__)("Default",l.i18n),value:""},{label:(0,c.__)("Normal",l.i18n),value:"normal"},{label:(0,c.__)("Italic",l.i18n),value:"italic"},{label:(0,c.__)("Oblique",l.i18n),value:"oblique"}],attribute:C("fontStyle")}),(0,n.createElement)(i.o1,{label:(0,c.__)("Line-Height",l.i18n),attribute:C("lineHeight"),units:["px","em","rem"],min:[1,.1],sliderMax:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,initialPosition:[37,1.8],responsive:"all"}),(0,n.createElement)(i.o1,{label:(0,c.__)("Letter Spacing",l.i18n),attribute:C("letterSpacing"),min:-5,sliderMax:10,step:.1,allowReset:!0,placeholder:"0"})),(0,n.createElement)(i.o1,{label:(0,c.__)("Size",l.i18n),allowReset:!0,attribute:C("fontSize"),units:["px","em","rem"],min:[0,0],sliderMax:[150,7],step:[1,.05],placeholder:e.sizePlaceholder,responsive:"all"}),a&&(0,n.createElement)(n.Fragment,null,p&&(0,n.createElement)(i.iB,{controls:[{value:"",title:(0,c.__)("Single",l.i18n)},{value:"gradient",title:(0,c.__)("Gradient",l.i18n)}],isSmall:!0,fullwidth:!1,attribute:C("textColorType"),onReset:()=>{f({[(0,m.UX)("textColor1")]:"",[(0,m.UX)("textColor2")]:""})}}),(0,n.createElement)(i.Xw,{changeCallback:e=>{var t;if("normal"!==x)return e;const a=null!=e&&e.startsWith("var(--stk-global-color")?e.match(/(#[^\)]*)/g)[0]:e,n=null===(t=_.find((e=>{let{color:t}=e;return a===t})))||void 0===t?void 0:t.slug;return y("textColorClass",n?(0,s.getColorClassName)("color",n):""),e},label:"gradient"===v("textColorType")&&p?(0,c.sprintf)((0,c.__)("Text Color #%s",l.i18n),1):(0,c.__)("Text Color",l.i18n),attribute:C("textColor1"),hover:(!p||"gradient"!==v("textColorType"))&&"all"}),"gradient"===v("textColorType")&&p&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Xw,{label:(0,c.sprintf)((0,c.__)("Text Color #%s",l.i18n),2),attribute:C("textColor2")}),(0,n.createElement)(i.o1,{label:(0,c.__)("Gradient Direction (degrees)",l.i18n),attribute:C("textGradientDirection"),min:0,max:360,step:10,allowReset:!0})),(0,q.applyFilters)("stackable.block-component.typography.color.after",null,e)),h&&(0,n.createElement)(i.s5,{isFilter:!0,label:(0,c.__)("Shadow / Outline",l.i18n),attribute:C("textShadow"),options:ia,placeholder:"",hover:"all"}),t&&(0,n.createElement)(i.d6,{label:(0,c.__)("Align",l.i18n),attribute:C("textAlign"),responsive:"all"}))};oa.defaultProps={hasAlign:!1,hasColor:!0,hasTextTag:!0,hasTextContent:!0,hasRemoveMargins:!1,attrNameTemplate:"%s",isMultiline:!1,hasGradient:!0,hasTextShadow:!1};const ra=e=>{const{hasAlign:t,hasColor:a,hasTextTag:l,hasTextContent:r,hasRemoveMargins:s,attrNameTemplate:c,isMultiline:u,initialOpen:m,hasGradient:b,hasToggle:g,label:p,hasTextShadow:h}=e,{getAttribute:v,updateAttributeHandler:k}=(0,o.Mf)(c);return(0,n.createElement)(i.Ib,null,(0,n.createElement)(i.SQ,(0,d.Z)({title:p,initialOpen:m},g?{checked:v("show"),onChange:k("show")}:{},{id:"text"}),(0,n.createElement)(oa,{hasAlign:t,hasColor:a,hasTextTag:l,hasTextContent:r,hasRemoveMargins:s,attrNameTemplate:c,isMultiline:u,hasGradient:b,hasTextShadow:h})))};ra.defaultProps={hasAlign:!1,hasColor:!0,hasTextTag:!0,hasTextContent:!0,attrNameTemplate:"%s",isMultiline:!1,initialOpen:!0,hasGradient:!0,hasRemoveMargins:!1,label:(0,c.__)("Typography",l.i18n),sizePlaceholder:"32",hasTextShadow:!1},ra.Controls=oa;const sa={fontSize:{stkResponsive:!0,type:"number",default:"",stkUnits:"px"},lineHeight:{stkResponsive:!0,type:"number",default:"",stkUnits:"em"},fontFamily:{type:"string",default:""},fontStyle:{type:"string",default:""},fontWeight:{type:"string",default:""},textTransform:{type:"string",default:""},letterSpacing:{type:"number",default:""},textRemoveTextMargins:{type:"boolean",default:""},textColorType:{type:"string",default:""},textColorClass:{type:"string",default:""},textColor1:{type:"string",stkHover:!0,default:""},textColor2:{type:"string",default:""},textShadow:{stkHover:!0,type:"string",default:""},textAlign:{stkResponsive:!0,type:"string",default:""},textGradientDirection:{type:"number",default:""},hasP:{type:"boolean",default:!1},show:{type:"booleam",default:!0}},ca=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{selector:t="",selectorCallback:a=null,attrNameTemplate:n="%s",inherit:l=!0,inheritMin:i,inheritMax:o=50,hoverSelector:r="",hoverSelectorCallback:s=null,dependencies:c=[]}=e;return[{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"textShadow",attrName:"textShadow",hover:"all",hoverSelector:r,hoverSelectorCallback:s},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"fontSize",attrName:"fontSize",hasUnits:"px",responsive:"all",clampCallback:(e,t,a,n)=>{const r=t("fontSize",a,n),s="mobile"===a;let c=e;const u=l&&(0,m.ES)(e,{min:i,max:o});if(s){c=l&&(0,m.ES)(t("fontSize","desktop",n),{min:i,max:o})||c}return c=u||c,c=void 0!==r&&""!==r?r:s?void 0:c,c},dependencies:["fontSizeUnit","fontSize",...c]},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"margin",attrName:"textRemoveTextMargins",valueCallback:e=>e?0:void 0,dependencies:c},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"color",hover:"all",hoverSelector:r,hoverSelectorCallback:s,attrName:"textColor1",valuePreCallback:(e,t,a,n)=>{if("gradient"!==t("textColorType","desktop",n))return e},dependencies:["textColorType",...c]},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"backgroundImage",attrName:"textColor1",valuePreCallback:(e,t)=>{if("gradient"===t("textColorType","desktop","normal")&&""!==t("textColor1","desktop","normal")&&""!==t("textColor2","desktop","normal"))return e},valueCallback:(e,t)=>{const a=t("textColor1","desktop","normal"),n=t("textColor2","desktop","normal"),l=t("textGradientDirection","desktop","normal");return`linear-gradient(${""!==l?`${l}deg, `:""}${a}, ${n})`},dependencies:["textColorType","textColor1","textColor2","textGradientDirection",...c]},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"lineHeight",attrName:"lineHeight",responsive:"all",hasUnits:"em",dependencies:c},{selector:t,selectorCallback:a,attrNameTemplate:n,styles:{fontWeight:"fontWeight",textTransform:"textTransform",fontStyle:"fontStyle"},dependencies:c},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"fontFamily",attrName:"fontFamily",valueCallback:e=>(0,m.BN)(e),dependencies:c},{selector:t,selectorCallback:a,attrNameTemplate:n,styleRule:"letterSpacing",attrName:"letterSpacing",format:"%spx",dependencies:c}]},ua=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.yK)(t,ca(a));return(0,n.createElement)(i.bg,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l))};ua.Content=e=>{const{attributes:t,options:a={},...l}=e,o=(0,m.Wi)(t,ca(a));return(0,n.createElement)(i.bg.Content,(0,d.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},l))};const da=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";const a=(0,m.CR)(t);return V()({"stk--is-gradient":"gradient"===e[a("textColorType")],[`has-text-align-${e[a("textAlign")]}`]:e[a("textAlign")],[`has-text-align-${e[a("textAlignTablet")]}-tablet`]:e[a("textAlignTablet")],[`has-text-align-${e[a("textAlignMobile")]}-mobile`]:e[a("textAlignMobile")],"has-text-color":!!e[a("textColor1")],[e[a("textColorClass")]]:!!e[a("textColorClass")]})},ma=(0,n.forwardRef)(((e,t)=>{const{className:a,attrNameTemplate:l,tagName:i,defaultTag:r,value:c,onChange:u,children:m,editable:b,identifier:g,defaultValue:p,...h}=e,{getAttribute:v,updateAttribute:k}=(0,o.Mf)(l),f=(null===i?v("textTag"):i)||r||"p",y=null===c?v("text"):c,C=(0,n.useMemo)((()=>null===u?e=>k("text",e):u),[u,k]),[_,E]=(0,n.useState)(y);(0,o.Av)(v("fontFamily")),(0,n.useEffect)((()=>{y!==_&&E(y)}),[y]),(0,n.useEffect)((()=>{let e;return y!==_&&(e=setTimeout((()=>{C(_||p)}),300)),()=>clearTimeout(e)}),[_,C]);const x=(0,_t.wt)(_);return b?(0,n.createElement)(s.RichText,(0,d.Z)({identifier:g,className:a,tagName:f,value:x,onChange:E,ref:t},h),m):(0,n.createElement)(f,{className:a},x)}));ma.defaultProps={attrNameTemplate:"%s",tagName:null,defaultTag:"p",value:null,onChange:null,editable:!0,identifier:"text"},ma.Content=e=>{const{className:t,attrNameTemplate:a,attributes:l,tagName:i,defaultTag:o,value:r,children:c,...u}=e,b=e=>{const t=(0,m.WC)(a,e);return l[(0,m.UX)(t)]};return(0,n.createElement)(s.RichText.Content,(0,d.Z)({className:t,tagName:(null===i?b("textTag"):i)||o,value:null===r?b("text"):r},u),c)},ma.Content.defaultProps={attrNameTemplate:"%s",attributes:{},tagName:null,defaultTag:"p",value:null},ma.InspectorControls=ra,ma.addAttributes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".stk-content",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{hasTextTag:n=!0,hasTextContent:l=!0,defaultTextTag:i="p",attrNameTemplate:o="%s",multiline:r,defaultText:s="",multilineWrapperTags:c}=a;e.add({attributes:{...sa,...l?{showText:{type:"boolean",default:!0},text:{source:"html",selector:t,multiline:r,default:s,__unstableMultilineWrapperTags:c}}:{},...n?{textTag:{type:"string",default:i}}:{}},versionAdded:"3.0.0",versionDeprecated:"",attrNameTemplate:o})},ma.Style=ua},9190:(e,t,a)=>{"use strict";a.d(t,{bg:()=>v,KL:()=>p,Yf:()=>h,i_:()=>d});var n=a(2610),l=a(4678),i=a(7044),o=a(8085),r=a(4863),s=a.n(r),c=a(78),u=a(6869);const d=e=>{(0,n.useEffect)((()=>{e.generatedCss=""}),[])},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).reduce(((n,i)=>({...n,[(0,l.yP)(i,t,t,a?".editor-styles-wrapper":"")]:e[i]})),{})},b=e=>Object.keys(e).reduce(((t,a)=>{const n=Object.keys(e[a]).reduce(((t,n)=>{const l=e[a][n];if(void 0===l)return t;const i=n.replace(/^(--?)?(.*?$)/,((e,t,a)=>`${t||""}${(0,o.kebabCase)(a)}`));return t+"\n\t"+i+": "+l+";"}),"");return t.push("\n\n"+a+" {"+n+"\n}"),t}),[]),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["desktop"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:768;const n=(0,o.sortBy)("string"==typeof e?e.split(",").map((e=>e.trim())):e);return(0,o.isEqual)(n,["desktop","tablet"])?"@media screen and (min-width: "+a+"px)":(0,o.isEqual)(n,["desktop"])?"@media screen and (min-width: "+t+"px)":(0,o.isEqual)(n,["mobile","tablet"])?"@media screen and (max-width: "+(t-1)+"px)":(0,o.isEqual)(n,["tablet"])?"@media screen and (min-width: "+a+"px) and (max-width: "+(t-1)+"px)":(0,o.isEqual)(n,["mobile"])?"@media screen and (max-width: "+(a-1)+"px)":null},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:768,l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;const r=[];Object.keys(e).forEach((t=>{if(["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"].includes(t)){const a=t;Object.keys(e[a]).forEach((t=>{Object.keys(e[a][t]).forEach((n=>void 0===e[a][t][n]?delete e[a][t][n]:{})),Object.keys(e[a][t]).length||delete e[a][t]})),Object.keys(e[a]).length||delete e[a]}else Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}));const s=(0,o.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor","saveOnly","custom"]);if(Object.keys(s).length){const e=m(s,t,l);Array.prototype.push.apply(r,b(e))}if(void 0!==e.desktopTablet){const i=m(e.desktopTablet,t,l),o=b(i);o&&(l?o.forEach((e=>{r.push("\n\n"+g(["desktop","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${g(["desktop","tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.desktopOnly){const i=m(e.desktopOnly,t,l),o=b(i);o&&(l?o.forEach((e=>{r.push("\n\n"+g(["desktop"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${g(["desktop"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.tablet){const i=m(e.tablet,t,l),o=b(i);o&&(l?o.forEach((e=>{r.push("\n\n"+g(["mobile","tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${g(["mobile","tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.tabletOnly){const i=m(e.tabletOnly,t,l),o=b(i);o&&(l?o.forEach((e=>{r.push("\n\n"+g(["tablet"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${g(["tablet"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.mobile){const i=m(e.mobile,t,l),o=b(i);o&&(l?o.forEach((e=>{r.push("\n\n"+g(["mobile"],a,n)+" {\n"+e+" }")})):r.push(`\n\n${g(["mobile"],a,n)} {\n${o.join("")} }`))}if(void 0!==e.ie11){const a=m(e.ie11,t,l),n=b(a);n&&r.push(`\n\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n${n.join("")} }`)}return void 0!==e.custom&&Array.prototype.push.apply(r,b(e.custom)),l&&void 0!==e.editor&&!i&&Array.prototype.push.apply(r,p(e.editor,t,a,n,l,i++)),l||void 0===e.saveOnly||i||Array.prototype.push.apply(r,p(e.saveOnly,t,a,n,l,i++)),r},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Desktop";const a=[(0,o.omit)(e,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])];return"Desktop"===t?(a.push(e.desktopTablet||{}),a.push(e.desktopOnly||{}),e.editor&&(a.push((0,o.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.desktopOnly||{}))):"Tablet"===t?(a.push(e.desktopTablet||{}),a.push(e.tablet||{}),a.push(e.tabletOnly||{}),e.editor&&(a.push((0,o.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.desktopTablet||{}),a.push(e.editor.tablet||{}),a.push(e.editor.tabletOnly||{}))):(a.push(e.tablet||{}),a.push(e.mobile||{}),e.editor&&(a.push((0,o.omit)(e.editor,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","editor","ie11","saveOnly"])),a.push(e.editor.tablet||{}),a.push(e.editor.mobile||{}))),a.forEach((e=>{Object.keys(e).forEach((t=>{Object.keys(e[t]).forEach((a=>void 0===e[t][a]?delete e[t][a]:{})),Object.keys(e[t]).length||delete e[t]}))})),s().all(a)},v=(0,n.memo)((e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:i=(()=>{})}=e,o=(0,u.hU)(),{clientId:r}=(0,c.useBlockEditContext)(),s=(0,u.kX)(r),d=(0,l.tJ)(s.uniqueId),m=i({...s,clientId:r}).map((e=>{const n=h(e,o);return p(n,d,t,a,!0)}));return m?m.map(((e,t)=>(0,n.createElement)("style",{key:t},e))):null}));v.Content=e=>{const{breakTablet:t=1024,breakMobile:a=768,styleFunc:i=(()=>{}),attributes:o={}}=e,r=(0,l.tJ)(o.uniqueId),s=p(k(i(o)),r,t,a,!1);return s&&s.length?(0,n.createElement)("style",null,(0,l.hJ)(s.join(""))):null},v.displayName="Style";const k=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=s().all(e);return t?(0,i.A)(a):a};v.addAttributes=e=>{e.add({attributes:{generatedCss:{type:"string",source:"html",selector:"style:not(.stk-custom-css)",default:""}},versionAdded:"3.0.3",versionDeprecated:""})}},4425:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>T});var n=a(4597),l=a(2610),i=a(2285),o=a(6869),r=a(4678),s=a(78);const c=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:n}=(0,s.useBlockEditContext)(),c=(0,o.kX)(n);return t.blockUniqueClassName=(0,r.tJ)(c.uniqueId),t.deviceType=a,t.attributes={...c,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.sg.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t))};c.defaultProps={isEditor:!1},(c.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.sg.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{}};const u=c;var d=a(4184),m=a.n(d),b=a(910),g=a(8085),p=a(3233),h=a(1951),v=a(7462);a(7294);var k=a(8003),f=a(3882);const y='<svg data-prefix="fas" data-icon="chevron-down" class="svg-inline--fa fa-chevron-down fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg>',C=(0,f.applyFilters)("stackable.accordion.variations",[{name:"default",isDefault:!0,description:(0,k.sprintf)((0,k._x)("%s Layout","Block layout name",b.i18n),(0,k.__)("Default",b.i18n)),attributes:{className:"is-style-default"},isActive:["className"],pickerTitle:(0,k.__)("Default",b.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,v.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 13.4H9v7.2h30v-7.2zM9 11c-1.105 0-2 1.075-2 2.4v7.2c0 1.325.895 2.4 2 2.4h30c1.105 0 2-1.075 2-2.4v-7.2c0-1.325-.895-2.4-2-2.4H9z"}),(0,l.createElement)("path",{d:"M9 26h30v2H9v-2zM9 31h30v2H9v-2zM9 36h30v2H9v-2z"}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.146 16.146a.5.5 0 01.708 0l.646.647.646-.647a.5.5 0 01.708.708l-1 1a.5.5 0 01-.708 0l-1-1a.5.5 0 010-.708z"}),(0,l.createElement)("path",{d:"M12 16h12v2H12v-2z"}))},innerBlocks:[["stackable/column",{templateLock:"insert",hasContainer:!0,htmlTag:"summary",className:"stk--container-small stk-block-accordion__heading"},[["stackable/icon-label",{},[["stackable/heading",{text:(0,k._x)("Title for This Block","Heading placeholder",b.i18n),hasP:!0,textTag:"h4"}],["stackable/icon",{icon:y,linkHasLink:!1}]]]]],["stackable/column",{templateLock:!1,className:"stk-block-accordion__content"},[["stackable/text",{text:(0,k._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",b.i18n)}]]]],scope:["block"]},{name:"plain",description:(0,k.sprintf)((0,k._x)("%s Layout","Block layout name",b.i18n),(0,k.__)("Plain",b.i18n)),attributes:{className:"is-style-plain",blockBorderType:"solid",blockBorderColor:"#dfdad1",blockBorderWidth:{top:0,right:0,bottom:1,left:0},blockPadding:{top:"",right:"",bottom:24,left:""}},isActive:["className"],pickerTitle:(0,k.__)("Plain",b.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,v.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 13H9v2h14v-2zm16 6H9v2h30v-2zM9 24h30v2H9v-2zm30 5H9v2h30v-2zM9 34h30v1H9v-1zm27.854-20.854a.5.5 0 00-.708.708l1 1a.5.5 0 00.708 0l1-1a.5.5 0 00-.708-.708l-.646.647-.646-.647z"}))},innerBlocks:[["stackable/column",{templateLock:"insert",htmlTag:"summary",className:"stk--container-small stk-block-accordion__heading"},[["stackable/icon-label",{},[["stackable/heading",{text:(0,k._x)("Title for This Block","Heading placeholder",b.i18n),hasP:!0,textTag:"h4"}],["stackable/icon",{icon:y,linkHasLink:!1}]]]]],["stackable/column",{templateLock:!1,className:"stk-block-accordion__content",containerPadding:{top:0,right:0,bottom:0,left:0}},[["stackable/text",{text:(0,k._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",b.i18n)}]]]],scope:["block"]},{name:"shadow",description:(0,k.sprintf)((0,k._x)("%s Layout","Block layout name",b.i18n),(0,k.__)("Shadow",b.i18n)),isActive:["className"],pickerTitle:(0,k.__)("Shadow",b.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,v.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13h30v23H9V13zm2 27H9v-2a2 2 0 01-2-2V13a2 2 0 012-2h30c.748 0 1.744.824 1.744 2.02C42 13.02 43 13 43 13v27H11zm22.854-23.854a.5.5 0 00-.708.708l1 1a.5.5 0 00.708 0l1-1a.5.5 0 00-.708-.708l-.646.647-.646-.647zM12 16h15v2H12v-2zm24 5H12v2h24v-2zm-24 5h24v2H12v-2zm24 5H12v2h24v-2z"}))},isPremium:!b.isPro,scope:["block"]},{name:"colored",description:(0,k.sprintf)((0,k._x)("%s Layout","Block layout name",b.i18n),(0,k.__)("Colored",b.i18n)),isActive:["className"],pickerTitle:(0,k.__)("Colored",b.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,v.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 13H9v22h30V13zM9 11a2 2 0 00-2 2v22a2 2 0 002 2h30a2 2 0 002-2V13a2 2 0 00-2-2H9z"}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13h30v22H9V13zm3 13v-3h24v3H12zm24 6v-3H12v3h24zm-3.805-15.78a.616.616 0 01.943 0l.862.97.862-.97a.616.616 0 01.943 0c.26.293.26.767 0 1.06l-1.334 1.5a.616.616 0 01-.942 0l-1.334-1.5a.818.818 0 010-1.06zM24 16H12v3h12v-3z"}))},isPremium:!b.isPro,scope:["block"]},{name:"plus",description:(0,k.sprintf)((0,k._x)("%s Layout","Block layout name",b.i18n),(0,k.__)("Plus",b.i18n)),isActive:["className"],pickerTitle:(0,k.__)("Plus",b.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,v.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5 12h-16v2h16v-2zm3.5 8H9v2h30v-2zM9 25h30v2H9v-2zm30 5H9v2h30v-2zM13 10h-2v2H9v2h2v2h2v-2h2v-2h-2v-2z"}))},isPremium:!b.isPro,scope:["block"]}]);var _=a(3284);const E=C[0].innerBlocks,x=(0,h.dF)((e=>{const{clientId:t,className:a}=e;(0,i.i_)(e.attributes);const[n,r]=(0,l.useState)(!0),{hasInnerBlocks:c}=(0,o.VG)(),[d,g]=(0,l.useState)(!1),h=(0,i.NA)(e.attributes),v=(0,o.WV)();(0,l.useEffect)((()=>{if(!d)return;const e=document.querySelector(`[data-block="${t}"] [data-type="stackable/column"]`),a=e=>{e.target.closest('[data-type="stackable/icon"]')||r(!n)};return null==e||e.addEventListener("click",a),()=>{null==e||e.removeEventListener("click",a)}}),[t,n,r,d]),(0,l.useEffect)((()=>{d&&g(!1)}),[e.className]),d||document.querySelector(`[data-block="${t}"] [data-type="stackable/column"]`)&&g(!0);const f=m()([a,"stk-block-accordion",v,"stk-inner-blocks",h,"stk-block-content"],{"stk--is-open":n});return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(p.zT,null),(0,l.createElement)(i.v2.InspectorControls,null),(0,l.createElement)(i.Q.InspectorControls,null),(0,l.createElement)(i.aE.InspectorControls,null),(0,l.createElement)(i.wx.InspectorControls,null),(0,l.createElement)(i.ZK.InspectorControls,null),(0,l.createElement)(i.mz.InspectorControls,null),(0,l.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-accordion"}),(0,l.createElement)(i.Et.InspectorControls,null),(0,l.createElement)(i.fN.InspectorControls,null),(0,l.createElement)(p.Ib,null,(0,l.createElement)(p.SQ,{title:(0,k.__)("General",b.i18n),id:"general",initialOpen:!0},(0,l.createElement)(p.PQ,{label:(0,k.__)("Open at the start",b.i18n),attribute:"startOpen"}),(0,l.createElement)(p.PQ,{label:(0,k.__)("Close adjacent on open",b.i18n),attribute:"onlyOnePanelOpen",className:"ugb--help-tip-accordion-adjacent-open"}))),(0,l.createElement)(p.Ib,null,(0,l.createElement)(p.t7,null)),(0,l.createElement)(u,{version:b.version}),(0,l.createElement)(i.qy,{mainBlockClass:"stk-block-accordion"}),(0,l.createElement)(i.Q,{className:f,renderHtmlTag:!1,enableVariationPicker:!0},(0,l.createElement)(s.InnerBlocks,{template:E,templateLock:"insert"})),c&&(0,l.createElement)(i.cy,null))}));(0,f.addFilter)("stackable.block-component.icon.after","stackable/blockquote",(e=>{const{clientId:t}=(0,s.useBlockEditContext)(),{getAttribute:a,updateAttributeHandler:n}=(0,o.Mf)();return(0,_.useSelect)((e=>{const{getBlock:a,getBlockParents:n}=e("core/block-editor"),l=n(t),i=(0,g.nth)(l,-1),o=(0,g.nth)(l,-2),r=(0,g.nth)(l,-3);return!!(i&&o&&r)&&"stackable/icon-label"===a(i).name&&"stackable/column"===a(o).name&&"stackable/accordion"===a(r).name&&a(r).innerBlocks[0].clientId===o}),[t])?(0,l.createElement)(l.Fragment,null,e,(0,l.createElement)(p.b_,{label:(0,k.__)("Open Icon",b.i18n),value:a("icon2"),onChange:n("icon2"),help:(0,k.__)("The open icon will appear when the accordion is opened",b.i18n)})):e}));const w=(0,a(3749).compose)((0,h.kY)(b.version))((e=>{const{attributes:t}=e,a=(0,i.NA)(e.attributes),n=(0,i.ul)(e.attributes),o=m()([e.className,"stk-block-accordion",n,"stk-inner-blocks",a,"stk-block-content"],{"stk--is-open":t.startOpen,"stk--single-open":t.onlyOnePanelOpen});return(0,l.createElement)(i.Q.Content,{className:o,attributes:t,open:t.startOpen||void 0},(0,l.createElement)(u.Content,{version:e.version,attributes:t}),(0,l.createElement)(i.qy.Content,{attributes:t}),(0,l.createElement)(s.InnerBlocks.Content,null))})),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.version;const t=new r.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.X2.addAttributes(t),i.v2.addAttributes(t),i.aE.addAttributes(t),i.wx.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),t.add({attributes:{startOpen:{type:"boolean",default:""},onlyOnePanelOpen:{type:"boolean",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{htmlTag:"details"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(b.version),B=JSON.parse('{"name":"stackable/accordion","title":"Accordion","description":"A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Toggle","Faq"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),T=(0,f.applyFilters)("stackable.block.metadata",{...B,icon:n.XE,attributes:S,supports:{anchor:!0},example:{attributes:{uniqueId:"8a219b3",hasBackground:!1,hasBorders:!1,htmlTag:"details",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},startOpen:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/column",attributes:{uniqueId:"77f0868",hasBackground:!1,hasBorders:!1,hasContainer:!0,htmlTag:"summary",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,templateLock:"insert",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"stk--container-small stk-block-accordion__heading",containerBackgroundColor:"#FFFFFF"},innerBlocks:[{name:"stackable/icon-label",attributes:{uniqueId:"ffe2f68",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"352ae36",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!0,show:!0,showText:!0,text:"Title for This Block",textTag:"h4",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/icon",attributes:{uniqueId:"9ad9c69",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="fas" data-icon="chevron-down" class="svg-inline--fa fa-chevron-down fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg>',showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]}]}]},{name:"stackable/column",attributes:{uniqueId:"2912fed",hasBackground:!1,hasBorders:!1,hasContainer:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,templateLock:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"stk-block-accordion__content"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"9610635",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:C,edit:x,save:w})},4363:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>U});var n=a(2610),l=a(8003),i=a(3882),o=a(7462);a(7294);const r=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))};var s=a(910);const c=(0,i.applyFilters)("stackable.blockquote.variations",[{name:"default",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",s.i18n),(0,l.__)("Default",s.i18n)),isDefault:!0,attributes:{className:"is-style-default",hasContainer:!0,contentAlign:"left"},isActive:["className"],pickerTitle:(0,l.__)("Default",s.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 14H9v20h30V14zM9 12a2 2 0 00-2 2v20a2 2 0 002 2h30a2 2 0 002-2V14a2 2 0 00-2-2H9zm11.5 6.622H36v2H20.5v-2zm15.5 4H20.5v2H36v-2zm-15.5 4H36v2H20.5v-2z"}),(0,n.createElement)("path",{d:"M16.493 22c-.6 0-1.035-.21-1.304-.63a2.248 2.248 0 01-.294-.665 3.068 3.068 0 01-.11-.827c0-.624.159-1.187.477-1.69.331-.505.815-.9 1.452-1.188l.165.324a2.523 2.523 0 00-.937.665c-.257.3-.41.606-.46.918a1.673 1.673 0 00-.054.413c0 .12.018.234.055.342.27-.288.625-.432 1.066-.432.428 0 .777.126 1.047.378.27.24.404.575.404 1.007 0 .408-.14.744-.423 1.007-.281.252-.643.378-1.084.378zM12.709 22c-.6 0-1.035-.21-1.305-.63a2.248 2.248 0 01-.294-.665 3.068 3.068 0 01-.11-.827c0-.624.16-1.187.478-1.69.33-.505.814-.9 1.451-1.188l.165.324a2.523 2.523 0 00-.936.665c-.258.3-.41.606-.46.918a1.669 1.669 0 00-.055.413c0 .12.018.234.055.342.27-.288.625-.432 1.066-.432.429 0 .778.126 1.047.378.27.24.404.575.404 1.007 0 .408-.14.744-.422 1.007-.282.252-.643.378-1.084.378z"}))},innerBlocks:[["stackable/icon",{icon:(0,n.renderToString)((0,n.createElement)(r,null)),linkHasLink:!1}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",s.i18n)}]],scope:["block"]},{name:"simple",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",s.i18n),(0,l.__)("Simple",s.i18n)),attributes:{className:"is-style-simple",contentAlign:"left"},isActive:["className"],pickerTitle:(0,l.__)("Simple",s.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.341 30H11v-.002c-1.38-.036-2.387-.581-3.018-1.635-.298-.467-.536-1.044-.714-1.73A8.508 8.508 0 017 24.482c0-1.621.387-3.086 1.16-4.396.803-1.309 1.978-2.338 3.525-3.086l.402.842c-.863.374-1.622.95-2.276 1.73-.625.78-.996 1.574-1.115 2.385-.09.374-.134.732-.134 1.075 0 .312.044.608.134.889.654-.748 1.517-1.122 2.588-1.122 1.04 0 1.888.327 2.543.982.073.07.143.143.208.219h2.168a8.795 8.795 0 01.325-2H11v-2h6.405c.802-1.268 1.959-2.268 3.472-3l.401.842c-.862.374-1.621.95-2.275 1.73-.114.142-.22.285-.317.428H41v2H17.877a4.603 4.603 0 00-.124 1.032c0 .312.045.608.134.889.655-.748 1.517-1.122 2.588-1.122 1.041 0 1.889.327 2.543.982.074.07.143.143.208.219H41v2H23.985c.01.13.015.262.015.4 0 .591-.107 1.125-.32 1.6H41v2H20.341zm-4.02-4h-1.527c.01.13.014.262.014.4 0 .591-.106 1.125-.32 1.6h2.477a6.637 6.637 0 01-.506-1.367c-.054-.208-.1-.42-.137-.633z"}))},innerBlocks:[["stackable/icon",{icon:(0,n.renderToString)((0,n.createElement)(r,null)),opacity:.2,position:"absolute",positionNum:{top:-50,right:"",bottom:"",left:-50},iconSize:200,linkHasLink:!1}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",s.i18n)}]],scope:["block"]},{name:"highlighted",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",s.i18n),(0,l.__)("Highlighted",s.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Highlighted",s.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 19H15v10h12v-2h6v-2h6v-2h-4v-2h5v-2z"}),(0,n.createElement)("path",{d:"M11.924 22c-.429 0-.74-.168-.932-.504a1.908 1.908 0 01-.21-.532 2.731 2.731 0 01-.079-.662c0-.499.114-.95.342-1.352.236-.403.581-.72 1.036-.95l.119.259a1.821 1.821 0 00-.67.532c-.183.24-.293.485-.328.734-.026.115-.04.226-.04.331 0 .096.014.187.04.273a.943.943 0 01.761-.345c.307 0 .556.1.748.302.193.192.289.46.289.806 0 .326-.1.595-.302.806-.201.201-.46.302-.774.302zM9.22 22c-.428 0-.739-.168-.931-.504a1.911 1.911 0 01-.21-.532A2.732 2.732 0 018 20.302c0-.499.114-.95.341-1.352.236-.403.582-.72 1.037-.95l.118.259a1.82 1.82 0 00-.67.532c-.183.24-.292.485-.327.734-.027.115-.04.226-.04.331 0 .096.013.187.04.273a.943.943 0 01.76-.345c.307 0 .556.1.749.302.192.192.289.46.289.806 0 .326-.101.595-.302.806-.201.201-.46.302-.775.302z"}))},isPremium:!s.isPro,scope:["block"]},{name:"huge",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",s.i18n),(0,l.__)("Huge",s.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Huge",s.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 17H14v3h25v-3zm0 6H14v3h25v-3zm-25 6h25v3H14v-3z"}),(0,n.createElement)("path",{d:"M10.709 20c-.515 0-.887-.168-1.118-.504a1.741 1.741 0 01-.252-.532 2.301 2.301 0 01-.095-.662c0-.499.137-.95.41-1.352.283-.403.698-.72 1.244-.95l.141.259a2.168 2.168 0 00-.803.532c-.22.24-.351.485-.393.734a1.253 1.253 0 00-.048.331c0 .096.016.187.048.273.23-.23.535-.345.913-.345.367 0 .667.1.897.302.231.192.347.46.347.806 0 .326-.12.595-.362.806-.242.201-.551.302-.93.302zM7.465 20c-.515 0-.888-.168-1.119-.504a1.741 1.741 0 01-.252-.532A2.301 2.301 0 016 18.302c0-.499.136-.95.41-1.352.283-.403.698-.72 1.244-.95l.141.259a2.168 2.168 0 00-.803.532c-.22.24-.352.485-.394.734a1.253 1.253 0 00-.047.331c0 .096.016.187.047.273.231-.23.536-.345.914-.345.367 0 .666.1.897.302.231.192.347.46.347.806 0 .326-.12.595-.362.806-.242.201-.551.302-.93.302z"}))},isPremium:!s.isPro,scope:["block"]},{name:"centered-quote",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",s.i18n),(0,l.__)("Centered Quote",s.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Centered Quote",s.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.37 29.237C26.102 30.413 27.282 31 28.91 31c1.198 0 2.178-.352 2.943-1.058a3.71 3.71 0 00.713-.942H39v-2h-6.001c-.017-.783-.191-1.45-.524-2H39v-2H26.047c.025-.215.065-.436.121-.662.069-.45.213-.896.432-1.338H39v-2H28.189a6.641 6.641 0 011.769-1.093L29.509 17c-1.146.534-2.109 1.2-2.89 2h-8.703a6.642 6.642 0 011.769-1.093L19.236 17c-1.145.534-2.109 1.2-2.89 2H9v2h5.922a8.614 8.614 0 00-.705 2H9v2h5v.058c0 .67.07 1.318.207 1.942H9v2h5.95c.048.082.097.161.147.237C15.83 30.413 17.01 31 18.637 31c1.198 0 2.178-.352 2.943-1.058.294-.284.532-.598.713-.942h2.93c.048.082.097.161.147.237zM24.48 27a8.96 8.96 0 01-.207-1.942V25h-2.07c.332.55.506 1.217.523 2h1.754zm-8.706-4h8.716a8.618 8.618 0 01.705-2h-8.868a4.54 4.54 0 00-.432 1.338 5.209 5.209 0 00-.12.662z"}))},isPremium:!s.isPro,scope:["block"]}]),u=JSON.parse('{"name":"stackable/blockquote","title":"Blockquote","description":"Display a quote in style","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var d=a(2285),m=a(6869),b=a(4678),g=a(78);const p={sizeSelector:".stk-block-blockquote__content",sizeVerticalAlignRule:"alignItems",sizeHorizontalAlignRule:"margin"},h=e=>{const{...t}=e,a=(0,m.hU)(),{clientId:l}=(0,g.useBlockEditContext)(),i=(0,m.kX)(l);return t.blockUniqueClassName=(0,b.tJ)(i.uniqueId),t.deviceType=a,t.attributes={...i,clientId:l},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(d.v2.Style,t),(0,n.createElement)(d.Q.Style,t),(0,n.createElement)(d.aE.Style,t),(0,n.createElement)(d.wx.Style,t),(0,n.createElement)(d.ZK.Style,t),(0,n.createElement)(d.e4.Style,(0,o.Z)({},t,{options:p})),(0,n.createElement)(d.cy.Style,t))};h.defaultProps={isEditor:!1},(h.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,b.tJ)(e.attributes.uniqueId);const a=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(d.v2.Style.Content,t),(0,n.createElement)(d.Q.Style.Content,t),(0,n.createElement)(d.aE.Style.Content,t),(0,n.createElement)(d.wx.Style.Content,t),(0,n.createElement)(d.ZK.Style.Content,t),(0,n.createElement)(d.e4.Style.Content,(0,o.Z)({},t,{options:p})),(0,n.createElement)(d.cy.Style.Content,t));return(0,n.renderToString)(a)?(0,n.createElement)("style",null,a):null}).defaultProps={attributes:{}};const v=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},k=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},f=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},y=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},C=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},_=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.createElement)("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}))},x=function(e){return(0,n.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},w={"round-thin":{icon:(0,n.createElement)(r,null),title:(0,l.__)("Round Thin",s.i18n),value:(0,n.renderToString)((0,n.createElement)(r,null))},round:{icon:(0,n.createElement)(k,null),title:(0,l.__)("Round",s.i18n),value:(0,n.renderToString)((0,n.createElement)(k,null))},"round-thick":{icon:(0,n.createElement)(f,null),title:(0,l.__)("Round Thick",s.i18n),value:(0,n.renderToString)((0,n.createElement)(f,null))},"round-fat":{icon:(0,n.createElement)(v,null),title:(0,l.__)("Round Fat",s.i18n),value:(0,n.renderToString)((0,n.createElement)(v,null))},"square-thin":{icon:(0,n.createElement)(x,null),title:(0,l.__)("Square Thin",s.i18n),value:(0,n.renderToString)((0,n.createElement)(x,null))},square:{icon:(0,n.createElement)(_,null),title:(0,l.__)("Square",s.i18n),value:(0,n.renderToString)((0,n.createElement)(_,null))},"square-simple":{icon:(0,n.createElement)(E,null),title:(0,l.__)("Square Simple",s.i18n),value:(0,n.renderToString)((0,n.createElement)(E,null))},"square-modern":{icon:(0,n.createElement)(C,null),title:(0,l.__)("Square Modern",s.i18n),value:(0,n.renderToString)((0,n.createElement)(C,null))},"square-fat":{icon:(0,n.createElement)(y,null),title:(0,l.__)("Square Fat",s.i18n),value:(0,n.renderToString)((0,n.createElement)(y,null))}};var S=a(4184),B=a.n(S),T=a(3233),A=a(1951);(0,n.renderToString)((0,n.createElement)(r,null));const z=c[0].innerBlocks,N=(0,A.dF)((e=>{const{className:t}=e;(0,d.i_)(e.attributes);const a=(0,d.NA)(e.attributes),l=(0,m.WV)(),{hasInnerBlocks:i}=(0,m.VG)(),o=B()([t,"stk-block-blockquote",l]),r=B()(["stk-block-content","stk-inner-blocks",a,"stk-block-blockquote__content"]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(T.zT,null),(0,n.createElement)(d.v2.InspectorControls,null),(0,n.createElement)(d.Q.InspectorControls,null),(0,n.createElement)(d.aE.InspectorControls,null),(0,n.createElement)(d.wx.InspectorControls,null),(0,n.createElement)(d.ZK.InspectorControls,null),(0,n.createElement)(d.mz.InspectorControls,null),(0,n.createElement)(d.qy.InspectorControls,{mainBlockClass:"stk-block-blockquote"}),(0,n.createElement)(d.Et.InspectorControls,null),(0,n.createElement)(d.fN.InspectorControls,null),(0,n.createElement)(d.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,n.createElement)(T.Ib,null,(0,n.createElement)(T.t7,null)),(0,n.createElement)(d.Q,{className:o,enableVariationPicker:!0},(0,n.createElement)(h,{version:s.version}),(0,n.createElement)(d.qy,{mainBlockClass:"stk-block-blockquote"}),(0,n.createElement)(d.e4,{className:r},(0,n.createElement)(g.InnerBlocks,{template:z,templateLock:"all"}))),i&&(0,n.createElement)(d.cy,null))}));(0,i.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/blockquote",((e,t)=>"stackable/blockquote"!==(null==t?void 0:t.name)&&e)),(0,i.addFilter)("stackable.block-component.icon.after","stackable/blockquote",(e=>{const{parentBlock:t}=(0,m.VG)();return"stackable/blockquote"===(null==t?void 0:t.name)?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(T.iB,{label:(0,l.__)("Quotation Mark Icons",s.i18n),multiline:!0,controls:Object.values(w),attribute:"icon",default:w["round-thin"].value})):e})),(0,i.addFilter)("stackable.block-component.icon.label","stackable/blockquote",(e=>{const{parentBlock:t}=(0,m.VG)();return"stackable/blockquote"===(null==t?void 0:t.name)?(0,l.__)("Pick another icon",s.i18n):e}));const M=(0,a(3749).compose)((0,A.kY)(s.version))((e=>{const{attributes:t,className:a}=e,l=(0,d.NA)(t),i=(0,d.ul)(t),o=B()([a,"stk-block-blockquote",i]),r=B()([l,"stk-block-blockquote__content"]),s=B()(["stk-block-content","stk-inner-blocks"]);return(0,n.createElement)(d.Q.Content,{className:o,attributes:t},(0,n.createElement)(h.Content,{version:e.version,attributes:t}),(0,n.createElement)(d.qy.Content,{attributes:t}),(0,n.createElement)(d.e4.Content,{className:r,attributes:t},(0,n.createElement)("div",{className:s},(0,n.createElement)(g.InnerBlocks.Content,null))))})),I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.version;const t=new b.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.cy.addAttributes(t),d.e4.addAttributes(t),d.v2.addAttributes(t),d.aE.addAttributes(t),d.wx.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.fN.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),t.addDefaultValues({attributes:{htmlTag:"blockquote"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(s.version);var H=a(4597);const U=(0,i.applyFilters)("stackable.block.metadata",{...u,icon:H.kn,attributes:I,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"7da7c6b",hasBackground:!1,hasBorders:!1,hasContainer:!0,htmlTag:"blockquote",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon",attributes:{uniqueId:"d5fad12",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 50 50"><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"></path></svg>',showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"9f7bc33",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},fontStyle:"italic",fontWeight:"300",hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},variations:c,edit:N,save:M})},2038:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>T});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(6869),s=a(4678),c=a(3233),u=a(78);const d={selector:".block-editor-block-list__layout"},m={selector:".stk-inner-blocks"},b=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:n}=(0,u.useBlockEditContext)(),m=(0,r.kX)(n);t.blockUniqueClassName=(0,s.tJ)(m.uniqueId),t.deviceType=a,t.attributes={...m,clientId:n};const b=(0,s.yK)(m,[{renderIn:"save",selector:".stk-button-group",styleRule:"flexWrap",attrName:"flexWrap",responsive:"all"},{renderIn:"edit",selector:".stk-button-group .block-editor-block-list__layout",styleRule:"flexWrap",attrName:"flexWrap",responsive:"all"},{renderIn:"save",selector:".stk-button-group",styleRule:"flexDirection",attrName:"collapseOn",responsive:"all",valuePreCallback:(e,t,a)=>a===t("collapseOn")?"column":void 0},{renderIn:"edit",selector:".stk-button-group .block-editor-block-list__layout",styleRule:"flexDirection",attrName:"collapseOn",responsive:"all",valuePreCallback:(e,t,a)=>a===t("collapseOn")?"column":void 0}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.cy.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(o.SX,(0,i.Z)({},t,{options:d})),(0,l.createElement)(c.bg,(0,i.Z)({styles:b,versionAdded:"3.0.0",versionDeprecated:""},t)))};b.defaultProps={isEditor:!1},(b.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,s.tJ)(e.attributes.uniqueId);const a=(0,s.Wi)(t.attributes,[{renderIn:"save",selector:".stk-button-group",styleRule:"flexWrap",attrName:"flexWrap",responsive:"all"},{renderIn:"edit",selector:".stk-button-group .block-editor-block-list__layout",styleRule:"flexWrap",attrName:"flexWrap",responsive:"all"},{renderIn:"save",selector:".stk-button-group",styleRule:"flexDirection",attrName:"collapseOn",responsive:"all",valuePreCallback:(e,t,a)=>a===t("collapseOn")?"column":void 0},{renderIn:"edit",selector:".stk-button-group .block-editor-block-list__layout",styleRule:"flexDirection",attrName:"collapseOn",responsive:"all",valuePreCallback:(e,t,a)=>a===t("collapseOn")?"column":void 0}]),n=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.cy.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.SX.Content,(0,i.Z)({},t,{options:m})),(0,l.createElement)(c.bg.Content,(0,i.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(n)?(0,l.createElement)("style",null,n):null}).defaultProps={attributes:{}};var g=a(910),p=a(4184),h=a.n(p),v=a(1951),k=a(8003);const f=["stackable/button","stackable/icon-button"],y=[["stackable/button"]],C=(0,v.dF)((e=>{const{className:t,attributes:a}=e;(0,o.i_)(e.attributes);const{collapseOn:n=""}=a,i=(0,o.pc)(a),s=(0,o.NA)(a),d=(0,r.WV)(),{hasInnerBlocks:m}=(0,r.VG)(),p=h()([t,"stk-block-button-group",i,d]),v=h()(["stk-inner-blocks",s,"stk-block-content","stk-button-group",{[`stk--collapse-on-${n}`]:n}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(c.Ib,null,(0,l.createElement)(c.SQ,{title:(0,k.__)("General",g.i18n),id:"general",initialOpen:!0},(0,l.createElement)(o.fn,null),(0,l.createElement)(c.qD,{label:(0,k.__)("Flex Wrap"),attribute:"flexWrap",options:[{label:(0,k.__)("No Wrap",g.i18n),value:""},{label:(0,k.__)("Wrap",g.i18n),value:"wrap"},{label:(0,k.__)("Wrap Reverse",g.i18n),value:"wrap-reverse"}],responsive:"all"}),(0,l.createElement)(c.qD,{label:(0,k.__)("Collapse Buttons On",g.i18n),attribute:"collapseOn",options:[{label:(0,k.__)("Don't collapse",g.i18n),value:""},{label:(0,k.__)("Desktop",g.i18n),value:"desktop"},{label:(0,k.__)("Tablet",g.i18n),value:"tablet"},{label:(0,k.__)("Mobile",g.i18n),value:"mobile"}]}))),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-button-group"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(o.Q,{className:p},(0,l.createElement)(b,{version:g.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-button-group"}),!m&&(0,l.createElement)(c.Ih,null),(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:v},(0,l.createElement)(u.InnerBlocks,{orientation:"horizontal",allowedBlocks:f,template:y,templateInsertUpdatesSelection:!0})))),m&&(0,l.createElement)(o.cy,null))})),_=(0,v.kY)(g.version)((e=>{const{attributes:t}=e,{collapseOn:a=""}=t,n=(0,o.pc)(e.attributes),i=(0,o.NA)(e.attributes),r=(0,o.ul)(e.attributes),s=h()([e.className,"stk-block-button-group",r]),c=h()([n,"stk-inner-blocks",i,"stk-block-content","stk-button-group",{[`stk--collapse-on-${a}`]:a}]);return(0,l.createElement)(o.Q.Content,{className:s,attributes:t},(0,l.createElement)(b.Content,{version:e.version,attributes:t}),(0,l.createElement)(o.qy.Content,{attributes:t}),(0,l.createElement)("div",{className:c},(0,l.createElement)(u.InnerBlocks.Content,null)))})),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.version;const t=new s.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.cy.addAttributes(t),o.X2.addAttributes(t),o.v2.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),t.add({attributes:{collapseOn:{type:"string",default:""},flexWrap:{type:"string",stkResponsive:!0,default:""}},versionAdded:"3.0.0",versionDeprecated:""}),(0,o.c4)(t),t.getMerged(e)}(g.version),x=JSON.parse('{"name":"stackable/button-group","title":"Button Group","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}'),w={attributes:{uniqueId:"6b587de",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"824bdf0",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button Text",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button",attributes:{uniqueId:"99649b5",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",buttonBorderType:"solid",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button Text",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-ghost"},innerBlocks:[]},{name:"stackable/button",attributes:{uniqueId:"baa8a30",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button Text",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-plain"},innerBlocks:[]}]},S=[{name:"button",title:(0,k.__)("Button",g.i18n),"stk-type":"essential","stk-demo":"https://wpstackable.com/button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink",isDefault:!0,example:w},{name:"icon-button",title:(0,k.__)("Icon Button",g.i18n),"stk-type":"essential",innerBlocks:[["stackable/icon-button",{}]],example:{attributes:{uniqueId:"8dde419",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon-button",attributes:{uniqueId:"36bfca0",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"f6ceb36",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",buttonBorderType:"solid",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-ghost"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"782fec3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",className:"is-style-pill"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"1c03190",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-plain"},innerBlocks:[]}]}},{name:"social-buttons",title:(0,k.__)("Social Buttons",g.i18n),"stk-type":"special",scope:["inserter"],example:{name:"stackable/button-group",attributes:{uniqueId:"e3d2560",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon-button",attributes:{uniqueId:"2c536c7",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#3b5998",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="facebook-square" class="svg-inline--fa fa-facebook-square fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"8e6e6c3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#00acee",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"408d1e9",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#c13584",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"bde83ec",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#c4302b",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"f1cc6a3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#0e76a8",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]}]},innerBlocks:[["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="facebook-square" class="svg-inline--fa fa-facebook-square fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"></path></svg>',buttonBackgroundColor:"#3b5998"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-hidden="true"><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>',buttonBackgroundColor:"#00acee"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',buttonBackgroundColor:"#c13584"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><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>',buttonBackgroundColor:"#c4302b"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',buttonBackgroundColor:"#0e76a8"}]]}];var B=a(3882);S.find((e=>"social-buttons"===e.name)).icon=n.Lq,S.find((e=>"icon-button"===e.name)).icon=n.s7;const T=(0,B.applyFilters)("stackable.block.metadata",{...x,icon:n.kS,attributes:E,supports:{anchor:!0,align:["center","wide","full"],stkLayoutReset:!1},variations:S,example:w,edit:C,save:_})},6762:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>T});var n=a(2610),l=a(4184),i=a.n(l),o=a(910),r=a(3233),s=a(2285),c=a(6869),u=a(1951),d=a(8003),m=a(378),b=a(78),g=a(7462),p=a(4678);const h={selector:".stk-button"},v={selector:".stk-button__inner-text",hoverSelector:".stk-button:hover .stk-button__inner-text"},k=e=>{const{...t}=e,a=(0,c.hU)(),{clientId:l}=(0,b.useBlockEditContext)(),i=(0,c.kX)(l);return t.blockUniqueClassName=(0,p.tJ)(i.uniqueId),t.deviceType=a,t.attributes={...i,clientId:l},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.Q.Style,t),(0,n.createElement)(s.aE.Style,t),(0,n.createElement)(s.wx.Style,t),(0,n.createElement)(s.zx.Style,(0,g.Z)({},t,{options:h})),(0,n.createElement)(s.ZT.Style,(0,g.Z)({},t,{options:v})),(0,n.createElement)(s.ZK.Style,t))};k.defaultProps={isEditor:!1,attributes:{},options:{}},(k.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,p.tJ)(t.attributes.uniqueId);const a=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.Q.Style.Content,t),(0,n.createElement)(s.aE.Style.Content,t),(0,n.createElement)(s.wx.Style.Content,t),(0,n.createElement)(s.zx.Style.Content,(0,g.Z)({},t,{options:h})),(0,n.createElement)(s.ZT.Style.Content,(0,g.Z)({},t,{options:v})),(0,n.createElement)(s.ZK.Style.Content,t));return(0,n.renderToString)(a)?(0,n.createElement)("style",null,a):null}).defaultProps={attributes:{},options:{}},a(7294);const f=["normal","hover","parent-hover"],y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return(0,p.UX)(e,"Desktop",t)},C=[{name:"default",label:(0,d.__)("Default",o.i18n),isDefault:!0,icon:function(e){return(0,n.createElement)("svg",(0,g.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M5 31V17h38v14H5zm12-8h20v2H17v-2zm-4 0h-2v2h2v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[y(t,a)]};let a={buttonBorderType:""};return f.forEach((e=>{a={...a,[y("buttonBackgroundColor",e)]:"transparent"!==t("buttonBackgroundColor",e)?t("buttonBackgroundColor",e):t("textColor1",e),[y("textColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?void 0:t("buttonBackgroundColor",e)}})),a}},{name:"ghost",label:(0,d.__)("Ghost",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,g.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M41 19H7v10h34V19zm2-2H5v14h38V17zm-26 6h20v2H17v-2zm-4 0h-2v2h2v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[y(t,a)]};let a={buttonBackgroundColorType:"",buttonBorderType:"solid"};return f.forEach((e=>{a={...a,[y("buttonBorderColor",e)]:"transparent"===t("buttonBackgroundColor",e)?t("textColor1",e):t("buttonBackgroundColor",e),[y("buttonBackgroundColor",e)]:"transparent",[y("textColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("buttonBorderColor",e)||t("textColor1",e):t("buttonBackgroundColor",e),[y("iconColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("buttonBorderType",e)?t("buttonBorderColor",e):t("iconColor1",e):t("buttonBackgroundColor",e)}})),a}},{name:"plain",label:(0,d.__)("Plain",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,g.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M13 23h-2v2h2v-2zm24 0H17v2h20v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[y(t,a)]};let a={buttonBackgroundColorType:"",buttonBorderType:""};return f.forEach((e=>{a={...a,[y("iconColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("iconColor1",e):t("buttonBackgroundColor",e),[y("textColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("textColor1",e):t("buttonBackgroundColor",e),[y("buttonBackgroundColor",e)]:"transparent"}})),a}},{name:"link",label:(0,d.__)("Link",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,g.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M34 20H14v2h20v-2zm-20 7h20v-1H14v1z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:()=>{let e={buttonBackgroundColorType:"",buttonBorderType:""};return f.forEach((t=>{e={...e,[y("buttonBackgroundColor",t)]:"",[y("buttonBorderType",t)]:"",[y("iconColor1",t)]:"",[y("textColor1",t)]:"",[y("buttonBackgroundColor",t)]:""}})),e}}],_=(0,u.dF)((e=>{const{className:t,onReplace:a,attributes:l}=e;(0,s.i_)(e.attributes);const{buttonFullWidth:u}=l,g=(0,b.useBlockProps)({style:{width:u?"100%":void 0}})||{},p=(0,s.Qz)(e.attributes),h=s.mz.getCustomAttributes(e.attributes),v=(0,c.WV)(),f=(0,c.Sg)(C),y=i()([t,"stk-block-button",v,{[`is-style-${f}`]:f}]),_=i()([p,"stk-button__inner-text"]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(r.zT,null),(0,n.createElement)(s.Q.InspectorControls,null),(0,n.createElement)(s.QW.InspectorControls,{styles:C},(0,n.createElement)(s.zx.InspectorControls.HoverEffects,null)),(0,n.createElement)(s.zx.InspectorControls,{borderSelector:".stk-button",hasFullWidth:!0}),(0,n.createElement)(s.ZT.InspectorControls,{hasTextTag:!1,initialOpen:!1,hasColor:!1}),(0,n.createElement)(s.aE.InspectorControls,null),(0,n.createElement)(s.wx.InspectorControls,null),(0,n.createElement)(s.ZK.InspectorControls,null),(0,n.createElement)(s.mz.InspectorControls,null),(0,n.createElement)(s.qy.InspectorControls,{mainBlockClass:"stk-block-button"}),(0,n.createElement)(s.Et.InspectorControls,null),(0,n.createElement)(s.fN.InspectorControls,null),(0,n.createElement)("div",g,(0,n.createElement)(k,{version:o.version}),(0,n.createElement)(s.qy,{mainBlockClass:"stk-block-button"}),(0,n.createElement)(s.Q,{className:y,applyAdvancedAttributes:!1,applyCustomAttributes:!1},(0,n.createElement)(s.zx,{buttonProps:{tagName:e.attributes.linkTag,id:e.attributes.anchor||void 0,...h}},(0,n.createElement)(s.ZT,{tagName:"span",className:_,placeholder:(0,d.__)("Button text",o.i18n),withoutInteractiveFormatting:!0,onReplace:a,onSplit:t=>(0,m.createBlock)("stackable/button",{...e.attributes,text:t})})))))})),E=(0,a(3749).compose)((0,u.kY)(o.version))((e=>{const{className:t,...a}=e,l=(0,s.ul)(e.attributes),o=s.mz.getCustomAttributes(e.attributes),r=(0,s.Qz)(e.attributes),c=i()([t,"stk-block-button",l]),u=i()([r,"stk-button__inner-text"]);return(0,n.createElement)(s.Q.Content,(0,g.Z)({},b.useBlockProps.save({className:c}),{attributes:e.attributes,applyAdvancedAttributes:!1,applyCustomAttributes:!1}),(0,n.createElement)(k.Content,a),(0,n.createElement)(s.qy.Content,{attributes:e.attributes}),(0,n.createElement)(s.zx.Content,(0,g.Z)({},a,{attributes:e.attributes,buttonProps:{id:e.attributes.anchor||void 0,...o}}),(0,n.createElement)(s.ZT.Content,{attributes:e.attributes,tagName:"span",className:u})))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.version;const t=new p.DC;return s.Q.addAttributes(t),s.bg.addAttributes(t),s.ZK.addAttributes(t),s.mz.addAttributes(t),s.qy.addAttributes(t),s.Et.addAttributes(t),s.fN.addAttributes(t),s.aE.addAttributes(t),s.wx.addAttributes(t),s.zx.addAttributes(t,{selector:".stk-button"}),s.ZT.addAttributes(t,".stk-button__inner-text",{hasTextTag:!1,hasColor:!1}),t.getMerged(e)}(o.version),w=JSON.parse('{"apiVersion":2,"name":"stackable/button","title":"Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}'),S={from:[{type:"block",isMultiblock:!1,blocks:["stackable/icon-button"],transform:e=>(0,m.createBlock)("stackable/button",e)}]};var B=a(4597);const T=(0,a(3882).applyFilters)("stackable.block.metadata",{...w,icon:B.Ei,attributes:x,supports:{anchor:!0},transforms:S,edit:_,save:E})},394:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>S});var n=a(910),l=a(8003),i=a(3882),o=a(7462),r=a(2610);a(7294);const s=(0,i.applyFilters)("stackable.call-to-action.variations",[{name:"default",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Default",n.i18n)),isDefault:!0,attributes:{className:"is-style-default",hasContainer:!0},isActive:["className"],pickerTitle:(0,l.__)("Default",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 15h30v19H9V15zm-2 0a2 2 0 012-2h30a2 2 0 012 2v19a2 2 0 01-2 2H9a2 2 0 01-2-2V15zm28.5 3H13v2h22.5v-2zM13 23h22.5v2H13v-2zm16 5H19v3h10v-3z"}))},innerBlocks:[["stackable/heading",{text:(0,l._x)("Title for This Block","Heading placeholder",n.i18n),textTag:"h3"}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/button-group",{},[["stackable/button",{text:"Button"}]]]],scope:["block"]},{name:"horizontal",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal",n.i18n)),attributes:{className:"is-style-horizontal",hasContainer:!0,innerBlockOrientation:"horizontal",innerBlockContentAlign:"alignwide",innerBlockVerticalAlign:"center",align:"wide"},isActive:["className"],pickerTitle:(0,l.__)("Horizontal",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 15H6v19h36V15zM6 13a2 2 0 00-2 2v19a2 2 0 002 2h36a2 2 0 002-2V15a2 2 0 00-2-2H6zm3 10.5h9v2H9v-2zM21 21h9v2h-9v-2zm9 5h-9v2h9v-2zm9-3h-6v3h6v-3z"}))},innerBlocks:[["stackable/heading",{text:(0,l._x)("Title for This Block","Heading placeholder",n.i18n),textTag:"h3"}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/button-group",{},[["stackable/button",{text:"Button"}]]]],scope:["block"]},{name:"horizontal-2",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal 2",n.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Horizontal 2",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 15H6v19h36V15zM6 13a2 2 0 00-2 2v19a2 2 0 002 2h36a2 2 0 002-2V15a2 2 0 00-2-2H6zm3 5h9v2H9v-2zm20 5H9v2h20v-2zM9 28h20v2H9v-2zm30-10h-6v3h6v-3z"}))},isPremium:!n.isPro,scope:["block"]},{name:"horizontal-3",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal 3",n.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Horizontal 3",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 15H6v19h36V15zM6 13a2 2 0 00-2 2v19a2 2 0 002 2h36a2 2 0 002-2V15a2 2 0 00-2-2H6zm3 5h9v2H9v-2zm30 0H21v2h18v-2zm-18 5h18v2H21v-2zm18 5h-6v3h6v-3z"}))},isPremium:!n.isPro,scope:["block"]},{name:"split-centered",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Split Centered",n.i18n)),isActive:["className"],pickerTitle:(0,l.__)("Split Centered",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 15H6v19h36V15zM6 13a2 2 0 00-2 2v19a2 2 0 002 2h36a2 2 0 002-2V15a2 2 0 00-2-2H6zm3 5h9v2H9v-2zm30 0H21v2h18v-2zm-18 5h18v2H21v-2zm6 5h-6v3h6v-3z"}))},isPremium:!n.isPro,scope:["block"]}]),c=JSON.parse('{"name":"stackable/call-to-action","title":"Call to Action","description":"A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["CTA"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g={sizeSelector:".stk-block-call-to-action__content",sizeHorizontalAlignRule:"margin"},p=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);return t.blockUniqueClassName=(0,m.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style,t),(0,r.createElement)(u.Q.Style,t),(0,r.createElement)(u.aE.Style,t),(0,r.createElement)(u.wx.Style,t),(0,r.createElement)(u.ZK.Style,t),(0,r.createElement)(u.e4.Style,(0,o.Z)({},t,{options:g})),(0,r.createElement)(u.cy.Style,t),(0,r.createElement)(u.Z0.Style,t),(0,r.createElement)(u.hK.Style,t))};p.defaultProps={isEditor:!1},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style.Content,t),(0,r.createElement)(u.Q.Style.Content,t),(0,r.createElement)(u.aE.Style.Content,t),(0,r.createElement)(u.wx.Style.Content,t),(0,r.createElement)(u.ZK.Style.Content,t),(0,r.createElement)(u.e4.Style.Content,(0,o.Z)({},t,{options:g})),(0,r.createElement)(u.cy.Style.Content,t),(0,r.createElement)(u.Z0.Style.Content,t),(0,r.createElement)(u.hK.Style.Content,t));return(0,r.renderToString)(a)?(0,r.createElement)("style",null,a):null}).defaultProps={attributes:{}};var h=a(8085),v=a(4184),k=a.n(v),f=a(3233),y=a(1951);const C=s[0].innerBlocks,_=(0,y.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:l}=(0,d.VG)(),i=(0,u.NA)(e.attributes),o=(0,u.HI)(e.attributes),s=(0,d.WV)(),c=k()([t,"stk-block-call-to-action",s,o]),m=k()(["stk-block-content","stk-inner-blocks",i,"stk-block-call-to-action__content"],(0,u.h5)(e.attributes)),g=(0,r.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,h.last)(l))||void 0===e?void 0:e.name)?()=>(0,r.createElement)(r.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[a,l]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(f.zT,null),(0,r.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,r.createElement)(u.Q.InspectorControls,null),(0,r.createElement)(u.aE.InspectorControls,null),(0,r.createElement)(u.wx.InspectorControls,null),(0,r.createElement)(u.Z0.InspectorControls,null),(0,r.createElement)(u.yG.InspectorControls,null),(0,r.createElement)(u.ZK.InspectorControls,null),(0,r.createElement)(u.mz.InspectorControls,null),(0,r.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-call-to-action"}),(0,r.createElement)(u.Et.InspectorControls,null),(0,r.createElement)(u.fN.InspectorControls,null),(0,r.createElement)(u.hK.InspectorControls,null),(0,r.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,r.createElement)(f.Ib,null,(0,r.createElement)(f.t7,null)),(0,r.createElement)(u.Q,{className:c,enableVariationPicker:!0},(0,r.createElement)(p,{version:n.version}),(0,r.createElement)(u.qy,{mainBlockClass:"stk-block-call-to-action"}),(0,r.createElement)(u.Z0,null,(0,r.createElement)(u.e4,{className:m},(0,r.createElement)(b.InnerBlocks,{template:C,templateLock:!1,renderAppender:g})))),a&&(0,r.createElement)(u.cy,null))})),E=(0,a(3749).compose)((0,y.kY)(n.version))((e=>{const{attributes:t,className:a}=e,n=(0,u.NA)(t),l=(0,u.HI)(t),i=(0,u.ul)(t),o=k()([a,"stk-block-call-to-action",i,l]),s=k()(["stk-block-call-to-action__content"],(0,u.gd)(t)),c=k()([n,"stk-block-content","stk-inner-blocks"]);return(0,r.createElement)(u.Q.Content,{className:o,attributes:t},(0,r.createElement)(p.Content,{version:e.version,attributes:t}),(0,r.createElement)(u.qy.Content,{attributes:t}),(0,r.createElement)(u.Z0.Content,{attributes:t},(0,r.createElement)(u.e4.Content,{className:s,attributes:t},(0,r.createElement)("div",{className:c},(0,r.createElement)(b.InnerBlocks.Content,null)),(0,r.createElement)(u.yG.Content,{attributes:t}))))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.cy.addAttributes(t),u.e4.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.fN.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.yG.addAttributes(t),u.Z0.addAttributes(t),u.hK.addAttributes(t),t.addDefaultValues({attributes:{hasContainer:!0,contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(n.version);var w=a(4597);const S=(0,i.applyFilters)("stackable.block.metadata",{...c,icon:w._M,attributes:x,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"e1cf244",hasBackground:!1,hasBorders:!1,hasContainer:!0,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"0482a4d",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"3d22629",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"e1e1c84",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"852fde3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:s,edit:_,save:E})},462:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>H});var n=a(4597),l=a(7462),i=a(2610);a(7294);var o=a(910),r=a(8003),s=a(3882);const c=(0,s.applyFilters)("stackable.card.variations",[{name:"default",isDefault:!0,description:(0,r.sprintf)((0,r._x)("%s Layout","Block layout name",o.i18n),(0,r.__)("Default",o.i18n)),attributes:{className:"is-style-default",hasContainer:!0},isActive:["className"],pickerTitle:(0,r.__)("Default",o.i18n),pickerIcon:function(e){return(0,i.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 40V21H9v19h30zM9 7a2 2 0 00-2 2v31a2 2 0 002 2h30a2 2 0 002-2V9a2 2 0 00-2-2H9zm2.5 17h22v2h-22v-2zM21 34h-9.5v3H21v-3zm-9.5-5h24v2h-24v-2z"}))},innerBlocks:[["stackable/heading",{}],["stackable/subtitle",{text:(0,r._x)("Subtitle for This Block","Subtitle placeholder",o.i18n)}],["stackable/text",{text:(0,r._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",o.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,r._x)("Button","Button placeholder",o.i18n)}]]]],scope:["block"]},{name:"default-2",isDefault:!0,description:(0,r.sprintf)((0,r._x)("%s Layout","Block layout name",o.i18n),(0,r.__)("Default 2",o.i18n)),attributes:{className:"is-style-default-2",hasContainer:!0},isActive:["className"],pickerTitle:(0,r.__)("Default 2",o.i18n),pickerIcon:function(e){return(0,i.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 40V21H9v19h30zM9 7a2 2 0 00-2 2v31a2 2 0 002 2h30a2 2 0 002-2V9a2 2 0 00-2-2H9zm3 17h15v2H12v-2zm8 10h-8v3h8v-3zm7 0h3v3h-3v-3zm8 0h-3v3h3v-3zm-23-5h19v2H12v-2z"}))},innerBlocks:[["stackable/heading",{}],["stackable/text",{text:(0,r._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",o.i18n)}],["stackable/columns",{rowAlign:"center",innerBlockContentAlign:"alignfull",align:"full"},[["stackable/column",{columnSpacing:{top:0,right:0,bottom:0,left:0}},[["stackable/button-group",{},[["stackable/button",{text:(0,r._x)("Button","Button placeholder",o.i18n)}]]]]],["stackable/column",{columnSpacing:{top:0,right:0,bottom:0,left:0}},[["stackable/button-group",{columnSpacing:{top:0,right:0,bottom:0,left:0},contentAlign:"right"},[["stackable/icon-button",{buttonBackgroundColor:"transparent",icon:'<svg data-prefix="fas" data-icon="share-alt" class="svg-inline--fa fa-share-alt fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"></path></svg>',iconColor1:"#D3D3D3",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-plain"}],["stackable/icon-button",{buttonBackgroundColor:"transparent",icon:'<svg 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>',iconColor1:"#D3D3D3",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-plain"}]]]]]]]],scope:["block"]},{name:"horizontal",description:(0,r.sprintf)((0,r._x)("%s Layout","Block layout name",o.i18n),(0,r.__)("Horizontal",o.i18n)),pickerTitle:(0,r.__)("Horizontal",o.i18n),pickerIcon:function(e){return(0,i.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43 14H18v21h25V14zM6 12a2 2 0 00-2 2v21a2 2 0 002 2h37a2 2 0 002-2V14a2 2 0 00-2-2H6zm15.5 6h15v2h-15v-2zM28 28h-6.5v3H28v-3zm-6.5-5h17v2h-17v-2z"}))},isActive:["className"],isPremium:!o.isPro,scope:["block"]},{name:"full",description:(0,r.sprintf)((0,r._x)("%s Layout","Block layout name",o.i18n),(0,r.__)("Full",o.i18n)),pickerTitle:(0,r.__)("Full",o.i18n),pickerIcon:function(e){return(0,i.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12a2 2 0 00-2 2v21a2 2 0 002 2h37a2 2 0 002-2V14a2 2 0 00-2-2H6zm33 5.5H7V20h32v-2.5zm-32 11h13V32H7v-3.5zM42 23H7v2.5h35V23z"}))},isActive:["className"],isPremium:!o.isPro,scope:["block"]},{name:"faded",description:(0,r.sprintf)((0,r._x)("%s Layout","Block layout name",o.i18n),(0,r.__)("Faded",o.i18n)),pickerTitle:(0,r.__)("Faded",o.i18n),pickerIcon:function(e){return(0,i.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 8a2 2 0 00-2 2v28a2 2 0 002 2h37a2 2 0 002-2V10a2 2 0 00-2-2H6zm30.5 11.5H8V22h28.5v-2.5zM8 31h12v3H8v-3zm31.5-6H8v2.5h31.5V25z"}))},isActive:["className"],isPremium:!o.isPro,scope:["block"]}]);var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g={sizeSelector:".stk-block-card__content",sizeHorizontalAlignRule:"margin",wrapperSelector:".%s-container"},p=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),o=(0,d.kX)(n);t.blockUniqueClassName=(0,m.tJ)(o.uniqueId),t.deviceType=a,t.attributes={...o,clientId:n};const r=(0,i.useMemo)((()=>(0,d.RK)(c,o.className)),[o.className]),s=(0,i.useMemo)((()=>({enableWidth:"horizontal"===r,enableHeight:"horizontal"!==r,selector:".stk-block-card__image"})),[r]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(u.v2.Style,t),(0,i.createElement)(u.Q.Style,t),(0,i.createElement)(u.sg.Style,t),(0,i.createElement)(u.aE.Style,t),(0,i.createElement)(u.wx.Style,t),(0,i.createElement)(u.ZK.Style,t),(0,i.createElement)(u.e4.Style,(0,l.Z)({},t,{options:g})),(0,i.createElement)(u.Ee.Style,(0,l.Z)({},t,{options:s})))};p.defaultProps={isEditor:!1},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,i.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,d.RK)(c,e.attributes.className),n=(0,i.createElement)(i.Fragment,null,(0,i.createElement)(u.v2.Style.Content,t),(0,i.createElement)(u.Q.Style.Content,t),(0,i.createElement)(u.sg.Style.Content,t),(0,i.createElement)(u.ZK.Style.Content,t),(0,i.createElement)(u.aE.Style.Content,t),(0,i.createElement)(u.wx.Style.Content,t),(0,i.createElement)(u.e4.Style.Content,(0,l.Z)({},t,{options:g})),(0,i.createElement)(u.Ee.Style.Content,(0,l.Z)({},t,{options:{enableWidth:"horizontal"===a.name,enableHeight:"horizontal"!==a.name,selector:".stk-block-card__image"}})));return(0,i.renderToString)(n)?(0,i.createElement)("style",null,n):null}).defaultProps={attributes:{}};var h=a(4184),v=a.n(h),k=a(8085),f=a(3233),y=a(1951);const C=c[0].innerBlocks,_=["px"],E=["px"],x=(0,y.dF)((e=>{const{hasInnerBlocks:t,innerBlocks:a}=(0,d.VG)(),{hasContainer:n}=e.attributes;(0,u.i_)(e.attributes);const{className:l}=e,{blockOrientation:r}=(0,u.Wy)(),s=(0,u.NA)(e.attributes),m=(0,d.Sg)(c),g=(0,d.WV)(),h=v()([l,"stk-block-card",g]),y=v()(["stk-block-content","stk--no-padding"]),x=v()(["stk-inner-blocks",s,"stk-block-card__content"],{"stk-container-padding":n}),w=(0,i.useMemo)((()=>{var e;return t?["stackable/text","core/paragraph"].includes(null===(e=(0,k.last)(a))||void 0===e?void 0:e.name)?()=>(0,i.createElement)(i.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[t,a]);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(f.zT,null),(0,i.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,i.createElement)(u.Q.InspectorControls,null),(0,i.createElement)(u.aE.InspectorControls,null),(0,i.createElement)(u.wx.InspectorControls,null),(0,i.createElement)(u.yG.InspectorControls,null),(0,i.createElement)(u.Ee.InspectorControls,{hasWidth:"horizontal"===m,hasHeight:["default","default-2"].includes(m),widthUnits:_,heightUnits:E,hasBorderRadius:!1,hasShape:!1,hasShadow:!1}),(0,i.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-card__content"}),(0,i.createElement)(u.ZK.InspectorControls,null),(0,i.createElement)(u.mz.InspectorControls,null),(0,i.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-card"}),(0,i.createElement)(u.Et.InspectorControls,null),(0,i.createElement)(u.fN.InspectorControls,null),(0,i.createElement)(f.Ib,null,(0,i.createElement)(f.t7,null)),(0,i.createElement)(p,{version:o.version}),(0,i.createElement)(u.qy,{mainBlockClass:"stk-block-card"}),(0,i.createElement)(u.Q,{className:h,enableVariationPicker:!0},(0,i.createElement)(u.e4,{className:y},(0,i.createElement)(u.Ee,{className:"stk-block-card__image",enableWidth:"horizontal"===m,enableHeight:["default","default-2"].includes(m),enableDiagonal:!1,widthUnits:_,heightUnits:E,defaultWidth:250,width:"horizontal"!==m?100:void 0,widthUnit:"horizontal"!==m?"%":"px",height:"horizontal"!==m?void 0:100,heightUnit:"horizontal"!==m?"px":"%",hasTooltip:!["full","faded"].includes(m)}),(0,i.createElement)("div",{className:x},(0,i.createElement)(b.InnerBlocks,{template:C,orientation:r,renderAppender:w})))),t&&(0,i.createElement)(u.cy,null))}));var w=a(4392);const S=e=>{const{attributes:t}=e,{hasContainer:a}=e.attributes,n=(0,u.NA)(e.attributes),l=(0,u.ul)(e.attributes),o=v()([e.className,"stk-block-card",l]),r=v()((0,s.applyFilters)("stackable.card.save.contentClassNames",{"stk--no-padding":!0},e)),c=v()((0,s.applyFilters)("stackable.card.save.wrapperClassNames",{"stk-container-padding":a,"stk-block-card__content":!0},e)),d=v()((0,s.applyFilters)("stackable.card.save.innerClassNames",{"stk-block-content":!0,"stk-inner-blocks":!0,[n]:n},e));return(0,i.createElement)(u.Q.Content,{className:o,attributes:t},(0,i.createElement)(p.Content,{version:e.version,attributes:t}),(0,i.createElement)(u.qy.Content,{attributes:t}),(0,i.createElement)(u.e4.Content,{className:r,attributes:t},e.attributes.imageUrl&&(0,i.createElement)(u.Ee.Content,{className:"stk-block-card__image",attributes:t}),(0,s.applyFilters)("stackable.card.save.container-div.content",(0,i.createElement)("div",{className:c},(0,i.createElement)("div",{className:d},(0,i.createElement)(b.InnerBlocks.Content,null))),e,d),(0,i.createElement)(w.y.Content,{attributes:t})))},B=(0,a(3749).compose)((0,y.kY)(o.version))(S),T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.version;const t=new m.DC;return u.Q.addAttributes(t),u.e4.addAttributes(t),u.sg.addAttributes(t),u.Ee.addAttributes(t,{imageWidthUnitDefault:"px"}),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.fN.addAttributes(t),u.yG.addAttributes(t),u.bg.addAttributes(t),t.add({attributes:{design:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{hasContainer:!0},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)},A=T(o.version),z=JSON.parse('{"name":"stackable/card","title":"Card","description":"Describe a single subject in a small card. You can use this to describe your product, service or a person.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var N=a(4247),M=a.n(N);(0,s.addFilter)("stackable.card.save.container-div.content","stackable/3.0.2",((e,t,a)=>1===M()(t.version,"3.0.2")?e:(0,i.createElement)("div",{className:a},(0,i.createElement)(b.InnerBlocks.Content,null)))),(0,s.addFilter)("stackable.card.save.contentClassNames","stackable/3.0.2",((e,t)=>1===M()(t.version,"3.0.2")?e:{"stk-block-card__content":!0,"stk--no-padding":!0})),(0,s.addFilter)("stackable.card.save.wrapperClassNames","stackable/3.0.2",((e,t)=>1===M()(t.version,"3.0.2")?e:{})),(0,s.addFilter)("stackable.card.save.innerClassNames","stackable/3.0.2",((e,t)=>{if(1===M()(t.version,"3.0.2"))return e;const a=(0,u.NA)(t.attributes);return{"stk-block-content":!0,"stk-inner-blocks":!0,[a]:a,"stk-container-padding":t.attributes.hasContainer}}));const I=[{attributes:T(),save:(0,y.kY)("3.0.2")(S)}],H=(0,s.applyFilters)("stackable.block.metadata",{...z,icon:n._K,attributes:A,supports:{anchor:!0,align:!0},example:{attributes:{uniqueId:"fce02f9",hasBackground:!1,hasBorders:!1,hasContainer:!0,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?abstract",imageSize:"full",imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-default"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"b72d337",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h2",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/subtitle",attributes:{uniqueId:"e7cca4d",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Subtitle for This Block",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"1da8f4c",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"e79f4a1",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"3ef5604",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},deprecated:I,variations:c,edit:x,save:B})},7325:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>A});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(6869),s=a(4678),c=a(3233),u=a(78);const d={sizeSelector:".stk-block-column__content",sizeHorizontalAlignRule:"margin"},m=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:n}=(0,u.useBlockEditContext)(),m=(0,r.kX)(n),b=(0,s.yK)(m,(e.options,[{selector:".%s-container",styleRule:"marginTop",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top},{selector:".%s-container",styleRule:"marginRight",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right},{selector:".%s-container",styleRule:"marginBottom",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:".%s-container",styleRule:"marginLeft",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left}]));return t.blockUniqueClassName=(0,s.tJ)(m.uniqueId),t.deviceType=a,t.attributes={...m,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,(0,i.Z)({},t,{options:{columnAlignSelectorCallback:e=>`.editor-styles-wrapper [data-block="${e("clientId")}"]`}})),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.sg.Style,t),(0,l.createElement)(o.e4.Style,(0,i.Z)({},t,{options:d})),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(c.bg,(0,i.Z)({styles:b,versionAdded:"3.0.0",versionDeprecated:""},t)))};m.defaultProps={isEditor:!1},(m.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,s.tJ)(e.attributes.uniqueId);const a=(0,s.Wi)(e.attributes,(e.options,[{selector:".%s-container",styleRule:"marginTop",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.top},{selector:".%s-container",styleRule:"marginRight",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.right},{selector:".%s-container",styleRule:"marginBottom",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.bottom},{selector:".%s-container",styleRule:"marginLeft",attrName:"columnSpacing",responsive:"all",hasUnits:"px",valuePreCallback:e=>null==e?void 0:e.left}])),n=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.sg.Style.Content,t),(0,l.createElement)(o.e4.Style.Content,(0,i.Z)({},t,{options:d})),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(c.bg.Content,(0,i.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(n)?(0,l.createElement)("style",null,n):null}).defaultProps={attributes:{}};const b=m;var g=a(4184),p=a.n(g),h=a(8085),v=a(910),k=a(1951),f=a(3749),y=a(8003),C=a(3284),_=a(3882);const E=[],x=(0,f.compose)(k.GC,k.dF)((e=>{const{hasInnerBlocks:t,isOnlyBlock:a,innerBlocks:n}=(0,r.VG)(),{className:i,isHovered:s}=e;(0,o.i_)(e.attributes);const{blockOrientation:d}=(0,o.Wy)(),[m,g]=(0,o.$U)(e.attributes),k=(0,o.NA)(e.attributes),f=(0,r.WV)(),{getBlock:x,getBlockParents:w}=(0,C.useSelect)("core/block-editor"),S=(0,_.applyFilters)("stackable.block.column.allowed-inner-blocks",void 0,{getBlock:x,getBlockParents:w}),B=p()([i,"stk-block-column",m,f]),T=p()(["stk-block-content","stk-inner-blocks",g,k,"stk-block-column__content",`stk-${e.attributes.uniqueId}-container`]),A=(0,l.useMemo)((()=>{var e;return t?["stackable/text","core/paragraph"].includes(null===(e=(0,h.last)(n))||void 0===e?void 0:e.name)?()=>(0,l.createElement)(l.Fragment,null):u.InnerBlocks.DefaultBlockAppender:u.InnerBlocks.ButtonBlockAppender}),[t,n]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.zT,null),(0,l.createElement)(o.v2.InspectorControls,{hasColumnAlignment:!0}),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.yG.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-column"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(b,{version:v.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-column"}),(0,l.createElement)(c.Ib,null,(0,l.createElement)(c.SQ,{title:(0,y.__)("Column Spacing",v.i18n),id:"column-spacing",initialOpen:!0},(0,l.createElement)(c.ld,{label:(0,y.__)("Spacing",v.i18n),attribute:"columnSpacing",responsive:"all",units:["px","em"],defaultLocked:!0,min:[0,0],sliderMax:[200,30],placeholder:a?"0":"12",className:"ugb--help-tip-advanced-block-paddings"}))),(0,l.createElement)(o.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,l.createElement)(o.sg,{showHandle:s,context:e.context},(0,l.createElement)(o.EG,{show:s}),(0,l.createElement)(o.Q,{className:B},(0,l.createElement)(o.e4,{className:T},(0,l.createElement)(u.InnerBlocks,{allowedBlocks:S,template:E,templateLock:e.attributes.templateLock||!1,orientation:d,renderAppender:A})))))}));var w=a(4392);const S=(0,f.compose)((0,k.kY)(v.version))((e=>{const{attributes:t}=e,[a,n]=(0,o.$U)(e.attributes),i=(0,o.NA)(e.attributes),r=(0,o.ul)(e.attributes),s=p()([e.className,"stk-block-column",a,r]),c=p()([n,"stk-block-column__content"]),d=p()([i,"stk-block-content","stk-inner-blocks"]);return(0,l.createElement)(o.Q.Content,{className:s,attributes:t},(0,l.createElement)(b.Content,{version:e.version,attributes:t}),(0,l.createElement)(o.qy.Content,{attributes:t}),(0,l.createElement)(o.e4.Content,{className:c,attributes:t},(0,l.createElement)("div",{className:d},(0,l.createElement)(u.InnerBlocks.Content,null)),(0,l.createElement)(w.y.Content,{attributes:t})))})),B=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.version;const t=new s.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.e4.addAttributes(t),o.sg.addAttributes(t),o.v2.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),w.y.addAttributes(t),t.add({attributes:{templateLock:{type:"string",default:""},columnSpacing:{stkResponsive:!0,stkHover:!0,stkUnits:"px",type:"object"}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(v.version),T=JSON.parse('{"name":"stackable/column","title":"Column","description":"A single column within an advanced columns block. Get advanced options on how you want your column to look.","category":"layout","usesContext":["postId","postType","queryId","stackable/columnFit"],"keywords":["Section rows"],"parent":["stackable/columns","stackable/feature","stackable/feature-grid"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}'),A=(0,_.applyFilters)("stackable.block.metadata",{...T,icon:n.q9,attributes:B,supports:{anchor:!0,reusable:!1,stkBlockLinking:!0},edit:x,save:S})},5370:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>M});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(6869),s=a(4678),c=a(3233),u=a(78),d=a(3882);const m={editorSelectorCallback:e=>`.stk--block-align-${e("uniqueId")} > .block-editor-inner-blocks > .block-editor-block-list__layout`},b=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:n}=(0,u.useBlockEditContext)(),b=(0,r.kX)(n);t.blockUniqueClassName=(0,s.tJ)(b.uniqueId),t.deviceType=a,t.attributes={...b,clientId:n},t.options={...t.options};const g={numColumns:(t.attributes.columnArrangementMobile||"").split(",").length},p=(0,s.yK)(b,(0,d.applyFilters)("stackable.block-component.columns.get-style-params",[],g,""));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,(0,i.Z)({},t,{options:m})),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.cy.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(o.Z0.Style,t),(0,l.createElement)(o.hK.Style,t),(0,l.createElement)(c.bg,(0,i.Z)({styles:p,versionAdded:"3.1.0",versionDeprecated:""},t)))};b.defaultProps={isEditor:!1},(b.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,s.tJ)(e.attributes.uniqueId),t.options={...t.options};const a={numColumns:(e.attributes.columnArrangementMobile||"").split(",").length},n=(0,s.Wi)(e.attributes,(0,d.applyFilters)("stackable.block-component.columns.get-style-params",[],a,"")),r=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,(0,i.Z)({},t,{options:m})),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.cy.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.Z0.Style.Content,t),(0,l.createElement)(o.hK.Style.Content,t),(0,l.createElement)(c.bg.Content,(0,i.Z)({styles:n,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(r)?(0,l.createElement)("style",null,r):null}).defaultProps={attributes:{}};const g=b;var p=a(910),h=a(4184),v=a.n(h),k=a(1951),f=a(8003);const y=["stackable/button"],C=[["stackable/column"],["stackable/column"]],_=(0,k.dF)((e=>{const{className:t}=e;(0,o.i_)(e.attributes);const a=(0,o.pc)(e.attributes),n=(0,o.HI)(e.attributes),i=(0,o.NA)(e.attributes),{hasInnerBlocks:s}=(0,r.VG)(),u=(0,r.WV)(),[d,m]=c.AM.useContext(),b=v()([t,"stk-block-columns",a,u,n,m]),h=v()(["stk-inner-blocks",i,"stk-block-content"],(0,o.h5)(e.attributes));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.zT,null),(0,l.createElement)(o.v2.InspectorControls,{hasRowAlignment:!0}),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.Z0.InspectorControls,null),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-columns"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(o.hK.InspectorControls,{hasColumnCount:!0}),(0,l.createElement)(o.Q,{className:b,enableVariationPicker:!0},(0,l.createElement)(g,{version:p.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-columns"}),!s&&(0,l.createElement)(c.Ih,null),(0,l.createElement)(o.Z0,null,(0,l.createElement)("div",{className:h,"data-align":e.attributes.contentAlign?"alignwide"===e.attributes.contentAlign?"wide":"alignfull"===e.attributes.contentAlign?"full":void 0:void 0},(0,l.createElement)(c.AM,{providerValue:d,orientation:"horizontal",allowedBlocks:y,renderAppender:!1,template:C,templateLock:e.attributes.templateLock||!1})))),s&&(0,l.createElement)(o.cy,null))}));(0,d.addFilter)("stackable.block-components.responsive.control","stackable/premium",(e=>{const{name:t}=(0,u.useBlockEditContext)();return"stackable/columns"!==t?e:p.showProNotice&&!p.isPro?(0,l.createElement)(c.Y_,{title:(0,f.__)("Say Hello to More Responsive Options 👋",p.i18n),description:(0,f.__)("Adjust the arrangement of your columns when collapsed on mobile. This feature is only available on Stackable Premium",p.i18n)}):p.isPro?(0,d.applyFilters)("stackable.block.columns.column-arrangement",e):e}));const E=(0,k.kY)(p.version)((e=>{const{attributes:t}=e,a=(0,o.pc)(e.attributes),n=(0,o.HI)(e.attributes),i=(0,o.NA)(e.attributes),r=(0,o.ul)(e.attributes),s=v()([e.className,"stk-block-columns",r,n]),c=v()((0,d.applyFilters)("stackable.columns.save.contentClassNames",[[a,"stk-inner-blocks",i,"stk-block-content"],(0,o.gd)(e.attributes)],e));return(0,l.createElement)(o.Q.Content,{className:s,attributes:t},(0,l.createElement)(g.Content,{version:e.version,attributes:t}),(0,l.createElement)(o.qy.Content,{attributes:t}),(0,l.createElement)(o.Z0.Content,{attributes:t},(0,l.createElement)("div",{className:c},(0,l.createElement)(u.InnerBlocks.Content,null))))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.version;const t=new s.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.cy.addAttributes(t),o.X2.addAttributes(t),o.v2.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),o.Z0.addAttributes(t),o.hK.addAttributes(t),t.add({attributes:{templateLock:{type:"string",default:""},columnArrangement:{stkResponsive:!0,type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(p.version),w=JSON.parse('{"name":"stackable/columns","title":"Columns / Container","description":"Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Section rows","Container"],"providesContext":{"stackable/columnFit":"columnFit"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var S=a(8085),B=a(3347),T=a(378),A=a(3284);const z={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{if(1===e.length&&"stackable/column"===e[0].name)return;if(1===e.length&&"core/columns"===e[0].name){const n=e[0],l=[],i={uniqueId:(0,B.W)(n.clientId)};for(const[e,t]of Object.entries(n.attributes))switch(e){case"align":e&&(i.align=t,i.innerBlockContentAlign="align"+t);break;case"style":{const e=(0,S.get)(t,"color.background");e&&(i.hasBackground=!0,i.blockBackgroundColor=e);break}case"backgroundColor":if(t){i.hasBackground=!0;const e=(0,A.select)("core/block-editor").getSettings().colors.find((e=>{let{slug:a}=e;return a===t}));t.startsWith("stk-global-color")?i.blockBackgroundColor=`var(--${t}, ${e.color})`:i.blockBackgroundColor=e.color}}for(const e of n.innerBlocks){const n={uniqueId:(0,B.W)(e.clientId)},i=(0,S.get)(e.attributes,"style.spacing.padding");var t,a;i&&(n.containerPadding={},n.containerPadding.top=parseInt(i.top),n.containerPadding.right=parseInt(i.right),n.containerPadding.bottom=parseInt(i.bottom),n.containerPadding.left=parseInt(i.left),n.containerPaddingUnit=(null===(t=i.top)||void 0===t||null===(a=t.match(/([a-z]*)$/g))||void 0===a?void 0:a[0])||""),l.push((0,T.createBlock)("stackable/column",n,e.innerBlocks))}return(0,T.createBlock)("stackable/columns",i,l)}const n=e.map((e=>(0,T.createBlock)(e.name,e.attributes,e.innerBlocks))),l=(0,T.createBlock)("stackable/column",{},n),i=(0,T.createBlock)("stackable/columns",{},[l]);return i.attributes.uniqueId=(0,B.W)(i.clientId),i},isMatch:e=>{const{length:t}=e;return t&&t<=10}}]};a(7294);const N=[{name:"one-column-full",title:(0,f.__)("100"),description:(0,f.__)("One column"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M39 14H9v20h30V14zM9 12c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h30c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2H9z",fillRule:"evenodd",clipRule:"evenodd"}))},innerBlocks:[["stackable/column"]],scope:["block"]},{name:"two-columns-equal",title:(0,f.__)("50 / 50"),description:(0,f.__)("Two columns; equal split"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M39 12c1.1 0 2 .9 2 2v20c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2V14c0-1.1.9-2 2-2h30zm0 22V14H25v20h14zm-16 0H9V14h14v20z",fillRule:"evenodd",clipRule:"evenodd"}))},isDefault:!0,innerBlocks:[["stackable/column"],["stackable/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:(0,f.__)("30 / 70"),description:(0,f.__)("Two columns; one-third, two-thirds split"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M39 12c1.1 0 2 .9 2 2v20c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2V14c0-1.1.9-2 2-2h30zm0 22V14H20v20h19zm-21 0H9V14h9v20z",fillRule:"evenodd",clipRule:"evenodd"}))},innerBlocks:[["stackable/column",{columnWidth:33.3}],["stackable/column",{columnWidth:66.7}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:(0,f.__)("70 / 30"),description:(0,f.__)("Two columns; two-thirds, one-third split"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M39 12c1.1 0 2 .9 2 2v20c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2V14c0-1.1.9-2 2-2h30zm0 22V14h-9v20h9zm-11 0H9V14h19v20z",fillRule:"evenodd",clipRule:"evenodd"}))},innerBlocks:[["stackable/column",{columnWidth:66.7}],["stackable/column",{columnWidth:33.3}]],scope:["block"]},{name:"three-columns-equal",title:(0,f.__)("33 / 33 / 33"),description:(0,f.__)("Three columns; equal split"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M41 14c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h30c1.1 0 2-.9 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z",fillRule:"evenodd",clipRule:"evenodd"}))},innerBlocks:[["stackable/column"],["stackable/column"],["stackable/column"]],scope:["block"]},{name:"three-columns-wider-center",title:(0,f.__)("25 / 50 / 25"),description:(0,f.__)("Three columns; wide center column"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M41 14c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h30c1.1 0 2-.9 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z",fillRule:"evenodd",clipRule:"evenodd"}))},innerBlocks:[["stackable/column",{columnWidth:25}],["stackable/column",{columnWidth:50}],["stackable/column",{columnWidth:25}]],scope:["block"]},{name:"four-columns-equal",title:(0,f.__)("25 / 25 / 25 / 25"),description:(0,f.__)("Four columns; equal split"),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M39 12H9c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h30c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2zM15 34H9V14h6v20zm8 0h-6V14h6v20zm8 0h-6V14h6v20zm8 0h-6V14h6v20z"}))},innerBlocks:[["stackable/column",{columnWidth:25}],["stackable/column",{columnWidth:25}],["stackable/column",{columnWidth:25}],["stackable/column",{columnWidth:25}]],scope:["block"]}],M=(0,d.applyFilters)("stackable.block.metadata",{...w,icon:n.Se,attributes:x,supports:{anchor:!0,align:["center","wide","full"],stkAlign:!0,stkLayoutReset:!1},example:{name:"stackable/columns",attributes:{uniqueId:"474cdf7",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/column",attributes:{uniqueId:"4c01a47",hasBackground:!1,hasBorders:!1,hasContainer:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"bb2c914",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:'<meta charset="utf-8">Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.',blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},{name:"stackable/column",attributes:{uniqueId:"6dd2b08",hasBackground:!1,hasBorders:!1,hasContainer:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"17aa65b",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:'<meta charset="utf-8">Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.',blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},transforms:z,variations:N,edit:_,save:E})},6457:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>C});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(4678),s=a(6869),c=a(78);const u=e=>{const{...t}=e,a=(0,s.hU)(),{clientId:n}=(0,c.useBlockEditContext)(),u=(0,s.kX)(n);return t.blockUniqueClassName=(0,r.tJ)(u.uniqueId),t.deviceType=a,t.attributes={...u,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZT.Style,(0,i.Z)({},t,{options:{...t.options,selector:".stk-block-count-up__text"}})),(0,l.createElement)(o.ZK.Style,t))};u.defaultProps={isEditor:!1,attributes:{},options:{}},(u.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZT.Style.Content,(0,i.Z)({},t,{options:{...t.options,selector:".stk-block-count-up__text"}})),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.cy.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{},options:{}};var d=a(910),m=a(4184),b=a.n(m),g=a(3233),p=a(1951),h=a(8003);const v=(0,p.dF)((e=>{const{className:t}=e;(0,o.i_)(e.attributes);const a=(0,s.WV)(),n=(0,o.Qz)(e.attributes),i=(0,o.NA)(e.attributes),r=b()([t,"stk-block-count-up",a]),c=b()(["stk-block-count-up__text",n,i]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(g.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZT.InspectorControls,{hasTextTag:!1,initialOpen:!0,hasTextShadow:!0}),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-count-up"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(u,{version:d.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-count-up"}),(0,l.createElement)(o.Q,{className:r},(0,l.createElement)(o.ZT,{tagName:"div",placeholder:(0,h.__)("1,234.56",d.i18n),className:c})),(0,l.createElement)(o.cy,null))})),k=(0,a(3749).compose)((0,p.kY)(d.version))((e=>{const{className:t,attributes:a}=e,n=(0,o.ul)(e.attributes),i=(0,o.Qz)(e.attributes),r=(0,o.NA)(e.attributes),s=b()([t,"stk-block-count-up",n]),c=b()(["stk-block-count-up__text",i,r]);return(0,l.createElement)(o.Q.Content,{className:s,attributes:a},(0,l.createElement)(u.Content,{version:e.version,attributes:a}),(0,l.createElement)(o.qy.Content,{attributes:a}),(0,l.createElement)(o.ZT.Content,{tagName:"div",attributes:a,className:c}))})),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.version;const t=new r.DC;return o.v2.addAttributes(t),o.Q.addAttributes(t),o.bg.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.cy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZT.addAttributes(t,".stk-block-count-up__text"),t.getMerged(e)}(d.version),y=JSON.parse('{"name":"stackable/count-up","title":"Count Up","description":"Showcase your stats. Display how many customers you have or the number of downloads of your app.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/count-up-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),C=(0,a(3882).applyFilters)("stackable.block.metadata",{...y,icon:n.Zn,attributes:f,supports:{anchor:!0,align:!0},example:{attributes:{uniqueId:"6b01660",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"1,234,567",textTag:"p",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",contentAlign:"center"},innerBlocks:[]},edit:v,save:k})},1646:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>g});var n=a(4597),l=a(2610);const i="dist/images/block-design-library-preview.f1220a2.jpg";var o=a(910),r=a(3233),s=a(8003),c=a(3284),u=a(378),d=a(3882),m=a(7537);const b=JSON.parse('{"name":"stackable/design-library","title":"Design Library","description":"Choose a layout or block from the Stackable Design Library.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Template"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}'),g=(0,d.applyFilters)("stackable.block.metadata",{...b,icon:n.$B,attributes:{previewMode:{type:"boolean",default:!1}},supports:{},example:{attributes:{previewMode:!0}},edit:e=>{const{clientId:t,attributes:a}=e,[b,g]=(0,l.useState)(!1),p=(0,l.useCallback)(((e,a,n)=>{const{replaceBlock:l}=(0,c.dispatch)("core/block-editor"),i=e.replace(/^\w+\//g,""),o=(0,d.applyFilters)(`stackable.${i}.design.filtered-block-attributes`,a),r=(0,u.createBlock)(e,o,(0,u.createBlocksFromInnerBlocksTemplate)(n));l(t,r)}),[t]),h=(0,l.useCallback)((e=>{const{replaceBlocks:a}=(0,c.dispatch)("core/block-editor"),n=(0,u.parse)(e);a(t,n)}),[t]);if(a.previewMode){const e=i.match(/https?:/i)?i:o.srcUrl?`${o.srcUrl}/${i}`:i;return(0,l.createElement)("div",{className:"ugb-design-library-block"},(0,l.createElement)("img",{src:e,alt:"design-library"}))}return(0,l.createElement)("div",{className:"ugb-design-library-block"},(0,l.createElement)(m.Placeholder,{icon:(0,l.createElement)(n.y4,null),label:(0,s.__)("Stackable Design Library",o.i18n),instructions:(0,s.__)("Open the Design Library and select a pre-designed block or layout.",o.i18n)},(0,l.createElement)(r.zx,{isSecondary:!0,className:"ugb-design-library-block__button",onClick:()=>{g(!0)}},(0,s.__)("Open Design Library",o.i18n))),b&&(0,l.createElement)(r.tz,{onClose:()=>{g(!1)},onSelect:e=>{const{name:t,attributes:a,innerBlocks:n,serialized:l}=e;t&&a?p(t,(0,d.applyFilters)("stackable.design-library.attributes",a),n||[]):l?h(l):console.error("Design library selection failed: No block data found")}}))},save:()=>null})},5662:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>E});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(4678),s=a(6869),c=a(3233),u=a(910);a(7294);var d=a(8003);const m=[{name:"default",label:(0,d.__)("Default",u.i18n),isDefault:!0,icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M8 23h32v2H8v-2z",fillRule:"evenodd",clipRule:"evenodd"}))}},{name:"bar",label:(0,d.__)("Bar",u.i18n),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M8 24.5A1.5 1.5 0 019.5 23h29a1.5 1.5 0 010 3h-29A1.5 1.5 0 018 24.5z",fillRule:"evenodd",clipRule:"evenodd"}))}},{name:"dots",label:(0,d.__)("Dots",u.i18n),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M18 24.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm7 0a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm5.5 1.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fillRule:"evenodd",clipRule:"evenodd"}))}},{name:"asterisks",label:(0,d.__)("Asterisks",u.i18n),icon:function(e){return(0,l.createElement)("svg",(0,i.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,l.createElement)("path",{d:"M17.279 24.77L17.182 26h.531l-.113-1.23 1.006.691.265-.474-1.118-.491 1.11-.499-.257-.466-1.006.7.121-1.231h-.547l.113 1.23-1.014-.7-.265.475 1.11.483-1.118.49.282.491.997-.7zM24.182 26l.097-1.23-.997.7-.282-.491 1.118-.491-1.11-.483.265-.474 1.014.7L24.174 23h.547l-.12 1.23 1.005-.7.257.467-1.11.499 1.118.49-.265.475-1.006-.692.113 1.231h-.53zm7 0l.097-1.23-.997.7-.282-.491 1.118-.491-1.11-.483.265-.474 1.014.7L31.174 23h.547l-.12 1.23 1.005-.7.257.467-1.11.499 1.118.49-.265.475-1.006-.692.113 1.231h-.53z",fillRule:"evenodd",clipRule:"evenodd"}))}}];var b=a(78);const g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{}=e;return[{selectorCallback:e=>{var t;const a=null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name;return"dots"===a?".stk-block-divider__dot":"asterisks"===a?".stk-block-divider__dot:before":"hr.stk-block-divider__hr"},styleRuleCallback:e=>{var t;return"asterisks"===(null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name)?"color":"background"},attrName:"color",dependencies:["className"]},{selector:".stk-block-divider__dot:before",styleRule:"fontSize",attrName:"height",responsive:"all",format:"calc(%spx * 1.8)",enabledCallback:e=>{var t;return"asterisks"===(null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name)},dependencies:["className"]},{selector:"hr.stk-block-divider__hr",styleRule:"borderRadius",attrName:"height",responsive:"all",format:"calc(%spx / 2)",enabledCallback:e=>{var t;return"bar"===(null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name)},dependencies:["className"]},{selector:".stk-block-divider__dot",styleRule:"width",attrName:"height",responsive:"all",format:"%spx",enabledCallback:e=>{var t;const a=null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name;return["asterisks","dots"].includes(a)},dependencies:["className"]},{selectorCallback:e=>{var t;const a=null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name;return["dots","asterisks"].includes(a)?".stk-block-divider__dot":"hr.stk-block-divider__hr"},styleRule:"height",attrName:"height",format:"%spx",responsive:"all"},{selectorCallback:e=>{var t;const a=null===(t=(0,s.RK)(m,e("className")||""))||void 0===t?void 0:t.name;return["dots","asterisks"].includes(a)?".stk-block-divider__dots":"hr.stk-block-divider__hr"},styleRule:"width",attrName:"width",format:"%s%",responsive:"all",dependencies:["className"]}]},p=e=>{const{...t}=e,a=(0,s.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),u=(0,s.kX)(n);t.blockUniqueClassName=(0,r.tJ)(u.uniqueId),t.deviceType=a,t.attributes={...u,clientId:n};const d=(0,r.yK)(u,g());return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(c.bg,(0,i.Z)({styles:d,versionAdded:"3.0.0",versionDeprecated:""},t)))};p.defaultProps={isEditor:!1,attributes:{},options:{}},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,r.Wi)(t.attributes,g()),n=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.cy.Style.Content,t),(0,l.createElement)(c.bg.Content,(0,i.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(n)?(0,l.createElement)("style",null,n):null}).defaultProps={attributes:{},options:{}};var h=a(4184),v=a.n(h),k=a(1951);const f=(0,k.dF)((e=>{const{className:t}=e;(0,o.i_)(e.attributes);const a=(0,s.WV)(),n=(0,o.NA)(e.attributes),i=(0,s.Sg)(m),r=v()([t,"stk-block-divider",a,n]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.QW.InspectorControls,{styles:m}),(0,l.createElement)(c.Ib,null,(0,l.createElement)(c.SQ,{title:(0,d.__)("General",u.i18n),id:"general"},(0,l.createElement)(c.Xw,{label:(0,d.__)("Color",u.i18n),attribute:"color"}),(0,l.createElement)(c.o1,{label:(0,d.__)("Height / Size",u.i18n),responsive:"all",attribute:"height",min:1,sliderMax:100,placeholder:""}),(0,l.createElement)(c.o1,{label:(0,d.__)("Width",u.i18n)+" (%)",responsive:"all",attribute:"width",min:1,max:100,placeholder:""}))),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-divider"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(p,{version:u.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-divider"}),(0,l.createElement)(o.Q,{className:r},["dots","asterisks"].includes(i)?(0,l.createElement)("div",{className:"stk-block-divider__dots","aria-hidden":"true"},(0,l.createElement)("div",{className:"stk-block-divider__dot"}),(0,l.createElement)("div",{className:"stk-block-divider__dot"}),(0,l.createElement)("div",{className:"stk-block-divider__dot"})):(0,l.createElement)("hr",{className:"stk-block-divider__hr"})),(0,l.createElement)(o.cy,null))})),y=(0,a(3749).compose)((0,k.kY)(u.version))((e=>{const{className:t,attributes:a}=e,n=(0,o.ul)(e.attributes),i=(0,o.NA)(e.attributes),{name:r}=(0,s.RK)(m,t)||{},c=v()([t,"stk-block-divider",n,i]);return(0,l.createElement)(o.Q.Content,{className:c,attributes:a},(0,l.createElement)(p.Content,{version:e.version,attributes:a}),(0,l.createElement)(o.qy.Content,{attributes:a}),["dots","asterisks"].includes(r)?(0,l.createElement)("div",{className:"stk-block-divider__dots","aria-hidden":"true"},(0,l.createElement)("div",{className:"stk-block-divider__dot"}),(0,l.createElement)("div",{className:"stk-block-divider__dot"}),(0,l.createElement)("div",{className:"stk-block-divider__dot"})):(0,l.createElement)("hr",{className:"stk-block-divider__hr"}))})),C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.version;const t=new r.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.v2.addAttributes(t),o.cy.addAttributes(t),t.add({attributes:{color:{type:"string",default:""},height:{stkResponsive:!0,type:"number",default:""},width:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(u.version),_=JSON.parse('{"name":"stackable/divider","title":"Divider","description":"Add a pause between your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Horizontal Rule","HR"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}'),E=(0,a(3882).applyFilters)("stackable.block.metadata",{..._,icon:n.RK,attributes:C,supports:{align:["center","wide","full"],anchor:!0},example:{attributes:{uniqueId:"93e7eca",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},color:"#28303D",height:16,width:69,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",className:"is-style-bar"},innerBlocks:[]},edit:f,save:y})},1275:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>x});var n=a(4597),l=a(2610),i=a(2285),o=a(6869),r=a(4678),s=a(78);const c=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:n}=(0,s.useBlockEditContext)(),c=(0,o.kX)(n);return t.blockUniqueClassName=(0,r.tJ)(c.uniqueId),t.deviceType=a,t.attributes={...c,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.sg.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t))};c.defaultProps={isEditor:!1},(c.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.sg.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{}};const u=c;var d=a(4184),m=a.n(d),b=a(910),g=a(3233),p=a(1951),h=a(8003),v=a(3882);const k=[["stackable/text",{text:(0,h.__)("Some short text that can be expanded to show more details.",b.i18n),className:"stk-block-expand__short-text",customAttributes:[["aria-hidden","false"]]}],["stackable/button",{text:(0,h.__)("Show more",b.i18n),linkUrl:"#",className:"is-style-link stk-block-expand__show-button",customAttributes:[["aria-hidden","false"],["role","button"]]}],["stackable/text",{text:(0,h.__)("Some long text that will be expanded when the show more button is clicked by the visitor.",b.i18n),className:"stk-block-expand__more-text",customAttributes:[["aria-hidden","true"]]}],["stackable/button",{text:(0,h.__)("Show less",b.i18n),linkUrl:"#",className:"is-style-link stk-block-expand__hide-button",customAttributes:[["aria-hidden","true"],["role","button"]]}]],f=["block","advanced"],y=(0,p.dF)((e=>{const{className:t}=e;(0,i.i_)(e.attributes);const a=(0,i.NA)(e.attributes),n=(0,o.WV)(),r=m()([t,"stk-block-expand",n]),c=m()(["stk-inner-blocks",a,"stk-block-content"]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(g.zT,{tabs:f}),(0,l.createElement)(i.v2.InspectorControls,{hasRowAlignment:!0}),(0,l.createElement)(i.Q.InspectorControls,null),(0,l.createElement)(i.aE.InspectorControls,null),(0,l.createElement)(i.wx.InspectorControls,null),(0,l.createElement)(i.ZK.InspectorControls,null),(0,l.createElement)(i.mz.InspectorControls,null),(0,l.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-expand"}),(0,l.createElement)(i.Et.InspectorControls,null),(0,l.createElement)(i.fN.InspectorControls,null),(0,l.createElement)(g.ME,null,(0,l.createElement)(g.t7,null)),(0,l.createElement)(u,{version:b.version}),(0,l.createElement)(i.qy,{mainBlockClass:"stk-block-expand"}),(0,l.createElement)("style",null,`.stk-block.stk-block-expand .stk-block-expand__short-text::before { content: "${(0,h.__)("Less text",b.i18n)}" !important; }`),(0,l.createElement)("style",null,`.stk-block.stk-block-expand .stk-block-expand__more-text::before { content: "${(0,h.__)("More text",b.i18n)}" !important; }`),(0,l.createElement)(i.Q,{className:r},(0,l.createElement)("div",{className:c},(0,l.createElement)(s.InnerBlocks,{template:k,templateLock:"all",orientation:"horizontal"}))),(0,l.createElement)(i.cy,null))}));(0,v.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/expand",((e,t)=>"stackable/expand"!==(null==t?void 0:t.name)&&e)),(0,v.addFilter)("stackable.edit.button.enable-link","stackable/expand",((e,t)=>"stackable/expand"!==(null==t?void 0:t.name)&&e)),(0,v.addFilter)("stackable.edit.link.enable-link-popup","stackable/expand",((e,t)=>"stackable/expand"!==(null==t?void 0:t.name)&&e));const C=(0,a(3749).compose)((0,p.kY)(b.version))((e=>{const{attributes:t}=e,a=(0,i.NA)(e.attributes),n=(0,i.ul)(e.attributes),o=m()([e.className,"stk-block-expand",n]),r=m()(["stk-inner-blocks",a,"stk-block-content"]);return(0,l.createElement)(i.Q.Content,{className:o,attributes:t},(0,l.createElement)(u.Content,{version:e.version,attributes:t}),(0,l.createElement)(i.qy.Content,{attributes:t}),(0,l.createElement)("div",{className:r},(0,l.createElement)(s.InnerBlocks.Content,null)))})),_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.version;const t=new r.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.X2.addAttributes(t),i.v2.addAttributes(t),i.aE.addAttributes(t),i.wx.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),t.addDefaultValues({attributes:{customAttributes:[["aria-expanded","false"]]},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(b.version),E=JSON.parse('{"name":"stackable/expand","title":"Expand / Show More","description":"Display a small snippet of text. Your readers can toggle it to show more information.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Hide","Less"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),x=(0,v.applyFilters)("stackable.block.metadata",{...E,icon:n.Qq,attributes:_,supports:{anchor:!0},example:{attributes:{uniqueId:"76cbc5c",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[["aria-expanded","false"]],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"f06aeac",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[["aria-hidden","false"]],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Some short text that can be expanded to show more details.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"stk-block-expand__short-text"},innerBlocks:[]},{name:"stackable/button",attributes:{uniqueId:"8ea90fc",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[["aria-hidden","false"],["role","button"]],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkUrl:"#",linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Show more",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-link stk-block-expand__show-button"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"45a5d67",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[["aria-hidden","true"]],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Some long text that will be expanded when the show more button is clicked by the visitor.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"stk-block-expand__more-text"},innerBlocks:[]},{name:"stackable/button",attributes:{uniqueId:"ff2b0aa",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[["aria-hidden","true"],["role","button"]],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkUrl:"#",linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Show less",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-link stk-block-expand__hide-button"},innerBlocks:[]}]},edit:y,save:C})},1850:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>N});var n=a(4597),l=a(910),i=a(8003),o=a(3882),r=a(7462),s=a(2610);a(7294);const c=(0,o.applyFilters)("stackable.feature-grid.variations",[{name:"default",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Default",l.i18n)),attributes:{className:"is-style-default",innerBlockContentAlign:"alignwide",align:"full"},isActive:["className"],pickerTitle:(0,i.__)("Default",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 9H9v30h30V9zM9 7a2 2 0 00-2 2v30a2 2 0 002 2h30a2 2 0 002-2V9a2 2 0 00-2-2H9zm21 10a6 6 0 11-12 0 6 6 0 0112 0zm2 8H16v2h16v-2zm-4 8v3h-8v-3h8zm7-2v-2H14v2h21z"}))},isDefault:!0,innerBlocks:[["stackable/column",{hasContainer:!0},[["stackable/image"],["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n),buttonBackgroundColor:"transparent",className:"is-style-plain"}]]]]],["stackable/column",{hasContainer:!0},[["stackable/image"],["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n),buttonBackgroundColor:"transparent",className:"is-style-plain"}]]]]],["stackable/column",{hasContainer:!0},[["stackable/image"],["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n),buttonBackgroundColor:"transparent",className:"is-style-plain"}]]]]]],scope:["block"]},{name:"float",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Float",l.i18n)),attributes:{innerBlockContentAlign:"alignwide",className:"is-style-horizontal",align:"full"},isActive:["className"],pickerTitle:(0,i.__)("Float",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a6 6 0 100-12 6 6 0 000 12zm28 1H19v2h21v-2zm-21 5h24v2H19v-2zm8.5 5H19v3h8.5v-3z"}))},innerBlocks:[["stackable/column",{contentAlign:"left",containerPadding:{left:80}},[["stackable/image",{imageShape:"circle",imageHeight:150,imageWidth:150,blockMargin:{top:"",right:"",bottom:"",left:-80},imageWidthUnit:"px"}],["stackable/heading",{text:(0,i.__)("Title",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n),buttonBackgroundColor:"transparent",buttonBorderType:"solid",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-ghost"}]]]]],["stackable/column",{contentAlign:"left",containerPadding:{left:80}},[["stackable/image",{imageShape:"circle",imageHeight:150,imageWidth:150,blockMargin:{top:"",right:"",bottom:"",left:-80},imageWidthUnit:"px"}],["stackable/heading",{text:(0,i.__)("Title",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n),buttonBackgroundColor:"transparent",buttonBorderType:"solid",buttonBackgroundColorHover:"transparent",buttonBackgroundColorParentHover:"transparent",className:"is-style-ghost"}]]]]]],scope:["block"]},{name:"horizontal",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Horizontal",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Horizontal",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.5 13h-37v21h37V13zm-37-2a2 2 0 00-2 2v21a2 2 0 002 2h37a2 2 0 002-2V13a2 2 0 00-2-2h-37zM20 23a6 6 0 11-12 0 6 6 0 0112 0zm16-5H22.5v2H36v-2zm-13.5 8H30v3h-7.5v-3zM39 22H22.5v2H39v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"large-mid",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Large Mid",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Large Mid",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41 8H23v32h18V8zM23 6a2 2 0 00-2 2v32a2 2 0 002 2h18a2 2 0 002-2V8a2 2 0 00-2-2H23zm14 10a5 5 0 11-10 0 5 5 0 0110 0zm0 10v-2H27v2h10zm1 3v2H26v-2h12zm-1 8v-3H27v3h10zM17 16a5 5 0 11-10 0 5 5 0 0110 0zm0 8H7v2h10v-2zM6 29h12v2H6v-2zm11 5H7v3h10v-3z"}))},isPremium:!l.isPro,scope:["block"]},{name:"offset",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Offset",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Offset",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12h-9.083a6.002 6.002 0 00-11.834 0H9a2 2 0 00-2 2v24a2 2 0 002 2h30a2 2 0 002-2V14a2 2 0 00-2-2zm-9.083 2a6.002 6.002 0 01-11.834 0H9v24h30V14h-9.083zM32 22H15v2h17v-2zm2 5v2H14v-2h20zm-7 8v-3h-6v3h6z"}))},isPremium:!l.isPro,scope:["block"]},{name:"zigzag",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Zizag",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Zigzag",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27 6h16v32H27V6zm-2 0a2 2 0 012-2h16a2 2 0 012 2v32a2 2 0 01-2 2H27a2 2 0 01-2-2V6zm10 13a5 5 0 100-10 5 5 0 000 10zm4 3v2h-8v-2h8zm1 7v-2H30v2h10zm-1 3v3h-8v-3h8zM5 9h16v32H5V9zM3 9a2 2 0 012-2h16a2 2 0 012 2v32a2 2 0 01-2 2H5a2 2 0 01-2-2V9zm15 8a5 5 0 11-10 0 5 5 0 0110 0zm-1 10v-2H9v2h8zm1 3v2H8v-2h10zm-1 8v-3H9v3h8z"}))},isPremium:!l.isPro,scope:["block"]}]);var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);return t.blockUniqueClassName=(0,m.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style,t),(0,s.createElement)(u.Q.Style,t),(0,s.createElement)(u.sg.Style,t),(0,s.createElement)(u.aE.Style,t),(0,s.createElement)(u.wx.Style,t),(0,s.createElement)(u.ZK.Style,t),(0,s.createElement)(u.Z0.Style,t),(0,s.createElement)(u.hK.Style,t))};g.defaultProps={isEditor:!1},(g.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,s.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style.Content,t),(0,s.createElement)(u.Q.Style.Content,t),(0,s.createElement)(u.sg.Style.Content,t),(0,s.createElement)(u.ZK.Style.Content,t),(0,s.createElement)(u.aE.Style.Content,t),(0,s.createElement)(u.wx.Style.Content,t),(0,s.createElement)(u.Z0.Style.Content,t),(0,s.createElement)(u.hK.Style.Content,t));return(0,s.renderToString)(a)?(0,s.createElement)("style",null,a):null}).defaultProps={attributes:{}};const p=g;var h=a(4184),v=a.n(h),k=a(3233),f=a(1951);const y=["stackable/column"],C=c[0].innerBlocks,_=(0,f.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a}=(0,d.VG)(),n=(0,u.pc)(e.attributes),i=(0,u.HI)(e.attributes),o=(0,u.NA)(e.attributes),r=(0,d.WV)(),[c,m]=k.AM.useContext(),b=v()([t,"stk-block-feature-grid","stk-block-columns",n,r,i,m]),g=v()(["stk-inner-blocks",o,"stk-block-content"],(0,u.h5)(e.attributes));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(k.zT,null),(0,s.createElement)(u.v2.InspectorControls,{hasRowAlignment:!0}),(0,s.createElement)(u.Q.InspectorControls,null),(0,s.createElement)(u.Z0.InspectorControls,null),(0,s.createElement)(u.aE.InspectorControls,null),(0,s.createElement)(u.wx.InspectorControls,null),(0,s.createElement)(u.ZK.InspectorControls,null),(0,s.createElement)(u.mz.InspectorControls,null),(0,s.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-feature-grid"}),(0,s.createElement)(u.Et.InspectorControls,null),(0,s.createElement)(u.fN.InspectorControls,null),(0,s.createElement)(u.hK.InspectorControls,{hasColumnCount:!0}),(0,s.createElement)(k.Ib,null,(0,s.createElement)(k.t7,null)),(0,s.createElement)(p,{version:l.version}),(0,s.createElement)(u.qy,{mainBlockClass:"stk-block-feature-grid"}),(0,s.createElement)(u.Q,{className:b,enableVariationPicker:!0},(0,s.createElement)(u.Z0,null,(0,s.createElement)("div",{className:g},(0,s.createElement)(k.AM,{providerValue:c,template:C,allowedBlocks:y,orientation:"horizontal",renderAppender:!1})))),a&&(0,s.createElement)(u.cy,null))})),E=e=>{const{attributes:t}=e,a=(0,u.pc)(e.attributes),n=(0,u.HI)(e.attributes),l=(0,u.NA)(e.attributes),i=(0,u.ul)(e.attributes),r=v()((0,o.applyFilters)("stackable.feature-grid.save.blockClassNames",[[e.className,"stk-block-feature-grid","stk-block-columns",i,n]],e)),c=v()([a,"stk-inner-blocks",l,"stk-block-content"],(0,u.gd)(t));return(0,s.createElement)(u.Q.Content,{className:r,attributes:t},(0,s.createElement)(p.Content,{version:e.version,attributes:t}),(0,s.createElement)(u.qy.Content,{attributes:t}),(0,s.createElement)(u.Z0.Content,{attributes:t},(0,s.createElement)("div",{className:c},(0,s.createElement)(b.InnerBlocks.Content,null))))},x=(0,a(3749).compose)((0,f.kY)(l.version))(E),w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.X2.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.fN.addAttributes(t),u.Z0.addAttributes(t),u.hK.addAttributes(t),t.addDefaultValues({attributes:{contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)},S=w(l.version),B=JSON.parse('{"name":"stackable/feature-grid","title":"Feature Grid","description":"Display multiple product features or services. You can use Feature Grids one after another.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var T=a(4247),A=a.n(T);(0,o.addFilter)("stackable.feature-grid.save.blockClassNames","stackable/3.1.0",((e,t)=>{if(1===A()(t.version,"3.1.0"))return e;const a=(0,u.HI)(t.attributes),n=(0,u.ul)(t.attributes);return[t.className,"stk-block-feature-grid",n,a]}));const z=[{attributes:w("3.1.0"),save:(0,f.kY)("3.1.0")(E)}],N=(0,o.applyFilters)("stackable.block.metadata",{...B,icon:n.Xf,attributes:S,supports:{anchor:!0,align:["center","wide","full"],stkAlign:!0},example:{attributes:{uniqueId:"150ccfb",hasBackground:!1,hasBorders:!1,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},innerBlockContentAlign:"alignwide",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",align:"full",className:"is-style-default"},innerBlocks:[{name:"stackable/column",attributes:{uniqueId:"b195383",hasBackground:!1,hasBorders:!1,hasContainer:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/image",attributes:{uniqueId:"9fbcacb",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?donut",imageSize:"full",imageHeight:75,imageWidth:75,imageShape:"circle",imageShapeStretch:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"0edd499",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"635f14c",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"b37a0ec",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"11990c0",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-plain"},innerBlocks:[]}]}]},{name:"stackable/column",attributes:{uniqueId:"8d99f14",hasBackground:!1,hasBorders:!1,hasContainer:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/image",attributes:{uniqueId:"744652d",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?coffee",imageSize:"full",imageHeight:75,imageWidth:75,imageShape:"circle",imageShapeStretch:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"03761ef",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"0d46d83",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"fe6e7e0",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"b0a3903",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"is-style-plain"},innerBlocks:[]}]}]}]},deprecated:z,variations:c,edit:_,save:x})},1733:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>z});var n=a(4597),l=a(910),i=a(8003),o=a(3882),r=a(7462),s=a(2610);a(7294);const c=(0,o.applyFilters)("stackable.feature.variations",[{name:"default",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Default",l.i18n)),attributes:{className:"is-style-default"},isActive:["className"],pickerTitle:(0,i.__)("Default",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 31V16H27v15h15zM23 16H6v2h17v-2zM6 22h17v2H6v-2zm8 6H6v3h8v-3z"}))},isDefault:!0,innerBlocks:[["stackable/column",{columnAlign:"center"},[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n)}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n)}]]]]],["stackable/column",{templateLock:"insert",columnAlign:"center"},[["stackable/image",{}]]]],scope:["block"]},{name:"horizontal",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Horizontal",l.i18n)),attributes:{className:"is-style-horizontal",align:"full",innerBlockContentAlign:"alignwide"},isActive:["className"],pickerTitle:(0,i.__)("Horizontal",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 16v15H27V16h15zM6 16h17v2H6v-2zm7 6H6v2h7v-2zm3 0h7v2h-7v-2zm-2 6H6v3h8v-3z"}))},innerBlocks:[["stackable/column",{columnAlign:"center"},[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h2"}],["stackable/columns",{},[["stackable/column",{align:"full"},[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3"}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block.","Content placeholder",l.i18n)}]]],["stackable/column",{},[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3"}],["stackable/text",{text:(0,i._x)("Description for this block. Use this space for describing your block.","Content placeholder",l.i18n)}]]]]],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n)}]]]]],["stackable/column",{templateLock:"insert",columnAlign:"center"},[["stackable/image",{}]]]],scope:["block"]},{name:"overlap-shape-1",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Shape 1",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Shape 1",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 16h16v16H6V16zm-2 0a2 2 0 012-2h16a2 2 0 011.99 1.796v-.006c.967-.62 2.07-1.13 3.382-1.439 3.785-.883 9.314-.088 12.755 2.238 3.418 2.31 4.772 6.152 3.258 9.243-1.491 3.091-5.85 5.446-10.461 6.506-3.09.71-6.293.839-9.079.434A2 2 0 0122 34H6a2 2 0 01-2-2V16zm6 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-shape-2",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Shape 2",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Shape 2",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.127 12.589c3.418 2.31 4.772 6.152 3.258 9.243-1.491 3.091-5.85 5.446-10.461 6.506-3.033.697-6.175.834-8.924.456V36a2 2 0 01-2 2H6a2 2 0 01-2-2V20a2 2 0 012-2h11.323c.306-.309.628-.622.96-.942a74.172 74.172 0 001.957-1.962c1.846-1.915 3.822-3.964 7.132-4.745 3.785-.883 9.314-.088 12.755 2.238zM6 20h16v16H6V20zm4 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-shape-3",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Shape 3",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Shape 3",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12h16v16H6V12zm-2 0a2 2 0 012-2h16a2 2 0 012 2v7.783a10.753 10.753 0 013.372-1.432c3.785-.883 9.314-.088 12.755 2.238 3.418 2.31 4.772 6.152 3.258 9.243-1.491 3.091-5.85 5.446-10.461 6.506-4.611 1.06-9.475.824-12.824-.544-3.275-1.33-5.122-3.742-5.1-5.794H6a2 2 0 01-2-2V12zm6 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-shape-4",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Shape 4",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Shape 4",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.46 11.997c4.007 2.676 5.594 7.125 3.819 10.704-1.07 2.188-3.396 4.059-6.279 5.462V36a2 2 0 01-2 2H16a2 2 0 01-2-2v-6.027a15.45 15.45 0 01-1.02-.37c-3.954-1.585-6.133-4.5-5.972-6.92.155-1.981 1.877-3.631 3.84-5.511a85.742 85.742 0 002.295-2.272c2.165-2.217 4.481-4.59 8.362-5.493 4.438-1.023 10.92-.102 14.954 2.59zM16 20h16v16H16V20zm4 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-shape-5",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Shape 5",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Shape 5",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 11h16v16H16V11zm-2 0a2 2 0 012-2h16a2 2 0 012 2v6.687c.885.375 1.714.813 2.46 1.31 4.007 2.676 5.594 7.125 3.819 10.704-1.748 3.579-6.859 6.306-12.265 7.533-5.406 1.227-11.108.954-15.035-.63-3.953-1.586-6.132-4.5-5.97-6.92.154-1.982 1.876-3.632 3.839-5.512.434-.416.88-.844 1.324-1.289.324-.32.646-.65.971-.983l.001-.001c.282-.289.566-.58.856-.87V11zm6 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-background-1",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Background 1",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Background 1",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 11h28v26H16v-3H6a2 2 0 01-2-2V16a2 2 0 012-2h10v-3zM6 16h16v16H6V16zm4 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-background-2",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Background 2",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Background 2",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8h28v26H24v3a2 2 0 01-2 2H6a2 2 0 01-2-2V21a2 2 0 012-2h10V8zM6 21h16v16H6V21zm4 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-background-3",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Background 3",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Background 3",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 10h16v16H6V10zm-2 0a2 2 0 012-2h16a2 2 0 012 2v3h20v26H16V28H6a2 2 0 01-2-2V10zm6 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-background-4",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Background 4",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Background 4",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 8h34v23h-7v6a2 2 0 01-2 2H16a2 2 0 01-2-2v-6H7V8zm9 13h16v16H16V21zm4 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]},{name:"overlap-background-5",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Overlap Background 5",l.i18n)),isActive:["className"],pickerTitle:(0,i.__)("Overlap Background 5",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 12h16v16H16V12zm-2 0a2 2 0 012-2h16a2 2 0 012 2v3h7v23H7V15h7v-3zm6 4h8v2h-8v-2zm8 6h-8v2h8v-2z"}))},isPremium:!l.isPro,scope:["block"]}]);var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);return t.blockUniqueClassName=(0,m.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style,t),(0,s.createElement)(u.Q.Style,t),(0,s.createElement)(u.e4.Style,t),(0,s.createElement)(u.sg.Style,t),(0,s.createElement)(u.aE.Style,t),(0,s.createElement)(u.wx.Style,t),(0,s.createElement)(u.ZK.Style,t),(0,s.createElement)(u.Z0.Style,t),(0,s.createElement)(u.hK.Style,t))};g.defaultProps={isEditor:!1},(g.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,s.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style.Content,t),(0,s.createElement)(u.Q.Style.Content,t),(0,s.createElement)(u.e4.Style.Content,t),(0,s.createElement)(u.sg.Style.Content,t),(0,s.createElement)(u.ZK.Style.Content,t),(0,s.createElement)(u.aE.Style.Content,t),(0,s.createElement)(u.wx.Style.Content,t),(0,s.createElement)(u.Z0.Style.Content,t),(0,s.createElement)(u.hK.Style.Content,t));return(0,s.renderToString)(a)?(0,s.createElement)("style",null,a):null}).defaultProps={attributes:{}};const p=g;var h=a(4184),v=a.n(h),k=a(3233),f=a(1951);const y=c[0].innerBlocks,C=(0,f.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const a=e.attributes.alignVertical?void 0:(0,u.pc)(e.attributes),n=(0,u.HI)(e.attributes),i=(0,u.NA)(e.attributes),o=(0,d.WV)(),[r,c]=k.AM.useContext(),{hasInnerBlocks:m}=(0,d.VG)(),b=v()([t,"stk-block-feature",a,o,n,c]),g=v()(["stk-inner-blocks",i,"stk-block-content"],(0,u.h5)(e.attributes));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(k.zT,null),(0,s.createElement)(u.v2.InspectorControls,{hasRowAlignment:!0}),(0,s.createElement)(u.Q.InspectorControls,null),(0,s.createElement)(u.hK.InspectorControls,null),(0,s.createElement)(u.e4.InspectorControls,null),(0,s.createElement)(u.Z0.InspectorControls,null),(0,s.createElement)(u.aE.InspectorControls,null),(0,s.createElement)(u.wx.InspectorControls,null),(0,s.createElement)(u.ZK.InspectorControls,null),(0,s.createElement)(u.mz.InspectorControls,null),(0,s.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-feature"}),(0,s.createElement)(u.Et.InspectorControls,null),(0,s.createElement)(u.fN.InspectorControls,null),(0,s.createElement)(k.Ib,null,(0,s.createElement)(k.t7,null)),(0,s.createElement)(p,{version:l.version}),(0,s.createElement)(u.qy,{mainBlockClass:"stk-block-feature"}),(0,s.createElement)(u.Q,{className:b,enableVariationPicker:!0},(0,s.createElement)(u.Z0,null,(0,s.createElement)(u.e4,{className:g},(0,s.createElement)(k.AM,{providerValue:r,template:y,templateLock:"insert",orientation:e.attributes.alignVertical?"vertical":"horizontal"})))),m&&(0,s.createElement)(u.cy,null))})),_=e=>{const{attributes:t}=e,a=e.attributes.alignVertical?void 0:(0,u.pc)(e.attributes),n=(0,u.HI)(e.attributes),l=(0,u.NA)(e.attributes),i=(0,u.ul)(e.attributes),r=(0,u.gd)(t),c=v()([e.className,"stk-block-feature",i,n]),d=v()((0,o.applyFilters)("stackable.feature.save.contentClassNames",{[r]:r},e)),m=v()((0,o.applyFilters)("stackable.feature.save.innerClassNames",{"stk-inner-blocks":!0,[l]:l,"stk-block-content":!0,[a]:[a]},e));return(0,s.createElement)(u.Q.Content,{className:c,attributes:t},(0,s.createElement)(p.Content,{version:e.version,attributes:t}),(0,s.createElement)(u.qy.Content,{attributes:t}),(0,s.createElement)(u.Z0.Content,{attributes:t},(0,s.createElement)(u.e4.Content,{className:d,attributes:t},(0,s.createElement)("div",{className:m},(0,s.createElement)(b.InnerBlocks.Content,null)))))},E=(0,a(3749).compose)((0,f.kY)(l.version))(_),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.X2.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.fN.addAttributes(t),u.Z0.addAttributes(t),u.hK.addAttributes(t),u.e4.addAttributes(t),t.add({attributes:{alignVertical:{type:"boolean",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)},w=x(l.version),S=JSON.parse('{"name":"stackable/feature","title":"Feature","description":"Display a product feature or a service in a large area.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var B=a(4247),T=a.n(B);(0,o.addFilter)("stackable.feature.save.contentClassNames","stackable/3.0.2",((e,t)=>{if(1===T()(t.version,"3.0.2"))return e;const a=(0,u.gd)(t.attributes),n=t.attributes.alignVertical?void 0:(0,u.pc)(t.attributes);return{[n]:n,[a]:a}})),(0,o.addFilter)("stackable.feature.save.innerClassNames","stackable/3.0.2",((e,t)=>{if(1===T()(t.version,"3.0.2"))return e;const a=(0,u.NA)(t.attributes);return{"stk-inner-blocks":!0,[a]:a,"stk-block-content":!0}}));const A=[{attributes:x("3.0.2"),save:(0,f.kY)("3.0.2")(_)}],z=(0,o.applyFilters)("stackable.block.metadata",{...S,icon:n.ig,attributes:w,supports:{anchor:!0,align:["center","wide","full"],stkBlockLinking:!1,stkAlign:!0},example:{attributes:{uniqueId:"34ff1fd",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},innerBlockContentAlign:"alignwide",hasContainer:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-horizontal",align:"full"},innerBlocks:[{name:"stackable/column",attributes:{uniqueId:"ac106a4",hasBackground:!1,hasBorders:!1,hasContainer:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"011c500",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h4",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"d5ddfa5",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"2d13b5e",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"37f134b",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},{name:"stackable/column",attributes:{uniqueId:"3ae32a5",hasBackground:!1,hasBorders:!1,hasContainer:!1,columnAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,templateLock:"insert",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/image",attributes:{uniqueId:"366ed12",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?architecture",imageSize:"full",imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnit:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%"},innerBlocks:[]}]}]},deprecated:A,variations:c,edit:C,save:E})},446:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>w});var n=a(4597),l=a(378),i=a(2450);const o={from:[{type:"block",isMultiBlock:!0,blocks:["stackable/text"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/heading",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["stackable/subtitle"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/heading",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/heading",{text:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/heading",{text:t})}))}],to:[{type:"block",isMultiBlock:!0,blocks:["stackable/text"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/text",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["stackable/subtitle"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/subtitle",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/paragraph",{content:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/heading",{content:t})}))},{type:"block",isMultiBlock:!0,blocks:["stackable/icon-label"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlocksFromInnerBlocksTemplate)([["stackable/icon-label",{},i.h.map((e=>("stackable/heading"===e[0]&&(e[1]=t),e)))]])[0]}))}]};var r=a(2610),s=a(7462),c=a(2285),u=a(4678),d=a(6869),m=a(3233),b=a(78);const g=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);t.blockUniqueClassName=(0,u.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n};const i=(0,u.yK)(l,[{selector:".stk-block-heading__top-line",styleRule:"height",attrName:"topLineHeight",format:"%spx"},{selector:".stk-block-heading__top-line",styleRule:"width",attrName:"topLineWidth",hasUnits:"px",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"backgroundColor",attrName:"topLineColor",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"backgroundColor",attrName:"topLineColor",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"marginBottom",attrName:"topLineMargin",responsive:"all",format:"%spx"},{selector:".stk-block-heading__top-line",styleRule:"marginLeft",attrName:"topLineAlign",responsive:"all",valueCallback:e=>"center"===e||"right"===e?"auto":"0"},{selector:".stk-block-heading__top-line",styleRule:"marginRight",attrName:"topLineAlign",responsive:"all",valueCallback:e=>"center"===e||"left"===e?"auto":"0"},{selector:".stk-block-heading__bottom-line",styleRule:"height",attrName:"bottomLineHeight",format:"%spx"},{selector:".stk-block-heading__bottom-line",styleRule:"width",attrName:"bottomLineWidth",hasUnits:"px",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"backgroundColor",attrName:"bottomLineColor",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"backgroundColor",attrName:"bottomLineColor",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"marginTop",attrName:"bottomLineMargin",responsive:"all",format:"%spx"},{selector:".stk-block-heading__bottom-line",styleRule:"marginLeft",attrName:"bottomLineAlign",responsive:"all",valueCallback:e=>"center"===e||"right"===e?"auto":void 0},{selector:".stk-block-heading__bottom-line",styleRule:"marginRight",attrName:"bottomLineAlign",responsive:"all",valueCallback:e=>"center"===e||"left"===e?"auto":void 0}]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.v2.Style,t),(0,r.createElement)(c.Q.Style,(0,s.Z)({},t,{options:{...t.options,verticalAlignRule:"justifyContent"}})),(0,r.createElement)(c.aE.Style,t),(0,r.createElement)(c.wx.Style,t),(0,r.createElement)(c.ZT.Style,(0,s.Z)({},t,{options:{...t.options,selector:".stk-block-heading__text"}})),(0,r.createElement)(m.bg,(0,s.Z)({styles:i,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,r.createElement)(c.ZK.Style,t))};g.defaultProps={isEditor:!1,attributes:{},options:{}},(g.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,u.tJ)(e.attributes.uniqueId);const a=(0,u.Wi)(e.attributes,[{selector:".stk-block-heading__top-line",styleRule:"height",attrName:"topLineHeight",format:"%spx"},{selector:".stk-block-heading__top-line",styleRule:"width",attrName:"topLineWidth",hasUnits:"px",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"backgroundColor",attrName:"topLineColor",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"backgroundColor",attrName:"topLineColor",hover:"all"},{selector:".stk-block-heading__top-line",styleRule:"marginBottom",attrName:"topLineMargin",responsive:"all",format:"%spx"},{selector:".stk-block-heading__top-line",styleRule:"marginLeft",attrName:"topLineAlign",responsive:"all",valueCallback:e=>"center"===e||"right"===e?"auto":"0"},{selector:".stk-block-heading__top-line",styleRule:"marginRight",attrName:"topLineAlign",responsive:"all",valueCallback:e=>"center"===e||"left"===e?"auto":"0"},{selector:".stk-block-heading__bottom-line",styleRule:"height",attrName:"bottomLineHeight",format:"%spx"},{selector:".stk-block-heading__bottom-line",styleRule:"width",attrName:"bottomLineWidth",hasUnits:"px",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"backgroundColor",attrName:"bottomLineColor",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"backgroundColor",attrName:"bottomLineColor",hover:"all"},{selector:".stk-block-heading__bottom-line",styleRule:"marginTop",attrName:"bottomLineMargin",responsive:"all",format:"%spx"},{selector:".stk-block-heading__bottom-line",styleRule:"marginLeft",attrName:"bottomLineAlign",responsive:"all",valueCallback:e=>"center"===e||"right"===e?"auto":void 0},{selector:".stk-block-heading__bottom-line",styleRule:"marginRight",attrName:"bottomLineAlign",responsive:"all",valueCallback:e=>"center"===e||"left"===e?"auto":void 0}]),n=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.v2.Style.Content,t),(0,r.createElement)(c.Q.Style.Content,(0,s.Z)({},t,{options:{...t.options,verticalAlignRule:"justifyContent"}})),(0,r.createElement)(c.aE.Style.Content,t),(0,r.createElement)(c.wx.Style.Content,t),(0,r.createElement)(c.ZT.Style.Content,(0,s.Z)({},t,{options:{...t.options,selector:".stk-block-heading__text"}})),(0,r.createElement)(c.ZK.Style.Content,t),(0,r.createElement)(c.cy.Style.Content,t),(0,r.createElement)(m.bg.Content,(0,s.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,r.renderToString)(n)?(0,r.createElement)("style",null,n):null}).defaultProps={attributes:{},options:{}};var p=a(910),h=a(4184),v=a.n(h),k=a(1951),f=a(8003),y=a(3882);(0,y.addFilter)("editor.Autocomplete.completers","stackable/heading",((e,t)=>"stackable/heading"===t?[...e,(0,u.g7)()]:e));const C=(0,k.dF)((e=>{const{className:t,onReplace:a,clientId:n,setAttributes:i,onRemove:o,mergeBlocks:s}=e;(0,c.i_)(e.attributes);const u=(0,d.WV)(),{parentBlock:b}=(0,d.VG)(),h=(0,c.Qz)(e.attributes),k=(0,c.NA)(e.attributes),C=v()([t,"stk-block-heading",u]),_=v()(["stk-block-heading__text",h,k]);return(0,c.Ld)(!0,!0),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.zT,null),(0,r.createElement)(c.v2.InspectorControls,null),(0,r.createElement)(c.Q.InspectorControls,null),(0,r.createElement)(c.aE.InspectorControls,null),(0,r.createElement)(c.wx.InspectorControls,null),(0,r.createElement)(c.ZT.InspectorControls,{hasRemoveMargins:!0,initialOpen:!0,hasTextShadow:!0}),!!(0,y.applyFilters)("stackable.heading.edit.top-bottom-line.enable-handlers",!0,b)&&(0,r.createElement)(m.Ib,null,(0,r.createElement)(m.SQ,{title:(0,f.__)("Top Line",p.i18n),id:"top-line",hasToggle:!0,checked:e.attributes.showTopLine,onChange:e=>i({showTopLine:e})},(0,r.createElement)(m.Xw,{label:(0,f.__)("Line Color",p.i18n),attribute:"topLineColor",hover:"all"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Width",p.i18n),units:["px","%"],attribute:"topLineWidth",min:"0",sliderMax:[200,100],hover:"all"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Height",p.i18n),attribute:"topLineHeight",min:"0",sliderMax:"20",placeholder:"4"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Margin",p.i18n),attribute:"topLineMargin",responsive:"all",sliderMin:"0",sliderMax:"100"}),(0,r.createElement)(m.d6,{label:(0,f.__)("Align",p.i18n),attribute:"topLineAlign",responsive:"all"})),(0,r.createElement)(m.SQ,{title:(0,f.__)("Bottom Line",p.i18n),id:"bottom-line",hasToggle:!0,checked:e.attributes.showBottomLine,onChange:e=>i({showBottomLine:e})},(0,r.createElement)(m.Xw,{label:(0,f.__)("Line Color",p.i18n),attribute:"bottomLineColor",hover:"all"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Width",p.i18n),units:["px","%"],attribute:"bottomLineWidth",min:0,sliderMax:[200,100],hover:"all"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Height",p.i18n),attribute:"bottomLineHeight",min:"0",sliderMax:"20",placeholder:"4"}),(0,r.createElement)(m.o1,{label:(0,f.__)("Margin",p.i18n),attribute:"bottomLineMargin",responsive:"all",sliderMin:"0",sliderMax:"100"}),(0,r.createElement)(m.d6,{label:(0,f.__)("Align",p.i18n),attribute:"bottomLineAlign",responsive:"all"}))),(0,r.createElement)(c.ZK.InspectorControls,null),(0,r.createElement)(c.mz.InspectorControls,null),(0,r.createElement)(c.qy.InspectorControls,{mainBlockClass:"stk-block-heading"}),(0,r.createElement)(c.Et.InspectorControls,null),(0,r.createElement)(c.fN.InspectorControls,null),(0,r.createElement)(g,{version:p.version}),(0,r.createElement)(c.qy,{mainBlockClass:"stk-block-heading"}),(0,r.createElement)(c.Q,{className:C},e.attributes.showTopLine&&(0,r.createElement)("div",{className:"stk-block-heading__top-line"}),(0,r.createElement)(c.ZT,{defaultTag:"h2",placeholder:(0,f.__)("Title for This Block",p.i18n),className:_,onMerge:s,onRemove:o,onReplace:a,onSplit:(t,a)=>{let i;return i=a||t?(0,l.createBlock)("stackable/heading",{...e.attributes,text:t}):(0,l.createBlock)("stackable/text"),a&&(i.clientId=n),i}}),e.attributes.showBottomLine&&(0,r.createElement)("div",{className:"stk-block-heading__bottom-line"})),(0,r.createElement)(c.cy,null))})),_=(0,a(3749).compose)((0,k.kY)(p.version))((e=>{const{className:t,attributes:a}=e,n=(0,c.ul)(e.attributes),l=(0,c.Qz)(e.attributes),i=(0,c.NA)(e.attributes),o=v()([t,"stk-block-heading",n]),s=v()(["stk-block-heading__text",l,i]);return(0,r.createElement)(c.Q.Content,{className:o,attributes:a},(0,r.createElement)(g.Content,{version:e.version,attributes:a}),(0,r.createElement)(c.qy.Content,{attributes:a}),e.attributes.showTopLine&&(0,r.createElement)("div",{className:"stk-block-heading__top-line"}),(0,r.createElement)(c.ZT.Content,{attributes:a,className:s,defaultTag:"h2"}),e.attributes.showBottomLine&&(0,r.createElement)("div",{className:"stk-block-heading__bottom-line"}))})),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.version;const t=new u.DC;return c.v2.addAttributes(t),c.Q.addAttributes(t),c.bg.addAttributes(t),c.ZK.addAttributes(t),c.mz.addAttributes(t),c.qy.addAttributes(t),c.cy.addAttributes(t),c.Et.addAttributes(t),c.fN.addAttributes(t),c.aE.addAttributes(t),c.wx.addAttributes(t),c.ZT.addAttributes(t,".stk-block-heading__text",{defaultTextTag:"h2"}),t.add({attributes:{showTopLine:{type:"boolean",default:""},topLineWidth:{type:"number",default:"",stkUnits:"px",stkHover:!0},topLineHeight:{type:"number",default:""},topLineColor:{type:"string",default:"",stkHover:!0},topLineMargin:{type:"number",default:"",stkResponsive:!0},topLineAlign:{type:"string",default:"",stkResponsive:!0},showBottomLine:{type:"boolean",default:""},bottomLineWidth:{type:"number",default:"",stkUnits:"px",stkHover:!0},bottomLineHeight:{type:"number",default:""},bottomLineColor:{type:"string",default:"",stkHover:!0},bottomLineMargin:{type:"number",default:"",stkResponsive:!0},bottomLineAlign:{type:"string",default:"",stkResponsive:!0}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(p.version),x=JSON.parse('{"name":"stackable/heading","title":"Heading","description":"Introduce new sections of your content in style.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Title"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/advanced-heading-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),w=(0,y.applyFilters)("stackable.block.metadata",{...x,icon:n.bH,attributes:E,supports:{anchor:!0,align:["center","wide","full"]},edit:C,save:_,example:{attributes:{uniqueId:"7bc983a",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h2",showTopLine:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},transforms:o,merge:(e,t)=>({text:(e.text||"")+((t.hasOwnProperty("content")?t.content:t.text)||"")})})},1348:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>S});var n=a(7462),l=a(2610);a(7294);var i=a(910),o=a(8003),r=a(3882);const s=(0,r.applyFilters)("stackable.hero.variations",[{name:"default",description:(0,o.sprintf)((0,o._x)("%s Layout","Block layout name",i.i18n),(0,o.__)("Default",i.i18n)),isDefault:!0,attributes:{className:"is-style-default",contentAlign:"center",hasContainer:!0},isActive:["className"],pickerTitle:(0,o.__)("Default",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 12H6v23h36V12zM6 10a2 2 0 00-2 2v23a2 2 0 002 2h36a2 2 0 002-2V12a2 2 0 00-2-2H6z"}),(0,l.createElement)("path",{d:"M13 17h21v2H13v-2zM19 27h10v3H19v-3zM11 22h26v2H11v-2z"}))},innerBlocks:[["stackable/heading",{text:(0,o._x)("Title for This Block","Heading placeholder",i.i18n)}],["stackable/text",{text:(0,o._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",i.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,o._x)("Button","Button placeholder",i.i18n)}]]]],scope:["block"]},{name:"horizontal",description:(0,o.sprintf)((0,o._x)("%s Layout","Block layout name",i.i18n),(0,o.__)("Horizontal",i.i18n)),attributes:{className:"is-style-horizontal",hasBackground:!0,blockBackgroundColor:"#FFFFFF",blockPadding:{top:0,right:0,bottom:0,left:0},hasContainer:!1,innerBlockContentAlign:"alignfull",align:"full"},isActive:["className"],pickerTitle:(0,o.__)("Horizontal",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25 12.348h17v22.304H25V12.348zm-2 0H6v22.304h17V12.348zm-19 0C4 11.05 4.895 10 6 10h36c1.105 0 2 1.051 2 2.348v22.304C44 35.95 43.105 37 42 37H6c-1.105 0-2-1.051-2-2.348V12.348z"}),(0,l.createElement)("path",{d:"M9 19h9v2H9v-2zM9 24h6v2H9v-2z"}))},innerBlocks:[["stackable/columns",{innerBlockContentAlign:"alignfull",align:"full",blockMargin:{bottom:0}},[["stackable/column",{containerWidth:450,contentAlign:"left",columnAlign:"center"},[["stackable/heading",{text:(0,o._x)("Title for This Block","Heading placeholder",i.i18n),textTag:"h1"}],["stackable/text",{text:(0,o._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",i.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,o._x)("Button","Button placeholder",i.i18n)}]]]]],["stackable/column",{columnSpacing:{top:0,right:0,bottom:0,left:0}},[["stackable/image",{imageHeight:750,imageWidth:100}]]]]]],scope:["block"]},{name:"half-overlay",description:(0,o.sprintf)((0,o._x)("%s Layout","Block layout name",i.i18n),(0,o.__)("Half Overlay",i.i18n)),isActive:["className"],pickerTitle:(0,o.__)("Half Overlay",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25 12.348h17v22.304H25V12.348zm-21 0C4 11.05 4.895 10 6 10h36c1.105 0 2 1.051 2 2.348v22.304C44 35.95 43.105 37 42 37H6c-1.105 0-2-1.051-2-2.348V12.348zM9 18h9v3H9v-3zm6 6H9v3h6v-3z"}))},isPremium:!i.isPro,scope:["block"]},{name:"center-overlay",description:(0,o.sprintf)((0,o._x)("%s Layout","Block layout name",i.i18n),(0,o.__)("Center Overlay",i.i18n)),isActive:["className"],pickerTitle:(0,o.__)("Center Overlay",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 12H6v23h36V12zM6 10a2 2 0 00-2 2v23a2 2 0 002 2h36a2 2 0 002-2V12a2 2 0 00-2-2H6z"}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 15h26v17H11V15zm7 4h12v3H18v-3zm14 6H16v3h16v-3z"}))},isPremium:!i.isPro,scope:["block"]},{name:"side-overlay",description:(0,o.sprintf)((0,o._x)("%s Layout","Block layout name",i.i18n),(0,o.__)("Side Overlay",i.i18n)),isActive:["className"],pickerTitle:(0,o.__)("Side Overlay",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 12H6v23h36V12zM6 10a2 2 0 00-2 2v23a2 2 0 002 2h36a2 2 0 002-2V12a2 2 0 00-2-2H6z"}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 15h22v17H9V15zm4 4h11v3H13v-3zm14 6H13v3h14v-3z"}))},isPremium:!i.isPro,scope:["block"]},{name:"half",description:(0,o.__)("Half Layout",i.i18n),isActive:["className"],pickerTitle:(0,o.__)("Half",i.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 14a2 2 0 012-2h36a2 2 0 012 2v19a2 2 0 01-2 2H6a2 2 0 01-2-2V14zm6 5h8v3h-8v-3zm12 6H10v3h12v-3z"}),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 17v6h4v7H8V17h12zm22-3H6v19h36V14zm-32 8v-3h8v3h-8zM6 12a2 2 0 00-2 2v19a2 2 0 002 2h36a2 2 0 002-2V14a2 2 0 00-2-2H6zm16 13v3H10v-3h12z"}))},isPremium:!i.isPro,scope:["block"]}]),c=JSON.parse('{"name":"stackable/hero","title":"Hero","description":"A large hero area. Typically used at the very top of a page.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Header"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}');var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g={sizeSelector:".stk-block-hero__content",sizeHorizontalAlignRule:"margin"},p=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:i}=(0,b.useBlockEditContext)(),o=(0,d.kX)(i);return t.blockUniqueClassName=(0,m.tJ)(o.uniqueId),t.deviceType=a,t.attributes={...o,clientId:i},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(u.v2.Style,t),(0,l.createElement)(u.Q.Style,t),(0,l.createElement)(u.aE.Style,t),(0,l.createElement)(u.wx.Style,t),(0,l.createElement)(u.ZK.Style,t),(0,l.createElement)(u.e4.Style,(0,n.Z)({},t,{options:g})),(0,l.createElement)(u.cy.Style,t),(0,l.createElement)(u.Z0.Style,t),(0,l.createElement)(u.hK.Style,t))};p.defaultProps={isEditor:!1},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(u.v2.Style.Content,t),(0,l.createElement)(u.Q.Style.Content,t),(0,l.createElement)(u.aE.Style.Content,t),(0,l.createElement)(u.wx.Style.Content,t),(0,l.createElement)(u.ZK.Style.Content,t),(0,l.createElement)(u.e4.Style.Content,(0,n.Z)({},t,{options:g})),(0,l.createElement)(u.cy.Style.Content,t),(0,l.createElement)(u.Z0.Style.Content,t),(0,l.createElement)(u.hK.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{}};var h=a(8085),v=a(4184),k=a.n(v),f=a(3233),y=a(1951);const C=s[0].innerBlocks,_=(0,y.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:n}=(0,d.VG)(),o=(0,u.NA)(e.attributes),r=(0,d.WV)(),s=(0,u.HI)(e.attributes),c=k()([t,"stk-block-hero",r,s,"stk-content-align"]),m=k()(["stk-block-content","stk-inner-blocks",o,"stk-block-hero__content"],(0,u.h5)(e.attributes)),g=(0,l.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,h.last)(n))||void 0===e?void 0:e.name)?()=>(0,l.createElement)(l.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[a,n]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(f.zT,null),(0,l.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,l.createElement)(u.Q.InspectorControls,null),(0,l.createElement)(u.Z0.InspectorControls,null),(0,l.createElement)(u.aE.InspectorControls,null),(0,l.createElement)(u.wx.InspectorControls,null),(0,l.createElement)(u.ZK.InspectorControls,null),(0,l.createElement)(u.mz.InspectorControls,null),(0,l.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-hero"}),(0,l.createElement)(u.Et.InspectorControls,null),(0,l.createElement)(u.fN.InspectorControls,null),(0,l.createElement)(u.hK.InspectorControls,null),(0,l.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,l.createElement)(f.Ib,null,(0,l.createElement)(f.t7,null)),(0,l.createElement)(u.Q,{className:c,enableVariationPicker:!0},(0,l.createElement)(p,{version:i.version}),(0,l.createElement)(u.qy,{mainBlockClass:"stk-block-hero"}),(0,l.createElement)(u.Z0,null,(0,l.createElement)(u.e4,{className:m},(0,l.createElement)(b.InnerBlocks,{template:C,templateLock:!1,renderAppender:g})))),a&&(0,l.createElement)(u.cy,null))})),E=(0,a(3749).compose)((0,y.kY)(i.version))((e=>{const{attributes:t,className:a}=e,n=(0,u.NA)(t),i=(0,u.HI)(t),o=(0,u.ul)(t),r=k()([a,"stk-block-hero",o,i]),s=k()(["stk-block-hero__content"],(0,u.gd)(t)),c=k()(["stk-block-content","stk-inner-blocks",n]);return(0,l.createElement)(u.Q.Content,{className:r,attributes:t},(0,l.createElement)(p.Content,{version:e.version,attributes:t}),(0,l.createElement)(u.qy.Content,{attributes:t}),(0,l.createElement)(u.Z0.Content,{attributes:t},(0,l.createElement)(u.e4.Content,{className:s,attributes:t},(0,l.createElement)("div",{className:c},(0,l.createElement)(b.InnerBlocks.Content,null)))))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.cy.addAttributes(t),u.e4.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.fN.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.Z0.addAttributes(t),u.hK.addAttributes(t),t.addDefaultValues({attributes:{hasContainer:!0,contentAlign:"center",containerHeight:500,containerVerticalAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(i.version);var w=a(4597);const S=(0,r.applyFilters)("stackable.block.metadata",{...c,icon:w.eV,attributes:x,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"c5a87cb",hasBackground:!1,hasBorders:!1,hasContainer:!0,containerBackgroundColor:"#000000",containerHeight:500,containerVerticalAlign:"center",contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"ab8669f",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textColorClass:"has-white-color",textColor1:"#FFFFFF",hasP:!1,show:!0,showText:!0,text:"Header Title",textTag:"h2",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"49b0171",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textColorClass:"has-white-color",textColor1:"#FFFFFF",hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"869a544",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"12e2b68",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:s,edit:_,save:E})},6479:(e,t,a)=>{"use strict";a.d(t,{h:()=>g,Z:()=>p});var n=a(2610),l=a(3756),i=a(910),o=a(8085),r=a(4184),s=a.n(r),c=a(3233),u=a(2285),d=a(6869),m=a(1951),b=a(78);const g=[["stackable/icon-label",{},[["stackable/icon",{contentAlign:"left"}],["stackable/heading",{text:(0,a(8003).__)("Icon Box"),hasP:!0,textTag:"h4"}]]],["stackable/text",{text:"Description for this block. Use this space for describing your block."}]],p=(0,m.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:r}=(0,d.VG)(),m=(0,u.NA)(e.attributes),p=(0,d.WV)(),h=s()([t,"stk-block-icon-box",p]),v=s()(["stk-block-content","stk-inner-blocks",m,"stk-block-icon-box__content"]),k=(0,n.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,o.last)(r))||void 0===e?void 0:e.name)?()=>(0,n.createElement)(n.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[a,r]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.zT,null),(0,n.createElement)(u.v2.InspectorControls,null),(0,n.createElement)(u.Q.InspectorControls,null),(0,n.createElement)(u.aE.InspectorControls,null),(0,n.createElement)(u.wx.InspectorControls,null),(0,n.createElement)(u.yG.InspectorControls,null),(0,n.createElement)(u.ZK.InspectorControls,null),(0,n.createElement)(u.mz.InspectorControls,null),(0,n.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-icon-box"}),(0,n.createElement)(u.Et.InspectorControls,null),(0,n.createElement)(u.fN.InspectorControls,null),(0,n.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,n.createElement)(c.Ib,null,(0,n.createElement)(c.t7,null)),(0,n.createElement)(u.Q,{className:h},(0,n.createElement)(l.x,{version:i.version}),(0,n.createElement)(u.qy,{mainBlockClass:"stk-block-icon-box"}),(0,n.createElement)(u.e4,{className:v},(0,n.createElement)(b.InnerBlocks,{template:g,templateLock:!1,renderAppender:k}))),(0,n.createElement)(u.cy,null))}))},5067:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>v});const n=JSON.parse('{"name":"stackable/icon-box","title":"Icon Box","description":"A small text area with an icon that can be used to summarize features or services","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section"}');var l=a(6479),i=a(2610),o=a(3756),r=a(910),s=a(1951),c=a(4184),u=a.n(c),d=a(2285),m=a(78);const b=(0,a(3749).compose)((0,s.kY)(r.version))((e=>{const{attributes:t,className:a}=e,n=(0,d.NA)(t),l=(0,d.ul)(t),r=u()([a,"stk-block-icon-box",l]),s=u()(["stk-block-content","stk-inner-blocks",n,"stk-block-icon-box__content"]);return(0,i.createElement)(d.Q.Content,{className:r,attributes:t},(0,i.createElement)(o.x.Content,{version:e.version,attributes:t}),(0,i.createElement)(d.qy.Content,{attributes:t}),(0,i.createElement)(d.e4.Content,{className:s,attributes:t},(0,i.createElement)(m.InnerBlocks.Content,null),(0,i.createElement)(d.yG.Content,{attributes:t})))}));var g=a(4678);const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.version;const t=new g.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.cy.addAttributes(t),d.e4.addAttributes(t),d.v2.addAttributes(t),d.aE.addAttributes(t),d.wx.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.fN.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),d.yG.addAttributes(t),t.getMerged(e)}(r.version);var h=a(4597);a(8003);const v=(0,a(3882).applyFilters)("stackable.block.metadata",{...n,icon:h.Hi,attributes:p,supports:{anchor:!0,html:!1,align:!0},example:{attributes:{uniqueId:"18a7284",hasBackground:!1,hasBorders:!1,hasContainer:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon-label",attributes:{uniqueId:"cb769fc",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon",attributes:{uniqueId:"7133826",hasBackground:!1,hasBorders:!1,contentAlign:"left",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"2e38fc1",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!0,show:!0,showText:!0,text:"Icon Box",textTag:"h4",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},{name:"stackable/text",attributes:{uniqueId:"622267b",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},edit:l.Z,save:b})},3756:(e,t,a)=>{"use strict";a.d(t,{x:()=>u});var n=a(7462),l=a(2610),i=a(2285),o=a(6869),r=a(4678),s=a(78);const c={sizeSelector:".stk-block-icon-box__content",sizeHorizontalAlignRule:"margin"},u=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:u}=(0,s.useBlockEditContext)(),d=(0,o.kX)(u);return t.blockUniqueClassName=(0,r.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:u},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t),(0,l.createElement)(i.e4.Style,(0,n.Z)({},t,{options:c})),(0,l.createElement)(i.cy.Style,t))};u.defaultProps={isEditor:!1},u.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.e4.Style.Content,(0,n.Z)({},t,{options:c})),(0,l.createElement)(i.cy.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null},u.Content.defaultProps={attributes:{}}},2770:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>A});var n=a(2610),l=a(4184),i=a.n(l),o=a(910),r=a(3233),s=a(2285),c=a(6869),u=a(1951),d=a(8003),m=a(7462),b=a(4678),g=a(78);const p={selector:".stk-button",hoverSelector:".stk-button:hover",textSelector:".stk-button__inner-text",textHoverSelector:".stk-button:hover .stk-button__inner-text"},h=e=>{const{...t}=e,a=(0,c.hU)(),{clientId:l}=(0,g.useBlockEditContext)(),i=(0,c.kX)(l);return t.blockUniqueClassName=(0,b.tJ)(i.uniqueId),t.deviceType=a,t.attributes={...i,clientId:l},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.Q.Style,t),(0,n.createElement)(s.aE.Style,t),(0,n.createElement)(s.wx.Style,t),(0,n.createElement)(s.zx.Style,(0,m.Z)({},t,{options:p})),(0,n.createElement)(s.ZK.Style,t))};h.defaultProps={isEditor:!1,attributes:{},options:{}},(h.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,b.tJ)(t.attributes.uniqueId);const a=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.Q.Style.Content,t),(0,n.createElement)(s.aE.Style.Content,t),(0,n.createElement)(s.wx.Style.Content,t),(0,n.createElement)(s.zx.Style.Content,(0,m.Z)({},t,{options:p})),(0,n.createElement)(s.ZK.Style.Content,t));return(0,n.renderToString)(a)?(0,n.createElement)("style",null,a):null}).defaultProps={attributes:{},options:{}},a(7294);const v=["normal","hover","parent-hover"],k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return(0,b.UX)(e,"Desktop",t)},f=e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[k(t,a)]};let a={buttonBorderType:""};return v.forEach((e=>{a={...a,[k("buttonBackgroundColor",e)]:"transparent"!==t("buttonBackgroundColor",e)?t("buttonBackgroundColor",e):t("iconColor1",e),[k("iconColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?void 0:t("iconColor1",e),[k("buttonWidth",e)]:void 0}})),a},y=[{name:"default",label:(0,d.__)("Default",o.i18n),isDefault:!0,icon:function(e){return(0,n.createElement)("svg",(0,m.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M5 31V17h38v14H5zm12-8h20v2H17v-2zm-4 0h-2v2h2v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:f},{name:"ghost",label:(0,d.__)("Ghost",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,m.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M41 19H7v10h34V19zm2-2H5v14h38V17zm-26 6h20v2H17v-2zm-4 0h-2v2h2v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[k(t,a)]};let a={buttonBackgroundColorType:"",buttonBorderType:"solid"};return v.forEach((e=>{a={...a,[k("buttonBorderColor",e)]:"transparent"===t("buttonBackgroundColor",e)?t("iconColor1",e):t("buttonBackgroundColor",e),[k("buttonBackgroundColor",e)]:"transparent",[k("iconColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("buttonBorderType",e)?t("buttonBorderColor",e):t("iconColor1",e):t("buttonBackgroundColor",e)}})),a}},{name:"pill",label:(0,d.__)("Pill",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,m.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M5 24a7 7 0 017-7h24a7 7 0 110 14H12a7 7 0 01-7-7zm12-1h20v2H17v-2zm-4 0h-2v2h2v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:f},{name:"plain",label:(0,d.__)("Plain",o.i18n),icon:function(e){return(0,n.createElement)("svg",(0,m.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M13 23h-2v2h2v-2zm24 0H17v2h20v-2z",fillRule:"evenodd",clipRule:"evenodd"}))},onSelect:e=>{const t=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return e[k(t,a)]};let a={buttonBackgroundColorType:"",buttonBorderType:""};return v.forEach((e=>{a={...a,[k("iconColor1",e)]:"transparent"===t("buttonBackgroundColor",e)?t("iconColor1",e):t("buttonBackgroundColor",e),[k("buttonBackgroundColor",e)]:"transparent"}})),a}}],C=(0,u.dF)((e=>{const{className:t}=e;(0,s.i_)(e.attributes);const a=(0,c.WV)(),l=s.mz.getCustomAttributes(e.attributes),u=i()([t,"stk-block-icon-button",a]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(r.zT,null),(0,n.createElement)(s.Q.InspectorControls,null),(0,n.createElement)(s.QW.InspectorControls,{styles:y},(0,n.createElement)(s.zx.InspectorControls.HoverEffects,null)),(0,n.createElement)(s.zx.InspectorControls.Link,null),(0,n.createElement)(s.zx.InspectorControls.Colors,{hasTextColor:!1,hasIconColor:!0}),(0,n.createElement)(s.zx.InspectorControls.Icon,{hasColor:!1}),(0,n.createElement)(s.zx.InspectorControls.Size,{hasWidth:!0}),(0,n.createElement)(s.zx.InspectorControls.Borders,{borderSelector:".stk-button",placeholder:"24"}),(0,n.createElement)(s.aE.InspectorControls,null),(0,n.createElement)(s.wx.InspectorControls,null),(0,n.createElement)(s.ZK.InspectorControls,null),(0,n.createElement)(s.mz.InspectorControls,null),(0,n.createElement)(s.qy.InspectorControls,{mainBlockClass:"stk-block-icon-button"}),(0,n.createElement)(s.Et.InspectorControls,null),(0,n.createElement)(s.fN.InspectorControls,null),(0,n.createElement)(h,{version:o.version}),(0,n.createElement)(s.qy,{mainBlockClass:"stk-block-icon-button"}),(0,n.createElement)(s.Q,{className:u,applyAdvancedAttributes:!1,applyCustomAttributes:!1},(0,n.createElement)(s.zx,{linkTrigger:".stk--inner-svg",buttonProps:{id:e.attributes.anchor||void 0,...l}})))})),_=(0,a(3749).compose)((0,u.kY)(o.version))((e=>{const{className:t,...a}=e,l=(0,s.ul)(e.attributes),o=s.mz.getCustomAttributes(e.attributes),r=i()([t,"stk-block-icon-button",l]);return(0,n.createElement)(s.Q.Content,{className:r,attributes:e.attributes,applyAdvancedAttributes:!1,applyCustomAttributes:!1},(0,n.createElement)(h.Content,a),(0,n.createElement)(s.qy.Content,{attributes:e.attributes}),(0,n.createElement)(s.zx.Content,(0,m.Z)({},a,{attributes:e.attributes,buttonProps:{id:e.attributes.anchor||void 0,...o}})))})),E='<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.version;const t=new b.DC;return s.Q.addAttributes(t),s.bg.addAttributes(t),s.ZK.addAttributes(t),s.mz.addAttributes(t),s.qy.addAttributes(t),s.Et.addAttributes(t),s.fN.addAttributes(t),s.aE.addAttributes(t),s.wx.addAttributes(t),s.zx.addAttributes(t,{selector:".stk-button"}),t.addDefaultValues({attributes:{icon:E},versionAdded:"3.0.0",versionDeprecarted:""}),t.getMerged(e)}(o.version),w=JSON.parse('{"name":"stackable/icon-button","title":"Icon Button","description":"Add a customizable button.","category":"layout","usesContext":["postId","postType","queryId"],"parent":["stackable/button-group"],"keywords":["Link"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"hidden"}');var S=a(378);const B={from:[{type:"block",isMultiblock:!1,blocks:["stackable/button"],transform:e=>(0,S.createBlock)("stackable/icon-button",{...e,icon:e.icon||E})}]};var T=a(4597);const A=(0,a(3882).applyFilters)("stackable.block.metadata",{...w,icon:T.z6,attributes:x,supports:{anchor:!0},transforms:B,edit:C,save:_})},2450:(e,t,a)=>{"use strict";a.d(t,{h:()=>g,Z:()=>p});var n=a(2610),l=a(7540),i=a(910),o=a(4184),r=a.n(o),s=a(3233),c=a(2285),u=a(1951),d=a(78),m=a(8003),b=a(3882);const g=[["stackable/icon",{contentAlign:"left"}],["stackable/heading",{text:(0,m.__)("Icon Label"),hasP:!0,textTag:"h4"}]],p=(0,u.dF)((e=>{const{className:t,attributes:a,clientId:o}=e;(0,c.i_)(e.attributes);const u=(0,c.pc)(a),b=(0,c.NA)(a),p=r()([t,"stk-block-icon-label",u]),h=r()(["stk-inner-blocks",b,"stk-block-content"]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.zT,null),(0,n.createElement)(c.v2.InspectorControls,null),(0,n.createElement)(c.Q.InspectorControls,null),(0,n.createElement)(s.Ib,null,(0,n.createElement)(s.SQ,{title:(0,m.__)("General",i.i18n),id:"general",initialOpen:!0},(0,n.createElement)(s.o1,{label:(0,m.__)("Icon Gap"),attribute:"iconGap",responsive:"all",min:0,sliderMax:300,placeholder:"64"}))),(0,n.createElement)(c.aE.InspectorControls,null),(0,n.createElement)(c.wx.InspectorControls,null),(0,n.createElement)(c.ZK.InspectorControls,null),(0,n.createElement)(c.mz.InspectorControls,null),(0,n.createElement)(c.qy.InspectorControls,{mainBlockClass:"stk-block-icon-label"}),(0,n.createElement)(c.Et.InspectorControls,null),(0,n.createElement)(c.fN.InspectorControls,null),(0,n.createElement)(s.Ib,null,(0,n.createElement)(s.t7,null)),(0,n.createElement)(l.h,{version:i.version}),(0,n.createElement)(c.qy,{mainBlockClass:"stk-block-icon-label"}),(0,n.createElement)(c.Q,{className:p},(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:h},(0,n.createElement)(d.InnerBlocks,{orientation:"horizontal",template:g,templateLock:"insert",templateInsertUpdatesSelection:!0})))),(0,n.createElement)(c.cy,{previewSelector:`[data-block="${o}"] > .stk-block`}))}));(0,b.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/icon-label",((e,t)=>"stackable/icon-label"!==(null==t?void 0:t.name)&&e)),(0,b.addFilter)("stackable.heading.edit.top-bottom-line.enable-handlers","stackable/icon-label",((e,t)=>"stackable/icon-label"!==(null==t?void 0:t.name)&&e))},5391:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>v});var n=a(4597),l=a(2450),i=a(2610),o=a(7540),r=a(4184),s=a.n(r),c=a(1951),u=a(910),d=a(2285),m=a(78);const b=(0,a(3749).compose)((0,c.kY)(u.version))((e=>{const{attributes:t,className:a}=e,n=(0,d.pc)(t),l=(0,d.NA)(t),r=(0,d.ul)(t),c=s()([a,"stk-block-icon-label",r]),u=s()([n,"stk-inner-blocks",l,"stk-block-content"]);return(0,i.createElement)(d.Q.Content,{className:c,attributes:t},(0,i.createElement)(o.h.Content,{version:e.version,attributes:t}),(0,i.createElement)(d.qy.Content,{attributes:t}),(0,i.createElement)("div",{className:u},(0,i.createElement)(m.InnerBlocks.Content,null)))}));var g=a(4678);const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.version;const t=new g.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.cy.addAttributes(t),d.X2.addAttributes(t),d.aE.addAttributes(t),d.wx.addAttributes(t),d.v2.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),d.fN.addAttributes(t),t.add({attributes:{iconGap:{type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(u.version),h=JSON.parse('{"name":"stackable/icon-label","title":"Icon Label","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}'),v=(0,a(3882).applyFilters)("stackable.block.metadata",{...h,icon:n.Ux,attributes:p,supports:{anchor:!0,align:["center","wide","full"],stkBlockLinking:!1},example:{attributes:{uniqueId:"655525d",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon",attributes:{uniqueId:"a732e98",hasBackground:!1,hasBorders:!1,contentAlign:"left",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"749b033",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!0,show:!0,showText:!0,text:"Icon Label",textTag:"h4",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},edit:l.Z,save:b})},7540:(e,t,a)=>{"use strict";a.d(t,{h:()=>u});var n=a(7462),l=a(2610),i=a(2285),o=a(3233),r=a(6869),s=a(4678),c=a(78);const u=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:u}=(0,c.useBlockEditContext)(),d=(0,r.kX)(u);t.blockUniqueClassName=(0,s.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:u};const m=(0,s.yK)(d,[{renderIn:"save",selector:".stk-block-icon",attrName:"iconGap",styleRule:"flexBasis",format:"%spx",responsive:"all"},{renderIn:"edit",selector:'.stk-inner-blocks [data-block][data-type="stackable/icon"]',attrName:"iconGap",styleRule:"flexBasis",format:"%spx",responsive:"all"}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.sg.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t),(0,l.createElement)(o.bg,(0,n.Z)({styles:m,versionAdded:"3.0.0",versionDeprecated:""},t)))};u.defaultProps={isEditor:!1},u.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,s.tJ)(e.attributes.uniqueId);const a=(0,s.Wi)(t.attributes,[{renderIn:"save",selector:".stk-block-icon",attrName:"iconGap",styleRule:"flexBasis",format:"%spx",responsive:"all"},{renderIn:"edit",selector:'.stk-inner-blocks [data-block][data-type="stackable/icon"]',attrName:"iconGap",styleRule:"flexBasis",format:"%spx",responsive:"all"}]),r=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.sg.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t),(0,l.createElement)(o.bg.Content,(0,n.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(r)?(0,l.createElement)("style",null,r):null},u.Content.defaultProps={attributes:{}}},8851:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>R});var n=a(4597),l=a(2610),i=a(7462),o=a(4678),r=a(8085),s=a(78),c=a(7537),u=a(2413),d=a(1984),m=a(9928),b=a(8849),g=a(5307),p=a(8341),h=a(8003);const v='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190"><polygon points="173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"/></svg>',k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e;if(e||(n=v),"string"==typeof e&&2===e.split("-").length){const[t,a]=e.split("-");n=(0,o.FE)(t,a)}const l=(0,o.I9)(n);if(l){const e=l.querySelectorAll("*");if(t){let n=t;if(t.match(/#([\d\w]{6})/g))n=t.match(/#([\d\w]{6})/g)[0];else if(t.match(/var\((.*)?--[\w\d-_]+/g)){const e=t.match(/--[\w\d-_]+/g)[0];try{n=window.getComputedStyle(document.documentElement).getPropertyValue(e)||t}catch(e){n=t}}e.forEach((e=>{e&&!["DEFS","TITLE","DESC"].includes(e.tagName)&&(e.setAttribute("fill",n),e.setAttribute("stroke",n),e.style.fill=n,e.style.stroke=n)}));const i=Object.keys(a).map((e=>void 0!==a[e]&&""!==a[e]?`${(0,r.kebabCase)(e)}: ${a[e]} !important;`:"")).join("");l.setAttribute("style",`fill: ${n} !important; color: ${n} !important;`+i)}const n=(new XMLSerializer).serializeToString(l);return window.btoa(n)}};var f=a(2285),y=a(6869),C=a(3233);const _={selector:["ul li","ol li"],hoverSelector:[".%s:hover ul li",".%s:hover ol li"]},E=e=>[...Object.keys((null==e?void 0:e.attributes.icons)||{}).reduce(((e,t)=>[...e,{renderIn:"edit",selector:t,hover:"all",hoverSelector:".%s:hover "+t,styleRule:"listStyleImage",attrName:"markerColor",valuePreCallback:(e,a,n,l)=>{var i;const o=a("iconRotation"),r=a("iconOpacity","desktop",l);if("normal"!==l&&!e&&!o&&!r)return;const s=`rotate(${o+"deg"})`;return`url('data:image/svg+xml;base64,${k(null===(i=a("icons"))||void 0===i?void 0:i[t],e||"#000",{transform:s,opacity:r})}')`},dependencies:["icons","iconRotation"]},{renderIn:"save",selector:t,hover:"all",hoverSelector:".%s:hover "+t,styleRule:"listStyleImage",attrName:"markerColor",valuePreCallback:(e,a,n,l)=>{var i;const o=a("iconRotation"),r=a("iconOpacity","desktop",l);if("normal"!==l&&!e&&!o&&!r)return;const s=`rotate(${o+"deg"})`;return`url('data:image/svg+xml;base64,${k(null===(i=a("icons"))||void 0===i?void 0:i[t],e||"#000",{transform:s,opacity:r})}')`},dependencies:["icons","iconRotation"]}]),[]),{selector:"li",styleRule:"paddingInlineStart",attrName:"iconGap",responsive:"all",format:"%spx"},{selector:"ol",styleRule:"listStyleType",attrName:"listType"},{selector:"",styleRule:"columnCount",attrName:"columns",responsive:"all"},{selector:"",styleRule:"columnGap",attrName:"columnGap",responsive:"all",format:"%spx"},{selector:"li",styleRule:"marginBottom",attrName:"rowGap",responsive:"all",format:"%spx"},{selector:["ul","ol"],styleRule:"paddingLeft",attrName:"indentation",responsive:"all",format:"%spx"},{selector:"ul li",hover:"all",hoverSelector:".%s:hover li",styleRule:"listStyleImage",attrName:"markerColor",valuePreCallback:(e,t,a,n)=>{const l=t("icon"),i=t("iconRotation"),o=t("iconOpacity","desktop",n);if(("normal"===n||e||i||o)&&l)return`url('data:image/svg+xml;base64,${k(l,e||"#000",{transform:`rotate(${i+"deg"})`,opacity:o})}')`},dependencies:["icon","iconRotation","iconOpacity"]},{selector:"li::marker",hover:"all",hoverSelector:".%s:hover li::marker",styleRule:"color",attrName:"markerColor"},{selector:"li::marker",styleRule:"fontSize",attrName:"iconSize",responsive:"all",format:"%sem"},{renderIn:"edit",selector:"",styleRule:"--stk-icon-height",attrName:"iconSize",responsive:"all",format:"%sem"},{selector:["li"],styleRule:"marginInline",attrName:"listAlignment",responsive:"all",valueCallback:e=>"center"===e?"auto":"right"===e?"auto 0":"left"===e?"0 auto":""}],x=e=>{const{...t}=e,a=(0,y.hU)(),{clientId:n}=(0,s.useBlockEditContext)(),r=(0,y.kX)(n);t.blockUniqueClassName=(0,o.tJ)(r.uniqueId),t.deviceType=a,t.attributes={...r,clientId:n};const c={attributes:t.attributes},u=(0,o.yK)(r,E(c));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(f.v2.Style,t),(0,l.createElement)(f.ZT.Style,(0,i.Z)({},t,{options:_})),(0,l.createElement)(f.cy.Style,t),(0,l.createElement)(f.Q.Style,t),(0,l.createElement)(f.ZK.Style,t),(0,l.createElement)(f.aE.Style,t),(0,l.createElement)(f.wx.Style,t),(0,l.createElement)(C.bg,(0,i.Z)({styles:u,versionAdded:"3.0.0",versionDeprecated:""},t)))};x.defaultProps={attributes:{},options:{}},(x.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,o.tJ)(e.attributes.uniqueId);const a={attributes:t.attributes},n=(0,o.Wi)(t.attributes,E(a)),r=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(f.v2.Style.Content,t),(0,l.createElement)(f.ZT.Style.Content,(0,i.Z)({},t,{options:_})),(0,l.createElement)(f.cy.Style.Content,t),(0,l.createElement)(f.Q.Style.Content,t),(0,l.createElement)(f.ZK.Style.Content,t),(0,l.createElement)(f.aE.Style.Content,t),(0,l.createElement)(f.wx.Style.Content,t),(0,l.createElement)(C.bg.Content,(0,i.Z)({styles:n,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(r)?(0,l.createElement)("style",null,r):null}).defaultProps={attributes:{},options:{}};var w=a(4184),S=a.n(w),B=a(910),T=a(1951),A=a(3284);const z=[{label:(0,h.__)("Number",B.i18n),value:"decimal"},{label:(0,h.__)("Padded Number",B.i18n),value:"decimal-leading-zero"},{label:(0,h.__)("Lowercase Roman",B.i18n),value:"lower-roman"},{label:(0,h.__)("Uppercase Roman",B.i18n),value:"upper-roman"},{label:(0,h.__)("Lowercase Letters",B.i18n),value:"lower-alpha"},{label:(0,h.__)("Uppercase Letters",B.i18n),value:"upper-alpha"}],N=(0,T.dF)((e=>{const t=(0,l.useRef)(),a=(0,l.useRef)(),[n,i]=(0,l.useState)(!1),[o,r]=(0,l.useState)(null),[v,k]=(0,l.useState)(null),[_,E]=(0,l.useState)(null),{isTyping:w}=(0,A.useSelect)((e=>({isTyping:e("core/block-editor").isTyping()}))),T=(0,l.useCallback)((e=>{if(E(e),"LI"!==e.target.tagName||"UL"!==e.target.parentElement.tagName)return i(!1);if(e.offsetX<=2){const t=Array.from(e.target.parentElement.children).indexOf(e.target)+1,{currentlyOpenIndex:a}=e.target.parentElement;if(a&&a===t)return e.target.parentElement.currentlyOpenIndex=void 0,i(!1);e.target.parentElement.currentlyOpenIndex=t;let n=e.target,l=null;for(;"DIV"!==n.tagName;){for(let e=0;e<Array.from(n.parentElement.childNodes).length;e++)if(n.parentElement.childNodes[e]===n&&null===l){l=e+1;break}n=n.parentElement}return k(`ul li:nth-child(${l})`),r(e.target),i(!0)}return e.target.parentElement.currentlyOpenIndex=void 0,r(null),i(!1)}),[E,k,r,i]);(0,l.useEffect)((()=>(t.current.addEventListener("click",T),()=>{t.current&&t.current.removeEventListener("click",T)})),[T,t.current]);const{attributes:N,setAttributes:M,className:I,isSelected:H,onRemove:U,mergeBlocks:R}=e;(0,f.i_)(e.attributes);const{ordered:L}=N,P=L?"ol":"ul",F=(0,y.WV)(),O=(0,f.Qz)(N),D=(0,f.NA)(N),Z=S()([I,"stk-block-icon-list",D,F,O]),V=(0,l.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{isSelected:t,tagName:a,setAttributes:n}=e;return e=>{let{value:i,onChange:o,onFocus:r}=e;return(0,l.createElement)(l.Fragment,null,t&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.RichTextShortcut,{type:"primary",character:"[",onUse:()=>{o((0,u.__unstableOutdentListItems)(i))}}),(0,l.createElement)(s.RichTextShortcut,{type:"primary",character:"]",onUse:()=>{o((0,u.__unstableIndentListItems)(i,{type:a}))}}),(0,l.createElement)(s.RichTextShortcut,{type:"primary",character:"m",onUse:()=>{o((0,u.__unstableIndentListItems)(i,{type:a}))}}),(0,l.createElement)(s.RichTextShortcut,{type:"primaryShift",character:"m",onUse:()=>{o((0,u.__unstableOutdentListItems)(i))}})),(0,l.createElement)(s.BlockControls,{group:"block"},(0,l.createElement)(c.ToolbarButton,{icon:(0,l.createElement)(d.Z,{icon:(0,h.isRTL)()?m.Z:b.Z,size:24}),title:(0,h.__)("Unordered"),describedBy:(0,h.__)("Convert to unordered list"),isActive:(0,u.__unstableIsActiveListType)(i,"ul",a),onClick:()=>{o((0,u.__unstableChangeListType)(i,{type:"ul"})),r(),(0,u.__unstableIsListRootSelected)(i)&&n({ordered:!1})}}),(0,l.createElement)(c.ToolbarButton,{icon:(0,l.createElement)(d.Z,{icon:(0,h.isRTL)()?g.Z:p.Z,size:24}),title:(0,h.__)("Ordered"),describedBy:(0,h.__)("Convert to ordered list"),isActive:(0,u.__unstableIsActiveListType)(i,"ol",a),onClick:()=>{o((0,u.__unstableChangeListType)(i,{type:"ol"})),r(),(0,u.__unstableIsListRootSelected)(i)&&n({ordered:!0})}})))}}({isSelected:H,tagName:P,setAttributes:M}),[H,P,M]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(C.zT,null),(0,l.createElement)(f.v2.InspectorControls,null),(0,l.createElement)(f.Q.InspectorControls,null),(0,l.createElement)(C.Ib,null,(0,l.createElement)(C.SQ,{title:(0,h.__)("General",B.i18n),initialOpen:!0,id:"general"},(0,l.createElement)(C.o1,{label:(0,h.__)("Columns",B.i18n),attribute:"columns",min:"1",sliderMax:"3",step:"1",placeholder:"1",responsive:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Column Gap",B.i18n),attribute:"columnGap",min:"0",sliderMax:"50",responsive:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Row Gap",B.i18n),attribute:"rowGap",min:"0",sliderMax:"50",responsive:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Icon Gap",B.i18n),attribute:"iconGap",min:"0",sliderMax:"20",responsive:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Indentation",B.i18n),attribute:"indentation",min:"0",sliderMax:"50",responsive:"all",placeholder:""}),(0,l.createElement)(C.d6,{label:(0,h.__)("List Alignment",B.i18n),attribute:"listAlignment",responsive:"all"}))),(0,l.createElement)(C.Ib,null,(0,l.createElement)(C.SQ,{title:(0,h.__)("Icons & Numbers",B.i18n),initialOpen:!1,id:"icon-and-markers"},(0,l.createElement)(C.b_,{label:(0,h.__)("Icon",B.i18n),value:N.icon,onChange:e=>{M({icon:e,icons:[]})}}),(0,l.createElement)(C.qD,{label:(0,h.__)("List Type",B.i18n),attribute:"listType",options:z}),(0,l.createElement)(C.Xw,{label:(0,h.__)("Color",B.i18n),attribute:"markerColor",hover:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Icon / Number Size",B.i18n),attribute:"iconSize",min:0,max:5,step:.1,allowReset:!0,responsive:"all",placeholder:"1"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Icon Opacity",B.i18n),attribute:"iconOpacity",min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",hover:"all"}),(0,l.createElement)(C.o1,{label:(0,h.__)("Icon Rotation",B.i18n),attribute:"iconRotation",min:0,max:360,allowReset:!0,placeholder:"0"}))),(0,l.createElement)(f.ZT.InspectorControls,{isMultiline:!0,initialOpen:!1,hasTextTag:!1,hasTextContent:!1}),(0,l.createElement)(f.aE.InspectorControls,null),(0,l.createElement)(f.wx.InspectorControls,null),(0,l.createElement)(f.ZK.InspectorControls,null),(0,l.createElement)(f.mz.InspectorControls,null),(0,l.createElement)(f.qy.InspectorControls,{mainBlockClass:"stk-block-icon-list"}),(0,l.createElement)(f.Et.InspectorControls,null),(0,l.createElement)(f.fN.InspectorControls,null),(0,l.createElement)(x,{version:B.version}),(0,l.createElement)(f.qy,{mainBlockClass:"stk-block-icon-list"}),(0,l.createElement)(f.Q,{className:Z},(0,l.createElement)("div",{ref:a,onClick:e=>{if(e.target===a.current){t.current.focus();const e=document.createRange();e.selectNodeContents(t.current),e.collapse(!1);const a=window.getSelection();a.removeAllRanges(),a.addRange(e)}}},(0,l.createElement)(f.ZT,{tagName:P,multiline:"li",onRemove:U,onMerge:R,ref:t},V),!w&&H&&n&&(0,l.createElement)(C.aF,{position:"bottom left",anchorRef:o,onClose:()=>{_&&(_.target.parentElement.currentlyOpenIndex=void 0),i(!1)},onChange:t=>{const a={...e.attributes.icons};t?a[v]=t:delete a[v],M({icons:{...a}})}}))),(0,l.createElement)(f.cy,null))})),M=(0,a(3749).compose)((0,T.kY)(B.version))((e=>{const{attributes:t,className:a}=e,n=(0,f.ul)(t),i=(0,f.Qz)(t),o=(0,f.NA)(t),r=t.ordered?"ol":"ul",s=S()([a,"stk-block-icon-list",o,n,i]);return(0,l.createElement)(f.Q.Content,{className:s,attributes:t},(0,l.createElement)(x.Content,{version:e.version,attributes:t}),(0,l.createElement)(f.qy.Content,{attributes:t}),(0,l.createElement)(f.ZT.Content,{tagName:r,attributes:t,multiline:"li"}))})),I=JSON.parse('{"name":"stackable/icon-list","title":"Icon List","description":"An unordered list with icons. You can use this as a list of features or benefits.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Checklist","Bullets","Number list"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-list-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),H={columns:{stkResponsive:!0,type:"number",default:""},columnGap:{stkResponsive:!0,type:"number",default:""},ordered:{type:"boolean",default:!1},indentation:{type:"number",default:""},listAlignment:{stkResponsive:!0,type:"string",default:""},icon:{type:"string",default:v},markerColor:{type:"string",default:"",stkHover:!0},icons:{type:"object",default:{}},iconSize:{stkResponsive:!0,type:"number",default:""},iconOpacity:{stkHover:!0,type:"number",default:""},iconRotation:{type:"number",default:""},listType:{type:"string",default:""},iconGap:{stkResponsive:!0,type:"number",default:""},rowGap:{stkResponsive:!0,type:"number",default:""}},U=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B.version;const t=new o.DC;return f.v2.addAttributes(t),f.aE.addAttributes(t),f.wx.addAttributes(t),f.Q.addAttributes(t),f.bg.addAttributes(t),f.mz.addAttributes(t),f.qy.addAttributes(t),f.ZK.addAttributes(t),f.Et.addAttributes(t),f.fN.addAttributes(t),f.ZT.addAttributes(t,"ul,ol",{hasTextTag:!1,multiline:"li",multilineWrapperTags:["ol","ul"]}),f.cy.addAttributes(t),t.add({attributes:H,versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(B.version),R=(0,a(3882).applyFilters)("stackable.block.metadata",{...I,icon:n.Tw,attributes:U,supports:{anchor:!0},example:{attributes:{uniqueId:"635c98b",hasBackground:!1,hasBorders:!1,customAttributes:[],effectAnimationOut:{},effectAnimationIn:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"<li>Line 1</li><li>Line 2</li><li>Line 3</li><li>Line 4</li><li>Line 5</li><li>Line 6</li>",columns:2,ordered:!1,icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190"><polygon points="173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"/></svg>',icons:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},edit:N,save:M,merge:(e,t)=>({text:(e.text||"")+(t.text||"")})})},5226:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>B});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(6869),s=a(4678),c=a(78);const u={selector:".stk--svg-wrapper",hoverSelector:".stk--svg-wrapper:hover"},d=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:n}=(0,c.useBlockEditContext)(),d=(0,r.kX)(n);return t.blockUniqueClassName=(0,s.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,(0,i.Z)({},t,{options:{selector:".stk-block",hoverSelector:".stk-block:hover"}})),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(o.JO.Style,(0,i.Z)({},t,{options:u})))};d.defaultProps={isEditor:!1},d.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,s.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.JO.Style.Content,(0,i.Z)({},t,{options:u})));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null};var m=a(4184),b=a.n(m),g=a(910),p=a(3233),h=a(1951),v=a(8003);const k=(0,h.dF)((e=>{const{className:t,attributes:a}=e;(0,o.i_)(e.attributes);const n=(0,o.NA)(a),i=(0,r.WV)(),u=b()([t,"stk-block-icon",n]),m=b()([(0,s.tJ)(a.uniqueId),i]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(p.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(p.wC,null,(0,l.createElement)(p.SQ,{title:(0,v.__)("Accessibility",g.i18n),id:"accessibility"},(0,l.createElement)(p.nS,{isDynamic:!1,label:(0,v.__)("Icon Label",g.i18n),attribute:"ariaLabel"}))),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.JO.InspectorControls,{initialOpen:!0,hasMultiColor:!0}),(0,l.createElement)(o.rU.InspectorControls,{hasToggle:!0}),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-icon"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)("div",(0,c.useBlockProps)({className:m}),(0,l.createElement)(d,{version:g.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-icon",hasChildMainBlockClass:!0}),(0,l.createElement)(o.Q,{className:u,withUniqueClass:!1},(0,l.createElement)(o.rU,{linkTrigger:".stk--inner-svg"},(0,l.createElement)(o.JO,null))),(0,l.createElement)(o.cy,{previewSelector:a.uniqueId?`.${(0,s.tJ)(a.uniqueId)} > .stk-block`:void 0})))})),f=(0,a(3749).compose)((0,h.kY)(g.version))((e=>{const{attributes:t,className:a}=e,n=(0,o.NA)(e.attributes),r=(0,o.ul)(e.attributes),s=b()([a,"stk-block-icon",n,r]);return(0,l.createElement)(o.Q.Content,(0,i.Z)({},c.useBlockProps.save({className:s}),{attributes:t}),(0,l.createElement)(d.Content,{version:e.version,attributes:t}),(0,l.createElement)(o.qy.Content,{attributes:t}),t.linkUrl?(0,l.createElement)(o.rU.Content,{attributes:t},(0,l.createElement)(o.JO.Content,{attributes:t})):(0,l.createElement)(o.JO.Content,{attributes:t}))})),y=JSON.parse('{"apiVersion":2,"name":"stackable/icon","title":"Icon","description":"Pick an icon or upload your own SVG icon to decorate your content.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["SVG"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/icon-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),C='<svg data-prefix="fa" data-icon="star" class="svg-inline--fa fa-star fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>',_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.version;const t=new s.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.v2.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),o.JO.addAttributes(t),o.rU.addAttributes(t),t.add({attributes:{ariaLabel:{type:"string",source:"attribute",selector:"svg[data-icon]",attribute:"aria-label",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{icon:C,linkHasLink:!1},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(g.version);var E=a(2450),x=a(6479),w=a(378);const S={to:[{type:"block",isMultiBlock:!0,blocks:["stackable/icon-box"],transform:e=>e.map((e=>{let{...t}=e;return(0,w.createBlocksFromInnerBlocksTemplate)([["stackable/icon-box",{},x.h.map((e=>("stackable/icon-label"===e[0]&&(e[2][0][1]=t),e)))]])[0]}))},{type:"block",isMultiBlock:!0,blocks:["stackable/icon-label"],transform:e=>e.map((e=>{let{...t}=e;return(0,w.createBlocksFromInnerBlocksTemplate)([["stackable/icon-label",{},E.h.map((e=>("stackable/icon"===e[0]&&(e[1]=t),e)))]])[0]}))}]},B=(0,a(3882).applyFilters)("stackable.block.metadata",{...y,icon:n.k2,attributes:_,supports:{anchor:!0},example:{attributes:{uniqueId:"35e1f64",hasBackground:!1,hasBorders:!1,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="far" data-icon="star" class="svg-inline--fa fa-star fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"></path></svg>',iconColor1:"#000000",showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},transforms:S,edit:k,save:f})},1269:(e,t,a)=>{"use strict";a.d(t,{h:()=>h,Z:()=>f});var n=a(2610),l=a(5747),i=a(1032),o=a(4184),r=a.n(o),s=a(8085),c=a(910),u=a(3233),d=a(6869),m=a(1951),b=a(2285),g=a(78),p=(a(8003),a(3882));const h=i.Z[0].innerBlocks,v=["stackable/subtitle","stackable/heading","stackable/text","stackable/icon"],k=["block","advanced"];(0,p.addFilter)("stackable.block.column.allowed-inner-blocks","stackable/image-box",((e,t)=>{const{getBlock:a,getBlockParents:l}=t,{clientId:i}=(0,g.useBlockEditContext)(),o=(0,s.last)(l(i)),r=o&&o!==i;if(!r)return e;const c=r?a(o):null,u=a(i).innerBlocks;return(0,n.useMemo)((()=>{if("stackable/image-box"!==c.name)return e;const t=(null==u?void 0:u.map((e=>{let{name:t}=e;return t})))||[],a=v.filter((e=>!t.includes(e)));return a.length?a:[]}),[i,c.name,u.map((e=>e.name))])}));const f=(0,m.dF)((e=>{const{hasInnerBlocks:t,innerBlocks:a}=(0,d.VG)(),{className:i}=e;(0,b.i_)(e.attributes);const{blockOrientation:o}=(0,b.Wy)(),m=(0,b.NA)(e.attributes),p=(0,d.WV)(),v=(0,b.pc)(e.attributes),f=r()([i,"stk-block-image-box",p]),y=r()(["stk-block-content","stk-inner-blocks",m,v,"stk-hover-parent","stk-block-image-box__content"]),C=(0,n.useMemo)((()=>{var e;return t?["stackable/text","core/paragraph"].includes(null===(e=(0,s.last)(a))||void 0===e?void 0:e.name)?()=>(0,n.createElement)(n.Fragment,null):g.InnerBlocks.DefaultBlockAppender:g.InnerBlocks.ButtonBlockAppender}),[t,a]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.zT,{tabs:k}),(0,n.createElement)(b.v2.InspectorControls,null),(0,n.createElement)(b.Q.InspectorControls,null),(0,n.createElement)(b.aE.InspectorControls,null),(0,n.createElement)(b.wx.InspectorControls,null),(0,n.createElement)(b.yG.InspectorControls,null),(0,n.createElement)(b.ZK.InspectorControls,null),(0,n.createElement)(b.mz.InspectorControls,null),(0,n.createElement)(b.qy.InspectorControls,{mainBlockClass:"stk-block-image-box"}),(0,n.createElement)(b.Et.InspectorControls,null),(0,n.createElement)(b.fN.InspectorControls,null),(0,n.createElement)(u.ME,null,(0,n.createElement)(u.t7,null)),(0,n.createElement)(l.p,{version:c.version}),(0,n.createElement)(b.qy,{mainBlockClass:"stk-block-image-box"}),(0,n.createElement)(b.Q,{className:f,enableVariationPicker:!0},(0,n.createElement)("div",{className:y},(0,n.createElement)(g.InnerBlocks,{templateLock:"insert",template:h,orientation:o,renderAppender:C}))),t&&(0,n.createElement)(b.cy,null))}));(0,p.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/image-box",((e,t)=>"stackable/image-box"!==(null==t?void 0:t.name)&&e)),(0,p.addFilter)("stackable.edit.image.enable-link","stackable/image-box",((e,t)=>"stackable/image-box"!==(null==t?void 0:t.name)&&e))},5450:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>y});var n=a(4597),l=a(1269),i=a(2610),o=a(5747),r=a(4184),s=a.n(r),c=a(1951),u=a(910),d=a(2285),m=a(78),b=a(3749),g=a(4392);const p=(0,b.compose)((0,c.kY)(u.version))((e=>{const{attributes:t}=e,a=(0,d.NA)(e.attributes),n=(0,d.ul)(e.attributes),l=(0,d.pc)(e.attributes),r=s()([e.className,"stk-block-image-box",n,"stk-hover-parent"]),c=s()(["stk-block-content","stk-inner-blocks",a,l,"stk-block-image-box__content"]);return(0,i.createElement)(d.Q.Content,{className:r,attributes:t},(0,i.createElement)(o.p.Content,{version:e.version,attributes:t}),(0,i.createElement)(d.qy.Content,{attributes:t}),(0,i.createElement)("div",{className:c},(0,i.createElement)(m.InnerBlocks.Content,null)),(0,i.createElement)(g.y.Content,{attributes:t,isHidden:!1}))}));var h=a(4678);const v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.version;const t=new h.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.v2.addAttributes(t),d.aE.addAttributes(t),d.wx.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),d.fN.addAttributes(t),d.yG.addAttributes(t),t.add({attributes:{design:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(u.version);var k=a(1032);const f=JSON.parse('{"name":"stackable/image-box","title":"Image Box","description":"Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),y=(0,a(3882).applyFilters)("stackable.block.metadata",{...f,icon:n.I5,supports:{anchor:!0,align:!0,stkAlign:!0},attributes:v,example:{attributes:{uniqueId:"e65ffe4",hasBackground:!1,hasBorders:!1,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",className:"is-style-default"},innerBlocks:[{name:"stackable/image",attributes:{uniqueId:"f45cd4f",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?shoes",imageSize:"full",imageHeight:350,imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnit:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%",imageFilterParentHover:"brightness(0.3)"},innerBlocks:[]},{name:"stackable/column",attributes:{uniqueId:"cd5f242",hasBackground:!1,hasBorders:!1,hasContainer:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"889b5d9",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Title",textTag:"h4",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:k.Z,edit:l.Z,save:p})},5747:(e,t,a)=>{"use strict";a.d(t,{p:()=>s});var n=a(2610),l=a(2285),i=a(6869),o=a(4678),r=a(78);const s=e=>{const{...t}=e,a=(0,i.hU)(),{clientId:s}=(0,r.useBlockEditContext)(),c=(0,i.kX)(s);return t.blockUniqueClassName=(0,o.tJ)(c.uniqueId),t.deviceType=a,t.attributes={...c,clientId:s},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.v2.Style,t),(0,n.createElement)(l.Q.Style,t),(0,n.createElement)(l.aE.Style,t),(0,n.createElement)(l.wx.Style,t),(0,n.createElement)(l.ZK.Style,t))};s.defaultProps={isEditor:!1},s.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,o.tJ)(e.attributes.uniqueId);const a=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.v2.Style.Content,t),(0,n.createElement)(l.Q.Style.Content,t),(0,n.createElement)(l.ZK.Style.Content,t),(0,n.createElement)(l.aE.Style.Content,t),(0,n.createElement)(l.wx.Style.Content,t));return(0,n.renderToString)(a)?(0,n.createElement)("style",null,a):null},s.Content.defaultProps={attributes:{}}},1032:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(7462),l=a(2610);a(7294);var i=a(8003),o=a(3882),r=a(910);const s=(0,o.applyFilters)("stackable.image-box.variations",[{name:"default",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Default",r.i18n)),pickerTitle:(0,i.__)("Default",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13h30v22H9V13zm-2 0a2 2 0 012-2h30a2 2 0 012 2v22a2 2 0 01-2 2H9a2 2 0 01-2-2V13zm25.5 10h-18v2h18v-2zm-12-5h7v2h-7v-2zm15 10h-23v2h23v-2z"}))},attributes:{contentAlign:"center",className:"is-style-default"},isActive:["className"],innerBlocks:[["stackable/image",{imageHeight:350,imageOverlayColorParentHover:"#000000",imageOverlayOpacityParentHover:.7}],["stackable/column",{templateLock:!1,blockVerticalAlign:"center"},[["stackable/subtitle",{text:(0,i._x)("Subtitle for This Block","Subtitle placeholder",r.i18n),blockMargin:{bottom:8},opacity:0,textColorClass:"has-white-color",textColor1:"#FFFFFF",opacityParentHover:1}],["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",r.i18n),textTag:"h4",textColorClass:"has-white-color",textColor1:"#FFFFFF"}],["stackable/text",{text:(0,i._x)("Text for This Block","Text placeholder",r.i18n),opacity:0,transform:"translateY(-24px)",opacityParentHover:1,transformParentHover:"translateY(0px)",textColorClass:"has-white-color",textColor1:"#FFFFFF"}],["stackable/icon",{blockMargin:{top:56},opacity:0,transform:"translateY(24px)",icon:'<svg data-prefix="fas" data-icon="arrow-right" class="svg-inline--fa fa-arrow-right fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg>',opacityParentHover:1,transformParentHover:"translateY(0px)",iconColor1:"#FFFFFF"}]]]],scope:["block"]},{name:"plain",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Plain",r.i18n)),pickerTitle:(0,i.__)("Plain",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13h30v22H9V13zm-2 0a2 2 0 012-2h30a2 2 0 012 2v22a2 2 0 01-2 2H9a2 2 0 01-2-2V13zm25.5 10h-18v2h18v-2zm-12-5h7v2h-7v-2zm15 10h-23v2h23v-2z"}))},attributes:{contentAlign:"left",className:"is-style-plain"},isActive:["className"],innerBlocks:[["stackable/image",{imageHeight:350,imageOverlayColorParentHover:"#000000",imageOverlayOpacityParentHover:.7}],["stackable/column",{containerPadding:{top:32,right:32,bottom:32,left:32},templateLock:!1,containerVerticalAlign:"flex-end"},[["stackable/subtitle",{text:(0,i._x)("Subtitle for This Block","Subtitle placeholder",r.i18n),blockMargin:{bottom:8},transform:"translateY(32px)",transformParentHover:"translateY(0px)",textColorClass:"has-white-color",textColor1:"#FFFFFF"}],["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",r.i18n),textTag:"h4",transform:"translateY(32px)",transformParentHover:"translateY(0px)",textColorClass:"has-white-color",textColor1:"#FFFFFF"}],["stackable/text",{text:(0,i._x)("Text for This Block","Text placeholder",r.i18n),opacity:0,opacityParentHover:1,textColorClass:"has-white-color",textColor1:"#FFFFFF"}],["stackable/icon",{opacity:0,transform:"translateY(-32px)",opacityParentHover:1,transformParentHover:"translateY(0px)",icon:'<svg data-prefix="fas" data-icon="arrow-right" class="svg-inline--fa fa-arrow-right fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg>',iconColor1:"#FFFFFF"}]]]],scope:["block"]},{name:"box",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Box",r.i18n)),pickerTitle:(0,i.__)("Box",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 11H9v26h30V11zM9 9a2 2 0 00-2 2v26a2 2 0 002 2h30a2 2 0 002-2V11a2 2 0 00-2-2H9zm26 6H13v18h22V15zm-22-1h-1v20h24V14H13zm16.923 9H17.346v2h12.577v-2zM21.5 18h4.962v2H21.5v-2zM32 28H15.962v2H32v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"captioned",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Captioned",r.i18n)),pickerTitle:(0,i.__)("Captioned",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 13h30v13H9V13zm-2 0a2 2 0 012-2h30a2 2 0 012 2v26a2 2 0 01-2 2H9a2 2 0 01-2-2V13zm7 21h21v2.5H14V34zm16-5.5H20V31h10v-2.5z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"fade",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Fade",r.i18n)),pickerTitle:(0,i.__)("Fade",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 13H9v22h30V13zM9 11a2 2 0 00-2 2v22a2 2 0 002 2h30a2 2 0 002-2V13a2 2 0 00-2-2H9zm4 19h21v2H13v-2zm16-5H19v2h10v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"line",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",r.i18n),(0,i.__)("Line",r.i18n)),pickerTitle:(0,i.__)("Line",r.i18n),pickerIcon:function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,l.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13a2 2 0 012-2h30a2 2 0 012 2v22a2 2 0 01-2 2H9a2 2 0 01-2-2V13zm7.5 7.5H33V23H14.5v-2.5zm13.5-5h-7.5V18H28v-2.5zM12.5 30H36v2.5H12.5V30zM10 27h28v-1H10v1z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]}])},6575:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>A});var n=a(4597),l=a(2610),i=a(2285),o=a(6869),r=a(4678),s=a(78);const c=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:n}=(0,s.useBlockEditContext)(),c=(0,o.kX)(n);return t.blockUniqueClassName=(0,r.tJ)(c.uniqueId),t.deviceType=a,t.attributes={...c,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t),(0,l.createElement)(i.Ee.Style,t))};c.defaultProps={isEditor:!1},(c.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t),(0,l.createElement)(i.Ee.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{}};const u=c;var d=a(4184),m=a.n(d),b=a(910),g=a(3233),p=a(1951),h=a(3882);const v=["px","vh","%"],k=(0,p.dF)((e=>{const{clientId:t,className:a}=e;(0,i.i_)(e.attributes);const n=(0,o.WV)(),r=(0,i.NA)(e.attributes),{parentBlock:s}=(0,o.VG)(t),c=(0,h.applyFilters)("stackable.edit.image.enable-link",!0,s),d=m()([a,"stk-block-image",n,r]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(g.zT,null),(0,l.createElement)(i.v2.InspectorControls,null),(0,l.createElement)(i.Q.InspectorControls,null),(0,l.createElement)(i.aE.InspectorControls,null),(0,l.createElement)(i.wx.InspectorControls,null),(0,l.createElement)(i.Ee.InspectorControls,{initialOpen:!0,heightUnits:v}),c&&(0,l.createElement)(i.rU.InspectorControls,{hasTitle:!0}),(0,l.createElement)(i.ZK.InspectorControls,null),(0,l.createElement)(i.mz.InspectorControls,null),(0,l.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-image"}),(0,l.createElement)(i.Et.InspectorControls,null),(0,l.createElement)(i.fN.InspectorControls,null),(0,l.createElement)(u,{version:b.version}),(0,l.createElement)(i.qy,{mainBlockClass:"stk-block-image"}),(0,l.createElement)(i.Q,{className:d},(0,l.createElement)(i.Ee,{heightUnits:v,defaultWidth:"100",defaultHeight:"auto"})),(0,l.createElement)(i.cy,null))}));var f=a(7462),y=a(3749),C=a(4392);const _=(0,y.compose)((0,p.kY)(b.version))((e=>{const{attributes:t}=e,a=(0,i.ul)(e.attributes),n=(0,i.NA)(e.attributes),o=m()([e.className,"stk-block-image",a,n]);return(0,l.createElement)(i.Q.Content,{className:o,attributes:t},(0,l.createElement)(u.Content,{version:e.version,attributes:t}),(0,l.createElement)(i.qy.Content,{attributes:t}),e.attributes.imageUrl&&(0,l.createElement)(i.Ee.Content,{attributes:t,customWrapper:e.attributes.linkUrl&&(e=>(0,l.createElement)(i.rU.Content,(0,f.Z)({attributes:t},e)))}),(0,l.createElement)(C.y.Content,{attributes:t}))})),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.version;const t=new r.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.Ee.addAttributes(t),i.rU.addAttributes(t),i.v2.addAttributes(t),i.aE.addAttributes(t),i.wx.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),C.y.addAttributes(t),t.getMerged(e)}(b.version),x=JSON.parse('{"name":"stackable/image","title":"Image","description":"An image with advanced controls to make a visual statement.","category":"media","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential"}');var w=a(378),S=a(1269),B=a(3347);const T={from:[{type:"block",isMultiBlock:!0,blocks:["stackable/image-box"],__experimentalConvert:e=>e.map((e=>{const t=e.innerBlocks[0].attributes;return(0,w.createBlock)("stackable/image",t)}))}],to:[{type:"block",isMultiBlock:!0,blocks:["stackable/image-box"],transform:e=>e.map((e=>{let{...t}=e;const a=(0,w.createBlocksFromInnerBlocksTemplate)([["stackable/image-box",{},S.h.map((e=>("stackable/image"===e[0]&&(e[1]=t),e)))]])[0];return a.attributes.uniqueId=(0,B.W)(a.clientId),a}))}]};a(8003);const A=(0,h.applyFilters)("stackable.block.metadata",{...x,icon:n.XB,attributes:E,supports:{anchor:!0,align:!0},example:{attributes:{uniqueId:"7fb9397",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/400x300/?fashion",imageSize:"full",imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnit:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%"},innerBlocks:[]},transforms:T,edit:k,save:_})},4130:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>B});var n=a(910),l=a(8003),i=a(3882),o=a(7462),r=a(2610);a(7294);const s=(0,i.applyFilters)("stackable.notification.variations",[{name:"default",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Default",n.i18n)),attributes:{className:"is-style-default",hasContainer:!0},isDefault:!0,pickerTitle:(0,l.__)("Default",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12a2 2 0 00-2 2v19a2 2 0 002 2h30a2 2 0 002-2V14a2 2 0 00-2-2H9zm16 12H11v2h14v-2zm-14 5h26v2H11v-2zm.583-11a1.417 1.417 0 112.834 0 1.417 1.417 0 01-2.834 0zM13 16.083a1.917 1.917 0 100 3.834 1.917 1.917 0 000-3.834zm0 1a.25.25 0 01.25.25V18a.25.25 0 11-.5 0v-.667a.25.25 0 01.25-.25zm0 1.334a.25.25 0 100 .5h.002a.25.25 0 000-.5H13z"}))},isActive:["className"],innerBlocks:[["stackable/icon",{icon:'<svg data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true" width="32" height="32"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>',iconColor1:"#FFFFFF"}],["stackable/heading",{text:(0,l._x)("Title for This Block","Heading placeholder",n.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,l._x)("Button","Button placeholder",n.i18n),buttonBackgroundColor:"transparent",buttonBorderType:"solid",buttonBorderColor:"#FFFFFF",textColorClass:"has-white-color",textColor1:"#FFFFFF",buttonBorderWidth:{top:1,right:1,bottom:1,left:1}}]]]],scope:["block"]},{name:"plain",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Plain",n.i18n)),attributes:{className:"is-style-plain",blockShadow:"0px 2px 20px rgba(153, 153, 153, 0.2)",hasContainer:!1,containerPadding:{top:32,right:32,bottom:32,left:32},dismissibleColor:"var(--stk-container-background-color, #40ba7b)"},pickerTitle:(0,l.__)("Plain",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 13h32v23H8V13zm-2 0a2 2 0 012-2h32a2 2 0 012 2v23a2 2 0 01-2 2H8a2 2 0 01-2-2V13zm19 12H12v2h13v-2zm-13 5h24v2H12v-2zm.583-11a1.417 1.417 0 112.834 0 1.417 1.417 0 01-2.834 0zM14 17.083a1.917 1.917 0 100 3.834 1.917 1.917 0 000-3.834zm0 1a.25.25 0 01.25.25V19a.25.25 0 11-.5 0v-.667a.25.25 0 01.25-.25zm0 1.334a.25.25 0 100 .5h.002a.25.25 0 000-.5H14z"}))},isActive:["className"],innerBlocks:[["stackable/icon",{icon:'<svg data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true" width="32" height="32"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>',iconColor1:"var(--stk-container-background-color, #40ba7b)"}],["stackable/heading",{text:(0,l._x)("Title for This Block","Heading placeholder",n.i18n),textTag:"h3",textRemoveTextMargins:!0,textColor1:"var(--stk-container-background-color, #40ba7b)"}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n),textColor1:"var(--stk-container-background-color, #40ba7b)"}],["stackable/button-group",{},[["stackable/button",{text:(0,l._x)("Button","Button placeholder",n.i18n),buttonBackgroundColor:"transparent",buttonBorderType:"solid",buttonBorderColor:"var(--stk-container-background-color, #40ba7b)",textColor1:"var(--stk-container-background-color, #40ba7b)",buttonBorderWidth:{top:1,right:1,bottom:1,left:1}}]]]],scope:["block"]},{name:"side",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Side",n.i18n)),pickerTitle:(0,l.__)("Side",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 16h27v15H15V16zM4 16a2 2 0 012-2h36a2 2 0 012 2v15a2 2 0 01-2 2H6a2 2 0 01-2-2V16zm6 5.583a1.417 1.417 0 100 2.834 1.417 1.417 0 000-2.834zM8.083 23a1.917 1.917 0 113.834 0 1.917 1.917 0 01-3.834 0zm2.167-.667a.25.25 0 00-.5 0V23a.25.25 0 10.5 0v-.667zm-.5 1.334a.25.25 0 01.25-.25h.002a.25.25 0 010 .5H10a.25.25 0 01-.25-.25zM19 20h12v2H19v-2zm19 5H19v2h19v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"bordered",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Bordered",n.i18n)),pickerTitle:(0,l.__)("Bordered",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42 14H8v21h34V14zM6 12a2 2 0 00-2 2v21a2 2 0 002 2h36a2 2 0 002-2V14a2 2 0 00-2-2H6zm19 12H12v2h13v-2zm13 5v2H12v-2h26zM11.583 19a1.417 1.417 0 112.834 0 1.417 1.417 0 01-2.834 0zM13 17.083a1.917 1.917 0 100 3.834 1.917 1.917 0 000-3.834zm0 1a.25.25 0 01.25.25V19a.25.25 0 11-.5 0v-.667a.25.25 0 01.25-.25zm0 1.334a.25.25 0 100 .5h.002a.25.25 0 000-.5H13z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"outlined",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Outlined",n.i18n)),pickerTitle:(0,l.__)("Outlined",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 36V13h32v23H8zM5 12a2 2 0 012-2h34a2 2 0 012 2v25a2 2 0 01-2 2H7a2 2 0 01-2-2V12zm20 13H12v2h13v-2zm-13 5h24v2H12v-2zm.583-11a1.417 1.417 0 112.834 0 1.417 1.417 0 01-2.834 0zM14 17.083a1.917 1.917 0 100 3.834 1.917 1.917 0 000-3.834zm0 1a.25.25 0 01.25.25V19a.25.25 0 11-.5 0v-.667a.25.25 0 01.25-.25zm0 1.334a.25.25 0 100 .5h.002a.25.25 0 000-.5H14z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"large-icon",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Large Icon",n.i18n)),pickerTitle:(0,l.__)("Large Icon",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12a2 2 0 00-2 2v2.056a3.333 3.333 0 110 2.186V33a2 2 0 002 2h30a2 2 0 002-2V14a2 2 0 00-2-2H9zm1.15 3.725a.5.5 0 00-.937.351l.468 1.249a.5.5 0 10.936-.351l-.468-1.249zm-.001 2.848a.5.5 0 01.293-.643l.003-.002a.5.5 0 01.35.937h-.003a.5.5 0 01-.643-.292zM11 24h14v2H11v-2zm26 5H11v2h26v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]}]),c=JSON.parse('{"name":"stackable/notification","title":"Notification","description":"Show a notice to your readers. People can dismiss the notice to permanently hide it.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Notice","Alert"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var u=a(2285),d=a(3233),m=a(6869),b=a(4678),g=a(78);const p={sizeSelector:".stk-block-notification__content",sizeHorizontalAlignRule:"margin"},h=e=>{const{...t}=e,a=(0,m.hU)(),{clientId:n}=(0,g.useBlockEditContext)(),l=(0,m.kX)(n);t.blockUniqueClassName=(0,b.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n};const i=(0,b.yK)(l,[{selector:".stk-container",attrName:"dismissibleSize",styleRule:"paddingInlineEnd",enabledCallback:e=>e("isDismissible")&&e("dismissibleSize"),valuePreCallback:e=>e+44,format:"%spx"},{selector:".stk-block-notification__close-button svg",attrName:"dismissibleColor",styleRule:"fill",enabledCallback:e=>e("isDismissible")}]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style,t),(0,r.createElement)(u.Q.Style,t),(0,r.createElement)(u.aE.Style,t),(0,r.createElement)(u.wx.Style,t),(0,r.createElement)(u.ZK.Style,t),(0,r.createElement)(u.e4.Style,(0,o.Z)({},t,{options:p})),(0,r.createElement)(u.cy.Style,t),(0,r.createElement)(u.hK.Style,t),(0,r.createElement)(d.bg,(0,o.Z)({styles:i,versionAdded:"3.0.0",versionDeprecated:""},t)))};h.defaultProps={isEditor:!1},(h.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,b.tJ)(e.attributes.uniqueId);const a=(0,b.Wi)(t.attributes,[{selector:".stk-container",attrName:"dismissibleSize",styleRule:"paddingInlineEnd",enabledCallback:e=>e("isDismissible")&&e("dismissibleSize"),valuePreCallback:e=>e+44,format:"%spx"},{selector:".stk-block-notification__close-button svg",attrName:"dismissibleColor",styleRule:"fill",enabledCallback:e=>e("isDismissible")}]),n=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style.Content,t),(0,r.createElement)(u.Q.Style.Content,t),(0,r.createElement)(u.aE.Style.Content,t),(0,r.createElement)(u.wx.Style.Content,t),(0,r.createElement)(u.ZK.Style.Content,t),(0,r.createElement)(u.e4.Style.Content,(0,o.Z)({},t,{options:p})),(0,r.createElement)(u.cy.Style.Content,t),(0,r.createElement)(u.hK.Style.Content,t),(0,r.createElement)(d.bg.Content,(0,o.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,r.renderToString)(n)?(0,r.createElement)("style",null,n):null}).defaultProps={attributes:{}};const v=function(e){return(0,r.createElement)("svg",(0,o.Z)({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),(0,r.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"}))};var k=a(8085),f=a(4184),y=a.n(f),C=a(1951);const _=s[0].innerBlocks,E=(0,C.dF)((e=>{const{className:t,attributes:a,setAttributes:i}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:o,innerBlocks:s}=(0,m.VG)(),c=(0,u.NA)(e.attributes),b=(0,m.WV)(),p=y()([t,"stk-block-notification",b],{"stk--is-dismissible":a.isDismissible,[`stk--is-${e.attributes.notificationType}`]:e.attributes.notificationType}),f=y()(["stk-block-content","stk-inner-blocks",c,"stk-block-notification__content"],(0,u.h5)(a)),C=(0,r.useMemo)((()=>{var e;return o?["stackable/text","core/paragraph"].includes(null===(e=(0,k.last)(s))||void 0===e?void 0:e.name)?()=>(0,r.createElement)(r.Fragment,null):g.InnerBlocks.DefaultBlockAppender:g.InnerBlocks.ButtonBlockAppender}),[o,s]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.zT,null),(0,r.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,r.createElement)(u.Q.InspectorControls,null),(0,r.createElement)(u.aE.InspectorControls,null),(0,r.createElement)(u.wx.InspectorControls,null),(0,r.createElement)(u.yG.InspectorControls,null),(0,r.createElement)(u.ZK.InspectorControls,null),(0,r.createElement)(u.mz.InspectorControls,null),(0,r.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-notification"}),(0,r.createElement)(u.Et.InspectorControls,null),(0,r.createElement)(u.fN.InspectorControls,null),(0,r.createElement)(d.Ib,null,(0,r.createElement)(d.SQ,{title:(0,l.__)("General",n.i18n),id:"general",initialOpen:!0},(0,r.createElement)(u.hK.InspectorControls.Controls,null),(0,r.createElement)(d.qD,{label:(0,l.__)("Notification Type",n.i18n),attribute:"notificationType",options:[{label:(0,l.__)("Success",n.i18n),value:""},{label:(0,l.__)("Error",n.i18n),value:"error"},{label:(0,l.__)("Warning",n.i18n),value:"warning"},{label:(0,l.__)("Information",n.i18n),value:"info"}]})),(0,r.createElement)(d.SQ,{title:(0,l.__)("Dismissible",n.i18n),initialOpen:e.attributes.isDismissible,id:"dismissible",hasToggle:!0,checked:e.attributes.isDismissible,onChange:e=>i({isDismissible:e})},(0,r.createElement)(d.o1,{label:(0,l.__)("Icon Size",n.i18n),attribute:"dismissibleSize",min:"0",sliderMax:"50",step:"1",placeholder:"16"}),(0,r.createElement)(d.Xw,{label:(0,l.__)("Icon Color",n.i18n),attribute:"dismissibleColor"}))),(0,r.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,r.createElement)(d.Ib,null,(0,r.createElement)(d.t7,null)),(0,r.createElement)(u.Q,{className:p,enableVariationPicker:!0},(0,r.createElement)(h,{version:n.version}),(0,r.createElement)(u.qy,{mainBlockClass:"stk-block-notification"}),(0,r.createElement)(u.e4,{className:f},(0,r.createElement)(g.InnerBlocks,{template:_,templateLock:!1,renderAppender:C}),a.isDismissible&&(0,r.createElement)("span",{className:"stk-block-notification__close-button",role:"button",tabIndex:"0"},(0,r.createElement)(v,{width:a.dismissibleSize||16,height:a.dismissibleSize||16})))),o&&(0,r.createElement)(u.cy,null))})),x=(0,a(3749).compose)((0,C.kY)(n.version))((e=>{const{attributes:t,className:a}=e,n=(0,u.NA)(t),l=(0,u.ul)(t),i=y()([a,"stk-block-notification",l],{"stk--is-dismissible":t.isDismissible,[`stk--is-${e.attributes.notificationType}`]:e.attributes.notificationType}),o=y()(["stk-block-notification__content"],(0,u.gd)(t)),s=y()(["stk-block-content","stk-inner-blocks",n]);return(0,r.createElement)(u.Q.Content,{className:i,attributes:t},(0,r.createElement)(h.Content,{version:e.version,attributes:t}),(0,r.createElement)(u.qy.Content,{attributes:t}),(0,r.createElement)(u.e4.Content,{className:o,attributes:t},(0,r.createElement)("div",{className:s},(0,r.createElement)(g.InnerBlocks.Content,null)),(0,r.createElement)(u.yG.Content,{attributes:t}),t.isDismissible&&(0,r.createElement)("button",{className:"stk-block-notification__close-button"},(0,r.createElement)(v,{width:t.dismissibleSize||16,height:t.dismissibleSize||16}))))})),w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.version;const t=new b.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.cy.addAttributes(t),u.e4.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.fN.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.yG.addAttributes(t),u.hK.addAttributes(t),t.add({attributes:{notificationType:{type:"string",default:""},isDismissible:{type:"boolean",default:!0},dismissibleSize:{type:"number",default:""},dismissibleColor:{type:"string",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{hasContainer:!0},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(n.version);var S=a(4597);const B=(0,i.applyFilters)("stackable.block.metadata",{...c,icon:S.sh,attributes:w,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"5c36ce5",hasBackground:!1,hasBorders:!1,hasContainer:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,isDismissible:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-default"},innerBlocks:[{name:"stackable/icon",attributes:{uniqueId:"b1cac08",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true" width="32" height="32"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>',iconColor1:"#FFFFFF",showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"c114813",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Title for This Block",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"3d45ff0",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"a118ab3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"4319436",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"transparent",buttonBorderType:"solid",buttonBorderColor:"#FFFFFF",buttonBorderWidth:{top:1,right:1,bottom:1,left:1},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,textColorClass:"has-white-color",textColor1:"#FFFFFF",hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:s,edit:E,save:x})},5435:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>_});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(4678),s=a(6869),c=a(3233),u=a(78);const d=e=>{const{...t}=e,a=(0,s.hU)(),{clientId:n}=(0,u.useBlockEditContext)(),d=(0,s.kX)(n),m=(0,r.yK)(d,(e.options,[{selector:".stk-block-number-box__text",styleRule:"height",attrName:"shapeSize",responsive:"all",hasUnits:"px",enabledCallback:e=>e("hasShape")},{selector:".stk-block-number-box__text",styleRule:"width",attrName:"shapeSize",responsive:"all",hasUnits:"px",enabledCallback:e=>e("hasShape")}]));return t.blockUniqueClassName=(0,r.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:n},(0,l.createElement)(l.Fragment,null,d.hasShape&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.YI,(0,i.Z)({},t,{options:{attrNameTemplate:"shape%s",selector:".stk-block-number-box__text",backgroundFallbackColor:"#000000"}})),(0,l.createElement)(o.N4,(0,i.Z)({},t,{options:{attrNameTemplate:"shape%s",selector:".stk-block-number-box__text"}}))),(0,l.createElement)(c.bg,(0,i.Z)({styles:m,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZT.Style,(0,i.Z)({},t,{options:{...t.options,selector:".stk-block-number-box__text"}})),(0,l.createElement)(o.ZK.Style,t))};d.defaultProps={isEditor:!1,attributes:{},options:{}},(d.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,r.Wi)(e.attributes,(e.options,[{selector:".stk-block-number-box__text",styleRule:"height",attrName:"shapeSize",responsive:"all",hasUnits:"px",enabledCallback:e=>e("hasShape")},{selector:".stk-block-number-box__text",styleRule:"width",attrName:"shapeSize",responsive:"all",hasUnits:"px",enabledCallback:e=>e("hasShape")}])),n=(0,l.createElement)(l.Fragment,null,e.attributes.hasShape&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.YI.Content,(0,i.Z)({},t,{options:{attrNameTemplate:"shape%s",selector:".stk-block-number-box__text"}})),(0,l.createElement)(o.N4.Content,(0,i.Z)({},t,{options:{attrNameTemplate:"shape%s",selector:".stk-block-number-box__text"}}))),(0,l.createElement)(c.bg.Content,(0,i.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(o.ZT.Style.Content,(0,i.Z)({},t,{options:{...t.options,selector:".stk-block-number-box__text"}})),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.cy.Style.Content,t));return(0,l.renderToString)(n)?(0,l.createElement)("style",null,n):null}).defaultProps={attributes:{},options:{}};var m=a(910),b=a(4184),g=a.n(b),p=a(1951),h=a(3284),v=a(8003);const k=(0,p.dF)((e=>{const{clientId:t,className:a,attributes:n}=e;(0,o.i_)(e.attributes);const i=(0,s.WV)(),r=(0,o.Qz)(e.attributes),u=(0,o.NA)(e.attributes),{updateBlockAttributes:b}=(0,h.useDispatch)("core/block-editor"),p=g()([a,"stk-block-number-box",i,u],{"stk--has-shape":e.attributes.hasShape}),k=g()(["stk-block-number-box__text",r]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-number-box"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(c.Ib,null,(0,l.createElement)(c.SQ,{title:(0,v.__)("Shape",m.i18n),id:"shape",initialOpen:!0,checked:n.hasShape,onChange:e=>b(t,{hasShape:e})},(0,l.createElement)(c.o1,{label:(0,v.__)("Size",m.i18n),attribute:"shapeSize",responsive:"all",min:"0",sliderMax:"200",placeholder:"96"}),(0,l.createElement)(o.H,{attrNameTemplate:"shape%s",hasGradient:!1,hasBackgroundImage:!1,hasBackgroundGradientBlendMode:!1}),(0,l.createElement)(o.BI,{attrNameTemplate:"shape%s",borderSliderMax:"100"}))),(0,l.createElement)(o.ZT.InspectorControls,{hasTextTag:!1,sizePlaceholder:"56"}),(0,l.createElement)(d,{version:m.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-number-box"}),(0,l.createElement)(o.Q,{className:p},(0,l.createElement)(o.ZT,{tagName:"div",placeholder:"1",className:k})),(0,l.createElement)(o.cy,null))})),f=(0,a(3749).compose)((0,p.kY)(m.version))((e=>{const{className:t,attributes:a}=e,n=(0,o.ul)(e.attributes),i=(0,o.Qz)(e.attributes),r=(0,o.NA)(e.attributes),s=g()([t,"stk-block-number-box",n,r],{"stk--has-shape":a.hasShape}),c=g()(["stk-block-number-box__text",i]);return(0,l.createElement)(o.Q.Content,{className:s,attributes:a},(0,l.createElement)(d.Content,{version:e.version,attributes:a}),(0,l.createElement)(o.qy.Content,{attributes:a}),(0,l.createElement)(o.ZT.Content,{tagName:"div",attributes:a,className:c,role:"presentation"}))})),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.version;const t=new r.DC;return o.v2.addAttributes(t),o.Q.addAttributes(t),o.bg.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.cy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.ZT.addAttributes(t,".stk-block-number-box__text"),(0,o.PH)(t,"shape%s"),(0,o._I)(t,"shape%s"),t.add({attributes:{hasShape:{type:"boolean",default:!0},shapeSize:{type:"number",stkResponsive:!0,default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(m.version),C=JSON.parse('{"name":"stackable/number-box","title":"Number Box","description":"Display steps or methods that your users will do in your service.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Steps"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/number-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),_=(0,a(3882).applyFilters)("stackable.block.metadata",{...C,icon:n.un,attributes:y,supports:{anchor:!0,align:!0},example:{attributes:{uniqueId:"d8282a9",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"01",textTag:"p",hasShape:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",shapeBackgroundCustomSizeUnit:"%",shapeBackgroundCustomSizeUnitTablet:"%",shapeBackgroundCustomSizeUnitMobile:"%",contentAlign:"center"},innerBlocks:[]},edit:k,save:f})},4700:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>ne});var n=a(2610),l=a(8085),i=a(3882);const o=(e,t,a,i)=>{if("list"!==t)return e;const{contentOrder:o=[]}=a,r=o.map((e=>"featured-image"===e?null:i[e]));return(0,n.createElement)(n.Fragment,null,i["featured-image"],(0,n.createElement)("article",{className:"stk-container-padding"},(0,l.compact)(r).map((e=>e))))};(0,i.addFilter)("stackable.posts.edit.item.output","list",o),(0,i.addFilter)("stackable.posts.save.item.output","list",o);var r=a(910),s=a(8003),c=a(7462);a(7294);const u=(0,i.applyFilters)("stackable.posts.variations",[{name:"default",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Default",r.i18n)),isDefault:!0,attributes:{className:"is-style-default",contentOrder:["title","meta","category","excerpt","readmore"],hasContainer:!1,imageWidth:100,imageWidthUnit:"%"},pickerTitle:(0,s.__)("Default",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37 8H11v15h26V8zm0 18H11v2h26v-2zm-26 6h26v2H11v-2zm26 6H11v2h26v-2z"}))},isActive:["className"],scope:["block"]},{name:"list",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("List",r.i18n)),attributes:{imageWidth:35,contentOrder:["title","meta","category","excerpt","readmore"],imageWidthUnit:"%",imageHeightUnit:"px",hasContainer:!1,className:"is-style-list",innerBlockContentAlign:"alignwide",align:"wide"},pickerTitle:(0,s.__)("List",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37 8H11v15h26V8zm0 18H11v2h26v-2zm-26 6h26v2H11v-2zm26 6H11v2h26v-2z"}))},isActive:["className"],scope:["block"]},{name:"image-card",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Image Card",r.i18n)),pickerTitle:(0,s.__)("Image Card",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35 20v16H13V20h22zm-24-8a2 2 0 012-2h22a2 2 0 012 2v24a2 2 0 01-2 2H13a2 2 0 01-2-2V12zm20 12H17v2h14v-2zm-5-10H16v2h10v-2zm5 16H17v2h14v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"horizontal",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Horizontal",r.i18n)),pickerTitle:(0,s.__)("Horizontal",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30 32V16H9v16h21zm9-18a2 2 0 012 2v16a2 2 0 01-2 2H9a2 2 0 01-2-2V16a2 2 0 012-2h30zm-26 6h10v2H13v-2zm13 6H13v2h13v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"horizontal-2",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Horizontal 2",r.i18n)),pickerTitle:(0,s.__)("Horizontal 2",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},e),(0,n.createElement)("path",{d:"M39 32V16H18v16h21zm0-18c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2V16c0-1.1.9-2 2-2h30zm-4 8H25v-2h10v2zm-13 6h13v-2H22v2z",fillRule:"evenodd",clipRule:"evenodd"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"portfolio",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Portfolio",r.i18n)),pickerTitle:(0,s.__)("Portfolio",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12a2 2 0 012-2h22a2 2 0 012 2v23a2 2 0 01-2 2H13a2 2 0 01-2-2V12zm4 13h10v2H15v-2zm18 6H15v2h18v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"portfolio-2",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Portfolio 2",r.i18n)),pickerTitle:(0,s.__)("Portfolio 2",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 10a2 2 0 00-2 2v23a2 2 0 002 2h22a2 2 0 002-2V12a2 2 0 00-2-2H13zm16 4H19v2h10v-2zM15 31h18v2H15v-2zm18-8H15v2h18v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"vertical-card",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Vertical Card",r.i18n)),pickerTitle:(0,s.__)("Vertical Card",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 35V19h22v16H13zm-2-23a2 2 0 012-2h22a2 2 0 012 2v23a2 2 0 01-2 2H13a2 2 0 01-2-2V12zm5 11h10v2H16v-2zm16 6H16v2h16v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]},{name:"vertical-card-2",description:(0,s.sprintf)((0,s._x)("%s Layout","Block layout name",r.i18n),(0,s.__)("Vertical Card 2",r.i18n)),pickerTitle:(0,s.__)("Vertical Card 2",r.i18n),pickerIcon:function(e){return(0,n.createElement)("svg",(0,c.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11h24v25H12V11zm-2 0a2 2 0 012-2h24a2 2 0 012 2v25a2 2 0 01-2 2H12a2 2 0 01-2-2V11zm22 15H16v6h16v-6zM19 15h10v2H19v-2zm12 6H17v2h14v-2z"}))},isActive:["className"],isPremium:!r.isPro,scope:["block"]}]);var d=a(2285),m=a(6869),b=a(4678),g=a(3233),p=a(78);const h=" .%s-container",v=e=>t=>t("hoverStateInContainer")?` .%s-container:hover ${e}`:` .%s-container ${e}:hover`,k=["hoverStateInContainer"],f={selector:".stk-block-posts__items",enableColumnGap:!1},y={backgroundSelector:h,borderSelector:h,sizeSelector:h},C={selector:".stk-block-posts__title",hoverSelectorCallback:v(".stk-block-posts__title"),attrNameTemplate:"title%s",dependencies:k},_={selector:".stk-block-posts__title a",hoverSelectorCallback:v(".stk-block-posts__title a"),attrNameTemplate:"title%s",dependencies:k},E={selectorCallback:e=>".stk-block-posts__category a"+(e("highlighted")?" .stk-button__inner-text":""),hoverSelectorCallback:e=>{const t=e("highlighted")?" .stk-button__inner-text":"";return e("hoverStateInContainer")?` .%s-container:hover .stk-block-posts__category a${t}`:`.stk-block-posts__category a:hover${t}`},attrNameTemplate:"category%s",dependencies:["Highlighted",...k]},x={selector:".stk-block-posts__excerpt p",hoverSelectorCallback:v(".stk-block-posts__excerpt p"),attrNameTemplate:"excerpt%s",dependencies:k},w={selector:".stk-block-posts__meta",hoverSelectorCallback:v(".stk-block-posts__meta"),attrNameTemplate:"meta%s",dependencies:k},S={selector:".stk-block-posts__readmore",hoverSelectorCallback:v(".stk-block-posts__readmore"),attrNameTemplate:"readmore%s",dependencies:k},B={selector:" .%s-container .stk-img-wrapper",hoverSelectorCallback:e=>e("imageHoverStateInContainer")?" .%s-container:hover .stk-img-wrapper img":" .%s-container .stk-img-wrapper:hover img",dependencies:["imageHoverStateInContainer"]},T={positionSelector:h},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{blockStyle:t}=e;return[{selector:"",styles:{"--stk-columns":"columns"},responsive:"all"},{selector:"",responsive:"all",styles:{"--stk-container-padding-left":"containePadding"},hasUnits:"px",valueCallback:e=>null==e?void 0:e.left},{selector:"",responsive:"all",styles:{"--stk-container-padding-right":"containePadding"},hasUnits:"px",valueCallback:e=>null==e?void 0:e.right},{selector:"",styles:{"--stk-column-gap":"columnGap"},format:"%spx",responsive:"all"},{selector:".stk-content-align",hasUnits:"px",responsive:"all",styleRule:"maxWidth",attrName:"innerBlockContentWidth"},{selector:".stk-content-align",responsive:"all",styleRule:"marginLeft",attrName:"innerBlockAlign",valueCallback:(e,t,a)=>{if(void 0!==t("innerBlockContentWidth",a)&&""!==t("innerBlockContentWidth",a))return"center"===e||"flex-end"===e?"auto":0},dependencies:["innerBlockContentWidth"]},{selector:".stk-content-align",responsive:"all",styleRule:"marginRight",attrName:"innerBlockAlign",valueCallback:(e,t,a)=>{if(void 0!==t("innerBlockContentWidth",a)&&""!==t("innerBlockContentWidth",a))return"center"===e||"flex-start"===e?"auto":0},dependencies:["innerBlockContentWidth"]},{selector:" .%s-container .stk-button",styleRule:"background",attrName:"categoryHighlightColor",enabledCallback:e=>e("categoryHighlighted"),dependencies:["categoryHighlighted"]},{selector:" .%s-container .stk-button:after",styleRule:"background",attrName:"categoryHighlightColor",hoverSelectorCallback:e=>e("categoryHoverStateInContainer")?" .%s-container:hover .stk-button:after":" .%s-container .stk-button:hover:after",hover:"all",valuePreCallback:(e,t,a,n)=>{if("normal"!==n)return e},enabledCallback:e=>e("categoryHighlighted"),dependencies:["categoryHighlighted","categoryHoverStateInContainer"]},{selector:" .%s-container .stk-button:after",styleRule:"opacity",attrName:"categoryHighlightColor",hoverSelectorCallback:e=>e("categoryHoverStateInContainer")?" .%s-container:hover .stk-button:after":" .%s-container .stk-button:hover:after",hover:"all",valuePreCallback:(e,t,a,n)=>{if("normal"!==n)return void 0!==e&&""!==e?1:void 0},enabledCallback:e=>e("categoryHighlighted"),dependencies:["categoryHighlighted","categoryHoverStateInContainer"]},{selector:" .%s-container .stk-block-posts__image-link",styleRule:"marginBottom",attrName:"imageSpacing",format:"%spx",responsive:"all"},{selector:".stk-block-posts__title",styleRule:"marginBottom",attrName:"titleSpacing",format:"%spx",responsive:"all"},{selector:".stk-block-posts__category",styleRule:"marginBottom",attrName:"categorySpacing",format:"%spx",responsive:"all"},{selector:".stk-block-posts__excerpt",styleRule:"marginBottom",attrName:"excerptSpacing",format:"%spx",responsive:"all"},{selector:".stk-block-posts__meta",styleRule:"marginBottom",attrName:"metaSpacing",format:"%spx",responsive:"all"},{selector:".stk-block-posts__readmore",styleRule:"marginBottom",attrName:"readmoreSpacing",format:"%spx",responsive:"all"},{renderIn:"save",selector:".stk-container-padding",styleRule:"width",attrName:"imageWidth",responsive:"all",valueCallback:(e,t,a)=>{if("%"===t("imageWidthUnit",a)&&void 0!==e&&""!==e)return 100-parseInt(e)+"%"},enabledCallback:()=>"list"===t}]},z=e=>{const{...t}=e,a=(0,m.hU)(),{clientId:l}=(0,p.useBlockEditContext)(),i=(0,m.kX)(l);t.blockUniqueClassName=(0,b.tJ)(i.uniqueId),t.deviceType=a,t.attributes={...i,clientId:l};const o=(0,m.Sg)(u),r=(0,b.yK)(i,A()),s=(0,n.useMemo)((()=>({...B,enableHeight:!["portfolio"].includes(o)})),[o,i.imageHasLink]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(d.v2.Style,t),(0,n.createElement)(d.Q.Style,t),(0,n.createElement)(d.sg.Style,t),(0,n.createElement)(d.wx.Style,t),(0,n.createElement)(d.aE.Style,(0,c.Z)({},t,{options:T})),(0,n.createElement)(d.ZK.Style,t),(0,n.createElement)(d.e4.Style,(0,c.Z)({},t,{options:y})),(0,n.createElement)(d.Ee.Style,(0,c.Z)({},t,{options:s})),(0,n.createElement)(d.ZT.Style,(0,c.Z)({},t,{options:C})),(0,n.createElement)(d.ZT.Style,(0,c.Z)({},t,{options:E})),(0,n.createElement)(d.ZT.Style,(0,c.Z)({},t,{options:x})),(0,n.createElement)(d.ZT.Style,(0,c.Z)({},t,{options:w})),(0,n.createElement)(d.ZT.Style,(0,c.Z)({},t,{options:S})),(0,n.createElement)(d.hK.Style,t),(0,n.createElement)(d.SX,(0,c.Z)({},t,{options:f})),(0,n.createElement)(g.bg,(0,c.Z)({styles:r,versionAdded:"3.0.0",versionDeprecated:""},t)))};z.defaultProps={isEditor:!1},(z.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,b.tJ)(e.attributes.uniqueId);const a=(0,m.RK)(u,t.attributes.className),l=(0,b.Wi)(t.attributes,A({blockStyle:null==a?void 0:a.name})),i={...B,enableHeight:!["portfolio"].includes(null==a?void 0:a.name),...["list"].includes(null==a?void 0:a.name)&&e.attributes.imageHasLink?{selector:" .%s-container .stk-block-posts__image-link",widthStyleRule:"flexBasis"}:{}},o=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(d.v2.Style.Content,t),(0,n.createElement)(d.Q.Style.Content,t),(0,n.createElement)(d.sg.Style.Content,t),(0,n.createElement)(d.wx.Style.Content,t),(0,n.createElement)(d.ZK.Style.Content,t),(0,n.createElement)(d.aE.Style.Content,(0,c.Z)({},t,{options:T})),(0,n.createElement)(d.e4.Style.Content,(0,c.Z)({},t,{options:y})),(0,n.createElement)(d.Ee.Style.Content,(0,c.Z)({},t,{options:i})),(0,n.createElement)(d.ZT.Style.Content,(0,c.Z)({},t,{options:_})),(0,n.createElement)(d.ZT.Style.Content,(0,c.Z)({},t,{options:E})),(0,n.createElement)(d.ZT.Style.Content,(0,c.Z)({},t,{options:x})),(0,n.createElement)(d.ZT.Style.Content,(0,c.Z)({},t,{options:w})),(0,n.createElement)(d.ZT.Style.Content,(0,c.Z)({},t,{options:S})),(0,n.createElement)(d.hK.Style.Content,t),(0,n.createElement)(d.SX.Content,(0,c.Z)({},t,{options:f})),(0,n.createElement)(g.bg.Content,(0,c.Z)({styles:l,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,n.renderToString)(o)?(0,n.createElement)("style",null,o):null}).defaultProps={attributes:{}};var N=a(3726),M=a.n(N),I=a(4184),H=a.n(I);const U=wp.date,R=wp.htmlEntities,L={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"},P=[{label:(0,s.__)("Featured Image",r.i18n),value:"featured-image"},{label:(0,s.__)("Title",r.i18n),value:"title"},{label:(0,s.__)("Meta",r.i18n),value:"meta"},{label:(0,s.__)("Category",r.i18n),value:"category"},{label:(0,s.__)("Excerpt",r.i18n),value:"excerpt"},{label:(0,s.__)("Read More Button",r.i18n),value:"readmore"}],F=e=>{const{className:t="",categoryHighlighted:a=!1,imageSize:o,metaSeparator:c,excerptLength:b,authorShow:g=!0,dateShow:p=!0,commentsShow:h=!0,imageShow:v=!0,categoryShow:k=!0,titleShow:f=!0,metaShow:y=!0,excerptShow:C=!0,readmoreShow:_=!0,contentOrder:E=[]}=e,x=(0,m.RK)(u,t),w=H()(["stk-block-posts__item"]),S=H()("stk-block-posts__title",(0,d.Qz)(e,"title%s")),B=H()("stk-block-posts__category","stk-subtitle",(0,d.Qz)(e,"category%s")),T=H()("stk-block-posts__excerpt",(0,d.Qz)(e,"excerpt%s")),A=H()("stk-block-posts__meta","stk-subtitle",(0,d.Qz)(e,"meta%s")),z=H()("stk-block-posts__readmore",(0,d.Qz)(e,"readmore%s"));return(t,u)=>{var m;const{featured_image_urls:N,title:I,category_list:H,author_info:P,date_gmt:F,comments_num:O,post_excerpt_stackable:D}=t,Z=null==N||null===(m=N[o||"full"])||void 0===m?void 0:m[0],V=!["portfolio","portfolio-2","horizontal","horizontal-2"].includes(null==x?void 0:x.name),q=["list","horizontal","horizontal-2"].includes(null==x?void 0:x.name),G=!!Z&&(0,n.createElement)(d.Ee,{src:Z,alt:(0,s.__)("featured",r.i18n),hasRemove:!1,enableClickToEdit:!1,defaultWidth:100,defaultHeight:"auto",enableWidth:q,widthResizePosition:"horizontal"===(null==x?void 0:x.name)?"left":"right",enableDiagonal:"list"===(null==x?void 0:x.name),enableHeight:V,hasTooltip:V,heightResizePosition:"vertical-card-2"===(null==x?void 0:x.name)?"top":"bottom",className:"stk-block-posts__image-link"}),W=(0,n.createElement)(d.ZT,{defaultTag:"h3",attrNameTemplate:"title%s",className:S,value:(0,R.decodeEntities)(I.rendered.trim())||(0,s.__)("(Untitled)",r.i18n),editable:!1}),$=H&&(0,n.createElement)("div",{className:B},a?(0,n.createElement)("a",{href:"#",className:"stk-button"},(0,n.createElement)(d.ZT,{tagName:"span",className:"stk-button__inner-text",attrNameTemplate:"category%s",value:M()(H),editable:!1})):(0,n.createElement)(d.ZT,{tagName:"a",attrNameTemplate:"category%s",value:M()(H),editable:!1})),j=(0,n.createElement)("span",{className:"stk-block-posts__meta-sep"},L[c||"dot"]),Q=(null==P?void 0:P.name)&&(0,n.createElement)("span",null,P.name),K=F&&(0,n.createElement)("time",{dateTime:(0,U.format)("c",F)},(0,U.dateI18n)("F d, Y",F)),J=(0,n.createElement)("span",null,O);let X=D.split(" ");X=X.length>(b||55)?X.slice(0,b||55).join(" ")+"...":t.post_excerpt_stackable;const Y=X&&(0,n.createElement)("div",{className:T,dangerouslySetInnerHTML:{__html:X}}),ee=(0,n.createElement)(d.ZT,{identifier:"read-more-"+u,tagName:"a",attrNameTemplate:"readmore%s",className:z,defaultValue:(0,s.__)("Continue Reading",r.i18n)}),te=(g||p||h)&&(0,n.createElement)("aside",{className:A},g&&Q,g&&Q&&(p&&K||h&&J)&&j,p&&K,(g&&Q||p&&K)&&h&&J&&j,h&&J),ae={"featured-image":v&&G,title:f&&W,category:k&&$,meta:y&&te,excerpt:C&&Y,readmore:_&&ee},ne=E.map((e=>ae[e]));let le=(0,n.createElement)("article",null,(0,l.compact)(ne).map((e=>e)));return le=(0,i.applyFilters)("stackable.posts.edit.item.output",le,null==x?void 0:x.name,e,{...ae}),(0,n.createElement)("div",{className:w,key:u},(0,n.createElement)(d.e4,null,le))}};F.save=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.version;const{imageHasLink:a=!0,className:o="",authorShow:s=!0,dateShow:b=!0,commentsShow:g=!0,imageShow:p=!0,categoryShow:h=!0,titleShow:v=!0,metaShow:k=!0,excerptShow:f=!0,readmoreShow:y=!0,contentOrder:C=[]}=e,_=(0,m.RK)(u,o),E=H()(["stk-block-posts__item"]),x=H()("stk-block-posts__title",(0,d.Qz)(e,"title%s")),w=H()("stk-block-posts__category","stk-subtitle",(0,d.Qz)(e,"category%s")),S=H()("stk-block-posts__excerpt",(0,d.Qz)(e,"excerpt%s")),B=H()("stk-block-posts__meta","stk-subtitle",(0,d.Qz)(e,"meta%s")),T=H()("stk-block-posts__readmore",(0,d.Qz)(e,"readmore%s"));let A=(0,n.createElement)(d.Ee.Content,null);a&&(A=(0,n.createElement)("a",{href:"!#postLink!#",className:"stk-block-posts__image-link"},A));const z=(0,n.createElement)(d.ZT.Content,(0,c.Z)({defaultTag:"h3",attrNameTemplate:"title%s",className:x,value:"<a href='!#postLink!#'>!#title!#</a>",attributes:e},(0,i.applyFilters)("stackable.posts.title.typography-content",{},t))),N=(0,n.createElement)(d.ZT.Content,(0,c.Z)({tagName:"div",attrNameTemplate:"category%s",className:w,value:"!#category!#",attributes:e},(0,i.applyFilters)("stackable.posts.title.category-content",{},t))),M=(0,n.createElement)("span",{className:"stk-block-posts__meta-sep"},"!#metaSeparator!#"),I=(0,n.createElement)("span",null,"!#authorName!#"),U=(0,n.createElement)("time",{dateTime:"!#dateTime!#"},"!#date!#"),R=(0,n.createElement)("span",null,"!#commentsNum!#"),L=(0,n.createElement)("div",{className:S,dangerouslySetInnerHTML:{__html:"!#excerpt!#"}}),P=(0,n.createElement)(d.ZT.Content,(0,c.Z)({tagName:"a",href:"!#postLink!#",attrNameTemplate:"readmore%s",className:T,value:"!#readmoreText!#",attributes:e},(0,i.applyFilters)("stackable.posts.title.readmore-content",{},t))),F=(s||b||g)&&(0,n.createElement)("aside",{className:B},s&&I,s&&I&&(b&&U||g&&R)&&M,b&&U,(s&&I||b&&U)&&g&&R&&M,g&&R),O={"featured-image":p&&A,title:v&&z,category:h&&N,meta:k&&F,excerpt:f&&L,readmore:y&&P},D=C.map((e=>O[e]));let Z=(0,n.createElement)("article",null,(0,l.compact)(D).map((e=>e)));return Z=(0,i.applyFilters)("stackable.posts.save.item.output",Z,null==_?void 0:_.name,e,{...O}),(0,n.createElement)(n.Fragment,null,"<!–- /stk-start:posts/template –->",(0,n.createElement)("div",{className:E},(0,n.createElement)(d.e4.Content,{attributes:e},Z)),"<!–- /stk-end:post/template –->")};var O=a(1951),D=a(7537),Z=a(3749);const V=["stackable/load-more","stackable/pagination"],q=e=>{const{attributes:t,className:a,setAttributes:o}=e;(0,d.i_)(e.attributes);const c=(0,m.hU)(),{clientId:b,stkQueryId:h,imageSize:v,type:k="post",orderBy:f="date",order:y="desc",taxonomyType:C="category",taxonomy:_="",taxonomyFilterType:E="__in",contentOrder:x=["title","meta","category","excerpt","readmore"],uniqueId:w}=t,S=(0,m.WV)(),B=(0,d.NA)(t),T=(0,m.Sg)(u),{posts:A,isRequesting:N,hasPosts:M}=(0,m.Bm)(t),I=(0,Z.useInstanceId)(q),U=H()("stk-inner-blocks",(0,d.h5)(t)),R=H()([a,"stk-block-posts",S,B],{"stk--has-container":t.hasContainer}),L=H()(["stk-block-posts__items"]),O=H()(["stk-inner-blocks"]),G=x.map((e=>{var t;return null===(t=P.find((t=>t.value===e)))||void 0===t?void 0:t.label})),W=(0,n.useMemo)((()=>{var e,t,a;return null===(e=(0,l.first)(A))||void 0===e||null===(t=e.featured_image_urls)||void 0===t||null===(a=t[v||"full"])||void 0===a?void 0:a[0]}),[null==A?void 0:A.length]),$=(0,n.useMemo)((()=>F(t)),[t]);return(0,n.useEffect)((()=>{h||o({stkQueryId:I})}),[h,I]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(g.zT,null),(0,n.createElement)(d.v2.InspectorControls,null),(0,n.createElement)(d.Q.InspectorControls,null),(0,n.createElement)(d.aE.InspectorControls,null),(0,n.createElement)(d.wx.InspectorControls,null),(0,n.createElement)(g.Ib,null,(0,n.createElement)(g.SQ,{title:(0,s.__)("General"),id:"general"},(0,n.createElement)(g.o1,{label:(0,s.__)("Columns",r.i18n),attribute:"columns",responsive:"all",min:1,sliderMax:4,placeholder:"2"}),(0,n.createElement)(d.hK.InspectorControls.Controls,null),(0,n.createElement)(g.o1,{label:(0,s.__)("Content Width",r.i18n),attribute:"innerBlockContentWidth",responsive:"all",units:["px","%"],min:[0,0],sliderMax:[1500,100],step:[1,1],allowReset:!0,placeholder:"",initialPosition:"1500",className:"ugb--help-tip-advanced-block-content-width"}),""!==t.innerBlockContentWidth&&"Desktop"===c&&(0,n.createElement)(g.iB,{label:(0,s.__)("Content Horizontal Align",r.i18n),attribute:"innerBlockAlign",responsive:"all",controls:"flex-horizontal",className:"ugb--help-tip-advanced-block-horizontal-align"}),(""!==t.innerBlockContentWidth||""!==t.innerBlockContentWidthTablet)&&"Tablet"===c&&(0,n.createElement)(g.iB,{label:(0,s.__)("Content Horizontal Align",r.i18n),attribute:"innerBlockAlign",responsive:"all",controls:"flex-horizontal",className:"ugb--help-tip-advanced-block-horizontal-align"}),(""!==t.innerBlockContentWidth||""!==t.innerBlockContentWidthTablet||""!==t.innerBlockContentWidthMobile)&&"Mobile"===c&&(0,n.createElement)(g.iB,{label:(0,s.__)("Content Horizontal Align",r.i18n),attribute:"innerBlockAlign",responsive:"all",controls:"flex-horizontal",className:"ugb--help-tip-advanced-block-horizontal-align"}),(0,n.createElement)(d.fn,null),(0,n.createElement)(g.C7,{label:(0,s.__)("Content Arrangement",r.i18n),axis:"y",values:G,num:P.length,onChange:e=>{o({contentOrder:e.map((e=>{var t;return null===(t=P.find((t=>t.label===e)))||void 0===t?void 0:t.value}))})}})),(0,n.createElement)(g.SQ,{title:(0,s.__)("Query",r.i18n),id:"query"},(0,n.createElement)(g.o1,{label:(0,s.__)("Number of items",r.i18n),min:1,max:100,allowReset:!0,attribute:"numberOfItems",placeholder:"6",default:6}),(0,n.createElement)(g.qD,{label:(0,s.__)("Order by",r.i18n),options:[{label:(0,s.__)("Newest to Oldest",r.i18n),value:"date,desc"},{label:(0,s.__)("Oldest to Newest",r.i18n),value:"date,asc"},{label:(0,s.__)("A → Z",r.i18n),value:"title,asc"},{label:(0,s.__)("Z → A",r.i18n),value:"title,desc"},{label:(0,s.__)("Last Modified to Oldest",r.i18n),value:"modified,desc"},{label:(0,s.__)("Oldest Modified to Last",r.i18n),value:"modified,asc"},{label:(0,s.__)("Menu Order",r.i18n),value:"menu_order,asc"},{label:(0,s.__)("Random",r.i18n),value:"rand,desc"}],value:`${f},${y}`,onChange:e=>{const[t,a]=e.split(",");o({orderBy:t,order:a})},default:"date,desc"}),(0,n.createElement)(g.$$,{allowReset:!0,postType:k,onChangePostType:e=>o({type:e}),taxonomyType:C,onChangeTaxonomyType:e=>o({taxonomyType:e}),taxonomy:_,onChangeTaxonomy:e=>o({taxonomy:e}),taxonomyFilterType:E,onChangeTaxonomyFilterType:e=>o({taxonomyFilterType:e}),stkVersion:"3"}),(0,i.applyFilters)("stackable.posts.edit.inspector.style.query",null)),(0,n.createElement)(g.SQ,{title:(0,s.__)("Spacing",r.i18n),id:"spacing"},(0,n.createElement)(g.o1,{label:(0,s.__)("Featured Image",r.i18n),attribute:"imageSpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}),(0,n.createElement)(g.o1,{label:(0,s.__)("Title",r.i18n),attribute:"titleSpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}),(0,n.createElement)(g.o1,{label:(0,s.__)("Category",r.i18n),attribute:"categorySpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}),(0,n.createElement)(g.o1,{label:(0,s.__)("Excerpt",r.i18n),attribute:"excerptSpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}),(0,n.createElement)(g.o1,{label:(0,s.__)("Meta",r.i18n),attribute:"metaSpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}),(0,n.createElement)(g.o1,{label:(0,s.__)("Read More Link",r.i18n),attribute:"readmoreSpacing",responsive:"all",min:0,sliderMax:100,placeholder:""}))),(0,n.createElement)(d.Ee.InspectorControls,{label:(0,s.__)("Featured Image",r.i18n),hasHeight:!["portfolio","portfolio-2","horizontal","horizontal-2"].includes(T),hasBorderRadius:!["portfolio","portfolio-2","horizontal","horizontal-2"].includes(T),hasShape:!1,hasWidth:["list","horizontal","horizontal-2"].includes(T),hasAlt:!1,hasSelector:!1,src:W,hasToggle:!0}),(0,n.createElement)(d.ZT.InspectorControls,{label:(0,s.__)("Title",r.i18n),hasToggle:!0,attrNameTemplate:"title%s",hasTextContent:!1,hasAlign:!0,initialOpen:!1}),(0,n.createElement)(d.ZT.InspectorControls,{label:(0,s.__)("Category",r.i18n),hasToggle:!0,attrNameTemplate:"category%s",hasTextContent:!1,hasAlign:!0,hasTextTag:!1,initialOpen:!1}),(0,n.createElement)(d.ZT.InspectorControls,{label:(0,s.__)("Excerpt",r.i18n),hasToggle:!0,attrNameTemplate:"excerpt%s",hasTextTag:!1,hasTextContent:!1,hasAlign:!0,initialOpen:!1}),(0,n.createElement)(d.ZT.InspectorControls,{label:(0,s.__)("Meta",r.i18n),hasToggle:!0,attrNameTemplate:"meta%s",hasTextTag:!1,hasTextContent:!1,hasAlign:!0,initialOpen:!1}),(0,n.createElement)(d.ZT.InspectorControls,{label:(0,s.__)("Read More Link",r.i18n),attrNameTemplate:"readmore%s",hasTextTag:!1,hasToggle:!0,hasAlign:!0,initialOpen:!1}),(0,n.createElement)(d.e4.InspectorControls,null),(0,n.createElement)(d.ZK.InspectorControls,null),(0,n.createElement)(d.mz.InspectorControls,null),(0,n.createElement)(d.qy.InspectorControls,{mainBlockClass:"stk-block-posts"}),(0,n.createElement)(d.Et.InspectorControls,null),(0,n.createElement)(d.fN.InspectorControls,null),(0,n.createElement)(z,{version:r.version}),(0,n.createElement)(d.qy,{mainBlockClass:"stk-block-posts"}),N||!M?(0,n.createElement)(D.Placeholder,{icon:"admin-post",label:(0,s.__)("Posts",r.i18n)},!Array.isArray(A)||N?(0,n.createElement)(D.Spinner,null):(0,s.__)("No posts found.",r.i18n)):(0,n.createElement)(d.Q,{className:R,enableVariationPicker:!0},(0,n.createElement)("div",{className:U,key:`posts-wrapper-${b}`},(0,n.createElement)("div",{className:L,key:`posts-content-${b}`},(A||[]).map($)),(0,n.createElement)("div",{className:O,key:`posts-inner-${b}`},(0,n.createElement)(p.InnerBlocks,{allowedBlocks:V})))),!N&&M&&w&&(0,n.createElement)(d.cy,null))},G=(0,O.dF)(q);(0,i.addFilter)("stackable.block-component.typography.color.after","stackable/posts",((e,t)=>{const{name:a}=(0,p.useBlockEditContext)();return"stackable/posts"!==a?e:(0,n.createElement)(n.Fragment,null,e,(0,n.createElement)(g.PQ,{label:(0,s.__)("Apply hover effect when container is hovered",r.i18n),attribute:(0,b.WC)(t.attrNameTemplate,"hoverStateInContainer")}))})),(0,i.addFilter)("stackable.block-component.typography.color.after","stackable/posts",((e,t)=>{const{name:a}=(0,p.useBlockEditContext)(),{getAttribute:l}=(0,m.Mf)();return"stackable/posts"!==a||"category%s"!==t.attrNameTemplate?e:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(g.PQ,{label:(0,s.__)("Highlighted",r.i18n),attribute:"categoryHighlighted"}),l("categoryHighlighted")&&(0,n.createElement)(g.Xw,{label:(0,s.__)("Highlight Color",r.i18n),hover:"all",attribute:"categoryHighlightColor"}),e)})),(0,i.addFilter)("stackable.block-component.typography.before","stackable/posts",((e,t)=>{const{name:a}=(0,p.useBlockEditContext)();return"stackable/posts"!==a||"excerpt%s"!==t.attrNameTemplate?e:(0,n.createElement)(g.o1,{label:(0,s.__)("Excerpt Length",r.i18n),attribute:"excerptLength",placeholder:"55",min:1,sliderMax:100})})),(0,i.addFilter)("stackable.block-component.typography.before","stackable/posts",((e,t)=>{const{name:a}=(0,p.useBlockEditContext)();return"stackable/posts"!==a||"meta%s"!==t.attrNameTemplate?e:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(g.PQ,{label:(0,s.__)("Show Author",r.i18n),attribute:"authorShow"}),(0,n.createElement)(g.PQ,{label:(0,s.__)("Show Date",r.i18n),attribute:"dateShow"}),(0,n.createElement)(g.PQ,{label:(0,s.__)("Show Comments",r.i18n),attribute:"commentsShow"}),(0,n.createElement)(g.qD,{label:(0,s.__)("Separator",r.i18n),options:[{label:(0,s.__)("Default (Dot)",r.i18n),value:""},{label:(0,s.__)("Space",r.i18n),value:"space"},{label:(0,s.__)("Comma",r.i18n),value:"comma"},{label:(0,s.__)("Dash",r.i18n),value:"dash"},{label:(0,s.__)("Pipe",r.i18n),value:"pipe"}],attribute:"metaSeparator"}))})),(0,i.addFilter)("stackable.block-component.image.before","stackable/posts",(e=>{const{name:t}=(0,p.useBlockEditContext)(),{getAttribute:a,updateAttributeHandler:l}=(0,m.Mf)();return"stackable/posts"!==t?e:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(g.PQ,{label:(0,s.__)("Add post links to images",r.i18n),attribute:"imageHasLink"}),(0,n.createElement)(g.gn,{label:(0,s.__)("Image Size",r.i18n),value:a("imageSize"),onChange:l("imageSize"),default:"full",className:"ugb--help-tip-image-size"}),(0,n.createElement)(g.PQ,{label:(0,s.__)("Apply hover effect when container is hovered",r.i18n),attribute:"imageHoverStateInContainer"}))}));const W=e=>{const{version:t,className:a,attributes:l}=e,i=(0,d.ul)(e.attributes),o=(0,d.NA)(e.attributes),r=H()("stk-inner-blocks",(0,d.gd)(l)),s=H()([a,"stk-block-posts",i,o],{"stk--has-container":l.hasContainer}),c=H()(["stk-block-posts__items"]),u=H()(["stk-inner-blocks"]);return(0,n.createElement)(d.Q.Content,{className:s,attributes:l},(0,n.createElement)(z.Content,{version:t,attributes:l}),(0,n.createElement)(d.qy.Content,{attributes:l}),(0,n.createElement)("div",{className:r},(0,n.createElement)("div",{className:c},F.save({...l,className:a},t)),(0,n.createElement)("div",{className:u},(0,n.createElement)(p.InnerBlocks.Content,null))))},$=(0,Z.compose)((0,O.kY)(r.version))(W),j={stkQueryId:{type:"number"},columns:{type:"number",default:"",stkResponsive:!0},contentOrder:{type:"array",default:""},innerBlockContentWidth:{stkResponsive:!0,stkUnits:"px",type:"number",default:""},innerBlockAlign:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},type:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},taxonomyFilterType:{type:"string",default:"__in"},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},excludeCurrentPost:{type:"boolean",default:""},postInclude:{type:"string",default:""},readmoreText:{type:"string",default:""},imageSpacing:{stkResponsive:!0,type:"number",default:""},titleSpacing:{stkResponsive:!0,type:"number",default:""},categorySpacing:{stkResponsive:!0,type:"number",default:""},excerptSpacing:{stkResponsive:!0,type:"number",default:""},metaSpacing:{stkResponsive:!0,type:"number",default:""},readmoreSpacing:{stkResponsive:!0,type:"number",default:""},authorShow:{type:"boolean",default:""},dateShow:{type:"boolean",default:""},commentsShow:{type:"boolean",default:""},excerptLength:{type:"number",default:""},metaSeparator:{type:"string",default:""},titleHoverStateInContainer:{type:"boolean",default:""},categoryHoverStateInContainer:{type:"boolean",default:""},categoryHighlighted:{type:"boolean",default:""},categoryHighlightColor:{stkHover:!0,type:"string",default:""},excerptHoverStateInContainer:{type:"boolean",default:""},metaHoverStateInContainer:{type:"boolean",default:""},readmoreHoverStateInContainer:{type:"boolean",default:""},imageHoverStateInContainer:{type:"boolean",default:""},imageHasLink:{type:"boolean",default:!0}},Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.version;const t=new b.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.e4.addAttributes(t),d.Ee.addAttributes(t,{imageWidthUnitDefault:"px"}),d.v2.addAttributes(t),d.aE.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),d.fN.addAttributes(t),d.ZT.addAttributes(t,"stk-block-posts__title",{hasTextContent:!1,attrNameTemplate:"title%s"}),d.ZT.addAttributes(t,"stk-block-posts__category",{hasTextTag:!1,hasTextContent:!1,attrNameTemplate:"category%s"}),d.ZT.addAttributes(t,"stk-block-posts__excerpt",{hasTextTag:!1,hasTextContent:!1,attrNameTemplate:"excerpt%s"}),d.ZT.addAttributes(t,"stk-block-posts__meta",{hasTextTag:!1,hasTextContent:!1,attrNameTemplate:"meta%s"}),d.ZT.addAttributes(t,"stk-block-posts__readmore",{hasTextTag:!1,hasTextContent:!1,attrNameTemplate:"readmore%s"}),d.wx.addAttributes(t),d.hK.addAttributes(t),t.add({attributes:j,versionAdded:"3.0.0",versionDeprecated:""}),(0,d.c4)(t),t.addDefaultValues({attributes:{readmoreText:(0,s.__)("Continue Reading",r.i18n),commentsShow:!0,authorShow:!0,dateShow:!0,titleShow:!0,titleTextTag:"h3",postType:"post",numberOfItems:6,orderBy:"date",order:"desc",taxonomyType:"category",taxonomy:"",taxonomyFilterType:"__in",contentOrder:["category","featured-image","title","meta","excerpt","readmore"]},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)},K=Q(r.version),J=JSON.parse('{"name":"stackable/posts","title":"Posts","description":"Your latest blog posts. Use this to showcase a few of your posts in your landing pages.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Blog Posts","Lastest Posts","Query Loop"],"providesContext":{"type":"type","orderBy":"orderBy","order":"order","taxonomyType":"taxonomyType","taxonomy":"taxonomy","taxonomyFilterType":"taxonomyFilterType","postOffset":"postOffset","postExclude":"postExclude","postInclude":"postInclude","numberOfItems":"numberOfItems","stkQueryId":"stkQueryId"},"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/blog-posts-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var X=a(4597),Y=a(4247),ee=a.n(Y);const te=(e,t)=>-1===ee()(t,"3.0.3")?{...e,attributes:void 0}:e;(0,i.addFilter)("stackable.posts.title.typography-content","stackable/3_0_2",te),(0,i.addFilter)("stackable.posts.title.category-content","stackable/3_0_2",te),(0,i.addFilter)("stackable.posts.title.readmore-content","stackable/3_0_2",te);const ae=[{attributes:Q("3.0.2"),save:(0,O.kY)("3.0.2")(W)}],ne=(0,i.applyFilters)("stackable.block.metadata",{...J,icon:X.W3,supports:{align:["center","wide","full"],anchor:!0,stkAlign:!0},attributes:K,example:{attributes:{uniqueId:"feb3776",hasBackground:!1,hasBorders:!1,hasContainer:!1,imageShow:!0,imageSize:"full",imageWidth:100,imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},titleHasP:!1,titleShow:!0,titleTextTag:"h3",categoryHasP:!1,categoryShow:!0,excerptHasP:!1,excerptShow:!0,metaHasP:!1,metaShow:!0,readmoreHasP:!1,readmoreShow:!0,stkQueryId:1,contentOrder:["category","featured-image","title","meta","excerpt","readmore"],numberOfItems:1,order:"desc",orderBy:"date",type:"post",taxonomyType:"category",taxonomyFilterType:"__in",authorShow:!0,dateShow:!0,commentsShow:!0,imageHasLink:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",imageWidthUnit:"%",titleLineHeightUnit:"em",titleLineHeightUnitTablet:"em",titleLineHeightUnitMobile:"em",categoryLineHeightUnit:"em",categoryLineHeightUnitTablet:"em",categoryLineHeightUnitMobile:"em",excerptLineHeightUnit:"em",excerptLineHeightUnitTablet:"em",excerptLineHeightUnitMobile:"em",metaLineHeightUnit:"em",metaLineHeightUnitTablet:"em",metaLineHeightUnitMobile:"em",readmoreLineHeightUnit:"em",readmoreLineHeightUnitTablet:"em",readmoreLineHeightUnitMobile:"em"},innerBlocks:[]},deprecated:ae,variations:u,edit:G,save:$})},8735:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>_});var n=a(4597),l=a(2610),i=a(2285),o=a(6869),r=a(4678),s=a(78);const c=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:n}=(0,s.useBlockEditContext)(),c=(0,o.kX)(n);return t.blockUniqueClassName=(0,r.tJ)(c.uniqueId),t.deviceType=a,t.attributes={...c,clientId:n},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style,t),(0,l.createElement)(i.Q.Style,t),(0,l.createElement)(i.sg.Style,t),(0,l.createElement)(i.aE.Style,t),(0,l.createElement)(i.wx.Style,t),(0,l.createElement)(i.ZK.Style,t))};c.defaultProps={isEditor:!1},(c.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(i.v2.Style.Content,t),(0,l.createElement)(i.Q.Style.Content,t),(0,l.createElement)(i.sg.Style.Content,t),(0,l.createElement)(i.ZK.Style.Content,t),(0,l.createElement)(i.aE.Style.Content,t),(0,l.createElement)(i.wx.Style.Content,t));return(0,l.renderToString)(a)?(0,l.createElement)("style",null,a):null}).defaultProps={attributes:{}};var u=a(910),d=a(4184),m=a.n(d),b=a(3233),g=a(1951),p=(a(8003),a(3882));const h=[["stackable/text",{text:"$",htmlTag:"span",innerTextTag:"span"}],["stackable/text",{text:"99",htmlTag:"span",innerTextTag:"span",className:"stk-block-price__price"}],["stackable/text",{text:".00",htmlTag:"span",innerTextTag:"span"}]],v=["block","advanced"],k=(0,g.dF)((e=>{const{className:t,attributes:a}=e;(0,i.i_)(e.attributes);const n=(0,i.pc)(a),o=(0,i.NA)(a),r=m()([t,"stk-block-price",n,o]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(b.zT,{tabs:v}),(0,l.createElement)(i.v2.InspectorControls,null),(0,l.createElement)(i.Q.InspectorControls,null),(0,l.createElement)(i.aE.InspectorControls,null),(0,l.createElement)(i.wx.InspectorControls,null),(0,l.createElement)(i.ZK.InspectorControls,null),(0,l.createElement)(i.mz.InspectorControls,null),(0,l.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-price"}),(0,l.createElement)(i.Et.InspectorControls,null),(0,l.createElement)(i.fN.InspectorControls,null),(0,l.createElement)(c,{version:u.version}),(0,l.createElement)(i.qy,{mainBlockClass:"stk-block-price"}),(0,l.createElement)(i.Q,{className:r},(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.InnerBlocks,{template:h,templateLock:"all"}))),(0,l.createElement)(i.cy,null))}));(0,p.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/price",((e,t)=>"stackable/price"!==(null==t?void 0:t.name)&&e)),(0,p.addFilter)("stackable.text.edit.enable-column","stackable/price",((e,t)=>"stackable/price"!==(null==t?void 0:t.name)&&e)),(0,p.addFilter)("stackable.text.edit.placeholder","stackable/price",((e,t)=>{let{parentBlock:a,isFirstBlock:n,isLastBlock:l}=t;return"stackable/price"!==(null==a?void 0:a.name)?e:n?"$":l?".00":"100"}));const f=(0,a(3749).compose)((0,g.kY)(u.version))((e=>{const{attributes:t,className:a}=e,n=(0,i.NA)(t),o=(0,i.ul)(t),r=m()([a,"stk-block-price",o,n]);return(0,l.createElement)(i.Q.Content,{className:r,attributes:t,"data-video":t.videoLink},(0,l.createElement)(c.Content,{version:e.version,attributes:t}),(0,l.createElement)(i.qy.Content,{attributes:t}),(0,l.createElement)(s.InnerBlocks.Content,null))})),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.version;const t=new r.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.cy.addAttributes(t),i.X2.addAttributes(t),i.aE.addAttributes(t),i.wx.addAttributes(t),i.v2.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),t.getMerged(e)}(u.version),C=JSON.parse('{"name":"stackable/price","title":"Price","description":"Show a price of a product or service with currency and a suffix styled with different weights","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Currency","Pricing","Number"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}'),_=(0,p.applyFilters)("stackable.block.metadata",{...C,icon:n.ho,attributes:y,supports:{anchor:!0},example:{attributes:{uniqueId:"1060b1d",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",contentAlign:"center"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"12d466a",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:"$",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"78527e2",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:"99",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"stk-block-price__price"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"116b754",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:".00",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},edit:k,save:f})},1589:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>S});var n=a(4597),l=a(910),i=a(8003),o=a(3882),r=a(7462),s=a(2610);a(7294);const c=(0,o.applyFilters)("stackable.pricing-box.variations",[{name:"default",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Default",l.i18n)),attributes:{className:"is-style-basic"},isDefault:!0,pickerTitle:(0,i.__)("Default",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 12h22v23H13V12zm-2 0a2 2 0 012-2h22a2 2 0 012 2v23a2 2 0 01-2 2H13a2 2 0 01-2-2V12zm18 5H19v2h10v-2zM19 29h10v3H19v-3zm13-6H16v2h16v-2z"}))},isActive:["className"],innerBlocks:[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/price",{}],["stackable/subtitle",{text:(0,i._x)("Subtitle for This Block","Subtitle placeholder",l.i18n)}],["stackable/icon-list",{text:(0,i.sprintf)("<li>%s</li><li>%s</li><li>%s</li>",...[(0,i.__)("one",l.i18n),(0,i.__)("two",l.i18n),(0,i.__)("three",l.i18n)].map((e=>(0,i.sprintf)((0,i.__)("Package inclusion %s",l.i18n),e))))}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n)}]]]],scope:["block"]},{name:"compact",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Compact",l.i18n)),attributes:{className:"is-style-compact"},pickerTitle:(0,i.__)("Compact",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41 13H7v22h34V13zM7 11a2 2 0 00-2 2v22a2 2 0 002 2h34a2 2 0 002-2V13a2 2 0 00-2-2H7zm19 6h10v2H26v-2zm10 6H26v2h10v-2zm-25 6h25v2H11v-2zm11-12H11v8h11v-8z"}))},isActive:["className"],innerBlocks:[["stackable/columns",{},[["stackable/column",{},[["stackable/image",{}]]],["stackable/column",{contentAlign:"left",columnAlign:"center"},[["stackable/heading",{text:(0,i._x)("Title for This Block","Heading placeholder",l.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/price",{}],["stackable/subtitle",{text:(0,i._x)("Subtitle for This Block","Subtitle placeholder",l.i18n)}],["stackable/button-group",{},[["stackable/button",{text:(0,i._x)("Button","Button placeholder",l.i18n)}]]]]]]],["stackable/icon-list",{text:(0,i.sprintf)("<li>%s</li><li>%s</li><li>%s</li>",...[(0,i.__)("one",l.i18n),(0,i.__)("two",l.i18n),(0,i.__)("three",l.i18n)].map((e=>(0,i.sprintf)((0,i.__)("Package inclusion %s",l.i18n),e))))}]],scope:["block"]},{name:"banner",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Banner Layout",l.i18n)),pickerTitle:(0,i.__)("Banner",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35 37V15H13v22h22zM13 9a2 2 0 00-2 2v26a2 2 0 002 2h22a2 2 0 002-2V11a2 2 0 00-2-2H13zm6 10h10v2H19v-2zm10 12H19v3h10v-3zm-13-6h16v2H16v-2z"}))},isActive:["className"],isPremium:!l.isPro,scope:["block"]},{name:"colored",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Colored Layout",l.i18n)),pickerTitle:(0,i.__)("Colored",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35 37V27H13v10h22zM13 9a2 2 0 00-2 2v26a2 2 0 002 2h22a2 2 0 002-2V11a2 2 0 00-2-2H13zm6 22h10v2H19v-2zm13-10H16v2h16v-2zm-16-6h16v2H16v-2z"}))},isActive:["className"],isPremium:!l.isPro,scope:["block"]},{name:"sectioned",description:(0,i.sprintf)((0,i._x)("%s Layout","Block layout name",l.i18n),(0,i.__)("Sectioned Layout",l.i18n)),pickerTitle:(0,i.__)("Sectioned",l.i18n),pickerIcon:function(e){return(0,s.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,s.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 37V16h22v21H13zm-2-27a2 2 0 012-2h22a2 2 0 012 2v27a2 2 0 01-2 2H13a2 2 0 01-2-2V10zm8 1h10v2H19v-2zm-3 8h16v8H16v-8zm16 12H16v2h16v-2z"}))},isActive:["className"],isPremium:!l.isPro,scope:["block"]}]);var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);return t.blockUniqueClassName=(0,m.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style,t),(0,s.createElement)(u.Q.Style,t),(0,s.createElement)(u.aE.Style,t),(0,s.createElement)(u.wx.Style,t),(0,s.createElement)(u.ZK.Style,t),(0,s.createElement)(u.e4.Style,t),(0,s.createElement)(u.cy.Style,t),(0,s.createElement)(u.hK.Style,t))};g.defaultProps={isEditor:!1},(g.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,s.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(u.v2.Style.Content,t),(0,s.createElement)(u.Q.Style.Content,t),(0,s.createElement)(u.aE.Style.Content,t),(0,s.createElement)(u.wx.Style.Content,t),(0,s.createElement)(u.ZK.Style.Content,t),(0,s.createElement)(u.e4.Style.Content,t),(0,s.createElement)(u.cy.Style.Content,t),(0,s.createElement)(u.hK.Style.Content,t));return(0,s.renderToString)(a)?(0,s.createElement)("style",null,a):null}).defaultProps={attributes:{}};const p=g;var h=a(4184),v=a.n(h),k=a(8085),f=a(3233),y=a(1951);const C=c[0].innerBlocks,_=(0,y.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:n}=(0,d.VG)(),i=(0,u.NA)(e.attributes),o=(0,d.WV)(),r=v()([t,"stk-block-pricing-box",o]),c=v()(["stk-block-content","stk-inner-blocks",i,`stk-${e.attributes.uniqueId}-container`,"stk-block-pricing-box__content"],(0,u.h5)(e.attributes)),m=(0,s.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,k.last)(n))||void 0===e?void 0:e.name)?()=>(0,s.createElement)(s.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[a,n]);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(f.zT,null),(0,s.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,s.createElement)(u.Q.InspectorControls,null),(0,s.createElement)(u.aE.InspectorControls,null),(0,s.createElement)(u.wx.InspectorControls,null),(0,s.createElement)(u.yG.InspectorControls,null),(0,s.createElement)(u.ZK.InspectorControls,null),(0,s.createElement)(u.mz.InspectorControls,null),(0,s.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-pricing-box"}),(0,s.createElement)(u.Et.InspectorControls,null),(0,s.createElement)(u.fN.InspectorControls,null),(0,s.createElement)(u.hK.InspectorControls,null),(0,s.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,s.createElement)(f.Ib,null,(0,s.createElement)(f.t7,null)),(0,s.createElement)(p,{version:l.version}),(0,s.createElement)(u.qy,{mainBlockClass:"stk-block-pricing-box"}),(0,s.createElement)(u.Q,{className:r,enableVariationPicker:!0},(0,s.createElement)(u.e4,{className:c},(0,s.createElement)(f.AM,{template:C,templateLock:!1,renderAppender:m}))),a&&(0,s.createElement)(u.cy,null))})),E=(0,a(3749).compose)((0,y.kY)(l.version))((e=>{const{attributes:t}=e,a=(0,u.NA)(e.attributes),n=(0,u.ul)(e.attributes),l=v()([e.className,"stk-block-pricing-box",n]),i=v()(["stk-block-pricing-box__content"],(0,u.gd)(t)),o=v()(["stk-block-content","stk-inner-blocks",a]);return(0,s.createElement)(u.Q.Content,{className:l,attributes:t},(0,s.createElement)(p.Content,{version:e.version,attributes:t}),(0,s.createElement)(u.qy.Content,{attributes:t}),(0,s.createElement)(u.e4.Content,{className:i,attributes:t},(0,s.createElement)("div",{className:o},(0,s.createElement)(b.InnerBlocks.Content,null)),(0,s.createElement)(u.yG.Content,{attributes:t})))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.cy.addAttributes(t),u.e4.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.fN.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.yG.addAttributes(t),u.hK.addAttributes(t),t.addDefaultValues({attributes:{hasContainer:!0,contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(l.version),w=JSON.parse('{"name":"stackable/pricing-box","title":"Pricing Box","description":"Display the different pricing tiers of your business.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Currency","Price","Pricing Table"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),S=(0,o.applyFilters)("stackable.block.metadata",{...w,icon:n.ho,attributes:x,supports:{anchor:!0,align:["center","wide","full"],stkAlign:!0},example:{attributes:{uniqueId:"093422b",hasBackground:!1,hasBorders:!1,hasContainer:!0,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-basic"},innerBlocks:[{name:"stackable/heading",attributes:{uniqueId:"5012c51",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Title",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/price",attributes:{uniqueId:"9de41dd",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"8268936",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:"$",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"e63a742",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:"99",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",className:"stk-block-price__price"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"cb8d508",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},htmlTag:"span",hasP:!1,show:!0,showText:!0,text:".00",innerTextTag:"span",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},{name:"stackable/subtitle",attributes:{uniqueId:"f466288",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Subtitle for This Block",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/icon-list",attributes:{uniqueId:"438b4fe",hasBackground:!1,hasBorders:!1,customAttributes:[],effectAnimationOut:{},effectAnimationIn:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"<li>Package inclusion one</li><li>Package inclusion two</li><li>Package inclusion three</li>",ordered:!1,icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190"><polygon points="173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"/></svg>',icons:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em",contentAlign:"center"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"7fdb95b",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/button",attributes:{uniqueId:"fe3d631",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,showBackgroundShape:!1,hasP:!1,show:!0,showText:!0,text:"Button",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]}]},variations:c,edit:_,save:E})},2922:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>E});var n=a(2610),l=a(7462),i=a(2285),o=a(6869),r=a(4678),s=a(3233),c=a(78),u=a(3882);const d={selector:"",enableFlipVertically:!0,isInitiallyFlippedVertically:!1,wrapperSelector:".stk-block-separator__inner"},m=e=>{const{...t}=e,a=(0,o.hU)(),{clientId:m}=(0,c.useBlockEditContext)(),b=(0,o.kX)(m);t.blockUniqueClassName=(0,r.tJ)(b.uniqueId),t.deviceType=a,t.attributes={...b,clientId:m};const g=(0,r.yK)(b,(0,i.j7)(d,"")),p=(0,r.yK)(b,(0,u.applyFilters)("stackable.block-component.separator.get-style-params",[],d,""));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Q.Style,t),(0,n.createElement)(i.aE.Style,t),(0,n.createElement)(i.ZK.Style,t),(0,n.createElement)(i.wx.Style,t),(0,n.createElement)(s.bg,(0,l.Z)({styles:g,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,n.createElement)(s.bg,(0,l.Z)({styles:p,versionAdded:"3.0.0",versionDeprecated:""},t)))};m.defaultProps={isEditor:!1},(m.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,r.tJ)(e.attributes.uniqueId);const a=(0,r.Wi)(e.attributes,(0,i.j7)(d,"")),o=(0,r.Wi)(e.attributes,(0,u.applyFilters)("stackable.block-component.separator.get-style-params",[],d,"")),c=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Q.Style.Content,t),(0,n.createElement)(i.aE.Style.Content,t),(0,n.createElement)(i.ZK.Style.Content,t),(0,n.createElement)(i.wx.Style.Content,t),(0,n.createElement)(s.bg.Content,(0,l.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,n.createElement)(s.bg.Content,(0,l.Z)({styles:o,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,n.renderToString)(c)?(0,n.createElement)("style",null,c):null}).defaultProps={attributes:{}};var b=a(4184),g=a.n(b),p=a(1951),h=a(910);const v=(0,p.kY)(h.version)((e=>{const{className:t,attributes:a}=e,{separatorDesign:l,separatorInverted:o}=a,r=(0,i.ul)(e.attributes),c=g()([t,"stk-block-separator",r,"stk--no-padding"]),d=g()(["stk-block-separator__inner"]);return(0,n.createElement)(i.Q.Content,{className:c,attributes:a},(0,n.createElement)(m.Content,{version:e.version,attributes:a}),(0,n.createElement)(i.qy.Content,{attributes:a}),(0,n.createElement)("div",{className:d},(0,n.createElement)(s.Sf.Content,{design:l,inverted:o}),(0,u.applyFilters)("stackable.block.separator.save.output.layers",null,e)))}));var k=a(8003);const f=(0,p.dF)((e=>{const{className:t,attributes:a}=e;(0,i.i_)(e.attributes);const{separatorDesign:l,separatorInverted:r}=a,c=(0,o.WV)(),d=g()([t,"stk-block-separator",c,"stk--no-padding"]),b=g()(["stk-block-separator__inner"]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.zT,null),(0,n.createElement)(i.Q.InspectorControls,null),(0,n.createElement)(s.Ib,null,(0,n.createElement)(s.SQ,{title:(0,k.__)("General",h.i18n),id:"general",initialOpen:!0},(0,n.createElement)(s.o1,{label:(0,k.__)("Height",h.i18n),min:30,sliderMax:400,placeholder:"",attribute:"separatorHeight",responsive:"all"}),(0,n.createElement)(s.PQ,{label:(0,k.__)("Flip Horizontally",h.i18n),attribute:"separatorFlipHorizontally"}),(0,n.createElement)(s.PQ,{label:(0,k.__)("Flip Vertically",h.i18n),attribute:"separatorFlipVertically"})),(0,n.createElement)(s.SQ,{title:(0,k.__)("Separator",h.i18n),id:"separator"},(0,n.createElement)(i.Z0.InspectorControls.SeparatorControls,{hasFlipVertically:!0})),(0,u.applyFilters)("stackable.block.separator.edit.after",null,e)),(0,n.createElement)(i.aE.InspectorControls,null),(0,n.createElement)(i.wx.InspectorControls,null),(0,n.createElement)(i.ZK.InspectorControls,null),(0,n.createElement)(i.mz.InspectorControls,null),(0,n.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-separator"}),(0,n.createElement)(i.Et.InspectorControls,null),(0,n.createElement)(i.fN.InspectorControls,null),(0,n.createElement)(m,{version:h.version}),(0,n.createElement)(i.qy,{mainBlockClass:"stk-block-separator"}),(0,n.createElement)(i.Q,{className:d},(0,n.createElement)("div",{className:b},(0,n.createElement)(s.Sf,{design:l,inverted:r}),(0,u.applyFilters)("stackable.block.separator.edit.output.layers",null,e))),(0,n.createElement)(i.cy,null))})),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.version;const t=new r.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.aE.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),i.yG.addAttributes(t),i.wx.addAttributes(t),t.add({attributes:{align:{type:"string",default:"full"},...(0,i.Xd)(),...(0,i.Yr)("%s",2),...(0,i.Yr)("%s",3)},versionAdded:"3.0.0",versionDeprecated:""}),t.addDefaultValues({attributes:{separatorShow:!0},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(h.version),C=JSON.parse('{"name":"stackable/separator","title":"Separator","description":"A fancy separator to be placed between content.","category":"layout","usesContext":["postId","postType","queryId"],"keywords":["Svg Divider"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/separator-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var _=a(4597);const E=(0,u.applyFilters)("stackable.block.metadata",{...C,icon:_.b3,supports:{align:["full"],anchor:!0},example:{attributes:{uniqueId:"067ed3b",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,align:"full",separatorShow:!0,separatorColor:"#6f6d9f",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},attributes:y,edit:f,save:v})},8968:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>w});var n=a(2610),l=a(7462),i=a(2285),o=a(4678),r=a(6869),s=a(3233),c=a(78);const u=e=>{const{...t}=e,a=(0,r.hU)(),{clientId:u}=(0,c.useBlockEditContext)(),d=(0,r.kX)(u),m=(0,o.yK)(t.attributes,[{selector:"",styleRule:"height",attrName:"height",format:"%spx",responsive:"all"}]);return t.blockUniqueClassName=(0,o.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:u},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Q.Style,t),(0,n.createElement)(i.aE.Style,t),(0,n.createElement)(i.wx.Style,t),(0,n.createElement)(i.ZK.Style,t),(0,n.createElement)(s.bg,(0,l.Z)({styles:m,versionAdded:"3.0.0",versionDeprecated:""},t)))};u.defaultProps={isEditor:!1,attributes:{},options:{}},u.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,n.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,o.tJ)(t.attributes.uniqueId);const a=(0,o.Wi)(t.attributes,[{selector:"",styleRule:"height",attrName:"height",format:"%spx",responsive:"all"}]),r=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(i.Q.Style.Content,t),(0,n.createElement)(i.aE.Style.Content,t),(0,n.createElement)(i.wx.Style.Content,t),(0,n.createElement)(i.ZK.Style.Content,t),(0,n.createElement)(s.bg.Content,(0,l.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,n.renderToString)(r)?(0,n.createElement)("style",null,r):null};var d=a(4184),m=a.n(d),b=a(910),g=a(1951),p=a(7537),h=a(8003),v=a(3749);const k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return[Math.floor(e/t)*t,Math.ceil(e/t)*t]},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e&&void 0!==e},y=(0,v.compose)(g.GC,g.dF)((e=>{var t,a,l,c;const{className:d,attributes:g,setAttributes:v,isHovered:y,isSelected:C}=e;(0,i.i_)(e.attributes);const _=(0,r.hU)(),E=(0,r.WV)(),x=m()([d,"stk-block-spacer",E,"stk--no-padding"]),w=(0,o.UX)("height",_),S=g[w],B=(0,n.useMemo)((()=>"Tablet"===_?f(g[(0,o.UX)("height")])?g[(0,o.UX)("height")]:50:"Mobile"===_?f(g[(0,o.UX)("height","tablet")])?g[(0,o.UX)("height","tablet")]:f(g[(0,o.UX)("height")])?g[(0,o.UX)("height")]:50:50),[_]),[T,A]=(0,n.useState)(k(parseInt(void 0===S?B:g[w]))),z=(0,n.useRef)();return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.zT,null),(0,n.createElement)(i.Q.InspectorControls,{hasSizeSpacing:!1}),(0,n.createElement)(s.Ib,null,(0,n.createElement)(s.SQ,{title:(0,h.__)("General",b.i18n),id:"general",initialOpen:!0},(0,n.createElement)(s.o1,{label:(0,h.__)("Height",b.i18n),responsive:"all",attribute:"height",sliderMin:"0",sliderMax:"500",placeholder:B}))),(0,n.createElement)(i.aE.InspectorControls,null),(0,n.createElement)(i.wx.InspectorControls,null),(0,n.createElement)(i.ZK.InspectorControls,null),(0,n.createElement)(i.mz.InspectorControls,null),(0,n.createElement)(i.qy.InspectorControls,{mainBlockClass:"stk-block-spacer"}),(0,n.createElement)(i.Et.InspectorControls,null),(0,n.createElement)(i.fN.InspectorControls,null),(0,n.createElement)(u,{version:b.version}),(0,n.createElement)(i.qy,{mainBlockClass:"stk-block-spacer"}),(0,n.createElement)(i.Q,{className:x},(0,n.createElement)(p.ResizableBox,{ref:z,showHandle:y||C,size:{height:""===S?B:S},minHeight:"0",enable:{bottom:!0},onResize:(e,t,a,n)=>{let l=S;""!==l&&void 0!==l||(l=B),A(k(parseInt(l)+n.height))},onResizeStop:(e,t,a,n)=>{let l=S;""!==l&&void 0!==l||(l=B),v({[w]:parseInt(l)+n.height})},snap:{y:T},snapGap:10},y&&(0,n.createElement)(s.R$,{label:(0,h.__)("Spacer",b.i18n),enableWidth:!1,height:null!==(t=z.current)&&void 0!==t&&null!==(a=t.state)&&void 0!==a&&a.isResizing?null===(l=z.current)||void 0===l||null===(c=l.state)||void 0===c?void 0:c.height:""===S||void 0===S?"":S,heightUnits:["px"],onChangeHeight:e=>{let{value:t}=e;v({[w]:t})},defaultHeight:"",heightPlaceholder:B}))))})),C=(0,v.compose)((0,g.kY)(b.version))((e=>{const{...t}=e,a=(0,i.ul)(e.attributes),l=m()([t.className,"stk-block-spacer",a,"stk--no-padding"]);return(0,n.createElement)(i.Q.Content,{className:l,attributes:e.attributes},(0,n.createElement)(u.Content,t),(0,n.createElement)(i.qy.Content,{attributes:e.attributes}))})),_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.version;const t=new o.DC;return i.Q.addAttributes(t),i.bg.addAttributes(t),i.ZK.addAttributes(t),i.mz.addAttributes(t),i.qy.addAttributes(t),i.Et.addAttributes(t),i.fN.addAttributes(t),i.aE.addAttributes(t),i.wx.addAttributes(t),t.add({attributes:{height:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(b.version),E=JSON.parse('{"name":"stackable/spacer","title":"Spacer","description":"Sometimes you just need some space.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}');var x=a(4597);const w=(0,a(3882).applyFilters)("stackable.block.metadata",{...E,icon:x.Vi,attributes:_,supports:{anchor:!0,align:["center","wide","full"]},example:{attributes:{uniqueId:"632d1d3",hasBackground:!0,hasBorders:!1,blockBackgroundColor:"#D1DFE4",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},height:200,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},edit:y,save:C})},4011:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>w});var n=a(4597),l=a(378);const i={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/subtitle",{text:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/subtitle",{text:t})}))}],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/paragraph",{content:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/heading",{content:t})}))}]};var o=a(2610),r=a(7462),s=a(2285),c=a(4678),u=a(6869),d=a(78);const m={selector:".stk-block-subtitle__text",hoverSelector:".stk-block-subtitle__text:hover"},b=e=>{const{...t}=e,a=(0,u.hU)(),{clientId:n}=(0,d.useBlockEditContext)(),l=(0,u.kX)(n);return t.blockUniqueClassName=(0,c.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.v2.Style,t),(0,o.createElement)(s.Q.Style,t),(0,o.createElement)(s.aE.Style,t),(0,o.createElement)(s.wx.Style,t),(0,o.createElement)(s.ZT.Style,(0,r.Z)({},t,{options:m})),(0,o.createElement)(s.ZK.Style,t))};b.defaultProps={isEditor:!1,attributes:{},options:{}},(b.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,o.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,c.tJ)(e.attributes.uniqueId);const a=(0,o.createElement)(o.Fragment,null,(0,o.createElement)(s.v2.Style.Content,t),(0,o.createElement)(s.Q.Style.Content,t),(0,o.createElement)(s.aE.Style.Content,t),(0,o.createElement)(s.wx.Style.Content,t),(0,o.createElement)(s.ZT.Style.Content,(0,r.Z)({},t,{options:m})),(0,o.createElement)(s.ZK.Style.Content,t),(0,o.createElement)(s.cy.Style.Content,t));return(0,o.renderToString)(a)?(0,o.createElement)("style",null,a):null}).defaultProps={attributes:{},options:{}};var g=a(910),p=a(4184),h=a.n(p),v=a(3233),k=a(1951),f=a(3882),y=a(8003);(0,f.addFilter)("editor.Autocomplete.completers","stackable/subtitle",((e,t)=>"stackable/subtitle"===t?[...e,(0,c.g7)()]:e));const C=(0,k.dF)((e=>{const{className:t,onReplace:a,onRemove:n,mergeBlocks:i}=e;(0,s.i_)(e.attributes);const r=(0,u.WV)(),c=(0,s.Qz)(e.attributes),d=(0,s.NA)(e.attributes),m=h()([t,"stk-block-subtitle",r]),p=h()(["stk-block-subtitle__text","stk-subtitle",c,d]);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(v.zT,null),(0,o.createElement)(s.v2.InspectorControls,null),(0,o.createElement)(s.Q.InspectorControls,null),(0,o.createElement)(s.aE.InspectorControls,null),(0,o.createElement)(s.wx.InspectorControls,null),(0,o.createElement)(s.ZT.InspectorControls,{hasTextTag:!1,isMultiline:!1,initialOpen:!0,hasTextShadow:!0}),(0,o.createElement)(s.ZK.InspectorControls,null),(0,o.createElement)(s.mz.InspectorControls,null),(0,o.createElement)(s.qy.InspectorControls,{mainBlockClass:"stk-block-subtitle"}),(0,o.createElement)(s.Et.InspectorControls,null),(0,o.createElement)(s.fN.InspectorControls,null),(0,o.createElement)(b,{version:g.version}),(0,o.createElement)(s.qy,{mainBlockClass:"stk-block-subtitle"}),(0,o.createElement)(s.Q,{className:m},(0,o.createElement)(s.ZT,{tagName:"p",className:p,placeholder:(0,y.__)("Type / to choose a block",g.i18n),onMerge:i,onRemove:n,onReplace:a,onSplit:(t,a)=>{let n;(a||t)&&(n={...e.attributes,text:t});const i=(0,l.createBlock)("stackable/subtitle",n);return a&&(i.clientId=e.clientId),i}})),(0,o.createElement)(s.cy,null))})),_=(0,a(3749).compose)((0,k.kY)(g.version))((e=>{const{className:t,attributes:a}=e,n=(0,s.ul)(e.attributes),l=(0,s.Qz)(e.attributes),i=(0,s.NA)(e.attributes),r=h()([t,"stk-block-subtitle",n]),c=h()(["stk-block-subtitle__text","stk-subtitle",l,i]);return(0,o.createElement)(s.Q.Content,{className:r,attributes:a},(0,o.createElement)(b.Content,{version:e.version,attributes:a}),(0,o.createElement)(s.qy.Content,{attributes:a}),(0,o.createElement)(s.ZT.Content,{attributes:a,className:c,tagName:"p"}))})),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.version;const t=new c.DC;return s.Q.addAttributes(t),s.bg.addAttributes(t),s.ZK.addAttributes(t),s.mz.addAttributes(t),s.qy.addAttributes(t),s.Et.addAttributes(t),s.fN.addAttributes(t),s.aE.addAttributes(t),s.wx.addAttributes(t),s.v2.addAttributes(t),s.cy.addAttributes(t),s.ZT.addAttributes(t,".stk-block-subtitle__text",{hasTextTag:!1}),t.getMerged(e)}(g.version),x=JSON.parse('{"name":"stackable/subtitle","title":"Subtitle","description":"Subtitle text that you can add custom styling to from the global settings.","category":"common","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special"}'),w=(0,f.applyFilters)("stackable.block.metadata",{...x,icon:n.VL,attributes:E,supports:{anchor:!0},example:{attributes:{uniqueId:"f5d4aed",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:'<meta charset="utf-8">Subtitle for this block.',blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},edit:C,save:_,transforms:i,merge:(e,t)=>({text:(e.text||"")+((t.hasOwnProperty("content")?t.content:t.text)||"")})})},6308:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>B});var n=a(910),l=a(8003),i=a(3882),o=a(7462),r=a(2610);a(7294);const s=[["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="facebook-square" class="svg-inline--fa fa-facebook-square fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"></path></svg>',buttonBackgroundColor:"#3b5998"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-hidden="true"><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>',buttonBackgroundColor:"#00acee"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',buttonBackgroundColor:"#c13584"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><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>',buttonBackgroundColor:"#c4302b"}],["stackable/icon-button",{icon:'<svg data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',buttonBackgroundColor:"#0e76a8"}]],c=(0,i.applyFilters)("stackable.team-member.variations",[{name:"default",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Default",n.i18n)),attributes:{className:"is-style-default",hasContainer:!0,contentAlign:"center"},isDefault:!0,pickerTitle:(0,l.__)("Default",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 9h22v30H13V9zm-2 0a2 2 0 012-2h22a2 2 0 012 2v30a2 2 0 01-2 2H13a2 2 0 01-2-2V9zm13 14a5 5 0 100-10 5 5 0 000 10zm7 4v2H17v-2h14zm0 8v-2H17v2h14z"}))},isActive:["className"],innerBlocks:[["stackable/image",{imageHeight:150,imageWidth:150,imageWidthUnit:"px",imageShape:"circle"}],["stackable/heading",{text:(0,l.__)("Name",n.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/subtitle",{text:(0,l.__)("Position",n.i18n)}],["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/button-group",{},s]],scope:["block"]},{name:"plain",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Plain",n.i18n)),attributes:{className:"is-style-plain",hasContainer:!1,contentAlign:"left"},pickerTitle:(0,l.__)("Plain",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25 18a5 5 0 11-10 0 5 5 0 0110 0zm-10 9h18v2H15v-2zm18 6H15v2h18v-2z"}))},isActive:["className"],innerBlocks:[["stackable/image",{}],["stackable/heading",{text:(0,l.__)("Name",n.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/subtitle",{text:(0,l.__)("Position",n.i18n)}],["stackable/button-group",{},s]],scope:["block"]},{name:"horizontal",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal",n.i18n)),pickerTitle:(0,l.__)("Horizontal",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 15h34v18H7V15zm-2 0a2 2 0 012-2h34a2 2 0 012 2v18a2 2 0 01-2 2H7a2 2 0 01-2-2V15zm27 14a5 5 0 100-10 5 5 0 000 10zm-21-9h11v2H11v-2zm11 6H11v2h11v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"horizontal-2",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal 2",n.i18n)),pickerTitle:(0,l.__)("Horizontal 2",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 16h35v16H7V16zm-2 0a2 2 0 012-2h35a2 2 0 012 2v16a2 2 0 01-2 2H7a2 2 0 01-2-2V16zm10 12a4 4 0 100-8 4 4 0 000 8zm7-8h11v2H22v-2zm16 0h-2v2h2v-2zm-2 6h2v2h-2v-2zm-3 0H22v2h11v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"cover",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Cover",n.i18n)),pickerTitle:(0,l.__)("Cover",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35 38V16h-5a6 6 0 01-12 0h-5v22h22zM13 8a2 2 0 00-2 2v28a2 2 0 002 2h22a2 2 0 002-2V10a2 2 0 00-2-2H13zm11 12a4 4 0 100-8 4 4 0 000 8zm-7 6h14v2H17v-2zm14 8v-2H17v2h14z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]}]),u=JSON.parse('{"name":"stackable/team-member","title":"Team Member","description":"Display members of your team or your office. Use multiple Team Member blocks if you have a large team.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var d=a(2285),m=a(6869),b=a(4678),g=a(78);const p={sizeSelector:".stk-block-team-member__content",sizeHorizontalAlignRule:"margin"},h=e=>{const{...t}=e,a=(0,m.hU)(),{clientId:n}=(0,g.useBlockEditContext)(),l=(0,m.kX)(n);return t.blockUniqueClassName=(0,b.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.v2.Style,t),(0,r.createElement)(d.Q.Style,t),(0,r.createElement)(d.aE.Style,t),(0,r.createElement)(d.wx.Style,t),(0,r.createElement)(d.ZK.Style,t),(0,r.createElement)(d.e4.Style,(0,o.Z)({},t,{options:p})),(0,r.createElement)(d.cy.Style,t),(0,r.createElement)(d.hK.Style,t))};h.defaultProps={isEditor:!1},(h.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,b.tJ)(e.attributes.uniqueId);const a=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.v2.Style.Content,t),(0,r.createElement)(d.Q.Style.Content,t),(0,r.createElement)(d.aE.Style.Content,t),(0,r.createElement)(d.wx.Style.Content,t),(0,r.createElement)(d.ZK.Style.Content,t),(0,r.createElement)(d.e4.Style.Content,(0,o.Z)({},t,{options:p})),(0,r.createElement)(d.cy.Style.Content,t),(0,r.createElement)(d.hK.Style.Content,t));return(0,r.renderToString)(a)?(0,r.createElement)("style",null,a):null}).defaultProps={attributes:{}};var v=a(8085),k=a(4184),f=a.n(k),y=a(3233),C=a(1951);const _=c[0].innerBlocks,E=(0,C.dF)((e=>{const{className:t}=e;(0,d.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:l}=(0,m.VG)(),i=(0,d.NA)(e.attributes),o=(0,m.WV)(),s=f()([t,"stk-block-team-member",o]),c=f()(["stk-block-content","stk-inner-blocks",i,"stk-block-team-member__content"],(0,d.h5)(e.attributes)),u=(0,r.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,v.last)(l))||void 0===e?void 0:e.name)?()=>(0,r.createElement)(r.Fragment,null):g.InnerBlocks.DefaultBlockAppender:g.InnerBlocks.ButtonBlockAppender}),[a,l]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(y.zT,null),(0,r.createElement)(d.v2.InspectorControls,{hasBlockAlignment:!0}),(0,r.createElement)(d.Q.InspectorControls,null),(0,r.createElement)(d.aE.InspectorControls,null),(0,r.createElement)(d.wx.InspectorControls,null),(0,r.createElement)(d.yG.InspectorControls,null),(0,r.createElement)(d.ZK.InspectorControls,null),(0,r.createElement)(d.mz.InspectorControls,null),(0,r.createElement)(d.qy.InspectorControls,{mainBlockClass:"stk-block-team-member"}),(0,r.createElement)(d.Et.InspectorControls,null),(0,r.createElement)(d.fN.InspectorControls,null),(0,r.createElement)(d.hK.InspectorControls,null),(0,r.createElement)(d.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,r.createElement)(y.Ib,null,(0,r.createElement)(y.t7,null)),(0,r.createElement)(d.Q,{className:s,enableVariationPicker:!0},(0,r.createElement)(h,{version:n.version}),(0,r.createElement)(d.qy,{mainBlockClass:"stk-block-team-member"}),(0,r.createElement)(d.e4,{className:c},(0,r.createElement)(g.InnerBlocks,{template:_,templateLock:!1,renderAppender:u}))),a&&(0,r.createElement)(d.cy,null))})),x=(0,a(3749).compose)((0,C.kY)(n.version))((e=>{const{attributes:t,className:a}=e,n=(0,d.NA)(t),l=(0,d.ul)(t),i=f()([a,"stk-block-team-member",l]),o=f()(["stk-block-team-member__content"],(0,d.gd)(t)),s=f()(["stk-block-content","stk-inner-blocks",n]);return(0,r.createElement)(d.Q.Content,{className:i,attributes:t},(0,r.createElement)(h.Content,{version:e.version,attributes:t}),(0,r.createElement)(d.qy.Content,{attributes:t}),(0,r.createElement)(d.e4.Content,{className:o,attributes:t},(0,r.createElement)("div",{className:s},(0,r.createElement)(g.InnerBlocks.Content,null)),(0,r.createElement)(d.yG.Content,{attributes:t})))})),w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.version;const t=new b.DC;return d.Q.addAttributes(t),d.bg.addAttributes(t),d.cy.addAttributes(t),d.e4.addAttributes(t),d.v2.addAttributes(t),d.aE.addAttributes(t),d.wx.addAttributes(t),d.ZK.addAttributes(t),d.mz.addAttributes(t),d.fN.addAttributes(t),d.qy.addAttributes(t),d.Et.addAttributes(t),d.yG.addAttributes(t),d.hK.addAttributes(t),t.addDefaultValues({attributes:{hasContainer:!0,contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(n.version);var S=a(4597);const B=(0,i.applyFilters)("stackable.block.metadata",{...u,icon:S.NU,attributes:w,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"b493364",hasBackground:!1,hasBorders:!1,hasContainer:!0,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-default"},innerBlocks:[{name:"stackable/image",attributes:{uniqueId:"8caa4cd",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/300x300/?employee",imageSize:"full",imageBorderRadius:90,imageHeight:150,imageWidth:150,imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%",imageWidthUnit:"px"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"829fc66",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Name",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/subtitle",attributes:{uniqueId:"23fdb6f",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Position",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/text",attributes:{uniqueId:"b5a76e8",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/button-group",attributes:{uniqueId:"7cac9a8",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon-button",attributes:{uniqueId:"575c851",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#3b5998",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="facebook-square" class="svg-inline--fa fa-facebook-square fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"></path></svg>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"a593b86",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#00acee",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"af6fc5a",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#c13584",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"aa07857",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#c4302b",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]},{name:"stackable/icon-button",attributes:{uniqueId:"3356de5",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},buttonBackgroundColor:"#0e76a8",linkHasLink:!0,linkNewTab:!1,linkHasTitle:!0,icon:'<svg data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><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>',showBackgroundShape:!1,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[]}]}]},variations:c,edit:E,save:x})},6971:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>S});var n=a(910),l=a(8003),i=a(3882),o=a(7462),r=a(2610);a(7294);const s=(0,i.applyFilters)("stackable.testimonial.variations",[{name:"default",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Default",n.i18n)),attributes:{className:"is-style-default",hasContainer:!0,contentAlign:"center"},isDefault:!0,pickerTitle:(0,l.__)("Default",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 9H9v30h30V9zM9 7a2 2 0 00-2 2v30a2 2 0 002 2h30a2 2 0 002-2V9a2 2 0 00-2-2H9zm4 11h22v2H13v-2zm22-5H13v2h22v-2zm-8 14a3 3 0 11-6 0 3 3 0 016 0zm8 8v-2H13v2h22z"}))},isActive:["className"],innerBlocks:[["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/image",{imageHeight:75,imageWidth:75,imageWidthUnit:"px",imageShape:"circle"}],["stackable/heading",{text:(0,l.__)("Name",n.i18n),textTag:"h3",textRemoveTextMargins:!0}],["stackable/subtitle",{text:(0,l.__)("Position",n.i18n)}]],scope:["block"]},{name:"compact",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Compact",n.i18n)),attributes:{className:"is-style-compact",hasContainer:!1,contentAlign:""},pickerTitle:(0,l.__)("Compact",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 9H9v30h30V9zM9 7a2 2 0 00-2 2v30a2 2 0 002 2h30a2 2 0 002-2V9a2 2 0 00-2-2H9zm4 11h22v2H13v-2zm22-5H13v2h22v-2zm-8 14a3 3 0 11-6 0 3 3 0 016 0zm8 8v-2H13v2h22z"}))},isActive:["className"],innerBlocks:[["stackable/text",{text:(0,l._x)("Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.","Content placeholder",n.i18n)}],["stackable/columns",{columnFit:!0},[["stackable/column",{},[["stackable/image",{imageHeight:75,imageWidth:75,imageWidthUnit:"px",imageShape:"circle"}]]],["stackable/column",{contentAlign:"left"},[["stackable/heading",{text:(0,l.__)("Name",n.i18n),textTag:"h3",textRemoveTextMargins:!0,blockMargin:{bottom:0}}],["stackable/subtitle",{text:(0,l.__)("Position",n.i18n)}]]]]]],scope:["block"]},{name:"horizontal",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Horizontal",n.i18n)),pickerTitle:(0,l.__)("Horizontal",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 22a4 4 0 100-8 4 4 0 000 8zm10-6h22v16H19V16zm-2 0a2 2 0 012-2h22a2 2 0 012 2v16a2 2 0 01-2 2H19a2 2 0 01-2-2V16zm6 4h14v2H23v-2zm14 6H23v2h14v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"bubble",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Bubble",n.i18n)),pickerTitle:(0,l.__)("Bubble",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 8a2 2 0 00-2 2v15a2 2 0 002 2h30a2 2 0 002-2V10a2 2 0 00-2-2H9zm26 12H13v2h22v-2zm-22-6h22v2H13v-2zm-2 25a4 4 0 100-8 4 4 0 000 8zm8-8h22v2H19v-2zm22 6H19v2h22v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"vertical",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Vertical",n.i18n)),pickerTitle:(0,l.__)("Vertical",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12H9v10h23.268L34 25l1.732-3H39V12zM9 10a2 2 0 00-2 2v24a2 2 0 002 2h30a2 2 0 002-2V12a2 2 0 00-2-2H9zm4 6h22v2H13v-2zm22 14H13v2h22v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]},{name:"inverted-vertical",description:(0,l.sprintf)((0,l._x)("%s Layout","Block layout name",n.i18n),(0,l.__)("Inverted Vertical",n.i18n)),pickerTitle:(0,l.__)("Inverted Vertical",n.i18n),pickerIcon:function(e){return(0,r.createElement)("svg",(0,o.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,r.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39 36V23h-4.268L33 20l-1.732 3H9v13h30zM9 10a2 2 0 00-2 2v24a2 2 0 002 2h30a2 2 0 002-2V12a2 2 0 00-2-2H9zm4 19h22v2H13v-2zm22-15H13v2h22v-2z"}))},isActive:["className"],isPremium:!n.isPro,scope:["block"]}]),c=JSON.parse('{"name":"stackable/testimonial","title":"Testimonial","description":"Showcase what your users say about your product or service.","category":"layout","usesContext":["postId","postType","queryId"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"section","stk-demo":"https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}');var u=a(2285),d=a(6869),m=a(4678),b=a(78);const g={sizeSelector:".stk-block-testimonial__content",sizeHorizontalAlignRule:"margin"},p=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);return t.blockUniqueClassName=(0,m.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style,t),(0,r.createElement)(u.Q.Style,t),(0,r.createElement)(u.aE.Style,t),(0,r.createElement)(u.wx.Style,t),(0,r.createElement)(u.ZK.Style,t),(0,r.createElement)(u.e4.Style,(0,o.Z)({},t,{options:g})),(0,r.createElement)(u.cy.Style,t),(0,r.createElement)(u.hK.Style,t))};p.defaultProps={isEditor:!1},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,m.tJ)(e.attributes.uniqueId);const a=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.v2.Style.Content,t),(0,r.createElement)(u.Q.Style.Content,t),(0,r.createElement)(u.aE.Style.Content,t),(0,r.createElement)(u.wx.Style.Content,t),(0,r.createElement)(u.ZK.Style.Content,t),(0,r.createElement)(u.e4.Style.Content,(0,o.Z)({},t,{options:g})),(0,r.createElement)(u.cy.Style.Content,t),(0,r.createElement)(u.hK.Style.Content,t));return(0,r.renderToString)(a)?(0,r.createElement)("style",null,a):null}).defaultProps={attributes:{}};var h=a(8085),v=a(4184),k=a.n(v),f=a(3233),y=a(1951);const C=s[0].innerBlocks,_=(0,y.dF)((e=>{const{className:t}=e;(0,u.i_)(e.attributes);const{hasInnerBlocks:a,innerBlocks:l}=(0,d.VG)(),i=(0,u.NA)(e.attributes),o=(0,d.WV)(),s=k()([t,"stk-block-testimonial",o]),c=k()(["stk-block-content","stk-inner-blocks",i,"stk-block-testimonial__content"],(0,u.h5)(e.attributes)),m=(0,r.useMemo)((()=>{var e;return a?["stackable/text","core/paragraph"].includes(null===(e=(0,h.last)(l))||void 0===e?void 0:e.name)?()=>(0,r.createElement)(r.Fragment,null):b.InnerBlocks.DefaultBlockAppender:b.InnerBlocks.ButtonBlockAppender}),[a,l]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(f.zT,null),(0,r.createElement)(u.v2.InspectorControls,{hasBlockAlignment:!0}),(0,r.createElement)(u.Q.InspectorControls,null),(0,r.createElement)(u.aE.InspectorControls,null),(0,r.createElement)(u.wx.InspectorControls,null),(0,r.createElement)(u.yG.InspectorControls,null),(0,r.createElement)(u.ZK.InspectorControls,null),(0,r.createElement)(u.mz.InspectorControls,null),(0,r.createElement)(u.qy.InspectorControls,{mainBlockClass:"stk-block-testimonial"}),(0,r.createElement)(u.Et.InspectorControls,null),(0,r.createElement)(u.fN.InspectorControls,null),(0,r.createElement)(u.hK.InspectorControls,null),(0,r.createElement)(u.e4.InspectorControls,{sizeSelector:".stk-block-content"}),(0,r.createElement)(f.Ib,null,(0,r.createElement)(f.t7,null)),(0,r.createElement)(u.Q,{className:s,enableVariationPicker:!0},(0,r.createElement)(p,{version:n.version}),(0,r.createElement)(u.qy,{mainBlockClass:"stk-block-testimonial"}),(0,r.createElement)(u.e4,{className:c},(0,r.createElement)(b.InnerBlocks,{template:C,templateLock:!1,renderAppender:m}))),a&&(0,r.createElement)(u.cy,null))})),E=(0,a(3749).compose)((0,y.kY)(n.version))((e=>{const{attributes:t,className:a}=e,n=(0,u.NA)(t),l=(0,u.ul)(t),i=k()([a,"stk-block-testimonial",l]),o=k()(["stk-block-testimonial__content"],(0,u.gd)(t)),s=k()(["stk-block-content","stk-inner-blocks",n]);return(0,r.createElement)(u.Q.Content,{className:i,attributes:t},(0,r.createElement)(p.Content,{version:e.version,attributes:t}),(0,r.createElement)(u.qy.Content,{attributes:t}),(0,r.createElement)(u.e4.Content,{className:o,attributes:t},(0,r.createElement)("div",{className:s},(0,r.createElement)(b.InnerBlocks.Content,null)),(0,r.createElement)(u.yG.Content,{attributes:t})))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.version;const t=new m.DC;return u.Q.addAttributes(t),u.bg.addAttributes(t),u.cy.addAttributes(t),u.e4.addAttributes(t),u.v2.addAttributes(t),u.aE.addAttributes(t),u.wx.addAttributes(t),u.ZK.addAttributes(t),u.mz.addAttributes(t),u.fN.addAttributes(t),u.qy.addAttributes(t),u.Et.addAttributes(t),u.yG.addAttributes(t),u.hK.addAttributes(t),t.addDefaultValues({attributes:{hasContainer:!0,contentAlign:"center"},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(n.version);var w=a(4597);const S=(0,i.applyFilters)("stackable.block.metadata",{...c,icon:w.d9,attributes:x,supports:{anchor:!0,html:!1,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"827f26e",hasBackground:!1,hasBorders:!1,hasContainer:!0,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],displayCondition:{},hideDesktop:!1,hideTablet:!1,hideMobile:!1,blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",containerBackgroundCustomSizeUnit:"%",containerBackgroundCustomSizeUnitTablet:"%",containerBackgroundCustomSizeUnitMobile:"%",className:"is-style-default"},innerBlocks:[{name:"stackable/text",attributes:{uniqueId:"a452770",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Description for this block. Use this space for describing your block. Any text will do. Description for this block. You can use this space for describing your block.",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/image",attributes:{uniqueId:"9f4c781",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/300x300/?selfie",imageSize:"full",imageBorderRadius:90,imageHeight:75,imageWidth:75,imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%",imageWidthUnit:"px"},innerBlocks:[]},{name:"stackable/heading",attributes:{uniqueId:"3688a95",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},textRemoveTextMargins:!0,hasP:!1,show:!0,showText:!0,text:"Name",textTag:"h3",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},{name:"stackable/subtitle",attributes:{uniqueId:"8dba7d3",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:"Position",blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]}]},variations:s,edit:_,save:E})},6030:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>S});var n=a(4597),l=a(378),i=a(2450);const o={from:[{type:"block",isMultiBlock:!0,blocks:["stackable/subtitle"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/text",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/text",{text:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{content:t}=e;return(0,l.createBlock)("stackable/text",{text:t})}))}],to:[{type:"block",isMultiBlock:!0,blocks:["stackable/subtitle"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlock)("stackable/subtitle",{...t})}))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/paragraph",{content:t})}))},{type:"block",isMultiBlock:!0,blocks:["core/heading"],transform:e=>e.map((e=>{let{text:t}=e;return(0,l.createBlock)("core/heading",{content:t})}))},{type:"block",isMultiBlock:!0,blocks:["stackable/icon-label"],transform:e=>e.map((e=>{let{...t}=e;return(0,l.createBlocksFromInnerBlocksTemplate)([["stackable/icon-label",{},i.h.map((e=>("stackable/heading"===e[0]&&(e[1]=t),e)))]])[0]}))}]};var r=a(2610),s=a(7462),c=a(2285),u=a(4678),d=a(6869),m=a(3233),b=a(78);const g={selector:".stk-block-text__text",hoverSelector:".stk-block-text__text:hover"},p=e=>{const{...t}=e,a=(0,d.hU)(),{clientId:n}=(0,b.useBlockEditContext)(),l=(0,d.kX)(n);t.blockUniqueClassName=(0,u.tJ)(l.uniqueId),t.deviceType=a,t.attributes={...l,clientId:n};const i=(0,u.yK)(l,[{selector:"",styleRule:"columnCount",attrName:"columns",responsive:"all"},{selector:"",styleRule:"columnGap",attrName:"columnGap",responsive:"all",format:"%spx"}]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.v2.Style,t),(0,r.createElement)(c.Q.Style,t),(0,r.createElement)(c.aE.Style,t),(0,r.createElement)(c.wx.Style,t),(0,r.createElement)(c.ZT.Style,(0,s.Z)({},t,{options:g})),(0,r.createElement)(m.bg,(0,s.Z)({styles:i,versionAdded:"3.0.0",versionDeprecated:""},t)),(0,r.createElement)(c.ZK.Style,t))};p.defaultProps={isEditor:!1,attributes:{},options:{}},(p.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,r.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,u.tJ)(e.attributes.uniqueId);const a=(0,u.Wi)(e.attributes,[{selector:"",styleRule:"columnCount",attrName:"columns",responsive:"all"},{selector:"",styleRule:"columnGap",attrName:"columnGap",responsive:"all",format:"%spx"}]),n=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.v2.Style.Content,t),(0,r.createElement)(c.Q.Style.Content,t),(0,r.createElement)(c.aE.Style.Content,t),(0,r.createElement)(c.wx.Style.Content,t),(0,r.createElement)(c.ZT.Style.Content,(0,s.Z)({},t,{options:g})),(0,r.createElement)(c.ZK.Style.Content,t),(0,r.createElement)(c.cy.Style.Content,t),(0,r.createElement)(m.bg.Content,(0,s.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,r.renderToString)(n)?(0,r.createElement)("style",null,n):null}).defaultProps={attributes:{},options:{}};var h=a(910),v=a(4184),k=a.n(v),f=a(1951),y=a(8003),C=a(3882);(0,C.addFilter)("editor.Autocomplete.completers","stackable/text",((e,t)=>"stackable/text"===t?[...e,(0,u.g7)()]:e));const _=(0,f.dF)((e=>{const{className:t,onReplace:a,onRemove:n,mergeBlocks:i}=e;(0,c.i_)(e.attributes);const o=(0,d.WV)(),s=(0,c.Qz)(e.attributes),u=(0,c.NA)(e.attributes),{parentBlock:b,isFirstBlock:g,isLastBlock:v}=(0,d.VG)(),f=(0,r.useMemo)((()=>(0,C.applyFilters)("stackable.text.edit.enable-column",!0,b)),[b]),_=k()([t,"stk-block-text",o]),E=k()(["stk-block-text__text",s,u]),x=(0,r.useMemo)((()=>(0,C.applyFilters)("stackable.text.edit.placeholder",(0,y.__)("Type / to choose a block",h.i18n),{parentBlock:b,isFirstBlock:g,isLastBlock:v})),[b,g,v]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m.zT,null),(0,r.createElement)(c.v2.InspectorControls,null),(0,r.createElement)(c.Q.InspectorControls,null),(0,r.createElement)(c.aE.InspectorControls,null),(0,r.createElement)(c.wx.InspectorControls,null),f&&(0,r.createElement)(m.Ib,null,(0,r.createElement)(m.SQ,{title:(0,y.__)("General",h.i18n),initialOpen:!0,id:"general"},(0,r.createElement)(m.o1,{label:(0,y.__)("Columns",h.i18n),allowReset:!0,attribute:"columns",min:"1",sliderMax:"3",step:"1",placeholder:"1",responsive:"all"}),(0,r.createElement)(m.o1,{label:(0,y.__)("Column Gap",h.i18n),allowRest:!0,attribute:"columnGap",min:"0",sliderMax:"50",responsive:"all"}))),(0,r.createElement)(c.ZT.InspectorControls,{hasTextTag:!1,isMultiline:!0,initialOpen:!f,hasTextShadow:!0}),(0,r.createElement)(c.ZK.InspectorControls,null),(0,r.createElement)(c.mz.InspectorControls,null),(0,r.createElement)(c.qy.InspectorControls,{mainBlockClass:"stk-block-text"}),(0,r.createElement)(c.Et.InspectorControls,null),(0,r.createElement)(c.fN.InspectorControls,null),(0,r.createElement)(p,{version:h.version}),(0,r.createElement)(c.qy,{mainBlockClass:"stk-block-text"}),(0,r.createElement)(c.Q,{className:_},(0,r.createElement)(c.ZT,{tagName:e.attributes.innerTextTag||"p",className:E,placeholder:x,onMerge:i,onRemove:n,onReplace:a,onSplit:(t,a)=>{let n;(a||t)&&(n={...e.attributes,text:t});const i=(0,l.createBlock)("stackable/text",n);return a&&(i.clientId=e.clientId),i}})),(0,r.createElement)(c.cy,null))})),E=(0,a(3749).compose)((0,f.kY)(h.version))((e=>{const{className:t,attributes:a}=e,n=(0,c.ul)(e.attributes),l=(0,c.Qz)(e.attributes),i=(0,c.NA)(e.attributes),o=k()([t,"stk-block-text",n]),s=k()(["stk-block-text__text",l,i]);return(0,r.createElement)(c.Q.Content,{className:o,attributes:a},(0,r.createElement)(p.Content,{version:e.version,attributes:a}),(0,r.createElement)(c.qy.Content,{attributes:a}),(0,r.createElement)(c.ZT.Content,{attributes:a,className:s,tagName:a.innerTextTag||"p"}))})),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.version;const t=new u.DC;return c.Q.addAttributes(t),c.bg.addAttributes(t),c.ZK.addAttributes(t),c.mz.addAttributes(t),c.qy.addAttributes(t),c.Et.addAttributes(t),c.fN.addAttributes(t),c.aE.addAttributes(t),c.wx.addAttributes(t),c.v2.addAttributes(t),c.cy.addAttributes(t),c.ZT.addAttributes(t,".stk-block-text__text",{hasTextTag:!1}),t.add({attributes:{innerTextTag:{type:"string",default:""},columns:{stkResponsive:!0,type:"number",default:""},columnGap:{stkResponsive:!0,type:"number",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(h.version),w=JSON.parse('{"name":"stackable/text","title":"Text","description":"Start with the building block of all page layouts.","category":"common","usesContext":["postId","postType","queryId"],"keywords":["Paragraph"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"essential","stk-demo":"https://wpstackable.com/advanced-text-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),S=(0,C.applyFilters)("stackable.block.metadata",{...w,icon:n.VL,attributes:x,supports:{anchor:!0},example:{attributes:{uniqueId:"65c216a",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},hasP:!1,show:!0,showText:!0,text:'<meta charset="utf-8">Text for this block. Use this space for describing your block. Any text will do. Text for this block. You can use this space for describing your block.',blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",lineHeightUnit:"em",lineHeightUnitTablet:"em",lineHeightUnitMobile:"em"},innerBlocks:[]},edit:_,save:E,transforms:o,merge:(e,t)=>({text:(e.text||"")+((t.hasOwnProperty("content")?t.content:t.text)||"")})})},4213:(e,t,a)=>{"use strict";a.r(t),a.d(t,{settings:()=>x});var n=a(4597),l=a(2610),i=a(7462),o=a(2285),r=a(3233),s=a(6869),c=a(4678),u=a(78);const d=e=>{const{...t}=e,a=(0,s.hU)(),{clientId:n}=(0,u.useBlockEditContext)(),d=(0,s.kX)(n);t.blockUniqueClassName=(0,c.tJ)(d.uniqueId),t.deviceType=a,t.attributes={...d,clientId:n};const m=(0,c.yK)(d,[{selector:".stk-block-icon",attrName:"iconGap",styleRule:"flexBasis",format:"%spx"}]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style,t),(0,l.createElement)(o.Q.Style,t),(0,l.createElement)(o.sg.Style,t),(0,l.createElement)(o.aE.Style,t),(0,l.createElement)(o.wx.Style,t),(0,l.createElement)(o.ZK.Style,t),(0,l.createElement)(r.bg,(0,i.Z)({styles:m,versionAdded:"3.0.0",versionDeprecated:""},t)))};d.defaultProps={isEditor:!1},(d.Content=e=>{const{...t}=e;if(e.attributes.generatedCss)return(0,l.createElement)("style",null,e.attributes.generatedCss);t.blockUniqueClassName=(0,c.tJ)(e.attributes.uniqueId);const a=(0,c.Wi)(t.attributes,[{selector:".stk-block-icon",attrName:"iconGap",styleRule:"flexBasis",format:"%spx"}]),n=(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.v2.Style.Content,t),(0,l.createElement)(o.Q.Style.Content,t),(0,l.createElement)(o.sg.Style.Content,t),(0,l.createElement)(o.ZK.Style.Content,t),(0,l.createElement)(o.aE.Style.Content,t),(0,l.createElement)(o.wx.Style.Content,t),(0,l.createElement)(r.bg.Content,(0,i.Z)({styles:a,versionAdded:"3.0.0",versionDeprecated:""},t)));return(0,l.renderToString)(n)?(0,l.createElement)("style",null,n):null}).defaultProps={attributes:{}};var m=a(910),b=a(4184),g=a.n(b),p=a(1951),h=a(8003),v=a(3882),k=a(3284);const f=[["stackable/icon",{contentAlign:"center",icon:'<svg data-prefix="fas" data-icon="play" class="svg-inline--fa fa-play fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg>',linkHasLink:!1}],["stackable/image",{enableHandles:!1}]],y=(0,p.dF)((e=>{const{className:t,attributes:a}=e;(0,o.i_)(e.attributes);const{clientId:n}=(0,u.useBlockEditContext)(),i=(0,o.pc)(a),s=(0,o.NA)(a),{updateBlockAttributes:b}=(0,k.useDispatch)("core/block-editor"),p=g()([t,"stk-block-video-popup",i]),v=g()(["stk-inner-blocks",s,"stk-block-content","stk-hover-parent"]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(r.zT,null),(0,l.createElement)(o.v2.InspectorControls,null),(0,l.createElement)(o.Q.InspectorControls,null),(0,l.createElement)(r.Ib,null,(0,l.createElement)(r.SQ,{title:(0,h.__)("General",m.i18n),id:"general",initialOpen:!0},(0,l.createElement)(r.Wb,{isDynamic:!1,label:(0,h.__)("Popup Option #1: Upload Video",m.i18n),help:(0,h.__)("Use .mp4 format for videos",m.i18n),onRemove:()=>b(n,{videoLink:"",videoId:""}),onChange:e=>{b(n,{videoLink:e.url,videoId:e.url})},imageId:(0,c.sM)(a.videoLink)?a.videoId:"",imageURL:(0,c.sM)(a.videoLink)?a.videoLink:"",allowedTypes:["video"]}),(0,l.createElement)(r.nS,{label:(0,h.__)("Popup Option #2: Video URL",m.i18n),help:(0,h.__)("Paste a Youtube / Vimeo URL",m.i18n),isDynamic:!0,isFormatType:!1,placeholder:"https://",value:(0,c.sM)(a.videoLink)?"":a.videoLink,onChange:e=>b(n,{videoLink:e,videoId:(0,c.cj)(e).id})}))),(0,l.createElement)(o.aE.InspectorControls,null),(0,l.createElement)(o.wx.InspectorControls,null),(0,l.createElement)(o.ZK.InspectorControls,null),(0,l.createElement)(o.mz.InspectorControls,null),(0,l.createElement)(o.qy.InspectorControls,{mainBlockClass:"stk-block-video-popup"}),(0,l.createElement)(o.Et.InspectorControls,null),(0,l.createElement)(o.fN.InspectorControls,null),(0,l.createElement)(r.Ib,null,(0,l.createElement)(r.t7,null)),(0,l.createElement)(d,{version:m.version}),(0,l.createElement)(o.qy,{mainBlockClass:"stk-block-video-popup"}),(0,l.createElement)(o.Q,{className:p},(0,l.createElement)("div",{className:v},(0,l.createElement)(u.InnerBlocks,{template:f,templateLock:"all"}))),(0,l.createElement)(o.cy,null))}));(0,v.addFilter)("stackable.edit.margin-bottom.enable-handlers","stackable/video-popup",((e,t)=>"stackable/video-popup"!==(null==t?void 0:t.name)&&e)),(0,v.addFilter)("stackable.edit.image.enable-link","stackable/video-popup",((e,t)=>"stackable/video-popup"!==(null==t?void 0:t.name)&&e));const C=(0,a(3749).compose)((0,p.kY)(m.version))((e=>{const{attributes:t,className:a}=e,n=(0,o.pc)(t),i=(0,o.NA)(t),r=(0,o.ul)(t),s=g()([a,"stk-block-video-popup",r]),c=g()(["stk-block-video-popup__overlay",n,"stk-inner-blocks",i,"stk-block-content","stk-hover-parent"]);return(0,l.createElement)(o.Q.Content,{className:s,attributes:t,"data-video":t.videoLink},(0,l.createElement)(d.Content,{version:e.version,attributes:t}),(0,l.createElement)(o.qy.Content,{attributes:t}),(0,l.createElement)("button",{className:c,"aria-label":t.ariaLabel||(0,h.__)("Play Video",m.i18n)},(0,l.createElement)(u.InnerBlocks.Content,null)))})),_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.version;const t=new c.DC;return o.Q.addAttributes(t),o.bg.addAttributes(t),o.cy.addAttributes(t),o.X2.addAttributes(t),o.aE.addAttributes(t),o.wx.addAttributes(t),o.v2.addAttributes(t),o.ZK.addAttributes(t),o.mz.addAttributes(t),o.qy.addAttributes(t),o.Et.addAttributes(t),o.fN.addAttributes(t),t.add({attributes:{videoLink:{type:"string",default:""},videoId:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video",default:""},ariaLabel:{type:"string",source:"attribute",selector:"button",attribute:"aria-label",default:""}},versionAdded:"3.0.0",versionDeprecated:""}),t.getMerged(e)}(m.version),E=JSON.parse('{"name":"stackable/video-popup","title":"Video Popup","description":"Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.","category":"media","usesContext":["postId","postType","queryId"],"keywords":["YouTube","Vimeo","Embed Mp4"],"textdomain":"stackable-ultimate-gutenberg-blocks","stk-type":"special","stk-demo":"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}'),x=(0,v.applyFilters)("stackable.block.metadata",{...E,icon:n.RG,attributes:_,supports:{anchor:!0,align:!0,stkAlign:!0},example:{attributes:{uniqueId:"436a2b2",hasBackground:!1,hasBorders:!1,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%"},innerBlocks:[{name:"stackable/icon",attributes:{uniqueId:"4e1adcf",hasBackground:!1,hasBorders:!1,contentAlign:"center",effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},icon:'<svg data-prefix="fas" data-icon="play" class="svg-inline--fa fa-play fa-w-14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" aria-hidden="true"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg>',showBackgroundShape:!1,linkHasLink:!1,linkNewTab:!1,linkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",iconColor1:"#FFFFFF"},innerBlocks:[]},{name:"stackable/image",attributes:{uniqueId:"d4394aa",hasBackground:!1,hasBorders:!1,imageShow:!0,imageUrl:"https://source.unsplash.com/800x500/?sea,coast,water",imageSize:"full",imageShapeStretch:!0,effectAnimationOut:{},effectAnimationIn:{},customAttributes:[],hideDesktop:!1,hideTablet:!1,hideMobile:!1,displayCondition:{},blockLinkHasLink:!0,blockLinkNewTab:!1,blockLinkHasTitle:!0,blockBackgroundCustomSizeUnit:"%",blockBackgroundCustomSizeUnitTablet:"%",blockBackgroundCustomSizeUnitMobile:"%",imageWidthUnit:"%",imageWidthUnitTablet:"%",imageWidthUnitMobile:"%"},innerBlocks:[]}]},edit:y,save:C})},7197:(e,t,a)=>{"use strict";a.r(t);var n=a(2610),l=a(3233),i=a(4678),o=a(910),r=a(7537),s=a(2413),c=a(78),u=a(8003),d=a(2527),m=a(3284);const b=(e,t,a,n)=>{const l=(0,s.removeFormat)(e,"ugb/highlight");return""===t?a?(0,s.applyFormat)(l,{type:"stk/highlight",attributes:{style:`color: ${a};`}}):(0,s.removeFormat)(l,"stk/highlight"):"highlight"===t?(0,s.applyFormat)(l,{type:"stk/highlight",attributes:{style:(a?`color: ${a};`:"")+(n?`background-color: ${n}`:"")}}):(0,s.applyFormat)(l,{type:"stk/highlight",attributes:{style:(a?`color: ${a};`:"")+(n?`background: linear-gradient(to bottom, transparent 50%, ${n} 50%)`:"")}})},g=e=>{let t="",a="",n="";if(e.match(/linear-gradient\(/)){n="low";const t=e.match(/linear-gradient\(\s*to bottom\s*,\s*transparent \d+%\s*,\s*(.*?)\s\d+%\)/);t&&(a=t[1])}else if(e.match(/background-color:/)){n="highlight";const t=e.match(/background-color:\s*([^;]*)?/);t&&(a=t[1])}const l=e.match(/(^|[^-])color:\s*([^;]*)?/);return l&&(t=l[2]),{textColor:t,highlightColor:a,colorType:n}};(0,s.registerFormatType)("stk/highlight",{title:(0,u.__)("Highlight Text",o.i18n),tagName:"span",className:"stk-highlight",edit:e=>{const[t,a]=(0,n.useState)(!1),s=(0,n.useRef)(null),[d,m]=(0,n.useState)(null),p=(0,n.useCallback)((e=>{const n=!(0,i.zJ)(s.current,e.target),l=e.target.closest(".stk-components-toolbar__highlight"),o=e.target.closest(".components-color-picker");t&&n&&!l&&!o&&a(!1)}));(0,n.useEffect)((()=>(document.body.addEventListener("mousedown",p),()=>document.body.removeEventListener("mousedown",p))),[p]);const{activeAttributes:h,isActive:v,onChange:k,value:f}=e;let y=v,C=null==h?void 0:h.style;(0,n.useEffect)((()=>{const{colorType:e=""}=y?g(C):{};m(e)}),[t]),f&&(f.activeFormats||[]).some((e=>"ugb/highlight"===(null==e?void 0:e.type)&&(C=null==e?void 0:e.attributes.style,y=!0,!0)));const{textColor:_="",highlightColor:E=""}=y?g(C):{},x=(""!==d?E:_)||_;return(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(r.Toolbar,{className:"stackable-components-toolbar"},(0,n.createElement)(l.zx,{label:(0,u.__)("Color & Highlight",o.i18n),className:"components-toolbar__control stk-toolbar-button stk-components-toolbar__highlight",icon:"editor-textcolor","aria-haspopup":"true",tooltip:(0,u.__)("Color & Highlight",o.i18n),onClick:()=>{a(!t)},isPressed:y},(0,n.createElement)("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:x}})),t&&(0,n.createElement)(r.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container",ref:s,isAlternate:!0},(0,n.createElement)("div",{className:"components-stackable-highlight__inner"},(0,n.createElement)(l.iB,{controls:[{value:"",title:(0,u.__)("Normal",o.i18n)},{value:"highlight",title:(0,u.__)("Highlight",o.i18n)},{value:"low",title:(0,u.__)("Low",o.i18n)}],value:d,onChange:e=>{const t=E||(""!==e?_||"#f34957":E),a="highlight"===e?(0,i.SZ)("",t):"low"===e?"":E||_||"";k(b(f,e,a,t),{withoutHistory:!0}),m(e)},isSmall:!0}),(0,n.createElement)("div",{className:"stk-highlight-format__color-picker"},(0,n.createElement)(l.Xw,{label:(0,u.__)("Text Color",o.i18n),value:_,onChange:e=>{k(b(f,d,e,E),{withoutHistory:!0})}})),""!==d&&(0,n.createElement)("div",{className:"stk-highlight-format__color-picker"},(0,n.createElement)(l.Xw,{label:(0,u.__)("Highlight Color",o.i18n),value:E,onChange:e=>{k(b(f,d,_,e),{withoutHistory:!0})}}))))))},attributes:{style:"style"}}),(0,s.registerFormatType)("ugb/highlight",{title:(0,u.__)("Highlight Text",o.i18n)+" (v2)",tagName:"span",className:"ugb-highlight",attributes:{style:"style"}}),(0,d.Z)((()=>{var e,t;(0,m.select)("core/edit-post")&&(null!==(e=(0,m.select)("core/edit-post"))&&void 0!==e&&e.isFeatureActive("disableEditorsKitColorsFormats")||(0,m.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),null!==(t=(0,m.select)("core/edit-post"))&&void 0!==t&&t.isFeatureActive("disableEditorsKitHighlightFormats")||(0,m.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats"))}));var p=a(1398),h=a(8085);(0,p.registerPlugin)("stackable-update-global-color-palette",{render:()=>{const{useStackableColorsOnly:e,stackableColors:t,defaultColors:a,isInitializing:l,colors:i}=(0,m.useSelect)((e=>({useStackableColorsOnly:e("stackable/global-colors").getSettings().useStackableColorsOnly,stackableColors:e("stackable/global-colors").getSettings().stackableColors,defaultColors:e("stackable/global-colors").getSettings().defaultColors,isInitializing:e("stackable/global-colors").getSettings().isInitializing,colors:e("core/block-editor").getSettings().colors})),[]);return(0,n.useEffect)((()=>{if(l)return;const n=e?[...t]:[...a,...t];(0,h.isEqual)(i,n)||(0,m.dispatch)("core/block-editor").updateSettings({colors:n,__experimentalFeatures:{colors:{palette:{theme:[...n]}}}})}),[JSON.stringify(i),JSON.stringify(a),JSON.stringify(t),e,l]),null}});const v=wp.api,k={defaultColors:[],useStackableColorsOnly:!1,stackableColors:[],isInitializing:!0},f={updateSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"UPDATE_SETTINGS",payload:(0,h.omit)(e,"type")}}};(0,m.registerStore)("stackable/global-colors",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_SETTINGS"===t.type?{...e,...t.payload}:e},actions:f,selectors:{getSettings:e=>e}}),(0,d.Z)((()=>{v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{const{stackable_global_colors_palette_only:t,stackable_global_colors:a}=e;let n,l=(0,h.head)(a)||[],i=l.map((e=>e.slug));const o=(0,h.compact)((0,m.select)("core/block-editor").getSettings().colors);(o||[]).some((e=>e.fallback&&e.colorVar))?(n=(e=>(0,h.compact)((e||[]).map((e=>(0,h.isPlainObject)(e)?e.fallback&&e.colorVar?e.slug.startsWith("stk-global-color")?{color:e.fallback,slug:"stk-global-color-"+Math.floor(Math.random()*(new Date).getTime())%1e5,rgb:e.rgb||"0, 0, 0",name:e.name||"Untitled Color"}:null:e:null))))(o),(0,m.dispatch)("core/block-editor").updateSettings({colors:n}),l=n.filter((e=>{let{slug:t}=e;return t.match(/^stk-global-color/)})),i=l.map((e=>e.slug))):n=o||[];const r=n.filter((e=>{let{slug:t}=e;return!i.includes(t)}));(0,m.dispatch)("stackable/global-colors").updateSettings({defaultColors:r,useStackableColorsOnly:t,stackableColors:l,isInitializing:!1}),t&&setTimeout((()=>{(0,m.dispatch)("core/block-editor").updateSettings({__experimentalFeatures:{colors:{palette:{theme:[]}}}})}),300)}))}))}));var y=a(7462);a(7294);const C=function(e){return(0,n.createElement)("svg",(0,y.Z)({"data-prefix":"fas","data-icon":"lock",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),(0,n.createElement)("path",{fill:"currentColor",d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"}))},_=function(e){return(0,n.createElement)("svg",(0,y.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190"},e),(0,n.createElement)("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}))},E=e=>{let{color:t}=e;return(0,n.createElement)(C,{style:{color:t}})},x=e=>{let{color:t}=e;return(0,n.createElement)(_,{style:{color:t}})};var w=a(4898);const S=e=>{const t=(0,w.Z)(e.match(/^#/)?e:`#${e}`);return t.splice(3,1),t.join(", ")},B=e=>{const t=a=>{a.forEach((a=>{((e,t)=>{const{clientId:a,name:n}=e,{updateBlockAttributes:l}=(0,m.dispatch)("core/block-editor");if(n.startsWith("ugb/")||n.startsWith("stackable/")){const n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Array.isArray(t))return e;const{includeSlugNames:n=!1,includeColorVar:l=!0}=a;let i=JSON.stringify(e);return l&&t.forEach((e=>{e.slug.match(/^stk-global-color/)&&(i=i.replace(new RegExp(`var\\(--${e.slug}, ${e.color.replace(")","\\)").replace("(","\\(")}\\)`,"g"),(t=>e?e.color||"#000000":t)))})),n&&t.filter((e=>e.slug&&e.slug.match(/^stk-global-color/))).map((e=>e.slug)).forEach((e=>{const a=(0,h.find)(t,(t=>t.slug===e));i=i.replace(new RegExp(`"${e}"`,"g"),a&&`"${a.color}"`||'"#000000"')})),JSON.parse(i)}(e.attributes,t);(0,h.isEqual)(n,e.attributes)||l(a,n)}else if(n.startsWith("core/")&&(n.includes("heading")||n.includes("paragraph"))){const n={style:{color:{},...e.attributes.style}},{backgroundColor:i,textColor:o}=e.attributes;if(i&&i.includes("stk-global-color-")){const e=i.match(/stk-global-color-(\S*)/);if(e&&Array.isArray(e)&&e.length>=2){const a=e[1];n.backgroundColor=void 0;const l=(0,h.find)(t,(e=>e.slug===`stk-global-color-${a}`));n.style.color.background=l&&l.color||"#000000"}}if(o&&o.includes("stk-global-color-")){const e=o.match(/stk-global-color-(\S*)/);if(e&&Array.isArray(e)&&e.length>=2){const a=e[1];n.textColor=void 0;const l=(0,h.find)(t,(e=>e.slug===`stk-global-color-${a}`));n.style.color.text=l&&l.color||"#000000"}}l(a,n)}})(a,e),a.innerBlocks&&a.innerBlocks.length&&t(a.innerBlocks)}))};t((0,m.select)("core/block-editor").getBlocks())};var T=a(4184),A=a.n(T);const z=e=>(0,n.createElement)("div",{className:"ugb-global-settings-color-picker__text-name components-color-picker__body"},(0,n.createElement)("div",{className:"components-color-picker__controls"},(0,n.createElement)("div",{className:"components-color-picker__inputs-wrapper"},(0,n.createElement)("div",{className:"components-color-picker__inputs-fields"},(0,n.createElement)(r.BaseControl,{id:"color-picker-text-name",className:"components-color-picker__input-field",label:(0,u.__)("Style name",o.i18n)},(0,n.createElement)("input",{className:"components-text-control__input",id:"color-picker-text-name",onChange:t=>e.onChange(t.target.value),value:e.value}))))));z.defaultProps={value:"",onChange:()=>{}};const N=e=>{const[t,a]=(0,n.useState)(!1);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.zx,{isLink:!0,isDestructive:!0,onClick:()=>a((e=>!e)),disabled:e.disabled},(0,u.__)("Delete color",o.i18n)),t&&(0,n.createElement)(r.Popover,{className:"ugb-global-settings-color-picker__delete-button-popover",focusOnMount:!1,onFocusOutside:()=>a(!1),position:"bottom center"},(0,n.createElement)("h4",{className:"ugb-global-settings-color-picker__title"},(0,u.sprintf)((0,u.__)('Delete "%s"',o.i18n),e.name)),(0,n.createElement)("p",{className:"components-base-control__help"},(0,u.__)("Any blocks that use this color will become unlinked with this global color. Delete this color?",o.i18n)),(0,n.createElement)(r.ButtonGroup,null,(0,n.createElement)(l.zx,{onClick:()=>{a(!1),e.onClick()},isDestructive:!0,isSecondary:!0,isSmall:!0},(0,u.__)("Delete",o.i18n)),(0,n.createElement)(l.zx,{onClick:()=>a(!1),isSmall:!0},(0,u.__)("Cancel",o.i18n)))))},M=e=>(0,n.createElement)(l.zx,(0,y.Z)({},e,{isSecondary:!0,className:"ugb-global-settings-color-picker__add-icon",label:(0,u.__)("Add New Color",o.i18n),icon:(0,n.createElement)(x,null)})),I=e=>{const[t,a]=(0,n.useState)(!1);return(0,n.createElement)("div",{className:"ugb-global-settings-color-picker__reset-button"},(0,n.createElement)(l.zx,{onClick:()=>a(!t),onMouseDown:e=>e.preventDefault(),disabled:e.disabled,isSecondary:!0,isSmall:!0},(0,u.__)("Reset",o.i18n)),t&&(0,n.createElement)(r.Popover,{className:"ugb-global-settings-color-picker__reset-button-popover",onFocusOutside:()=>a(!1),position:"bottom center"},(0,n.createElement)("h4",{className:"ugb-global-settings-color-picker__title"},(0,u.__)("Reset Color Palette",o.i18n)),(0,n.createElement)("p",{className:"components-base-control__help"},(0,u.__)("Resetting the global colors will revert all colors to its original color palette. Any added colors will be deleted and will become unlinked. Proceed?",o.i18n)),(0,n.createElement)(r.ButtonGroup,null,(0,n.createElement)(l.zx,{onClick:()=>{e.onClick(),a(!1)},isDestructive:!0,isSecondary:!0,isSmall:!0},(0,u.__)("Reset",o.i18n)),(0,n.createElement)(l.zx,{onClick:()=>a(!1),isSmall:!0},(0,u.__)("Cancel",o.i18n)))))},H=e=>{const{color:t,name:a}=e;return e.locked?(0,n.createElement)("div",{className:"components-circular-option-picker__option-wrapper ugb-global-settings__color-picker-disabled-color"},(0,n.createElement)("div",{className:"components-circular-option-picker__option",style:{backgroundColor:t,color:t}},(0,n.createElement)(E,{color:(0,i.gE)(null,t)||"#222222"}))):(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},(0,n.createElement)(l.zx,{className:"components-circular-option-picker__option",label:a,style:{backgroundColor:t,color:t},onClick:()=>e.onClick(t),onMouseDown:e=>e.preventDefault()}),e.children))};H.defaultProps={color:"#222222",name:(0,u.__)("Untitled Color",o.i18n),locked:!1,onClick:()=>{}};let U=null;const R=e=>{const[t,a]=(0,n.useState)(null),l=(0,m.useSelect)((e=>e("core/block-editor").getSettings().colors))||[],i=Array.isArray(l)?l:[],s=(0,n.useMemo)((()=>!i.some((e=>!!(0,h.isPlainObject)(e)&&!("string"!=typeof e.slug||!e.slug.includes("stk-global-color"))),[JSON.stringify(i)]))),c=e=>{const t=e.filter((e=>e.slug.match(/^stk-global-color/)));(e=>{const{updateBlockAttributes:t}=(0,m.dispatch)("core/block-editor"),a=n=>{n.forEach((n=>{const{clientId:l,name:i}=n;if(i.startsWith("ugb/")||i.startsWith("stackable/")){const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!Array.isArray(t))return e;let a=JSON.stringify(e);return t.filter((e=>e.slug.match(/^stk-global-color/))).map((e=>`--${e.slug}`)).forEach((e=>{const n=new RegExp(`var\\(${e},(.?)#(.*?(?=\\)))\\)`,"g");a=a.replace(n,(a=>{const n=(0,h.find)(t,(t=>`--${t.slug}`===e));return n?`var(${e}, ${n.color})`:a}))})),JSON.parse(a)}(n.attributes,e);(0,h.isEqual)(a,n.attributes)||t(l,a)}n.innerBlocks&&n.innerBlocks.length&&a(n.innerBlocks)}))};a((0,m.select)("core/block-editor").getBlocks())})(t),clearTimeout(U),U=setTimeout((()=>{new v.models.Settings({stackable_global_colors:[t]}).save()}),300),(0,m.dispatch)("stackable/global-colors").updateSettings({stackableColors:t})},d=e=>{const a=(0,h.cloneDeep)(i);a[t].color=e.hex,a[t].rgb=S(e.hex),c(a)},b=e=>{const a=(0,h.cloneDeep)(i);a[t].name=e,c(a)},g=()=>{const e=(0,h.cloneDeep)(i);e.splice(t,1),B([i[t]]),c(e),a(null)},p=A()("ugb-global-settings-color-picker","components-circular-option-picker","editor-color-palette-control__color-palette",e.className);return(0,n.createElement)(r.BaseControl,{className:p},(0,n.createElement)(I,{onClick:()=>{B(i),c([]),a(null),e.onReset()},disabled:s}),i.map(((e,l)=>(0,h.isPlainObject)(e)?(0,n.createElement)(H,{key:l,color:e.color,name:e.name,locked:!(e.slug||"").startsWith("stk-"),onClick:()=>a(t!==l?l:null)},t===l&&(0,n.createElement)(r.Popover,{className:"components-dropdown__content",onFocusOutside:()=>a(null)},(0,n.createElement)(r.ColorPicker,{color:e.color,onChangeComplete:d,disableAlpha:!0}),(0,n.createElement)(z,{onChange:b,value:e.name||""}),(0,n.createElement)("div",{className:"ugb-global-settings-color-picker__text-name components-color-picker__body"},(0,n.createElement)("div",{className:"components-color-picker__controls"},(0,n.createElement)(N,{name:e.name,onClick:g}))))):null)),(0,n.createElement)(M,{onClick:()=>{const e=i&&Array.isArray(i)?i.length+1:1,t=Math.floor(Math.random()*(new Date).getTime())%1e5,n=`#${((1<<24)*Math.random()|0).toString(16)}`,l=[...(0,m.select)("core/block-editor").getSettings().colors,{name:(0,u.sprintf)((0,u.__)("Custom Color %s",o.i18n),e),slug:`stk-global-color-${t}`,color:n,rgb:S(n)}];c(l),a(e-1)}}))};R.defaultProps={className:"",onReset:()=>{}};const L=R,P=()=>{const{colors:e,isEditingTemplate:t}=(0,m.useSelect)((e=>{var t,a,n;return{colors:(null===(t=e("core/block-editor"))||void 0===t?void 0:t.getSettings().colors)||[],isEditingTemplate:(null===(a=e("core/edit-post"))||void 0===a||null===(n=a.isEditingTemplate)||void 0===n?void 0:n.call(a))||!1}})),[a,l]=(0,n.useState)("");return(0,n.useEffect)((()=>{e&&Array.isArray(e)&&((e,t,a)=>{const n=e.map((e=>(0,h.isPlainObject)(e)&&"string"==typeof e.slug&&e.slug.startsWith("stk-global-color")?`--${e.slug||""}: ${e.color||""};`:null));a(`:root { ${(0,h.compact)(n).join("")}}`);const l=e.map((e=>{var a;if(!(0,h.isPlainObject)(e))return null;const n=t&&(null===(a=document.querySelector('iframe[name="editor-canvas"]'))||void 0===a?void 0:a.contentWindow)||window,l=t?n.document:window.document;if("string"==typeof e.slug&&e.slug.startsWith("stk-global-color")){const t=(0,w.Z)(n.getComputedStyle(l.documentElement).getPropertyValue(`--${e.slug}`).trim());if(Array.isArray(t)&&0!==t.length)return t.splice(3,1),`--${e.slug||""}-rgba: ${t.join(", ")};`}return null}));a((e=>`${e} :root { ${(0,h.compact)(l).join(" ")}}`))})(e,t,l)}),[JSON.stringify(e)]),a};var F=a(3882);(0,F.addFilter)("stackable.util.hex-to-rgba","stackable/global-colors",((e,t,a)=>{if(!t.includes("--stk-global-color"))return e;const n=t.match(/--stk-global-color-(\S*?(?=,))/);if(n){const e=/( )(.*)/g,l=t.match(e)[0].trim().slice(0,-1);if(l&&"#"===l[0]){const e=(0,w.Z)(l);if(e)return e.splice(3,1),`rgba(var(--stk-global-color-${n[1]}-rgba, ${e.join(", ")}), ${null!==a?a:1})`}}return e})),(0,F.addFilter)("stackable.util.is-dark-color","stackable/global-colors",(e=>{if(e.match(/--stk-global-color/)&&e.match(/--stk-global-color-(\S*?(?=,))/)){const t=/( )(.*)/g,a=e.match(t)[0].trim().slice(0,-1);if(a&&"#"===a[0])return a}return e})),(0,F.addFilter)("stackable.global-settings.inspector","stackable/global-colors",(e=>{const{useStackableColorsOnly:t}=(0,m.useSelect)((e=>e("stackable/global-colors").getSettings())),a=e=>{(0,m.dispatch)("stackable/global-colors").updateSettings({useStackableColorsOnly:e}),new v.models.Settings({stackable_global_colors_palette_only:e}).save()};return(0,n.createElement)(n.Fragment,null,e,(0,n.createElement)(l.SQ,{title:(0,u.__)("Global Color Palette",o.i18n),initialOpen:!0},(0,n.createElement)("p",{className:"components-base-control__help"},(0,u.__)("Change your color palette for all your blocks across your site.",o.i18n)," ",(0,n.createElement)("a",{href:"https://docs.wpstackable.com/article/362-how-to-use-global-colors?utm_source=wp-global-settings&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},(0,u.__)("Learn more about Global Colors",o.i18n))),(0,n.createElement)(L,{onReset:()=>a(!1)}),(0,n.createElement)(r.ToggleControl,{label:(0,u.__)("Use only Stackable colors",o.i18n),checked:!!t,onChange:e=>a(e)})))})),(0,F.addFilter)("stackable.color-palette-control.change","stackable/global-colors",((e,t)=>t&&t.slug.includes("stk-global-color")?`var(--${t.slug}, ${t.color})`:e));var O=a(2285),D=a(4863),Z=a.n(D);const V=()=>{const[e,t]=(0,n.useState)([]),[a,l]=(0,n.useState)(""),[o,r]=(0,n.useState)(""),[s,c]=(0,n.useState)(null),{device:u}=(0,m.useSelect)((e=>{var t;return{device:(null===(t=e("core/edit-post"))||void 0===t?void 0:t.__experimentalGetPreviewDeviceType())||"Desktop"}}),[]);return(0,n.useEffect)((()=>(v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{t((0,h.head)(e.stackable_global_typography)||{}),l(e.stackable_global_typography_apply_to||"blocks-stackable-native")}))})),(0,F.addAction)("stackable.global-settings.typography.update-trigger","stackable/typography-styles",((e,a)=>{t(e),l(a)})),()=>{(0,F.removeAction)("stackable.global-settings.typography.update-trigger","stackable/typography-styles")})),[]),(0,n.useEffect)((()=>((0,F.addAction)("stackable.global-settings.typography-update-global-styles","stackable/typography-styles",(e=>{const t=Object.keys(e).map((t=>{const n=q(t,a);return Z().all(n.map((a=>{const n=e[t];n.fontFamily&&(0,i.u$)(n.fontFamily);let l=a.includes("stackable/");l=(0,F.applyFilters)("stackable.global-settings.typography.selector-is-stackable",l,a);const o={[a]:(0,i.kT)("%s","desktop",n,{important:l}),tablet:{[a]:(0,i.kT)("%s","tablet",n,{important:l})},mobile:{[a]:(0,i.kT)("%s","mobile",n,{important:l})}};return!u||"Tablet"!==u&&"Mobile"!==u||(o[a]={...o[a],...(0,i.kT)("%s",u.toLowerCase(),n,{important:l})}),(0,F.applyFilters)("stackable.global-settings.typography.editor-styles",o,t,a,n,l)})))}));r((0,O.KL)(Z().all(t)).join(""))})),clearTimeout(s),c(setTimeout((()=>(0,F.doAction)("stackable.global-settings.typography-update-global-styles",e)),200)),()=>(0,F.removeAction)("stackable.global-settings.typography-update-global-styles","stackable/typography-styles"))),[JSON.stringify(e),a,u]),o},q=(e,t)=>["h1","h2","h3","h4","h5","h6"].includes(e)||e.startsWith(".")?G(e,t):W(t),G=(e,t)=>{const a=[],n=e.startsWith(".");return a.push(`[data-type^="stackable/"] ${e}`),(n||"blocks-stackable"!==t)&&(a.push(`.editor-styles-wrapper [data-type^="core/"] ${e}`),a.push(`.editor-styles-wrapper ${e}[data-type^="core/"]`)),(n||"blocks-all"===t)&&(a.push(`.editor-styles-wrapper [data-type] ${e}`),a.push(`.editor-styles-wrapper ${e}[data-type]`)),(0,F.applyFilters)("stackable.global-settings.typography-selectors",a,e)},W=e=>[...G("p",e),...G("li",e),'.editor-styles-wrapper p.block-editor-block-list__block[data-type^="core/"]','.editor-styles-wrapper .block-editor-block-list__block[data-type^="core/"] p','.editor-styles-wrapper .block-editor-block-list__block[data-type^="core/"] li','.editor-styles-wrapper .block-editor-block-list__block[data-type^="core/"] td'],$=e=>{const{value:t,help:a}=e,i=(t,a)=>{const n={...e.value,[t]:a};e.onChange(n)},r=(0,n.createElement)(K,{selector:e.selector,styles:t,help:a},e.label),s=A()(["ugb-global-settings-typography-control"],{"ugb-global-settings-typography-control--with-description":Q(t)});return(0,n.createElement)(l.LH,{fontSizeProps:{units:["px","em","rem"]},lineHeightUnits:["px","em","rem"],className:s,label:r,popoverLabel:null,onChangeStyle:!1,showSecondFontSize:!1,allowReset:!0,fontFamily:t.fontFamily,fontSize:t.fontSize,htmlTag:e.selector,tabletFontSize:t.tabletFontSize,mobileFontSize:t.mobileFontSize,fontSizeUnit:t.fontSizeUnit,tabletFontSizeUnit:t.tabletFontSizeUnit,mobileFontSizeUnit:t.mobileFontSizeUnit,fontWeight:t.fontWeight,textTransform:t.textTransform,lineHeight:t.lineHeight,tabletLineHeight:t.tabletLineHeight,mobileLineHeight:t.mobileLineHeight,lineHeightUnit:t.lineHeightUnit,tabletLineHeightUnit:t.tabletLineHeightUnit,mobileLineHeightUnit:t.mobileLineHeightUnit,letterSpacing:t.letterSpacing,onChangeFontFamily:e=>i("fontFamily",e),onChangeFontSize:e=>i("fontSize",e),onChangeTabletFontSize:e=>i("tabletFontSize",e),onChangeMobileFontSize:e=>i("mobileFontSize",e),onChangeFontSizeUnit:e=>i("fontSizeUnit",e),onChangeTabletFontSizeUnit:e=>i("tabletFontSizeUnit",e),onChangeMobileFontSizeUnit:e=>i("mobileFontSizeUnit",e),onChangeFontWeight:e=>i("fontWeight",e),onChangeTextTransform:e=>i("textTransform",e),onChangeLineHeight:e=>i("lineHeight",e),onChangeTabletLineHeight:e=>i("tabletLineHeight",e),onChangeMobileLineHeight:e=>i("mobileLineHeight",e),onChangeLineHeightUnit:e=>i("lineHeightUnit",e),onChangeTabletLineHeightUnit:e=>i("tabletLineHeightUnit",e),onChangeMobileLineHeightUnit:e=>i("mobileLineHeightUnit",e),onChangeLetterSpacing:e=>i("letterSpacing",e),onReset:()=>e.onReset(e.selector),resetPopoverTitle:(0,u.sprintf)((0,u.__)("Reset %s Global Typography Style",o.i18n),"p"===e.selector?(0,u.__)("Body Text",o.i18n):e.selector.toUpperCase()),resetPopoverDescription:(0,u.__)("Resetting this typography style will revert all typography to its original style. Proceed?",o.i18n)})};$.defaultProps={selector:"h1",label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),1),onChange:()=>{},onReset:()=>{},value:{},letterSpacing:""};const j=$,Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop";const a=[];return e.fontFamily&&a.push(e.fontFamily),e.fontSize&&a.push(`${e.fontSize}${e.fontSizeUnit||"px"}`),"tablet"===t&&e.tabletFontSize?(e.fontSize&&a.pop(),a.push(`${e.tabletFontSize}${e.tabletFontSizeUnit||"px"}`)):"mobile"===t&&(e.tabletFontSize||e.mobileFontSize)&&(e.fontSize&&a.pop(),e.mobileFontSize?a.push(`${e.mobileFontSize}${e.mobileFontSizeUnit||"px"}`):a.push(`${e.tabletFontSize}${e.tabletFontSizeUnit||"px"}`)),e.fontWeight&&a.push(e.fontWeight),e.textTransform&&a.push((0,h.upperFirst)(e.textTransform)),a.join(", ")},K=e=>{var t,a;const o=null===(t=e.selector)||void 0===t?void 0:t.startsWith("."),s=o?"p":e.selector,c=A()(["ugb-global-typography-preview__label"],{[null===(a=e.selector)||void 0===a?void 0:a.substring(1)]:o}),{device:u}=(0,m.useSelect)((e=>{var t,a;return{device:(null===(t=e("core/edit-post"))||void 0===t||null===(a=t.__experimentalGetPreviewDeviceType())||void 0===a?void 0:a.toLowerCase())||"Desktop"}}),[]),d=Q(e.styles,u),b=(0,h.omit)(e.styles,["lineHeight","tabletLineHeight","mobileLineHeight"]),g={[`.ugb-global-typography-preview__label[data-selector="${e.selector}"]`]:(0,i.kT)("%s","desktop",b,{important:!0}),[`.ugb-global-typography-preview__label[data-selector="${e.selector}"]:not([data-device="desktop"])`]:(0,i.kT)("%s","tablet",b,{important:!0}),[`.ugb-global-typography-preview__label[data-selector="${e.selector}"][data-device="mobile"]`]:(0,i.kT)("%s","mobile",b,{important:!0})};return e.styles.fontFamily&&(0,i.u$)(e.styles.fontFamily),(0,n.createElement)("div",{className:"ugb-global-typography-preview"},e.help&&(0,n.createElement)(l.u,{position:"bottom",text:e.help},(0,n.createElement)(r.Dashicon,{icon:"editor-help"})),(0,n.createElement)("div",{className:"editor-styles-wrapper"},(0,n.createElement)("div",{className:"block-editor-block-list__layout"},(0,n.createElement)("div",{className:"wp-block block-editor-block-list__block"},(0,n.createElement)("style",null,(0,O.KL)(g).join("")),(0,n.createElement)(s,{className:c,"data-selector":e.selector,"data-device":u},e.children)))),d&&(0,n.createElement)("p",{className:"ugb-global-typography-preview__description"},d))},J=[{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),1),selector:"h1"},{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),2),selector:"h2"},{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),3),selector:"h3"},{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),4),selector:"h4"},{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),5),selector:"h5"},{label:(0,u.sprintf)((0,u.__)("Heading %d",o.i18n),6),selector:"h6"},{label:(0,u.__)("Subtitle",o.i18n),selector:".stk-subtitle",help:(0,n.createElement)(n.Fragment,null,(0,u.sprintf)((0,u.__)("To apply this typography style, just add `%s` in your block's Additional CSS classes. Also make sure that `%s` tag is set to avoid conflict with other typography styles",o.i18n),"stk-subtitle","p"))},{label:(0,u.__)("Body Text",o.i18n),selector:"p"}];let X=null;(0,F.addFilter)("stackable.global-settings.inspector","stackable/global-typography",(e=>{const[t,a]=(0,n.useState)([]),[i,r]=(0,n.useState)("");return(0,n.useEffect)((()=>{v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{a((0,h.head)(e.stackable_global_typography)||{}),r(e.stackable_global_typography_apply_to||"blocks-stackable-native")}))}))}),[]),(0,n.useEffect)((()=>{(0,F.doAction)("stackable.global-settings.typography.update-trigger",t,i)}),[JSON.stringify(t),i]),(0,n.createElement)(n.Fragment,null,e,(0,n.createElement)(l.SQ,{title:(0,u.__)("Global Typography",o.i18n),initialOpen:!0},(0,n.createElement)("p",{className:"components-base-control__help"},(0,u.__)("Change the typography of your headings for all your blocks in your site.",o.i18n)," ",(0,n.createElement)("a",{href:"https://docs.wpstackable.com/article/363-how-to-use-global-typography?utm_source=wp-global-settings&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},(0,u.__)("Learn more about Global Typography",o.i18n))),(0,n.createElement)(l.qD,{label:(0,u.__)("Apply Typography Styles to",o.i18n),options:[{value:"blocks-stackable-native",label:(0,u.__)("Stackable and native blocks only",o.i18n)},{value:"blocks-stackable",label:(0,u.__)("Stackable blocks only",o.i18n)},{value:"blocks-all",label:(0,u.__)("Stackable and all other blocks",o.i18n)}],value:i,onChange:e=>{r(e),new v.models.Settings({stackable_global_typography_apply_to:e}).save()}}),(0,n.createElement)(l.Eg,null),J.map(((e,l)=>{let{label:i,selector:o,help:r}=e;return(0,n.createElement)(j,{help:r,key:l,label:i,selector:o,value:t[o]||{},onChange:e=>((e,n)=>{Object.keys(n).forEach((e=>{""===n[e]&&delete n[e]}));const l={...t,[e]:n};a(l),n&&!n.fontSize&&(0,F.doAction)("stackable.global-settings.typography-update-global-styles",l),clearTimeout(X),X=setTimeout((()=>{new v.models.Settings({stackable_global_typography:[l]}).save()}),500)})(o,e),onReset:()=>(e=>{const n=(0,h.omit)(t,[e]);a(n),(0,F.doAction)("stackable.global-settings.typography-update-global-styles",n),clearTimeout(X),X=setTimeout((()=>{new v.models.Settings({stackable_global_typography:[n]}).save()}),500)})(o)})}))))}));var Y=a(4597);(0,F.addAction)("stackable.global-settings.toggle-sidebar","toggle",(()=>{const e="stackable-global-settings/sidebar";(0,m.select)("core/edit-post").getActiveGeneralSidebarName()===e?(0,m.dispatch)("core/edit-post").closeGeneralSidebar(e):(0,m.dispatch)("core/edit-post").openGeneralSidebar(e)}));o.isContentOnlyMode||(0,p.registerPlugin)("stackable-global-settings",{render:()=>{var e;const t=(0,m.useSelect)((e=>{var t,a;return null===(t=e("core/edit-post"))||void 0===t||null===(a=t.isEditingTemplate)||void 0===a?void 0:a.call(t)}));if((0,n.useEffect)((()=>{const e=document.createElement("style"),a=document.createElement("style"),l=setTimeout((()=>{const l=t?document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.body:document.body;l.appendChild(e),(0,n.render)((0,n.createElement)(V,null),e),l.appendChild(a),(0,n.render)((0,n.createElement)(P,null),a)}),300);return()=>{clearTimeout(l),(0,n.unmountComponentAtNode)(e),(0,n.unmountComponentAtNode)(a),e.remove(),a.remove()}}),[t]),null===(e=window.wp.editPost)||void 0===e||!e.PluginSidebar)return null;const a=window.wp.editPost.PluginSidebar;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(a,{name:"sidebar",title:(0,u.__)("Stackable Settings",o.i18n),className:"ugb-global-settings__inspector",icon:(0,n.createElement)(Y.y4,null)},(0,F.applyFilters)("stackable.global-settings.inspector",null)))}});let ee=null;(0,F.addFilter)("stackable.edit.inspector.before","stackable/premium-notice",(e=>{const[t,a]=(0,n.useState)(ee);return(0,n.useEffect)((()=>{!t&&ee&&(ee=!1,new v.models.Settings({stackable_inspector_premium_notice_status:"dismissed"}).save())}),[t]),(0,n.useEffect)((()=>{ee&&a(!0)}),[ee]),t&&ee?(0,n.createElement)(n.Fragment,null,e,(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(l.XK,{className:"ugb-premium-notice-inspector-popup",isDismissible:!0,showHideNote:!1,button:(0,u.__)("Get Premium",o.i18n),title:(0,u.__)("Achieve More with Premium",o.i18n),description:(0,u.__)("If you're enjoying Stackable blocks, we have a Premium version that lets you do so much more. Check it out now.",o.i18n),onClose:()=>a(!1),buttonUtmSource:"inspector-premium-notice"}))):e})),(0,d.Z)((()=>{v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{const{stackable_inspector_premium_notice_status:t}=e;ee=o.showProNotice&&!o.isPro&&"show"===t}))}))}));var te=a(378);const ae=()=>{const{getEditorDom:e}=(0,m.useSelect)("stackable/editor-dom"),t=(0,n.useCallback)((()=>{const t=(0,te.createBlock)("stackable/design-library");(0,m.dispatch)("core/block-editor").insertBlocks(t).then((()=>{var a;const n=null===(a=e())||void 0===a?void 0:a.querySelector(`[data-block="${t.clientId}"] button`);n&&n.click()}))}),[e]);return o.settings.stackable_enable_design_library&&(0,n.createElement)(l.zx,{onClick:t,className:"ugb-insert-library-button",label:(0,u.__)("Open Design Library",o.i18n),icon:(0,n.createElement)(Y.y4,null)},(0,u.__)("Design Library",o.i18n))};(0,d.Z)((()=>{if(o.isContentOnlyMode)return;let e=null;const t=(0,m.subscribe)((()=>{const a=document.querySelector(".edit-post-header-toolbar");if(!a)return;const l=document.createElement("div");l.classList.add("ugb-insert-library-button__wrapper"),a.querySelector(".ugb-insert-library-button__wrapper")||((0,n.render)((0,n.createElement)(ae,null),l),a.appendChild(l)),e&&clearTimeout(e),e=setTimeout((()=>{document.querySelector(".ugb-insert-library-button__wrapper")&&t()}),0)}))}));var ne=a(2440),le=a(3749);const ie=e=>{const{disabled:t}=e,{clientId:a}=(0,c.useBlockEditContext)(),{updateBlockAttributes:l}=(0,m.useDispatch)("core/block-editor");return(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(r.ToolbarGroup,{className:"stk-layout-picker"},(0,n.createElement)(ne.Z,{className:"components-toolbar__control stk-toolbar-button",icon:"layout",label:(0,u.__)("Reset layout",o.i18n),disabled:t,onClick:()=>l(a,{uniqueId:void 0})})))};if(ie.defaultProps={disabled:!1},o.isPro&&!o.isContentOnlyMode){const e=(0,le.createHigherOrderComponent)((e=>t=>{const{getBlockVariations:a,getBlockSupport:l}=(0,m.useSelect)("core/blocks");if(!t.name.startsWith("stackable/"))return(0,n.createElement)(e,t);const i=!1!==l(t.name,"stkLayoutReset"),o=a(t.name).length>0,r=!t.attributes.uniqueId;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(e,t),o&&i&&(0,n.createElement)(ie,{disabled:r}))}),"withLayoutPicker");(0,F.addFilter)("editor.BlockEdit","stackable/layout-picekr",e)}const oe=e=>e.includes("ugb/")||e.includes("ugb-main-block"),re=e=>e.some((e=>{if("core/block"===e.name){var t,a,n;const{attributes:{ref:l}}=e,i=null===(t=(0,m.select)("core").getEntityRecords("postType","wp_block",{include:[l]}))||void 0===t||null===(a=t[0])||void 0===a||null===(n=a.content)||void 0===n?void 0:n.raw;if(oe(i))return!0}return!!(e.innerBlocks&&e.innerBlocks.length&&re(e.innerBlocks))||!(!e.name||!e.name.startsWith("ugb/"))||!(!e.originalContent||!oe(e.originalContent))})),se=()=>{const[e,t]=(0,n.useState)(!0),[a,l]=(0,n.useState)(!1);if(!e)return null;const i=function(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l(!0);const n=new v.models.Settings(e);n.save().then((()=>{l(!1),t(!1),a&&(window.alert((0,u.__)("The page will now reload for the old blocks to load. Please reload it if it does not refresh automatically.",o.i18n)),window.location.href=window.location.href)}))};return(0,n.createElement)(r.Modal,{className:"stk-v2-migration-modal",title:(0,u.__)("Stackable V2 Block Detected",o.i18n),shouldCloseOnClickOutside:!1,onRequestClose:()=>t(!1)},(0,n.createElement)("p",null,(0,u.__)("Hello! 👋",o.i18n)),(0,n.createElement)("p",null,(0,u.__)("We noticed that the page you are editing contains old Stackable version 2 blocks. Starting Stackable version 3, old v2 blocks are not anymore loaded in the editor. This means that you would not be able to edit the old v2 blocks in the editor and any old v2 block would show a block error in the editor.",o.i18n)),(0,n.createElement)("p",null,(0,u.__)("Do you want to enable backward compatibility, so the old blocks will be loaded in the editor?",o.i18n)),(0,n.createElement)("div",{className:"stk-v2-migration-modal__button-wrapper"},(0,n.createElement)(r.Button,{className:"button-primary",onClick:()=>{i({stackable_v2_editor_compatibility:"",stackable_v2_editor_compatibility_usage:"1",stackable_v2_frontend_compatibility:"1"},!0)}},(0,u.__)("Yes, load V2 Blocks in the editor, but only when V2 blocks are present already",o.i18n)),(0,n.createElement)(r.Button,{className:"button-primary",onClick:()=>{i({stackable_v2_editor_compatibility:"1",stackable_v2_editor_compatibility_usage:"",stackable_v2_frontend_compatibility:"1"},!0)}},(0,u.__)("Yes, always load V2 blocks in the editor",o.i18n)),(0,n.createElement)(r.Button,{className:"button-link-delete",onClick:()=>{i({stackable_v2_block_detector_disabled:"1"})}},(0,u.__)("No, don't load V2 blocks in the editor",o.i18n))),a&&(0,n.createElement)(r.Spinner,null))};v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{e.stackable_v2_block_detector_disabled||e.stackable_v2_editor_compatibility||e.stackable_v2_editor_compatibility_usage||new Promise((e=>{setTimeout((()=>{const t=(0,m.subscribe)((()=>{if(null!==(0,m.select)("core").getEntityRecords("postType","wp_block")){var a;t();let l=!1;const i=null===(a=(0,m.select)("core/editor"))||void 0===a?void 0:a.getEditedPostContent();if(i)if(oe(i))l=!0;else if(i.includes("wp:block")){var n;const e=(null===(n=(0,m.select)("core/editor"))||void 0===n?void 0:n.getEditorBlocks())||[];re(e)&&(l=!0)}e(l)}}))}),500)})).then((e=>{e&&(0,p.registerPlugin)("stackable-v2-migration-popup",{render:se})}))}))}));var ce=a(48);const ue={editorDom:null};(0,m.registerStore)("stackable/editor-dom",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_EDITOR_DOM"===t.type?{...e,editorDom:t.editorDom}:e},actions:{updateEditorDom:e=>({type:"UPDATE_EDITOR_DOM",editorDom:e})},selectors:{getEditorDom:e=>e.editorDom}});var de=a(6869);(0,p.registerPlugin)("stackable-convert-to-container-button",{render:l.By}),(0,p.registerPlugin)("stackable-block-hover-state",{render:()=>{const{getEditorDom:e,selectedClientId:t,hoverStateClientId:a}=(0,m.useSelect)((e=>({getEditorDom:e("stackable/editor-dom").getEditorDom,selectedClientId:e("core/block-editor").getSelectedBlockClientId(),hoverStateClientId:e("stackable/hover-state").getSelectedBlock()})),[]);return(0,n.useEffect)((()=>{a!==t&&(t?(0,m.dispatch)("stackable/hover-state").updateSelectedBlock(t,e()):(0,m.dispatch)("stackable/hover-state").clearSelectedBlock())}),[t,a]),null}}),(0,p.registerPlugin)("stackable-content-align",{render:()=>{const{hasStkAlign:e,align:t,innerBlockContentAlign:a,clientId:l}=(0,m.useSelect)((e=>{var t,a,n,l;const i=e("core/block-editor").getSelectedBlockClientId(),o=e("core/block-editor").getBlock(i),r=(null==o?void 0:o.name)||"";return{clientId:i,hasStkAlign:r.startsWith("stackable/")&&(null===(t=e("core/blocks").getBlockType(r))||void 0===t||null===(a=t.supports)||void 0===a?void 0:a.stkAlign),align:null==o||null===(n=o.attributes)||void 0===n?void 0:n.align,innerBlockContentAlign:null==o||null===(l=o.attributes)||void 0===l?void 0:l.innerBlockContentAlign}}),[]),i=(0,le.usePrevious)(l),{updateBlockAttributes:o}=(0,m.useDispatch)("core/block-editor");return(0,n.useEffect)((()=>{if(e&&t!==a&&i===l){let e;switch(t){case"center":e="";break;case"wide":e="alignwide";break;case"full":e="alignfull";break;case"":case void 0:e=""}void 0!==e&&o(l,{innerBlockContentAlign:e})}}),[t]),null}}),(0,p.registerPlugin)("stackable-editor-dom",{render:()=>{const e=(0,de.hU)(),[t,a]=(0,n.useState)(0),[l,i]=(0,n.useState)(null);return(0,n.useEffect)((()=>{if("Desktop"===e){clearTimeout(l);const e=setTimeout((()=>{a(t+1)}),200);i(e)}else{const e=document.querySelector('iframe[name="editor-canvas"]');if(e){const n=e.contentDocument.body;if(n&&n.querySelector(".block-editor-block-list__layout"))a(t+1);else{clearTimeout(l);const n=setTimeout((()=>{const n=e.contentDocument.body;n&&n.querySelector(".block-editor-block-list__layout")&&a(t+1)}),200);i(n),e.onload=()=>{clearTimeout(l);const n=e.contentDocument.body;n&&n.querySelector(".block-editor-block-list__layout")?a(t+1):setTimeout((()=>{a(t+1)}),200)}}}}}),[e]),(0,n.useMemo)((()=>{const e=document.querySelector('iframe[name="editor-canvas"]');e?(0,m.dispatch)("stackable/editor-dom").updateEditorDom(e.contentDocument.body):(0,m.dispatch)("stackable/editor-dom").updateEditorDom(document.querySelector(".editor-styles-wrapper"))}),[t,e]),null}}),o.devMode&&(0,p.registerPlugin)("stackable-block-attributes-get-button",{render:l.BO}),v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{e.stackable_enable_block_linking&&(0,p.registerPlugin)("stackable-block-linking",{render:ce.cB})}))}));const me="dist/videos/help/typography-family.mp4",be="dist/videos/help/alignment-image.mp4",ge="dist/videos/help/alignment-title.mp4",pe="dist/videos/help/spacing-image.mp4",he="dist/videos/help/spacing-title.mp4",ve="dist/videos/help/advanced-block-margins.mp4",ke="dist/videos/help/advanced-column-paddings.mp4",fe="dist/videos/help/accordion-border-size.mp4",ye={fullHeight:{video:"dist/videos/help/full-height.mp4",title:(0,u.__)("Full Height",o.i18n),description:(0,u.__)("Block height takes up the full height of the screen",o.i18n)},generalRestrictContent:{video:"dist/videos/help/general-restrict-content.mp4",title:(0,u.__)("Restrict to Content Width",o.i18n),description:(0,u.__)("Restricts content to a narrower space when block width is set to full width",o.i18n)},generalBorderRadius:{video:"dist/videos/help/general-border-radius.mp4",title:(0,u.__)("Border Radius",o.i18n),description:(0,u.__)("Adjusts the radius of block corners to make them more rounded",o.i18n)},generalShadow:{video:"dist/videos/help/general-shadow.mp4",title:(0,u.__)("Shadow/Outline",o.i18n),description:(0,u.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",o.i18n)},alignmentAll:{video:"dist/videos/help/alignment-all.mp4",title:(0,u.__)("Align (general / all)",o.i18n),description:(0,u.__)("Adjusts the placement of all content in the block to align left, center or right",o.i18n)},generalColumns:{video:"dist/videos/help/general-columns.mp4",title:(0,u.__)("Columns",o.i18n),description:(0,u.__)("Sets the number of columns",o.i18n)},columnBackgroundOnOff:{video:"dist/videos/help/column-background-on-off.mp4",title:(0,u.__)("Column / Container Background",o.i18n),description:(0,u.__)("Background settings for the container or columns.",o.i18n)},imageShape:{video:"dist/videos/help/image-shape.mp4",title:(0,u.__)("Shape",o.i18n),description:(0,u.__)("Change the shape of the image",o.i18n)},imageSize:{video:"dist/videos/help/image-size.mp4",title:(0,u.__)("Image size",o.i18n),description:(0,u.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",o.i18n)},imageSizeNoCrop:{video:"dist/videos/help/image-size-no-crop.mp4",title:(0,u.__)("Image size",o.i18n),description:(0,u.__)("Adjusts the image size / width while preseving the aspect ratio",o.i18n)},imageWidthCrop:{video:"dist/videos/help/image-width-crop.mp4",title:(0,u.__)("Image width",o.i18n),description:(0,u.__)("Adjusts the image width",o.i18n)},imageHeightCrop:{video:"dist/videos/help/image-height-crop.mp4",title:(0,u.__)("Image height",o.i18n),description:(0,u.__)("Adjusts the image height",o.i18n)},imageSquare:{video:"dist/videos/help/image-square.mp4",title:(0,u.__)("Force Square Image",o.i18n),description:(0,u.__)("Crops image into a square",o.i18n)},imageBorderRadius:{video:"dist/videos/help/image-border-radius.mp4",title:(0,u.__)("Border radius (of image)",o.i18n),description:(0,u.__)("Adjusts the radius of image corners to make them more rounded",o.i18n)},imageShadow:{video:"dist/videos/help/image-shadow.mp4",title:(0,u.__)("Shadow (of image)",o.i18n),description:(0,u.__)("Adjusts the intensity of the image shadow",o.i18n)},typography:{video:me,title:(0,u.__)("Typography",o.i18n),description:(0,u.__)("Change the font family, size, weight and spacing of the font of this text",o.i18n)},typographyFamily:{video:me,title:(0,u.__)("Font family",o.i18n),description:(0,u.__)("Sets the font set to be used for the element",o.i18n)},typographySize:{video:"dist/videos/help/typography-size.mp4",title:(0,u.__)("Font size",o.i18n),description:(0,u.__)("Sets the size of text characters",o.i18n)},typographyWeight:{video:"dist/videos/help/typography-weight.mp4",title:(0,u.__)("Font weight",o.i18n),description:(0,u.__)("Sets the thinness or thickness of text characters",o.i18n)},typographyTransform:{video:"dist/videos/help/typography-transform.mp4",title:(0,u.__)("Transform",o.i18n),description:(0,u.__)("Sets the usage of upper or lower case",o.i18n)},typographyLineHeight:{video:"dist/videos/help/typography-line-height.mp4",title:(0,u.__)("Line height",o.i18n),description:(0,u.__)("Sets the vertical distance between lines of text",o.i18n)},typographyLetterSpacing:{video:"dist/videos/help/typography-letter-spacing.mp4",title:(0,u.__)("Letter spacing",o.i18n),description:(0,u.__)("Sets the distance or space between letters",o.i18n)},alignmentImage:{video:be,title:(0,u.__)("Image alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the image to align left, center or right",o.i18n)},alignmentNumber:{video:be,title:(0,u.__)("Number alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the number to align left, center or right",o.i18n)},alignmentIcon:{video:be,title:(0,u.__)("Icon alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the icon to align left, center or right",o.i18n)},alignmentTitle:{video:ge,title:(0,u.__)("Title / subtitle alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the title or subtitle to align left, center or right",o.i18n)},alignmentName:{video:ge,title:(0,u.__)("Name / position alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the name or position to align left, center or right",o.i18n)},alignmentDescription:{video:"dist/videos/help/alignment-description.mp4",title:(0,u.__)("Description / text alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the text to align left, center or right",o.i18n)},alignmentButton:{video:"dist/videos/help/alignment-button.mp4",title:(0,u.__)("Button / link alignment",o.i18n),description:(0,u.__)("Adjusts the placement of the button or link to align left, center or right",o.i18n)},buttonPadding:{video:"dist/videos/help/button-padding.mp4",title:(0,u.__)("Button padding",o.i18n),description:(0,u.__)("Adjusts the space between the button text and button borders",o.i18n)},buttonVerticalPadding:{video:"dist/videos/help/button-vertical-padding.mp4",title:(0,u.__)("Button vertical padding",o.i18n),description:(0,u.__)("Adjusts the space between the button text and button's top and bottom borders",o.i18n)},buttonHorizontalPadding:{video:"dist/videos/help/button-horizontal-padding.mp4",title:(0,u.__)("Button horizontal padding",o.i18n),description:(0,u.__)("Adjusts the space between the button text and button's side borders",o.i18n)},buttonSize:{video:"dist/videos/help/button-size.mp4",title:(0,u.__)("Button size",o.i18n),description:(0,u.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",o.i18n)},buttonHoverEffect:{video:"dist/videos/help/button-hover-effect.mp4",title:(0,u.__)("Hover effect",o.i18n),description:(0,u.__)("Triggers animation or effects when you mouse over",o.i18n)},buttonHoverOpacity:{video:"dist/videos/help/button-hover-opacity.mp4",title:(0,u.__)("Hover opacity",o.i18n),description:(0,u.__)("Adjusts the transparency of the button when you mouse over",o.i18n)},buttonHoverColor:{video:"dist/videos/help/button-hover-color.mp4",title:(0,u.__)("Hover colors",o.i18n),description:(0,u.__)("Triggers a change in color when you mouse over",o.i18n)},buttonShadow:{video:"dist/videos/help/button-shadow.mp4",title:(0,u.__)("Button shadow",o.i18n),description:(0,u.__)("Adjusts the intensity of the button shadow",o.i18n)},buttonBorderRadius:{video:"dist/videos/help/button-border-radius.mp4",title:(0,u.__)("Button border radius",o.i18n),description:(0,u.__)("Adjusts the radius of button corners to make them more rounded",o.i18n)},buttonColorType:{video:"dist/videos/help/button-color-type.mp4",title:(0,u.__)("Button color type",o.i18n),description:(0,u.__)("Sets the button color type to single or gradient",o.i18n)},buttonToNormal:{video:"dist/videos/help/button-to-normal.mp4",title:(0,u.__)("Change to normal button on hover",o.i18n),description:(0,u.__)("Triggers change from ghost to normal button when you mouse over",o.i18n)},buttonCollapse:{video:"dist/videos/help/button-collapse.mp4",title:(0,u.__)("Collapse buttons on",o.i18n),description:(0,u.__)("Sets when buttons will be triggered to arrange vertically",o.i18n)},spacing:{video:"dist/videos/help/spacing.mp4",title:(0,u.__)("Spacing",o.i18n),description:(0,u.__)("Adjusts the space between block elements",o.i18n)},spacingBlockTitle:{video:"dist/videos/help/spacing-block-title.mp4",title:(0,u.__)("Block title spacing",o.i18n),description:(0,u.__)("Adjusts the space below the block title",o.i18n)},spacingBlockDescription:{video:"dist/videos/help/spacing-block-description.mp4",title:(0,u.__)("Block description spacing",o.i18n),description:(0,u.__)("Adjusts the space below the block description",o.i18n)},spacingImage:{video:pe,title:(0,u.__)("Image spacing",o.i18n),description:(0,u.__)("Adjusts the space below the image",o.i18n)},spacingNumber:{video:pe,title:(0,u.__)("Number spacing",o.i18n),description:(0,u.__)("Adjusts the space below the number",o.i18n)},spacingIcon:{video:pe,title:(0,u.__)("Icon spacing",o.i18n),description:(0,u.__)("Adjusts the space below the icon",o.i18n)},spacingTitle:{video:he,title:(0,u.__)("Title spacing",o.i18n),description:(0,u.__)("Adjusts the space below the title",o.i18n)},spacingName:{video:he,title:(0,u.__)("Name / position spacing",o.i18n),description:(0,u.__)("Adjusts the space below the name / position",o.i18n)},spacingDescription:{video:"dist/videos/help/spacing-description.mp4",title:(0,u.__)("Description Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the description",o.i18n)},spacingButton:{video:"dist/videos/help/spacing-button.mp4",title:(0,u.__)("Button spacing",o.i18n),description:(0,u.__)("Adjusts the space beloe the button",o.i18n)},spacingButtonGap:{video:"dist/videos/help/spacing-button-gap.mp4",title:(0,u.__)("Button spacing gap",o.i18n),description:(0,u.__)("Adjusts the gap between the buttons",o.i18n)},hoverEffect:{video:"dist/videos/help/hover-effect.mp4",title:(0,u.__)("Hover effect",o.i18n),description:(0,u.__)("Triggers animation or effects when you mouse over",o.i18n)},backgroundOnOff:{video:"dist/videos/help/background-on-off.mp4",title:(0,u.__)("Background Toggle On/Off",o.i18n),description:(0,u.__)("Turns the block background on/off. Turn on to enable different background settings.",o.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:"dist/videos/help/background-color-opacity.mp4",title:(0,u.__)("Background Color Opacity",o.i18n),description:(0,u.__)("Adjusts the transparency of the background color",o.i18n)},backgroundTint:{video:"dist/videos/help/background-tint.mp4",title:(0,u.__)("Background Media Tint Strength",o.i18n),description:(0,u.__)("Adjusts the intensity of the background media tint",o.i18n)},backgroundColorType:{video:"dist/videos/help/background-color-type.mp4",title:(0,u.__)("Color type",o.i18n),description:(0,u.__)("Sets the color to either a single color or a gradient",o.i18n)},backgroundFixed:{video:"dist/videos/help/background-fixed.mp4",title:(0,u.__)("Fixed Background",o.i18n),description:(0,u.__)("Keeps the background image fixed in place while scrolling",o.i18n)},gradientDirection:{video:"dist/videos/help/gradient-direction.mp4",title:(0,u.__)("Gradient direction",o.i18n),description:(0,u.__)("Sets the direction (in degrees) of the colors",o.i18n)},gradientLocation:{video:"dist/videos/help/gradient-location.mp4",title:(0,u.__)("Gradient Color location",o.i18n),description:(0,u.__)("Sets the placement of each color in relation to the other color",o.i18n)},backgroundImagePosition:{video:"dist/videos/help/background-image-position.mp4",title:(0,u.__)("Image Position",o.i18n),description:(0,u.__)("Chooses which part of the background image will be the focal point",o.i18n)},backgroundImageRepeat:{video:"dist/videos/help/background-image-repeat.mp4",title:(0,u.__)("Image Repeat",o.i18n),description:(0,u.__)("Covers the background with tiled images",o.i18n)},backgroundImageSize:{video:"dist/videos/help/background-image-size.mp4",title:(0,u.__)("Image Size",o.i18n),description:(0,u.__)("Sets the display image size",o.i18n)},backgroundBlendMode:{video:"dist/videos/help/background-blend-mode.mp4",title:(0,u.__)("Image Blend Mode",o.i18n),description:(0,u.__)("Sets how this background gradient/image blends into the other background",o.i18n)},separatorTopOn:{video:"dist/videos/help/separator-top-on.mp4",title:(0,u.__)("Separator Top On and Off",o.i18n),description:(0,u.__)("Turns the top separator on/off. Turn on to enable different separator settings.",o.i18n)},separatorBottomOn:{video:"dist/videos/help/separator-bottom-on.mp4",title:(0,u.__)("Separator Bottom On and Off",o.i18n),description:(0,u.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",o.i18n)},separatorHeight:{video:"dist/videos/help/separator-height.mp4",title:(0,u.__)("Separator height",o.i18n),description:(0,u.__)("Adjusts the height of the separator to stretch or compress vertically",o.i18n)},separatorWidth:{video:"dist/videos/help/separator-width.mp4",title:(0,u.__)("Separator width",o.i18n),description:(0,u.__)("Adusts the width of the separator to stretch or compress horizantally",o.i18n)},separatorShadow:{video:"dist/videos/help/separator-shadow.mp4",title:(0,u.__)("Shadow",o.i18n),description:(0,u.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",o.i18n)},separatorBringToFront:{video:"dist/videos/help/separator-bring-to-front.mp4",title:(0,u.__)("Bring to Front",o.i18n),description:(0,u.__)("Brings the separator layer in front of other block elements",o.i18n)},separatorLayer2:{video:"dist/videos/help/separator-layer2.mp4",title:(0,u.__)("Layer 2",o.i18n),description:(0,u.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",o.i18n)},separatorLayer3:{video:"dist/videos/help/separator-layer3.mp4",title:(0,u.__)("Layer 3",o.i18n),description:(0,u.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",o.i18n)},separatorLayerOpacity:{video:"dist/videos/help/separator-layer-opacity.mp4",title:(0,u.__)("Layer Opacity",o.i18n),description:(0,u.__)("Adjusts the transparency of the separator layer",o.i18n)},separatorLayerBlendMode:{video:"dist/videos/help/separator-layer-blend-mode.mp4",title:(0,u.__)("Layer blend mode",o.i18n),description:(0,u.__)("Sets how the sepator layer is blended into the background",o.i18n)},advancedOpacity:{video:"dist/videos/help/advanced-opacity.mp4",title:(0,u.__)("Opacity",o.i18n),description:(0,u.__)("Adjusts the transparency of the entire block",o.i18n)},advancedZindex:{video:"dist/videos/help/advanced-zindex.mp4",title:(0,u.__)("Z-Index",o.i18n),description:(0,u.__)("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.",o.i18n)},advancedBlockSpacing:{video:ve,title:(0,u.__)("Block Spacing",o.i18n),description:(0,u.__)("Set margins, paddings and alignment of the block and its content",o.i18n)},advancedBlockMargins:{video:ve,title:(0,u.__)("Block Margins",o.i18n),description:(0,u.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",o.i18n)},advancedBlockPaddings:{video:"dist/videos/help/advanced-block-paddings.mp4",title:(0,u.__)("Block Padding",o.i18n),description:(0,u.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",o.i18n)},advancedBlockHeight:{video:"dist/videos/help/advanced-block-height.mp4",title:(0,u.__)("Min Block Height",o.i18n),description:(0,u.__)("Adjusts the minimum allowable height of the block",o.i18n)},advancedBlockVerticalAlign:{video:"dist/videos/help/advanced-block-vertical-align.mp4",title:(0,u.__)("Content Vertical Align",o.i18n),description:(0,u.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",o.i18n)},advancedBlockContentWidth:{video:"dist/videos/help/advanced-block-content-width.mp4",title:(0,u.__)("Max Content Width",o.i18n),description:(0,u.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",o.i18n)},advancedBlockHorizontalAlign:{video:"dist/videos/help/advanced-block-horizontal-align.mp4",title:(0,u.__)("Content Horizontal Align",o.i18n),description:(0,u.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",o.i18n)},advancedColumnSpacing:{video:ke,title:(0,u.__)("Column Spacing & More",o.i18n),description:(0,u.__)("Sets column paddings, the space inside the block between the block elements and the column container border",o.i18n)},advancedColumnPaddings:{video:ke,title:(0,u.__)("Column Paddings",o.i18n),description:(0,u.__)("Sets the column padding, the space inside the block between the block elements and the column container border",o.i18n)},advancedColumnGap:{video:"dist/videos/help/advanced-column-gap.mp4",title:(0,u.__)("Column Gap",o.i18n),description:(0,u.__)("Sets the distance between two or more columns",o.i18n)},advancedColumnColumnVerticalAlign:{video:"dist/videos/help/advanced-column-column-vertical-align.mp4",title:(0,u.__)("Column Vertical Align",o.i18n),description:(0,u.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",o.i18n)},advancedColumnHeight:{video:"dist/videos/help/advanced-column-height.mp4",title:(0,u.__)("Min Column Height",o.i18n),description:(0,u.__)("Adjusts the minimum allowable height of the column container",o.i18n)},advancedColumnContentVerticalAlign:{video:"dist/videos/help/advanced-column-content-vertical-align.mp4",title:(0,u.__)("Content Vertical Align",o.i18n),description:(0,u.__)("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.",o.i18n)},accordionAdjacentOpen:{video:"dist/videos/help/accordion-adjacent-open.mp4",title:(0,u.__)("Close adjacent on open",o.i18n),description:(0,u.__)("Automatically closes adjacent accordion panels when clicked",o.i18n)},accordionClosedStateBackgroundColor:{video:"dist/videos/help/accordion-closed-state-background-color.mp4",title:(0,u.__)("Closed state Background Color",o.i18n),description:(0,u.__)("Sets color of the panel when closed",o.i18n)},accordionPadding:{video:"dist/videos/help/accordion-padding.mp4",title:(0,u.__)("Accordion Padding",o.i18n),description:(0,u.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",o.i18n)},accordionTitleSpacing:{video:"dist/videos/help/accordion-title-spacing.mp4",title:(0,u.__)("Accordion Title Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the title",o.i18n)},accordionBorder:{video:fe,title:(0,u.__)("Border",o.i18n),description:(0,u.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",o.i18n)},accordionBorderSize:{video:fe,title:(0,u.__)("Border Size",o.i18n),description:(0,u.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",o.i18n)},imageColumnWidth:{video:"dist/videos/help/image-column-width.mp4",title:(0,u.__)("Image Column Width",o.i18n),description:(0,u.__)("Adjusts the width of the image",o.i18n)},featureContainerWidth:{video:"dist/videos/help/feature-container-width.mp4",title:(0,u.__)("Container Width",o.i18n),description:(0,u.__)("Adjusts the width of the text and button container",o.i18n)},featureContainerOffset:{video:"dist/videos/help/feature-container-offset.mp4",title:(0,u.__)("Container Offset",o.i18n),description:(0,u.__)("Adjusts the relative arrangement of the image and the text and button container",o.i18n)},iconListGrid:{video:"dist/videos/help/icon-list-grid.mp4",title:(0,u.__)("Display as a grid",o.i18n),description:(0,u.__)("Displays the list in an evenly-spaced grid arrangement",o.i18n)},iconListGap:{video:"dist/videos/help/icon-list-gap.mp4",title:(0,u.__)("List Gap",o.i18n),description:(0,u.__)("Adjusts the space between different list lines",o.i18n)},imageBoxHeight:{video:"dist/videos/help/image-box-height.mp4",title:(0,u.__)("Height",o.i18n),description:(0,u.__)("Adjusts the height of the image box",o.i18n)},notificationDismissible:{video:"dist/videos/help/notification-dismissible.mp4",title:(0,u.__)("Dismissible",o.i18n),description:(0,u.__)("Provides option to close the notification",o.i18n)},postsContentOrder:{video:"dist/videos/help/posts-content-order.mp4",title:(0,u.__)("Content Order",o.i18n),description:(0,u.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",o.i18n)},postsMetaSeparator:{video:"dist/videos/help/posts-meta-separator.mp4",title:(0,u.__)("Meta Separator",o.i18n),description:(0,u.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",o.i18n)},dividerMargin:{video:"dist/videos/help/divider-margin.mp4",title:(0,u.__)("Vertical Margin",o.i18n),description:(0,u.__)("Adjusts the space between the divider and the vertically adjacent blocks",o.i18n)},pricingImageAlign:{video:"dist/videos/help/pricing-image-align.mp4",title:(0,u.__)("Image Align",o.i18n),description:(0,u.__)("Adjusts the placement of the image to align left, center or right",o.i18n)},pricingTitleAlign:{video:"dist/videos/help/pricing-title-align.mp4",title:(0,u.__)("Title Align",o.i18n),description:(0,u.__)("Adjusts the placement of the title to align left, center or right",o.i18n)},pricingPriceAlign:{video:"dist/videos/help/pricing-price-align.mp4",title:(0,u.__)("Price Align",o.i18n),description:(0,u.__)("Adjusts the placement of the price to align left, center or right",o.i18n)},pricingSubpriceAlign:{video:"dist/videos/help/pricing-subprice-align.mp4",title:(0,u.__)("Sub Price Align",o.i18n),description:(0,u.__)("Adjusts the placement of the subtitle to align left, center or right",o.i18n)},pricingButtonAlign:{video:"dist/videos/help/pricing-button-align.mp4",title:(0,u.__)("Button Align",o.i18n),description:(0,u.__)("Adjusts the placement of the button to align left, center or right",o.i18n)},pricingDescriptionAlign:{video:"dist/videos/help/pricing-description-align.mp4",title:(0,u.__)("Description Align",o.i18n),description:(0,u.__)("Adjusts the placement of the description to align left, center or right",o.i18n)},pricingImageSpacing:{video:"dist/videos/help/pricing-image-spacing.mp4",title:(0,u.__)("Image Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the image",o.i18n)},pricingTitleSpacing:{video:"dist/videos/help/pricing-title-spacing.mp4",title:(0,u.__)("Title Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the title",o.i18n)},pricingPriceSpacing:{video:"dist/videos/help/pricing-price-spacing.mp4",title:(0,u.__)("Price Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the price",o.i18n)},pricingSubpriceSpacing:{video:"dist/videos/help/pricing-subprice-spacing.mp4",title:(0,u.__)("Sub Price Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the subtitle",o.i18n)},pricingButtonSpacing:{video:"dist/videos/help/pricing-button-spacing.mp4",title:(0,u.__)("Button Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the button",o.i18n)},pricingDescriptionSpacing:{video:"dist/videos/help/pricing-description-spacing.mp4",title:(0,u.__)("Description Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the description",o.i18n)},imageBoxOverlay:{video:"dist/videos/help/image-box-overlay.mp4",title:(0,u.__)("Overlay Color",o.i18n),description:(0,u.__)("Sets the overlay color of all image boxes",o.i18n)},imageBoxOverlayHover:{video:"dist/videos/help/image-box-overlay-hover.mp4",title:(0,u.__)("Overlay Hover Color",o.i18n),description:(0,u.__)("Triggers change in overlay color when you mouse over",o.i18n)},imageBoxHoverEffect:{video:"dist/videos/help/image-box-hover-effect.mp4",title:(0,u.__)("Image Hover Effect",o.i18n),description:(0,u.__)("Sets an effect that animates the image",o.i18n)},imageBoxBoxHoverEffect:{video:"dist/videos/help/image-box-box-hover-effect.mp4",title:(0,u.__)("Box Hover Effect",o.i18n),description:(0,u.__)("Sets an effect that animates the container of the image",o.i18n)},imageBoxSubtitleSpacing:{video:"dist/videos/help/image-box-subtitle-spacing.mp4",title:(0,u.__)("Subtitle Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the subtitle",o.i18n)},imageBoxTitleSpacing:{video:"dist/videos/help/image-box-title-spacing.mp4",title:(0,u.__)("Title Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the title",o.i18n)},imageBoxLineSpacing:{video:"dist/videos/help/image-box-line-spacing.mp4",title:(0,u.__)("Line Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the line",o.i18n)},imageBoxDescriptionSpacing:{video:"dist/videos/help/image-box-description-spacing.mp4",title:(0,u.__)("Description Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the description",o.i18n)},imageBoxArrowSpacing:{video:"dist/videos/help/image-box-arrow-spacing.mp4",title:(0,u.__)("Arrow Spacing",o.i18n),description:(0,u.__)("Adjusts the space below the arrow",o.i18n)},imageBoxSubtitleAlign:{video:"dist/videos/help/image-box-subtitle-align.mp4",title:(0,u.__)("Subtitle Align",o.i18n),description:(0,u.__)("Adjusts the placement of the subtitle to align left, center or right",o.i18n)},imageBoxTitleAlign:{video:"dist/videos/help/image-box-title-align.mp4",title:(0,u.__)("Title Align",o.i18n),description:(0,u.__)("Adjusts the placement of the title to align left, center or right",o.i18n)},imageBoxDescriptionAlign:{video:"dist/videos/help/image-box-description-align.mp4",title:(0,u.__)("Description Align",o.i18n),description:(0,u.__)("Adjusts the placement of the description to align left, center or right",o.i18n)},imageBoxArrowAlign:{video:"dist/videos/help/image-box-arrow-align.mp4",title:(0,u.__)("Arrow Align",o.i18n),description:(0,u.__)("Adjusts the placement of the arrow to align left, center or right",o.i18n)},videoPopupWidth:{video:"dist/videos/help/video-popup-width.mp4",title:(0,u.__)("Video popup width",o.i18n),description:(0,u.__)("Adjusts the width of the video popup container",o.i18n)},videoPopupHeight:{video:"dist/videos/help/video-popup-height.mp4",title:(0,u.__)("Video popup height",o.i18n),description:(0,u.__)("Adjusts the height of the video popup container",o.i18n)},containerImageWidth:{video:"dist/videos/help/container-image-width.mp4",title:(0,u.__)("Image width",o.i18n),description:(0,u.__)("Adjusts the image width",o.i18n)},containerImageHeight:{video:"dist/videos/help/container-image-height.mp4",title:(0,u.__)("Image height",o.i18n),description:(0,u.__)("Adjusts the image height",o.i18n)},columnRowGap:{video:"dist/videos/help/column-row-gap.mp4",title:(0,u.__)("Row gap",o.i18n),description:(0,u.__)("Adjusts the vertical row gap between columns",o.i18n)},noPadding:{video:"dist/videos/help/no-padding.mp4",title:(0,u.__)("No paddings",o.i18n),description:(0,u.__)("Removes all outer paddings of the block",o.i18n)},columnWidth:{video:"dist/videos/help/column-width.mp4",title:(0,u.__)("Column widths",o.i18n),description:(0,u.__)("Adjust the individual widths of each column",o.i18n)},columnArrangement:{video:"dist/videos/help/column-arrangement.mp4",title:(0,u.__)("Column arrangement",o.i18n),description:(0,u.__)("Rearrange and move columns around by dragging each handle",o.i18n)}},Ce=e=>{const{getAnchorRect:t,title:a,videoUrl:l,description:i,learnMoreUrl:s,learnMore:c}=e,d=(0,n.useRef)();return(0,n.useEffect)((()=>{const{current:e}=d;e.muted=!0,e&&!e.playing&&e.play()}),[]),(0,n.useEffect)((()=>{window.dispatchEvent(new window.Event("resize"))}),[e.videoUrl]),(0,n.createElement)(r.Popover,{title:a,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},(0,n.createElement)(r.PanelBody,null,(0,n.createElement)("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},(0,n.createElement)(r.Dashicon,{icon:"no"})),l&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("video",{ref:d,width:"600",autoPlay:!0,loop:!0,muted:!0,playsinline:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:l}),(!d.current||!d.current.playing)&&(0,n.createElement)(r.Spinner,null)),(0,n.createElement)("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},a&&(0,n.createElement)("h4",null,a),i,s&&(0,n.createElement)("div",{className:"ugb-help-tooltip-video__link"},(0,n.createElement)("a",{href:s,target:"_learn"},c," ",(0,n.createElement)(r.Dashicon,{icon:"external"}))),(0,n.createElement)(r.CheckboxControl,{label:(0,u.__)("Stop showing tooltips",o.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:t=>e.onTooltipsEnabledChange(!t)}))))};Ce.defaultProps={onClickClose:()=>{},getAnchorRect:null,title:(0,u.__)("Help",o.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:(0,u.__)("Learn more",o.i18n),tooltipsEnabled:!0,onTooltipsEnabledChange:()=>{}};const _e=Ce;let Ee=null;const xe={},we={},Se={},Be=e=>e.closest('[class*="ugb--help-tip-"]');let Te,Ae={show:!1,controlEl:null,target:null};const ze=(e,t)=>{Te=setTimeout((()=>{Me(e,t)}),1500)},Ne=()=>{Te&&clearTimeout(Te),Te=null},Me=(e,t)=>{Ae={...Ae,show:!0,controlEl:t,target:e},(0,F.doAction)("stackable.help-video.show",e)},Ie=()=>{Ae.show=!1,(0,F.doAction)("stackable.help-video.hide")},He=()=>{!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};xe[e]=a=>{const n=a.target.closest(e);n&&Ee!==n&&(Ee=n,t(n))},we[e]=t=>{const n=t.target.closest(e);t.relatedTarget&&n===t.relatedTarget.closest(e)||n&&Ee===n&&(a(Ee),Ee=null)},document.body.addEventListener("mouseover",xe[e]),document.body.addEventListener("mouseout",we[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(", "),(e=>(0,F.doAction)("stackable.help-video.control.hover.in",e,Be(e))),(()=>(0,F.doAction)("stackable.help-video.control.hover.out"))),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};Se[e]=a=>{const n=a.target.closest(e);n&&t(n)},document.body.addEventListener("click",Se[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),(e=>(0,F.doAction)("stackable.help-video.control.click",e,Be(e)))),document.body.classList.add("ugb--help-tips-enabled"),(0,F.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",ze),(0,F.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",Ne),(0,F.addAction)("stackable.help-video.control.click","stackable/help/click",((e,t)=>{if(!Ae.show)return Me(e,t);e===Ae.target?Ie():Me(e,t)})),document.body.addEventListener("click",(e=>{Ae.show&&(e.target.closest(".ugb-help-tooltip-video")||Be(e.target)===Ae.controlEl||Ie())}))},Ue=e=>`${o.cdnUrl}/${e}`,Re=e=>{const[t,a]=(0,n.useState)(null),[l,i]=(0,n.useState)(!1),[o,r]=(0,n.useState)(""),[s,c]=(0,n.useState)(!1),u=e=>{document.activeElement&&document.activeElement.blur();const t="string"!=typeof e&&e,n=e&&"string"!=typeof e?(l=e)&&l.closest('[class*="ugb--help-tip-"]')&&(0,h.camelCase)((l.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;var l;a(t),r(n),i(!0)},d=()=>{i(!1);const e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()};if((0,n.useEffect)((()=>(v.loadPromise.then((()=>{(new v.models.Settings).fetch().then((e=>{c(!e.stackable_help_tooltip_disabled)}))})),(0,F.addAction)("stackable.help-video.show","stackable/help",u),(0,F.addAction)("stackable.help-video.hide","stackable/help",d),()=>{(0,F.removeAction)("stackable.help-video.show","stackable/help"),(0,F.removeAction)("stackable.help-video.hide","stackable/help")})),[]),(0,n.useEffect)((()=>{var e;s?He():(document.body.classList.remove("ugb--help-tips-enabled"),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",xe[e]),document.body.removeEventListener("mouseout",we[e]),(e=>{document.body.removeEventListener("click",Se[e])})(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", ")),(0,F.removeAction)("stackable.help-video.control.hover.in","stackable/help/hoverin"),(0,F.removeAction)("stackable.help-video.control.hover.out","stackable/help/hoverout"),(0,F.removeAction)("stackable.help-video.control.click","stackable/help/click"))}),[s]),!l)return null;if(void 0===e.tooltipData[o])return null;const{title:m,video:b,description:g,learnMore:p}=e.tooltipData[o];return(0,n.createElement)(_e,{onClickClose:d,getAnchorRect:()=>{if(!t)return{};const e=t.getBoundingClientRect(),a=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar");if(a){const t=a.getBoundingClientRect();e.x=t.x,e.width=t.width}return e},title:m,description:g,videoUrl:Ue(b),learnMoreUrl:p,tooltipsEnabled:s,onTooltipsEnabledChange:e=>{(e=>{new v.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save()})(e),c(e)}})};Re.defaultProps={tooltipData:ye};const Le=Re;var Pe=a(6179),Fe=a.n(Pe);let Oe=!1;const De=(0,le.createHigherOrderComponent)((e=>t=>{const{isSelected:a,name:i}=t,[o,r]=(0,n.useState)(!1),[s,c]=(0,n.useState)(null);return(0,n.useEffect)((()=>(a&&i.match(/^ugb\//)&&!o&&!Oe&&c(setTimeout((()=>{Oe||(Oe=!0,c(null),r(!0))}),1e3)),function(){s&&clearTimeout(s)})),[o,a]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(e,t),o&&(0,n.createElement)(l.lD,{onRequestClose:()=>{r(!1),Fe()({path:"/stackable/v2/welcome_video_closed",method:"POST"})}}))}),"withWelcomeTutorialModal");(0,d.Z)((()=>{if(!Element.prototype.closest)return;const e=document.createElement("DIV");document.querySelector("body").appendChild(e),(0,n.render)((0,n.createElement)(Le,null),e)})),o.displayWelcomeVideo&&(0,F.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",De),(0,F.addFilter)("stackable.color-palette-control.change","stackable/compatibility/kadence",((e,t)=>"kadence"!==o.currentTheme?e:t&&t.slug.match(/^theme-palette\d+/)?t.slug.replace(/^[\w-]*(\d+)/,`var(--global-palette$1, ${e})`):e));const Ze={"stackable/icon-button":"stackable/button-group|icon-button","stackable/button":"stackable/button-group|button"},Ve=e=>{var t;return null==e||null===(t=e.find((e=>{let{isDefault:t}=e;return t})))||void 0===t?void 0:t.name};var qe;(0,F.addFilter)("stackable.block.metadata","stackable/disabled-blocks",(e=>{let t=!o.settings.stackable_disabled_blocks.includes(e.name);Ze[e.name]&&o.settings.stackable_disabled_blocks.includes(Ze[e.name])&&(t=!1);const a=(n=o.settings.stackable_disabled_blocks,l=e.name,n.filter((e=>e.startsWith(`${l}|`))).map((e=>e.split("|")[1])));var n,l;let i=e.variations||[];if(a.length){const n=!!Ve(e.variations);i=i.filter((e=>!a.includes(e.name))),i.length&&n&&!Ve(i)&&(i[0].isDefault=!0),i.length||"hidden"===e["stk-type"]&&(t=!1)}return e.variations=i,void 0===e.supports&&(e.supports={}),e.supports.inserter=t,e})),(0,te.registerBlockCollection)("stackable",{title:(0,u.__)("Stackable",o.i18n),icon:Y.C$}),(qe=a(3032)).keys().forEach((e=>{const{settings:t}=qe(e);if(!t)return;const{name:a}=t;t.title=(0,u.__)(t.title,o.i18n),t.description&&(t.description=(0,u.__)(t.description,o.i18n)),t.keywords&&(t.keywords=t.keywords.map((e=>(0,u.__)(e,o.i18n)))),(0,te.getBlockType)(a)||(0,te.registerBlockType)(a,(0,F.applyFilters)(`stackable.${a}.settings`,t))}))},9273:(e,t,a)=>{"use strict";a.d(t,{Z:()=>_});var n=a(7462),l=a(2610);a(7294);const i=function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))},o=function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))},r=function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))};var s=a(2440),c=a(9188),u=a(5509),d=a(5917),m=a(4184),b=a.n(m),g=a(8085),p=a(7537),h=a(910),v=a(8003);const k=[{value:"flex-start",title:(0,v.__)("Align Left",h.i18n),icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))}),null)},{value:"center",title:(0,v.__)("Align Center",h.i18n),icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))}),null)},{value:"flex-end",title:(0,v.__)("Align Right",h.i18n),icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))}),null)}],f=[{value:"flex-start",title:(0,v.__)("Align Top",h.i18n),icon:(0,l.createElement)(o,null)},{value:"center",title:(0,v.__)("Align Center",h.i18n),icon:(0,l.createElement)(r,null)},{value:"flex-end",title:(0,v.__)("Align Bottom",h.i18n),icon:(0,l.createElement)(i,null)},{value:"stretch",title:(0,v.__)("Stretch",h.i18n),icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,l.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"}))}),null)}],y={"flex-horizontal":k,"flex-vertical":[{value:"flex-start",title:(0,v.__)("Align Top",h.i18n),icon:(0,l.createElement)(o,null)},{value:"center",title:(0,v.__)("Align Center",h.i18n),icon:(0,l.createElement)(r,null)},{value:"flex-end",title:(0,v.__)("Align Bottom",h.i18n),icon:(0,l.createElement)(i,null)}],"flex-vertical-with-stretch":f},C=e=>{const[t,a]=(0,u.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[i,o]=(0,c.ED)(e),{className:r="",controls:m,fullwidth:h,multiline:v,isToggleOnly:k}=i,f="string"==typeof m?y[m]:m,C=b()({"ugb-toolbar--full-width":h,"ugb-toolbar--multiline":v,"ugb-toolbar--small":e.isSmall}),_=void 0===e.value?t:e.value,E=void 0===e.onChange?a:e.onChange;return(0,l.createElement)(c.ZP,(0,n.Z)({},o,{className:b()("ugb-advanced-toolbar-control",r,o.className)}),(0,l.createElement)(p.ButtonGroup,{children:f.map(((t,a)=>{const i={...(0,g.omit)(t,"controls","show"),onClick:()=>{k&&t.value===_||E(t.value!==_?t.value:"")},isPrimary:_===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||(0,l.createElement)("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)};return(0,l.createElement)(s.Z,(0,n.Z)({key:a},i))})),className:C}),(0,l.createElement)(d.J,{allowReset:e.allowReset,value:_,default:e.default,onChange:E}))};C.defaultProps={controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const _=C},5509:(e,t,a)=>{"use strict";a.d(t,{G:()=>r});var n=a(6869),l=a(2610),i=a(78),o=a(3284);const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;const{clientId:c}=(0,i.useBlockEditContext)(),{updateBlockAttributes:u}=(0,o.useDispatch)("core/block-editor"),d=(0,n.kX)(c),m=(0,n.Uj)(e,t,a),b=d?d[m]:"";let g=d?d[m]:"";r&&(g=r(g));const p=(0,l.useCallback)((e=>{const t=s?s(e,b):e;u(c,{[m]:t})}),[c,m,s,b,u]);return[g,p]}},9188:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>x,ED:()=>w});var n=a(7462),l=a(2610),i=a(6500),o=a(2046);a(7294);const r=function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,l.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M9.8 15.8c-.3 0-.6-.2-.7-.5l-3.8-9c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l9 3.8c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-3.6 1.2-1.2 3.6c-.1.2-.4.4-.7.5zM7.4 7.4l2.3 5.5.7-2c.1-.2.2-.4.5-.5l2-.7-5.5-2.3z"}),(0,l.createElement)("path",{className:"state-parent-hover_svg__st0",d:"M6.4 12.8H2.2V2.2h11.5v4.5l1.5.6V1.5c0-.4-.3-.8-.8-.8h-13c-.4 0-.8.3-.8.8v12c0 .4.3.8.8.8H7l-.6-1.5z"}))};var s=a(6869),c=a(910),u=a(8003);const d=[{label:(0,u.__)("Normal",c.i18n),value:"normal",icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,l.createElement)("path",{className:"state-normal_svg__st0",d:"M7 14.8c-.3 0-.6-.2-.7-.5l-5-12c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l12 5c.3.1.5.4.5.7 0 .3-.2.6-.5.7L9.4 9.4l-1.7 4.9c-.1.2-.4.4-.7.5zM3.4 3.4l3.5 8.5L8 8.6c.1-.2.2-.4.5-.5L11.8 7 3.4 3.4z"}))}),null)},{label:(0,u.__)("Hover",c.i18n),value:"hover",icon:(0,l.createElement)((function(e){return(0,l.createElement)("svg",(0,n.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,l.createElement)("path",{className:"state-hover_svg__st0",d:"M9.2 15.8c-.3 0-.6-.2-.7-.5l-4.2-10c-.1-.3 0-.6.2-.8.2-.2.5-.3.8-.2l10 4.2c.3.1.5.4.5.7 0 .3-.2.6-.5.7l-4 1.4-1.4 4c-.1.2-.4.4-.7.5zM6.4 6.4l2.7 6.5.8-2.5c.1-.2.2-.4.5-.5l2.5-.8-6.5-2.7z"}),(0,l.createElement)("path",{className:"state-hover_svg__st0",d:"M3.7 7.6C2.7 7.2 2 6.2 2 5c0-1.6 1.3-3 3-3 1.2 0 2.2.7 2.7 1.7l1.7.7C9.1 2.2 7.3.5 5 .5 2.5.5.5 2.5.5 5c0 2.3 1.7 4.1 3.9 4.4l-.7-1.8z"}))}),null)},{label:(0,u.__)("Parent Hovered",c.i18n),value:"parent-hovered",icon:(0,l.createElement)(r,null)},{label:(0,u.__)("Collapsed",c.i18n),value:"collapsed",icon:(0,l.createElement)(r,null)}],m=["normal","hover","parent-hovered","collapsed"],b=e=>{const[t,a,n,o,r,b]=(0,s.Ry)(),g=(0,l.useMemo)((()=>{const t="all"===e.hover?m:e.hover;return d.filter((e=>{let{value:a}=e;return!(!r&&"collapsed"===a&&!b)&&t.includes(a)})).map((e=>"parent-hovered"===e.value?{disabled:!o,tooltip:o?void 0:(0,l.createElement)("span",{className:"stk-tooltip__text"},(0,u.sprintf)("%s - %s",(0,u.__)("Parent Hovered",c.i18n),(0,u.__)("Add a Container Background to a parent block to enable this state.",c.i18n)),(0,l.createElement)("br",null),(0,l.createElement)("a",{href:"https://docs.wpstackable.com/article/465-how-to-style-the-different-block-hover-states?utm_source=wp-settings-global-settings&utm_campaign=learnmore&utm_medium=wp-dashboard",target:"_docs"},(0,u.__)("Learn more",c.i18n))),...e}:e))}),[e.hover,o]);return(0,l.createElement)(i.Z,{value:t,options:g,onChange:e=>a(e),buttonLabel:(0,u.__)("Hover State",c.i18n)})};b.defaultProps={hover:!1};const g=(0,l.memo)(b);var p=a(4184),h=a.n(p),v=a(8085),k=a(7537),f=a(78),y=a(3284);const C=["desktop","tablet","mobile"],_=e=>{var t,a,n;const r=h()(["stk-control",e.className]),s=!(null===(t=e.responsive)||void 0===t||!t.length),d=!(null===(a=e.hover)||void 0===a||!a.length),m=!(null===(n=e.units)||void 0===n||!n.length),b="all"===e.responsive?C:e.responsive,p=(0,l.useMemo)((()=>{var t;return e.units&&(null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e}))))}),[e.units])||[],v=h()(["stk-control-label"],{"stk-control-label--bold":e.boldLabel}),f=e.boldLabel?(0,l.createElement)("h3",null,e.label):e.label;return(0,l.createElement)(k.BaseControl,{help:e.help,className:r},(0,l.createElement)("div",{className:v},(0,l.createElement)("div",{className:"components-base-control__label"},f),(0,l.createElement)("div",{className:"stk-control-label__toggles"},s&&(0,l.createElement)(o.Z,{screens:b}),d&&(0,l.createElement)(g,{hover:e.hover})),(0,l.createElement)("div",{className:"stk-control-label__after"},m&&(0,l.createElement)(i.Z,{className:"stk-control-label__units",value:e.unit,options:p,onChange:t=>e.onChangeUnit(t),buttonLabel:(0,u.__)("Unit",c.i18n),hasLabels:!1,hasColors:!1,labelPosition:"left"}),e.after)),(0,l.createElement)("div",{className:"stk-control-content"},e.children))};_.defaultProps={className:"",label:"",help:"",boldLabel:!1,responsive:!1,hover:!1,units:!1,unit:"",onChangeUnit:null,after:null};const E=e=>{const{clientId:t}=(0,f.useBlockEditContext)(),{updateBlockAttributes:a}=(0,y.useDispatch)("core/block-editor"),i=(0,s.kX)(t),o=(0,s.Uj)(`${e.attribute}Unit`,e.responsive,e.hover),r=e.unit?e.unit:i?i[o]:"",c=(0,l.useCallback)((e=>a(t,{[o]:e})),[o]),u=(0,v.omit)(e,["attribute"]);return(0,l.createElement)(_,(0,n.Z)({},u,{unit:r,onChangeUnit:e.onChangeUnit||c}))};E.defaultProps={className:"",label:"",help:"",attribute:"",responsive:!1,hover:!1,units:!1,onChangeUnit:null,unit:null,after:null};const x=E,w=e=>{const t=[...Object.keys(E.defaultProps),"allowReset","screens"],a=(0,v.pick)(e,t);return e.screens&&(a.responsive=e.screens),[(0,v.omit)(e,t),a]}},5917:(e,t,a)=>{"use strict";a.d(t,{J:()=>c});var n=a(2610),l=a(2440),i=a(910),o=a(8003),r=a(7537);const s=(0,n.createElement)(r.Dashicon,{icon:"image-rotate"}),c=(0,n.memo)((e=>{const t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,a=(0,n.useCallback)((()=>{e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&(0,n.createElement)(l.Z,{className:"stk-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,o.__)("Reset",i.i18n),onClick:a,icon:s})}));c.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null}},2440:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(7462),l=a(2610),i=a(4184),o=a.n(i),r=a(7537);const s=(0,l.forwardRef)(((e,t)=>{const a=o()([e.className,"ugb-button-component"]);return(0,l.createElement)(r.Button,(0,n.Z)({},e,{className:a,ref:t}))}))},6500:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(2610),l=a(2440),i=a(4184),o=a.n(i),r=a(7537);const s=e=>{const{value:t,options:a}=e,[i,s]=(0,n.useState)(!1),[c,u]=(0,n.useState)(!1),d=(0,n.useRef)(null),m=(0,n.useMemo)((()=>e.options.findIndex((e=>e.value===t))/a.length*100),[a,t]),b=(0,n.useCallback)((e=>{var t;c&&((null===(t=e.target)||void 0===t?void 0:t.closest(".stk-label-unit-toggle"))!==d.current&&u(!1))}));if((0,n.useEffect)((()=>(document.body.addEventListener("click",b),()=>document.body.removeEventListener("click",b))),[b]),a.length<=1)return null;const g=o()([e.className,"stk-label-unit-toggle"],{"stk-label-unit-toggle__colored":e.hasColors});return(0,n.createElement)("div",{className:g,"aria-expanded":c,ref:d},(0,n.createElement)("div",{className:o()("stk-label-unit-toggle__wrapper",{"is-open":c}),style:{transform:`translateY(-${m}%)`}},a.length>1&&a.map(((a,o)=>{const d=a.label||a.value,m=c?e.hasLabels?d:"":e.buttonLabel||d;return(0,n.createElement)("div",{key:o,onMouseEnter:()=>{s(a.value)},onMouseLeave:()=>{s(!1)}},(0,n.createElement)(l.Z,{className:t===a.value?"is-active":"","data-index":o,"data-value":a.value,disabled:a.disabled,onClick:()=>{c?(e.onChange(a.value),u(!1)):u(!0)},icon:a.icon,showTooltip:!1,label:d},a.icon?void 0:d),m&&i===a.value&&(0,n.createElement)(r.Popover,{focusOnMount:!1,position:`middle ${e.labelPosition}`,className:"components-tooltip stk-label-unit-toggle__popup","aria-hidden":"true"},a.tooltip||m))}))))};s.defaultProps={className:"",value:"",options:[],onChange:null,labelPosition:"right",buttonLabel:"",hasLabels:!0,hasColors:!0};const c=(0,n.memo)(s)},755:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(2610);const l=()=>(0,n.createElement)("hr",{className:"ugb-control-separator"})},6497:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(2610),l=a(8324),i=a(6246),o=a(910),r=a(4184),s=a.n(r),c=a(7537),u=a(8003);const d=e=>{const{designId:t,image:a,label:o,onClick:r,plan:u,isPro:d,apiVersion:m}=e,[b,g]=(0,n.useState)(!1),[p,h]=(0,n.useState)(!1),v=s()(["ugb-design-library-item"],{"ugb--is-busy":b,[`ugb--is-${u}`]:!d&&"free"!==u});return(0,n.createElement)("div",{className:v,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1)},b&&(0,n.createElement)("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},(0,n.createElement)(c.Spinner,null)),!d&&"free"!==u&&(0,n.createElement)("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),(0,n.createElement)("button",{className:"ugb-design-library-item__image",onClick:()=>{(d||"free"===u)&&(g(!0),(0,l.Ec)(t,m).then((e=>{g(!1),r(e)})))}},!d&&"free"!==u&&(0,n.createElement)(c.Dashicon,{icon:"lock"}),(0,n.createElement)("img",{src:a,alt:o,loading:"lazy"})),(0,n.createElement)("footer",null,(d||"free"===u)&&(0,n.createElement)("span",null,o),!d&&"free"!==u&&!p&&(0,n.createElement)("span",null,o),!d&&"free"!==u&&p&&(0,n.createElement)(i.Z,{buttonClassName:"ugb-design-library-item__premium-link",button:(0,n.createElement)(n.Fragment,null,e.premiumLabel)})))};d.defaultProps={designId:"",image:"",label:"",onClick:()=>{},plan:"free",isPro:o.isPro,premiumLabel:(0,u.__)("Go Premium",o.i18n),apiVersion:""};const m=d,b=e=>{const{className:t="",designs:a,isBusy:l,onSelect:i,apiVersion:r}=e,d=s()(["ugb-design-library-items",t],{[`ugb-design-library-items--columns-${e.columns}`]:!l&&e.columns});return(0,n.createElement)("div",{className:d},(a||[]).map(((e,t)=>(0,n.createElement)(m,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,apiVersion:r,onClick:e=>{i(e)}}))),l&&(0,n.createElement)("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},(0,n.createElement)(c.Spinner,null)),!l&&!(a||[]).length&&(0,n.createElement)("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},(0,u.__)("No designs found",o.i18n)))};b.defaultProps={designs:[],columns:1,onSelect:()=>{},isBusy:!1,apiVersion:""};const g=b},9755:(e,t,a)=>{"use strict";a.d(t,{ZP:()=>E,wt:()=>v,WA:()=>h});var n=a(2610),l=a(910),i=a(8085),o=a(4184),r=a.n(o),s=a(6071),c=a(8003),u=a(7537),d=a(3882),m=a(3284),b=a(9759),g=a(7462);a(7294);var p=a(5917);const h=e=>{var t,a;const[l,o]=(0,n.useState)(!1),[r,s]=(0,n.useState)(e.value),c=(0,n.useCallback)((e=>{l&&(e.target.closest(".stackable-dynamic-content__popover")||e.target.closest(".stk-dynamic-content-control__button")||e.target.closest(".components-color-picker")||o(!1))}),[l]);(0,n.useEffect)((()=>(document.body.addEventListener("mousedown",c),()=>document.body.removeEventListener("mousedown",c))),[c]),(0,n.useEffect)((()=>{const t=setTimeout((()=>{s(e.value)}),300);return()=>clearTimeout(t)}),[e.value]);const u=[];var d,m;null!=r&&null!==(t=r.includes)&&void 0!==t&&t.call(r,"!#stk_dynamic")&&(null===(d=r.match(/\!#stk_dynamic\/(.*)\!#/g))||void 0===d||d.forEach((e=>{const t=e.replace(/\!#/g,"").replace("stk_dynamic/","");u.push(t)}))),null!=r&&null!==(a=r.includes)&&void 0!==a&&a.call(r,'data-stk-dynamic="')&&(null===(m=r.match(/data-stk-dynamic="[^"]*"/g))||void 0===m||m.forEach((e=>{var t,a,n;const l=null===(t=e.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===t||null===(a=t[0])||void 0===a||null===(n=a.replace(/"/g,""))||void 0===n?void 0:n.replace("data-stk-dynamic=","");l&&u.push(l)})));const b=v(r),g=k(r),p=l||u.length,h=(0,i.first)(u)||"",f=(0,n.useCallback)(((t,a,n)=>{const l=e.isFormatType?`<span data-stk-dynamic="${n}" contenteditable="false" class="stk-dynamic-content">${t}</span>`:`!#stk_dynamic/${n}!#`;e.onChange(l),s(l),o(!1)}),[e.isFormatType,e.onChange]),y=(0,n.useCallback)((()=>{o(!l)}),[l]),C=(0,n.useCallback)((()=>{o(!1)}),[]),_=(0,n.useCallback)((()=>{e.onChange("")}),[e.onChange]);return{onClick:y,isPressed:p,isPopoverOpen:l,value:b,placeholder:g,onClose:C,onReset:_,onChange:f,activeAttribute:h}},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(0,n.useContext)(s.v);return(0,m.useSelect)((a=>{var n,l;if(!a("stackable/dynamic-content"))return e;if(!(0,i.isString)(e))return e;if(!e.includes("!#stk_dynamic")&&!e.includes("data-stk-dynamic"))return e;const o=(null===(n=a("core/editor"))||void 0===n?void 0:n.getCurrentPostId())||-1;let r=e;var s,c;return-1!==o&&null!=t&&t.postId&&t.postId!==o&&(r=null===(s=r)||void 0===s?void 0:s.replace(/<span[^\>]+data-stk-dynamic=[^\>]*>(.*?)<\/span>/g,(e=>{const a=e.match(/data-stk-dynamic="([^\"]*)"/)[1],n=a.split("/");return a.startsWith("current-page")?(n.length>2&&n[2].startsWith("?")?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),e.replace(/data-stk-dynamic="[^\"]*"/g,'data-stk-dynamic="'+n.join("/")+'"')):e})),r=null===(c=r)||void 0===c?void 0:c.replace(/!#stk_dynamic(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/",""),n=a.split("/");return a.startsWith("current-page")?(n.length>2?n.splice(2,0,t.postId.toString()):2===n.length&&n.push(t.postId.toString()),"!#stk_dynamic/"+n.join("/")+"!#"):e}))),null===(l=a("core/editor"))||void 0===l||l.getPostEdits(),a("stackable/dynamic-content").parseDynamicContents(r)}),[e,t])},k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,m.useSelect)((t=>{var a,n;if(!t("stackable/dynamic-content"))return e;let l=e;return null!=e&&null!==(a=e.includes)&&void 0!==a&&a.call(e,"!#stk_dynamic")&&(l=l.replace(/\!#stk_dynamic\/(.*)\!#/g,(e=>{const a=e.replace(/\!#/g,"").replace("stk_dynamic/","");let n=(0,i.first)(t("stackable/dynamic-content").getFieldTitle(a));var l;n||(n=null===(l=new URL(`stk:${a}`).pathname.split("/"))||void 0===l?void 0:l[1]);return n?`[${n}]`:""}))),null!=e&&null!==(n=e.includes)&&void 0!==n&&n.call(e,'data-stk-dynamic="')&&(l=l.replace(/<span[^\>]+data-stk-dynamic="[^>"]*"[^\>]*>(.*?)<\/span>/g,(a=>{var n,l,o;const r=null===(n=a.match(/data-stk-dynamic="(.*?(?="))"/g))||void 0===n||null===(l=n[0])||void 0===l||null===(o=l.replace(/"/g,""))||void 0===o?void 0:o.replace("data-stk-dynamic=","");if(e){let e=(0,i.first)(t("stackable/dynamic-content").getFieldTitle(r));var s;if(!e)e=null===(s=new URL(`stk:${r}`).pathname.split("/"))||void 0===s?void 0:s[1];return e?`[${e}]`:""}return a}))),l}))},f=(0,d.applyFilters)("stackable.dynamic-content.component")||n.Fragment,y=(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,g.Z)({"aria-hidden":"true","data-prefix":"fal","data-icon":"database",className:"database-light_svg__svg-inline--fa database-light_svg__fa-database database-light_svg__fa-w-14",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},e),(0,n.createElement)("path",{fill:"currentColor",d:"M224 32c106 0 192 28.75 192 64v32c0 35.25-86 64-192 64S32 163.25 32 128V96c0-35.25 86-64 192-64m192 149.5V224c0 35.25-86 64-192 64S32 259.25 32 224v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V320c0 35.25-86 64-192 64S32 355.25 32 320v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5m0 96V416c0 35.25-86 64-192 64S32 451.25 32 416v-42.5c41.25 29 116.75 42.5 192 42.5s150.749-13.5 192-42.5M224 0C145.858 0 0 18.801 0 96v320c0 77.338 146.096 96 224 96 78.142 0 224-18.801 224-96V96c0-77.338-146.096-96-224-96z"}))}),null),C=(0,n.memo)((e=>l.isPro||l.showProNotice?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(u.Button,{className:"stk-dynamic-content-control__button",icon:y,"aria-haspopup":"true",label:(0,c.__)("Dynamic Fields",l.i18n),isSmall:!0,isTertiary:!0,onClick:e.onClick,isPressed:!!e.isPressed}),e.isPopoverOpen&&(0,n.createElement)(u.Popover,{position:"top right",className:"stackable-dynamic-content__popover"},!l.isPro&&(0,n.createElement)(b.Z,{title:(0,c.__)("Say Hello to Dynamic Attributes 👋",l.i18n),description:(0,c.__)("Add dynamic values to your Stackable blocks. This feature is only available on Stackable Premium.",l.i18n)}),l.isPro&&(0,n.createElement)(f,{onClose:e.onClose,onChange:e.onChange,activeAttribute:e.activeAttribute,type:e.type}))):null)),_=e=>{let{children:t,enable:a,...l}=e;if(!a)return t;const i=""!==l.activeAttribute,o=r()(["stk-dynamic-content-control"],{"stk--has-dynamic-content":i});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:o},i?(0,n.createElement)(u.TextControl,{value:l.placeholder,disabled:!0}):t,(0,n.createElement)(C,l)),(0,n.createElement)(p.J,{allowReset:!0,value:l.activeAttribute,default:"",onChange:l.onReset}))};_.defaultProps={enable:!1,children:null,activeAttribute:"",onReset:()=>{}};const E=_},3233:(e,t,a)=>{"use strict";a.d(t,{uu:()=>Ra,bi:()=>se,Lu:()=>bn,o1:()=>W,qD:()=>j,nS:()=>J,PQ:()=>dn,TR:()=>pn,iB:()=>ce.Z,d6:()=>ca,H:()=>mt,Xp:()=>on,k8:()=>Nt,Yd:()=>S,BI:()=>kt,zx:()=>g.Z,A4:()=>gt,pq:()=>ht,NT:()=>at,RV:()=>ga,Xw:()=>C,AM:()=>Pn,Eg:()=>Ka.Z,By:()=>ya,GT:()=>x,wf:()=>He,K0:()=>Me,ZC:()=>fl,GN:()=>en,vl:()=>ge,TA:()=>de,ld:()=>Ot,BO:()=>Ca,Ih:()=>yn,gO:()=>oa,b_:()=>Pe,G$:()=>yt,aF:()=>$e,fe:()=>N,hP:()=>ot,AW:()=>A,Wb:()=>cn,BC:()=>lt,z9:()=>kn,hi:()=>I,aZ:()=>L,gn:()=>F,wC:()=>bl,ME:()=>dl,t7:()=>Tl,Ib:()=>ml,zT:()=>pl,rU:()=>An,nD:()=>Sn,tz:()=>Ia,lD:()=>Ea,SQ:()=>we,hH:()=>ze,XK:()=>wt.Z,Y_:()=>Bt,tH:()=>al,Q7:()=>Vn,R$:()=>$n,Sf:()=>El,s5:()=>xn,oy:()=>_t,C7:()=>ye,EX:()=>xt,bg:()=>Bn.Z,le:()=>nn,$$:()=>Za,u:()=>qa,LH:()=>st,mY:()=>ut,Lo:()=>b,eD:()=>wl,$t:()=>aa});var n=a(2610),l=a(7462);a(7294);var i=a(4184),o=a.n(i),r=a(7537),s=a(78);var c=a(8003),u=a(910),d=a(8085);const m=e=>(0,n.createElement)(on,{label:e.label,id:"url-input-control",help:e.help,allowReset:e.allowReset,value:e.value,onChange:e.onChange},(0,n.createElement)(s.URLInput,(0,l.Z)({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},(0,d.omit)(e,["label","help"]))));m.defaultProps={label:(0,c.__)("URL",u.i18n),help:null,value:"",onChange:()=>{},allowReset:!0};const b=m;var g=a(2440);a(4598);(0,c.__)("Opens in new tab",u.i18n),(0,c.__)("Nofollow link",u.i18n),(0,c.__)("Sponsored",u.i18n),(0,c.__)("UGC",u.i18n);var p=a(9188),h=a(5509),v=a(3749),k=a(3882);const f=(0,c.__)("(current %s: %s)",u.i18n),y=(0,n.memo)((e=>{const{disableCustomColors:t,label:a,className:i=""}=e,[m,b]=(0,h.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[g,v]=(0,p.ED)(e),y=(0,d.compact)(e.colors.map((e=>(0,d.isPlainObject)(e)?{...e,name:e.name||e.fallback||e.color||(0,c.__)("Untitled Color",u.i18n)}:null)));e.hasTransparent&&y.push({name:(0,c.__)("Transparent",u.i18n),slug:"_stk-transparent",color:"transparent"});let C=void 0===e.value?m:e.value;const _=void 0===e.onChange?b:e.onChange,E=(0,s.getColorObjectByColorValue)(y,C),x=E&&E.name,w=(0,c.sprintf)(f,a.toLowerCase(),x||m);"string"==typeof C&&C.includes("--stk-global-color")&&C.match(/#[\d\w]{6}/)&&(C=C.match(/#[\d\w]{6}/)[0]);const S=(0,n.createElement)(n.Fragment,null,a,C&&(0,n.createElement)(r.ColorIndicator,{colorValue:C,"aria-label":w}));return(0,n.createElement)(p.ZP,(0,l.Z)({},v,{className:o()([i,"editor-color-palette-control","stk-color-palette-control"]),id:"editor-color-palette-control",label:S}),(0,n.createElement)(r.ColorPalette,{className:"editor-color-palette-control__color-palette",value:C,onChange:e=>{const t=(0,s.getColorObjectByColorValue)(y,e);_((0,k.applyFilters)("stackable.color-palette-control.change",e,t))},colors:y,disableCustomColors:t}))})),C=(0,v.compose)([s.withColorContext,(0,v.ifCondition)((e=>{let{hasColorsToChoose:t}=e;return t}))])(y),_=e=>Array.isArray(e)?e.map((e=>{const[t,a]=e;var n;return[t,`"${n=a,(0,d.escape)(unescape(n))}"`].join("=")})).join(" "):"",E=e=>{const t=(0,n.useRef)(),[a,l]=(0,n.useState)(!1),[i,o]=(0,n.useState)(_(e.value));(0,n.useEffect)((()=>{(t.current||document.querySelector(".ugb-custom-attributes-control input"))!==document.activeElement&&o(_(e.value))}),[JSON.stringify(e.value)]);const s=(0,n.useCallback)((t=>{var a;o(t);const i=document.createElement("div");i.innerHTML=`<div ${t} />`;const r=(null===(a=i.children[0])||void 0===a?void 0:a.attributes)||[],s=[];let c=!1;""===i.innerHTML&&""!==t.trim()&&(c=!0);for(let t=0;t<r.length;t++)if(!e.invalidHtmlAttributes.includes(r[t].name))try{const e=document.createElement("div");(0,n.render)((0,n.createElement)("div",{[r[t].name]:r[t].value}),e),(0,n.unmountComponentAtNode)(e),document.createElement("div").setAttribute(r[t].name,r[t].value),s.push([r[t].name,escape(r[t].value)])}catch{c=!0}l(c),e.onChange(s)}),[o,e.invalidHtmlAttributes,e.onChange,l]),d=(0,n.useCallback)((()=>{Array.isArray(e.value)&&e.value.length>0&&o(_(e.value))}),[JSON.stringify(e.value)]);return(0,n.createElement)(r.TextControl,{ref:t,"data-testid":"custom-attributes",className:"ugb-custom-attributes-control",label:(0,c.__)("Custom Attributes",u.i18n),value:i,onBlur:d,onChange:s,help:(0,n.createElement)(n.Fragment,null,(0,c.__)("You can type in custom HTML attributes for this block in the field above.",u.i18n)," ",(0,c.__)("Example:",u.i18n),(0,n.createElement)("br",null),(0,n.createElement)("code",null,'data-id="my-title"'),(0,n.createElement)("br",null),(0,n.createElement)(r.ExternalLink,{href:"https://docs.wpstackable.com/article/461-how-to-use-custom-attributes?utm_source=inspector&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},(0,c.__)("Learn more about Custom Attributes",u.i18n)),a&&(0,n.createElement)("span",{className:"ugb-custom-attributes-control__error"},(0,c.__)("There is an error in your custom attribute",u.i18n)))})};E.defaultProps={label:"",value:[],invalidHtmlAttributes:[],onChange:()=>{}};const x=E,w=e=>(0,n.createElement)(j,(0,l.Z)({},e,{className:o()(["ugb--help-tip-background-blend-mode",e.className]),options:[{value:"",label:(0,c.__)("None",u.i18n)},{value:"normal",label:(0,c.__)("Normal",u.i18n)},{value:"multiply",label:(0,c.__)("Multiply",u.i18n)},{value:"screen",label:(0,c.__)("Screen",u.i18n)},{value:"overlay",label:(0,c.__)("Overlay",u.i18n)},{value:"darken",label:(0,c.__)("Darken",u.i18n)},{value:"lighten",label:(0,c.__)("Lighten",u.i18n)},{value:"color-dodge",label:(0,c.__)("Color Dodge",u.i18n)},{value:"color-burn",label:(0,c.__)("Color Burn",u.i18n)},{value:"hard-light",label:(0,c.__)("Hard Light",u.i18n)},{value:"soft-light",label:(0,c.__)("Soft Light",u.i18n)},{value:"difference",label:(0,c.__)("Difference",u.i18n)},{value:"exclusion",label:(0,c.__)("Exclusion",u.i18n)},{value:"hue",label:(0,c.__)("Hue",u.i18n)},{value:"saturation",label:(0,c.__)("Saturation",u.i18n)},{value:"color",label:(0,c.__)("Color",u.i18n)},{value:"luminosity",label:(0,c.__)("Luminosity",u.i18n)},{value:"initial",label:(0,c.__)("Initial",u.i18n)},{value:"inherit",label:(0,c.__)("Inherit",u.i18n)},{value:"unset",label:(0,c.__)("Unset",u.i18n)}]}));w.defaultProps={className:"",label:(0,c.__)("Mix Blend Mode",u.i18n),help:(0,c.__)("Not supported in all browsers.",u.i18n)};const S=w,B=function(e){return(0,n.createElement)("svg",(0,l.Z)({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,n.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,n.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=e=>{const t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",a=()=>{e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return(0,n.createElement)("div",{className:"ugb-image-control"},(0,n.createElement)(r.BaseControl,{help:e.help},(0,n.createElement)(Nt,{label:e.label,screens:e.screens}),(0,n.createElement)(s.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:l=>(0,n.createElement)(n.Fragment,null,e.imageURL&&(0,n.createElement)("div",{className:"ugb-image-preview-wrapper"},(0,n.createElement)("button",{className:"ugb-image-preview-remove",onClick:a},(0,n.createElement)(r.Dashicon,{icon:"no"})),"video"===t&&(0,n.createElement)("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:l.open,onKeyDown:e=>{13===e.keyCode&&l.open()}}),"image"===t&&(0,n.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:e.imageURL,onClick:l.open,onKeyDown:e=>{13===e.keyCode&&l.open()},alt:(0,c.__)("preview",u.i18n)})),!e.imageURL&&(0,n.createElement)("div",{className:"ugb-placeholder",onClick:l.open,onKeyDown:e=>{13===e.keyCode&&l.open()},role:"button",tabIndex:0},(0,n.createElement)(B,null)))})))};T.defaultProps={label:"",imageID:"",imageURL:"",onChange:e=>{let{url:t,id:a,width:n,height:l}=e},onRemove:()=>{},allowedTypes:["image"],help:"",screens:["desktop"]};const A=T,z=e=>(0,n.createElement)(r.TextareaControl,(0,l.Z)({},e,{help:(0,n.createElement)(n.Fragment,null,(0,n.createElement)(r.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,c.__)("Describe the purpose of the image",u.i18n)),(0,c.__)("Leave empty if the image is purely decorative.",u.i18n))}));z.defaultProps={label:(0,c.__)("Alt Text (Alternative Text)",u.i18n)};const N=z,M=e=>{const{className:t,hasDefault:a,...i}=e;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(He,(0,l.Z)({},i,{className:o()(t,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[...a?[{label:(0,c.__)("Default",u.i18n),value:"",image:"dist/images/components-image-shape-control-default.5e465f6.png"}]:[],{label:(0,c.__)("Square",u.i18n),value:"square",image:"dist/images/components-image-shape-control-square.d8d54ee.png"},{label:(0,c.__)("Circle",u.i18n),value:"circle",image:"dist/images/components-image-shape-control-circle.ddaef4e.png"},{label:(0,c.sprintf)((0,c.__)("Blob %s",u.i18n),1),value:"blob1",image:"dist/images/components-image-shape-control-blob1.3c54e8e.png"},...(0,k.applyFilters)("stackable.image.control.shapes",[])]})),u.showProNotice&&(0,n.createElement)(Bt,{type:"image"}))};M.defaultProps={className:"",label:(0,c.__)("Shape",u.i18n),selected:"",hasDefault:!0};const I=M;var H=a(3284),U=a(4678);const R=e=>{const t=e.imageData?(0,U.Ad)(e.imageData,e.imageSize||"full"):null,a=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return(0,n.createElement)(n.Fragment,null,e.onChangeShape&&(0,n.createElement)(I,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,n.createElement)(dn,{label:(0,c.__)("Flip Shape Horizontally",u.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&(0,n.createElement)(dn,{label:(0,c.__)("Flip Shape Vertically",u.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!a&&(0,n.createElement)(dn,{label:(0,c.__)("Stretch Shape Mask",u.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch,defaultValue:!0}))};R.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:()=>{},onChangeShapeFlipX:()=>{},onChangeShapeFlipY:()=>{},onChangeShapeStretch:()=>{}};const L=(0,v.compose)([(0,H.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return{imageData:t.imageId?a(t.imageId):null}}))])(R),P=e=>{let{imageSizes:t,value:a,className:i,defaultValue:r,...s}=e;const c=(e=>(0,d.map)(e,(e=>{let{name:t,slug:a}=e;return{value:a,label:t}})))(t);return(0,d.isEmpty)(c)?null:(0,n.createElement)(j,(0,l.Z)({},s,{value:a||"large",options:c,className:o()(i,["ugb--help-tip-image-size"]),defaultValue:r||"large"}))};P.defaultProps={className:"",label:(0,c.__)("Image Size"),value:"large",defaultValue:"",imageSizes:[],onChange:()=>{}};const F=(0,v.compose)([(0,H.withSelect)((e=>({imageSizes:e("core/block-editor").getSettings().imageSizes})))])(P);(0,c.__)("Column Paddings",u.i18n);var O=a(6869);const D=!!r.__experimentalNumberControl,Z=(0,n.memo)((e=>{const{allowReset:t,withInputField:a,isShiftStepEnabled:i,placeholderRender:s,defaultValue:m,...b}=e,p=(0,n.useRef)(null),[h,v]=(0,n.useState)(""===e.value||isNaN(e.value)&&"auto"!==e.value?"":e.value);(0,n.useEffect)((()=>{""===e.value||isNaN(e.value)&&"auto"!==e.value?v(""):v(e.value)}),[e.value]);const k=(0,n.useCallback)((t=>{if(v(t),"string"!=typeof t||"auto"!==t.toLowerCase()){if(!isNaN(t)){const a=parseFloat(t);if(!isNaN(a))return void e.onChange((0,d.clamp)(a,e.min,e.max))}e.onChange(e.resetFallbackValue)}else e.onChange(t)}),[e.onChange,e.min,e.max,e.resetFallbackValue]),f=(0,n.useCallback)((()=>{v(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}),[e.onChange,e.resetFallbackValue]),y=(0,n.useCallback)((()=>{if("string"!=typeof h||"auto"!==h.toLowerCase()){if(!isNaN(h)){const t=parseFloat(h);if(!isNaN(t))return void v((0,d.clamp)(t,e.min,e.max))}v(e.resetFallbackValue)}else v(h)}),[h,e.min,e.max,e.resetFallbackValue]),C=o()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===h}),_=""===h,E=null!==e.initialPosition?e.initialPosition:e.placeholder||e.sliderMin||e.min,x=((e,t,a)=>{const n=(e-t)/(a-t)*100;return`${(0,d.clamp)(n,0,100)}%`})(_?E:h,e.sliderMin||e.min||0,e.sliderMax||e.max||100),[w,S]=(0,n.useState)(e.placeholder);(0,n.useEffect)((()=>{S(e.placeholder)}),[e.placeholder]);const B=(0,O.hU)();return(0,n.useLayoutEffect)((()=>{const t=setTimeout((()=>{S(s&&!h?s(h):null!==e.placeholder?e.placeholder:E)}),400);return()=>clearTimeout(t)}),[B,!!h,e.placeholder]),(0,n.createElement)("div",{className:C,style:{"--ugb-advanced-range-control--width":x}},(0,n.createElement)(r.RangeControl,(0,l.Z)({},b,{initialPosition:"",onChange:k,withInputField:!1,allowReset:!1,min:null!==e.sliderMin?e.sliderMin:e.min===-1/0?0:e.min,max:null!==e.sliderMax?e.sliderMax:e.max===1/0?100:e.max})),a&&D&&(0,n.createElement)(r.__experimentalNumberControl,{ref:p,disabled:e.disabled,isShiftStepEnabled:i,max:e.max,min:e.min,onChange:k,onBlur:y,shiftStep:e.shiftStep,step:e.step,value:h,placeholder:w,type:"text"}),t&&(0,n.createElement)(g.Z,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:f},(0,c.__)("Reset",u.i18n)))}));Z.defaultProps={className:"",allowReset:!1,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,sliderMax:null,sliderMin:null,shiftStep:10,step:1,resetFallbackValue:"",placeholder:null,placeholderRender:null,initialPosition:null,onChange:()=>{}};const V=Z;var q=a(5917);const G=e=>{var t,a;const[i,o]=(0,h.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[r,c]=(0,p.ED)(e),u=(0,O.hU)(),[d]=(0,O.Ry)(),m=!(null===(t=e.units)||void 0===t||!t.length),b=(0,O.Uj)(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:g}=(0,s.useBlockEditContext)(),v=(0,O.kX)(g),k="string"==typeof e.unit?e.unit||(null===(a=e.units)||void 0===a?void 0:a[0])||"px":v?v[b]:"";if(m){const t=e.units.indexOf(k)<0?0:e.units.indexOf(k);Array.isArray(e.min)&&(r.min=e.min[t]),Array.isArray(e.max)&&(r.max=e.max[t]),Array.isArray(e.sliderMin)&&(r.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(r.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(r.step=e.step[t]),r.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(r.initialPosition="",r.placeholder="")}"Desktop"===u&&"normal"===d||(r.initialPosition="",r.placeholder="");let f=e.placeholderRender;return("Desktop"!==u||"normal"!==d||m&&k!==e.units[0])&&(f=null),(0,n.createElement)(p.ZP,c,(0,n.createElement)(V,(0,l.Z)({},r,{value:void 0===e.value?i:e.value,onChange:void 0===e.onChange?o:e.onChange,allowReset:!1,placeholderRender:f})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:void 0===e.value?i:e.value,default:e.default,onChange:void 0===e.onChange?o:e.onChange}))};G.defaultProps={allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const W=(0,n.memo)(G),$=e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover),[i,s]=(0,p.ED)(e),{defaultValue:c,...u}=i;return(0,n.createElement)(p.ZP,(0,l.Z)({},s,{className:o()("ugb-advanced-select-control",e.className)}),(0,n.createElement)(r.SelectControl,(0,l.Z)({},u,{role:"listbox",value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};$.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const j=$;var Q=a(9755);const K=e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[i,s]=(0,p.ED)(e),{isDynamic:c,isMultiline:u,changeDynamicContent:d,allowReset:m,isFormatType:b,...g}=i,v=void 0!==d?d:void 0===e.onChange?a:e.onChange,k=(0,Q.WA)({value:void 0===e.value?t:e.value,onChange:v,isFormatType:b}),f=u?r.TextareaControl:r.TextControl;return(0,n.createElement)(p.ZP,s,(0,n.createElement)(Q.ZP,(0,l.Z)({enable:c},k),(0,n.createElement)(f,(0,l.Z)({},g,{value:void 0===e.value?t:e.value,onChange:void 0===e.onChange?a:e.onChange,className:o()(i.className,"ugb-advanced-text-control")}))),(0,n.createElement)(q.J,{allowReset:m&&!e.dynamic,value:void 0===e.value?t:e.value,default:e.default,onChange:void 0===e.onChange?a:e.onChange}))};K.defaultProps={isMultiline:!1,allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,isDynamic:!1,isFormatType:!0,value:void 0,onChange:void 0,changeDynamicContent:void 0};const J=K;var X=a(8808),Y=a.n(X);const ee=(e,t)=>{const a=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!a)return t;const n=new RegExp(a,"i");return te(t)?t.map((e=>{let{title:t,options:a}=e;return{title:t,options:a.filter((e=>n.test(e.label)||n.test(e.value)))}})).filter((e=>e.options.length>0)):t.filter((e=>"string"==typeof e?n.test(e):n.test(e.label)||n.test(e.value)))},te=e=>!(!e.length||"object"!=typeof e[0].options),ae=(e,t)=>{if(!t.length)return e;if(!te(t)){const a=t.filter((t=>("string"==typeof t?t:t.value)===e));return a.length?a[0].label:e}const a=t.map((t=>{let{title:a,options:n}=t;return{title:a,options:n.filter((t=>t.value===e))}})).filter((e=>e.options.length>0));return a.length?a[0].options[0].label:e},ne=e=>e.value,le=e=>(0,n.createElement)("div",{className:"ugb--autosuggest-group"},e.title),ie=e=>e.options,oe=()=>!0;class re extends n.Component{constructor(){super(...arguments),this.state={value:"",label:"",suggestions:[],isEmpty:!1},this.onSuggestionsFetchRequested=this.onSuggestionsFetchRequested.bind(this),this.onSuggestionsClearRequested=this.onSuggestionsClearRequested.bind(this),this.onChange=this.onChange.bind(this),this.onFocus=this.onFocus.bind(this),this.autosuggestDiv=(0,n.createRef)()}onChange(e,t){let{newValue:a}=t;this.props.onChange(a),this.setState({value:a,label:ae(a,this.props.options)})}onFocus(){this.props.highlightValueOnFocus&&setTimeout((()=>{const e=this.autosuggestDiv.current.querySelector(`[data-value="${this.state.value}"]`);e&&e.scrollIntoView()}),0)}onSuggestionsFetchRequested(e){let{value:t,reason:a}=e;if(this.props.disableAutoIndex)return void this.setState({suggestions:ee("",this.props.options)});if("input-focused"===a||"suggestion-selected"===a)return void this.setState({suggestions:this.props.options,isEmpty:!1});const n=ee(t,this.props.options);this.setState({suggestions:n,isEmpty:""!==t.trim()&&0===n.length})}componentDidMount(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?ae(this.props.value,this.props.options):this.props.value,suggestions:ee(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}componentWillReceiveProps(e){this.setState({value:e.value,label:e.value?ae(e.value,e.options):e.value,suggestions:ee(this.props.disableAutoIndex?"":e.value,e.options)})}onSuggestionsClearRequested(){this.setState({suggestions:[]})}render(){const{label:e,suggestions:t}=this.state,a={placeholder:this.props.placeholder,value:e,onChange:this.onChange,onFocus:this.onFocus,type:"search",...this.props.inputProps};return(0,n.createElement)(on,{help:this.props.help,className:o()("ugb-advanced-autosuggest-control",this.props.className),label:this.props.label,screens:this.props.screens,value:this.props.value,onChange:e=>{""===e&&this.onChange(null,{newValue:""})},allowReset:this.props.allowReset},(0,n.createElement)("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},(0,n.createElement)(Y(),{multiSection:te(this.props.options),suggestions:t,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||ne,renderSuggestion:e=>(0,n.createElement)("div",{className:"ugb-autosuggest-option","data-value":e.value,id:`ugb-autosuggest-option--${e.id||(0,d.kebabCase)(e.value)}`},this.props.renderOption?this.props.renderOption(e):e.label),renderSectionTitle:le,getSectionSuggestions:ie,shouldRenderSuggestions:oe,inputProps:a,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:e=>(0,n.createElement)("input",e)}),this.state.isEmpty&&(0,n.createElement)("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}re.defaultProps={onChange:()=>{},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:(0,c.__)("No matches found",u.i18n),renderOption:null,highlightValueOnFocus:!1,allowReset:!0,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:()=>{},renderInputComponent:null,inputProps:{}};const se=re;var ce=a(9273);const ue=e=>{let t=e.placeholder;const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,a(t)]),(0,n.createElement)(W,(0,l.Z)({},e,{placeholder:t,onChangeUnit:t=>{""!==e.value&&("em"===t||"rem"===t?e.onChange(a(e.value)):"px"===t&&e.onChange(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};ue.defaultProps={label:(0,c.__)("Font Size",u.i18n),value:"",onChange:()=>{},unit:"px",onChangeUnit:()=>{},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};const de=ue,me=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akaya Kanadaka","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Akaya Telivigala","variants":["regular"],"subsets":["latin","latin-ext","telugu"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"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":"Allison","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Alumni Sans","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":"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 Pro","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Andika New Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Antonio","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Are You Serious","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","500","600","700","800"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atkinson Hyperlegible","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"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":"Azeret Mono","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"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":"Bakbak One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ballet","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaijaan 2","variants":["regular","500","600","700","800"],"subsets":["arabic","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":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Be Vietnam Pro","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":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Benne","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Besley","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Display","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Birthstone","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Birthstone Bounce","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bodoni Moda","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Bona Nova","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","hebrew","latin","latin-ext","vietnamese"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Bonheur Royale","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brygada 1918","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","500","600","700","800","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":"Caramel","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Carattere","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Castoro","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherish","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comforter","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comforter Brush","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Commissioner","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Corinthia","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Dela Gothic One","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext","vietnamese"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dongle","variants":["300","regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"DotGothic16","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin","latin-ext"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans SC","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ephesis","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Estonia","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Explora","variants":["regular"],"subsets":["cherokee","latin","latin-ext","vietnamese"]},{"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","latin"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Festive","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fleur De Leah","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Flow Block","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Circular","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Flow Rounded","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Fraunces","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"Fuggles","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Fuzzy Bubbles","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gemunu Libre","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Genos","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cherokee","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":"Georama","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":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gideon Roman","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Glory","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gluten","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Goldman","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Gowun Batang","variants":["regular","700"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Gowun Dodum","variants":["regular"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grechen Fuemen","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Grey Qo","variants":["regular"],"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":"Gwendolyn","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hachi Maru Pop","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Hahmlet","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin","latin-ext","vietnamese"]},{"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":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hina Mincho","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"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":"Hurricane","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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 Arabic","variants":["100","200","300","regular","500","600","700"],"subsets":["arabic","cyrillic-ext","latin","latin-ext"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Devanagari","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"IBM Plex Sans Hebrew","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"IBM Plex Sans KR","variants":["100","200","300","regular","500","600","700"],"subsets":["korean","latin","latin-ext"]},{"family":"IBM Plex Sans Thai","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Sans Thai Looped","variants":["100","200","300","regular","500","600","700"],"subsets":["cyrillic-ext","latin","latin-ext","thai"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imbue","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Imperial Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inspiration","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Island Moments","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"JetBrains Mono","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","kayah-li","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":"Kaisei Decol","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei HarunoUmi","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Opti","variants":["regular","500","700"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kaisei Tokumin","variants":["regular","500","700","800"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karantina","variants":["300","regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kings","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Kiwi Maru","variants":["300","regular","500"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Klee One","variants":["regular","600"],"subsets":["cyrillic","greek-ext","japanese","latin","latin-ext"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Koh Santepheap","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Kolker Brush","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Langar","variants":["regular"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode EAN13 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Licorice","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Light","variants":["regular"],"subsets":["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","vietnamese"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"Luxurious Roman","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Luxurious Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS 1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS 1 Code","variants":["100","200","300","regular","500","600","700"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"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 2","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Code Latin","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","latin-ext","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"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":"Mea Culpa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Meow Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer","latin"]},{"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":"Mochiy Pop One","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Mochiy Pop P One","variants":["regular"],"subsets":["japanese","latin"]},{"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":"Mohave","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montagu Slab","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MonteCarlo","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","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":"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":"Moo Lah Lah","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Moon Dance","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Moul","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer","latin"]},{"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":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Murecho","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","japanese","latin","latin-ext"]},{"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":"Neonderthaw","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Nerko One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"New Tegomin","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Newsreader","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"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 Kufi Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Music","variants":["regular"],"subsets":["music"]},{"family":"Noto Naskh Arabic","variants":["regular","500","600","700"],"subsets":["arabic"]},{"family":"Noto Nastaliq Urdu","variants":["regular","700"],"subsets":["arabic"]},{"family":"Noto Rashi Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Adlam","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Adlam Unjoined","variants":["regular","500","600","700"],"subsets":["adlam"]},{"family":"Noto Sans Anatolian Hieroglyphs","variants":["regular"],"subsets":["anatolian-hieroglyphs"]},{"family":"Noto Sans Arabic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["arabic"]},{"family":"Noto Sans Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Sans Avestan","variants":["regular"],"subsets":["avestan"]},{"family":"Noto Sans Balinese","variants":["regular","500","600","700"],"subsets":["balinese"]},{"family":"Noto Sans Bamum","variants":["regular","500","600","700"],"subsets":["bamum"]},{"family":"Noto Sans Bassa Vah","variants":["regular"],"subsets":["bassa-vah"]},{"family":"Noto Sans Batak","variants":["regular"],"subsets":["batak"]},{"family":"Noto Sans Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Sans Bhaiksuki","variants":["regular"],"subsets":["bhaiksuki"]},{"family":"Noto Sans Brahmi","variants":["regular"],"subsets":["brahmi"]},{"family":"Noto Sans Buginese","variants":["regular"],"subsets":["buginese"]},{"family":"Noto Sans Buhid","variants":["regular"],"subsets":["buhid"]},{"family":"Noto Sans Canadian Aboriginal","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["canadian-aboriginal"]},{"family":"Noto Sans Carian","variants":["regular"],"subsets":["carian"]},{"family":"Noto Sans Caucasian Albanian","variants":["regular"],"subsets":["caucasian-albanian"]},{"family":"Noto Sans Chakma","variants":["regular"],"subsets":["chakma"]},{"family":"Noto Sans Cham","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cham"]},{"family":"Noto Sans Cherokee","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cherokee"]},{"family":"Noto Sans Coptic","variants":["regular"],"subsets":["coptic"]},{"family":"Noto Sans Cuneiform","variants":["regular"],"subsets":["cuneiform"]},{"family":"Noto Sans Cypriot","variants":["regular"],"subsets":["cypriot"]},{"family":"Noto Sans Deseret","variants":["regular"],"subsets":["deseret"]},{"family":"Noto Sans Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Sans Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Duployan","variants":["regular"],"subsets":["duployan"]},{"family":"Noto Sans Egyptian Hieroglyphs","variants":["regular"],"subsets":["egyptian-hieroglyphs"]},{"family":"Noto Sans Elbasan","variants":["regular"],"subsets":["elbasan"]},{"family":"Noto Sans Elymaic","variants":["regular"],"subsets":["elymaic"]},{"family":"Noto Sans Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Sans Glagolitic","variants":["regular"],"subsets":["glagolitic"]},{"family":"Noto Sans Gothic","variants":["regular"],"subsets":["gothic"]},{"family":"Noto Sans Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Sans Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Sans Gunjala Gondi","variants":["regular"],"subsets":["gunjala-gondi"]},{"family":"Noto Sans Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans Hanifi Rohingya","variants":["regular","500","600","700"],"subsets":["hanifi-rohingya"]},{"family":"Noto Sans Hanunoo","variants":["regular"],"subsets":["hanunoo"]},{"family":"Noto Sans Hatran","variants":["regular"],"subsets":["hatran"]},{"family":"Noto Sans Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"family":"Noto Sans Imperial Aramaic","variants":["regular"],"subsets":["imperial-aramaic"]},{"family":"Noto Sans Indic Siyaq Numbers","variants":["regular"],"subsets":["indic-siyaq-numbers"]},{"family":"Noto Sans Inscriptional Pahlavi","variants":["regular"],"subsets":["inscriptional-pahlavi"]},{"family":"Noto Sans Inscriptional Parthian","variants":["regular"],"subsets":["inscriptional-parthian"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans Javanese","variants":["regular","700"],"subsets":["javanese"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans Kaithi","variants":["regular"],"subsets":["kaithi"]},{"family":"Noto Sans Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Sans Kayah Li","variants":["regular","500","600","700"],"subsets":["kayah-li"]},{"family":"Noto Sans Kharoshthi","variants":["regular"],"subsets":["kharoshthi"]},{"family":"Noto Sans Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Sans Khojki","variants":["regular"],"subsets":["khojki"]},{"family":"Noto Sans Khudawadi","variants":["regular"],"subsets":["khudawadi"]},{"family":"Noto Sans Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Sans Lepcha","variants":["regular"],"subsets":["lepcha"]},{"family":"Noto Sans Limbu","variants":["regular"],"subsets":["limbu"]},{"family":"Noto Sans Linear A","variants":["regular"],"subsets":["linear-a"]},{"family":"Noto Sans Linear B","variants":["regular"],"subsets":["linear-b"]},{"family":"Noto Sans Lisu","variants":["regular","500","600","700"],"subsets":["lisu"]},{"family":"Noto Sans Lycian","variants":["regular"],"subsets":["lycian"]},{"family":"Noto Sans Lydian","variants":["regular"],"subsets":["lydian"]},{"family":"Noto Sans Mahajani","variants":["regular"],"subsets":["mahajani"]},{"family":"Noto Sans Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Sans Mandaic","variants":["regular"],"subsets":["mandaic"]},{"family":"Noto Sans Manichaean","variants":["regular"],"subsets":["manichaean"]},{"family":"Noto Sans Marchen","variants":["regular"],"subsets":["marchen"]},{"family":"Noto Sans Masaram Gondi","variants":["regular"],"subsets":["masaram-gondi"]},{"family":"Noto Sans Math","variants":["regular"],"subsets":["math"]},{"family":"Noto Sans Mayan Numerals","variants":["regular"],"subsets":["mayan-numerals"]},{"family":"Noto Sans Medefaidrin","variants":["regular","500","600","700"],"subsets":["medefaidrin"]},{"family":"Noto Sans Meetei Mayek","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["meetei-mayek"]},{"family":"Noto Sans Meroitic","variants":["regular"],"subsets":["meroitic"]},{"family":"Noto Sans Miao","variants":["regular"],"subsets":["miao"]},{"family":"Noto Sans Modi","variants":["regular"],"subsets":["modi"]},{"family":"Noto Sans Mongolian","variants":["regular"],"subsets":["mongolian"]},{"family":"Noto Sans Mono","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans Mro","variants":["regular"],"subsets":["mro"]},{"family":"Noto Sans Multani","variants":["regular"],"subsets":["multani"]},{"family":"Noto Sans Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Sans N Ko","variants":["regular"],"subsets":["nko"]},{"family":"Noto Sans Nabataean","variants":["regular"],"subsets":["nabataean"]},{"family":"Noto Sans New Tai Lue","variants":["regular"],"subsets":["new-tai-lue"]},{"family":"Noto Sans Newa","variants":["regular"],"subsets":["newa"]},{"family":"Noto Sans Nushu","variants":["regular"],"subsets":["nushu"]},{"family":"Noto Sans Ogham","variants":["regular"],"subsets":["ogham"]},{"family":"Noto Sans Ol Chiki","variants":["regular","500","600","700"],"subsets":["ol-chiki"]},{"family":"Noto Sans Old Hungarian","variants":["regular"],"subsets":["old-hungarian"]},{"family":"Noto Sans Old Italic","variants":["regular"],"subsets":["old-italic"]},{"family":"Noto Sans Old North Arabian","variants":["regular"],"subsets":["old-north-arabian"]},{"family":"Noto Sans Old Permic","variants":["regular"],"subsets":["old-permic"]},{"family":"Noto Sans Old Persian","variants":["regular"],"subsets":["old-persian"]},{"family":"Noto Sans Old Sogdian","variants":["regular"],"subsets":["old-sogdian"]},{"family":"Noto Sans Old South Arabian","variants":["regular"],"subsets":["old-south-arabian"]},{"family":"Noto Sans Old Turkic","variants":["regular"],"subsets":["old-turkic"]},{"family":"Noto Sans Oriya","variants":["100","regular","700","900"],"subsets":["oriya"]},{"family":"Noto Sans Osage","variants":["regular"],"subsets":["osage"]},{"family":"Noto Sans Osmanya","variants":["regular"],"subsets":["osmanya"]},{"family":"Noto Sans Pahawh Hmong","variants":["regular"],"subsets":["pahawh-hmong"]},{"family":"Noto Sans Palmyrene","variants":["regular"],"subsets":["palmyrene"]},{"family":"Noto Sans Pau Cin Hau","variants":["regular"],"subsets":["pau-cin-hau"]},{"family":"Noto Sans Phags Pa","variants":["regular"],"subsets":["phags-pa"]},{"family":"Noto Sans Phoenician","variants":["regular"],"subsets":["phoenician"]},{"family":"Noto Sans Psalter Pahlavi","variants":["regular"],"subsets":["psalter-pahlavi"]},{"family":"Noto Sans Rejang","variants":["regular"],"subsets":["rejang"]},{"family":"Noto Sans Runic","variants":["regular"],"subsets":["runic"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans Samaritan","variants":["regular"],"subsets":["samaritan"]},{"family":"Noto Sans Saurashtra","variants":["regular"],"subsets":["saurashtra"]},{"family":"Noto Sans Sharada","variants":["regular"],"subsets":["sharada"]},{"family":"Noto Sans Shavian","variants":["regular"],"subsets":["shavian"]},{"family":"Noto Sans Siddham","variants":["regular"],"subsets":["siddham"]},{"family":"Noto Sans Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Sans Sogdian","variants":["regular"],"subsets":["sogdian"]},{"family":"Noto Sans Sora Sompeng","variants":["regular","500","600","700"],"subsets":["sora-sompeng"]},{"family":"Noto Sans Soyombo","variants":["regular"],"subsets":["soyombo"]},{"family":"Noto Sans Sundanese","variants":["regular","500","600","700"],"subsets":["sundanese"]},{"family":"Noto Sans Syloti Nagri","variants":["regular"],"subsets":["syloti-nagri"]},{"family":"Noto Sans Symbols","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["symbols"]},{"family":"Noto Sans Symbols 2","variants":["regular"],"subsets":["symbols"]},{"family":"Noto Sans Syriac","variants":["100","regular","900"],"subsets":["syriac"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Sans Tagalog","variants":["regular"],"subsets":["tagalog"]},{"family":"Noto Sans Tagbanwa","variants":["regular"],"subsets":["tagbanwa"]},{"family":"Noto Sans Tai Le","variants":["regular"],"subsets":["tai-le"]},{"family":"Noto Sans Tai Tham","variants":["regular","500","600","700"],"subsets":["tai-tham"]},{"family":"Noto Sans Tai Viet","variants":["regular"],"subsets":["tai-viet"]},{"family":"Noto Sans Takri","variants":["regular"],"subsets":["takri"]},{"family":"Noto Sans Tamil","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tamil"]},{"family":"Noto Sans Tamil Supplement","variants":["regular"],"subsets":["tamil-supplement"]},{"family":"Noto Sans Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Sans Thaana","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thaana"]},{"family":"Noto Sans Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Thai Looped","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Sans Tifinagh","variants":["regular"],"subsets":["tifinagh"]},{"family":"Noto Sans Tirhuta","variants":["regular"],"subsets":["tirhuta"]},{"family":"Noto Sans Ugaritic","variants":["regular"],"subsets":["ugaritic"]},{"family":"Noto Sans Vai","variants":["regular"],"subsets":["vai"]},{"family":"Noto Sans Wancho","variants":["regular"],"subsets":["wancho"]},{"family":"Noto Sans Warang Citi","variants":["regular"],"subsets":["warang-citi"]},{"family":"Noto Sans Yi","variants":["regular"],"subsets":["yi"]},{"family":"Noto Sans Zanabazar Square","variants":["regular"],"subsets":["zanabazar-square"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Ahom","variants":["regular"],"subsets":["ahom"]},{"family":"Noto Serif Armenian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["armenian"]},{"family":"Noto Serif Balinese","variants":["regular"],"subsets":["balinese"]},{"family":"Noto Serif Bengali","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["bengali"]},{"family":"Noto Serif Devanagari","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["devanagari"]},{"family":"Noto Serif Display","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif Dogra","variants":["regular"],"subsets":["dogra"]},{"family":"Noto Serif Ethiopic","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["ethiopic"]},{"family":"Noto Serif Georgian","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["georgian"]},{"family":"Noto Serif Grantha","variants":["regular"],"subsets":["grantha"]},{"family":"Noto Serif Gujarati","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gujarati"]},{"family":"Noto Serif Gurmukhi","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["gurmukhi"]},{"family":"Noto Serif Hebrew","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew"]},{"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 Kannada","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["kannada"]},{"family":"Noto Serif Khmer","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["khmer"]},{"family":"Noto Serif Lao","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["lao"]},{"family":"Noto Serif Malayalam","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["malayalam"]},{"family":"Noto Serif Myanmar","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["myanmar"]},{"family":"Noto Serif Nyiakeng Puachue Hmong","variants":["regular","500","600","700"],"subsets":["nyiakeng-puachue-hmong"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif Sinhala","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["sinhala"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif Tamil","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["tamil"]},{"family":"Noto Serif Tangut","variants":["regular"],"subsets":["tangut"]},{"family":"Noto Serif Telugu","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["telugu"]},{"family":"Noto Serif Thai","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["thai"]},{"family":"Noto Serif Tibetan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["tibetan"]},{"family":"Noto Serif Yezidi","variants":["regular","500","600","700"],"subsets":["yezidi"]},{"family":"Noto Traditional Nushu","variants":["regular"],"subsets":["nushu"]},{"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","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","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":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Oi","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","tamil","vietnamese"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ole","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oooh Baby","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Open Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orelega One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Otomanopee One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Outfit","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin"]},{"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","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":"Overpass Mono","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"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":"Palette Mosaic","variants":["regular"],"subsets":["japanese","latin"]},{"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":"Passions Conflict","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Petemoss","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piazzolla","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Potta One","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Praise","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer","latin"]},{"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":"Puppies Play","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qahiri","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Qwitcher Grypen","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rampart One","variants":["regular"],"subsets":["cyrillic","japanese","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","300italic","italic","500italic","600italic","700italic"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Readex Pro","variants":["200","300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Red Hat Display","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Mono","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redacted","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Redacted Script","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular","500","600","700"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Reggae One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Road Rage","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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 Serif","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":"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 3D","variants":["regular"],"subsets":["japanese","latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"RocknRoll One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Beastly","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","vietnamese"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"STIX Two Text","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sansita Swashed","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sassy Frass","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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 New","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"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":"Shalimar","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shippori Antique","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Antique B1","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho B1","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shizuru","variants":["regular"],"subsets":["japanese","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","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Smooch","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Sans 3","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"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 4","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Grotesk","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Spline Sans","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stick","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Stick No Bills","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"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":"Style Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":["100","300","regular","700","900"],"subsets":["khmer","latin"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer","latin"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Texturina","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"The Nautigal","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Tourney","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Train One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trispace","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Truculenta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Twinkle Star","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Uchen","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Urbanist","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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":"Vujahday Script","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Waterfall","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"WindSong","variants":["regular","500"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Xanh Mono","variants":["regular","italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yaldevi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yomogi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Yrsa","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yuji Boku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Hentaigana Akari","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Yuji Hentaigana Akebono","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Yuji Mai","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yuji Syuku","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Yusei Magic","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zen Antique","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Antique Soft","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zen Kaku Gothic Antique","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kaku Gothic New","variants":["300","regular","500","700","900"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"family":"Zen Kurenaido","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Loop","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Zen Maru Gothic","variants":["300","regular","500","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Old Mincho","variants":["regular","700","900"],"subsets":["cyrillic","greek","japanese","latin","latin-ext"]},{"family":"Zen Tokyo Zoo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]').map((e=>({label:e.family,value:e.family}))),be=e=>{const t=(0,n.useMemo)((()=>(0,k.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:(0,c.__)("System Fonts",u.i18n),options:[{label:(0,c.__)("Sans-Serif",u.i18n),value:"Sans-Serif"},{label:(0,c.__)("Serif",u.i18n),value:"Serif"},{label:(0,c.__)("Serif Alternative",u.i18n),value:"Serif-Alt"},{label:(0,c.__)("Monospace",u.i18n),value:"Monospace"}]},{id:"google-fonts",title:(0,c.__)("Google Fonts",u.i18n),options:me}])),[]);return(0,n.createElement)(se,(0,l.Z)({options:t,highlightValueOnFocus:!0},e,{onChange:t=>{me.some((e=>e.value===t&&((0,U.u$)(t),!0))),e.onChange(t)}}))};be.defaultProps={onChange:()=>{},label:(0,c.__)("Font Family",u.i18n),value:""};const ge=be;var pe=a(7503);const he=(0,pe.hv)((e=>{let{children:t}=e;return(0,n.createElement)("div",{className:"ugb-sort-control__container"},t)})),ve=(0,pe.gU)((e=>{let{value:t,key:a,index:i,...o}=e;return(0,n.createElement)("div",(0,l.Z)({className:"ugb-sort-control__item"},o),t)}));let ke=!1;const fe=(0,n.memo)((e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover),[i,r]=(0,p.ED)(e);let s=void 0===e.values?t:Array.isArray(e.values)?[...e.values]:t;for(s=s?s.splice(0,e.num):(0,d.range)(e.num).map((e=>e+1));s.length<e.num;)s.push(s.length+1);const c=void 0===e.onChange?a:e.onChange,u=!(0,d.isEqual)(s.map((e=>e.toString())),(0,d.range)(e.num).map((e=>(e+1).toString())));return(0,n.createElement)(p.ZP,(0,l.Z)({},r,{className:o()(["ugb-sort-control",e.className,`ugb-sort-control--axis-${e.axis}`])}),(0,n.createElement)(he,(0,l.Z)({},i,{onSortStart:()=>ke=!0,onSortOver:t=>{let{newIndex:a}=t;e.onHover(a)},onSortEnd:e=>{let{oldIndex:t,newIndex:a}=e;ke=!1;const n=((e,t,a)=>(e.splice(t<a?a+1:a,0,e[t]),e.splice(t<a?t:t+1,1),e))(s,t,a);c([...n],{oldIndex:t,newIndex:a})},axis:e.axis}),s.map(((t,a)=>(0,n.createElement)(ve,{key:a,index:a,value:t,onMouseEnter:()=>{ke||e.onHover(a)},onMouseLeave:()=>{ke||e.onHover(null)}})))),(0,n.createElement)(q.J,{allowReset:e.allowReset,showReset:u,value:s,default:e.default,onChange:()=>c("",{oldIndex:0,newIndex:0})}))}));fe.defaultProps={className:"",help:"",label:(0,c.__)("Column Arrangement",u.i18n),num:2,axis:"x",values:null,onChange:()=>{},onHover:()=>{},hasReset:!1};const ye=fe;function Ce(e){this.value=e,this.subscribers=[],this.getValue=function(){return this.value},this.setValue=function(e){if(this.getValue()===e)return;this.value=e;const t=this;this.subscribers.forEach((function(e){e(t.value)}))},this.subscribe=function(e){this.subscribers.indexOf(e)>-1||this.subscribers.push(e)},this.unsubscribe=function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}}function _e(e,t){void 0===t&&(t=null);const[,a]=(0,n.useState)(),l=Ee.getState(e,t),i=l.getValue();function o(){a({})}return(0,n.useEffect)((function(){return l.subscribe(o),function(){l.unsubscribe(o)}})),[i,function(e){l.setValue(e)}]}const Ee=new function(){this.value={},this.init=function(e){for(const t in e)this.setState(t,e[t])},this.getState=function(e,t){return void 0===this.value[e]&&this.setState(e,t),this.value[e]},this.setState=function(e,t){this.value[e]=new Ce(t)}},xe=e=>{const{isSelected:t,name:a}=(0,s.useBlockEditContext)(),[l]=_e(`tabCache-${a}`,"style"),[i,d]=_e(`panelCache-${a}-${l}-${e.title}`,e.initialOpen),[m,b]=(0,n.useState)(i),[g,p]=(0,n.useState)(e.initialAdvanced),h=(0,n.useMemo)((()=>parseInt(1e6*Math.random(),10)),[]),v=e.hasToggle&&e.onChange,f=(0,n.useCallback)(((t,a)=>{if(!e.hasToggle||!e.toggleAttributeName||!e.toggleOnSetAttributes.length)return t;if(a.attributes[e.toggleAttributeName])return t;console.warn("[Stackable V3 deprecation warning] toggleOnSetAttributes and toggleAttributeName props of PanelAdvancedSettings are deprecated, use stackable/hooks/useDidAttributesChange instead");let n=!1;return e.toggleOnSetAttributes.some((e=>!(!Object.keys(t).includes(e)||""===t[e]||(n=!0,0)))),n?(e.onChange&&e.onChange(!0),{...t,[e.toggleAttributeName]:!0}):t}),[v,e.toggleAttributeName,e.toggleOnSetAttributes,e.onChange]);(0,n.useEffect)((()=>((0,k.addFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${h}`,f,9),()=>{(0,k.removeFilter)("stackable.setAttributes",`stackable/panel-advanced-settings-${h}`)})),[]);const y=(0,n.useCallback)((()=>{b(!m),d(!m)}),[m]),C=(0,n.useCallback)((()=>p(!g)),[g]),_=o()([e.className,"ugb-toggle-panel-body"],{"ugb-toggle-panel-body--advanced":g,[`ugb-panel--${e.id}`]:e.id}),E=(0,n.useMemo)((()=>(0,n.createElement)(n.Fragment,null,v&&(0,n.createElement)("span",{className:"editor-panel-toggle-settings__panel-title"},(0,n.createElement)(r.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:e.checked,onClick:t=>{t.stopPropagation(),t.preventDefault();const a=e.checked;a&&m||a||m||y(),e.onChange&&e.onChange(!a)},"aria-describedby":e.title}),e.title),!v&&e.title)),[y,v,e.checked,e.onChange,e.title]);return(t||!a)&&(0,n.createElement)(r.PanelBody,{className:_,initialOpen:i,onToggle:y,opened:m,title:E},e.children,g&&e.advancedChildren,e.advancedChildren&&(0,n.createElement)("button",{className:"ugb-panel-advanced-button",onClick:C},g?(0,c.__)("Simple",u.i18n):(0,c.__)("Advanced",u.i18n)))};xe.defaultProps={id:"",className:"",title:(0,c.__)("Settings",u.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};const we=xe;var Se=a(6497);a(7385);const Be=[{value:"block",title:(0,c.__)("Block",u.i18n),label:(0,c.__)("Block Tab",u.i18n),icon:"block-default"},{value:"style",title:(0,c.__)("Style",u.i18n),label:(0,c.__)("Style Tab",u.i18n),icon:"admin-appearance"},{value:"advanced",title:(0,c.__)("Advanced",u.i18n),label:(0,c.__)("Advanced Tab",u.i18n),icon:"admin-tools"}],Te=["block","style","advanced"];class Ae extends n.Component{constructor(){super(...arguments),this.tabsToUse=this.props.tabs||Te,this.state={activeTab:this.props.initialTab?this.props.initialTab:this.tabsToUse[0]},this.onButtonPanelClick=this.onButtonPanelClick.bind(this),this.updateSidebarPanelTab=this.updateSidebarPanelTab.bind(this),this.select=this.select.bind(this),this.containerDiv=(0,n.createRef)(),this.suspendClickListener=!1,this.props.onTabFirstOpen(this.state.activeTab)}updateSidebarPanelTab(e){const t=this.containerDiv.current.closest(".components-panel");t&&setTimeout((()=>{var a;t&&(t.setAttribute("data-ugb-tab",e),null===(a=t.closest(".edit-post-sidebar, .edit-widgets-sidebar, .interface-complementary-area"))||void 0===a||a.classList.add("ugb--has-panel-tabs"))}),1)}componentDidMount(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&u.settings.stackable_auto_collapse_panels&&document.body.addEventListener("click",this.onButtonPanelClick)}componentWillUnmount(){const e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar, .edit-widgets-sidebar, .interface-complementary-area").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&u.settings.stackable_auto_collapse_panels&&document.body.removeEventListener("click",this.onButtonPanelClick)}onButtonPanelClick(e){const t=e.target.closest(".components-panel__body-toggle");var a,n;t&&"layout"!==this.state.activeTab&&(this.suspendClickListener||(this.suspendClickListener=!0,a=t,[].forEach.call((null===(n=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===n?void 0:n.querySelectorAll(".components-panel__body .components-panel__body-toggle"))||[],(e=>{0!==e.offsetHeight&&e.parentElement.parentElement.classList.contains("is-opened")&&a!==e&&e.click()})),this.suspendClickListener=!1))}select(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}render(){const e=o()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return(0,n.createElement)("div",{className:e,style:this.props.style,ref:this.containerDiv},(0,n.createElement)("div",{className:"ugb-panel-tabs__wrapper"},(0,k.applyFilters)("stackable.inspector.tabs",Be).map(((e,t)=>{let{value:a,title:l,label:i,icon:s}=e;return this.tabsToUse.includes(a)?(0,n.createElement)("button",{key:t,onClick:()=>this.select(a),className:o()(["edit-post-sidebar__panel-tab",`ugb-tab--${a}`],{"is-active":this.state.activeTab===a}),"aria-label":i,"data-label":i},(0,n.createElement)(r.Icon,{icon:s}),l):null}))))}}Ae.defaultProps={className:"",style:{},closeOtherPanels:!0,initialTab:"",onClickPanel:()=>{},onClick:()=>{},tabs:null,onTabFirstOpen:()=>{}};const ze=Ae,Ne=e=>{const t=o()(["ugb-global-style-control__item"],{"ugb-global-style-control__item--large-preview":e.largePreview}),a=e.renderPreview&&e.renderPreview((0,d.pick)(e,["label","value"]));return(0,n.createElement)("div",{className:t},a&&(0,n.createElement)("div",{className:"ugb-global-style-control__item-preview"},a),(0,n.createElement)("div",{className:"ugb-global-style-control__item-label"},e.label),(0,n.createElement)(g.Z,{className:"ugb-global-style-control__item-button",onClick:t=>{t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:(0,c.__)("Edit Style",u.i18n),isTertiary:!0,icon:"edit"}))};Ne.defaultProps={largePreview:!1,renderPreview:()=>{},onEdit:()=>{}};(0,c.__)("Style",u.i18n);const Me=function(e){let{imageFile:t,imageHoverFile:a,imageWidth:l="",imageHeight:i="",label:o}=e;const r=t?t.match(/https?:/i)?t:u.srcUrl?`${u.srcUrl}/${t}`:t:"",s=a?a.match(/https?:/i)?a:u.srcUrl?`${u.srcUrl}/${a}`:a:null;return(0,n.createElement)("span",{className:"ugb-design-panel-item"},s&&(0,n.createElement)("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:o,width:l,height:i}),r&&(0,n.createElement)("img",{className:"ugb-design-panel-item__image",src:r,alt:o,width:l,height:i}),(0,n.createElement)("span",{className:"design-label"},o))},Ie=e=>{const t=e.options.filter((e=>!e.premium||u.isPro)).map((e=>({...e,label:(0,n.createElement)(Me,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}))),a=o()([e.className,"ugb-design-control-wrapper","components-base-control",`ugb-design-control--columns-${e.columns}`]);return(0,n.createElement)("div",{className:a},e.label&&(0,n.createElement)("div",{className:"components-base-control__label"},e.label),(0,n.createElement)(r.RadioControl,(0,l.Z)({},(0,d.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Ie.defaultProps={className:"",columns:2,selected:"",options:[],onChange:()=>{}};const He=Ie,Ue=[{image:"dist/images/components-design-separator-control-wave-1.fe7d2e5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Wave",u.i18n),1),value:"wave-1"},{image:"dist/images/components-design-separator-control-straight-1.fba0f99.png",label:(0,c.__)("Straight",u.i18n),value:"straight-1"},{image:"dist/images/components-design-separator-control-wave-2.bc3ff78.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Wave",u.i18n),2),value:"wave-2"},{image:"dist/images/components-design-separator-control-wave-3.9e204d5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Wave",u.i18n),3),value:"wave-3"},{image:"dist/images/components-design-separator-control-wave-4.b82e3aa.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Wave",u.i18n),4),value:"wave-4"},{image:"dist/images/components-design-separator-control-slant-1.645f0b9.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Slant",u.i18n),1),value:"slant-1"},{image:"dist/images/components-design-separator-control-slant-2.50e3178.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Slant",u.i18n),2),value:"slant-2"},{image:"dist/images/components-design-separator-control-curve-1.277a020.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Curve",u.i18n),1),value:"curve-1"},{image:"dist/images/components-design-separator-control-curve-2.4b8c7da.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Curve",u.i18n),2),value:"curve-2"},{image:"dist/images/components-design-separator-control-curve-3.da5eb6d.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Curve",u.i18n),3),value:"curve-3"},{image:"dist/images/components-design-separator-control-rounded-1.85d0e25.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Rounded",u.i18n),1),value:"rounded-1"},{image:"dist/images/components-design-separator-control-rounded-2.6e57ec5.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Rounded",u.i18n),2),value:"rounded-2"},{image:"dist/images/components-design-separator-control-rounded-3.78cb6da.png",label:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Rounded",u.i18n),3),value:"rounded-3"}];(0,k.addFilter)("stackable.separator.edit.layouts","default",(e=>(0,d.uniqBy)([...e,...Ue],"value")));const Re=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},e),(0,n.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"}))},Le=e=>{const[t,a]=(0,n.useState)(!1),[i,o]=(0,n.useState)(!1),r=(0,v.useInstanceId)(Le,"iconControl");return(0,n.createElement)(on,(0,l.Z)({className:`ugb-icon-control ugb-icon-control-${r}`},(0,d.omit)(e,["onChange","value"]),{allowReset:!0,value:e.value,onChange:e.onChange}),(0,n.createElement)("div",{className:"ugb-icon-control__wrapper"},(0,n.createElement)("div",{className:"ugb-icon-control__button-wrapper"},(0,n.createElement)(g.Z,{isSecondary:!0,className:"ugb-icon-control__icon-button",onClick:()=>{i?(a(!1),o(!1)):a(!0)}},e.value&&(0,n.createElement)(nn,{value:e.value}),!e.value&&(0,n.createElement)(Re,{style:{opacity:.3}})),t&&(0,n.createElement)($e,{onClickOutside:e=>{e.target&&e.target.closest(`.ugb-icon-control-${r}`)?o(!0):(a(!1),o(!1))},onClose:()=>a(!1),returnSVGValue:e.returnSVGValue,onChange:e.onChange}))))};Le.defaultProps={label:(0,c.__)("Icon",u.i18n),value:"",returnSVGValue:!0,onChange:()=>{}};const Pe=Le,Fe=function(e){return(0,n.createElement)("svg",(0,l.Z)({"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",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},e),(0,n.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"}))},Oe=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=[...e.membership.free,...t?e.membership.pro.filter((t=>!e.membership.free.includes(t))):[]];return a.map((t=>({className:`fa${t[0]} fa-${e.id}`,prefix:`fa${t[0]}`,iconName:e.id})))};var De=a(5112);let Ze=null,Ve=null;const qe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,`$1${t} `):e.match(/(<svg)/)?e.replace(/(<svg)/,`$1 class="${t}"`):e},Ge=e=>{let t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1");for(let e=0;e<2;e++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},We=e=>{const[t,a]=(0,n.useState)(""),[l,i]=(0,n.useState)([]),[s,d]=(0,n.useState)(!1),[m,b]=(0,n.useState)(!1),p=e.returnSVGValue;(0,n.useEffect)((()=>{let e=!0;return clearTimeout(Ze),Ze=setTimeout((()=>{e&&(d(!0),async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"icon",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.fontAwesomeSearchProIcons;const a=`{ search(version: "latest", first: 50, query: "${(e||"info").replace(/["'\\]/g,"")}") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t${t?"pro":""}\n\t\t\t}\n\t\t} }`;return(await fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then((e=>e.json()))).data.search.reduce(((e,a)=>(Oe(a,t).forEach((t=>{e.push(t)})),e)),[])}(t).then((t=>{e&&i(t)})).finally((()=>{e&&d(!1)})))}),500),()=>{e=!1,clearTimeout(Ze)}}),[t]),(0,n.useEffect)((()=>{Ve||(Ve=wp.data.select("core/block-editor").getSettings().mediaUpload),m?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Ve&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Ve})}),[m]);const h=o()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":u.isPro,"ugb-icon--has-upload":p,"ugb-icon--has-reset":e.allowReset});return(0,n.createElement)(r.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef,ref:e.useRef},(0,n.createElement)(r.PanelBody,null,(0,n.createElement)(De.FileDrop,{onFrameDragEnter:()=>b(!0),onFrameDragLeave:()=>b(!1),onFrameDrop:()=>b(!1),onDrop:t=>{if(!p||!t.length)return void b(!1);if("image/svg+xml"!==t[0].type)return void b(!1);const a=new FileReader;a.onload=function(t){b(!1);const a=Ge(qe(t.target.result));e.onChange(a),e.onClose()},a.readAsText(t[0])}},(0,n.createElement)("div",{className:h},(0,n.createElement)(r.TextControl,{className:"ugb-icon-popover__input",value:t,onChange:a,placeholder:(0,c.__)("Type to search icon",u.i18n)}),u.isPro&&(0,n.createElement)(g.Z,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:u.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:(0,c.__)("Icon Settings",u.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),p&&(0,n.createElement)(g.Z,{onClick:t=>{t.preventDefault();const a=document.createElement("input");a.accept="image/svg+xml",a.type="file",a.onchange=t=>{const a=t.target.files;if(!a.length)return void b(!1);const n=new FileReader;n.onload=function(t){b(!1);const a=Ge(qe(t.target.result));e.onChange(a),e.onClose()},n.readAsText(a[0])},a.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},(0,c.__)("Upload SVG",u.i18n)),e.allowReset&&(0,n.createElement)(g.Z,{onClick:()=>{e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},(0,c.__)("Clear icon",u.i18n))),(0,n.createElement)("div",{className:"ugb-icon-popover__iconlist"},s&&(0,n.createElement)(r.Spinner,null),!s&&l.map(((t,a)=>{let{prefix:l,iconName:i}=t;const o=`${l}-${i}`;return(0,n.createElement)("button",{key:a,className:`components-button ugb-prefix--${l} ugb-icon--${i}`,onClick:()=>{e.returnSVGValue?e.onChange(Ge((0,U.FE)(l,i))):e.onChange(o,l,i),e.onClose()}},(0,n.createElement)(en,{prefix:l,iconName:i}))})),!s&&!l.length&&(0,n.createElement)("p",{className:"components-base-control__help"},(0,c.__)("No matches found",u.i18n))),p&&m&&(0,n.createElement)("div",{className:"ugb-icon-popover__drop-indicator"},(0,n.createElement)(Fe,{height:"40",width:"40"}),(0,c.__)("Drop your SVG here",u.i18n)))))};We.defaultProps={onChange:()=>{},onClose:()=>{},onClickOutside:()=>{},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};const $e=We,je=e=>{let t=e.color||"transparent";if(Array.isArray(t)){const[e,a]=t;t=`linear-gradient(90deg, ${e||"transparent"}, ${a||"transparent"})`}const a=o()(["components-circular-option-picker__option-wrapper","ugb-button-icon-popover-control-color-preview"],{"ugb-button-icon-popover-control-color-preview--transparent":!t||"transparent"===t});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:a},(0,n.createElement)(g.Z,{className:"components-circular-option-picker__option",label:(0,c.__)("Selected color",u.i18n),style:{background:t},onClick:e.onClick,ref:e._ref}),e.children))};je.defaultProps={color:"",onClick:()=>{},_ref:null};const Qe=je,Ke=function(e){return(0,n.createElement)("svg",(0,l.Z)({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,n.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,n.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"}))},Je=e=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",{className:"components-circular-option-picker__option-wrapper ugb-button-icon-popover-control-image-preview"},(0,n.createElement)(g.Z,{className:"components-circular-option-picker__option",label:(0,c.__)("Selected image",u.i18n),style:{backgroundImage:e.imageUrl?`url(${e.imageUrl})`:void 0},onClick:e.onClick,ref:e._ref},!e.imageUrl&&(0,n.createElement)(Ke,null)),e.children));Je.defaultProps={imageUrl:"",onClick:()=>{},_ref:null};const Xe=Je;let Ye=1;const et={};class tt extends n.Component{constructor(){super(...arguments),this.state={open:et[this.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this),this.handleMouseEnter=this.handleMouseEnter.bind(this),this.handleOnClickOutside=this.handleOnClickOutside.bind(this),this.handleReset=this.handleReset.bind(this),this.buttonRef=(0,n.createRef)(),this.buttonRefColorPreview=(0,n.createRef)(),this.buttonRefImagePreview=(0,n.createRef)(),this.instanceId=Ye++}checkIfAttributeShouldToggleOn(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;let a=!1;return this.props.toggleOnSetAttributes.some((t=>!(!Object.keys(e).includes(t)||""===e[t]||(a=!0,0)))),a?{...e,[this.props.toggleAttributeName]:!0}:e}componentDidMount(){(0,k.addFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`,this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}componentWillUnmount(){et[this.props.label]=this.state.open,setTimeout((()=>{delete et[this.props.label]}),500),(0,k.removeFilter)("stackable.setAttributes",`stackable/button-icon-popover-control-${this.instanceId}`),document.removeEventListener("mousedown",this.handleOnClickOutside)}handleOpen(){this.setState({open:!this.state.open})}handleClose(){this.setState({open:!1})}handleMouseLeave(){this.setState({isMouseOutside:!0})}handleMouseEnter(){this.setState({isMouseOutside:!1})}handleReset(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}handleOnClickOutside(e){var t,a,n,l;null!==(t=window.wp)&&void 0!==t&&null!==(a=t.media)&&void 0!==a&&null!==(n=a.frame)&&void 0!==n&&null!==(l=n.el)&&void 0!==l&&l.clientHeight||this.state.open&&(e.target.closest(".ugb-button-icon-control__popover")||e.target.closest(".ugb-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}render(){return(0,n.createElement)(on,{help:this.props.help,label:!this.props.onToggle&&(0,n.createElement)("label",{htmlFor:`ugb-button-icon-control__edit-${this.instanceId}`},this.props.label),id:"ugb-button-icon-control",className:o()("ugb-button-icon-control",this.props.className),allowReset:!0,showReset:this.props.allowReset||!!this.props.onToggle&&this.props.checked,onReset:()=>{this.props.onReset(),this.props.onToggle&&this.props.onToggle(!1)},hasLabel:!this.props.onToggle},this.props.onToggle&&(0,n.createElement)(r.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),(0,n.createElement)("div",{className:"ugb-button-icon-control__wrapper"},this.props.hasImagePreview&&(0,n.createElement)(Xe,{imageUrl:this.props.imageUrlPreview,onClick:this.handleOpen,_ref:this.buttonRefImagePreview}),this.props.hasColorPreview&&(0,n.createElement)(Qe,{color:this.props.colorPreview,onClick:this.handleOpen,_ref:this.buttonRefColorPreview}),this.props.renderCustomPreview&&this.props.renderCustomPreview(),(0,n.createElement)(g.Z,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:(0,c.__)("Edit",u.i18n),isSecondary:!0,icon:"edit",id:`ugb-button-icon-control__edit-${this.instanceId}`,ref:this.buttonRef}),this.state.open&&(0,n.createElement)(r.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},(0,n.createElement)(r.PanelBody,null,(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&(0,n.createElement)("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}tt.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:()=>{},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",colorPreview:null,imageUrlPreview:"",hasColorPreview:!1,hasImagePreview:!1,renderCustomPreview:null};const at=tt,nt=e=>{const t=(0,U.Ad)(e.imageData,e.size||"full");let a=e.widthMax||1e3,l=0;e.imageData&&e.onChangeSize&&t&&(a=t.width,l=t.height);const i=!!t&&t.width===t.height;return(0,n.createElement)(n.Fragment,null,e.onChangeImage&&(0,n.createElement)(A,{label:(0,c.__)("Image",u.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:"",width:"",height:""}),onChange:t=>{let{url:a,width:n,height:l}=t;const i=e.size||"full";t.sizes[i]&&(a=t.sizes[i].url,n=t.sizes[i].width,l=t.sizes[i].height),e.onChangeImage({id:t.id,url:a,width:n,height:l})}}),e.onChangeShape&&(0,n.createElement)(L,{isSquareImage:i,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),(0,n.createElement)(Ka.Z,null),e.onChangeAlt&&(0,n.createElement)(N,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&(0,n.createElement)(F,{label:(0,c.__)("Image Size",u.i18n),value:e.size,onChange:t=>{const a=(0,U.Ad)(e.imageData,t||"full");let n="",l="",i=e.url;a&&(n=a.width,l=a.height,i=a.source_url),e.onChangeSize(t,i,n,l)}}),e.onChangeWidth&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(W,{label:(0,c.__)("Image Width",u.i18n),value:e.width,placeholder:e.placeholder,max:a,min:0,onChange:t=>{const n=l/a;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(n*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(W,{label:(0,c.__)("Image Width",u.i18n),value:e.tabletWidth,max:a,min:0,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(W,{label:(0,c.__)("Image Width",u.i18n),value:e.mobileWidth,max:a,min:0,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&(0,n.createElement)(n.Fragment,null,("number"==typeof e.width||e.width)&&(0,n.createElement)(aa,null,(0,n.createElement)(dn,{label:(0,c.__)("Force square image",u.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(dn,{label:(0,c.__)("Force square image",u.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(dn,{label:(0,c.__)("Force square image",u.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square",defaultValue:!0}))),e.onChangeBorderRadius&&""===e.shape&&(0,n.createElement)(W,{label:(0,c.__)("Border Radius",u.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&&(0,n.createElement)(W,{label:(0,c.__)("Shadow / Outline",u.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&(0,n.createElement)(S,{label:(0,c.__)("Blend Mode",u.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};nt.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a,width:n,height:l}=e},shape:"",onChangeShape:()=>{},shapeStretch:"",onChangeShapeStretch:()=>{},alt:"",onChangeAlt:()=>{},size:"large",onChangeSize:()=>{},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:()=>{},onChangeTabletWidth:()=>{},onChangeMobileWidth:()=>{},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:()=>{},onChangeTabletSquare:()=>{},onChangeMobileSquare:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},shadow:"",onChangeShadow:()=>{},blendMode:"",onChangeBlendMode:()=>{}};const lt=(0,v.compose)((0,H.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return(0,U.yq)(t.id,e),{imageData:t.id?a(t.id):null}})))(nt),it=e=>(0,n.createElement)(n.Fragment,null,e.onChangeImage&&(0,n.createElement)(A,{label:(0,c.__)("Image",u.i18n),imageID:e.id,imageURL:e.url,onRemove:()=>e.onChangeImage({url:"",id:""}),onChange:t=>{let{url:a}=t;const n=e.size||"full";t.sizes[n]&&(a=t.sizes[n].url),e.onChangeImage({id:t.id,url:a})}}),e.onChangeSize&&(0,n.createElement)(F,{label:(0,c.__)("Image Size",u.i18n),value:e.size,onChange:t=>{e.onChangeSize(t,(0,U.MA)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&(0,n.createElement)(j,{label:(0,c.__)("Background Image Position",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Top Left",u.i18n),value:"top left"},{label:(0,c.__)("Top Center",u.i18n),value:"top center"},{label:(0,c.__)("Top Right",u.i18n),value:"top right"},{label:(0,c.__)("Center Left",u.i18n),value:"center left"},{label:(0,c.__)("Center Center",u.i18n),value:"center center"},{label:(0,c.__)("Center Right",u.i18n),value:"center right"},{label:(0,c.__)("Bottom Left",u.i18n),value:"bottom left"},{label:(0,c.__)("Bottom Center",u.i18n),value:"bottom center"},{label:(0,c.__)("Bottom Right",u.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&(0,n.createElement)(j,{label:(0,c.__)("Background Image Repeat",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("No-Repeat",u.i18n),value:"no-repeat"},{label:(0,c.__)("Repeat",u.i18n),value:"repeat"},{label:(0,c.__)("Repeat-X",u.i18n),value:"repeat-x"},{label:(0,c.__)("Repeat-Y",u.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&(0,n.createElement)(j,{label:(0,c.__)("Background Image Size",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Auto",u.i18n),value:"auto"},{label:(0,c.__)("Cover",u.i18n),value:"cover"},{label:(0,c.__)("Contain",u.i18n),value:"contain"},{label:(0,c.__)("Custom",u.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&(0,n.createElement)(W,{label:(0,c.__)("Custom Size",u.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}));it.defaultProps={id:"",url:"",onChangeImage:e=>{let{url:t,id:a}=e},size:"",onChangeSize:()=>{},backgroundPosition:"",onChangeBackgroundPosition:()=>{},backgroundRepeat:"",onChangeBackgroundRepeat:()=>{},backgroundSize:"",onChangeBackgroundSize:()=>{},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:()=>{},backgroundCustomSize:"",onChangeBackgroundCustomSize:()=>{}};const ot=(0,v.compose)((0,H.withSelect)(((e,t)=>{const{getMedia:a}=e("core");return(0,U.yq)(t.id,e),{imageData:t.id?a(t.id):null}})))(it),rt=e=>{const t=(0,n.useMemo)((()=>"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder((0,U.th)(e.htmlTag,!0))):e.fontSize||e.placeholder||(0,U.th)(e.htmlTag,!0)),[e.htmlTag,e.fontSize]);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(at,{label:e.label,popoverLabel:e.popoverLabel,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className,help:e.help},e.onChangeFontFamily&&(0,n.createElement)(ge,{label:(0,c.__)("Font Family",u.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.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&&(0,n.createElement)(j,{label:(0,c.__)("Weight",u.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:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Normal",u.i18n),value:"normal"},{label:(0,c.__)("Bold",u.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&(0,n.createElement)(j,{label:(0,c.__)("Transform",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Uppercase",u.i18n),value:"uppercase"},{label:(0,c.__)("Lowercase",u.i18n),value:"lowercase"},{label:(0,c.__)("Capitalize",u.i18n),value:"capitalize"},{label:(0,c.__)("None",u.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(W,{label:(0,c.__)("Line-Height",u.i18n),units:e.lineHeightUnits,min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(W,{label:(0,c.__)("Line-Height",u.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(W,{label:(0,c.__)("Line-Height",u.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&(0,n.createElement)(W,{label:(0,c.__)("Letter Spacing",u.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&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletFontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(de,(0,l.Z)({label:(0,c.__)("Size",u.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};rt.defaultProps={label:(0,c.__)("Typography",u.i18n),popoverLabel:void 0,className:"ugb--help-tip-typography",showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",lineHeightUnits:["px","em"],tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:()=>{},onChangeFontFamily:()=>{},onChangeFontSize:()=>{},onChangeTabletFontSize:()=>{},onChangeMobileFontSize:()=>{},onChangeFontSizeUnit:()=>{},onChangeTabletFontSizeUnit:()=>{},onChangeMobileFontSizeUnit:()=>{},onChangeFontWeight:()=>{},onChangeTextTransform:()=>{},onChangeLineHeight:()=>{},onChangeTabletLineHeight:()=>{},onChangeMobileLineHeight:()=>{},onChangeLineHeightUnit:()=>{},onChangeTabletLineHeightUnit:()=>{},onChangeMobileLineHeightUnit:()=>{},onChangeLetterSpacing:()=>{}};const st=rt,ct=e=>{const{setAttributes:t}=e,a=t=>(0,d.camelCase)((0,c.sprintf)(e.attrNameTemplate,t));return(0,n.createElement)(st,(0,l.Z)({fontFamily:e.blockAttributes[a("FontFamily")]||"",fontSize:e.blockAttributes[a("FontSize")]||"",tabletFontSize:e.blockAttributes[a("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[a("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[a("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[a("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[a("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[a("FontWeight")]||"",textTransform:e.blockAttributes[a("TextTransform")]||"",letterSpacing:e.blockAttributes[a("LetterSpacing")]||"",lineHeight:e.blockAttributes[a("LineHeight")]||"",tabletLineHeight:e.blockAttributes[a("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[a("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[a("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[a("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[a("MobileLineHeightUnit")]||"em",onChangeFontFamily:e=>t({[a("FontFamily")]:e}),onChangeFontSize:e=>t({[a("FontSize")]:e}),onChangeTabletFontSize:e=>t({[a("TabletFontSize")]:e}),onChangeMobileFontSize:e=>t({[a("MobileFontSize")]:e}),onChangeFontSizeUnit:e=>t({[a("FontSizeUnit")]:e}),onChangeTabletFontSizeUnit:e=>t({[a("TabletFontSizeUnit")]:e}),onChangeMobileFontSizeUnit:e=>t({[a("MobileFontSizeUnit")]:e}),onChangeFontWeight:e=>t({[a("FontWeight")]:e}),onChangeTextTransform:e=>t({[a("TextTransform")]:e}),onChangeLetterSpacing:e=>t({[a("LetterSpacing")]:e}),onChangeLineHeight:e=>t({[a("LineHeight")]:e}),onChangeTabletLineHeight:e=>t({[a("TabletLineHeight")]:e}),onChangeMobileLineHeight:e=>t({[a("MobileLineHeight")]:e}),onChangeLineHeightUnit:e=>t({[a("LineHeightUnit")]:e}),onChangeTabletLineHeightUnit:e=>t({[a("TabletLineHeightUnit")]:e}),onChangeMobileLineHeightUnit:e=>t({[a("MobileLineHeightUnit")]:e}),onReset:()=>{t({[a("FontFamily")]:"",[a("FontSize")]:"",[a("TabletFontSize")]:"",[a("MobileFontSize")]:"",[a("FontSizeUnit")]:"px",[a("TabletFontSizeUnit")]:"px",[a("MobileFontSizeUnit")]:"px",[a("FontWeight")]:"",[a("TextTransform")]:"",[a("LetterSpacing")]:"",[a("LineHeight")]:"",[a("TabletLineHeight")]:"",[a("MobileLineHeight")]:"",[a("LineHeightUnit")]:"em",[a("TabletLineHeightUnit")]:"em",[a("MobileLineHeightUnit")]:"em"})}},e))};ct.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{}};const ut=ct,dt=e=>(0,n.createElement)(n.Fragment,null,e.onChangeBackgroundColorType&&(0,n.createElement)(r.BaseControl,{id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},(0,n.createElement)(ce.Z,{controls:[{value:"",title:(0,c.__)("Single",u.i18n)},{value:"gradient",title:(0,c.__)("Gradient",u.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&(0,n.createElement)(C,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&(0,n.createElement)(W,{label:(0,c.__)("Background Color Opacity",u.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&&(0,n.createElement)(C,{label:(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&(0,n.createElement)(at,{label:(0,c.__)("Adv. Gradient Color Settings",u.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&(0,n.createElement)(W,{label:(0,c.__)("Gradient Direction (degrees)",u.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&&(0,n.createElement)(W,{label:(0,c.sprintf)((0,c.__)("Color %d Location",u.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&&(0,n.createElement)(W,{label:(0,c.sprintf)((0,c.__)("Color %d Location",u.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&&(0,n.createElement)(S,{label:(0,c.__)("Background Gradient Blend Mode",u.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&(0,n.createElement)(Ka.Z,null),e.onChangeBackgroundMedia&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(A,{label:e.backgroundMediaAllowVideo?(0,c.__)("Background Image or Video",u.i18n):(0,c.__)("Background Image",u.i18n),help:e.backgroundMediaAllowVideo?(0,c.__)("Use .mp4 format for videos",u.i18n):"",onRemove:()=>e.onChangeBackgroundMedia({url:"",id:""}),onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(A,{label:e.backgroundMediaAllowVideo?(0,c.__)("Background Image or Video",u.i18n):(0,c.__)("Background Image",u.i18n),help:e.backgroundMediaAllowVideo?(0,c.__)("Use .mp4 format for videos",u.i18n):"",onRemove:()=>e.onChangeTabletBackgroundMedia({url:"",id:""}),onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(A,{label:e.backgroundMediaAllowVideo?(0,c.__)("Background Image or Video",u.i18n):(0,c.__)("Background Image",u.i18n),help:e.backgroundMediaAllowVideo?(0,c.__)("Use .mp4 format for videos",u.i18n):"",onRemove:()=>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)&&(0,n.createElement)(W,{label:(0,c.__)("Background Media Tint Strength",u.i18n),value:e.backgroundTintStrength,onChange:t=>{const a=void 0===t||""===t;""!==e.backgroundColor||a?"#000000"===e.backgroundColor&&a?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((e=>e)).filter(U.sM).length>0)&&(0,n.createElement)(dn,{label:(0,c.__)("Fixed Background",u.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&(0,n.createElement)(at,{label:(0,c.__)("Adv. Background Image Settings",u.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},(0,n.createElement)(aa,null,(0,n.createElement)(j,{label:(0,c.__)("Image Position",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Top Left",u.i18n),value:"top left"},{label:(0,c.__)("Top Center",u.i18n),value:"top center"},{label:(0,c.__)("Top Right",u.i18n),value:"top right"},{label:(0,c.__)("Center Left",u.i18n),value:"center left"},{label:(0,c.__)("Center Center",u.i18n),value:"center center"},{label:(0,c.__)("Center Right",u.i18n),value:"center right"},{label:(0,c.__)("Bottom Left",u.i18n),value:"bottom left"},{label:(0,c.__)("Bottom Center",u.i18n),value:"bottom center"},{label:(0,c.__)("Bottom Right",u.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(j,{label:(0,c.__)("Image Position",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Top Left",u.i18n),value:"top left"},{label:(0,c.__)("Top Center",u.i18n),value:"top center"},{label:(0,c.__)("Top Right",u.i18n),value:"top right"},{label:(0,c.__)("Center Left",u.i18n),value:"center left"},{label:(0,c.__)("Center Center",u.i18n),value:"center center"},{label:(0,c.__)("Center Right",u.i18n),value:"center right"},{label:(0,c.__)("Bottom Left",u.i18n),value:"bottom left"},{label:(0,c.__)("Bottom Center",u.i18n),value:"bottom center"},{label:(0,c.__)("Bottom Right",u.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(j,{label:(0,c.__)("Image Position",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Top Left",u.i18n),value:"top left"},{label:(0,c.__)("Top Center",u.i18n),value:"top center"},{label:(0,c.__)("Top Right",u.i18n),value:"top right"},{label:(0,c.__)("Center Left",u.i18n),value:"center left"},{label:(0,c.__)("Center Center",u.i18n),value:"center center"},{label:(0,c.__)("Center Right",u.i18n),value:"center right"},{label:(0,c.__)("Bottom Left",u.i18n),value:"bottom left"},{label:(0,c.__)("Bottom Center",u.i18n),value:"bottom center"},{label:(0,c.__)("Bottom Right",u.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),(0,n.createElement)(aa,null,(0,n.createElement)(j,{label:(0,c.__)("Image Repeat",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("No-Repeat",u.i18n),value:"no-repeat"},{label:(0,c.__)("Repeat",u.i18n),value:"repeat"},{label:(0,c.__)("Repeat-X",u.i18n),value:"repeat-x"},{label:(0,c.__)("Repeat-Y",u.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(j,{label:(0,c.__)("Image Repeat",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("No-Repeat",u.i18n),value:"no-repeat"},{label:(0,c.__)("Repeat",u.i18n),value:"repeat"},{label:(0,c.__)("Repeat-X",u.i18n),value:"repeat-x"},{label:(0,c.__)("Repeat-Y",u.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(j,{label:(0,c.__)("Image Repeat",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("No-Repeat",u.i18n),value:"no-repeat"},{label:(0,c.__)("Repeat",u.i18n),value:"repeat"},{label:(0,c.__)("Repeat-X",u.i18n),value:"repeat-x"},{label:(0,c.__)("Repeat-Y",u.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),(0,n.createElement)(aa,null,(0,n.createElement)(j,{label:(0,c.__)("Image Size",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Auto",u.i18n),value:"auto"},{label:(0,c.__)("Cover",u.i18n),value:"cover"},{label:(0,c.__)("Contain",u.i18n),value:"contain"},{label:(0,c.__)("Custom",u.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(j,{label:(0,c.__)("Image Size",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Auto",u.i18n),value:"auto"},{label:(0,c.__)("Cover",u.i18n),value:"cover"},{label:(0,c.__)("Contain",u.i18n),value:"contain"},{label:(0,c.__)("Custom",u.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(j,{label:(0,c.__)("Image Size",u.i18n),options:[{label:(0,c.__)("Default",u.i18n),value:""},{label:(0,c.__)("Auto",u.i18n),value:"auto"},{label:(0,c.__)("Cover",u.i18n),value:"cover"},{label:(0,c.__)("Contain",u.i18n),value:"contain"},{label:(0,c.__)("Custom",u.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&(0,n.createElement)(aa,null,(0,n.createElement)(W,{label:(0,c.__)("Custom Size",u.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&&(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(W,{label:(0,c.__)("Custom Size",u.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&&(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(W,{label:(0,c.__)("Custom Size",u.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&&(0,n.createElement)(S,{label:(0,c.__)("Image Blend Mode",u.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})));dt.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColorOpacity:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeTabletBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeMobileBackgroundMedia:e=>{let{url:t,id:a}=e},onChangeBackgroundTintStrength:()=>{},onChangeFixedBackground:()=>{},labelBackgroundColorType:(0,c.__)("Background Color Type",u.i18n),labelBackgroundColor:(0,c.__)("Background Color",u.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:()=>{},onChangeBackgroundGradientDirection:()=>{},onChangeBackgroundGradientBlendMode:()=>{},onChangeBackgroundGradientLocation1:()=>{},onChangeBackgroundGradientLocation2:()=>{},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:()=>{},onChangeBackgroundPosition:()=>{},onChangeTabletBackgroundPosition:()=>{},onChangeMobileBackgroundPosition:()=>{},onChangeBackgroundRepeat:()=>{},onChangeTabletBackgroundRepeat:()=>{},onChangeMobileBackgroundRepeat:()=>{},onChangeBackgroundSize:()=>{},onChangeTabletBackgroundSize:()=>{},onChangeMobileBackgroundSize:()=>{},onChangeBackgroundCustomSize:()=>{},onChangeTabletBackgroundCustomSize:()=>{},onChangeMobileBackgroundCustomSize:()=>{},onChangeBackgroundCustomSizeUnit:()=>{},onChangeTabletBackgroundCustomSizeUnit:()=>{},onChangeMobileBackgroundCustomSizeUnit:()=>{},onChangeBackgroundImageBlendMode:()=>{}};const mt=dt,bt=e=>{const t=e.design?e.design:"basic",a=e.size?e.size:"normal",l="basic"===t;return(0,n.createElement)(n.Fragment,null,e.onChangeUrl&&(0,n.createElement)(b,{label:(0,c.__)("Link / URL",u.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&(0,n.createElement)(dn,{label:(0,c.__)("Open link in new tab",u.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&(0,n.createElement)(dn,{label:(0,c.__)("Nofollow link",u.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&e.onChangeSponsored&&(0,n.createElement)(dn,{label:(0,c.__)("Sponsored",u.i18n),checked:e.sponsored,onChange:e.onChangeSponsored}),e.onChangeUrl&&e.onChangeUgc&&(0,n.createElement)(dn,{label:(0,c.__)("UGC",u.i18n),checked:e.ugc,onChange:e.onChangeUgc}),e.onChangeUrl&&(0,n.createElement)(Ka.Z,null),e.onChangeDesign&&(0,n.createElement)(He,{label:(0,c.__)("Design",u.i18n),selected:t,options:[{label:(0,c.__)("Basic",u.i18n),value:"basic",image:"dist/images/components-button-controls-basic.491974a.png"},{label:(0,c.__)("Ghost",u.i18n),value:"ghost",image:"dist/images/components-button-controls-ghost.a0ffb12.png"},{label:(0,c.__)("Plain",u.i18n),value:"plain",image:"dist/images/components-button-controls-plain.c53a21e.png"},...e.onChangeUseSocialColors?[]:[{label:(0,c.__)("Link",u.i18n),value:"link",image:"dist/images/components-button-controls-link.0f2d52b.png"}],...(0,k.applyFilters)("stackable.button-controls.layouts",[])],onChange:e.onChangeDesign,columns:4}),(0,n.createElement)(Ka.Z,null),e.onChangeUseSocialColors&&(0,n.createElement)(dn,{label:(0,c.__)("Use social colors",u.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,n.createElement)(n.Fragment,null,e.onChangeBackgroundColorType&&l&&(0,n.createElement)(r.BaseControl,{id:"button-color-type",className:"ugb--help-tip-button-color-type"},(0,n.createElement)(ce.Z,{controls:[{value:"",title:(0,c.__)("Single",u.i18n)},{value:"gradient",title:(0,c.__)("Gradient",u.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&"link"!==t&&(0,n.createElement)(C,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&l?(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),(0,c.__)("Button Color",u.i18n),1):(0,c.__)("Button Color",u.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&l&&(0,n.createElement)(C,{label:(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),(0,c.__)("Button Color",u.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&l&&(0,n.createElement)(W,{label:(0,c.__)("Gradient Direction (degrees)",u.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&&l&&(0,n.createElement)(C,{label:(0,c.__)("Text Color",u.i18n),value:e.textColor,onChange:e.onChangeTextColor})),"link"!==t&&(0,n.createElement)(Ka.Z,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&(0,n.createElement)(dn,{label:(0,c.__)("Change to Normal Button on Hover",u.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&(0,n.createElement)(j,{label:(0,c.__)("Hover Effect",u.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:(0,c.__)("None",u.i18n)},{value:"lift",label:(0,c.__)("Lift",u.i18n)},{value:"scale",label:(0,c.__)("Scale",u.i18n)},{value:"lift-scale",label:(0,c.__)("Lift & Scale",u.i18n)},{value:"scale-more",label:(0,c.__)("Scale More",u.i18n)},{value:"lift-scale-more",label:(0,c.__)("Lift & Scale More",u.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&(0,n.createElement)(W,{label:e.hoverOpacityLabel,value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&(0,n.createElement)(at,{label:e.hoverColorsLabel,onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&(0,n.createElement)(C,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&l)?(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),(0,c.__)("Button Color",u.i18n),1):(0,c.__)("Button Color",u.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&l)&&(0,n.createElement)(C,{label:(0,c.sprintf)((0,c._x)("%s #%d","Panel title",u.i18n),(0,c.__)("Button Color",u.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&l)&&(0,n.createElement)(W,{label:(0,c.__)("Gradient Direction (degrees)",u.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||l)&&(0,n.createElement)(C,{label:(0,c.__)("Text Color",u.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&(0,n.createElement)(Ka.Z,null),e.hasTypography&&"link"!==t&&(0,n.createElement)(ut,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&(0,n.createElement)(j,{label:(0,c.__)("Button Size",u.i18n),value:a,options:[{value:"tiny",label:(0,c.__)("Tiny",u.i18n)},{value:"small",label:(0,c.__)("Small",u.i18n)},{value:"normal",label:(0,c.__)("Normal",u.i18n)},{value:"medium",label:(0,c.__)("Medium",u.i18n)},{value:"large",label:(0,c.__)("Large",u.i18n)}],onChange:e.onChangeSize,defaultValue:"normal",className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&(0,n.createElement)(W,{label:(0,c.__)("Border Radius",u.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&&(0,n.createElement)(Ot,{label:(0,c.__)("Vertical Padding",u.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:8,className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&(0,n.createElement)(Ot,{label:(0,c.__)("Horizontal Padding",u.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:26,className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&(0,n.createElement)(W,{label:(0,c.__)("Border Width",u.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&(0,n.createElement)(W,{label:(0,c.__)("Shadow",u.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),e.onChangeOpacity&&(0,n.createElement)(W,{label:(0,c.__)("Opacity",u.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeIcon&&"link"!==t&&(0,n.createElement)(Ka.Z,null),e.onChangeIcon&&"link"!==t&&(0,n.createElement)(Pe,{label:(0,c.__)("Icon",u.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&(0,n.createElement)(at,{label:(0,c.__)("Adv. Icon Settings",u.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&(0,n.createElement)(W,{label:(0,c.__)("Icon Size",u.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&(0,n.createElement)(j,{label:(0,c.__)("Icon Position",u.i18n),value:e.iconPosition,options:[{value:"",label:(0,c.__)("Left",u.i18n)},{value:"right",label:(0,c.__)("Right",u.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&(0,n.createElement)(W,{label:(0,c.__)("Icon Spacing",u.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};bt.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},design:"",onChangeDesign:()=>{},url:"",newTab:"",noFollow:"",sponsored:"",ugc:"",onChangeUrl:()=>{},onChangeNewTab:()=>{},onChangeNoFollow:()=>{},onChangeSponsored:()=>{},onChangeUgc:()=>{},size:"",onChangeSize:()=>{},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:()=>{},onChangeTextColor:()=>{},onChangeBackgroundColorType:()=>{},onChangeBackgroundColor:()=>{},onChangeBackgroundColor2:()=>{},onChangeBackgroundGradientDirection:()=>{},hasHoverColors:!0,onResetHoverColors:()=>{},hoverEffect:"",hoverOpacity:"",hoverOpacityLabel:(0,c.__)("Hover Opacity",u.i18n),hoverTextColor:"",hoverColorsLabel:(0,c.__)("Hover Colors",u.i18n),hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:()=>{},onChangeHoverOpacity:()=>{},onChangeHoverTextColor:()=>{},onChangeHoverBackgroundColor:()=>{},onChangeHoverBackgroundColor2:()=>{},onChangeHoverBackgroundGradientDirection:()=>{},onChangeHoverGhostToNormal:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},borderWidth:"",onChangeBorderWidth:()=>{},shadow:"",onChangeShadow:()=>{},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:()=>{},hasAdvancedIcon:!0,onResetAdvancedIcon:()=>{},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:()=>{},onChangeIconSize:()=>{},onChangeIconPosition:()=>{},onChangeIconSpacing:()=>{},useSocialColors:!0,onChangeUseSocialColors:null};const gt=bt,pt=e=>{const{setAttributes:t}=e,a=t=>(0,d.camelCase)((0,c.sprintf)(e.attrNameTemplate,t)),i=(0,U.CA)(e.blockAttributes,a,"");return(0,n.createElement)(gt,(0,l.Z)({design:e.blockAttributes[a("Design")]||"",onChangeDesign:e=>t({[a("Design")]:e}),url:e.blockAttributes[a("Url")]||"",newTab:e.blockAttributes[a("NewTab")]||"",noFollow:e.blockAttributes[a("NoFollow")]||"",sponsored:e.blockAttributes[a("Sponsored")]||"",ugc:e.blockAttributes[a("Ugc")]||"",onChangeUrl:e=>t({[a("Url")]:e}),onChangeNewTab:e=>t({[a("NewTab")]:e}),onChangeNoFollow:e=>t({[a("NoFollow")]:e}),onChangeSponsored:e=>t({[a("Sponsored")]:e}),onChangeUgc:e=>t({[a("Ugc")]:e}),size:e.blockAttributes[a("Size")]||"",onChangeSize:e=>t({[a("Size")]:e}),opacity:e.blockAttributes[a("Opacity")]||"",textColor:e.blockAttributes[a("TextColor")]||"",backgroundColorType:e.blockAttributes[a("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[a("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[a("BackgroundColor2")]||"",backgroundGradientDirection:i("BackgroundGradientDirection"),onChangeOpacity:e=>t({[a("Opacity")]:e}),onChangeTextColor:e=>t({[a("TextColor")]:e}),onChangeBackgroundColorType:e=>t({[a("BackgroundColorType")]:e}),onChangeBackgroundColor:e=>t({[a("BackgroundColor")]:e}),onChangeBackgroundColor2:e=>t({[a("BackgroundColor2")]:e}),onChangeBackgroundGradientDirection:e=>t({[a("BackgroundGradientDirection")]:e}),onResetHoverColors:()=>{t({[a("HoverBackgroundColor")]:"",[a("HoverBackgroundColor2")]:"",[a("HoverBackgroundGradientDirection")]:"",[a("HoverTextColor")]:""})},hoverEffect:e.blockAttributes[a("HoverEffect")]||"",hoverOpacity:e.blockAttributes[a("HoverOpacity")]||"",hoverOpacityLabel:e.hoverOpacityLabel,hoverColorsLabel:e.hoverColorsLabel,hoverTextColor:e.blockAttributes[a("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[a("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[a("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:i("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[a("HoverGhostToNormal")]||"",onChangeHoverEffect:e=>t({[a("HoverEffect")]:e}),onChangeHoverOpacity:e=>t({[a("HoverOpacity")]:e}),onChangeHoverTextColor:e=>t({[a("HoverTextColor")]:e}),onChangeHoverBackgroundColor:e=>t({[a("HoverBackgroundColor")]:e}),onChangeHoverBackgroundColor2:e=>t({[a("HoverBackgroundColor2")]:e}),onChangeHoverBackgroundGradientDirection:e=>t({[a("HoverBackgroundGradientDirection")]:e}),onChangeHoverGhostToNormal:e=>t({[a("HoverGhostToNormal")]:e}),borderRadius:e.blockAttributes[a("BorderRadius")],borderWidth:e.blockAttributes[a("BorderWidth")],shadow:e.blockAttributes[a("Shadow")],onChangeBorderRadius:e=>t({[a("BorderRadius")]:e}),onChangeBorderWidth:e=>t({[a("BorderWidth")]:e}),onChangeShadow:e=>t({[a("Shadow")]:e}),paddingTop:i("PaddingTop"),paddingRight:i("PaddingRight"),paddingBottom:i("PaddingBottom"),paddingLeft:i("PaddingLeft"),onChangePaddings:e=>{const n={};void 0!==e.top&&(n[a("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(n[a("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(n[a("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(n[a("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(n)},icon:e.blockAttributes[a("Icon")]||"",onChangeIcon:e.enableIcon?e=>t({[a("Icon")]:e}):null,onResetAdvancedIcon:()=>{t({[a("IconSize")]:"",[a("IconPosition")]:"",[a("IconSpacing")]:""})},iconSize:e.blockAttributes[a("IconSize")]||"",iconPosition:e.blockAttributes[a("IconPosition")]||"",iconSpacing:e.blockAttributes[a("IconSpacing")],onChangeIconSize:e=>t({[a("IconSize")]:e}),onChangeIconPosition:e=>t({[a("IconPosition")]:e}),onChangeIconSpacing:e=>t({[a("IconSpacing")]:e})},e))};pt.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},enableIcon:!0,hoverOpacityLabel:(0,c.__)("Hover Opacity",u.i18n),hoverColorsLabel:(0,c.__)("Hover Colors",u.i18n)};const ht=pt,vt=e=>(0,n.createElement)(n.Fragment,null,e.onChangeBorderType&&(0,n.createElement)(ce.Z,{label:(0,c.__)("Borders",u.i18n),controls:[{value:"",title:(0,c.__)("None",u.i18n)},{value:"solid",title:(0,c.__)("Solid",u.i18n)},{value:"dashed",title:(0,c.__)("Dashed",u.i18n)},{value:"dotted",title:(0,c.__)("Dotted",u.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&(0,n.createElement)(xt,{label:(0,c.__)("Border Width"),units:["px"],min:0,max:99,step:1,sliderMax:5,defaultLocked:!0,valueDesktop:{top:e.borderWidthTop,right:e.borderWidthRight,bottom:e.borderWidthBottom,left:e.borderWidthLeft},onChangeDesktop:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):"",borderType:e.borderType?void 0:"solid"})},valueTablet:{top:e.tabletBorderWidthTop,right:e.tabletBorderWidthRight,bottom:e.tabletBorderWidthBottom,left:e.tabletBorderWidthLeft},onChangeTablet:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeTabletBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):""})},valueMobile:{top:e.mobileBorderWidthTop,right:e.mobileBorderWidthRight,bottom:e.mobileBorderWidthBottom,left:e.mobileBorderWidthLeft},onChangeMobile:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeMobileBorderWidth({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):""})},placeholder:"1",placeholderTop:"1",placeholderLeft:"1",placeholderBottom:"1",placeholderRight:"1"}),e.onChangeBorderColor&&e.borderType&&(0,n.createElement)(C,{value:e.borderColor,onChange:t=>{e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:(0,c.__)("Border Color",u.i18n)}));vt.defaultProps={onResetBorder:()=>{},borderType:"",onChangeBorderType:()=>{},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:()=>{},onChangeTabletBorderWidth:()=>{},onChangeMobileBorderWidth:()=>{},borderColor:"",onChangeBorderColor:()=>{}};const kt=vt,ft=e=>{const t=e.design?e.design:"basic",a="shaped"===t||"outlined"===t;return(0,n.createElement)(n.Fragment,null,e.onChangeIcon&&(0,n.createElement)(Pe,{label:(0,c.__)("Icon",u.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&(0,n.createElement)(He,{label:(0,c.__)("Design",u.i18n),selected:e.design,columns:3,options:[{label:(0,c.__)("Plain",u.i18n),value:"plain",image:"dist/images/components-icon-controls-plain.9b70a90.png"},{label:(0,c.__)("Shaped",u.i18n),value:"shaped",image:"dist/images/components-icon-controls-shaped.bd63950.png"},{label:(0,c.__)("Outlined",u.i18n),value:"outlined",image:"dist/images/components-icon-controls-outlined.fcce4ac.png"},...(0,k.applyFilters)("stackable.icon-controls.edit.layouts",[])],onChange:e.onChangeDesign}),u.showProNotice&&(0,n.createElement)(Bt,{title:(0,c.__)("Say Hello to Gorgeous Icons 👋",u.i18n),description:(0,c.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",u.i18n)}),u.showProNotice&&(0,n.createElement)(r.BaseControl,{label:(0,c.__)("Icon Color Type",u.i18n),id:"icon-color-type"},(0,n.createElement)(ce.Z,{controls:[{value:"",title:(0,c.__)("Single",u.i18n)},{value:"gradient",title:(0,c.__)("Gradient",u.i18n),className:"ugb--is-premium",disabled:!0},{value:"multicolor",title:(0,c.__)("Multicolor",u.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,k.applyFilters)("stackable.icon-controls.edit.color",(0,n.createElement)(n.Fragment,null,e.onChangeColor&&(0,n.createElement)(C,{label:(0,c.__)("Icon Color",u.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&(0,n.createElement)(Ka.Z,null),a&&e.onChangeBackgroundColor&&(0,n.createElement)(n.Fragment,null,u.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&(0,n.createElement)(r.BaseControl,{label:(0,c.__)("Icon Shape / Outline Color",u.i18n),id:"icon-shape-color-type"},(0,n.createElement)(ce.Z,{controls:[{value:"",title:(0,c.__)("Single",u.i18n)},{value:"gradient",title:(0,c.__)("Gradient",u.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),(0,k.applyFilters)("stackable.icon-controls.edit.background-color",(0,n.createElement)(n.Fragment,null,e.onChangeBackgroundColor&&(0,n.createElement)(C,{label:(0,c.__)("Icon Shape / Outline Color",u.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&(0,n.createElement)(W,{label:"shaped"===e.design?(0,c.__)("Icon Shape Border Radius",u.i18n):(0,c.__)("Outline Border Radius",u.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&(0,n.createElement)(W,{label:"shaped"===e.design?(0,c.__)("Icon Shape Padding",u.i18n):(0,c.__)("Outline Padding",u.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&(0,n.createElement)(W,{label:(0,c.__)("Shadow / Outline",u.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&&(0,n.createElement)(W,{label:(0,c.__)("Outline Width",u.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&(0,n.createElement)(Ka.Z,null)),e.onChangeSize&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,null,(0,n.createElement)(W,{label:(0,c.__)("Icon Size",u.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(W,{label:(0,c.__)("Icon Size",u.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(W,{label:(0,c.__)("Icon Size",u.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&(0,n.createElement)(W,{label:(0,c.__)("Icon Opacity",u.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&(0,n.createElement)(W,{label:(0,c.__)("Icon Rotation",u.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),(0,k.applyFilters)("stackable.icon-controls.edit.after",null,e))};ft.defaultProps={icon:"",onChangeIcon:()=>{},design:"",onChangeDesign:()=>{},colorType:"",onChangeColorType:()=>{},color:"",onChangeColor:()=>{},color2:"",onChangeColor2:()=>{},colorGradientDirection:"",onChangeColorGradientDirection:()=>{},numPaths:"",color3:"",onChangeColor3:()=>{},color4:"",onChangeColor4:()=>{},color5:"",onChangeColor5:()=>{},color6:"",onChangeColor6:()=>{},color7:"",onChangeColor7:()=>{},color8:"",onChangeColor8:()=>{},color9:"",onChangeColor9:()=>{},color10:"",onChangeColor10:()=>{},multiOpacity1:"",onChangeMultiOpacity1:()=>{},multiOpacity2:"",onChangeMultiOpacity2:()=>{},multiOpacity3:"",onChangeMultiOpacity3:()=>{},multiOpacity4:"",onChangeMultiOpacity4:()=>{},multiOpacity5:"",onChangeMultiOpacity5:()=>{},multiOpacity6:"",onChangeMultiOpacity6:()=>{},multiOpacity7:"",onChangeMultiOpacity7:()=>{},multiOpacity8:"",onChangeMultiOpacity8:()=>{},multiOpacity9:"",onChangeMultiOpacity9:()=>{},multiOpacity10:"",onChangeMultiOpacity10:()=>{},borderRadius:"",onChangeBorderRadius:()=>{},padding:"",onChangePadding:()=>{},shadow:"",onChangeShadow:()=>{},outlineWidth:"",onChangeOutlineWidth:()=>{},backgroundColorType:"",onChangeBackgroundColorType:()=>{},backgroundColor:"",onChangeBackgroundColor:()=>{},backgroundColor2:"",onChangeBackgroundColor2:()=>{},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:()=>{},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:()=>{},onChangeTabletSize:()=>{},onChangeMobileSize:()=>{},opacity:"",onChangeOpacity:()=>{},rotation:"",onChangeRotation:()=>{},showBackgroundShape:"",onChangeShowBackgroundShape:()=>{},backgroundShape:"",onChangeBackgroundShape:()=>{},backgroundShapeSize:"",onChangeBackgroundShapeSize:()=>{},backgroundShapeColor:"",onChangeBackgroundShapeColor:()=>{},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:()=>{},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:()=>{}};const yt=ft,Ct=e=>(0,n.createElement)(n.Fragment,null,e.socialUrlFields&&(0,n.createElement)(n.Fragment,null,Object.keys(U.lo).map((t=>(0,n.createElement)(r.TextControl,{key:t,className:"ugb-social-url-text-control",label:(0,c.sprintf)((0,c._x)("%s Link","name",u.i18n),U.lo[t].label),value:e[`${t}Url`],onChange:e[`onChange${(0,d.upperFirst)(t)}Url`],placeholder:"http://"})))),e.onChangeNewTab&&(0,n.createElement)(dn,{label:(0,c.__)("Open link in new tab",u.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),(0,n.createElement)(Ka.Z,null),(0,n.createElement)(ht,{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}));Ct.defaultProps={attrNameTemplate:"%s",setAttributes:()=>{},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:()=>{},useSocialColors:!0,onChangeUseSocialColors:()=>{}};const _t=Ct,Et=e=>{const t=(0,d.pick)(e,["label","units","screens","defaultLocked","enableTop","enableRight","enableBottom","enableLeft","className","sliderMax","sliderMin"]),a=Array.isArray(e.min)?e.min:[e.min,e.min,e.min],i=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],o=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],r=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],s=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(aa,{screen:"desktop"},(0,n.createElement)(Ot,(0,l.Z)({},t,{min:a[0],max:i[0],sliderMin:o[0],sliderMax:r[0],step:s[0],top:e.valueDesktop.top,right:e.valueDesktop.right,bottom:e.valueDesktop.bottom,left:e.valueDesktop.left,unit:e.valueDesktopUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeDesktop({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:t=>e.onChangeDesktopUnit(t),placeholder:e.placeholder,placeholderTop:e.placeholderTop,placeholderLeft:e.placeholderLeft,placeholderBottom:e.placeholderBottom,placeholderRight:e.placeholderRight}))),(0,n.createElement)(aa,{screen:"tablet"},(0,n.createElement)(Ot,(0,l.Z)({},t,{min:a[1],max:i[1],sliderMin:o[1],sliderMax:r[1],step:s[1],top:e.valueTablet.top,right:e.valueTablet.right,bottom:e.valueTablet.bottom,left:e.valueTablet.left,unit:e.valueTabletUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeTablet({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:t=>e.onChangeTabletUnit(t)}))),(0,n.createElement)(aa,{screen:"mobile"},(0,n.createElement)(Ot,(0,l.Z)({},t,{min:a[2],max:i[2],sliderMin:o[2],sliderMax:r[2],step:s[2],top:e.valueMobile.top,right:e.valueMobile.right,bottom:e.valueMobile.bottom,left:e.valueMobile.left,unit:e.valueMobileUnit||e.units[0],onChange:t=>{let{top:a,right:n,bottom:l,left:i}=t;e.onChangeMobile({top:a||0===a?parseInt(a,10):"",right:n||0===n?parseInt(n,10):"",bottom:l||0===l?parseInt(l,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:t=>e.onChangeMobileUnit(t)}))))};Et.defaultProps={label:(0,c.__)("Spacing",u.i18n),defaultLocked:!0,units:["px","em","%"],screens:["desktop","tablet","mobile"],min:0,max:1/0,sliderMax:null,sliderMin:null,step:1,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,valueDesktop:{},valueTablet:{},valueMobile:{},valueDesktopUnit:"",valueTabletUnit:"",valueMobileUnit:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onChangeDesktopUnit:()=>{},onChangeTabletUnit:()=>{},onChangeMobileUnit:()=>{},placeholderTop:"60",placeholderLeft:"35",placeholderBottom:"60",placeholderRight:"35",placeholder:"",className:"ugb--help-tip-advanced-column-paddings"};const xt=Et;var wt=a(9759);class St extends n.Component{constructor(){super(...arguments),this.state={isOpen:!!this.props.initialOpen&&this.props.initialOpen},this.onClick=this.onClick.bind(this)}onClick(){this.setState({isOpen:!this.state.isOpen})}render(){const e=o()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return(0,n.createElement)("div",{className:"components-base-control"},(0,n.createElement)("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},(0,n.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,n.createElement)("div",{className:"ugb-pro-control-more-dots__dot"}),(0,n.createElement)("div",{className:"ugb-pro-control-more-dots__dot"})),(0,n.createElement)("div",{className:e},(0,n.createElement)(wt.Z,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}const Bt=St;a(6246);var Tt=a(6500),At=a(2046);const zt=e=>{const t="all"===e.screens?["desktop","tablet","mobile"]:e.screens,a=(0,n.useMemo)((()=>{var t;return null===(t=e.units)||void 0===t?void 0:t.map((e=>({value:e})))}),[e.units])||[];return(0,n.createElement)("div",{className:"ugb-base-control-multi-label"},(0,n.createElement)("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),(0,n.createElement)(At.Z,{screens:t}),(0,n.createElement)("div",{className:"ugb-base-control-multi-label__units"},(0,n.createElement)(Tt.Z,{className:"stk-control-unit-toggle",value:e.unit,options:a,onChange:t=>e.onChangeUnit(t),labelPosition:"left",buttonLabel:(0,c.__)("Unit",u.i18n),hasLabels:!1,hasColors:!1}),e.afterButton))};zt.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],afterButton:null};const Nt=zt;class Mt extends n.Component{constructor(){super(...arguments);const e=this.getEnabledValues(),t=!e.length||e.every((t=>t===e[0])),a=e.every((e=>""===e));this.state={locked:a?this.props.defaultLocked:t},this.onToggleLock=this.onToggleLock.bind(this),this.onChangeTop=this.onChangeTop.bind(this),this.onChangeRight=this.onChangeRight.bind(this),this.onChangeBottom=this.onChangeBottom.bind(this),this.onChangeLeft=this.onChangeLeft.bind(this)}getEnabledValues(){return[...this.props.enableTop?[this.props.top]:[],...this.props.enableRight?[this.props.right]:[],...this.props.enableBottom?[this.props.bottom]:[],...this.props.enableLeft?[this.props.left]:[]]}getEnabledLocations(){return[...this.props.enableTop?["top"]:[],...this.props.enableRight?["right"]:[],...this.props.enableBottom?["bottom"]:[],...this.props.enableLeft?["left"]:[]]}filterOnlyEnabled(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,d.pick)(e,this.getEnabledLocations())}onToggleLock(){this.setState({locked:!this.state.locked})}onChangeTop(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),top:a})}onChangeRight(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),right:a})}onChangeBottom(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),bottom:a})}onChangeLeft(e){const t=e.target.value,a=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:a,right:a,bottom:a,left:a})):this.props.onChange({...this.getEnabledValues(),left:a})}render(){const{instanceId:e}=this.props,t=`ugb-four-number-control-${e}__item-`;return(0,n.createElement)(r.BaseControl,{help:this.props.help,className:o()("ugb-four-number-control",this.props.className)},(0,n.createElement)(Nt,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),(0,n.createElement)("div",{className:"ugb-four-number-control__wrapper"},(0,n.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-top`},(0,n.createElement)("input",{id:`${t}-top`,type:"number",onChange:this.onChangeTop,"aria-label":(0,c.__)("Top",u.i18n),value:this.props.top,placeholder:this.props.enableTop?"":(0,c.__)("auto",u.i18n),disabled:!this.props.enableTop}),(0,n.createElement)("span",null,(0,c.__)("Top",u.i18n))),(0,n.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-right`},(0,n.createElement)("input",{id:`${t}-right`,type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":(0,c.__)("auto",u.i18n),disabled:!this.props.enableRight}),(0,n.createElement)("span",null,(0,c.__)("Right",u.i18n))),(0,n.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-bottom`},(0,n.createElement)("input",{id:`${t}-bottom`,type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":(0,c.__)("auto",u.i18n),disabled:!this.props.enableBottom}),(0,n.createElement)("span",null,(0,c.__)("Bottom",u.i18n))),(0,n.createElement)("label",{className:"ugb-four-number-control__label",htmlFor:`${t}-left`},(0,n.createElement)("input",{id:`${t}-left`,type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":(0,c.__)("auto",u.i18n),disabled:!this.props.enableLeft}),(0,n.createElement)("span",null,(0,c.__)("Left",u.i18n))),(0,n.createElement)(g.Z,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:(0,n.createElement)(r.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}Mt.defaultProps={onChange:()=>{},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:()=>{},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0},(0,v.withInstanceId)(Mt);const It=function(e){return(0,n.createElement)("svg",(0,l.Z)({id:"all_svg__Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",xmlSpace:"preserve"},e),(0,n.createElement)("style",null,".all_svg__st0{fill:#555d63}"),(0,n.createElement)("path",{className:"all_svg__st0",d:"M13 11.5v-7l2.3-1.9c.3-.2.7-.1.7.1v10.5c0 .2-.3.3-.7.2L13 11.5zM3 4.5v7L.7 13.4c-.3.2-.7.1-.7-.1V2.7c0-.2.3-.3.7-.2l2.3 2zM11.5 3h-7L2.6.7c-.2-.3-.1-.7.1-.7h10.5c.2 0 .3.3.2.7L11.5 3zM4.5 13h7l1.9 2.3c.2.2.1.7-.2.7H2.7c-.2 0-.3-.3-.2-.7l2-2.3z"}))},Ht=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,n.createElement)("path",{d:"M3.8 13h8.4l2.2 2.3c.2.2.1.7-.2.7H1.8c-.3 0-.4-.3-.2-.7L3.8 13z",fill:"#555d63"}))},Ut=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,n.createElement)("path",{d:"M3 3.8v8.4L.7 14.3c-.3.3-.7.2-.7-.1V1.9c0-.4.4-.5.7-.3L3 3.8z",fill:"#555d63"}))},Rt=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,n.createElement)("path",{d:"M13 12.2V3.8l2.3-2.2c.3-.2.7-.1.7.2v12.4c0 .3-.3.4-.7.2L13 12.2z",fill:"#555d63"}))},Lt=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",opacity:.06,fill:"#555d63"}),(0,n.createElement)("path",{d:"M1.6.7c-.2-.3-.1-.7.2-.7h12.4c.3 0 .4.3.2.7L12.2 3H3.8L1.6.7z",fill:"#555d63"}))},Pt=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M0 0v16h16V0H0zm13 13H3V3h10v10z",fill:"#555d63"}))},Ft=e=>{var t;const[a,i]=(0,h.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[d,m]=(0,p.ED)(e);let b=a||{top:e.defaultTop,right:e.defaultRight,bottom:e.defaultBottom,left:e.defaultLeft};(void 0!==e.top||void 0!==e.right||void 0!==e.bottom||void 0!==e.left)&&(b={top:void 0!==e.top?e.top:e.enableTop?e.defaultTop:void 0,right:void 0!==e.right?e.right:e.enableRight?e.defaultRight:void 0,bottom:void 0!==e.bottom?e.bottom:e.enableBottom?e.defaultBottom:void 0,left:void 0!==e.left?e.left:e.enableLeft?e.defaultLeft:void 0});const v=void 0===e.onChange?i:e.onChange,k=e.enableTop&&""===b.top&&e.enableRight&&""===b.right&&e.enableBottom&&""===b.bottom&&e.enableLeft&&""===b.left,f=e.enableTop?b.top:e.enableRight?b.right:e.enableBottom?b.bottom:b.left,y=(0,n.useMemo)((()=>{let t=!0;return t=(!e.enableTop||b.top===f)&&t,t=(!e.enableRight||b.right===f)&&t,t=(!e.enableBottom||b.bottom===f)&&t,t=(!e.enableLeft||b.left===f)&&t,t}),[]),[C,_]=(0,n.useState)(k?e.defaultLocked:y),E=o()(["ugb-four-range-control__lock"],{"ugb--is-locked":e.hasLock&&C});m.after=e.hasLock&&(0,n.createElement)(g.Z,{className:E,onClick:()=>_(!C),isSecondary:!0,icon:C?(0,n.createElement)(It,null):(0,n.createElement)(Pt,null),label:C?(0,c.__)("Individual sides",u.i18n):(0,c.__)("All sides",u.i18n)});const x=!(null===(t=e.units)||void 0===t||!t.length),w=(0,O.Uj)(`${e.attribute}Unit`,e.responsive,e.hover),{clientId:S}=(0,s.useBlockEditContext)(),B=(0,O.kX)(S)[w];if(x){const t=e.units.indexOf(B)<0?0:e.units.indexOf(B);Array.isArray(e.min)&&(d.min=e.min[t]),Array.isArray(e.max)&&(d.max=e.max[t]),Array.isArray(e.sliderMin)&&(d.sliderMin=e.sliderMin[t]),Array.isArray(e.sliderMax)&&(d.sliderMax=e.sliderMax[t]),Array.isArray(e.step)&&(d.step=e.step[t]),Array.isArray(e.placeholder)&&(d.placeholder=e.placeholder[t]),d.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,0!==t&&(d.initialPosition="",d.placeholder=e.placeholder)}"Desktop"!==(0,O.hU)()&&(d.initialPosition="",d.placeholder=e.placeholder);const T=(0,n.useCallback)((t=>{v({top:e.enableTop?t:b.top,right:e.enableRight?t:b.right,bottom:e.enableBottom?t:b.bottom,left:e.enableLeft?t:b.left})})),A=(0,n.useCallback)((e=>{v({top:e,right:b.right,bottom:b.bottom,left:b.left})})),z=(0,n.useCallback)((e=>{v({top:b.top,right:e,bottom:b.bottom,left:b.left})})),N=(0,n.useCallback)((e=>{v({top:b.top,right:b.right,bottom:e,left:b.left})})),M=(0,n.useCallback)((e=>{v({top:b.top,right:b.right,bottom:b.bottom,left:e})}));return(0,n.createElement)(p.ZP,m,C&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(V,(0,l.Z)({},d,{value:f,onChange:T,allowReset:!1})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:f,default:e.defaultTop,onChange:T})),!C&&(0,n.createElement)(n.Fragment,null,e.enableTop&&(0,n.createElement)("div",{className:"ugb-four-range-control__range"},(0,n.createElement)(r.Tooltip,{text:(0,c.__)("Top",u.i18n)},(0,n.createElement)("span",{className:"ugb-four-range-control__icon"},(0,n.createElement)(Lt,null))),(0,n.createElement)(V,(0,l.Z)({},d,{value:b.top,onChange:A,allowReset:!1,placeholder:void 0===e.placeholderTop?d.placeholder:e.placeholderTop})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:b.top,default:e.defaultTop,onChange:A})),e.enableRight&&(0,n.createElement)("div",{className:"ugb-four-range-control__range"},(0,n.createElement)(r.Tooltip,{text:(0,c.__)("Right",u.i18n)},(0,n.createElement)("span",{className:"ugb-four-range-control__icon"},(0,n.createElement)(Rt,null))),(0,n.createElement)(V,(0,l.Z)({},d,{value:b.right,onChange:z,allowReset:!1,placeholder:void 0===e.placeholderRight?d.placeholder:e.placeholderRight})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:b.right,default:e.defaultRight,onChange:z})),e.enableBottom&&(0,n.createElement)("div",{className:"ugb-four-range-control__range"},(0,n.createElement)(r.Tooltip,{text:(0,c.__)("Bottom",u.i18n)},(0,n.createElement)("span",{className:"ugb-four-range-control__icon"},(0,n.createElement)(Ht,null))),(0,n.createElement)(V,(0,l.Z)({},d,{value:b.bottom,onChange:N,allowReset:!1,placeholder:void 0===e.placeholderBottom?d.placeholder:e.placeholderBottom})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:b.bottom,default:e.defaultBottom,onChange:N})),e.enableLeft&&(0,n.createElement)("div",{className:"ugb-four-range-control__range"},(0,n.createElement)(r.Tooltip,{text:(0,c.__)("Left",u.i18n)},(0,n.createElement)("span",{className:"ugb-four-range-control__icon"},(0,n.createElement)(Ut,null))),(0,n.createElement)(V,(0,l.Z)({},d,{value:b.left,onChange:M,allowReset:!1,placeholder:void 0===e.placeholderLeft?d.placeholder:e.placeholderLeft})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:b.left,default:e.defaultLeft,onChange:M}))))};Ft.defaultProps={defaultLocked:!0,hasLock:!0,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,defaultTop:"",defaultRight:"",defaultBottom:"",defaultLeft:"",placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,top:void 0,right:void 0,bottom:void 0,left:void 0,onChange:void 0};const Ot=(0,n.memo)(Ft);var Dt=a(8855);const Zt={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Vt={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},qt=e=>{let{getRailProps:t}=e;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("div",(0,l.Z)({style:Zt},t())),(0,n.createElement)("div",{style:Vt}))},Gt=e=>{const{domain:[t,a],handle:{id:i,value:o,percent:r},disabled:s=!1,getHandleProps:c}=e;return(0,n.createElement)("button",(0,l.Z)({role:"slider","aria-valuemin":t,"aria-valuemax":a,"aria-valuenow":o,disabled:s,style:{left:`${r}%`}},c(i)))},Wt=10,$t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<Wt){const a=Wt-e[t];e[t]=Wt,e[t-1]-=a}for(let t=0;t<e.length-1;t++)if(e[t]<Wt){const a=Wt-e[t];e[t]=Wt,e[t+1]-=a}if("right"===t)for(let t=e.length-1;t>=1;t--)if(e[t]<Wt){const a=Wt-e[t];e[t]=Wt,e[t-1]-=a}return e},jt={position:"relative",width:"100%"},Qt=[0,100],Kt=e=>{let t=0;return[...e,100].map((e=>{const a=e-t;return t+=a,a}))},Jt=e=>{let t=0;return[...e].pop(),e.reduce(((a,n,l)=>{if(l===e.length-1)return a;const i=n+t;return t+=n,a.push(i),a}),[])},Xt=e=>(0,n.createElement)(Dt.iR,{className:"ugb-column-widths-control__columns-slider",rootStyle:jt,mode:(e,t)=>{const a=e.map((e=>e.val)),n=t.map((e=>e.val));if((0,d.isEqual)(a,n))return t;if((e=>{const t=[0,...e,100];return t.some(((e,a)=>0!==a&&e-t[a-1]<10))})(n)){const[e,l]=((e,t)=>{let a,n=0;return t.some(((t,l)=>t!==e[l]&&(n=l,a=t>e[l]?"right":"left",!0))),[n,a]})(a,n),i=((e,t,a)=>{const n=Kt(e),l=$t(n,a);return Jt(l)})(n,0,l);i.forEach(((e,a)=>{t[a].val=e}))}return t},step:1,onUpdate:t=>e.onChange(Kt(t)),domain:Qt,values:Jt(e.value)},(0,n.createElement)(Dt.S0,null,(e=>{let{getRailProps:t}=e;return(0,n.createElement)(qt,{getRailProps:t})})),(0,n.createElement)(Dt.wO,null,(e=>{let{handles:t,getHandleProps:a}=e;return(0,n.createElement)("div",{className:"slider-handles"},t.map((e=>(0,n.createElement)(Gt,{key:e.id,handle:e,domain:Qt,getHandleProps:a}))))})));Xt.defaultProps={onChange:()=>{},value:[]};const Yt=e=>e.every((e=>!e)),ea=e=>{const t={gridTemplateColumns:(a=e.value,a.map((e=>(e/100*a.length).toFixed(2)+"fr")).join(" ")),gridAutoFlow:Yt(e.value)?"column":void 0,justifyContent:Yt(e.value)?"space-around":void 0};var a;return(0,n.createElement)("div",{className:"ugb-column-widths-control__columns-input",style:t},e.value.map(((t,a)=>(0,n.createElement)("input",{key:a,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:t=>{const n=parseInt(t.target.value,10),l=[...e.value];l[a]=isNaN(n)?"":n,e.onChange(l)},onBlur:()=>{const t=$t(e.value),n=100-t.reduce(((e,t)=>e+t),0);a<e.value.length-1?t[a+1]+=n:t[a-1]+=n,e.onChange($t(t))}}))))};ea.defaultProps={onChange:()=>{},value:[]};(0,c.__)("Column Widths",u.i18n);const ta=e=>{const t=(0,O.hU)(),a=n.Children.toArray(e.children).map((a=>(0,n.cloneElement)(a,{screens:e.screens,screen:t.toLowerCase()}))),l=t?(null==t?void 0:t.toLowerCase())===e.screen:"desktop"===e.screen.toLowerCase(),i=!e.screens.includes(t.toLowerCase())&&!l&&"Desktop"===t;return(0,n.createElement)(n.Fragment,null,(l||i)&&a)};ta.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};const aa=ta,na=[{value:"h1",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),1),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M8.5 13H5.8V8.9H2.7V13H0V3h2.7v3.7h3.1V3h2.7v10zM16 13h-2.7V7.7 5.9c-.2.2-.4.4-.6.7l-1.1.9-1.4-1.7L13.6 3H16v10z"}))}),null)},{value:"h2",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),2),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.7 12.7h-2v-4H2v4H0V3.4h2v3.7h3.7V3.4h2v9.3zM16 12.7H9.4v-1.4L11.8 9c.7-.7 1.1-1.2 1.4-1.5.2-.3.4-.5.5-.8.1-.2.1-.5.1-.7 0-.4-.1-.7-.3-.8-.2-.2-.5-.3-.8-.3-.4 0-.7.1-1 .3-.3.2-.7.4-1.1.7L9.4 4.6c.5-.4.8-.7 1.1-.8.3-.2.6-.3 1-.4.4-.1.8-.1 1.2-.1.6 0 1.1.1 1.6.3.5.2.8.5 1 .9s.4.8.4 1.3c0 .4-.1.8-.2 1.2-.2.4-.4.8-.7 1.2s-.9 1-1.7 1.7L11.9 11v.1H16v1.6z"}))}),null)},{value:"h3",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),3),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.7 12.6H6.2V8.4H2v4.2H.5V3.3H2v3.8h4.2V3.3h1.5v9.3zM15.2 5.5c0 .6-.2 1.1-.5 1.5-.3.4-.8.7-1.4.8v.1c.7.1 1.3.3 1.6.7.4.4.6.9.6 1.5 0 .9-.3 1.6-.9 2.1-.6.5-1.5.7-2.6.7-1 0-1.9-.2-2.5-.5v-1.3c.4.2.8.3 1.2.5.4.1.8.2 1.2.2.7 0 1.2-.1 1.6-.4.4-.3.5-.7.5-1.2s-.2-.9-.6-1.1-1-.3-1.8-.3h-.8V7.3h.8c1.4 0 2.2-.5 2.2-1.5 0-.4-.1-.7-.4-.9-.3-.2-.6-.3-1.1-.3-.4 0-.7 0-1 .1-.3.1-.7.3-1.1.6l-.7-1c.8-.6 1.8-.9 2.9-.9.9 0 1.6.2 2.1.6.4.2.7.8.7 1.5z"}))}),null)},{value:"h4",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),4),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.5 12.5H6v-4H1.9v4H.5v-9h1.4v3.7H6V3.5h1.4l.1 9zM15.5 10.5h-1.2v2h-1.4v-2h-4V9.4l4-5.9h1.4v5.8h1.2v1.2zm-2.6-1.2V7.1c0-.8 0-1.5.1-2-.1.3-.3.6-.5 1l-2.2 3.2h2.6z"}))}),null)},{value:"h5",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),5),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.7 12.1H6.3V8.4H2.4v3.8H1V3.8h1.4v3.4h3.9V3.8h1.4v8.3zM12.2 6.9c.9 0 1.5.2 2 .7.5.4.8 1 .8 1.8 0 .9-.3 1.6-.9 2.1-.6.5-1.4.7-2.4.7-.9 0-1.7-.1-2.2-.4v-1.2c.3.2.7.3 1.1.4.4.1.8.1 1.1.1.6 0 1.1-.1 1.4-.4.3-.3.5-.7.5-1.2 0-1-.6-1.5-1.9-1.5H11c-.3 0-.5.1-.7.1l-.7-.3.4-4h4.4V5h-3.2L11 7.1c.1 0 .3 0 .5-.1.2 0 .4-.1.7-.1z"}))}),null)},{value:"h6",title:(0,c.sprintf)((0,c._x)("%s %d","Nth Title",u.i18n),(0,c.__)("Heading",u.i18n),6),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.6 12.1H6.3V8.4H2.6v3.7H1.2V3.8h1.3v3.4h3.8V3.8h1.3v8.3zM9.2 8.6c0-3.2 1.3-4.8 3.9-4.8.4 0 .8 0 1 .1V5c-.3-.1-.6-.1-1-.1-.9 0-1.5.2-2 .7-.4.5-.7 1.2-.7 2.3h.1c.2-.3.4-.5.7-.7.3-.2.7-.2 1.1-.2.7 0 1.3.2 1.7.7s.6 1.1.6 1.9c0 .9-.2 1.5-.7 2.1-.5.5-1.1.8-2 .8-.6 0-1.1-.1-1.5-.4-.4-.3-.8-.7-1-1.3 0-.8-.2-1.5-.2-2.2zm2.9 2.5c.4 0 .8-.2 1-.4.2-.3.4-.7.4-1.3 0-.5-.1-.9-.4-1.1-.2-.3-.6-.4-1-.4-.3 0-.6.1-.8.2-.2.1-.4.3-.6.5-.1.2-.2.4-.2.6 0 .5.2 1 .4 1.3.4.4.7.6 1.2.6z"}))}),null)},{value:"p",title:(0,c.__)("Paragraph",u.i18n),icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M4.5 3h3.1c2.2 0 3.9.8 3.9 3.1 0 2.2-1.6 3.2-3.8 3.2H6.3V13H4.5V3zm3.1 4.9c1.5 0 2.2-.6 2.2-1.8 0-1.3-.8-1.7-2.3-1.7H6.3v3.5h1.3z"}))}),null)}],la=na.filter((e=>{let{value:t}=e;return"p"!==t})),ia=e=>(0,n.createElement)(ce.Z,(0,l.Z)({},e,{className:"ugb-heading-buttons-control",controls:e.hasP?na:la}));ia.defaultProps={label:(0,c.sprintf)((0,c._x)("%s HTML Tag","component",u.i18n),(0,c.__)("Title",u.i18n)),value:na[0].value,hasP:!0};const oa=ia,ra=[{value:"left",title:(0,c.__)("Align Left",u.i18n),icon:"editor-alignleft"},{value:"center",title:(0,c.__)("Align Center",u.i18n),icon:"editor-aligncenter"},{value:"right",title:(0,c.__)("Align Right",u.i18n),icon:"editor-alignright"},{value:"justify",title:(0,c.__)("Justified",u.i18n),icon:"editor-justify"}],sa=e=>{const{justified:t,className:a,...i}=e;return(0,n.createElement)(ce.Z,(0,l.Z)({},i,{className:o()([a,"ugb-align-buttons-control"]),controls:ra.filter((e=>!!t||"justify"!==e.value))}))};sa.defaultProps={className:"",label:(0,c.__)("Align",u.i18n),justified:!1};const ca=sa,ua=wp.codeEditor;var da=a(4863),ma=a.n(da);const ba=e=>{const[t,a]=(0,n.useState)(e.value),[l,i]=(0,n.useState)(null),o=(0,n.useMemo)((()=>(0,d.uniqueId)("ugb-code-textarea-")),[]),r=(0,n.useRef)((0,d.debounce)((t=>{e.onChange(t)}),500,{leading:!0})),s=(0,n.useCallback)((e=>{const t=e.getValue?e.getValue():e;a(t),r.current(t)}),[]);return(0,n.useEffect)((()=>{if(ua.initialize){const t=(0,ua.initialize)(o,ma()(ua.defaultSettings,e.editorSettings));i(t),t.codemirror.on("change",s)}return()=>{var e;null==r||null===(e=r.current)||void 0===e||e.cancel(),null==l||l.codemirror.off("change",s)}}),[]),(0,n.createElement)("textarea",{className:"ugb-code-textarea",id:o,value:t,onChange:s})};ba.defaultProps={value:"",onChange:()=>{},editorSettings:{}};const ga=ba;var pa=a(378),ha=a(4597);const va=(0,n.createElement)(r.Icon,{icon:ha.Sv}),ka=(0,n.createElement)(r.Icon,{icon:ha.Ti}),fa=(0,v.compose)([(0,H.withSelect)(((e,t)=>{let{clientIds:a}=t;const{getBlockRootClientId:n,getBlocksByClientId:l,canInsertBlockType:i}=e("core/block-editor"),o="ugb/container",r=i(o,a&&a.length>0?n(a[0]):void 0),s=l(a),c=1===s.length&&s[0]&&s[0].name===o;return{isGroupable:r&&s.length&&!c,isUngroupable:c&&!!s[0].innerBlocks.length,blocksSelection:s,groupingBlockName:o}})),(0,H.withDispatch)(((e,t)=>{let{clientIds:a,onToggle:n=d.noop,blocksSelection:l=[]}=t;const{replaceBlocks:i}=e("core/block-editor");return{onConvertToGroup(){if(!l.length)return;const e=l.map((e=>(0,pa.cloneBlock)(e))),t=(0,pa.createBlock)("ugb/container",{},e);i(a,t),n()},onConvertFromGroup(){if(!l.length)return;const e=l[0].innerBlocks;e.length&&(i(a,e),n())}}}))])((function(e){let{onConvertToGroup:t,onConvertFromGroup:a,isGroupable:l=!1,isUngroupable:i=!1}=e;return(0,H.select)("core/block-editor").getSelectedBlockClientIds?(0,n.createElement)(n.Fragment,null,l&&(0,n.createElement)(s.BlockSettingsMenuControls,null,(e=>{let{onClose:a}=e;return(0,n.createElement)(r.MenuItem,{icon:va,onClick:()=>{t(),a()}},(0,c.__)("Group into Container",u.i18n))})),i&&(0,n.createElement)(s.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,n.createElement)(r.MenuItem,{icon:ka,onClick:()=>{a(),t()}},(0,c.__)("Ungroup from Container",u.i18n))}))):null})),ya=(0,H.withSelect)((e=>{const{getSelectedBlockClientIds:t}=e("core/block-editor");return t?{clientIds:t()}:{}}))(fa),Ca=(0,H.withSelect)((e=>{const{getSelectedBlockClientId:t}=e("core/block-editor");return t?{clientId:t()}:{}}))((e=>{let{clientId:t}=e;const[a,l]=(0,n.useState)(!1),[i,o]=(0,n.useState)(!1),{blockName:c,getJSONBlockAttributes:u}=(0,H.useSelect)((e=>{const{getBlockName:a}=e("core/block-editor");return{blockName:t&&a(t)?a(t).replace(/^\w+\//g,""):"",getJSONBlockAttributes:()=>{const{getBlockName:a}=e("core/block-editor"),{getBlockType:n}=e("core/blocks");if(!t)return{};const l=e("core/block-editor").getBlockAttributes(t),i=a(t).replace(/^\w+\//g,""),o=n(a(t)).attributes,r=Object.keys(l).reduce(((e,t)=>(l[t]!==(o[t]?o[t].default:"")&&(e[t]=l[t]),e)),{});return r.uniqueClass=void 0,JSON.stringify((0,k.applyFilters)(`stackable.${i}.design.filtered-block-attributes`,r),null,4)}}}));return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,n.createElement)(r.MenuItem,{icon:"editor-code",onClick:()=>{l(!0),o(!1),setTimeout((()=>document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()),100),t()}},"Get / Set Block Attributes")})),a&&(0,n.createElement)(r.Modal,{title:`${(0,d.startCase)(c)} Block Attributes`,focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:()=>{i&&(e=>{if(t)try{const a=JSON.parse(e);(0,U.zx)(a,t)}catch(e){console.error(e)}})(document.querySelector(".ugb-modal-get-block-attributes-button textarea").value),l(!1)}},(0,n.createElement)("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),(0,n.createElement)("textarea",{onChange:()=>o(!0)},u())))})),_a=e=>(0,n.createElement)(r.Modal,{title:(0,c.__)("Stackable Welcome Guide",u.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},(0,n.createElement)("p",null,(0,c.__)("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.",u.i18n)),(0,n.createElement)("iframe",{title:(0,c.__)("Video Tutorial",u.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}),(0,n.createElement)("p",null,(0,n.createElement)(g.Z,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},(0,c.__)("Close it, I'm good",u.i18n))));_a.defaultProps={onRequestClose:()=>{}};const Ea=_a,xa=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.createElement)("path",{d:"M38 12H12v26h26V12z"}))},wa=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))},Sa=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"},e),(0,n.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"}))};var Ba=a(8324);const Ta=e=>"wireframes"===e.uikit.toLowerCase(),Aa=e=>{const[t,a]=(0,n.useState)([]),[l,i]=(0,n.useState)([]),[r,s]=(0,n.useState)([]),[m,b]=(0,U._)("stk__design_library__block-list__selected",""),{viewBy:g,apiVersion:p}=e;(0,n.useEffect)((()=>{(0,Ba.gC)(p).then((e=>{const t=Object.keys(e).reduce(((t,a)=>{const n=e[a],{categories:l,uikit:i}=n;return void 0!==t.uikits[i]||Ta(n)||(t.uikits[i]={id:i,label:n.uikit,plan:n.plan,count:0}),Ta(n)?l.forEach((e=>{void 0===t.wireframes[e]&&(t.wireframes[e]={id:e,label:e,count:0})})):l.forEach((e=>{void 0===t.categories[e]&&(t.categories[e]={id:e,label:e,count:0})})),t}),{uikits:{},categories:{},wireframes:{}});let n=["label"];u.isPro||(n=["plan","label"]);const l=(0,d.sortBy)(Object.values(t.uikits),n),o=(0,d.sortBy)(Object.values(t.categories),"label");o.unshift({id:"all",label:(0,c.__)("All",u.i18n),count:0});const r=(0,d.sortBy)(Object.values(t.wireframes),"label");r.unshift({id:"all",label:(0,c.__)("All",u.i18n),count:0}),a(l),i(o),s(r)}))}),[p]),(0,n.useEffect)((()=>{if(!t.length||!l.length||!r.length)return;const n=t.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),o=l.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{}),m=r.reduce(((e,t)=>(e[t.id]={...t,count:0},e)),{});e.designs.forEach((e=>{Ta(e)?e.categories.forEach((e=>{e&&m[e]&&m[e].count++})):(e.uikit&&n[e.uikit]&&n[e.uikit].count++,e.categories.forEach((e=>{e&&o[e]&&o[e].count++})))}));let b=["label"];u.isPro||(b=["plan","label"]),a((0,d.sortBy)(Object.values(n),b)),o.all&&(o.all.count=e.designs.filter((e=>!Ta(e))).length,o.all.label=" ");const g=(0,d.sortBy)(Object.values(o),"label");g[0]&&(g[0].label=(0,c.__)("All",u.i18n)),i(g),m.all&&(m.all.count=e.designs.filter(Ta).length,m.all.label=" ");const p=(0,d.sortBy)(Object.values(m),"label");p[0]&&(p[0].label=(0,c.__)("All",u.i18n)),s(p)}),[e.designs.length,JSON.stringify(t),JSON.stringify(l),JSON.stringify(r)]),(0,n.useEffect)((()=>{t.length&&l.length&&r.length&&b("uikit"===g?t[0].id:"all")}),[g]),(0,n.useEffect)((()=>{e.onSelect(m)}),[m]);const h="uikit"===g?t:"category"===g?l:r;return(0,n.createElement)("ul",{className:"ugb-block-list"},h.reduce(((e,t)=>{const{id:a,label:l,count:i,plan:r}=t,s=o()(["stk-design-library__sidebar-item"],{"is-active":m===a,"is-disabled":!u.isPro&&"premium"===r});return e.push((0,n.createElement)("li",{key:a},(0,n.createElement)("div",{className:s,"data-count":i,onClick:()=>b(a),onKeyPress:e=>{13===e.keyCode&&(void 0).click()},role:"button",tabIndex:0,"aria-pressed":m===a?"true":"false"},l,(0,n.createElement)("span",{className:"ugb-block-list__count","data-testid":`${a}-count`},i)))),e}),[]))};Aa.defaultProps={select:"",onSelect:()=>{},apiVersion:"",designs:[]};const za=Aa,Na=e=>{const[t,a]=(0,n.useState)(e.search),[l,i]=(0,n.useState)(3),[o,s]=(0,n.useState)(!0),[d,m]=(0,n.useState)(!1),[b,p]=(0,n.useState)(""),[h,v]=(0,U._)("stk__design_library__block-list__view_by","uikit"),[k,f]=(0,U._)("stk__design_library_dev_mode",!1),[y,C]=(0,n.useState)([]),[_,E]=(0,n.useState)([]),[x,w]=(0,n.useState)(t),[S,B]=(0,n.useState)(null);return(0,n.useEffect)((()=>{S&&(clearTimeout(S),B(null)),B(setTimeout((()=>{w(t)}),500))}),[t]),(0,n.useEffect)((()=>{const e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()}),[]),(0,n.useEffect)((()=>{d&&(C([]),E([])),(0,Ba.vl)({search:x,reset:d,apiVersion:e.apiVersion}).then((e=>{C(e)})).finally((()=>{m(!1)}))}),[x,d,e.apiVersion]),(0,n.useEffect)((()=>{s(!0),(0,Ba.vl)({apiVersion:e.apiVersion,search:x,uikit:"wireframe"===h?"Wireframes":"uikit"===h?b:"",categories:["category","wireframe"].includes(h)&&"all"!==b?[b]:[]}).then((e=>{E(e)})).finally((()=>{s(!1)}))}),[b,h,d,x,e.apiVersion]),(0,n.createElement)(r.Modal,{title:(0,n.createElement)(n.Fragment,null,(0,c.__)("Stackable Design Library",u.i18n),(0,n.createElement)(ce.Z,{className:"stk-design-library-tabs",controls:[{value:"category",title:(0,c.__)("Block Designs",u.i18n)},{value:"uikit",title:(0,c.__)("UI Kits",u.i18n)},{value:"wireframe",title:(0,c.__)("Wireframes",u.i18n)}],value:h,onChange:v,fullwidth:!1,isToggleOnly:!0,allowReset:!1}),e.hasVersionSwitcher&&(0,n.createElement)(ce.Z,{controls:[{value:"",title:(0,c.__)("Latest Design Library",u.i18n)},{value:"v2",title:(0,c.__)("V2 Design Library",u.i18n)}],value:e.apiVersion,onChange:e.onChangeApiVersion,isSmall:!0,fullwidth:!1,isToggleOnly:!0,allowReset:!1})),className:"ugb-modal-design-library",onRequestClose:e.onClose},(0,n.createElement)("div",{className:"ugb-modal-design-library__wrapper"},(0,n.createElement)("aside",{className:"ugb-modal-design-library__sidebar"},(0,n.createElement)(r.TextControl,{className:"ugb-modal-design-library__search",placeholder:(0,c.__)("E.g. light, dark, red, minimalist…",u.i18n),value:t,onChange:e=>a(e),"data-testid":"input-search",type:"search"}),(0,n.createElement)("div",{className:"ugb-modal-design-library__filters"},(0,n.createElement)(za,{apiVersion:e.apiVersion,designs:y,viewBy:h,onSelect:e=>p(e)}))),(0,n.createElement)("aside",{className:"ugb-modal-design-library__topbar"},u.devMode&&(0,n.createElement)(r.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:k,onChange:e=>{(0,Ba.ih)(e).then((()=>{m(!0)})),f(e)}}),(0,n.createElement)(g.Z,{icon:"image-rotate",label:(0,c.__)("Refresh Library",u.i18n),className:"ugb-modal-design-library__refresh",onClick:()=>m(!0)}),(0,n.createElement)(g.Z,{icon:(0,n.createElement)(xa,{width:"18",height:"18"}),className:2===l?"is-active":"",label:(0,c.__)("Large preview",u.i18n),onClick:()=>i(2)}),(0,n.createElement)(g.Z,{icon:(0,n.createElement)(Sa,{width:"18",height:"18"}),className:3===l?"is-active":"",label:(0,c.__)("Medium preview",u.i18n),onClick:()=>i(3)}),(0,n.createElement)(g.Z,{icon:(0,n.createElement)(wa,{width:"18",height:"18"}),className:4===l?"is-active":"",label:(0,c.__)("Small preview",u.i18n),onClick:()=>i(4)})),(0,n.createElement)("div",{className:"ugb-modal-design-library__designs"},(0,n.createElement)(Se.Z,{className:`stk-design-library__item-${h}`,columns:l,onSelect:e.onSelect,isBusy:o,designs:_,apiVersion:e.apiVersion}))))};Na.defaultProps={search:"",onClose:()=>{},onSelect:()=>{},hasVersionSwitcher:!1,apiVersion:"",onChangeApiVersion:()=>{}};const Ma=e=>{const[t,a]=(0,U._)("stk__design_library_api_version",""),i=(0,n.useMemo)((()=>(0,k.applyFilters)("stackable.design-library.versions",[""])),[]),o=i.includes(t)?t:i[0],r=(0,n.useMemo)((()=>(0,k.applyFilters)("stackable.design-library.modal-component",Na,o)),[o]);return(0,n.createElement)(r,(0,l.Z)({hasVersionSwitcher:i.length>1,apiVersion:o,onChangeApiVersion:a},e))};Ma.defaultProps={};const Ia=Ma;let Ha=1;const Ua=e=>{const[t]=(0,n.useState)("ugb-admin-setting-"+Ha++),a=o()(["ugb-admin-setting"],{[`ugb-admin-setting--${e.size}`]:e.size});return(0,n.createElement)("div",{className:a,id:t},(0,n.createElement)("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t,onClick:e.onClick},!!e.label&&(0,n.createElement)("span",{className:"ugb-admin-setting__label"},e.label),(0,n.createElement)("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&(0,n.createElement)("p",{className:"ugb-admin-setting__help"},e.help))};Ua.defaultProps={label:"",onClick:()=>{}};const Ra=Ua;(0,c.__)("Disabled",u.i18n),(0,c.__)("Enabled",u.i18n);var La=a(1368),Pa=a(6179),Fa=a.n(Pa);let Oa=[];class Da extends n.Component{constructor(){super(...arguments),this.state={isLoading:0===Oa.length,termList:Oa}}componentWillMount(){this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=Fa()({path:(0,La.addQueryArgs)(`/stackable/${"v"+(this.props.stkVersion||"2")}/terms`,{per_page:-1})}).then((e=>{this.isStillMounted&&(Oa=e,this.setState({termList:e,isLoading:!1}))})).catch((()=>{this.isStillMounted&&this.setState({termList:[],isLoading:!1})})))}componentWillUnmount(){this.isStillMounted=!1}render(){const e=[],t=[],a=[];let l="";const{taxonomy:i,allowReset:o}=this.props;Object.keys(this.state.termList).forEach((n=>{const{label:l,taxonomies:i}=this.state.termList[n];e.push({label:l,value:n}),n===this.props.postType&&Object.keys(i).forEach(((e,n)=>{const{label:l,terms:o}=i[e];t.push({label:l,value:e});const r=!this.props.taxonomyType&&0===n;(e===this.props.taxonomyType||r)&&Object.keys(o).forEach((e=>{a.push({name:o[e].name,value:o[e].term_id})}))}))}));const s=a.map((e=>e.name));let m=""!==i?i.split(",").map((e=>{const{name:t}=(0,d.find)(a,(t=>t.value===parseInt(e)))||{};return t})):void 0;if((0,d.compact)(m).length||(m=void 0),t.length){const e=this.props.taxonomyType||t[0].value,a=t.filter((t=>{let{value:a}=t;return e===a}));l=a.length?a[0].label:t[0].label}return this.state.isLoading?(0,n.createElement)("div",{className:"stk-taxonomy-control__spinner"},(0,n.createElement)(r.Spinner,null)):(0,n.createElement)("div",{className:"stk-taxonomy-control"},u.isPro&&(0,n.createElement)(j,{label:(0,c.__)("Post Type",u.i18n),options:e,value:this.props.postType,allowReset:o,onChange:e=>{const t=Object.keys(this.state.termList[e].taxonomies);this.props.onChangePostType(e),this.props.onChangeTaxonomyType(t.length?t[0]:""),this.props.onChangeTaxonomy("")},default:"post"}),t.length>0&&(0,n.createElement)(j,{label:(0,c.__)("Filter by Taxonomy",u.i18n),options:t,value:this.props.taxonomyType,allowReset:o,onChange:e=>{this.props.onChangeTaxonomyType(e),this.props.onChangeTaxonomy("")},default:"category"}),t.length>0&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(j,{label:(0,c.__)("Taxonomy Filter Type",u.i18n),allowReset:o,options:[{label:(0,c.__)("Included In",u.i18n),value:"__in"},{label:(0,c.__)("Not In",u.i18n),value:"__not_in"}],value:this.props.taxonomyFilterType,onChange:this.props.onChangeTaxonomyFilterType,default:"__in"}),(0,n.createElement)(pn,{label:l,suggestions:s,value:m,onChange:e=>{var t;const n=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(e=>{const{value:t}=(0,d.find)(a||[],(t=>t.name===e))||{};return t}));this.props.onChangeTaxonomy((0,d.compact)(n||[]).join(","))}})))}}Da.defaultProps={postType:"post",onChangePostType:()=>{},taxonomyType:"category",onChangeTaxonomyType:()=>{},taxonomy:"",onChangeTaxonomy:()=>{},allowReset:!1};const Za=Da,Va=e=>(0,n.createElement)(r.Tooltip,(0,l.Z)({},e,{className:o()([e.className,"stk-tooltip"]),text:(0,n.createElement)("span",{className:"stk-tooltip__text"},e.text)}));Va.defaultProps={className:""};const qa=Va,Ga={Edit:e=>{const{blockProps:t,render:a,mainClass:i,blockTag:r,...s}=e,{blockName:c}=t,{anchor:u="",design:d,blockTag:m="div"}=t.attributes,b=o()([e.className],(0,k.applyFilters)(`stackable.${c}.main-block.classes`,{"ugb-main-block":i},t)),g=o()(["ugb-inner-block"],(0,k.applyFilters)(`stackable.${c}.main-block.inner-classes`,{},t)),p=(0,k.applyFilters)(`stackable.${c}.main-block.extraProps`,s,t),h=""!==u?u:void 0,v=m||r||"div";return(0,n.createElement)(v,(0,l.Z)({},p,{id:h,className:b}),t.styles,(0,k.applyFilters)(`stackable.${c}.edit.output.outer`,null,d,t),a&&(0,n.createElement)("div",{className:g},(0,k.applyFilters)(`stackable.${c}.edit.output.before`,null,d,t),(0,n.createElement)("div",{className:"ugb-block-content"},a(t)),(0,k.applyFilters)(`stackable.${c}.edit.output.after`,null,d,t)))}};Ga.Edit.defaultProps={styles:null,mainClass:!0},Ga.Save=e=>{const{blockProps:t,render:a,mainClass:i,blockTag:r,...s}=e,{blockName:c}=t,{anchor:u="",design:d,blockTag:m="div"}=t.attributes,b=o()([e.className],(0,k.applyFilters)(`stackable.${c}.main-block.classes`,{"ugb-main-block":i},t)),g=o()(["ugb-inner-block"],(0,k.applyFilters)(`stackable.${c}.main-block.inner-classes`,{},t)),p=(0,k.applyFilters)(`stackable.${c}.main-block.extraProps`,s,t),h=""!==u?u:void 0,v=m||r||"div";return(0,n.createElement)(v,(0,l.Z)({},p,{id:h,className:b}),t.styles,(0,k.applyFilters)(`stackable.${c}.save.output.outer`,null,d,t),a&&(0,n.createElement)("div",{className:g},(0,k.applyFilters)(`stackable.${c}.save.output.before`,null,d,t),(0,n.createElement)("div",{className:"ugb-block-content"},a(t)),(0,k.applyFilters)(`stackable.${c}.save.output.after`,null,d,t)))},Ga.Save.defaultProps={styles:null,mainClass:!0};const Wa=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},$a=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"straight-1-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.createElement)("path",{d:"M-10 121.6h1620v-16.4H-10z"}))},ja={"wave-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-1-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-1-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"wave-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-2-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-2-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"wave-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-3-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-3-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"wave-4":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-4-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"wave-4-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"curve-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-1-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-1-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"curve-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-2-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-2-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"curve-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-3-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"curve-3-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"slant-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"slant-1-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.createElement)("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"slant-1-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.createElement)("path",{d:"M-10 .5v10l1620 183.4v-10z"}))}}},"slant-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"slant-2-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.createElement)("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"slant-2-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.createElement)("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}))}}},"straight-1":{default:{shape:Wa,shadow:$a},inverted:{shape:Wa,shadow:$a}},"rounded-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-1-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-1-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"rounded-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-2-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-2-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}},"rounded-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-3-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))},shadow:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200"},e),(0,n.createElement)("filter",{id:"rounded-3-inverted-shadow_svg__a"},(0,n.createElement)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),(0,n.createElement)("feComponentTransfer",null,(0,n.createElement)("feFuncA",{type:"linear",slope:.4})),(0,n.createElement)("feMerge",null,(0,n.createElement)("feMergeNode",null),(0,n.createElement)("feMergeNode",{in:"SourceGraphic"}))),(0,n.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"}))}}}},Qa=e=>{const{shape:t,shadow:a}=ja[e.design||"wave-1"][e.inverted?"inverted":"default"],l=o()([e.className,"ugb-separator-wrapper"]);return(0,n.createElement)("div",{className:l},e.shadow&&(0,n.createElement)(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),(0,n.createElement)(t,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};Qa.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},Qa.Save=e=>(0,n.createElement)(Qa,e);var Ka=a(755);const Ja=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a="";return a=t?Xa(e,{"aria-label":t,role:"img"},["aria-hidden"]):Xa(e,{"aria-hidden":"true"},["aria-label","role"]),a},Xa=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=(0,U.I9)(e);return n?(Object.keys(t).forEach((e=>{n.setAttribute(e,t[e])})),a.forEach((e=>{n.removeAttribute(e)})),n.outerHTML):""},Ya=e=>{const[t,a]=(0,n.useState)(0),l=()=>{a(t+1)},i=(0,n.useMemo)((()=>e.prependRender?(0,n.renderToString)(e.prependRender):""),[e.prependRender]);(0,n.useEffect)((()=>{(0,U.qO)().then(l)}),[]);const o=(0,d.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/)){let t=Ja(e.value,e.ariaLabel);return t=Xa(t,{width:"32",height:"32"}),(0,n.createElement)(n.RawHTML,o,i+t)}if(!(0,U.ZN)())return(0,n.createElement)(r.Spinner,null);const s=e.value?e.value.replace(/-.*$/,""):e.prefix,c=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&c){const t=(0,U.FE)(s,c);if(!t)return(0,U.gz)(s,c).then(l),(0,n.createElement)(r.Spinner,null);let a=Ja(t,e.ariaLabel);return a=Xa(a,{width:"32",height:"32"}),(0,n.createElement)(n.RawHTML,o,i+a)}const u=(0,U.FE)("far","smile");let m=Ja(u,e.ariaLabel);return m=Xa(m,{width:"32",height:"32"}),(0,n.createElement)(n.RawHTML,o,i+m)};Ya.Content=e=>{const t=(0,d.pick)(e,["className","color","fill","style"]),a=e.prependRender?(0,n.renderToString)(e.prependRender):"";if("string"==typeof e.value&&e.value.match(/^<svg/)){let l=Ja(e.value,e.ariaLabel);return l=Xa(l,{width:"32",height:"32"}),(0,n.createElement)(n.RawHTML,t,a+l)}const l=e.value?e.value.replace(/-.*$/,""):e.prefix,i=e.value?e.value.replace(/^.*?-/,""):e.iconName,o=(0,U.FE)(l,i);let r=Ja(o,e.ariaLabel);return r=Xa(r,{width:"32",height:"32"}),(0,n.createElement)(n.RawHTML,t,a+r)},Ya.defaultProps={ariaLabel:"",prefix:"",iconName:"",value:""};const en=Ya,tn=e=>e.match(/^<svg(.*?)<\/svg>$/g)?e:e.match(/<svg/)?(e.match(/<svg.*?<\/svg>/g)||[e])[0]:e,an=e=>{const{...t}=e;return t.value=(0,n.useMemo)((()=>"string"===e.value?tn(e.value):e.value),[e.value]),(0,n.createElement)(en,t)};an.Content=e=>{const{...t}=e;return t.value="string"===e.value?tn(e.value):e.value,(0,n.createElement)(en.Content,t)};const nn=an,ln=e=>{const t=o()(["stk-inspector-control",e.className],{"stk-inspector-control--allow-reset":e.allowReset,"stk--is-small":e.isSmall}),a=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.defaultValue&&e.value!==e.placeholder;return(0,n.createElement)(r.BaseControl,{help:e.help,className:t},e.hasLabel&&(0,n.createElement)(Nt,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens,afterButton:e.afterButton}),e.children,e.allowReset&&a&&(0,n.createElement)(g.Z,{className:"stk-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,c.__)("Reset",u.i18n),onClick:()=>{e.onReset?e.onReset():e.onChange(e.defaultValue)},icon:(0,n.createElement)(r.Dashicon,{icon:"image-rotate"})}))};ln.defaultProps={className:"",help:"",id:"",screens:["desktop"],units:null,unit:"px",onChangeUnit:()=>{},value:"",onChange:()=>{},allowReset:!1,showReset:null,defaultValue:"",onReset:null,isLinked:!0,onLink:()=>{},afterButton:null,isSmall:!1,hasLabel:!0};const on=ln,rn=function(e){return(0,n.createElement)("svg",(0,l.Z)({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),(0,n.createElement)("circle",{cx:409.1,cy:102.9,r:40.9}),(0,n.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"}))},sn=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),a=(0,O.kX)(t),i=(0,O.Uj)(`${e.attribute}Id`,e.responsive,e.hover),r=(0,O.Uj)(`${e.attribute}Url`,e.responsive,e.hover),d=(0,O.Uj)(`${e.attribute}HeightAttribute`,e.responsive,e.hover),m=(0,O.Uj)(`${e.attribute}WidthAttribute`,e.responsive,e.hover),b=(0,O.Uj)(`${e.attribute}Alt`,e.responsive,e.hover),g=(0,n.useCallback)((e=>{(0,H.dispatch)("core/block-editor").updateBlockAttributes(t,{[i]:e.id,[r]:e.url,[d]:e.width||"",[m]:e.height||"",[b]:e.alt||""})}),[t,i,r,d,m]),h=void 0!==e.onChange?e.onChange:g,[v,k]=(0,p.ED)(e),f=(0,n.useCallback)((e=>h({url:e,id:"",width:"",height:"",alt:""})),[h]),y=(0,Q.WA)({onChange:f,value:a[r]}),C=void 0!==e.imageId?e.imageId:a[i],_=void 0!==e.imageURL?e.imageURL:y.value||a[r],E=_&&_.match(/(mp4|webm|ogg)$/i)?"video":"image",x=(0,n.useCallback)((()=>{h({url:"",id:"",height:"",width:"",alt:""})}),[h]);return(0,n.createElement)(p.ZP,(0,l.Z)({},k,{className:o()("ugb-image-control",e.className)}),(0,n.createElement)(Q.ZP,(0,l.Z)({enable:e.isDynamic,type:"image-url"},y),(0,n.createElement)(s.MediaUpload,{onSelect:h,allowedTypes:e.allowedTypes,value:C,render:e=>(0,n.createElement)(n.Fragment,null,_&&(0,n.createElement)("div",{className:"ugb-image-preview-wrapper"},"video"===E&&(0,n.createElement)("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:_,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()}}),"image"===E&&(0,n.createElement)("img",{className:"ugb-image-preview",draggable:"false",src:_,onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()},alt:(0,c.__)("preview",u.i18n)})),!_&&(0,n.createElement)("div",{className:"ugb-placeholder",onClick:e.open,onKeyDown:t=>{13===t.keyCode&&e.open()},role:"button",tabIndex:0},(0,n.createElement)(rn,null)))})),(0,n.createElement)(q.J,{allowReset:e.allowReset&&!e.dynamic,value:_,default:e.default,onChange:x}))};sn.defaultProps={label:"",attribute:"",allowedTypes:["image"],responsive:!1,hover:!1,isDynamic:!0,value:void 0,onChange:void 0,allowReset:!0};const cn=sn,un=e=>{const{label:t,help:a}=e,l=`inspector-toggle-control-${(0,v.useInstanceId)(un)}`,[i,s]=(0,h.G)(e.attribute,e.responsive,e.hover,e.changeCallback),c=void 0===e.checked?i:e.checked,u=void 0===e.onChange?s:e.onChange;let m,b;a&&(m=l+"__help",b=(0,d.isFunction)(a)?a(c):a);const g=o()(["components-toggle-control","stk-toggle-control",e.className]);return(0,n.createElement)(on,{id:l,help:b,className:g,allowReset:!0,value:c,showReset:e.defaultValue?c!==e.defaultValue:c,onChange:u,hasLabel:!1,defaultValue:e.defaultValue},(0,n.createElement)(r.FormToggle,{id:l,checked:c,onChange:e=>u(e.target.checked),"aria-describedby":m}),(0,n.createElement)("label",{htmlFor:l,className:"components-toggle-control__label"},t))};un.defaultProps={className:"",allowReset:!1,showReset:null,defaultValue:"",attribute:"",responsive:!1,hover:!1,checked:void 0,onChange:void 0};const dn=un,mn=e=>{var t;const[a,i]=(0,h.G)(e.attribute,e.responsive,e.hover),[s,c]=(0,p.ED)(e);return s.url=(0,Q.wt)(s.url),null!==(t=s.url)&&void 0!==t&&t.includes("http")||(s.url=void 0),(0,n.createElement)(p.ZP,(0,l.Z)({},c,{className:o()("stk-advanced-focal-point-control",e.className)}),(0,n.createElement)(r.FocalPointPicker,(0,l.Z)({},s,{value:void 0===e.value?a:e.value,onChange:void 0===e.onChange?i:e.onChange})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:void 0===e.value?a:e.value,default:e.default,onChange:void 0===e.onChange?i:e.onChange}))};mn.defaultProps={className:"",url:"",allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const bn=(0,n.memo)(mn),gn=e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover),[i,s]=(0,p.ED)(e),{...c}=i,u=void 0===e.value?t:e.value,d=void 0===e.onChange?a:e.onChange;return(0,n.createElement)(p.ZP,(0,l.Z)({},s,{className:o()("stk-advanced-token-field",e.className)}),(0,n.createElement)(r.FormTokenField,(0,l.Z)({},c,{value:u,onChange:d})),(0,n.createElement)(q.J,{allowReset:e.allowReset,value:u,default:e.default,onChange:d}))};gn.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const pn=gn,hn={blur:{label:(0,c.__)("Blur",u.i18n),min:0,sliderMax:10,step:.1,placeholder:0,format:"%spx"},brightness:{label:(0,c.__)("Brightness",u.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},contrast:{label:(0,c.__)("Contrast",u.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},grayscale:{label:(0,c.__)("Grayscale",u.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"},"hue-rotate":{label:(0,c.__)("Hue Rotate",u.i18n),min:0,sliderMax:360,step:1,placeholder:0,format:"%sdeg"},invert:{label:(0,c.__)("Invert",u.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"},opacity:{label:(0,c.__)("Opacity",u.i18n),min:0,sliderMax:1,step:.01,placeholder:1,format:"%s"},saturate:{label:(0,c.__)("Saturate",u.i18n),min:0,sliderMax:3,step:.1,placeholder:1,format:"%s"},sepia:{label:(0,c.__)("Sepia",u.i18n),min:0,sliderMax:1,step:.01,placeholder:0,format:"%s"}},vn=e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover),[i,r]=(0,p.ED)(e),[s,u]=(0,n.useState)({}),m=void 0===e.value?t:e.value,b=void 0===e.onChange?a:e.onChange;return(0,n.useEffect)((()=>{const e=[...m.matchAll(/([\w-]+)\(([^\)]+)\)/g)].reduce(((e,t)=>{const[,a,n]=t;return e[a]=parseFloat(n),e}),{});u(e)}),[m]),(0,n.createElement)(p.ZP,(0,l.Z)({},r,{boldLabel:!0,className:o()("stk-image-filter-control",e.className)}),Object.keys(hn).map(((e,t)=>{const a=hn[e];return(0,n.createElement)(W,(0,l.Z)({key:t,allowReset:!0},(0,d.omit)(a,["format"]),{value:s[e],onChange:t=>{s[e]=t,u(s),b((e=>{const t=Object.keys(e).map((t=>{const a=e[t],{format:n,placeholder:l}=hn[t];return isNaN(a)||""===a?"":`${t}(${(0,c.sprintf)(n,a||l)})`}));return(0,d.compact)(t).join(" ")})(s))}}))})))};vn.defaultProps={allowReset:!0,default:"",attribute:"",responsive:!1,hover:!1,value:void 0,onChange:void 0};const kn=vn;a(5117);const fn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{getBlock:a,__experimentalGetAllowedBlocks:n}=(0,H.select)("core/block-editor");let l;const{innerBlocks:i}=a(e);if(t)l=(0,pa.getBlockFromExample)(t,{});else{const t=(0,d.last)(i);l=(0,pa.getBlockFromExample)((null==t?void 0:t.name)||n(e)[0].name,(0,d.pick)(t||{},["attributes","innerBlocks"]))}(0,H.dispatch)("core/block-editor").insertBlock(l,i.length,e)};(0,c.__)("Add Column",u.i18n);const yn=()=>{const{clientId:e,name:t}=(0,s.useBlockEditContext)(),{blockTitle:a}=(0,H.useSelect)((e=>{var a;return{blockTitle:null===(a=e("core/blocks").getBlockType(t))||void 0===a?void 0:a.title}}),[t]);return(0,n.createElement)(r.Placeholder,{icon:(0,n.createElement)(ha.y4,null),label:a,instructions:(0,c.__)("There are no blocks in this group, please add one.",u.i18n)},(0,n.createElement)(r.Button,{isSecondary:!0,className:"ugb-design-library-block__button",onClick:()=>{fn(e)}},(0,c.__)("Add Block",u.i18n)))},Cn=[{component:W,key:"horizontalOffset",props:{label:(0,c.__)("Horizontal Offset",u.i18n),placeholder:0,sliderMin:-100,sliderMax:100},format:"%spx",default:"0px"},{component:W,key:"verticalOffset",props:{label:(0,c.__)("Vertical Offset",u.i18n),placeholder:0,sliderMin:-100,sliderMax:100},format:"%spx",default:"0px"},{component:W,key:"blur",props:{label:(0,c.__)("Blur",u.i18n),placeholder:0,sliderMin:0,sliderMax:100},format:"%spx",default:"0px"},{component:W,key:"shadowSpread",props:{label:(0,c.__)("Shadow Spread",u.i18n),placeholder:0,sliderMin:0,sliderMax:100},format:"%spx",default:"0px",show:e=>!e.isFilter},{component:C,key:"shadowColor",props:{label:(0,c.__)("Shadow Color",u.i18n),disableAlpha:!1},default:"rgba(0,0,0,1)",changeCallback:e=>{if(null!=e&&e.startsWith("rgba("))return e;if(null!=e&&e.startsWith("rgb("))return(null==e?void 0:e.replace("rgb","rgba").replace(/\)$/g,", 1)"))||"";const t=(0,U.a7)(e);return t.startsWith("rgb(")?t.replace("rgb","rgba").replace(/\)$/g,", 1)"):t}},{component:W,key:"opacity",props:{label:(0,c.__)("Shadow Opacity",u.i18n),min:0,max:1,step:.1}}],_n=e=>{const[t,a]=(0,n.useState)({}),[i,o]=(0,h.G)(e.attribute,e.responsive,e.hover),[s,m]=(0,p.ED)(e);return(0,n.useEffect)((()=>{if(i){let e=i,n="",l=1;e=e.replace(/rgba\(.*\)$/g,(e=>(n=e,l=e.match(/[\d| ||\.]*\)$/g)[0],l=parseFloat(l),"")));const[o,r,s,c]=e.split(" ");t.horizontalOffset=parseInt(o),t.verticalOffset=parseInt(r),t.blur=parseInt(s),t.shadowSpread=isNaN(parseInt(c))?"":parseInt(c),t.shadowColor=n,t.opacity=l,a({...t})}}),[i]),(0,n.createElement)(r.Popover,{position:"top center",className:"shadow-control__popover",anchorRect:e.anchorRect},(0,n.createElement)("div",{className:"components-panel__body is-opened"},(0,n.createElement)(p.ZP,(0,l.Z)({},m,{label:(0,c.__)("Advanced Shadow Options",u.i18n),boldLabel:!0}),Cn.map((i=>{const r=i.component;return i.show&&!i.show(e.parentProps)?null:(0,n.createElement)(r,(0,l.Z)({key:i.key,allowReset:!0},i.props,{value:t[i.key]||"",onChange:n=>{const l=(i.changeCallback||(e=>e))(n);t[i.key]=l,a({...t}),o(((e,t)=>(0,d.compact)(Cn.map((a=>{const{key:n}=a;if("opacity"!==n){if("shadowColor"===n){const e=t.opacity;if((0,d.isNumber)(e)||""===e||void 0===e)return(t[n]||a.default||"").replace(/,[\d| ||\.]*\)$/g,(()=>`, ${(0,d.isNumber)(e)?e:1})`))}if(!a.show||a.show(e))return a.format&&void 0!==t[n]&&""!==t[n]?(0,c.sprintf)(a.format,t[n]):t[n]||a.default||""}}))).join(" "))(e.parentProps,t))}}))})))))},En=e=>{var t;const{options:a,label:i,...o}=e,s=(0,n.useMemo)((()=>a||(0,k.applyFilters)("stackable.shadows",["none","0 0 0 1px rgba(120, 120, 120, 0.1)","0 0 0 2px rgba(120, 120, 120, 0.1)","0 5px 5px 0 rgba(18, 63, 82, 0.035)","0px 2px 20px rgba(153, 153, 153, 0.2)","0 5px 30px -10px rgba(18, 63, 82, 0.3)","0px 10px 30px rgba(0, 0, 0, 0.05)","7px 5px 30px rgba(72, 73, 121, 0.15)","0px 10px 60px rgba(0, 0, 0, 0.1)","0px 70px 90px -20px rgba(72, 73, 121, 0.30)"])),[a]),d=(0,n.useRef)(null),[m,b]=(0,n.useState)(!1),g=(0,n.useCallback)((e=>e?-1===s.indexOf(e)?"custom":s.indexOf(e):""),[s]),v=(0,n.useCallback)((e=>""!==e?s[e]:e),[s]),[f,y]=(0,h.G)(e.attribute,e.responsive,e.hover,g,v),C=void 0===e.value?f:e.value,[_]=(0,p.ED)(o),E=(0,n.useCallback)((e=>{m&&(e.target.closest(".shadow-control__popover")||e.target.closest(".stk-shadow-control__more-button")||e.target.closest(".components-color-picker")||b(!1))}));return(0,n.useEffect)((()=>(document.body.addEventListener("mousedown",E),()=>document.body.removeEventListener("mousedown",E))),[E]),(0,n.useEffect)((()=>{}),[C,m]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(W,(0,l.Z)({},_,{label:i,value:C,onChange:void 0===e.onChange?y:e.onChange,min:0,max:s.length-1,allowReset:!0,className:"ugb--help-tip-general-shadow",hover:e.hover,placeholder:"custom"===C?(0,c.__)("Custom",u.i18n):"",after:(0,n.createElement)(r.Button,{className:"stk-shadow-control__more-button",ref:d,isSmall:!0,isTertiary:!0,isPressed:m||"custom"===C,"aria-label":(0,c.__)("Shadow Settings",u.i18n),onClick:()=>b(!m),icon:(0,n.createElement)(r.Dashicon,{icon:"admin-generic"})})})),m&&(0,n.createElement)(_n,{anchorRect:null===(t=d.current)||void 0===t?void 0:t.getBoundingClientRect(),attribute:e.attribute,responsive:e.responsive,hover:e.hover,parentProps:e}))};En.defaultProps={label:(0,c.__)("Shadow / Outline",u.i18n),placeholder:"",options:null,valueCallback:null,changeCallback:null,isFilter:!1};const xn=En,wn=e=>{const[t,a]=(0,h.G)(e.attribute,e.responsive,e.hover,e.valueCallback,e.changeCallback),[i,r]=(0,p.ED)(e),{isDynamic:c,...u}=i,d=void 0===e.value?t:e.value,m=void 0===e.onChange?a:e.onChange,b=(0,Q.WA)({value:d,onChange:m}),g=o()(["stk-link-control",e.className],{"stk--has-value":d});return(0,n.createElement)(p.ZP,(0,l.Z)({},r,{className:g}),(0,n.createElement)(Q.ZP,(0,l.Z)({type:["link","image-url"],enable:c},b),(0,n.createElement)("div",{className:"stk-link-control__input"},(0,n.createElement)(s.__experimentalLinkControl,(0,l.Z)({},u,{value:{url:d},onChange:e=>{let{url:t}=e;return m(t)},settings:[],forceIsEditingLink:!d})))),(0,n.createElement)(q.J,{allowReset:e.allowReset&&!e.dynamic,value:d,onChange:()=>m("")}))};wn.defaultProps={className:"",label:"",screens:["desktop"],help:"",value:void 0,onChange:void 0,showSuggestions:!0,isDynamic:!0,allowReset:!0};const Sn=wn;var Bn=a(7044);const Tn=(0,n.forwardRef)(((e,t)=>{const{children:a,className:i,tagName:r,...s}=e,c=o()(["stk-link",i]),u=r||"a";return(0,n.createElement)(u,(0,l.Z)({ref:t,className:c,href:"#0"},s),a)}));Tn.defaultProps={className:"",tagName:"a"},Tn.Content=e=>{const t=o()(["stk-link",e.className]),a=(0,d.omit)(e,["target","rel","tagName"]),i=e.tagName||"a";e.target&&(a.target=e.target);const r=(e.rel||"").split(" ").filter((e=>!!e));return"_blank"===e.target&&(r.includes("noreferrer")||r.push("noreferrer"),r.includes("noopener")||r.push("noopener")),r.length&&(a.rel=r.join(" ")),(0,n.createElement)(i,(0,l.Z)({},a,{className:t}))},Tn.Content.defaultProps={className:"",target:"",rel:"",href:"",tagName:"a"};const An=Tn;var zn=a(1874);const Nn=[.25,.33333,.5,.66666,.75,1],Mn=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1],In=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"right",l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const i=e.slice(0,t).reduce(((e,t)=>e+t),0),o=i+e[t],r=l?Mn:Nn;return r.map((e=>{const t=a*e;return"right"===n?t-i:o-t}))},Hn=Nn.map((e=>100*e)),Un=Mn.map((e=>100*e)),Rn=(0,n.createContext)({showColumnTooltip:!1,setShowColumnTooltip:()=>{}}),Ln=e=>{const{providerValue:t,...a}=e;return(0,n.createElement)(Rn.Provider,{value:t},(0,n.createElement)(s.InnerBlocks,a))};Ln.useContext=()=>{const[e,t]=(0,n.useState)(!1);return[{showColumnTooltip:e,setShowColumnTooltip:t},e?"stk--column-tooltip-hovered":""]};const Pn=Ln;var Fn=a(376);const On={Desktop:5,Tablet:10,Mobile:10},Dn=e=>{const{clientId:t}=(0,s.useBlockEditContext)(),a=(0,O.VG)(),{getEditorDom:l}=(0,H.useSelect)("stackable/editor-dom"),{isFirstBlock:i,isLastBlock:c,isOnlyBlock:u,adjacentBlocks:m,blockIndex:b,parentBlock:g}=a,p=!e.context["stackable/columnFit"],h=(0,O.hU)();(0,zn.$)();const[v,k]=(0,n.useState)([]),[f,y]=(0,n.useState)(""),[C,_]=(0,n.useState)([]),[E,x]=(0,n.useState)(2e3),[w,S]=(0,n.useState)(""),[B,T]=(0,n.useState)(null),A="Desktop"===h,z="Tablet"===h,[N,M]=(0,n.useState)(null==m?void 0:m.length);(0,n.useEffect)((()=>{N&&null!=m&&m.length?N!==(null==m?void 0:m.length)&&(e.onResetDesktop(),M(m.length)):M(null==m?void 0:m.length)}),[m]);const[I,U]=(0,n.useState)(!1);(0,n.useEffect)((()=>(U(!0),()=>{U(!1)})),[]);const R=(0,O.PR)();(0,n.useEffect)((()=>{T(null)}),[R]);const L=o()(["stk-column-resizeable",e.className]),{columnGap:P,columnGapTablet:F,columnGapMobile:D}=(null==g?void 0:g.attributes)||{},Z=(0,n.useMemo)((()=>({top:!1,right:"Desktop"===h?!u&&!c:!u,bottom:!1,left:"Desktop"===h&&!u&&!i,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1})),[h,u,c,i]),V=(0,n.useCallback)(((e,a)=>{const n=P||0,i=l();if(A){const e=n*(m.length-1),t=i.querySelector(`[data-block="${g.clientId}"]`).clientWidth-e,l=m.every((e=>{let{attributes:t}=e;return!t.columnWidth})),o=m.map((e=>{let{clientId:a,attributes:n}=e;if(l)return 1*t/m.length;if(n.columnWidth)return t*n.columnWidth/100;const o=i.querySelector(`[data-block="${a}"]`);return(null==o?void 0:o.clientWidth)||0}));k(o);const r="right"===a?b+1:b-1,s=o[b]+(o[r]-30);x(s)}else{const e=m.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/m.length}));k(e);const a=i.querySelector(`[data-block="${t}"]`),n=(null==a?void 0:a.clientWidth)||0;y(n);const l=i.querySelector(`[data-block="${g.clientId}"]`),o=(null==l?void 0:l.clientWidth)||0;x(o)}K(!0)}),[A,null==g?void 0:g.clientId,m,b,t,P,F,D,l]),q=(0,n.useCallback)(((e,a,n,l)=>{let i=[];if(A){const e=[...v],t=v.reduce(((e,t)=>e+t),0),n="right"===a?b+1:b-1;e[n]-=l.width,e[b]+=l.width,i=(e||[]).map((e=>parseFloat((e/t*100).toFixed(1)))),i=function(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Un:Hn;return e.map((e=>{let a=e;return t.some((t=>Math.abs(e-t)<.2&&(a=t,!0))),a}))}(i,R);const o=i.reduce(((e,t)=>e+t),0);100!==o&&(i[n]=parseFloat((i[n]+100-o).toFixed(1))),_(i);const r=i.map(((e,t)=>`.editor-styles-wrapper [data-block][data-block="${m[t].clientId}"] {\n\t\t\t\t\tflex: 1 1 ${e}% !important;\n\t\t\t\t\tmax-width: ${e}% !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${m[t].clientId}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${e.toFixed(1)}%' !important;\n\t\t\t\t}`)).join("");S(r),B||T({x:In(e,b,t,a,R)})}else{const e=f+l.width;i=(0,d.clamp)(parseFloat((e/E*100).toFixed(1)),0,100),_(i);const n=[...v];n[b]=i;const o=(0,Fn.w)(n),r=o.filter((e=>e===o[b])).length,s=`.editor-styles-wrapper [data-block][data-block="${t}"] {\n\t\t\t\t\tflex: 1 1 calc(${i}% - var(--stk-column-gap, 0px) * ${r-1} / ${r} ) !important;\n\t\t\t\t\tmax-width: calc(${i}% - var(--stk-column-gap, 0px) * ${r-1} / ${r} ) !important;\n\t\t\t\t}\n\t\t\t\t[data-block="${t}"] .stk-resizable-column__size-tooltip {\n\t\t\t\t\t--width: '${i.toFixed(1)}%' !important;\n\t\t\t\t}`;S(s),B||T({x:In([100],0,E,a,R)})}}),[A,v,f,b,m,R,E,t,B]),G=(0,n.useCallback)(((t,a,n,l)=>{if(l.width)if(A)(0,d.isEqual)(C.map((e=>0|e)),[33,33,33])?e.onChangeDesktop([33.33,33.33,33.33]):e.onChangeDesktop(C);else if(z){const t=m.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/m.length}));t[b]=C,e.onChangeTablet(C,t,b)}else{const t=m.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100}));t[b]=C,e.onChangeMobile(C,t,b)}w&&setTimeout((()=>{I&&S("")}),400),T(null),K(!1)}),[A,z,C,e.onChangeDesktop,e.onChangeTablet,e.onChangeMobile,w,m,b,I]),W=(0,n.useCallback)((t=>{if(!(""!==t&&t<On[h]))if(A){const a=m.every((e=>{let{attributes:t}=e;return!t.columnWidth})),n=m.map((e=>{let{attributes:t}=e;return a?100/m.length:t.columnWidth})),l=m.length-1!==b?b+1:b-1,i=n[b]+(n[l]-5),o=(0,d.clamp)(t,On.Desktop,i),r=o-n[b];n[l]-=r,n[b]=o,e.onChangeDesktop(n)}else if(z){const a=m.map((e=>{let{attributes:t}=e;return t.columnWidthTablet||t.columnWidth||100/m.length})),n=t?(0,d.clamp)(t,On[h],100):"";a[b]=n,e.onChangeTablet(n,a,b)}else{const a=m.map((e=>{let{attributes:t}=e;return t.columnWidthMobile||100})),n=t?(0,d.clamp)(t,On[h],100):"";a[b]=n,e.onChangeMobile(n,a,b)}}),[h,A,z,m,b]),[$,j]=(0,n.useState)(!1),[Q,K]=(0,n.useState)(!1),J=(0,n.useCallback)((()=>K(!0)),[]),X=(0,n.useCallback)((()=>K(!1)),[]),{showColumnTooltip:Y,setShowColumnTooltip:ee}=(0,n.useContext)(Rn),te=(0,n.useCallback)((e=>{j(e),e?ee(t):Q||Y!==t||ee(!1)}),[Y,ee,j,Q,t]);return(0,n.useEffect)((()=>{$||(Q&&!Y?ee(t):Q||Y!==t||ee(!1))}),[Y,ee,Q,$,t]),(0,n.createElement)(r.ResizableBox,{enable:Z,minWidth:"30",minHeight:"30",maxWidth:E,className:L,showHandle:!!p&&e.showHandle,snap:B,snapGap:20,onResizeStart:V,onResize:q,onResizeStop:G},p&&(0,n.createElement)(Zn,{isVisible:!u,blockContext:a,value:A?e.columnWidth:z?e.columnWidthTablet||e.columnWidth:e.columnWidthMobile,onChange:W,onTogglePopup:te,tooltipProps:{onMouseEnter:J,onMouseLeave:X}}),w&&(0,n.createElement)("style",null,w),e.children)},Zn=(0,n.memo)((e=>{const{adjacentBlocks:t,isOnlyBlock:a,blockIndex:i,isLastBlock:o,isFirstBlock:s}=e.blockContext,m=(0,O.hU)(),[b,g]=(0,n.useState)(!1),[p,h]=(0,n.useState)(""),[v,k]=(0,n.useState)(""),f=(0,n.useRef)(),y=(0,n.useRef)(),C=(0,n.useMemo)((()=>{if(void 0!==t&&!e.value&&!p){if("Desktop"===m){const e=(100/t.length).toFixed(1);return"33.3"===e.toString()?33.33:e}return"Tablet"===m?(0,c.__)("Auto",u.i18n):100}return""}),[null==t?void 0:t.length,e.value,p,m]),_=(0,n.useMemo)((()=>{const t=(e.value?parseFloat(e.value).toFixed(1):"")||p||C;return t!==(0,c.__)("Auto",u.i18n)?`'${t}%'`:`'${t}'`}),[e.value,p,C]);(0,n.useEffect)((()=>{e.onTogglePopup&&e.onTogglePopup(b),b&&(h(e.value),k(e.value||(C!==(0,c.__)("Auto",u.i18n)?C:"")),setTimeout((()=>{var e;null===(e=f.current)||void 0===e||e.querySelector("input").select()}),1))}),[b]);const E=(0,n.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";if(window.CustomEvent)if("right"===e){const e=o?0:i+1,t=y.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==t||t.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}else{const e=s?t.length-1:i-1,a=y.current.closest(".stk-row").querySelectorAll(".stk-resizable-column__size-tooltip")[e];null==a||a.dispatchEvent(new window.CustomEvent("openColumnInputPopup"))}}),[y.current,null==t?void 0:t.map((e=>{let{clientId:t}=e;return t})).join(",")]),x=(0,n.useCallback)((()=>{g(!0)}),[]);return(0,n.useEffect)((()=>{var e;return null===(e=y.current)||void 0===e||e.addEventListener("openColumnInputPopup",x),()=>{var e;null===(e=y.current)||void 0===e||e.removeEventListener("openColumnInputPopup",x)}}),[y.current,x]),(0,n.createElement)(n.Fragment,null,!a&&b&&(0,n.createElement)(r.Popover,{className:"stk-resizable-column__popup",anchorRef:y.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==y.current&&g(!1)}},(0,n.createElement)("div",{ref:f},(0,n.createElement)(J,{label:(0,c.__)("Column",u.i18n),className:"stk-resizable-column__input",value:v,allowReset:!1,onChange:t=>{const a="Desktop"===m?p:"",n=(0,d.clamp)(t,0,100)||a;""===n&&h(""),e.onChange(n),k(t)},onKeyDown:e=>{9===e.keyCode&&(E(e.shiftKey?"left":"right"),e.stopPropagation(),e.preventDefault())},placeholder:p||C||e.value}))),!a&&(0,n.createElement)("div",(0,l.Z)({},e.tooltipProps,{className:"stk-resizable-column__size-tooltip",ref:y,style:{"--width":_},onMouseDown:e=>{g(!b),e.preventDefault()},onKeyDown:e=>{13===e.keyCode&&g(!b)},role:"button",tabIndex:"0"})))}));Zn.defaultProps={isVisible:!0,blockContext:{},value:"",onChange:()=>{},tooltipProps:{},onTogglePopup:null},Dn.defaultProps={className:"",context:null,showHandle:!0,columnWidth:"",columnWidthTablet:"",columnWidthMobile:"",onChangeDesktop:()=>{},onChangeTablet:()=>{},onChangeMobile:()=>{},onResetDesktop:()=>{}};const Vn=(0,n.memo)(Dn),qn=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%";return"%"===a&&(t=(0,d.clamp)(e,5,100)),t=Math.max(e,5),isNaN(t)?"":t},Gn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"height",n=arguments.length>3?arguments[3]:void 0;if("px"===t)return"height"===a?null==n?void 0:n.clientHeight:null==n?void 0:n.clientWidth;const l=null==n?void 0:n.closest(".stk-img-resizer"),i=null==l?void 0:l.parentElement;if(!i)return e;const o="height"===a?i.clientHeight:i.clientWidth;return(0,d.clamp)(10*Math.round(e/o*10),10,100)},Wn=e=>{const[t,a]=(0,n.useState)(!1),[l,i]=(0,n.useState)(""),[s,d]=(0,n.useState)(""),[m,b]=(0,n.useState)(null),[g,p]=(0,n.useState)(null),h=(0,n.useRef)(),v=(0,n.useRef)(),k=(0,n.useCallback)((()=>{setTimeout((()=>{var e;null===(e=v.current)||void 0===e||e.querySelector("input").select()}),1)}),[v.current]);(0,n.useEffect)((()=>{b(null),p(null),t?(i(e.width),d(e.height),k()):(i(""),d(""))}),[t]);const f=o()(["stk-resizer-tooltip"],{"stk--is-editing":t}),y=o()(["stk-resizer-popup"],{"stk--is-wide":e.enableWidth&&e.enableHeight}),C=(0,n.createElement)(J,{placeholder:e.widthPlaceholder,default:"auto"===e.defaultWidth?"":e.defaultWidth,type:"number",label:e.enableWidth&&e.enableHeight?(0,c.__)("Width",u.i18n):(0,c.sprintf)((0,c.__)("%s Width",u.i18n),e.label),className:"stk-resizer-popup__size",units:e.widthUnits,unit:e.widthUnit,value:"auto"===l?"":l,allowReset:e.allowReset,onChangeUnit:t=>{if(t===e.widthUnit)return;let a=null;if(null===m){var n;b(e.width);const l=null===(n=h.current)||void 0===n?void 0:n.parentElement.querySelector(".stk-img"),o=Gn(e.width,t,"width",l);i(o),a=qn(o,t)}else i(m),a=m,b(null);e.onChangeWidth({value:a,unit:t}),k()},onChange:t=>{const a="auto"===t?"":t;b(null),i(a),a>=5?e.onChangeWidth({value:qn(a,e.widthUnit),unit:e.widthUnit}):""===a&&(b(null),i(""),e.enableWidth&&e.onChangeWidth({value:"",unit:""}))}}),_=(0,n.createElement)(J,{placeholder:e.heightPlaceholder,default:"auto"===e.defaultHeight?"":e.defaultHeight,type:"number",label:e.enableWidth&&e.enableHeight?(0,c.__)("Height",u.i18n):(0,c.sprintf)((0,c.__)("%s Height",u.i18n),e.label),className:"stk-resizer-popup__size",units:e.heightUnits,unit:e.heightUnit,value:"auto"===s?"":s,allowReset:e.allowReset,onChangeUnit:t=>{if(t===e.heightUnit)return;let a=null;if(null===g){var n;p(e.height);const l=null===(n=h.current)||void 0===n?void 0:n.parentElement.querySelector(".stk-img"),i=Gn(e.height,t,"height",l);d(i),a=qn(i,t)}else d(g),a=g,p(null);e.onChangeHeight({value:a,unit:t}),k()},onChange:t=>{const a="auto"===t?"":t;p(null),d(a),a>=5?e.onChangeHeight({value:qn(a,e.heightUnit),unit:e.heightUnit}):""===a&&(p(null),d(""),e.enableHeight&&e.onChangeHeight({value:"",unit:""}))}});let E=l||0===l?l:e.width||0===e.width?e.width:e.widthPlaceholder;E="auto"===E?"auto":`${E}${e.widthUnit}`;let x=s||0===s?s:e.height||0===e.height?e.height:e.heightPlaceholder;return x="auto"===x?"auto":`${x}${e.heightUnit}`,(0,n.createElement)(n.Fragment,null,t&&(0,n.createElement)(r.Popover,{className:y,anchorRef:h.current,position:"bottom right",onFocusOutside:e=>{e.relatedTarget!==h.current&&a(!1)}},(0,n.createElement)("div",{ref:v},e.enableWidth&&e.enableHeight&&(0,n.createElement)(r.BaseControl,{help:e.help,className:o()("stk-control stk--no-padding",e.className)},(0,n.createElement)("div",{className:"stk-control-label"},(0,n.createElement)("div",{className:"components-base-control__label"},(0,n.createElement)("h3",null,(0,c.sprintf)((0,c.__)("%s Size",u.i18n),e.label)))),(0,n.createElement)("div",{className:"stk-resizer-popup__control-wrapper"},C,(0,n.createElement)("span",{className:"stk-resizer-popup__x"},"×"),_)),!(e.enableWidth&&e.enableHeight)&&(0,n.createElement)("div",{className:"stk-resizer-popup__control-wrapper"},e.enableWidth&&!e.enableHeight&&C,!e.enableWidth&&e.enableHeight&&_))),(0,n.createElement)("div",{className:f,role:"button",tabIndex:"0",onMouseDown:()=>{a(!t)},onKeyDown:e=>{13===e.keyCode&&a(!t)},ref:h},e.enableWidth?E:null,e.enableWidth&&e.enableHeight?" × ":null,e.enableHeight?x:null))};Wn.defaultProps={width:"",height:"",widthUnit:"%",heightUnit:"px",widthUnits:["px","%"],heightUnits:["px","%"],enableWidth:!0,enableHeight:!0,allowReset:!0,onChangeWidth:()=>{},onChangeHeight:()=>{},label:(0,c.__)("Image",u.i18n),defaultWidth:"",defaultHeight:""};const $n=Wn,jn={Desktop:24,Tablet:24,Mobile:16},Qn=(0,d.range)(50,1001,50),Kn=(0,d.range)(8,1001,8),Jn={bottom:{height:"100%"}},Xn={top:!1,right:!1,bottom:!0,left:!1},Yn=e=>{const[t,a]=(0,n.useState)(0),[l,i]=(0,n.useState)(null),[s,c]=(0,n.useState)(!1),[u,d]=(0,n.useState)(Qn),m=(0,O.PR)();(0,n.useEffect)((()=>{d(null)}),[m]);const b=(0,O.hU)(),g=(0,k.applyFilters)("stackable.resizable-bottom-margin.default",jn[b]),p=o()(["stk-resizable-bottom-margin"],{"stk--is-resizing":null!==l,"stk--is-tiny":(""!==e.value?e.value:g)<5}),h=(0,n.useCallback)((()=>{let t=e.value?parseFloat(e.value):0;if(!e.value&&e.previewSelector){const a=document.querySelector(e.previewSelector);a&&(t=parseFloat(window.getComputedStyle(a).marginBottom))}return a(t||0),t||0}),[e.value,e.previewSelector]);(0,n.useEffect)((()=>{h()}),[e.previewSelector]);const v=(0,n.useMemo)((()=>({height:e.value||0===e.value?e.value:t||g})),[e.value,t,g]);return(0,n.createElement)(r.ResizableBox,{className:p,minHeight:"0",handleStyles:Jn,enable:Xn,size:v,snap:u,snapGap:5,onResizeStart:()=>{const e=h();i(e),c(!0)},onResize:(e,a,n,l)=>{i(t+l.height),u||d(function(){return{y:arguments.length>0&&void 0!==arguments[0]&&arguments[0]?Kn:Qn}}(m))},onResizeStop:()=>{e.onChange(l===g?"":l),a(0),i(null),c(!1)}},e.previewSelector&&s&&(0,n.createElement)("style",null,`.editor-styles-wrapper ${e.previewSelector} { margin-bottom: ${l}px !important; }`),(0,n.createElement)("span",{className:"stk-resizable-bottom-margin__label"},`${s?l:""!==e.value?e.value:t||g}px`))};Yn.defaultProps={previewSelector:"",value:"",onChange:()=>{}};const el=(e,t)=>({...t||{},bottom:e}),tl=(0,n.memo)((e=>{const{clientId:t}=(0,s.useBlockEditContext)(),a=(0,O.kX)(t),l=(0,O.hU)(),i=(0,n.useCallback)((t=>{let n=null!=t&&t.bottom||0===(null==t?void 0:t.bottom)?null==t?void 0:t.bottom:"";return n||0===n||("Mobile"===l?["mobile","tablet","desktop"]:"Tablet"===l?["tablet","desktop"]:["desktop"]).some((t=>{const l=a[(0,U.UX)(e.attribute,t)];return!(""===l||void 0===l||(n=n=null!=l&&l.bottom||0===(null==l?void 0:l.bottom)?null==l?void 0:l.bottom:"",!n&&0!==n))})),n}),[e.attribute,a,l]),[o,r]=(0,h.G)(e.attribute,e.responsive,!1,i,el);return(0,n.createElement)(Yn,{previewSelector:e.previewSelector,value:o,onChange:r})}));tl.defaultProps={previewSelector:"",attribute:"",responsive:!1};const al=tl,{Slot:nl,Fill:ll}=(0,r.createSlotFill)("StackablePreInspectorTab"),{Slot:il,Fill:ol}=(0,r.createSlotFill)("StackableBlockInspectorTab"),{Slot:rl,Fill:sl}=(0,r.createSlotFill)("StackableStyleInspectorTab"),{Slot:cl,Fill:ul}=(0,r.createSlotFill)("StackableAdvancedInspectorTab"),dl=e=>{let{children:t}=e;const{isSelected:a,name:l}=(0,s.useBlockEditContext)(),[i]=_e(`tabCache-${l}`,"style");return a&&"block"===i?(0,n.createElement)(ol,null,t):null},ml=e=>{let{children:t}=e;const{isSelected:a,name:l}=(0,s.useBlockEditContext)(),[i]=_e(`tabCache-${l}`,"style");return a&&"style"===i?(0,n.createElement)(sl,null,t):null},bl=e=>{let{children:t}=e;const{isSelected:a,name:l}=(0,s.useBlockEditContext)(),[i]=_e(`tabCache-${l}`,"style");return a&&"advanced"===i?(0,n.createElement)(ul,null,t):null},gl=e=>{const{name:t}=(0,s.useBlockEditContext)(),[a,l]=_e(`tabCache-${t}`,e.tabs.includes("style")?"style":"block");return(0,n.createElement)(s.InspectorControls,null,(0,n.createElement)(nl,null),(0,n.createElement)(ze,{tabs:e.tabs,initialTab:a,onClick:l}),(0,n.createElement)(il,null),(0,n.createElement)(rl,null),(0,n.createElement)(cl,null))};gl.defaultProps={tabs:["block","style","advanced"]};const pl=(0,n.memo)(gl),hl=e=>{let t=e.videoUrl;const a=(0,O.hU)();return"Desktop"!==a&&e.videoUrlTablet&&(t=e.videoUrlTablet),"Mobile"===a&&e.videoUrlMobile&&(t=e.videoUrlMobile),(0,U.sM)(t)?(0,n.createElement)("video",{className:"stk-video-background",autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:t}):null};hl.defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""},(hl.Content=e=>{const t=o()(["stk-video-background"],{"stk--hide-tablet":e.videoUrlTablet,"stk--hide-mobile":e.videoUrlTablet||e.videoUrlMobile}),a=o()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-mobile":e.videoUrlMobile}),l=o()(["stk-video-background"],{"stk--hide-desktop":!0,"stk--hide-tablet":!0});return(0,n.createElement)(n.Fragment,null,(0,U.sM)(e.videoUrl)&&(0,n.createElement)("video",{className:t,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrl}),(0,U.sM)(e.videoUrlTablet)&&(0,n.createElement)("video",{className:a,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlTablet}),(0,U.sM)(e.videoUrlMobile)&&(0,n.createElement)("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:e.videoUrlMobile}))}).defaultProps={videoUrl:"",videoUrlTablet:"",videoUrlMobile:""};const vl=hl,kl=e=>{const{blockTag:t,className:a,hasBackground:i,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:c,backgroundColorType:u,...d}=e,m=o()([a],{"stk--has-background-overlay":i&&("gradient"===u||r||s||c)});return(0,n.createElement)(t,(0,l.Z)({className:m},d),e.children,(0,n.createElement)(vl,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:c}))};kl.defaultProps={blockTag:"div",className:"",hasBackground:!0,backgroundUrl:"",backgroundUrlTablet:"",backgroundUrlMobile:"",backgroundColorType:""},(kl.Content=e=>{const{blockTag:t,className:a,hasBackground:i,backgroundUrl:r,backgroundUrlTablet:s,backgroundUrlMobile:c,backgroundColorType:u,...d}=e,m=o()([a],{"stk--has-background-overlay":i&&("gradient"===u||r||s||c)});return(0,n.createElement)(t,(0,l.Z)({className:m},d),e.children,(0,n.createElement)(vl.Content,{videoUrl:r,videoUrlTablet:s,videoUrlMobile:c}))}).defaultProps={...kl.defaultProps};const fl=kl,yl=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M-10 210h1620V105.2H-10z"}))},Cl={"wave-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"wave-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"wave-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"wave-4":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"curve-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"curve-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"curve-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"slant-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M1610 210H-10V.5l1620 183.4z"}))}}},"slant-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.createElement)("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}))}}},"straight-1":{default:{shape:yl},inverted:{shape:yl}},"rounded-1":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"rounded-2":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}},"rounded-3":{default:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}},inverted:{shape:function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 200"},e),(0,n.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"}))}}}},_l=e=>{const{design:t,inverted:a,layer:l}=e,{shape:i}=Cl[t||"wave-1"][a?"inverted":"default"];return(0,n.createElement)(i,{className:`stk-separator__layer-${l}`,preserveAspectRatio:"none","aria-hidden":!0})};_l.defaultProps={className:"",design:"wave-1",inverted:!1,layer:1},_l.Content=e=>(0,n.createElement)(_l,e);const El=_l;var xl=a(5332);const wl=e=>{const{icon:t=xl.Z,label:a=(0,c.__)("Choose variation"),instructions:l=(0,c.__)("Select a variation to start with."),variations:i,onSelect:s,allowSkip:d}=e,m=o()("block-editor-block-variation-picker",{"has-many-variations":i.length>4}),b=i.some((e=>e.isPremium));return(0,n.createElement)("div",{className:"stk-variation-picker"},(0,n.createElement)(r.Placeholder,{icon:t,label:a,instructions:l,className:m},(0,n.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":(0,c.__)("Block variations")},i.map((e=>(0,n.createElement)("li",{key:e.name},(0,n.createElement)(r.Button,{variant:"secondary",icon:e.pickerIcon||e.icon,iconSize:48,isSecondary:!0,onClick:()=>s(e),className:o()("block-editor-block-variation-picker__variation",{"is-premium":e.isPremium}),label:e.description||e.pickerTitle||e.title,disabled:!u.isPro&&e.isPremium}),(0,n.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.pickerTitle||e.title))))),!u.isPro&&u.showProNotice&&b&&(0,n.createElement)("p",{className:"block-editor-block-variation-picker__notice"},(0,c.__)("Upgrade to Premium to get more design variations.",u.i18n)," ",(0,n.createElement)("a",{href:"https://wpstackable.com/upgrade/?utm_source=variation-picker&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium"},(0,c.__)("Learn more",u.i18n))),d&&(0,n.createElement)("div",{className:"block-editor-block-variation-picker__skip"},(0,n.createElement)(r.Button,{variant:"link",onClick:()=>s()},(0,c.__)("Skip")))))},Sl=".edit-post-header-toolbar__list-view-toggle, .block-editor-block-navigation";let Bl=null;const Tl=()=>{const e=(0,n.useMemo)((()=>null===Bl?(Bl=!!document.querySelector(Sl),Bl):Bl),[]);return(0,n.createElement)("p",{className:"stk-inspector-bottom-tip"},(0,c.__)("Click on any inner block in the editor to style it.",u.i18n),(0,n.createElement)("br",null),(0,n.createElement)("br",null),e&&(0,c.__)("Tip: Open the %sList View%s to better see the blocks.",u.i18n).split(/%s/g).map(((e,t)=>1===t?(0,n.createElement)("a",{href:"#0",role:"button",onClick:()=>{var e;null===(e=document.querySelector(Sl))||void 0===e||e.click()}},e):e)))}},7385:()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},9759:(e,t,a)=>{"use strict";a.d(t,{Z:()=>g});var n=a(2610),l=a(6246),i=a(7462);a(7294);const o=function(e){return(0,n.createElement)("svg",(0,i.Z)({id:"pro-icon_svg__Layer_3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve"},e),(0,n.createElement)("style",null,".pro-icon_svg__st2{fill:#8c33da}"),(0,n.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"}),(0,n.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"}),(0,n.createElement)("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),(0,n.createElement)("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),(0,n.createElement)("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),(0,n.createElement)("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),(0,n.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"}),(0,n.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"}),(0,n.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"}),(0,n.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"}))};var r=a(2440),s=a(8003),c=a(910),u=a(4184),d=a.n(u);const m={layout:{title:(0,s.__)("Say Hello to More Layouts 👋",c.i18n),description:(0,s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},design:{title:(0,s.__)("Say Hello to More Designs 👋",c.i18n),description:(0,s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},image:{title:(0,s.__)("Say Hello to More Shapes 👋",c.i18n),description:(0,s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},effect:{title:(0,s.__)("Say Hello to More Effects 👋",c.i18n),description:(0,s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},advanced:{title:(0,s.__)("Say Hello to Fine-Grained Controls 👋",c.i18n),description:(0,s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},postsBlock:{title:(0,s.__)("Say Hello to More Post Controls 👋",c.i18n),description:(0,s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)},display:{title:(0,s.__)("Say Hello to More Display Conditions 👋",c.i18n),description:(0,s.__)("Get more condition types, add multiple conditions and more. This feature is only available on Stackable Premium.",c.i18n),button:(0,s.__)("Learn More",c.i18n)}},b=e=>{const t=d()(["ugb-design-control-pro-note",e.className]);return(0,n.createElement)("div",{className:t},e.isDismissible&&(0,n.createElement)(r.Z,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),(0,n.createElement)(o,{className:"ugb-design-control-pro-note__logo"}),(0,n.createElement)("h4",null,e.title||m[e.type].title),(0,n.createElement)("p",null,e.description||m[e.type].description),e.showButton&&(0,n.createElement)(l.Z,{button:e.button||m[e.type].button,buttonUtmSource:e.buttonUtmSource}),e.showHideNote&&(0,n.createElement)("p",{className:"ugb-design-control-pro-note__notice"},(0,s.__)("You can hide premium hints in the settings",c.i18n)))};b.defaultProps={className:"",type:"layout",title:"",description:"",button:"",showButton:!0,showHideNote:!0,isDismissible:!1,onClose:()=>{},buttonUtmSource:void 0};const g=b},6246:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(2610),l=a(910),i=a(8003),o=a(7537),r=a(4597);class s extends n.Component{constructor(){super(...arguments),this.state={isOpen:!1,slide:0},this.open=this.open.bind(this),this.close=this.close.bind(this),this.prev=this.prev.bind(this),this.next=this.next.bind(this)}open(){this.setState({isOpen:!0})}close(){this.setState({isOpen:!1})}next(){const e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}prev(){const e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}render(){const e=this.props.tag;return(0,n.createElement)(e,null,(0,n.createElement)("a",{href:`https://wpstackable.com/upgrade/?utm_source=${this.props.buttonUtmSource}&utm_campaign=learnmore&utm_medium=gutenberg`,target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&(0,n.createElement)(o.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},(0,n.createElement)("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:(0,i.__)("Premium features",l.i18n)}),(0,n.createElement)("div",{className:"ugb-pro-modal__footer"},(0,n.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:(0,i.__)("Upgrade to Premium",l.i18n)},(0,n.createElement)(r.y4,null),(0,i.__)("Upgrade to Premium",l.i18n)),(0,n.createElement)("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:(0,i.__)("Try Premium Demo",l.i18n)},(0,i.__)("Try Premium Demo",l.i18n)))))}}s.defaultProps={button:(0,i.__)("Learn More",l.i18n),buttonClassName:"button button-secondary",tag:"div",buttonUtmSource:"editor-learn-more"};const c=s},1874:(e,t,a)=>{"use strict";a.d(t,{$:()=>s});var n=a(2610),l=a(3284),i=a(8085),o=a(6869);const r=(0,i.throttle)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;t&&!t.classList.contains(`stk-preview-device-${e.toLowerCase()}`)&&(t.classList.remove("stk-preview-device-desktop","stk-preview-device-tablet","stk-preview-device-mobile"),t.classList.add(`stk-preview-device-${e.toLowerCase()}`))}),100),s=()=>{const e=(0,o.hU)(),{getEditorDom:t}=(0,l.useSelect)("stackable/editor-dom");(0,n.useEffect)((()=>{r(e,t())}),[e,t])}},2046:(e,t,a)=>{"use strict";a.d(t,{Z:()=>b});var n=a(2610),l=a(7462);a(7294);var i=a(6500),o=a(6869),r=a(910),s=a(8003),c=a(3284);const u={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},d=[{label:(0,s.__)("Desktop",r.i18n),value:"desktop",icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M14.5 2.4h-13c-.4 0-.8.3-.8.8v7c0 .4.3.8.8.8h5.8v1.3H5.6c-.4 0-.8.3-.8.8s.3.8.8.8h4.8c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.8V11h5.8c.4 0 .8-.3.8-.8v-7c-.2-.5-.5-.8-.9-.8zm-.7 7H2.2V3.9h11.5v5.5z"}))}),null)},{label:(0,s.__)("Tablet",r.i18n),value:"tablet",icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M13 14.8H3c-.4 0-.8-.3-.8-.8V2c0-.4.3-.8.8-.8h10c.4 0 .8.3.8.8v12c0 .4-.4.8-.8.8zm-9.2-2.6h8.5V2.8H3.8v9.4z"}))}),null)},{label:(0,s.__)("Mobile",r.i18n),value:"mobile",icon:(0,n.createElement)((function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M11 14.2H5c-.4 0-.8-.3-.8-.8v-11c0-.4.3-.8.8-.8h6c.4 0 .8.3.8.8v11c0 .5-.4.8-.8.8zm-5.2-2h4.5v-9H5.8v9z"}))}),null)}],m=e=>{const t=(0,o.hU)(),a=(0,n.useCallback)((e=>{const{__experimentalSetPreviewDeviceType:t}=(0,c.dispatch)("core/edit-post");t(u[e])}),[]),l=(0,n.useMemo)((()=>d.filter((t=>{var a;let{value:n}=t;return null===(a=e.screens)||void 0===a?void 0:a.includes(n)}))),[e.screens]);return l<=1?null:t?(0,n.createElement)(i.Z,{className:"stk-control-responsive-toggle",value:t.toLowerCase(),options:l,onChange:e=>a(e)}):null};m.defaultProps={screens:["desktop"]};const b=(0,n.memo)(m)},7044:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u,A:()=>d});var n=a(2610),l=a(4247),i=a.n(l),o=a(9190),r=a(9755),s=a(4678);const c=(0,n.memo)((e=>{const{version:t,versionAdded:a,versionDeprecated:l,styles:c,deviceType:u,blockUniqueClassName:m,breakTablet:b,breakMobile:g}=e,p=(null==m?void 0:m.replace("stk-",""))||"",h=(0,s.wB)(p),v=h&&!m.match(/-[\d]$/g)?m+`-${h}`:m,k=(0,n.useMemo)((()=>t?i()(t,a)>=0&&(!l||-1===i()(t,l)):!!l),[t,a,l]),f=(0,n.useMemo)((()=>{if(!k)return"";const e=(0,o.Yf)(c,u);return(0,o.KL)(d(e),v,b,g)}),[k,c,u,v,b,g]),y=(0,r.wt)(f.join(""));return k&&f&&e.blockUniqueClassName&&y?(0,n.createElement)("style",null,y):null}));c.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,deviceType:"",version:"",versionAdded:"",versionDeprecated:!1},c.Content=e=>{const{version:t,versionAdded:a,versionDeprecated:l,styles:r,blockUniqueClassName:c,breakTablet:u,breakMobile:m}=e;if(!e.blockUniqueClassName)return null;if(!(t?i()(t,a)>=0&&(!l||-1===i()(t,l)):l))return null;const b=(0,o.KL)(d(r),c,u,m);return b?(0,n.createElement)(n.Fragment,null,(0,s.hJ)(b.join(""))):null},c.Content.defaultProps={styles:null,blockUniqueClassName:"",breakTablet:1024,breakMobile:768,doImportant:!0,version:"",versionAdded:"",versionDeprecated:!1};const u=c,d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"object"!=typeof e?(0,s.db)(e,t):Object.keys(e).reduce(((a,n)=>({...a,[n]:d(e[n],t)})),{})}},8324:(e,t,a)=>{"use strict";a.d(t,{gC:()=>c,ih:()=>d,vl:()=>m,Ec:()=>b});var n=a(6179),l=a.n(n),i=a(3882);const o="v3";let r=null,s=[];const c=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!r||e){const t=await l()({path:"/stackable/v2/design_library"+(e?"/reset":""),method:"GET"});r=await t,e&&((0,i.doAction)("stackable.design-library.reset-cache"),s=[])}return r[t||o]},u=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!s[e]){const a=await l()({path:`/stackable/v2/design/${t||o}/${e}`,method:"GET"});s[e]=await a}return s[e]},d=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=await l()({path:"/stackable/v2/design_library_dev_mode/",method:"POST",data:{devmode:e}});return await t},m=async e=>{let{type:t="",block:a="",mood:n="",plan:l="",colors:o=[],categories:r=[],uikit:s="",search:u="",reset:d=!1,apiVersion:m=""}=e,b=Object.values(await c(d,m));if(t&&(b=b.filter((e=>{let{type:a}=e;return a===t}))),a){const e=a.replace(/^\w+\//,"");b=b.filter((t=>{let{block:a}=t;return a.endsWith(`/${e}`)}))}return n&&(b=b.filter((e=>{let{mood:t}=e;return t===n}))),l&&(b=b.filter((e=>{let{plan:t}=e;return t===l}))),o&&o.length&&(b=b.filter((e=>{let{colors:t}=e;return t.some((e=>o.includes(e)))}))),r&&r.length&&(b=b.filter((e=>{let{categories:t}=e;return t.some((e=>r.includes(e)))}))),s&&(b=b.filter((e=>{let{uikit:t}=e;return t===s}))),u&&u.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach((e=>{b=b.filter((t=>(0,i.applyFilters)("stackable.design-library.search-properties",["label","plan","tags","categories","colors"],m).some((a=>-1!==t[a].toString().toLowerCase().indexOf(e)))))})),b},b=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const a=await c(!1,t),n=a[e];let l=await(0,i.applyFilters)("stackable.design-library.get-design",null,e,n,t);return!l&&n.template&&(l=await u(e,t)),l}},1951:(e,t,a)=>{"use strict";a.d(t,{GC:()=>d,dF:()=>g.Z,kY:()=>b});var n=a(7462),l=a(2610),i=a(8085);const{clearTimeout:o,setTimeout:r}=window,s=250;function c(e){let{ref:t,isFocused:a,debounceTimeout:n=s,onChange:c=i.noop}=e;const[u,d]=(0,l.useState)(!1),m=(0,l.useRef)(),b=e=>{d(e),c(e)},g=()=>{const e=m.current;e&&o&&o(e)};return(0,l.useEffect)((()=>()=>g()),[]),{showMovers:u,debouncedShowMovers:e=>{g(),u||b(!0)},debouncedHideMovers:e=>{g(),m.current=r((()=>{(()=>{const e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!a&&!e})()&&b(!1)}),n)}}}var u=a(3749);const d=(0,u.createHigherOrderComponent)((e=>t=>{const a=(0,l.useRef)(),{showMovers:o,gestures:r}=function(e){let{ref:t,debounceTimeout:a=s,onChange:n=i.noop}=e;const[o,r]=(0,l.useState)(!1),{showMovers:u,debouncedShowMovers:d,debouncedHideMovers:m}=c({ref:t,debounceTimeout:a,isFocused:o,onChange:n}),b=(0,l.useRef)(!1),g=()=>(null==t?void 0:t.current)&&t.current.contains(document.activeElement);return(0,l.useEffect)((()=>{const e=t.current,a=()=>{g()&&(r(!0),d())},n=()=>{g()||(r(!1),m())};return e&&!b.current&&(e.addEventListener("focus",a,!0),e.addEventListener("blur",n,!0),b.current=!0),()=>{e&&(e.removeEventListener("focus",a),e.removeEventListener("blur",n))}}),[t,b,r,d,m]),{showMovers:u,gestures:{onMouseMove:d,onMouseLeave:m}}}({ref:a});return(0,l.createElement)("div",(0,n.Z)({},r,{ref:a}),(0,l.createElement)(e,(0,n.Z)({},t,{isHovered:o})))}),"withIsHovered");var m=a(910);const b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.version;return(0,u.createHigherOrderComponent)((t=>a=>(0,l.createElement)(t,(0,n.Z)({},a,{version:e}))),"withVersion")};var g=a(6071)},6071:(e,t,a)=>{"use strict";a.d(t,{v:()=>i,Z:()=>o});var n=a(2610),l=a(3749);const i=(0,n.createContext)(null),o=(0,l.createHigherOrderComponent)((e=>t=>(0,n.createElement)(i.Provider,{value:t.context},(0,n.createElement)(e,t))),"withQueryLoopContext")},6869:(e,t,a)=>{"use strict";a.d(t,{RK:()=>h,Qj:()=>B,Mf:()=>y,Uj:()=>C,kX:()=>m,VG:()=>o,Bh:()=>_,WV:()=>N,Ry:()=>z,Sg:()=>p,hU:()=>d,_I:()=>u,Av:()=>f,gB:()=>S,i9:()=>w,Bm:()=>M,PV:()=>L,PR:()=>s});var n=a(8085),l=a(3284),i=a(78);const o=function(){var e,t,a,o,r;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const c=(0,i.useBlockEditContext)(),u=s||c.clientId,{getBlock:d,block:m,parentClientId:b}=(0,l.useSelect)((e=>{const{getBlock:t,getBlockParents:a}=e("core/block-editor");return{getBlock:t,block:t(u),parentClientId:(0,n.last)(a(u))}}),[]),{getEditorDom:g}=(0,l.useSelect)("stackable/editor-dom"),p=b&&b!==u,h=p?d(b):null;var v,k;if(!p)return{numInnerBlocks:null==m||null===(v=m.innerBlocks)||void 0===v?void 0:v.length,hasInnerBlocks:!(null==m||null===(k=m.innerBlocks)||void 0===k||!k.length),innerBlocks:null==m?void 0:m.innerBlocks};const f=p?(0,n.indexOf)(null==h?void 0:h.innerBlocks,m):-1,y=!!p&&(null===(e=(0,n.last)(null==h?void 0:h.innerBlocks))||void 0===e?void 0:e.clientId)===u;var C,_,E,x;if(p&&"stackable/column"===m.name&&!(null===(C=g())||void 0===C||null===(_=C.querySelector(`[data-block="${h.clientId}"] .stk-block`))||void 0===_?void 0:_.classList.contains("stk-row")))return{blockIndex:f,parentBlock:h,isFirstBlock:!0,isLastBlock:!0,isOnlyBlock:!0,adjacentBlock:null,adjacentBlockIndex:-1,adjacentBlocks:[],numInnerBlocks:null==m||null===(E=m.innerBlocks)||void 0===E?void 0:E.length,hasInnerBlocks:!(null==m||null===(x=m.innerBlocks)||void 0===x||!x.length),innerBlocks:null==m?void 0:m.innerBlocks};return{blockIndex:f,parentBlock:h,isFirstBlock:!!p&&(null===(t=(0,n.first)(null==h?void 0:h.innerBlocks))||void 0===t?void 0:t.clientId)===u,isLastBlock:y,isOnlyBlock:!!p&&(null==h||null===(a=h.innerBlocks)||void 0===a?void 0:a.length)<=1,adjacentBlock:p?(0,n.nth)(null==h?void 0:h.innerBlocks,y?f-1:f+1):null,adjacentBlockIndex:p?y?f-1:f+1:-1,adjacentBlocks:(null==h?void 0:h.innerBlocks)||[],numInnerBlocks:null==m||null===(o=m.innerBlocks)||void 0===o?void 0:o.length,hasInnerBlocks:!(null==m||null===(r=m.innerBlocks)||void 0===r||!r.length),innerBlocks:null==m?void 0:m.innerBlocks}};var r=a(2610);const s=()=>{const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{t(e.shiftKey)};return window.addEventListener("keydown",e),window.addEventListener("keyup",e),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",e)}}),[]),e},c={},u=function(e,t,a){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const[o,s]=(0,r.useState)(a);if(t&&!c[t]){const e=(0,l.select)("core/blocks").getBlockType(t).attributes;c[t]=Object.keys(e).reduce(((t,a)=>(t[a]=e[a].default||"",t)),{})}(0,r.useEffect)((()=>{if(!t)return;const l=Object.keys(a).filter((e=>a[e]!==o[e])),r=[];i?l.forEach((e=>{const n=c[t][e];a[e]!==n&&r.push(e)})):r.push(...l),r.length&&e((0,n.pick)(a,r),(0,n.pick)(o,r)),s(a)}),[JSON.stringify(a||{})])},d=()=>{const{deviceType:e}=(0,l.useSelect)((e=>{var t;return{deviceType:(null===(t=e("core/edit-post"))||void 0===t?void 0:t.__experimentalGetPreviewDeviceType())||"Desktop"}}),[]);return e||""},m=e=>(0,l.useSelect)((t=>t("core/block-editor").getBlockAttributes(e)||{}),[e]);var b=a(3420),g=a.n(b);const p=e=>{const{clientId:t}=(0,i.useBlockEditContext)(),{className:a}=m(t),l=(0,r.useMemo)((()=>{let t="";for(const l of new(g())(a).values()){if(-1===l.indexOf("is-style-"))continue;const a=l.substring(9),i=(0,n.find)(e,{name:a});if(i){t=i;break}}return t||(t=(0,n.find)(e,"isDefault")),t}),[a,e]);return(null==l?void 0:l.name)||"default"},h=(e,t)=>{for(const a of new(g())(t).values()){if(-1===a.indexOf("is-style-"))continue;const t=a.substring(9),l=(0,n.find)(e,{name:t});if(l)return l}return(0,n.find)(e,"isDefault")};var v=a(3882),k=a(4678);const f=e=>{(0,r.useEffect)((()=>{(0,k.u$)(e),(0,v.doAction)("stackable.font-loader.load",e)}),[e])},y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s";const{clientId:t}=(0,i.useBlockEditContext)(),{getBlockAttributes:a}=(0,l.useSelect)((e=>({getBlockAttributes:e("core/block-editor").getBlockAttributes})),[t]),n=(0,r.useCallback)((function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";return(0,k.UX)((0,k.CR)(e)(t),a,n)}),[t,e]),o=(0,r.useCallback)((function(n){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const o=(0,k.CR)(e),r=a(t)||{};return r[(0,k.UX)(o(n),l,i)]}),[t,e,a]),s=(0,r.useCallback)((()=>a(t)||{}),[t,a]),c=(0,r.useCallback)((function(a,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"normal";const{updateBlockAttributes:r}=(0,l.dispatch)("core/block-editor"),s=(0,k.CR)(e);return r(t,{[(0,k.UX)(s(a),i,o)]:n})}),[t,e]),u=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";return n=>c(e,n,t,a)}),[t,e]),d=(0,r.useCallback)((e=>{const a=Object.keys(e).reduce(((t,a)=>(t[n(a)]=e[a],t)),{}),{updateBlockAttributes:i}=(0,l.dispatch)("core/block-editor");i(t,a)}),[t,e]);return{getAttrName:n,getAttribute:o,getAttributes:s,updateAttributeHandler:u,updateAttributes:d,updateAttribute:c}},C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const n=d(),[l]=z();let i="desktop";("all"===t||Array.isArray(t)&&t.includes(n))&&(i=n);let o="normal";return("all"===a||Array.isArray(a)&&a.includes(l))&&(o=l),(0,k.UX)(e,i,o)},_=e=>{const{clientId:t}=(0,i.useBlockEditContext)(),{uniqueId:a}=m(t);return(0,r.useMemo)((()=>new E(a,e)),[a,e])};class E{constructor(e,t){this.selector=`.stk-${e}${t?" "+t:""}`}el(){return document.querySelector(this.selector)}}const x=()=>JSON.parse(window.localStorage.getItem("stackable-linking"))||[],w=()=>{const{clientId:e}=(0,i.useBlockEditContext)(),{uniqueId:t}=m(e),[a,n]=(0,r.useState)(x());return(0,r.useEffect)((()=>{const e=()=>{n(x())};return window.addEventListener("stackable-linked-storage",e),()=>window.removeEventListener("stackable-linked-storage",e)}),[]),[(0,r.useMemo)((()=>a.includes(t)),[a,t]),e=>{const a=x(),n=e?[...a,t]:a.filter((e=>e!==t));window.localStorage.setItem("stackable-linking",JSON.stringify(n.slice(0,50))),window.dispatchEvent(new window.CustomEvent("stackable-linked-storage"))}]},S=e=>{const t=m(e);return null!=t&&t.uniqueId?x().includes(t.uniqueId):null},B=e=>{if(!e)return null;const t=(0,l.select)("core/block-editor").getBlockAttributes(e);return null!=t&&t.uniqueId?x().includes(t.uniqueId):null},T={selectedBlock:null,hoverState:"normal",hasParentHoverState:!1,selectedParentHoverBlock:null,selectedParentHoverChildren:[],selectedHoverChildren:[],hasCollapsedState:!1,selectedCollapsedBlock:null,selectedCollapsedChildren:[]},A={updateSelectedBlock:(e,t)=>{var a,n;const l=null==t?void 0:t.querySelector(`[data-block="${e}"]`),i=null==l||null===(a=l.closest(".stk-hover-parent"))||void 0===a?void 0:a.closest("[data-block]"),o=(null==i?void 0:i.getAttribute("data-block"))||null,r=Array.from((null==i?void 0:i.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],s=Array.from((null==l?void 0:l.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],c=(null==l||null===(n=l.closest(".stk-block-accordion"))||void 0===n?void 0:n.closest("[data-block]"))||("stackable/accordion"===(null==l?void 0:l.getAttribute("data-type"))?l:null),u=(null==c?void 0:c.getAttribute("data-block"))||null;return{type:"UPDATE_SELECTED_BLOCK",clientId:e,parentHoverClientId:o,hasParentHoverState:!!o,parentHoverChildrenClientIds:r,hoverChildrenClientIds:s,collapsedClientId:u,collapsedChildrenClientIds:Array.from((null==c?void 0:c.querySelectorAll("[data-block]"))||[]).map((e=>e.getAttribute("data-block")))||[],hasCollapsedState:!!u}},clearSelectedBlock:()=>({type:"CLEAR_SELECTED_BLOCK"}),updateHoverState:e=>({type:"UPDATE_HOVER_STATE",value:e})};(0,l.registerStore)("stackable/hover-state",{reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SELECTED_BLOCK":return{...e,selectedBlock:t.clientId,selectedParentHoverBlock:t.parentHoverClientId,hasParentHoverState:t.hasParentHoverState,selectedParentHoverChildren:t.parentHoverChildrenClientIds,selectedHoverChildren:t.hoverChildrenClientIds,hasCollapsedState:t.hasCollapsedState,selectedCollapsedBlock:t.collapsedClientId,selectedCollapsedChildren:t.collapsedChildrenClientIds};case"CLEAR_SELECTED_BLOCK":return{...T};case"UPDATE_HOVER_STATE":return{...e,hoverState:t.value}}return e},actions:A,selectors:{getSelectedBlock:e=>e.selectedBlock,getHoverState:e=>e.hoverState,getHasParentHoverState:e=>e.hasParentHoverState,getSelectedParentHoverBlock:e=>e.selectedParentHoverBlock,getSelectedParentHoverBlockChildren:e=>e.selectedParentHoverChildren,getSelectedHoverChildren:e=>e.selectedHoverChildren,getHasCollapsedState:e=>e.hasCollapsedState,getSelectedCollapsedBlock:e=>e.selectedCollapsedBlock,getSelectedCollapsedBlockChildren:e=>e.selectedCollapsedChildren}});const z=()=>{const{clientId:e}=(0,i.useBlockEditContext)(),{updateHoverState:t}=(0,l.useDispatch)("stackable/hover-state"),a=(0,r.useCallback)((e=>{t(e)}),[]),n=(0,l.useSelect)((e=>e("stackable/hover-state").getHoverState()),[]),{getSelectedBlock:o,getSelectedParentHoverBlock:s,getSelectedParentHoverBlockChildren:c,getSelectedHoverChildren:u,getHasParentHoverState:d,getHasCollapsedState:m,getSelectedCollapsedBlock:b,getSelectedCollapsedBlockChildren:g}=(0,l.useSelect)("stackable/hover-state"),p=o(),h=s(),v=c(),k=u(),f=d(),y=m(),C=b(),_=g(),E=e===p,x=e===h,w=v.includes(e),S=k.includes(e),B=e===C,T=_.includes(e);let A="",z="normal";return E?("hover"!==n&&"parent-hovered"!==n||(A="stk--is-hovered"),z=n,f||"parent-hovered"!==n||(z="hover")):x?"hover"!==n&&"parent-hovered"!==n||(A="stk--is-hovered",z="hover"):w||S?"hover"!==n&&"parent-hovered"!==n||(A="stk--is-hovered",z="parent-hovered"):(T||B)&&(z="collapsed"),[z,a,A,f,y,B]},N=()=>z()[2],M=e=>{const{type:t,orderBy:a,order:i,taxonomyType:o,taxonomy:s,taxonomyFilterType:c,postOffset:u,postExclude:d,postInclude:m,numberOfItems:b=6,excludeCurrentPost:g}=e,p=(0,r.useMemo)((()=>{const t=(0,n.pickBy)({...(0,v.applyFilters)("stackable.posts.postQuery",{order:i,orderby:a,per_page:b},e)},(e=>Array.isArray(e)?!(0,n.isEmpty)(e):!(0,n.isUndefined)(e)&&""!==e));return s&&o&&("category"===o?t["__in"===c?"categories":"categories_exclude"]=s:"post_tag"===o?t["__in"===c?"tags":"tags_exclude"]=s:t["__in"===c?o:`${o}_exclude`]=s),t}),[t,a,i,o,s,c,u,d,m,b,g]),h=(0,l.useSelect)((e=>!e("core").hasFinishedResolution("getEntityRecords",["postType",t,p])),[p]),k=(0,l.useSelect)((e=>e("core").getEntityRecords)),f=(0,r.useMemo)((()=>{const e=k("postType",t,p);return Array.isArray(e)?(0,n.uniqBy)(e,"id"):e}),[k,h,p]);return{posts:f,hasPosts:Array.isArray(f)&&!!f.length,isRequesting:h}};var I=a(3347),H=a(3233),U=a(378);const R=["imageUrl","imageId","imageAlt","text","icon","linkHasLink","linkUrl","linkNewTab","linkRel","linkHasTitle","linkTitle","blockLinkHasLink","blockLinkUrl","blockLinkNewTab","blockLinkRel","blockLinkHasTitle","blockLinkTitle"],L=(e,t)=>{const{blockType:a,defaultVariation:i,variations:o}=(0,l.useSelect)((t=>{const{getBlockVariations:a,getBlockType:n,getDefaultBlockVariation:l}=t("core/blocks"),{getBlock:i}=t("core/block-editor");if(!e)return{};if(!i(e))return{};const{name:o}=i(e);return{blockType:n(o),defaultVariation:l(o,"block"),variations:a(o,"block")}}),[e,t]),{replaceInnerBlocks:s,updateBlockAttributes:c}=(0,l.useDispatch)("core/block-editor"),{getBlock:u,getBlockAttributes:d}=(0,l.useSelect)("core/block-editor"),{getActiveBlockVariation:m}=(0,l.useSelect)("core/blocks");return t?null:(0,r.createElement)(H.eD,{icon:(0,n.get)(a,["icon","src"]),label:(0,n.get)(a,["title"]),variations:o||[],onSelect:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const a=u(e),l=d(e),o=m(a.name,l);let r={};if(o&&(r={...o.attributes},Object.keys(r).forEach((e=>r[e]=void 0))),r={...r,...t.attributes||{},uniqueId:(0,I.W)(e)},c(e,r),t.innerBlocks){const l=(0,U.createBlocksFromInnerBlocksTemplate)(t.innerBlocks);if((0,k.Pn)(l),a.innerBlocks.length){const e=P(l),t=P(a.innerBlocks);Object.keys(t).forEach((a=>{t[a].forEach(((t,i)=>{if(e[a])if(i<e[a].length){const l=e[a][i];l.attributes={...l.attributes,...(0,n.pick)(t.attributes,R)}}else if("stackable/button"===a||"stackable/icon-button"===a){const l=e[a][i-1];if(null!=l&&l.parent){const i=(0,U.cloneBlock)(l);i.attributes={...i.attributes,...(0,n.pick)(t.attributes,R)},l.parent.innerBlocks.push(i),e[a].push(l)}}else if("stackable/text"===a){const o=e[a][i-1],r=(0,U.cloneBlock)(o);if(r.attributes={...r.attributes,...(0,n.pick)(t.attributes,R)},o.parent){const e=o.parent.innerBlocks.indexOf(o);-1!==e&&o.parent.innerBlocks.splice(e+1,0,r)}else{const e=l.indexOf(o);-1!==e&&l.splice(e+1,0,r)}e[a].push(o)}}))}))}s(e,l,!o)}},allowSkip:!0})},P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(let a=0;a<e.length;a++){const n=e[a].name;t[n]?t[n].push(e[a]):t[n]=[e[a]],e[a].innerBlocks.forEach((t=>{t.parent=e[a]})),P(e[a].innerBlocks,t)}return t}},4597:(e,t,a)=>{"use strict";a.d(t,{XE:()=>W,kn:()=>$,W3:()=>j,kS:()=>K,Ei:()=>Q,_M:()=>te,_K:()=>J,q9:()=>Y,Se:()=>X,Zn:()=>ee,RK:()=>ae,Qq:()=>ne,Xf:()=>le,ig:()=>ie,Sv:()=>se,bH:()=>re,eV:()=>oe,Hi:()=>me,z6:()=>ue,s7:()=>de,k2:()=>ce,Ux:()=>ge,Tw:()=>be,I5:()=>he,XB:()=>pe,sh:()=>ve,un:()=>ke,ho:()=>fe,C$:()=>V,y4:()=>q,b3:()=>ye,Lq:()=>Ce,Vi:()=>_e,$B:()=>G,NU:()=>Ee,d9:()=>xe,VL:()=>we,Ti:()=>Be,RG:()=>Se});var n=a(2610),l=a(7462);a(7294);const i=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,n.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"}),(0,n.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}),(0,n.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"}),(0,n.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"}))},o=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},r=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},s=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},c=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M13.5 0h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1h11c.6 0 1-.5 1-1V1c0-.5-.5-1-1-1zm0 5.5c0 .3-.2.5-.5.5H3c-.3 0-.5-.2-.5-.5v-4c0-.2.2-.5.5-.5h10c.3 0 .5.2.5.5v4zM13.5 9h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1h11c.6 0 1-.5 1-1v-5c0-.5-.5-1-1-1zm0 5.5c0 .3-.2.5-.5.5H3c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4z"}),(0,n.createElement)("path",{d:"M5.5 3h5v1h-5zM5.5 12h5v1h-5z"}))},u=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M13.5 0h-11c-.6 0-1 .5-1 1v5c0 .6.5 1 1 1H6v3c-.1-.2-.2-.3-.3-.4-.2-.4-.5-.7-1-.8-.3-.2-.7-.1-1.1.1-.8.4-1.1 1.4-.7 2.1l1 1.8c.1.1.1.2.1.2.7 1.2 1.7 3 4.8 3 3 0 4.4-2.7 4.4-5.2V8.6c0-.3-.1-.5-.1-.7l-.6-.5s-.7-.1-.7-.2l-.6.2-.3-.4h2.6c.6 0 1-.5 1-1V1c0-.5-.5-1-1-1zm-2.1 9.7V8.5c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v2.1c0 1.5-1 4.1-3.5 4.1-2.4 0-3.2-1.3-3.8-2.4-.1-.1-.1-.1-.1-.2l-1-1.8c-.1-.1-.1-.2 0-.4s.1-.3.2-.3c.1-.1.2-.1.4 0 .1.1.2.1.3.2.1.1.2.5.4.7.3.4.7.6 1.2.4.4-.1.7-.6.7-1.1v-5c0-.3.2-.5.5-.5s.5.2.5.5v4.2c0 .3.2.6.6.6s.6-.2.6-.6V7.7c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v1.7c0 .3.2.6.6.6s.6-.2.6-.6zm2.1-4.2c0 .3-.2.5-.5.5H9.2v-.8c0-.5-.2-.9-.4-1.2h1.7V3h-5v1h.9c-.3.3-.4.7-.4 1.1V6H3c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4z"}))},d=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},m=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM6.1 18.6H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h4.3v17.1zm6.1 0H7.7V1.5h4.5v17.1zm6.1 0h-4.5V1.5h4.4c.2 0 .3.1.3.3l.1 16.5c0 .2-.1.3-.3.3z"}))},b=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM6.1 18.6H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h4.3v17.1zm12.2 0h-4.5V1.5h4.4c.2 0 .3.1.3.3l.1 16.5c0 .2-.1.3-.3.3z"}))},g=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},p=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},h=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},v=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},k=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},f=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},y=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},C=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},_=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.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"}))},E=function(e){return(0,n.createElement)("svg",(0,l.Z)({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},x=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M13.1 7.9l-.6-.5s-.7-.1-.7-.2l-.6.2-.4-.6c-.3-.3-.7-.4-1.1-.4h-.3c1-.6 1.7-1.7 1.7-3C11.1 1.5 9.5 0 7.6 0S4.1 1.5 4.1 3.5c0 1.3.7 2.5 1.9 3V10c-.1-.2-.2-.3-.3-.4-.2-.4-.5-.7-1-.8-.3-.2-.7-.1-1.1.1-.8.4-1.1 1.4-.7 2.1l1 1.8c.1.1.1.2.1.2.7 1.2 1.7 3 4.8 3 3 0 4.4-2.7 4.4-5.2V8.6c.1-.3 0-.5-.1-.7zm-8-4.4C5.1 2.1 6.2 1 7.6 1s2.5 1.1 2.5 2.5c0 .7-.3 1.4-.9 1.9v-.2c0-.7-.5-1.4-1.2-1.6-1-.4-2 .4-2 1.5v.3c-.6-.5-.9-1.2-.9-1.9zm7.3 7.4c0 1.5-1 4.1-3.5 4.1-2.4 0-3.2-1.3-3.8-2.4-.1-.1-.1-.1-.1-.2l-1-1.8c-.1-.1-.1-.2 0-.4 0-.2 0-.3.1-.3.1-.1.2-.1.4 0 .1.1.2.1.3.2.1.1.2.5.4.7.3.4.7.6 1.2.4.4-.1.7-.6.7-1.1v-5c0-.3.2-.5.5-.5s.5.2.5.5v4.2c0 .3.2.6.6.6s.6-.2.6-.6V7.7c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v1.7c0 .3.2.6.6.6s.6-.2.6-.6V8.5c.1-.1.2-.2.4-.2.3 0 .5.2.5.5v2.1z"}))},w=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M8 1.1C4.2 1.1 1.1 4.2 1.1 8s3.1 6.9 6.9 6.9 6.9-3.1 6.9-6.9S11.8 1.1 8 1.1zm0 12.8c-3.3 0-5.9-2.5-5.9-5.9S4.7 2.1 8 2.1s5.9 2.5 5.9 5.9-2.6 5.9-5.9 5.9z"}),(0,n.createElement)("path",{d:"M11 7.5c.2-.2.1-.6-.2-.7l-1.5-.2c-.1 0-.2-.1-.3-.1l-.7-1.4c-.1-.3-.5-.3-.7 0L7 6.5c0 .1-.1.2-.2.2l-1.6.2c-.3 0-.4.4-.2.6l1.1 1.1c.1.1.1.2.1.3L6 10.4c-.1.3.3.5.5.4l1.4-.7c.1-.1.2-.1.3 0l1.4.7c.3.2.6-.1.5-.4l-.3-1.5c0-.1 0-.2.1-.3L11 7.5z"}))},S=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.1 6.6c.3-.3.1-.7-.2-.8l-1.8-.2c-.1-.1-.2-.1-.3-.2L4 3.8c-.1-.3-.6-.3-.8 0l-.8 1.6c0 .1-.1.2-.3.2l-1.7.2c-.4.1-.5.5-.3.8l1.3 1.3c.1.1.1.2.1.3L1.2 10c-.1.4.3.6.6.5l1.6-.8c.1-.1.3-.1.4 0l1.6.8c.3.1.6-.2.6-.6l-.3-1.7c0-.1 0-.3.1-.3l1.3-1.3zM4.6 7.7l.2 1.2c0 .1-.1.1-.1.1l-1-.6h-.2l-1.1.5s-.1 0-.1-.1l.2-1.2c0-.1 0-.2-.1-.2l-.8-.7c0-.1 0-.1.1-.1l1.2-.2.1-.1.5-1.1c0-.1.1-.1.1 0l.5 1.1c0 .1.1.1.2.1l1.2.2c.1 0 .1.1.1.1l-.9.8c-.1.1-.1.1-.1.2zM15.4 6.9H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6zM15.4 9.6H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6zM15.4 12.4H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6z"}))},B=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},T=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M7.1 7.6c.3-.3.1-.7-.2-.8l-1.8-.2c-.1-.1-.2-.1-.3-.2L4 4.8c-.1-.3-.6-.3-.8 0l-.8 1.6c0 .1-.1.2-.3.2l-1.7.2c-.4.1-.5.5-.3.8l1.3 1.3c.1.1.1.2.1.3L1.2 11c-.1.4.3.6.6.5l1.6-.8c.1-.1.3-.1.4 0l1.6.8c.3.1.6-.2.6-.6l-.3-1.7c0-.1 0-.3.1-.3l1.3-1.3zM4.6 8.7l.2 1.2c0 .1-.1.1-.1.1l-1-.6h-.2l-1.1.5s-.1 0-.1-.1l.2-1.2c0-.1 0-.2-.1-.2l-.8-.7c0-.1 0-.1.1-.1l1.2-.2.1-.1.5-1.1c0-.1.1-.1.1 0l.5 1.1c0 .1.1.1.2.1l1.2.2c.1 0 .1.1.1.1l-.9.8c-.1.1-.1.1-.1.2zM15.4 8.6H8.8c-.3 0-.6-.2-.6-.6s.2-.6.6-.6h6.6c.3 0 .6.2.6.6 0 .4-.2.6-.6.6z"}))},A=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},z=function(e){return(0,n.createElement)("svg",(0,l.Z)({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),(0,n.createElement)("path",{d:"M12.7 12.3c0 .4-.3.8-.8.8H4.1c-.4 0-.8-.3-.8-.8s.3-.8.8-.8H12c.3 0 .7.4.7.8zM9.9 15.7c0 .4-.3.8-.8.8h-5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h5.1c.3 0 .7.4.7.8z"}),(0,n.createElement)("path",{d:"M18.3 0H1.8C.8 0 0 .8 0 1.8v16.4c0 1 .8 1.8 1.8 1.8h16.4c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V17c.1 0 .1-.1.2-.2l.7-1v-2.5l-.9 1.2V1.8c0-.2.1-.3.3-.3h16.4c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-2.2 2.9H13l1.3-1.8 4.1 5.4c0 .1.1.1.2.2z"}),(0,n.createElement)("path",{d:"M7.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"}))},N=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},M=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},I=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},H=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.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"}))},U=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),(0,n.createElement)("path",{d:"M9.4 8.9c-.4 0-.5.1-.9.3l-1.4-.9v-.5L8.5 7c.2.1.5.3.9.3.7 0 1.4-.5 1.4-1.4 0-.9-.7-1.4-1.4-1.4-.7.1-1.4.6-1.4 1.3v.3L6.6 7c-.1-.2-.5-.4-.8-.4-.7 0-1.2.7-1.2 1.4S5.1 9.4 6 9.4c.3 0 .5-.2.9-.3l1.1.8v.3c0 .7.7 1.2 1.4 1.2s1.4-.5 1.4-1.4c0-.5-.7-1.1-1.4-1.1z"}),(0,n.createElement)("path",{d:"M8 1.1C4.2 1.1 1.1 4.2 1.1 8s3.1 6.9 6.9 6.9 6.9-3.1 6.9-6.9S11.8 1.1 8 1.1zm0 12.8c-3.3 0-5.9-2.5-5.9-5.9S4.7 2.1 8 2.1s5.9 2.5 5.9 5.9-2.6 5.9-5.9 5.9z"}))},R=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},L=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},P=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},F=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.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"}))},O=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg"},e),(0,n.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"}))},D=function(e){return(0,n.createElement)("svg",(0,l.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},e),(0,n.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"}))};function Z(e){return(0,n.cloneElement)(e,{fill:"url(#stackable-gradient)",className:`stk-stackable-icon-gradient ${e.props.className||""}`})}function V(){return Z((0,n.createElement)(i,{width:"20",height:"20",className:"components-panel__icon"}))}function q(e){let{className:t}=e;return(0,n.createElement)(i,{className:t,width:"20",height:"20"})}function G(){return Z((0,n.createElement)(i,{width:"20",height:"20"}))}function W(){return Z((0,n.createElement)(o,{width:"20",height:"20"}))}function $(){return Z((0,n.createElement)(r,{width:"20",height:"20"}))}function j(){return Z((0,n.createElement)(s,{width:"20",height:"20"}))}function Q(){return Z((0,n.createElement)(u,{width:"16",height:"16"}))}function K(){return Z((0,n.createElement)(c,{width:"16",height:"16"}))}function J(){return Z((0,n.createElement)(d,{width:"20",height:"20"}))}function X(){return Z((0,n.createElement)(m,{width:"20",height:"20"}))}function Y(){return Z((0,n.createElement)(b,{width:"20",height:"20"}))}function ee(){return Z((0,n.createElement)(p,{width:"20",height:"20"}))}function te(){return Z((0,n.createElement)(h,{width:"20",height:"20"}))}function ae(){return Z((0,n.createElement)(v,{width:"20",height:"20"}))}function ne(){return Z((0,n.createElement)(k,{width:"20",height:"20"}))}function le(){return Z((0,n.createElement)(f,{width:"20",height:"20"}))}function ie(){return Z((0,n.createElement)(y,{width:"20",height:"20"}))}function oe(){return Z((0,n.createElement)(C,{width:"20",height:"20"}))}function re(){return Z((0,n.createElement)(_,{width:"20",height:"20"}))}function se(){return Z((0,n.createElement)(g,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}function ce(){return Z((0,n.createElement)(E,{width:"20",height:"20"}))}function ue(){return Z((0,n.createElement)(x,{width:"16",height:"16"}))}function de(){return Z((0,n.createElement)(w,{width:"16",height:"16"}))}function me(){return Z((0,n.createElement)(S,{width:"16",height:"16"}))}function be(){return Z((0,n.createElement)(B,{width:"20",height:"20"}))}function ge(){return Z((0,n.createElement)(T,{width:"16",height:"16"}))}function pe(){return Z((0,n.createElement)(A,{width:"20",height:"20"}))}function he(){return Z((0,n.createElement)(z,{width:"20",height:"20"}))}function ve(){return Z((0,n.createElement)(N,{width:"20",height:"20"}))}function ke(){return Z((0,n.createElement)(M,{width:"20",height:"20"}))}function fe(){return Z((0,n.createElement)(I,{width:"20",height:"20"}))}function ye(){return Z((0,n.createElement)(H,{width:"20",height:"20"}))}function Ce(){return Z((0,n.createElement)(U,{width:"16",height:"16"}))}function _e(){return Z((0,n.createElement)(R,{width:"20",height:"20"}))}function Ee(){return Z((0,n.createElement)(L,{width:"20",height:"20"}))}function xe(){return Z((0,n.createElement)(P,{width:"20",height:"20"}))}function we(){return Z((0,n.createElement)(F,{width:"20",height:"20"}))}function Se(){return Z((0,n.createElement)(O,{width:"20",height:"20"}))}function Be(){return Z((0,n.createElement)(D,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}(0,a(2527).Z)((()=>{if(document.querySelector("svg.ugb-stackable-gradient"))return;const e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),(0,n.render)((0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},(0,n.createElement)("defs",null,(0,n.createElement)("linearGradient",{id:"stackable-gradient"},(0,n.createElement)("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),(0,n.createElement)("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)}))},48:(e,t,a)=>{"use strict";a.d(t,{cB:()=>s,cc:()=>c});var n=a(3882);(0,n.addFilter)("stackable.block-linking.blocks","stackable",(e=>({...e,"stackable/button":{filterAttributes:["text","linkUrl","linkRel","linkNewTab","icon"]},"stackable/icon-button":{filterAttributes:["linkUrl","linkRel","linkNewTab","icon"]},"stackable/button-group":{},"stackable/blockquote":{},"stackable/call-to-action":{},"stackable/card":{filterAttributes:["imageUrl","imageId","imageAlt","imageTitle"]},"stackable/card-group":{},"stackable/column":{},"stackable/columns":{},"stackable/expand":{},"stackable/feature":{},"stackable/feature-grid":{},"stackable/hero":{},"stackable/heading":{filterAttributes:["text"]},"stackable/icon":{filterAttributes:["icon","ariaLabel"]},"stackable/icon-box":{},"stackable/icon-label":{},"stackable/icon-list":{filterAttributes:["text"]},"stackable/image":{filterAttributes:["imageUrl","imageId","imageAlt"]},"stackable/notification":{},"stackable/price":{},"stackable/pricing-box":{},"stackable/text":{filterAttributes:["text"]},"stackable/subtitle":{filterAttributes:["text"]}}))),(0,n.addFilter)("stackable.block-linking.blocks","stackable-essentials",(e=>(Object.keys(e).forEach((t=>{t.startsWith("stackable/")&&(e[t].filterAttributes||(e[t].filterAttributes=[]),e[t].filterAttributes.push("uniqueId","templateLock","columnWidth","columnWidthTablet","columnWidthMobile","isFirstBlock","isLastBlock","blockLinkUrl"))})),e)),99),(0,n.addFilter)("stackable.block-linking.blocks","core",(e=>({...e,"core/archives":{},"core/audio":{filterAttributes:["src","caption","id"]},"core/block":{filterAttributes:["ref"]},"core/button":{filterAttributes:["url","title","text","linkTarget","rel","placeholder"]},"core/buttons":{},"core/calendar":{},"core/categories":{},"core/freeform":{filterAttributes:["content"]},"core/code":{filterAttributes:["content"]},"core/column":{},"core/columns":{},"core/cover":{filterAttributes:["url","id"]},"core/file":{filterAttributes:["id","href","fileName","textLinkHref","downloadButtonText"]},"core/gallery":{filterAttributes:["images","ids","caption"]},"core/group":{},"core/heading":{filterAttributes:["content","level","placeholder"]},"core/html":{filterAttributes:["content"]},"core/image":{filterAttributes:["url","capion","title","href","rel","id","linkDestination","linkTarget"]},"core/latest-comments":{},"core/latest-posts":{filterAttributes:["categories"]},"core/legacy-widget":{filterAttributes:["id","idBase","instance"]},"core/list":{filterAttributes:["values"]},"core/media-text":{filterAttributes:["mediaAlt","mediaId","mediaUrl","mediaLink","linkDestination","linkTarget","href","rel"]},"core/missing":{filterAttributes:["content"]},"core/navigation":{},"core/paragraph":{filterAttributes:["content","placeholder"]},"core/post-author":{},"core/post-date":{},"core/post-excerpt":{},"core/preformatted":{filterAttributes:["content"]},"core/pullquote":{filterAttributes:["value","citation"]},"core/quote":{filterAttributes:["value","citation"]},"core/rss":{filterAttributes:["feedURL"]},"core/search":{filterAttributes:["label","placeholder","buttonText"]},"core/separator":{},"core/site-title":{filterAttributes:["level"]},"core/social-links":{},"core/spacer":{},"core/subhead":{filterAttributes:["content"]},"core/table":{filterAttributes:["caption","head","body","foot"]},"core/tag-cloud":{filterAttributes:["taxonomy"]},"core/text-columns":{filterAttributes:["content"]},"core/verse":{filterAttributes:["content"]},"core/video":{filterAttributes:["caption","id","poster","src"]}}))),(0,n.addFilter)("stackable.block-linking.blocks","common",(e=>(Object.keys(e).forEach((t=>{e[t].filterAttributes||(e[t].filterAttributes=[]),e[t].filterAttributes.includes("id")||e[t].filterAttributes.push("id"),e[t].filterAttributes.includes("anchor")||e[t].filterAttributes.push("anchor")})),e)),99);var l=a(8085),i=a(3284),o=a(2610),r=a(6869);const s=()=>{const{updateBlockAttributes:e}=(0,i.useDispatch)("core/block-editor"),[t,a]=(0,o.useState)(null),{selectedBlock:n,selectedBlockClientId:l}=(0,i.useSelect)((e=>({selectedBlock:e("core/block-editor").getSelectedBlock(),selectedBlockClientId:e("core/block-editor").getSelectedBlockClientId()})),[]),s=c(t),g=(0,r.gB)(s),h=(0,o.useCallback)((a=>{if(!l||t!==l)return;if(!g)return;const o=(0,i.select)("core/block-editor").getBlock(t).name;if(!d(o))return;const r=m(a,n.name);if(!Object.keys(r).length)return;const c=p(t,s);c[c.length-1].attributes=r;const h=u(s).map((e=>{let{clientId:t}=e;return t})).reduce(((e,t)=>[...e,...b(t,c)]),[]);h.length&&e(h,r)}),[t,l,s,g]);return(0,r._I)(h,g?null==n?void 0:n.name:"",(null==n?void 0:n.attributes)||{},!1),(0,o.useEffect)((()=>{a(l)}),[l]),null},c=e=>{const t=(0,o.useMemo)((()=>wp.data.select("core/blocks").getBlockTypes().reduce(((e,t)=>{var a;return null!==(a=t.supports)&&void 0!==a&&a.stkBlockLinking&&e.push(t.name),e}),[])),[]);return(0,o.useMemo)((()=>{var a;if(!e)return null;let n=null;const{getBlock:o,getBlockParents:r}=(0,i.select)("core/block-editor"),s=(null===(a=o(e))||void 0===a?void 0:a.name)||"";if(t.includes(s)&&(n=e),n||(n=[...r(e)].reverse().find((e=>{var a;const n=null===(a=o(e))||void 0===a?void 0:a.name;return!!t.includes(n)&&e}))||null),n){const e=(0,l.last)(r(n));if(e){var c,u;const t=null===(c=o(e))||void 0===c?void 0:c.name,a=wp.data.select("core/blocks").getBlockType(t);if(!1===(null==a||null===(u=a.supports)||void 0===u?void 0:u.stkBlockLinking))return null}}return n}),[e])},u=e=>{const{getBlock:t,getBlockParents:a}=(0,i.select)("core/block-editor");return t((0,l.last)(a(e))).innerBlocks.filter((t=>t.clientId!==e&&(0,r.Qj)(t.clientId)))},d=e=>{const t=Object.keys((0,n.applyFilters)("stackable.block-linking.blocks",{})).includes(e);return!t&&e.startsWith("stackable/")&&console.error(`Stackable: block type "${e}" was not included the list of blocks allowed for linking. Did you forget to include it? See filter "stackable.block-linking.blocks"`),t},m=(e,t)=>{const a=(0,n.applyFilters)("stackable.block-linking.blocks",{});return a[t]&&a[t].filterAttributes?(0,l.omit)(e,a[t].filterAttributes):e},b=(e,t)=>{const a=[];if(!t.length)return a;t[0].nthOfType=1,t[0].numOfType=1;let n=[(0,i.select)("core/block-editor").getBlock(e)];return t.forEach(((e,t)=>{const l=n.filter((a=>{if(e.type!==a.name)return!1;if(0===t)return!0;const n=g(a.clientId);return n===e.nthOfType||!!(e.nthOfType===e.numOfType&&n>e.nthOfType&&n>=e.numOfType)}));e.attributes&&l.forEach((e=>{let{clientId:t}=e;a.push(t)})),n=l.reduce(((e,t)=>[...e,...t.innerBlocks]),[])})),a},g=e=>{const{getBlock:t,getBlockParents:a}=(0,i.select)("core/block-editor"),n=t(e).name,o=(0,l.last)(a(e));if(!o||o===e)return 1;const r=t(o).innerBlocks;let s=0;return r.some((t=>{let{name:a,clientId:l}=t;return a===n&&(s++,l===e)})),s},p=(e,t)=>{let a=e;const n=[];for(;null!==a;){const{getBlock:e,getBlockParents:o}=(0,i.select)("core/block-editor"),r=e(a),s=r.name,c=(0,l.last)(o(a));if(!c||c===a){n.unshift({type:r.name,nthOfType:1,numOfType:1});break}const u=e(c).innerBlocks,{nthOfType:d,numOfType:m}=u.reduce(((e,t)=>{let{name:n,clientId:l}=t;return n===s&&(e.numOfType++,e.foundClientId||(e.nthOfType++,l===a&&(e.foundClientId=!0))),e}),{nthOfType:0,numOfType:0,foundClientId:!1});n.unshift({type:r.name,nthOfType:d,numOfType:m}),a=a===t?null:(0,l.last)((0,i.select)("core/block-editor").getBlockParents(a))}return n}},4934:(e,t,a)=>{"use strict";a.d(t,{u:()=>n});const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.length?e[0].reduce(((a,l)=>a.concat(n(e.slice(1),t+l))),[]):t}},4678:(e,t,a)=>{"use strict";a.d(t,{DC:()=>v,lo:()=>re,CA:()=>ie,db:()=>le,ge:()=>ne,zx:()=>ce,yq:()=>O,ES:()=>oe,g7:()=>ue,I9:()=>me,kT:()=>w,qO:()=>he,FE:()=>be,gz:()=>ve,ZN:()=>pe,WC:()=>y,CR:()=>C,UX:()=>x,th:()=>N,Vr:()=>Se,BN:()=>u,Ad:()=>F,MA:()=>D,Wg:()=>R,Wi:()=>Y,tJ:()=>fe,cj:()=>Ce,a7:()=>_e,zJ:()=>Ae,u$:()=>r,TL:()=>d,hJ:()=>Ee,yP:()=>we,Pn:()=>Te,Qq:()=>H,sM:()=>ye,_:()=>de,wB:()=>J,yK:()=>X,gE:()=>te,SZ:()=>ae});var n=a(910);const l={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"},i=e=>`https://fonts.googleapis.com/css?family=${e.replace(/ /g,"+")}:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic${l[n.locale]?`&subset=${l}`:""}`,o=e=>e&&!(null!=e&&e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)),r=e=>{setTimeout((()=>{const t=t=>{if(t&&o(e)){if(c(e,t))return;const a=s(e);t.appendChild(a)}},a=Se();t(a),a!==document.querySelector("head")&&t(document.querySelector("head"))}),50)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=document.createElement("link");return t.classList.add("ugb-google-fonts"),t.setAttribute("data-font-name",e),t.setAttribute("href",i(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector("head");return t.querySelector(`[data-font-name="${e}"]`)},u=e=>o(e)?`"${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"',d=e=>{Object.keys(e).filter((e=>e.match(/fontfamily/i))).forEach((t=>{const a=e[t];a&&r(a)}))};var m=a(4247),b=a.n(m),g=a(4863),p=a.n(g),h=a(8085);class v{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.attributes=e,this.defaultValues=[]}add(e){let{attributes:t,versionAdded:a,versionDeprecated:n,attrNameTemplate:l="%s"}=e;this.attributes.push({attributeObject:this.applyAttrNameTemplate(t,l),versionAdded:a||"",versionDeprecated:n||!1})}addDefaultValues(e){let{attributes:t,versionAdded:a,versionDeprecated:n,attrNameTemplate:l="%s"}=e;this.defaultValues.push({defaultValuesObject:this.applyAttrNameTemplate(t,l),versionAdded:a||"",versionDeprecated:n||!1})}applyAttrNameTemplate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s";return"%s"!==t&&t?Object.keys(e).reduce(((a,n)=>(a[y(t,(0,h.upperFirst)(n))]={...e[n]},a)),{}):e}getDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.defaultValues.filter((t=>{let{versionAdded:a,versionDeprecated:n}=t;return e?b()(e,a)>=0&&(!n||-1===b()(e,n)):!!n})).map((e=>{let{defaultValuesObject:t}=e;return t}))}getAttributes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.attributes.filter((t=>{let{versionAdded:a,versionDeprecated:n}=t;return e?b()(e,a)>=0&&(!n||-1===b()(e,n)):!!n})).map((e=>{let{attributeObject:t}=e;return t}))}getMerged(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=E(p().all(this.getAttributes(e)));if(this.defaultValues.length){const a=p().all(this.getDefaultValues(e));Object.keys(a).forEach((e=>{const n=a[e];void 0!==t[e]&&(t[e].default=n)}))}return t}}var k=a(4934),f=a(8003);const y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,h.camelCase)((0,f.sprintf)(e,(0,h.upperFirst)(t),(0,h.upperFirst)(a)))},C=e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return y(e,t,a)},_=["stkResponsive","stkHover","stkUnits"],E=e=>Object.keys(e).reduce(((t,a)=>{const n=[[a]];let l="px";return t[a].stkUnits&&(n.push(["","Unit"]),l=t[a].stkUnits),t[a].stkResponsive&&n.push(["","Tablet","Mobile"]),t[a].stkHover&&n.push(["","Hover","ParentHover","Collapsed"]),(0,k.u)(n).forEach((n=>{const i=(0,h.omit)({...e[a]},_);n!==a&&(i.default=""),n.startsWith(`${a}Unit`)&&(i.type="string",i.default=l),t[n]=i})),t}),e),x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const n="desktop"===t.toLowerCase()?"":(0,h.upperFirst)(t),l="normal"===a?"":"hover"===a?"Hover":"collapsed"===a?"Collapsed":"ParentHover";return null!=e&&e.includes("%s")?(0,f.sprintf)(e,`${n}${l}`):`${e}${n}${l}`},w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const l=t=>(0,h.camelCase)((0,f.sprintf)(e,t)),i=ie(a,l,""),{importantSize:o=!1,important:r=!0,inherit:s=!0,inheritMax:c=50,inheritMin:d}=n;let m={};const b=i("FontSize"),g=i("TabletFontSize"),p=i("MobileFontSize");if("tablet"!==t&&"mobile"!==t)m={fontFamily:""!==i("FontFamily")?u(i("FontFamily")):void 0,fontSize:""!==b?le(`${b}${i("FontSizeUnit")||"px"}`,o):void 0,fontWeight:""!==i("FontWeight")?i("FontWeight"):void 0,textTransform:""!==i("TextTransform")?i("TextTransform"):void 0,letterSpacing:""!==i("LetterSpacing")?`${i("LetterSpacing")}px`:void 0,lineHeight:""!==i("LineHeight")?`${i("LineHeight")}${i("LineHeightUnit")||"em"}`:void 0};else if("tablet"===t){if(m={lineHeight:""!==i("TabletLineHeight")?`${i("TabletLineHeight")}${i("TabletLineHeightUnit")||"em"}`:void 0},s){const e=oe(b,{min:d,max:c});e&&(m.fontSize=`${e}${i("FontSizeUnit")||"px"}`)}g&&(m.fontSize=i("TabletFontSize",`%s${i("TabletFontSizeUnit")||"px"}`))}else{if(m={lineHeight:""!==i("MobileLineHeight")?`${i("MobileLineHeight")}${i("MobileLineHeightUnit")||"em"}`:void 0},s){const e=oe(b,{min:d,max:c});e&&(m.fontSize=`${e}${i("FontSizeUnit")||"px"}`);const t=oe(g,{min:d,max:c});t?m.fontSize=`${t}${i("TabletFontSizeUnit")||"px"}`:(e||g)&&(m.fontSize=void 0)}p&&(m.fontSize=i("MobileFontSize",`%s${i("MobileFontSizeUnit")||"px"}`))}return r?ne(m):m};var S=a(2527),B=a(3882);const T=e=>{const t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.classList.add("ugb-default-font-size"),t.innerHTML=`<div class="wp-block">${e.map((e=>e.startsWith(".")?`<p class="${e.substring(1)}"></p>`:`<${e}></${e}>`)).join()}</div>`,!document||!document.body)return{};document.body.appendChild(t);const a={};return e.forEach((e=>{const n=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");a[e]=Math.round(parseFloat(n))})),document.body.removeChild(t),a};let A={};const z=()=>{A={...T(["h1","h2","h3","h4","h5","h6","p",".stk-subtitle"])}};(0,B.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",((e,t,a,n)=>(e[`.ugb-default-font-size .wp-block ${t}`]=w("%s","desktop",n,{important:!0}),A={},e)));const N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(A).length&&!t||z(),A[e]||A.p||21};(0,S.Z)((()=>{z()}));var M=a(2610),I=a(7462);a(7294);const H=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const a=(0,M.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?a.replace(/#/g,"%23"):a},U={circle:function(e){return(0,M.createElement)("svg",(0,I.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},e),(0,M.createElement)("circle",{cx:50,cy:50,r:50}))},square:function(e){return(0,M.createElement)("svg",(0,I.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,M.createElement)("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}))},blob1:function(e){return(0,M.createElement)("svg",(0,I.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200"},e),(0,M.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"}))}},R=e=>{const t=(0,B.applyFilters)("stackable.image.shape.svgs",U);return t[e]?t[e]:null};var L=a(3284);const P=function(){let 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||""}},F=function(){let 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]||P(e):null};window._stackableCachedImageData={};const O=(e,t)=>{const{getMedia:a}=t("core"),n=e?a(e):null;return n&&void 0!==n.id&&(window._stackableCachedImageData[n.id]=n),n},D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full";const a=Z(e)||O(e,L.select);return a?a.media_details.sizes[t]?a.media_details.sizes[t].source_url:a.source_url:""},Z=e=>window._stackableCachedImageData[e]||null;var V=a(6537),q=a.n(V),G=a(4898),W=a(6869),$=a(6071),j=a(78);class Q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.styleParams=e,this.initStyles(),this.attributesUsed=this.getDependencyAttrnames(this.styleParams),this.queryLoopInstance=null}initStyles(){this.styles={editor:{},saveOnly:{}}}getDependencyAttrnames(e){const t=[];return e.forEach((e=>{const{attrName:a="",hasUnits:n=!1,responsive:l=!1,hover:i=!1,hoverCallback:o=null,dependencies:r=[],styles:s=null,attrNameTemplate:c=""}=e,u=c?y(c,a):a,d=o?"all":i;if(s)return void Object.values(s).forEach((a=>{t.push(...this.getDependencyAttrnames([{...e,styles:null,attrName:a}]))}));const m=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";t.push(x(e,a,l)),n&&t.push(x(`${e}Unit`,a,l)),r.forEach((e=>{const i=c?y(c,e):e;t.push(x(i,"desktop","normal")),t.push(x(i,a,l)),n&&(t.push(x(`${i}Unit`,"desktop","normal")),t.push(x(`${i}Unit`,a,l)))}))},b="all"===l||Array.isArray(l)&&l.find((e=>e.startsWith("tablet"))),g="all"===l||Array.isArray(l)&&l.find((e=>e.startsWith("mobile"))),p="all"===d||Array.isArray(d)&&d.includes("hover"),h="all"===d||Array.isArray(d)&&d.includes("parent-hover"),v="all"===d||Array.isArray(d)&&d.includes("collapsed");m(u),p&&m(u,"desktop","hover"),h&&m(u,"desktop","parent-hover"),v&&m(u,"desktop","collapsed"),b&&(m(u,"tablet","normal"),p&&m(u,"tablet","hover"),h&&m(u,"tablet","parent-hover"),v&&m(u,"tablet","collapsed")),g&&(m(u,"mobile","normal"),p&&m(u,"mobile","hover"),h&&m(u,"mobile","parent-hover"),v&&m(u,"mobile","collapsed"))})),t}setQueryLoopInstance(e){this.queryLoopInstance=e}getQueryLoopInstance(){return this.queryLoopInstance}appendToSelector(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"desktop",l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];this.queryLoopInstance&&(e=e.replace(/[^^?](.%s)([^-])/g,`$1-${this.queryLoopInstance}$2`));const o="edit"!==l?n:n.match(/^(desktop|tablet|mobile)/g),r=""===l?this.styles:this.styles[l];"desktop"!==o&&o?(void 0===r[o]&&(r[o]={}),void 0===r[o][e]&&(r[o][e]={}),r[o][e][t]=a,i.forEach((n=>{r[o][e][`${n}${t}`]=a}))):(void 0===r[e]&&(r[e]={}),r[e][t]=a,i.forEach((n=>{r[e][`${n}${t}`]=a})))}generateStyles(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";return this.initStyles(),this.styleParams.forEach((a=>{a.styles?Object.keys(a.styles).forEach((n=>{this.add(e,{...a,styleRule:n,attrName:a.styles[n]},t)})):this.add(e,a,t)})),this.styles}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";const{selector:n="",styleRule:l="",attrName:i="",format:o="%s",hasUnits:r=!1,responsive:s=!1,hover:c=!1,attrNameTemplate:u="",selectorCallback:d=null,hoverSelector:m="",hoverSelectorCallback:b=null,hoverCallback:g=null,styleRuleCallback:p=null,renderIn:v="",valuePreCallback:k=null,valueCallback:C=null,enabledCallback:_=null,vendorPrefixes:E=[],clampCallback:w=null}=t,S=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=u?y(u,t):t;let o=e[x(i,a,n)];if(!l)return o;const r="mobile"===a?["mobile","tablet","desktop"]:"tablet"===a?["tablet","desktop"]:["desktop"];return r.some((t=>{const a=e[x(i,t)];return""!==a&&void 0!==a&&(o=a,!0)})),o},B=u?y(u,i):i,T=v.replace("save","saveOnly").replace("edit","editor");if(_&&!_(S,e))return;let A=l;p&&(A=p(S,e));let z=d?d(S,e):n,N=b?b(S,e):m;const M=g?g(S,e):c,I=(t,a,n)=>{const l=x(`${t}Unit`,a,n),i=x(t,a,n);let c=r?e[l]||r:"",u=e[i];if(""===u&&("tablet"===a||"mobile"===a)){const l=e[x(`${t}Unit`,"desktop",n)],i=e[x(`${t}Unit`,"tablet",n)];"tablet"===a?c=l:"mobile"===a&&(c=""!==e[x(t,"tablet",n)]?i:l)}if(w&&s){const l=e[x(t,"desktop",n)],i=e[x(t,"tablet",n)];""!==u&&void 0!==u||("tablet"===a?u=w(l,S,a,n,c,e):"mobile"===a&&(u=w(""!==i?i:l,S,a,n,c,e)))}if(k&&(u=k(u,S,a,n,e)),""!==u&&void 0!==u)return c&&(u="auto"===u?u:`${u}${c}`),"%s"!==o&&""!==o&&(u=(0,f.sprintf)(o.replace(/%([sd])%/,"%$1%%"),u)),C&&(u=C(u,S,a,n,e)),u},H="all"===s||Array.isArray(s)&&s.find((e=>e.startsWith("tablet"))),U="all"===s||Array.isArray(s)&&s.find((e=>e.startsWith("mobile"))),R=(Array.isArray(s)?s.find((e=>e.startsWith("desktop"))):"desktop")||"desktop",L=(Array.isArray(s)?s.find((e=>e.startsWith("tablet"))):"tablet")||"tablet",P=(Array.isArray(s)?s.find((e=>e.startsWith("mobile"))):"mobile")||"mobile",F="all"===M||Array.isArray(M)&&M.includes("hover"),O="all"===M||Array.isArray(M)&&M.includes("parent-hover"),D="all"===M||Array.isArray(M)&&M.includes("collapsed"),Z=(e,t,n,l)=>{const i=e=>{const i=[];return i.push(a===l?n:t),i.push(e),(0,h.compact)(i).join(e.startsWith(":")?"":" ")};return Array.isArray(e)?e.map(i).join(", "):i(e)},V=Z(z,":where(.stk-block-accordion.stk--is-open) .%s, .%s.stk--is-open",":where(.stk-block-accordion.stk--is-open) .%s, .%s.stk--is-open","collapsed"),q=Z(z,":where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .%s",".%s.stk--is-hovered","parent-hovered");N=N?Z("hover"===a?z:N||z,null,".%s.stk--is-hovered","hover"):Z(z,".%s:hover",".%s.stk--is-hovered","hover"),z=Z(z),this.appendToSelector(z,A,I(B,"desktop","normal"),R,T,E),F&&this.appendToSelector(N,A,I(B,"desktop","hover"),R,T,E),O&&this.appendToSelector(q,A,I(B,"desktop","parent-hover"),R,T,E),D&&this.appendToSelector(V,A,I(B,"desktop","collapsed"),R,T,E),H&&(this.appendToSelector(z,A,I(B,"tablet","normal"),L,T,E),F&&this.appendToSelector(N,A,I(B,"tablet","hover"),L,T,E),O&&this.appendToSelector(q,A,I(B,"tablet","parent-hover"),L,T,E),D&&this.appendToSelector(V,A,I(B,"tablet","collapsed"),R,T,E)),U&&(this.appendToSelector(z,A,I(B,"mobile","normal"),P,T,E),F&&this.appendToSelector(N,A,I(B,"mobile","hover"),P,T,E),O&&this.appendToSelector(q,A,I(B,"mobile","parent-hover"),P,T,E),D&&this.appendToSelector(V,A,I(B,"mobile","collapsed"),R,T,E))}getDependencies(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Desktop",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";return[e.uniqueId,t,a,...this.attributesUsed.map((t=>e[t]))]}}const K={},J=e=>{const t=(0,M.useContext)($.v),a=(0,L.useSelect)((e=>{var t;return null===(t=e("core/editor"))||void 0===t?void 0:t.getCurrentPostId()})),[n,l]=(0,M.useState)(0);return(0,M.useEffect)((()=>{if(((e,t)=>(null==e?void 0:e.postId)&&t&&(null==e?void 0:e.postId)!==t)(t,a)&&e){const a=K[e]||[];a.includes(null==t?void 0:t.postId)||a.push(null==t?void 0:t.postId),K[e]=a,l(a.findIndex((e=>e===(null==t?void 0:t.postId)))+1)}}),[null==t?void 0:t.id,a,e]),n},X=(e,t)=>{const a=(0,W.hU)(),[n]=(0,W.Ry)(),{clientId:l}=(0,j.useBlockEditContext)(),i={...e,clientId:l},o=J(i.uniqueId),r=(0,M