Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/essential-blocks/assets/admin/editor/editor.js
Назад
(()=>{"use strict";var e,t={335:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(2284),l=a(4467),c=a(3453),i=a(1609),s=a(8468),p=a(6427),b="wrp_",d="wrp_",m="margin",u="padding",g="rowNum",f="colGap",y="rowGap",h="imgMargin",v="imgRadius",w="imgMaxHeight",k="imgMaxWidth",R="titleMargin",_="creatorMargin",C="creatorImgHeight",E="creatorImgWidth",x="creatorImgBorder",S="priceMargin",B="btnMargin",T="btnPadding",N="btnBdrSdw",P="itemBg",O="itemBdrSdw",I="itemPadding",D=[{label:(0,n.__)("Grid","essential-blocks"),value:"grid"},{label:(0,n.__)("List","essential-blocks"),value:"list"}],A=[{label:(0,n.__)("PX","essential-blocks"),value:"px"},{label:(0,n.__)("EM","essential-blocks"),value:"em"},{label:(0,n.__)("%","essential-blocks"),value:"%"}],M=[{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,n.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,n.__)("Preset 3","essential-blocks"),value:"preset-3"}],L=[{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset-1"}],F=((0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignleft"})),(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-aligncenter"})),(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignright"})),[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}]),j="title",H="owner",z="price",U="button",V=a(5694);function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const W=function(e){var t,a,o,r,c,i,s,_,C=e.attributes,E=e.setAttributes,x=e.setLoading,S=(C.resOption,C.source),H=C.settings,z=C.layout,G=C.displayImage,W=C.displayTitle,Z=C.displayButton,J=C.titleColor,Y=C.buttonTextColor,Q=C.buttonBgColor,X=C.buttonHoverTextColor,$=C.buttonHoverBgColor,K=C.buttonText,ee=C.gridPreset,te=C.listPreset,ae=C.gridOverlayBg,ne=C.listVerticalAlignment,oe=function(e,t,a){var n=q({},H[e]);n[t]=a,E({settings:q(q({},H),{},(0,l.A)({},e,n))}),x(!0)};return React.createElement(V.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:b,borderPrefix:d,hasMargin:!0}},React.createElement(V.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},"opensea"===S&&React.createElement(React.Fragment,null,React.createElement(p.SelectControl,{label:(0,n.__)("Type","essential-blocks"),value:null==H||null===(t=H.opensea)||void 0===t?void 0:t.type,options:[{label:(0,n.__)("Items","essential-blocks"),value:"items"},{label:(0,n.__)("Collections","essential-blocks"),value:"collections"}],onChange:function(e){return oe("opensea","type",e)}}),"items"===(null==H||null===(a=H.opensea)||void 0===a?void 0:a.type)&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Collection Slug","essential-blocks"),placeholder:(0,n.__)("cryptopunks","essential-blocks"),value:null==H||null===(o=H.opensea)||void 0===o?void 0:o.collectionSlug,onChange:function(e){return oe("opensea","collectionSlug",e)}}),React.createElement(p.RangeControl,{label:"Limit",value:null==H||null===(r=H.opensea)||void 0===r?void 0:r.itemLimit,onChange:function(e){return oe("opensea","itemLimit",e)},min:1,max:100,step:1,allowReset:!0})),"collections"===(null==H||null===(c=H.opensea)||void 0===c?void 0:c.type)&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Creator Username","essential-blocks"),value:null==H||null===(i=H.opensea)||void 0===i?void 0:i.collectionWalletId,onChange:function(e){return oe("opensea","collectionWalletId",e)}}),React.createElement(p.RangeControl,{label:"Limit",value:null==H||null===(s=H.opensea)||void 0===s?void 0:s.collectionLimit,onChange:function(e){return oe("opensea","collectionLimit",e)},min:1,max:100,step:1,allowReset:!0})))),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Layout","essential-blocks"),initialOpen:!0},React.createElement(p.SelectControl,{label:(0,n.__)("Layout Type","essential-blocks"),value:z,options:D,onChange:function(e){return function(e){switch(E({layout:e}),e){case"grid":E({rowNumRange:3,imgMaxWidthRange:100,imgMaxWidthUnit:"%",imgMarginBottom:15});break;case"list":E({rowNumRange:1,imgMaxWidthRange:250,imgMaxWidthUnit:"px",imgMarginBottom:0});break;default:return!1}}(e)}}),"grid"===z&&React.createElement(p.SelectControl,{label:(0,n.__)("Grid Preset","essential-blocks"),value:ee,options:M,onChange:function(e){return E({gridPreset:e})}}),"list"===z&&React.createElement(p.SelectControl,{label:(0,n.__)("List Preset","essential-blocks"),value:te,options:L,onChange:function(e){return E({listPreset:e})}}),React.createElement(V.ResponsiveRangeController,{baseLabel:(0,n.__)("Items per row","essential-blocks"),controlName:g,min:1,max:10,step:1,noUnits:!0}),React.createElement(p.ToggleControl,{label:(0,n.__)("Show NFT Image?","essential-blocks"),checked:G,onChange:function(){return E({displayImage:!G})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Show Title?","essential-blocks"),checked:W,onChange:function(){return E({displayTitle:!W})}}),"items"===(null==H||null===(_=H.opensea)||void 0===_?void 0:_.type)&&React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,n.__)("Show Button?","essential-blocks"),checked:Z,onChange:function(){return E({displayButton:!Z})}}))))),React.createElement(V.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Layout Styles","essential-blocks"),initialOpen:!0},React.createElement(V.ResponsiveRangeController,{baseLabel:(0,n.__)("Columns Gap","essential-blocks"),controlName:f,min:0,max:100,step:1,units:A}),React.createElement(V.ResponsiveRangeController,{baseLabel:(0,n.__)("Row Gap","essential-blocks"),controlName:y,min:0,max:100,step:1,units:A})),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Item Box Styles","essential-blocks"),initialOpen:!1},"list"===z&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,n.__)("Vertical Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(p.ButtonGroup,{id:"eb-button-group-alignment"},F.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:ne===e.value,isSecondary:ne!==e.value,onClick:function(){return E({listVerticalAlignment:e.value})}},e.label)})))),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Background","essential-blocks"),initialOpen:!0},React.createElement(V.BackgroundControl,{controlName:P,noOverlay:!0,noOverlayBgi:!0})),"grid"===z&&"preset-3"===ee&&React.createElement(React.Fragment,null,React.createElement(V.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:ae,attributeName:"gridOverlayBg"})),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!0},React.createElement(V.BorderShadowControl,{controlName:O})),React.createElement(V.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,n.__)("Padding","essential-blocks")})),G&&React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Image","essential-blocks"),initialOpen:!1},React.createElement(V.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:w,min:0,max:500,step:1,units:A}),React.createElement(V.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:k,min:0,max:500,step:1,units:A}),React.createElement(V.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(V.ResponsiveDimensionsControl,{controlName:v,baseLabel:(0,n.__)("Border Radius","essential-blocks")})),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(V.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:j}),React.createElement(V.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:J,attributeName:"titleColor"}),React.createElement(V.ResponsiveDimensionsControl,{controlName:R,baseLabel:(0,n.__)("Margin","essential-blocks")})),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(p.TextControl,{label:(0,n.__)("Button Text","essential-blocks"),value:K,onChange:function(e){return E({buttonText:e})}}),React.createElement(V.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:U}),React.createElement(V.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:Y,attributeName:"buttonTextColor"}),React.createElement(V.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Q,attributeName:"buttonBgColor"}),React.createElement(V.ColorControl,{label:(0,n.__)("Hover Text Color","essential-blocks"),color:X,attributeName:"buttonHoverTextColor"}),React.createElement(V.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:$,attributeName:"buttonHoverBgColor"}),React.createElement(V.ResponsiveDimensionsControl,{controlName:B,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(V.ResponsiveDimensionsControl,{controlName:T,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(V.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!0},React.createElement(V.BorderShadowControl,{controlName:N}))))))};function Z(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.source,t.settings,t.layout,t.gridPreset),l=t.displayImage,c=t.displayTitle,i=t.displayButton,s=t.titleColor,p=t.buttonTextColor,D=t.buttonBgColor,A=t.buttonHoverTextColor,M=t.buttonHoverBgColor,L=t.gridOverlayBg,F=t.listHorizontalAlignment,G=t.listVerticalAlignment,q=(0,V.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),W=q.dimensionStylesDesktop,Z=q.dimensionStylesTab,J=q.dimensionStylesMobile,Y=(0,V.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),Q=Y.dimensionStylesDesktop,X=Y.dimensionStylesTab,$=Y.dimensionStylesMobile,K=(0,V.generateDimensionsControlStyles)({controlName:h,styleFor:"margin",attributes:t}),ee=K.dimensionStylesDesktop,te=K.dimensionStylesTab,ae=K.dimensionStylesMobile,ne=(0,V.generateDimensionsControlStyles)({controlName:v,styleFor:"border-radius",attributes:t}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,le=ne.dimensionStylesMobile,ce=(0,V.generateDimensionsControlStyles)({controlName:R,styleFor:"margin",attributes:t}),ie=ce.dimensionStylesDesktop,se=ce.dimensionStylesTab,pe=ce.dimensionStylesMobile,be=(0,V.generateDimensionsControlStyles)({controlName:_,styleFor:"margin",attributes:t}),de=(be.dimensionStylesDesktop,be.dimensionStylesTab,be.dimensionStylesMobile,(0,V.generateDimensionsControlStyles)({controlName:S,styleFor:"margin",attributes:t})),me=(de.dimensionStylesDesktop,de.dimensionStylesTab,de.dimensionStylesMobile,(0,V.generateDimensionsControlStyles)({controlName:B,styleFor:"margin",attributes:t})),ue=me.dimensionStylesDesktop,ge=me.dimensionStylesTab,fe=me.dimensionStylesMobile,ye=(0,V.generateDimensionsControlStyles)({controlName:T,styleFor:"padding",attributes:t}),he=ye.dimensionStylesDesktop,ve=ye.dimensionStylesTab,we=ye.dimensionStylesMobile,ke=(0,V.generateDimensionsControlStyles)({controlName:I,styleFor:"padding",attributes:t}),Re=ke.dimensionStylesDesktop,_e=ke.dimensionStylesTab,Ce=ke.dimensionStylesMobile,Ee=(0,V.generateDimensionsControlStyles)({controlName:x,styleFor:"border-radius",attributes:t}),xe=(Ee.dimensionStylesDesktop,Ee.dimensionStylesTab,Ee.dimensionStylesMobile,(0,V.generateBackgroundControlStyles)({attributes:t,controlName:b})),Se=xe.backgroundStylesDesktop,Be=xe.hoverBackgroundStylesDesktop,Te=xe.backgroundStylesTab,Ne=xe.hoverBackgroundStylesTab,Pe=xe.backgroundStylesMobile,Oe=xe.hoverBackgroundStylesMobile,Ie=xe.bgTransitionStyle,De=(0,V.generateBackgroundControlStyles)({attributes:t,controlName:P}),Ae=De.backgroundStylesDesktop,Me=De.hoverBackgroundStylesDesktop,Le=De.backgroundStylesTab,Fe=De.hoverBackgroundStylesTab,je=De.backgroundStylesMobile,He=De.hoverBackgroundStylesMobile,ze=De.bgTransitionStyle,Ue=(0,V.generateBorderShadowStyles)({controlName:d,attributes:t}),Ve=Ue.styesDesktop,Ge=Ue.styesTab,qe=Ue.styesMobile,We=Ue.stylesHoverDesktop,Ze=Ue.stylesHoverTab,Je=Ue.stylesHoverMobile,Ye=Ue.transitionStyle,Qe=(0,V.generateBorderShadowStyles)({controlName:N,attributes:t}),Xe=Qe.styesDesktop,$e=Qe.styesTab,Ke=Qe.styesMobile,et=Qe.stylesHoverDesktop,tt=Qe.stylesHoverTab,at=Qe.stylesHoverMobile,nt=Qe.transitionStyle,ot=(0,V.generateBorderShadowStyles)({controlName:O,attributes:t}),rt=ot.styesDesktop,lt=ot.styesTab,ct=ot.styesMobile,it=ot.stylesHoverDesktop,st=ot.stylesHoverTab,pt=ot.stylesHoverMobile,bt=ot.transitionStyle,dt=(0,V.generateResponsiveRangeStyles)({controlName:g,property:null,attributes:t,noUnits:!0}),mt=dt.rangeStylesDesktop,ut=dt.rangeStylesTab,gt=dt.rangeStylesMobile,ft=(0,V.generateResponsiveRangeStyles)({controlName:f,property:"grid-column-gap",attributes:t}),yt=ft.rangeStylesDesktop,ht=ft.rangeStylesTab,vt=ft.rangeStylesMobile,wt=(0,V.generateResponsiveRangeStyles)({controlName:y,property:"grid-row-gap",attributes:t}),kt=wt.rangeStylesDesktop,Rt=wt.rangeStylesTab,_t=wt.rangeStylesMobile,Ct=(0,V.generateResponsiveRangeStyles)({controlName:w,property:"height",attributes:t}),Et=Ct.rangeStylesDesktop,xt=Ct.rangeStylesTab,St=Ct.rangeStylesMobile,Bt=(0,V.generateResponsiveRangeStyles)({controlName:k,property:"width",attributes:t}),Tt=Bt.rangeStylesDesktop,Nt=Bt.rangeStylesTab,Pt=Bt.rangeStylesMobile,Ot=(0,V.generateResponsiveRangeStyles)({controlName:C,property:"height",attributes:t}),It=(Ot.rangeStylesDesktop,Ot.rangeStylesTab,Ot.rangeStylesMobile,(0,V.generateResponsiveRangeStyles)({controlName:E,property:"width",attributes:t})),Dt=(It.rangeStylesDesktop,It.rangeStylesTab,It.rangeStylesMobile,(0,V.generateTypographyStyles)({attributes:t,prefixConstant:j})),At=Dt.typoStylesDesktop,Mt=Dt.typoStylesTab,Lt=Dt.typoStylesMobile,Ft=(0,V.generateTypographyStyles)({attributes:t,prefixConstant:H}),jt=(Ft.typoStylesDesktop,Ft.typoStylesTab,Ft.typoStylesMobile,(0,V.generateTypographyStyles)({attributes:t,prefixConstant:z})),Ht=(jt.typoStylesDesktop,jt.typoStylesTab,jt.typoStylesMobile,(0,V.generateTypographyStyles)({attributes:t,prefixConstant:U})),zt=Ht.typoStylesDesktop,Ut=Ht.typoStylesTab,Vt=Ht.typoStylesMobile,Gt="\n .eb-nft-gallery-wrapper.".concat(o," {\n ").concat(W,"\n ").concat(Q,"\n ").concat(Se,"\n ").concat(Ve,"\n transition:").concat(Ie,", ").concat(Ye,";\n }\n .eb-nft-gallery-wrapper.").concat(o,":hover {\n ").concat(We,"\n ").concat(Be,"\n }\n\t"),qt="\n .eb-nft-gallery-wrapper.".concat(o," {\n ").concat(Z,"\n ").concat(X,"\n ").concat(Te,"\n ").concat(Ge,"\n }\n .eb-nft-gallery-wrapper.").concat(o,":hover {\n ").concat(Ze,"\n ").concat(Ne,"\n }\n\t"),Wt="\n .eb-nft-gallery-wrapper.".concat(o," {\n ").concat(J,"\n ").concat($,"\n ").concat(Pe,"\n ").concat(qe,"\n }\n .eb-nft-gallery-wrapper.").concat(o,":hover {\n ").concat(Je,"\n ").concat(Oe,"\n }\n\t"),Zt="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n grid-template-columns: repeat(").concat(mt,", 1fr);\n ").concat(yt,"\n ").concat(kt,"\n }\n\t"),Jt="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n grid-template-columns: repeat(").concat(ut,", 1fr);\n ").concat(ht,"\n ").concat(Rt,"\n }\n\t"),Yt="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap.eb_nft_grid,\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list {\n grid-template-columns: repeat(").concat(gt,", 1fr);\n ").concat(vt,"\n ").concat(_t,"\n }\n\t"),Qt="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n ").concat(Re,"\n ").concat(Ae,"\n ").concat(rt,"\n transition:").concat(ze,", ").concat(bt,";\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n ").concat(Me,"\n ").concat(it,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_list .eb_nft_item {\n justify-content: ").concat(F,";\n align-items: ").concat(G,";\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap.eb_nft_grid.preset-3 .eb_nft_item .eb_nft_content {\n background-color: ").concat(L,";\n }\n ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n ").concat(ee,"\n ").concat(oe,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n ").concat(Et,"\n ").concat(Tt,"\n ").concat(oe,"\n }"):"","\n\n ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n color: ").concat(s,";\n ").concat(At,"\n ").concat(ie,"\n }"):"","\n\n ").concat("preset-1"===r?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_price_wrapper {\n min-height: 20px;\n }"):"","\n\n ").concat(i?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n ").concat(ue,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n background-color: ").concat(D,";\n color: ").concat(p,";\n ").concat(zt,"\n ").concat(he,"\n ").concat(Xe,"\n transition: ").concat(nt,";\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n background-color: ").concat(M,";\n color: ").concat(A,";\n ").concat(et,"\n }"):"","\n\t"),Xt="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n ").concat(_e,"\n ").concat(Le,"\n ").concat(lt,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n ").concat(Fe,"\n ").concat(st,"\n }\n ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n ").concat(te,"\n ").concat(re,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n ").concat(xt,"\n ").concat(Nt,"\n ").concat(re,"\n }"):"","\n\n ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n ").concat(Mt,"\n ").concat(se,"\n }"):"","\n\n ").concat(i?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n ").concat(ge,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n ").concat(Ut,"\n ").concat(ve,"\n ").concat($e,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n ").concat(tt,"\n }"):"","\n\t"),$t="\n .eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_item {\n ").concat(Ce,"\n ").concat(je,"\n ").concat(ct,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_item:hover {\n ").concat(He,"\n ").concat(pt,"\n }\n ").concat(l?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content_wrap .eb_nft_thumbnail {\n ").concat(ae,"\n ").concat(le,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_content_wrap .eb_nft_thumbnail img {\n ").concat(St,"\n ").concat(Pt,"\n ").concat(le,"\n }"):"","\n\n ").concat(c?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_content .eb_nft_title {\n ").concat(Lt,"\n ").concat(pe,"\n }"):"","\n\n ").concat(i?".eb-nft-gallery-wrapper.".concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button {\n ").concat(fe,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button a {\n ").concat(Vt,"\n ").concat(we,"\n ").concat(Ke,"\n }\n .eb-nft-gallery-wrapper.").concat(o," .eb_nft_item .eb_nft_content .eb_nft_button button:hover a {\n ").concat(at,"\n }"):"","\n\t"),Kt=(0,V.softMinifyCssStrings)("\n\t\t".concat(Gt,"\n\t\t").concat(Zt,"\n\t\t").concat(Qt,"\n\t")),ea=(0,V.softMinifyCssStrings)("\n ".concat(qt,"\n ").concat(Jt,"\n ").concat(Xt,"\n\t")),ta=(0,V.softMinifyCssStrings)("\n ".concat(Wt,"\n ").concat(Yt,"\n ").concat($t,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(V.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Kt,tabAllStyles:ea,mobileAllStyles:ta,blockName:n}))}var J=function(){return React.createElement("svg",{viewBox:"0 0 320 330",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M0 0H320V330H0V0Z",fill:"url(#paint0_linear_16_5)"}),React.createElement("g",{opacity:"0.15",clipPath:"url(#clip0_16_5)"},React.createElement("path",{d:"M136.04 172.213C129.37 172.213 123.436 167.942 121.282 161.584L121.136 161.105C120.628 159.421 120.415 158.005 120.415 156.588V128.178L110.306 161.921C109.006 166.884 111.969 172.029 116.94 173.4L181.371 190.655C182.175 190.864 182.979 190.964 183.771 190.964C187.921 190.964 191.713 188.209 192.775 184.15L196.529 172.213H136.04Z",fill:"white"}),React.createElement("path",{d:"M147.499 128.462C152.095 128.462 155.832 124.724 155.832 120.128C155.832 115.532 152.095 111.795 147.499 111.795C142.903 111.795 139.165 115.532 139.165 120.128C139.165 124.724 142.903 128.462 147.499 128.462Z",fill:"white"}),React.createElement("path",{opacity:"0.5",d:"M199.583 99.2943H137.081C131.34 99.2943 126.665 103.97 126.665 109.712V155.546C126.665 161.288 131.34 165.963 137.081 165.963H199.583C205.325 165.963 210 161.288 210 155.546V109.712C210 103.97 205.325 99.2943 199.583 99.2943ZM137.081 107.628H199.583C200.733 107.628 201.666 108.561 201.666 109.712V139.292L188.504 123.932C187.108 122.295 185.087 121.42 182.916 121.37C180.758 121.383 178.733 122.341 177.349 124L161.874 142.575L156.832 137.545C153.982 134.696 149.344 134.696 146.498 137.545L134.998 149.041V109.712C134.998 108.561 135.931 107.628 137.081 107.628Z",fill:"white"})),React.createElement("path",{d:"M60.746 217.336H62.798V229H60.746V217.336ZM64.9331 220.036H66.9311V229H64.9331V220.036ZM70.7111 219.838C71.2271 219.838 71.7011 219.91 72.1331 220.054C72.5771 220.198 72.9551 220.42 73.2671 220.72C73.5911 221.008 73.8371 221.368 74.0051 221.8C74.1851 222.232 74.2751 222.742 74.2751 223.33V229H72.2771V223.726C72.2771 222.994 72.0971 222.454 71.7371 222.106C71.3891 221.746 70.8371 221.566 70.0811 221.566C69.5051 221.566 68.9771 221.692 68.4971 221.944C68.0291 222.184 67.6451 222.502 67.3451 222.898C67.0451 223.282 66.8711 223.708 66.8231 224.176L66.8051 223.204C66.8651 222.76 66.9971 222.34 67.2011 221.944C67.4051 221.536 67.6751 221.176 68.0111 220.864C68.3471 220.54 68.7431 220.288 69.1991 220.108C69.6551 219.928 70.1591 219.838 70.7111 219.838ZM77.8571 219.838C78.3851 219.838 78.8651 219.91 79.2971 220.054C79.7291 220.198 80.1011 220.42 80.4131 220.72C80.7371 221.008 80.9891 221.368 81.1691 221.8C81.3491 222.232 81.4391 222.742 81.4391 223.33V229H79.4231V223.726C79.4231 222.994 79.2431 222.454 78.8831 222.106C78.5351 221.746 77.9831 221.566 77.2271 221.566C76.6511 221.566 76.1231 221.692 75.6431 221.944C75.1751 222.184 74.7911 222.502 74.4911 222.898C74.2031 223.282 74.0351 223.708 73.9871 224.176L73.9511 223.168C74.0111 222.736 74.1491 222.322 74.3651 221.926C74.5811 221.518 74.8571 221.158 75.1931 220.846C75.5291 220.534 75.9191 220.288 76.3631 220.108C76.8191 219.928 77.3171 219.838 77.8571 219.838ZM86.9122 229.198C86.0962 229.198 85.3462 229 84.6622 228.604C83.9902 228.208 83.4502 227.662 83.0422 226.966C82.6462 226.258 82.4482 225.448 82.4482 224.536C82.4482 223.6 82.6522 222.784 83.0602 222.088C83.4682 221.38 84.0202 220.828 84.7162 220.432C85.4122 220.036 86.1922 219.838 87.0562 219.838C88.0162 219.838 88.7782 220.048 89.3422 220.468C89.9062 220.888 90.3082 221.452 90.5482 222.16C90.7882 222.868 90.9082 223.66 90.9082 224.536C90.9082 225.028 90.8362 225.55 90.6922 226.102C90.5482 226.642 90.3202 227.146 90.0082 227.614C89.7082 228.082 89.3002 228.466 88.7842 228.766C88.2802 229.054 87.6562 229.198 86.9122 229.198ZM87.5242 227.542C88.1962 227.542 88.7662 227.416 89.2342 227.164C89.7142 226.9 90.0742 226.54 90.3142 226.084C90.5662 225.628 90.6922 225.112 90.6922 224.536C90.6922 223.9 90.5662 223.36 90.3142 222.916C90.0622 222.46 89.7022 222.112 89.2342 221.872C88.7662 221.62 88.1962 221.494 87.5242 221.494C86.5642 221.494 85.8202 221.776 85.2922 222.34C84.7642 222.904 84.5002 223.636 84.5002 224.536C84.5002 225.124 84.6262 225.646 84.8782 226.102C85.1422 226.558 85.5022 226.912 85.9582 227.164C86.4142 227.416 86.9362 227.542 87.5242 227.542ZM90.6922 220.036H92.7082V229H90.8362C90.8362 229 90.8242 228.886 90.8002 228.658C90.7762 228.43 90.7522 228.154 90.7282 227.83C90.7042 227.494 90.6922 227.176 90.6922 226.876V220.036ZM98.1805 227.614C97.3405 227.614 96.5785 227.464 95.8945 227.164C95.2225 226.864 94.6885 226.426 94.2925 225.85C93.9085 225.274 93.7165 224.584 93.7165 223.78C93.7165 222.976 93.9025 222.28 94.2745 221.692C94.6585 221.104 95.1865 220.648 95.8585 220.324C96.5425 220 97.3165 219.838 98.1805 219.838C98.4325 219.838 98.6725 219.856 98.9005 219.892C99.1405 219.928 99.3685 219.976 99.5845 220.036L103.779 220.054V221.728C103.203 221.74 102.621 221.662 102.033 221.494C101.457 221.314 100.947 221.128 100.503 220.936L100.449 220.828C100.857 221.032 101.223 221.284 101.547 221.584C101.883 221.872 102.147 222.202 102.339 222.574C102.531 222.946 102.627 223.366 102.627 223.834C102.627 224.626 102.435 225.304 102.051 225.868C101.679 226.432 101.157 226.864 100.485 227.164C99.8245 227.464 99.0565 227.614 98.1805 227.614ZM101.061 232.654V232.24C101.061 231.652 100.887 231.238 100.539 230.998C100.191 230.758 99.7045 230.638 99.0805 230.638H96.6505C96.1705 230.638 95.7565 230.596 95.4085 230.512C95.0725 230.44 94.8025 230.326 94.5985 230.17C94.3945 230.026 94.2445 229.852 94.1485 229.648C94.0525 229.456 94.0045 229.24 94.0045 229C94.0045 228.52 94.1485 228.16 94.4365 227.92C94.7365 227.68 95.1265 227.524 95.6065 227.452C96.0985 227.38 96.6145 227.368 97.1545 227.416L98.1805 227.614C97.4725 227.638 96.9325 227.704 96.5605 227.812C96.2005 227.908 96.0205 228.106 96.0205 228.406C96.0205 228.586 96.0925 228.73 96.2365 228.838C96.3805 228.946 96.5845 229 96.8485 229H99.4045C100.137 229 100.779 229.084 101.331 229.252C101.883 229.432 102.309 229.726 102.609 230.134C102.921 230.554 103.077 231.124 103.077 231.844V232.654H101.061ZM98.1805 226.048C98.6605 226.048 99.0865 225.958 99.4585 225.778C99.8305 225.598 100.125 225.34 100.341 225.004C100.557 224.668 100.665 224.26 100.665 223.78C100.665 223.3 100.557 222.886 100.341 222.538C100.125 222.19 99.8305 221.926 99.4585 221.746C99.0865 221.566 98.6605 221.476 98.1805 221.476C97.7125 221.476 97.2865 221.566 96.9025 221.746C96.5305 221.926 96.2365 222.19 96.0205 222.538C95.8045 222.874 95.6965 223.288 95.6965 223.78C95.6965 224.26 95.8045 224.668 96.0205 225.004C96.2365 225.34 96.5305 225.598 96.9025 225.778C97.2745 225.958 97.7005 226.048 98.1805 226.048ZM112.044 226.048H113.97C113.874 226.66 113.634 227.206 113.25 227.686C112.878 228.154 112.368 228.526 111.72 228.802C111.072 229.066 110.298 229.198 109.398 229.198C108.378 229.198 107.466 229.012 106.662 228.64C105.858 228.256 105.228 227.716 104.772 227.02C104.316 226.324 104.088 225.496 104.088 224.536C104.088 223.588 104.31 222.76 104.754 222.052C105.198 221.344 105.81 220.798 106.59 220.414C107.382 220.03 108.294 219.838 109.326 219.838C110.394 219.838 111.282 220.03 111.99 220.414C112.71 220.786 113.244 221.35 113.592 222.106C113.94 222.85 114.084 223.792 114.024 224.932H106.122C106.182 225.436 106.344 225.892 106.608 226.3C106.884 226.696 107.256 227.008 107.724 227.236C108.192 227.452 108.738 227.56 109.362 227.56C110.058 227.56 110.64 227.422 111.108 227.146C111.588 226.87 111.9 226.504 112.044 226.048ZM109.272 221.458C108.456 221.458 107.784 221.662 107.256 222.07C106.728 222.466 106.386 222.976 106.23 223.6H112.008C111.96 222.928 111.69 222.406 111.198 222.034C110.706 221.65 110.064 221.458 109.272 221.458ZM129.585 226.876L128.973 227.11V217.336H131.007V229H128.973L120.225 219.514L120.855 219.28V229H118.803V217.336H120.855L129.585 226.876ZM137.576 229.198C136.58 229.198 135.686 229.018 134.894 228.658C134.102 228.298 133.478 227.77 133.022 227.074C132.566 226.378 132.338 225.532 132.338 224.536C132.338 223.552 132.566 222.712 133.022 222.016C133.478 221.308 134.102 220.768 134.894 220.396C135.686 220.024 136.58 219.838 137.576 219.838C138.572 219.838 139.46 220.024 140.24 220.396C141.02 220.768 141.632 221.308 142.076 222.016C142.532 222.712 142.76 223.552 142.76 224.536C142.76 225.532 142.532 226.378 142.076 227.074C141.632 227.77 141.02 228.298 140.24 228.658C139.46 229.018 138.572 229.198 137.576 229.198ZM137.576 227.56C138.152 227.56 138.68 227.446 139.16 227.218C139.64 226.99 140.018 226.648 140.294 226.192C140.582 225.736 140.726 225.184 140.726 224.536C140.726 223.888 140.582 223.336 140.294 222.88C140.018 222.424 139.64 222.076 139.16 221.836C138.692 221.584 138.164 221.458 137.576 221.458C136.988 221.458 136.454 221.578 135.974 221.818C135.494 222.058 135.104 222.406 134.804 222.862C134.516 223.318 134.372 223.876 134.372 224.536C134.372 225.184 134.516 225.736 134.804 226.192C135.092 226.648 135.476 226.99 135.956 227.218C136.448 227.446 136.988 227.56 137.576 227.56ZM143.058 220.036H149.394V221.674H143.058V220.036ZM145.218 217.624H147.234V229H145.218V217.624ZM155.582 226.264V224.518H162.53V226.264H155.582ZM152.882 229L157.976 217.336H160.172L165.302 229H163.088L158.624 218.47H159.524L155.078 229H152.882ZM169.668 227.578H168.966L172.062 220.036H174.24L170.28 229H168.372L164.466 220.036H166.662L169.668 227.578ZM178.607 229.198C177.791 229.198 177.041 229 176.357 228.604C175.685 228.208 175.145 227.662 174.737 226.966C174.341 226.258 174.143 225.448 174.143 224.536C174.143 223.6 174.347 222.784 174.755 222.088C175.163 221.38 175.715 220.828 176.411 220.432C177.107 220.036 177.887 219.838 178.751 219.838C179.711 219.838 180.473 220.048 181.037 220.468C181.601 220.888 182.003 221.452 182.243 222.16C182.483 222.868 182.603 223.66 182.603 224.536C182.603 225.028 182.531 225.55 182.387 226.102C182.243 226.642 182.015 227.146 181.703 227.614C181.403 228.082 180.995 228.466 180.479 228.766C179.975 229.054 179.351 229.198 178.607 229.198ZM179.219 227.542C179.891 227.542 180.461 227.416 180.929 227.164C181.409 226.9 181.769 226.54 182.009 226.084C182.261 225.628 182.387 225.112 182.387 224.536C182.387 223.9 182.261 223.36 182.009 222.916C181.757 222.46 181.397 222.112 180.929 221.872C180.461 221.62 179.891 221.494 179.219 221.494C178.259 221.494 177.515 221.776 176.987 222.34C176.459 222.904 176.195 223.636 176.195 224.536C176.195 225.124 176.321 225.646 176.573 226.102C176.837 226.558 177.197 226.912 177.653 227.164C178.109 227.416 178.631 227.542 179.219 227.542ZM182.387 220.036H184.403V229H182.531C182.531 229 182.519 228.886 182.495 228.658C182.471 228.43 182.447 228.154 182.423 227.83C182.399 227.494 182.387 227.176 182.387 226.876V220.036ZM188.219 216.238V218.164H185.825V216.238H188.219ZM186.005 220.036H188.021V229H186.005V220.036ZM189.874 216.436H191.872V229H189.874V216.436ZM197.576 229.198C196.76 229.198 196.01 229 195.326 228.604C194.654 228.208 194.114 227.662 193.706 226.966C193.31 226.258 193.112 225.448 193.112 224.536C193.112 223.6 193.316 222.784 193.724 222.088C194.132 221.38 194.684 220.828 195.38 220.432C196.076 220.036 196.856 219.838 197.72 219.838C198.68 219.838 199.442 220.048 200.006 220.468C200.57 220.888 200.972 221.452 201.212 222.16C201.452 222.868 201.572 223.66 201.572 224.536C201.572 225.028 201.5 225.55 201.356 226.102C201.212 226.642 200.984 227.146 200.672 227.614C200.372 228.082 199.964 228.466 199.448 228.766C198.944 229.054 198.32 229.198 197.576 229.198ZM198.188 227.542C198.86 227.542 199.43 227.416 199.898 227.164C200.378 226.9 200.738 226.54 200.978 226.084C201.23 225.628 201.356 225.112 201.356 224.536C201.356 223.9 201.23 223.36 200.978 222.916C200.726 222.46 200.366 222.112 199.898 221.872C199.43 221.62 198.86 221.494 198.188 221.494C197.228 221.494 196.484 221.776 195.956 222.34C195.428 222.904 195.164 223.636 195.164 224.536C195.164 225.124 195.29 225.646 195.542 226.102C195.806 226.558 196.166 226.912 196.622 227.164C197.078 227.416 197.6 227.542 198.188 227.542ZM201.356 220.036H203.372V229H201.5C201.5 229 201.488 228.886 201.464 228.658C201.44 228.43 201.416 228.154 201.392 227.83C201.368 227.494 201.356 227.176 201.356 226.876V220.036ZM210.774 229.198C210.03 229.198 209.4 229.054 208.884 228.766C208.38 228.466 207.972 228.082 207.66 227.614C207.36 227.146 207.138 226.642 206.994 226.102C206.862 225.55 206.796 225.028 206.796 224.536C206.796 223.876 206.862 223.264 206.994 222.7C207.126 222.136 207.342 221.644 207.642 221.224C207.954 220.792 208.362 220.456 208.866 220.216C209.382 219.964 210.018 219.838 210.774 219.838C211.638 219.838 212.4 220.036 213.06 220.432C213.732 220.828 214.26 221.38 214.644 222.088C215.04 222.784 215.238 223.6 215.238 224.536C215.238 225.448 215.04 226.258 214.644 226.966C214.248 227.662 213.714 228.208 213.042 228.604C212.37 229 211.614 229.198 210.774 229.198ZM210.162 227.542C210.774 227.542 211.302 227.416 211.746 227.164C212.202 226.912 212.556 226.558 212.808 226.102C213.06 225.646 213.186 225.124 213.186 224.536C213.186 223.636 212.922 222.904 212.394 222.34C211.866 221.764 211.122 221.476 210.162 221.476C209.502 221.476 208.932 221.602 208.452 221.854C207.984 222.106 207.624 222.46 207.372 222.916C207.132 223.36 207.012 223.9 207.012 224.536C207.012 225.112 207.132 225.628 207.372 226.084C207.624 226.54 207.984 226.9 208.452 227.164C208.92 227.416 209.49 227.542 210.162 227.542ZM207.012 216.436V226.876C207.012 227.2 206.994 227.566 206.958 227.974C206.922 228.382 206.886 228.724 206.85 229H204.996V216.436H207.012ZM216.454 216.436H218.452V229H216.454V216.436ZM227.648 226.048H229.574C229.478 226.66 229.238 227.206 228.854 227.686C228.482 228.154 227.972 228.526 227.324 228.802C226.676 229.066 225.902 229.198 225.002 229.198C223.982 229.198 223.07 229.012 222.266 228.64C221.462 228.256 220.832 227.716 220.376 227.02C219.92 226.324 219.692 225.496 219.692 224.536C219.692 223.588 219.914 222.76 220.358 222.052C220.802 221.344 221.414 220.798 222.194 220.414C222.986 220.03 223.898 219.838 224.93 219.838C225.998 219.838 226.886 220.03 227.594 220.414C228.314 220.786 228.848 221.35 229.196 222.106C229.544 222.85 229.688 223.792 229.628 224.932H221.726C221.786 225.436 221.948 225.892 222.212 226.3C222.488 226.696 222.86 227.008 223.328 227.236C223.796 227.452 224.342 227.56 224.966 227.56C225.662 227.56 226.244 227.422 226.712 227.146C227.192 226.87 227.504 226.504 227.648 226.048ZM224.876 221.458C224.06 221.458 223.388 221.662 222.86 222.07C222.332 222.466 221.99 222.976 221.834 223.6H227.612C227.564 222.928 227.294 222.406 226.802 222.034C226.31 221.65 225.668 221.458 224.876 221.458ZM244.936 217.336L240.184 225.202V229H238.132V225.202L233.38 217.336H235.738L239.752 224.212H238.636L242.596 217.336H244.936ZM251.486 226.048H253.412C253.316 226.66 253.076 227.206 252.692 227.686C252.32 228.154 251.81 228.526 251.162 228.802C250.514 229.066 249.74 229.198 248.84 229.198C247.82 229.198 246.908 229.012 246.104 228.64C245.3 228.256 244.67 227.716 244.214 227.02C243.758 226.324 243.53 225.496 243.53 224.536C243.53 223.588 243.752 222.76 244.196 222.052C244.64 221.344 245.252 220.798 246.032 220.414C246.824 220.03 247.736 219.838 248.768 219.838C249.836 219.838 250.724 220.03 251.432 220.414C252.152 220.786 252.686 221.35 253.034 222.106C253.382 222.85 253.526 223.792 253.466 224.932H245.564C245.624 225.436 245.786 225.892 246.05 226.3C246.326 226.696 246.698 227.008 247.166 227.236C247.634 227.452 248.18 227.56 248.804 227.56C249.5 227.56 250.082 227.422 250.55 227.146C251.03 226.87 251.342 226.504 251.486 226.048ZM248.714 221.458C247.898 221.458 247.226 221.662 246.698 222.07C246.17 222.466 245.828 222.976 245.672 223.6H251.45C251.402 222.928 251.132 222.406 250.64 222.034C250.148 221.65 249.506 221.458 248.714 221.458ZM253.757 220.036H260.093V221.674H253.757V220.036ZM255.917 217.624H257.933V229H255.917V217.624Z",fill:"white"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_16_5",x1:"326.4",y1:"1.29268e-05",x2:"-63.6095",y2:"214.16",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{"stop-color":"#275EFF"}),React.createElement("stop",{offset:"1","stop-color":"#A913FF"})),React.createElement("clipPath",{id:"clip0_16_5"},React.createElement("rect",{width:"100",height:"100",fill:"white",transform:"translate(110 95)"}))))};function Y(e){var t=e.item,a=t.name,n=t.image_url,o=t.display_image_url,r=(t.display_animation_url,n||o);return React.createElement(React.Fragment,null,r&&React.createElement("img",{src:r,alt:a}),!r&&React.createElement(J,null))}function Q(e){var t=e.data,a=e.attributes,n=a.layout,o=a.displayImage,l=a.displayTitle,c=a.displayButton,i=a.buttonText,s=a.gridPreset,p=a.listPreset;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_items ").concat("grid"===n?s:p)},"object"===(0,r.A)(t)&&t.length>0&&React.createElement(React.Fragment,null,t.map(function(e,t){return React.createElement("div",{key:t,className:"eb_nft_item"},o&&React.createElement("div",{className:"eb_nft_thumbnail"},React.createElement(Y,{item:e})),React.createElement("div",{className:"eb_nft_content"},l&&React.createElement("h3",{className:"eb_nft_title"},e.name||"#"+e.token_id),c&&React.createElement("div",{className:"eb_nft_button"},React.createElement("button",null,React.createElement("a",{target:"_blank",href:e.opensea_url},i)))))})),"object"===(0,r.A)(t)&&0===t.length&&React.createElement("p",null,"No Items Found!"))}function X(e){var t=e.data,a=e.attributes,n=a.layout,o=a.displayImage,l=a.displayTitle,c=a.displayButton,i=a.buttonText,s=a.gridPreset,p=a.listPreset;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_collections ").concat("grid"===n?s:p)},"object"===(0,r.A)(t)&&t.map(function(e,t){return React.createElement("div",{className:"eb_nft_item"},o&&React.createElement("div",{className:"eb_nft_thumbnail"},React.createElement(Y,{item:e})),React.createElement("div",{className:"eb_nft_content"},l&&React.createElement("h3",{className:"eb_nft_title"},e.name),c&&React.createElement("div",{className:"eb_nft_button"},React.createElement("button",null,React.createElement("a",{target:"_blank",href:"https://opensea.io/collection/".concat(e.collection)},i)))))}))}var $,K=a(6087),ee=function(){return React.createElement("svg",{id:"eusqnc6va491",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 605 189",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"eusqnc6va499-fill",x1:0,y1:.5,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"eusqnc6va499-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"eusqnc6va499-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"}))),React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:255,height:20,rx:3,ry:3,transform:"translate(350)",fill:"#e8efff"}),React.createElement("rect",{width:217,height:20,rx:3,ry:3,transform:"translate(350 30)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(350 80)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(375 97)",fill:"#cfdaf2"}),React.createElement("g",{mask:"url(#eusqnc6va4910)"},React.createElement("rect",{id:"eusqnc6va499",width:79.455,height:419.975,rx:0,ry:0,transform:"matrix(2.73387 -.01692 .00802 1.29573 -196.132 -156.803)",fill:"url(#eusqnc6va499-fill)",strokeWidth:0}),React.createElement("mask",{id:"eusqnc6va4910",maskType:"luminance"},React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:255,height:20,rx:3,ry:3,transform:"translate(350)",fill:"#e8efff"}),React.createElement("rect",{width:217,height:20,rx:3,ry:3,transform:"translate(350 30)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(350 80)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(375 97)",fill:"#cfdaf2"}))),React.createElement("script",null))},te=function(e){return React.createElement("svg",{id:"ejvt20hDbyT1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 345",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"ejvt20hDbyT9-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT9-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT9-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"})),React.createElement("linearGradient",{id:"ejvt20hDbyT10-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT10-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT10-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"})),React.createElement("linearGradient",{id:"ejvt20hDbyT11-fill",x1:-.245,y1:.501,x2:.5,y2:.5,spreadMethod:"reflect",gradientUnits:"objectBoundingBox"},React.createElement("stop",{id:"ejvt20hDbyT11-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"ejvt20hDbyT11-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.52)"}))),React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:320,height:20,rx:3,ry:3,transform:"translate(0 219)",fill:"#e8efff"}),React.createElement("rect",{width:271,height:20,rx:3,ry:3,transform:"translate(0 249)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(0 299)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(25 316)",fill:"#ced9f0"}),React.createElement("g",{mask:"url(#ejvt20hDbyT12)"},React.createElement("rect",{id:"ejvt20hDbyT9",width:79.455,height:58.345,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29575 -195.005 288.679)",fill:"url(#ejvt20hDbyT9-fill)",strokeWidth:0}),React.createElement("rect",{id:"ejvt20hDbyT10",width:79.455,height:57.876,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29575 -194.736 204.238)",fill:"url(#ejvt20hDbyT10-fill)",strokeWidth:0}),React.createElement("rect",{id:"ejvt20hDbyT11",width:79.455,height:164.549,rx:0,ry:0,transform:"matrix(2.7339 .00871 -.00413 1.29574 -194.029 -17.716)",fill:"url(#ejvt20hDbyT11-fill)",strokeWidth:0}),React.createElement("mask",{id:"ejvt20hDbyT12",maskType:"luminance"},React.createElement("rect",{width:320,height:189,rx:3,ry:3,fill:"#e8efff"}),React.createElement("rect",{width:320,height:20,rx:3,ry:3,transform:"translate(0 219)",fill:"#e8efff"}),React.createElement("rect",{width:271,height:20,rx:3,ry:3,transform:"translate(0 249)",fill:"#e8efff"}),React.createElement("rect",{width:130,height:46,rx:3,ry:3,transform:"translate(0 299)",fill:"#e8efff"}),React.createElement("rect",{width:80,height:12,rx:3,ry:3,transform:"translate(25 316)",fill:"#ced9f0"}))),React.createElement("script",null))};function ae(e){var t,a=e.attributes,n=a.layout,o=a.settings,r=null==o||null===(t=o.opensea)||void 0===t?void 0:t.itemLimit;return React.createElement("div",{className:"eb_nft_content_wrap eb_nft_".concat(n," nft_items nft_loading")},(0,K.times)(r,function(e){return"grid"===n?React.createElement("div",{className:"eb_nft_item"},React.createElement(te,null)):"list"===n?React.createElement("div",{className:"eb_nft_item"},React.createElement(ee,null)):void 0}))}function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ne.apply(null,arguments)}var oe=function(e){return i.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),$||($=i.createElement("path",{fill:"#6C3BFF",d:"m7.234 46.476 19.301 11.146a6.4 6.4 0 0 0 3.228.868c1.115 0 2.23-.29 3.224-.867l19.3-11.146a6.45 6.45 0 0 0 3.237-5.585v-2.809a.898.898 0 0 0-1.796 0v2.809a4.65 4.65 0 0 1-2.336 4.028L32.086 56.069a4.63 4.63 0 0 1-4.65-.002L8.129 44.918a4.65 4.65 0 0 1-2.333-4.026V18.597c0-1.658.894-3.201 2.336-4.027L27.438 3.42a4.63 4.63 0 0 1 4.65.001l19.307 11.15a4.65 4.65 0 0 1 2.333 4.026v3.808a.898.898 0 0 0 1.796 0v-3.808a6.45 6.45 0 0 0-3.233-5.584L32.989 1.867a6.44 6.44 0 0 0-6.451 0L7.236 13.011A6.45 6.45 0 0 0 4 18.597v22.295a6.45 6.45 0 0 0 3.234 5.584M53.728 26.51a.898.898 0 0 1 1.797 0v.467a.898.898 0 0 1-1.797 0zm0 4a.898.898 0 0 1 1.797 0v3.467a.898.898 0 0 1-1.797 0zM29.732 10.745l-15.97 9 31-.9zm16.03 27-15.97 9-15.03-8.1zm3.306-13.998-10.522-.002v1.805h4.072v9.48h2.19v-9.479h4.26zm-13.05-.002v1.911h-7.617v2.996h5.705v1.79H28.4v4.443h-2.29v-11.14zM20.44 31.609v-7.864h2.295v10.972H20.44l-6.382-7.42v7.42h-2.295V23.745h2.295z"})))};function re(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function le(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?re(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ce=le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le(le({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},source:{type:"string",default:"opensea"},settings:{type:"object"},layout:{type:"string",default:"grid"},displayImage:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},displayCreator:{type:"boolean",default:!0},displayOwner:{type:"boolean",default:!1},displayPrice:{type:"boolean",default:!0},displayLastSale:{type:"boolean",default:!1},displayButton:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},ownerTextColor:{type:"string",default:"var(--eb-global-text-color)"},ownerLinkColor:{type:"string",default:"var(--eb-global-link-color)"},showOwnerImage:{type:"boolean",default:!0},showOwnerText:{type:"boolean",default:!0},creatorLabel:{type:"string",default:"Created by"},ownerLabel:{type:"string",default:"Owned by"},priceColor:{type:"string",default:"#333333"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonText:{type:"string",default:"See Details"},gridPreset:{type:"string",default:"preset-1"},listPreset:{type:"string",default:"preset-1"},gridOverlayBg:{type:"string",default:"#edecf6e6"},listHorizontalAlignment:{type:"string",default:"flex-start"},listVerticalAlignment:{type:"string",default:"flex-start"}},(0,V.generateResponsiveRangeAttributes)(g,{defaultRange:3,noUnits:!0})),(0,V.generateResponsiveRangeAttributes)(f,{defaultRange:15})),(0,V.generateResponsiveRangeAttributes)(y,{defaultRange:15})),(0,V.generateResponsiveRangeAttributes)(w,{defaultRange:150})),(0,V.generateResponsiveRangeAttributes)(k,{})),(0,V.generateResponsiveRangeAttributes)(C,{defaultRange:30})),(0,V.generateResponsiveRangeAttributes)(E,{defaultRange:30})),(0,V.generateTypographyAttributes)(j,{fontSize:16})),(0,V.generateTypographyAttributes)(H,{fontSize:14})),(0,V.generateTypographyAttributes)(z,{fontSize:14})),(0,V.generateTypographyAttributes)(U,{fontSize:14})),(0,V.generateDimensionsAttributes)(m)),(0,V.generateDimensionsAttributes)(u,{top:15,bottom:15,right:15,left:15,isLinked:!1})),(0,V.generateDimensionsAttributes)(R,{top:0,bottom:15,right:0,left:0,isLinked:!1})),(0,V.generateDimensionsAttributes)(h,{top:0,bottom:15,right:0,left:0,isLinked:!1})),(0,V.generateDimensionsAttributes)(v,{top:5,bottom:5,right:5,left:5,isLinked:!0})),(0,V.generateDimensionsAttributes)(_,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,V.generateDimensionsAttributes)(S,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,V.generateDimensionsAttributes)(B,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,V.generateDimensionsAttributes)(T,{top:15,bottom:15,right:20,left:20,isLinked:!1})),(0,V.generateDimensionsAttributes)(x,{top:50,bottom:50,right:50,left:50,isLinked:!0,defaultUnit:"%"})),(0,V.generateDimensionsAttributes)(I,{top:15,bottom:15,right:15,left:15,isLinked:!1})),(0,V.generateBorderShadowAttributes)(d,{})),(0,V.generateBorderShadowAttributes)(N,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,V.generateBorderShadowAttributes)(O,{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,V.generateBackgroundAttributes)(b,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,V.generateBackgroundAttributes)(P,{defaultFillColor:"#ffffff",defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),{},{cover:{type:"string",default:""}});function ie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ie(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const pe=(0,s.memo)((0,V.withBlockContext)(ce)(function(e){var t,a,l=e.attributes,i=e.setAttributes,b=e.isSelected,d=l.blockId,m=(l.blockMeta,l.resOption,l.source),u=l.settings,g=l.classHook,f=l.cover,y=(0,s.useState)({}),h=(0,c.A)(y,2),v=h[0],w=h[1],k=(0,s.useState)({status:!1}),R=(0,c.A)(k,2),_=R[0],C=R[1],E=(0,s.useState)(""),x=(0,c.A)(E,2),S=x[0],B=x[1],T=(0,s.useState)(!0),N=(0,c.A)(T,2),P=N[0],O=N[1],I=se(se({},e),{},{blockPrefix:"eb-nft-gallery",style:React.createElement(Z,e)}),D=(0,s.useState)(""),A=(0,c.A)(D,2),M=A[0],L=A[1];return(0,s.useEffect)(function(){u||i({settings:{opensea:{apiKey:"",type:"items",filterBy:"",itemLimit:6,collectionLimit:6,orderBy:"desc"}}});var e=new FormData;e.append("action","opensea_api_key"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);if(t.success&&t.data&&(L(t.data),u)){var a=se({},u);a.opensea.apiKey=t.data,i({settings:a})}}).catch(function(e){return console.log(e)})},[]),(0,s.useEffect)(function(){O(!0);var e=new FormData;if(e.append("action","opensea_nft_collections"),e.append("nft_nonce",EssentialBlocksLocalize.nft_nonce),e.append("nft_source",m),"opensea"===m&&u){if("items"===u.opensea.type){if(!u.opensea.collectionSlug)return C({status:!0,message:"Please insert a valid collection slug."}),B("slug"),void O(!1);B("")}if("collections"===u.opensea.type&&(!u.opensea.collectionWalletId||0===u.opensea.collectionWalletId.length))return C({status:!0,message:"Please insert a valid creator username."}),B("wallet"),void O(!1);e.append("openseaType",u.opensea.type),u.opensea.apiKey&&u.opensea.apiKey.trim().length>0&&e.append("openseaApiKey",u.opensea.apiKey),e.append("openseaCollectionSlug",u.opensea.collectionSlug),e.append("openseaCollectionmWalletId",u.opensea.collectionWalletId),e.append("openseaItemLimit",u.opensea.itemLimit),e.append("openseaCollectionLimit",u.opensea.collectionLimit),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);if(t.success)w(JSON.parse(t.data)),O(!1),C({status:!1}),B("");else{var a="object"===(0,r.A)(t.data)?t.data:function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(t.data)?JSON.parse(t.data):t.data;C({status:!0,message:"string"==typeof a?a:"Invalid Collection Slug"}),B(""),O(!1)}}).catch(function(e){return console.log(e)})}},[u]),f.length?React.createElement("div",null,React.createElement("img",{src:f,alt:"nft gallery",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,b&&M&&React.createElement(W,(0,o.A)({},e,{setLoading:O})),React.createElement(V.BlockProps.Edit,I,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(d," ").concat(g)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(d),"data-id":d},P&&React.createElement(ae,{attributes:l}),!P&&React.createElement(React.Fragment,null,!M&&React.createElement(React.Fragment,null,React.createElement(V.NoticeComponent,{Icon:oe,title:(0,n.__)("NFT Gallery","essential-blocks"),description:React.createElement(React.Fragment,null,React.createElement("span",null,"Please add NFT API ",React.createElement("a",{target:"_blank",href:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},"Here")," to display NFT Gallery Block")),externalDocLink:"https://essential-blocks.com/docs/retrieve-opensea-nft-api/",externalDocText:React.createElement(React.Fragment,null,"Learn more about NFT Gallery Block ",React.createElement(p.Dashicon,{icon:"external"}))})),M&&React.createElement(React.Fragment,null,_.status&&React.createElement(React.Fragment,null,React.createElement(V.NoticeComponent,{Icon:oe,title:(0,n.__)("NFT Gallery","essential-blocks"),description:React.createElement(React.Fragment,null,React.createElement("span",{style:{color:"#cc1818"}},React.createElement(p.Dashicon,{icon:"warning"})," ",React.createElement("strong",null,"Error: ",_.message,".")),React.createElement("br",null),""==S&&React.createElement("span",null,"Please add proper NFT API ",React.createElement("a",{target:"_blank",href:"".concat(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},"Here")," to display NFT Gallery Block"),""!==S&&React.createElement("span",null,"To add ",React.createElement("strong",null,"collection slug.")," Go to General Tab of block settings.")),externalDocLink:"https://essential-blocks.com/docs/retrieve-opensea-nft-api/",externalDocText:React.createElement(React.Fragment,null,"Learn more about NFT Gallery Block ",React.createElement(p.Dashicon,{icon:"external"}))})),!_.status&&React.createElement(React.Fragment,null,"items"===u.opensea.type&&React.createElement(Q,{data:v.nfts,attributes:l}),"collections"===u.opensea.type&&React.createElement(X,{data:null==v?void 0:v.collections,attributes:l}))))))))})),be=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"NFT Gallery","name":"essential-blocks/nft-gallery","category":"essential-blocks","description":"Display your NFT items & collections in a stunning gallery view without any coding","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var de=a(4715);function me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ue(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?me(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):me(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ge=[{attributes:ue({},ce),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.settings,o=t.source,r=t.layout,l=t.displayImage,c=t.displayTitle,i=t.displayCreator,s=t.displayOwner,p=t.displayPrice,b=t.displayLastSale,d=t.displayButton,m=t.creatorLabel,u=t.ownerLabel,g=t.buttonText,f=t.showOwnerText,y=t.showOwnerImage,h=t.gridPreset,v=t.listPreset,w=t.classHook,k={settings:n,layout:r,displayImage:l,displayTitle:c,displayCreator:i,displayOwner:s,displayPrice:p,displayLastSale:b,displayButton:d,creatorLabel:m,ownerLabel:u,buttonText:g,showOwnerText:f,showOwnerImage:y,gridPreset:h,listPreset:v};return React.createElement(V.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(a),"data-id":a,"data-source":o,"data-attributes":JSON.stringify(k)})))}},{attributes:ue({},ce),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.settings,o=t.source,r=t.layout,l=t.displayImage,c=t.displayTitle,i=t.displayCreator,s=t.displayOwner,p=t.displayPrice,b=t.displayLastSale,d=t.displayButton,m=t.creatorLabel,u=t.ownerLabel,g=t.buttonText,f=t.showOwnerText,y=t.showOwnerImage,h=t.gridPreset,v=t.listPreset,w=t.classHook,k={settings:n,layout:r,displayImage:l,displayTitle:c,displayCreator:i,displayOwner:s,displayPrice:p,displayLastSale:b,displayButton:d,creatorLabel:m,ownerLabel:u,buttonText:g,showOwnerText:f,showOwnerImage:y,gridPreset:h,listPreset:v};return React.createElement("div",de.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(w)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(a),"data-id":a,"data-source":o,"data-attributes":JSON.stringify(k)})))}}];var fe;(0,V.ebConditionalRegisterBlockType)(be,{icon:oe,attributes:ce,keywords:[(0,n.__)("NFT","essential-blocks"),(0,n.__)("NFT Gallery","essential-blocks"),(0,n.__)("NFT Collection ","essential-blocks")],edit:pe,save:function(e){var t,a=e.attributes,n=a.blockId,o=a.settings,r=a.source,l=a.layout,c=a.displayImage,i=a.displayTitle,s=a.displayButton,p=a.buttonText,b=a.gridPreset,d=a.listPreset,m=a.classHook;if(0!=(null==o||null===(t=o.opensea)||void 0===t?void 0:t.apiKey.length)){var u={settings:o,layout:l,displayImage:c,displayTitle:i,displayButton:s,buttonText:p,gridPreset:b,listPreset:d};return React.createElement(V.BlockProps.Save,{attributes:a},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(m)},React.createElement("div",{className:"eb-nft-gallery-wrapper ".concat(n),"data-id":n,"data-source":r,"data-attributes":JSON.stringify(u)})))}},deprecated:ge,example:{attributes:{cover:"".concat(null===(fe=EssentialBlocksLocalize)||void 0===fe?void 0:fe.image_url,"/block-preview/nft-gallery.jpeg")}}})},383:(e,t,a)=>{var n=a(7723),o=a(5694),r=a(4467),l=a(1609),c=a(8468),i=a(6427),s="wrprBg",p="wrpMargin",b="wrpPadding",d="wrpBorderShadow",m="btnBorderShadow",u="btnPadding",g="quantityBorderShadow",f="quantityPadding",y="variableBorderShadow",h="variablePadding",v="btnWidth_",w="quantityWidth_",k=((0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignleft"})),(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-aligncenter"})),(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignright"})),[{label:(0,n.__)("Regular Price","essential-blocks"),value:"regular"},{label:(0,n.__)("Sale Price","essential-blocks"),value:"sale"}]),R=[{label:(0,n.__)("Inline","essential-blocks"),value:"inline"},{label:(0,n.__)("Stacked","essential-blocks"),value:"stacked"}],_=[{label:(0,n.__)("Simple Product","essential-blocks"),value:"simple"},{label:(0,n.__)("Grouped Product","essential-blocks"),value:"grouped"},{label:(0,n.__)("External/Affiliate Product","essential-blocks"),value:"external"},{label:(0,n.__)("Variable Product","essential-blocks"),value:"variable"}],C=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],E="btnTypo",x="quantityTypo",S="variableLabelTypo",B="variableFieldTypo",T="groupedNameTypo",N="regularPriceTypo",P="salePriceTypo";const O=function(e){var t=e.attributes,a=e.setAttributes,r=t.showQuantity,l=t.cartBtnText,c=t.quantityColor,O=t.quantityBGColor,I=t.quantityActiveColor,D=t.quantityActiveBGColor,A=t.btnColor,M=t.btnBGColor,L=t.btnDisableColor,F=t.btnDisableBGColor,j=t.hoverBtnBGColor,H=t.hoverBtnColor,z=t.variableLabelColor,U=t.variableFieldColor,V=t.variableFieldBgColor,G=t.groupedNameColor,q=t.priceType,W=t.regularPriceColor,Z=t.salePriceColor,J=t.productType,Y=t.displayType,Q=t.buttonSwitcher,X=t.quantitySwitcher,$=t.quantityActiveBorderColor;return React.createElement(o.InspectorPanel,{advancedControlProps:{marginPrefix:p,paddingPrefix:b,backgroundPrefix:s,borderPrefix:d,hasMargin:!0}},React.createElement(o.InspectorPanel.General,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(i.SelectControl,{label:(0,n.__)("Choose Product Type (Only for Preview)","essential-blocks"),value:J,options:_,onChange:function(e){a({productType:e})},help:(0,n.__)("Note: This option is only to see how different types of products would look in your Single Product page.","essential-blocks")}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Quantity"),checked:r,onChange:function(){a({showQuantity:!r})}}),r&&React.createElement(i.SelectControl,{label:(0,n.__)("Display Type","essential-blocks"),value:Y,options:R,onChange:function(e){a({displayType:e})}}),React.createElement(o.DynamicInputControl,{label:(0,n.__)("Button Text","essential-blocks"),attrName:"cartBtnText",inputValue:l,setAttributes:a,onChange:function(e){return a({cartBtnText:e})}}))),React.createElement(o.InspectorPanel.Style,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Grouped Product","essential-blocks"),initialOpen:!0},React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Product Label","essential-blocks"),initialOpen:!0},React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:T}),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:G,attributeName:"groupedNameColor"})),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,k.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:q!==o,isPrimary:q===o,onClick:function(){return a({priceType:o})}},n)}))),"regular"===q&&React.createElement(React.Fragment,null,React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:N}),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:W,attributeName:"regularPriceColor"})),"sale"===q&&React.createElement(React.Fragment,null,React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:P}),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Z,attributeName:"salePriceColor"}))),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Variable Product","essential-blocks"),initialOpen:!0},React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:z,attributeName:"variableLabelColor"})),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Variable Product","essential-blocks"),initialOpen:!0},React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:B}),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:U,attributeName:"variableFieldColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background","essential-blocks"),color:V,attributeName:"variableFieldBgColor"}),React.createElement(o.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,n.__)("Padding","essential-blocks")})),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(o.BorderShadowControl,{controlName:y})))),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Quantity","essential-blocks"),initialOpen:!1},React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:w,units:C,min:0,max:500,step:1}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:x}),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,[{label:(0,n.__)("Normal","essential-blocks"),value:"normal"},{label:(0,n.__)("Active","essential-blocks"),value:"active"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isPrimary:X===n,isSecondary:X!==n,onClick:function(){return a({quantitySwitcher:n})}},o)}))),"normal"==X&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:c,attributeName:"quantityColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:O,attributeName:"quantityBGColor"})),"active"==X&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:I,attributeName:"quantityActiveColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:D,attributeName:"quantityActiveBGColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Border Color","essential-blocks"),color:$,attributeName:"quantityActiveBorderColor"})),React.createElement(o.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(o.BorderShadowControl,{controlName:g})),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Add to Cart Button","essential-blocks"),initialOpen:!1},React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:v,units:C,min:0,max:500,step:1}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:E}),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,[{label:(0,n.__)("Normal","essential-blocks"),value:"normal"},{label:(0,n.__)("Hover","essential-blocks"),value:"hover"},{label:(0,n.__)("Disable","essential-blocks"),value:"disable"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isPrimary:Q===n,isSecondary:Q!==n,onClick:function(){return a({buttonSwitcher:n})}},o)}))),"normal"===Q&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:A,attributeName:"btnColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:M,attributeName:"btnBGColor"})),"hover"===Q&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:H,attributeName:"hoverBtnColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Hover Color","essential-blocks"),color:j,attributeName:"hoverBtnBGColor"})),"disable"===Q&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:L,attributeName:"btnDisableColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:F,attributeName:"btnDisableBGColor"})),React.createElement(o.ResponsiveDimensionsControl,{controlName:u,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(o.BorderShadowControl,{controlName:m}))))};function I(e){var t=e.attributes,a=e.setAttributes,n=e.name,r=(t.resOption,t.blockMeta,t.blockId),l=t.quantityColor,c=t.quantityBGColor,i=t.quantityActiveColor,k=t.quantityActiveBGColor,R=t.quantityActiveBorderColor,_=t.btnColor,C=t.btnBGColor,O=t.btnDisableColor,I=t.btnDisableBGColor,D=t.hoverBtnBGColor,A=t.hoverBtnColor,M=t.variableLabelColor,L=t.variableFieldColor,F=t.variableFieldBgColor,j=t.groupedNameColor,H=t.regularPriceColor,z=t.salePriceColor,U=(0,o.generateDimensionsControlStyles)({controlName:p,styleFor:"margin",attributes:t}),V=U.dimensionStylesDesktop,G=U.dimensionStylesTab,q=U.dimensionStylesMobile,W=(0,o.generateDimensionsControlStyles)({controlName:b,styleFor:"padding",attributes:t}),Z=W.dimensionStylesDesktop,J=W.dimensionStylesTab,Y=W.dimensionStylesMobile,Q=(0,o.generateBackgroundControlStyles)({attributes:t,controlName:s}),X=Q.backgroundStylesDesktop,$=Q.hoverBackgroundStylesDesktop,K=Q.backgroundStylesTab,ee=Q.hoverBackgroundStylesTab,te=Q.backgroundStylesMobile,ae=Q.hoverBackgroundStylesMobile,ne=Q.overlayStylesDesktop,oe=Q.hoverOverlayStylesDesktop,re=Q.overlayStylesTab,le=Q.hoverOverlayStylesTab,ce=Q.overlayStylesMobile,ie=Q.hoverOverlayStylesMobile,se=Q.bgTransitionStyle,pe=Q.ovlTransitionStyle,be=(0,o.generateBorderShadowStyles)({controlName:d,attributes:t}),de=be.styesDesktop,me=be.styesTab,ue=be.styesMobile,ge=be.stylesHoverDesktop,fe=be.stylesHoverTab,ye=be.stylesHoverMobile,he=be.transitionStyle,ve=(0,o.generateBorderShadowStyles)({controlName:m,attributes:t}),we=ve.styesDesktop,ke=ve.styesTab,Re=ve.styesMobile,_e=ve.stylesHoverDesktop,Ce=ve.stylesHoverTab,Ee=ve.stylesHoverMobile,xe=ve.transitionStyle,Se=(0,o.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),Be=Se.dimensionStylesDesktop,Te=Se.dimensionStylesTab,Ne=Se.dimensionStylesMobile,Pe=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:E}),Oe=Pe.typoStylesDesktop,Ie=Pe.typoStylesTab,De=Pe.typoStylesMobile,Ae=(0,o.generateBorderShadowStyles)({controlName:g,attributes:t}),Me=Ae.styesDesktop,Le=Ae.styesTab,Fe=Ae.styesMobile,je=Ae.stylesHoverDesktop,He=Ae.stylesHoverTab,ze=Ae.stylesHoverMobile,Ue=Ae.transitionStyle,Ve=(0,o.generateDimensionsControlStyles)({controlName:f,styleFor:"padding",attributes:t}),Ge=Ve.dimensionStylesDesktop,qe=Ve.dimensionStylesTab,We=Ve.dimensionStylesMobile,Ze=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:x}),Je=Ze.typoStylesDesktop,Ye=Ze.typoStylesTab,Qe=Ze.typoStylesMobile,Xe=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:S}),$e=Xe.typoStylesDesktop,Ke=Xe.typoStylesTab,et=Xe.typoStylesMobile,tt=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:B}),at=tt.typoStylesDesktop,nt=tt.typoStylesTab,ot=tt.typoStylesMobile,rt=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:T}),lt=rt.typoStylesDesktop,ct=rt.typoStylesTab,it=rt.typoStylesMobile,st=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:N}),pt=st.typoStylesDesktop,bt=st.typoStylesTab,dt=st.typoStylesMobile,mt=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:P}),ut=mt.typoStylesDesktop,gt=mt.typoStylesTab,ft=mt.typoStylesMobile,yt=(0,o.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),ht=yt.dimensionStylesDesktop,vt=yt.dimensionStylesTab,wt=yt.dimensionStylesMobile,kt=(0,o.generateBorderShadowStyles)({controlName:y,attributes:t}),Rt=kt.styesDesktop,_t=kt.styesTab,Ct=kt.styesMobile,Et=kt.stylesHoverDesktop,xt=kt.stylesHoverTab,St=kt.stylesHoverMobile,Bt=kt.transitionStyle,Tt=(0,o.generateResponsiveRangeStyles)({controlName:v,customUnit:"px",property:"width",attributes:t}),Nt=Tt.rangeStylesDesktop,Pt=Tt.rangeStylesTab,Ot=Tt.rangeStylesMobile,It=(0,o.generateResponsiveRangeStyles)({controlName:w,customUnit:"px",property:"width",attributes:t}),Dt=It.rangeStylesDesktop,At=(It.rangeStylesTab,It.rangeStylesMobile,"\n\t\t.".concat(r,".eb-add-to-cart-wrapper {\n\t\t\t").concat(V,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(de,"\n\t\t\t").concat(X,"\n\t\t\ttransition:").concat(se,", ").concat(he,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper:hover {\n\t\t\t").concat($,"\n\t\t\t").concat(ge,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper:before{\n\t\t\t").concat(ne,"\n\t\t\ttransition:").concat(pe,";\n\t\t}\n\n\t\t.").concat(r,".eb-add-to-cart-wrapper:hover:before{\n\t\t\t").concat(oe,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input{\n\t\t\t").concat(Je,"\n color: ").concat(l,";\n background-color: ").concat(c,";\n ").concat(Dt,"\n ").concat(Ge,"\n ").concat(Me,"\n transition: ").concat(Ue,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty:focus,\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty:active,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input:focus,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input:active{\n color: ").concat(i,";\n background-color: ").concat(k,";\n border-color: ").concat(R,";\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input:hover{\n\t\t\t").concat(je,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn{\n\t\t\t").concat(Oe,"\n color: ").concat(_,";\n background-color: ").concat(C,";\n ").concat(Be,"\n ").concat(Nt,"\n ").concat(we,"\n transition: ").concat(xe,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button.disabled,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn:disabled{\n color: ").concat(O,";\n background-color: ").concat(I,";\n opacity: 1;\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn:hover {\n color: ").concat(A,";\n background-color: ").concat(D,";\n ").concat(_e,"\n\t\t}\n\n\n .").concat(r,".eb-add-to-cart-wrapper table.variations th.label {\n ").concat($e,"\n color: ").concat(M,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select {\n ").concat(at,"\n color: ").concat(L,";\n background-color: ").concat(F,";\n ").concat(ht,"\n ").concat(Rt,"\n transition: ").concat(Bt,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select:hover {\n ").concat(Et,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table label a {\n ").concat(lt,"\n color: ").concat(j,";\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > .amount,\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > del {\n ").concat(pt,"\n color: ").concat(H,";\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td ins {\n ").concat(ut,"\n color: ").concat(z,";\n\t\t}\n\t")),Mt="\n\t\t.".concat(r,".eb-add-to-cart-wrapper {\n\t\t\t").concat(G,"\n\t\t\t").concat(J,"\n\t\t\t").concat(me,"\n\t\t\t").concat(K,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper:hover {\n\t\t\t").concat(fe,"\n ").concat(ee,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper:before{\n\t\t\t").concat(re,"\n\t\t}\n\t\t.").concat(r,".eb-add-to-cart-wrapper:hover:before{\n\t\t\t").concat(le,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input{\n\t\t\t").concat(Ye,"\n ").concat(qe,"\n ").concat(Le,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input:hover{\n\t\t\t").concat(He,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn{\n\t\t\t").concat(Ie,"\n ").concat(Te,"\n ").concat(ke,"\n ").concat(Pt,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn:hover {\n ").concat(Ce,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.variations th.label {\n ").concat(Ke,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select {\n ").concat(nt,"\n ").concat(vt,"\n ").concat(_t,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select:hover {\n ").concat(xt,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table label a {\n ").concat(ct,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > .amount,\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > del {\n ").concat(bt,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td ins {\n ").concat(gt,"\n\t\t}\n\t"),Lt="\n\t\t.".concat(r,".eb-icon-wrapper {\n\t\t\t").concat(q,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(te,"\n\t\t}\n\n\t\t.").concat(r,".eb-icon-wrapper:hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(ye,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper:before{\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.").concat(r,".eb-add-to-cart-wrapper:hover:before{\n\t\t\t").concat(ie,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input{\n\t\t\t").concat(Qe,"\n ").concat(We,"\n ").concat(Fe,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .quantity .qty:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-quantity input:hover{\n\t\t\t").concat(ze,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn{\n\t\t\t").concat(De,"\n ").concat(Ne,"\n ").concat(Re,"\n ").concat(Ot,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper .single_add_to_cart_button:hover,\n .").concat(r,".eb-add-to-cart-wrapper .eb-cart-btn:hover {\n ").concat(Ee,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.variations th.label {\n ").concat(et,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select {\n ").concat(ot,"\n ").concat(wt,"\n ").concat(Ct,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.variations td select:hover {\n ").concat(St,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table label a {\n ").concat(it,"\n\t\t}\n\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > .amount,\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td > del {\n ").concat(dt,"\n\t\t}\n .").concat(r,".eb-add-to-cart-wrapper table.group_table td ins {\n ").concat(ft,"\n\t\t}\n\t"),Ft=(0,o.softMinifyCssStrings)("\n\t\t".concat(At,"\n\t")),jt=(0,o.softMinifyCssStrings)("\n\t\t".concat(Mt,"\n\t")),Ht=(0,o.softMinifyCssStrings)("\n\t\t".concat(Lt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(o.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ft,tabAllStyles:jt,mobileAllStyles:Ht,blockName:n}))}function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},productType:{type:"string",default:"simple"},showQuantity:{type:"boolean",default:!0},alignment:{type:"string",default:"flex-start"},cartBtnText:{type:"string",default:"Add to cart"},quantityColor:{type:"string",default:"var(--eb-global-text-color)"},quantityActiveBorderColor:{type:"string"},quantityBGColor:{type:"string"},quantityActiveColor:{type:"string"},quantityActiveBGColor:{type:"string"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnDisableColor:{type:"string"},btnDisableBGColor:{type:"string"},hoverBtnBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},hoverBtnColor:{type:"string",default:"var(--eb-global-button-text-color)"},variableLabelColor:{type:"string"},variableFieldColor:{type:"string"},variableFieldBgColor:{type:"string"},priceType:{type:"string",default:"regular"},regularPriceColor:{type:"string"},displayType:{type:"string",default:"inline"},buttonSwitcher:{type:"string",default:"normal"},quantitySwitcher:{type:"string",default:"normal"}},(0,o.generateTypographyAttributes)(E)),(0,o.generateTypographyAttributes)(x)),(0,o.generateTypographyAttributes)(S)),(0,o.generateTypographyAttributes)(B)),(0,o.generateTypographyAttributes)(T)),(0,o.generateTypographyAttributes)(P)),(0,o.generateTypographyAttributes)(N)),(0,o.generateDimensionsAttributes)(p)),(0,o.generateDimensionsAttributes)(b)),(0,o.generateBorderShadowAttributes)(d,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,o.generateBackgroundAttributes)(s)),(0,o.generateBorderShadowAttributes)(m,{rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,o.generateDimensionsAttributes)(u,{top:10,bottom:10,right:15,left:15,isLinked:!1})),(0,o.generateBorderShadowAttributes)(g,{defaultBdrColor:"#000",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,o.generateDimensionsAttributes)(f,{top:12,bottom:12,right:15,left:15,isLinked:!1})),(0,o.generateBorderShadowAttributes)(y,{rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,o.generateDimensionsAttributes)(h,{top:10,bottom:10,right:30,left:15,isLinked:!1})),(0,o.generateResponsiveRangeAttributes)(v)),(0,o.generateResponsiveRangeAttributes)(w));function L(e){var t=e.product,a=e.showQuantity,n=e.cartBtnText,o="grouped"===t?"grouped_form":"variable"===t?"variations_form":"";return React.createElement("form",{className:"eb-cart-form cart ".concat(o)},"grouped"==t&&React.createElement(React.Fragment,null,React.createElement("table",{class:"woocommerce-grouped-product-list group_table"},React.createElement("tbody",null,React.createElement("tr",{id:"product-11",class:"woocommerce-grouped-product-list-item product-type-simple"},React.createElement("td",{class:"woocommerce-grouped-product-list-item__quantity"},a&&React.createElement("div",{className:"eb-quantity"},React.createElement("input",{type:"number",value:"1",className:"input-text qty text",readOnly:!0}))),React.createElement("td",{class:"woocommerce-grouped-product-list-item__label"},React.createElement("label",{for:"product-11"},React.createElement("a",{href:"#"},"Hoodie with Pocket"))),React.createElement("td",{class:"woocommerce-grouped-product-list-item__price"},React.createElement("td",{class:"woocommerce-grouped-product-list-item__price"},React.createElement("del",{"aria-hidden":"true"},React.createElement("span",{class:"woocommerce-Price-amount amount"},React.createElement("bdi",null,React.createElement("span",{class:"woocommerce-Price-currencySymbol"},"£"),"45.00"))),React.createElement("span",{class:"screen-reader-text"},"Original price was: 45.00$."),React.createElement("ins",null,React.createElement("span",{class:"woocommerce-Price-amount amount"},React.createElement("bdi",null,React.createElement("span",{class:"woocommerce-Price-currencySymbol"},"£"),"35.00"))),React.createElement("span",{class:"screen-reader-text"},"Current price is: 35.00$.")))),React.createElement("tr",{id:"product-12",class:"woocommerce-grouped-product-list-item product-type-simple"},React.createElement("td",{class:"woocommerce-grouped-product-list-item__quantity"},a&&React.createElement("div",{className:"eb-quantity"},React.createElement("input",{type:"number",value:"1",className:"input-text qty text",readOnly:!0}))),React.createElement("td",{class:"woocommerce-grouped-product-list-item__label"},React.createElement("label",{for:"product-12"},React.createElement("a",{href:"#"},"T-Shirt"))),React.createElement("td",{class:"woocommerce-grouped-product-list-item__price"},React.createElement("td",{class:"woocommerce-grouped-product-list-item__price"},React.createElement("span",{class:"woocommerce-Price-amount amount"},React.createElement("bdi",null,"18.00",React.createElement("span",{class:"woocommerce-Price-currencySymbol"},"$"))))))))),"variable"==t&&React.createElement(React.Fragment,null,React.createElement("table",{class:"variations",cellspacing:"0",role:"presentation"},React.createElement("tbody",null,React.createElement("tr",null,React.createElement("th",{class:"label"},React.createElement("label",{for:"pa_color"},"color")),React.createElement("td",{class:"value"},React.createElement("select",{id:"pa_color",class:"",name:"attribute_pa_color","data-attribute_name":"attribute_pa_color","data-show_option_none":"yes"},React.createElement("option",{value:""},"Choose an option"),React.createElement("option",{value:"blue",class:"attached enabled"},"Blue"),React.createElement("option",{value:"green",class:"attached enabled"},"Green"),React.createElement("option",{value:"red",class:"attached enabled"},"Red"))))))),"external"!==t&&"grouped"!==t&&a&&React.createElement("div",{className:"eb-quantity"},React.createElement("input",{type:"number",value:"1",className:"input-text qty text",readOnly:!0})),React.createElement("button",{type:"submit",name:"add-to-cart",className:"single_add_to_cart_button button eb-cart-btn",disabled:!0},n))}function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=(0,c.memo)((0,o.withBlockContext)(M)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,r=t.blockId,l=t.classHook,c=t.showQuantity,i=t.cartBtnText,s=t.productType,p=t.displayType,b=j(j({},e),{},{blockPrefix:"eb-add-to-cart",style:React.createElement(I,e)});return React.createElement(React.Fragment,null,n&&React.createElement(O,{attributes:t,setAttributes:a}),React.createElement(o.BlockProps.Edit,b,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(l)},React.createElement("div",{className:"eb-add-to-cart-wrapper ".concat(r," ").concat(c?"layout-".concat(p):""),"data-id":r},React.createElement(L,{product:s,showQuantity:c,cartBtnText:i})))))})),z=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Add To Cart","name":"essential-blocks/add-to-cart","category":"essential-blocks","description":"Display the \'add to cart\' option for all your WooCommerce products to ensure easy navigation for customers.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var U,V,G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}(0,o.ebConditionalRegisterBlockType)(z,{keywords:[(0,n.__)("WooCommerce Add To Cart","essential-blocks"),(0,n.__)("Product Add To Cart","essential-blocks"),(0,n.__)("add to cart","essential-blocks"),(0,n.__)("eb add to cart","essential-blocks")],icon:function(e){return l.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),U||(U=l.createElement("path",{fill:"#6C3BFF",d:"M1.067 25.429c0 1.3 1.009 2.304 2.317 2.304h25.232c1.308 0 2.317-1.003 2.317-2.304V7.104c0-1.3-1.009-2.304-2.317-2.304H3.384c-1.308 0-2.317 1.004-2.317 2.304zM2.3 7.104c0-.594.524-1.226 1.234-1.226h25.194c.598 0 1.233.52 1.233 1.226V25.43c0 .595-.523 1.226-1.233 1.226H3.384c-.598 0-1.233-.52-1.233-1.226z"})),V||(V=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M12.213 21.867a.587.587 0 1 0 1.174 0 .587.587 0 0 0-1.174 0m.587 1.546a1.547 1.547 0 1 1 0-3.093 1.547 1.547 0 0 1 0 3.093M18.613 21.867a.587.587 0 1 0 1.174 0 .587.587 0 0 0-1.174 0m.587 1.546a1.547 1.547 0 1 1 0-3.093 1.547 1.547 0 0 1 0 3.093M8.08 9.442a.48.48 0 0 1 .612-.295l.19.066.027.01c.452.158.831.29 1.128.435.315.154.58.34.78.63.197.287.28.604.318.959q.008.067.013.136h8.418c.6 0 1.205 0 1.703.055.252.028.5.073.716.148.213.075.44.194.6.402.266.342.315.744.289 1.163-.025.4-.125.9-.246 1.501l-.008.038-.37 1.788c-.11.53-.202.97-.319 1.316-.124.365-.293.678-.591.92-.298.24-.64.342-1.024.388-.364.045-.816.045-1.36.045h-3.937c-.986 0-1.777 0-2.399-.088-.645-.09-1.177-.285-1.597-.724-.388-.407-.597-.84-.702-1.448-.099-.575-.109-1.329-.109-2.384V12.53c0-.535 0-.898-.03-1.178-.03-.269-.083-.412-.157-.52-.073-.105-.181-.2-.409-.31-.24-.117-.565-.232-1.05-.401l-.191-.067a.48.48 0 0 1-.295-.611m3.092 2.901v2.16c0 1.079.013 1.744.095 2.22.077.443.208.694.451.95.213.223.506.36 1.036.436.547.077 1.27.078 2.302.078h3.87c.582 0 .975-.001 1.274-.038.287-.034.43-.096.536-.181.104-.085.194-.212.286-.483.096-.283.176-.665.294-1.232l.364-1.755v-.002c.13-.644.215-1.078.236-1.405.02-.316-.03-.44-.09-.516 0-.001-.033-.039-.157-.082a2.4 2.4 0 0 0-.506-.1c-.44-.05-.994-.05-1.617-.05z",clipRule:"evenodd"})),G||(G=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M16.533 13.387a.48.48 0 0 1 .48.48v1.12h1.12a.48.48 0 1 1 0 .96h-1.12v1.12a.48.48 0 1 1-.96 0v-1.12h-1.12a.48.48 0 1 1 0-.96h1.12v-1.12a.48.48 0 0 1 .48-.48",clipRule:"evenodd"})))},attributes:M,edit:H,save:function(){return null},example:{attributes:{}}})},510:(e,t,a)=>{var n=a(7723),o=a(5694),r=a(4467),l=a(1609),c=a(8468),i=a(6427),s="wrprBg",p="wrpMargin",b="wrpPadding",d="wrpBorderShadow",m="ratingIcon",u="ratingGap",g="countGap",f=[{label:(0,n.__)("All","essential-blocks"),value:"all"},{label:(0,n.__)("Rated","essential-blocks"),value:"rated"}],y=[{label:(0,n.__)("Inline","essential-blocks"),value:"row"},{label:(0,n.__)("Block","essential-blocks"),value:"column"},{label:(0,n.__)("Block Reverse","essential-blocks"),value:"column-reverse"},{label:(0,n.__)("Inline Reverse","essential-blocks"),value:"row-reverse"}],h=[{label:(0,n.__)("Styles 1","essential-blocks"),value:"far fa-star"},{label:(0,n.__)("Styles 2","essential-blocks"),value:"far fa-star-half"},{label:(0,n.__)("Styles 3","essential-blocks"),value:"far fa-star-half-stroke"},{label:(0,n.__)("Styles 4","essential-blocks"),value:"fas fa-star"},{label:(0,n.__)("Styles 5","essential-blocks"),value:"fas fa-star-half"}],v=[{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],w="ratingTypo";function k(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function R(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?k(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):k(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const _=R(R(R(R(R(R(R(R({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},showReviewCount:{type:"boolean",default:!0},showEmptyRating:{type:"boolean",default:!1},editLink:{type:"boolean",default:!1},ratingColor:{type:"string",default:"#E7E8E8"},ratedRatingColor:{type:"string",default:"#FDBC32"},ratingTextColor:{type:"string",default:"var(--eb-global-text-color)"},ratingURL:{type:"string",default:"#reviews"},singluarCaption:{type:"string",default:" Customer Rating"},pluralCaption:{type:"string",default:" Customer Ratings"},emptyCaption:{type:"string",default:" No Customer Ratings"},beforeCaption:{type:"string",default:"("},afterCaption:{type:"string",default:")"},displayType:{type:"string",default:"row"},alignment:{type:"string",default:"flex-start"},starsType:{type:"string",default:"all"},starsVariation:{type:"string",default:"far fa-star"}},(0,o.generateTypographyAttributes)(w,{fontSize:16})),(0,o.generateDimensionsAttributes)(p)),(0,o.generateDimensionsAttributes)(b)),(0,o.generateBorderShadowAttributes)(d,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,o.generateBackgroundAttributes)(s,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,o.generateResponsiveRangeAttributes)(m,{defaultRange:18})),(0,o.generateResponsiveRangeAttributes)(u,{defaultRange:3})),(0,o.generateResponsiveRangeAttributes)(g,{defaultRange:5})),C=function(e){var t=e.attributes,a=e.setAttributes,r=(t.resOption,t.ratingTextColor),l=t.ratingColor,c=t.ratedRatingColor,k=t.showReviewCount,R=t.showEmptyRating,_=t.editLink,C=(t.ratingURL,t.singluarCaption),E=t.pluralCaption,x=t.emptyCaption,S=t.beforeCaption,B=t.afterCaption,T=t.displayType,N=t.alignment,P=t.starsType,O=t.starsVariation;return React.createElement(o.InspectorPanel,{advancedControlProps:{marginPrefix:p,paddingPrefix:b,backgroundPrefix:s,borderPrefix:d,hasMargin:!0}},React.createElement(o.InspectorPanel.General,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(i.ToggleControl,{label:(0,n.__)("Show Empty Rating"),checked:R,onChange:function(){a({showEmptyRating:!R})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Review Count"),checked:k,onChange:function(){a({showReviewCount:!k})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Edit Link"),checked:_,onChange:function(){a({editLink:!_})}}),_&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Singular Caption",attrName:"singluarCaption",inputValue:C,setAttributes:a,onChange:function(e){return a({singluarCaption:e})}}),React.createElement(o.DynamicInputControl,{label:"Plural Caption",attrName:"pluralCaption",inputValue:E,setAttributes:a,onChange:function(e){return a({pluralCaption:e})}}),React.createElement(o.DynamicInputControl,{label:"Before Caption",attrName:"beforeCaption",inputValue:S,setAttributes:a,onChange:function(e){return a({beforeCaption:e})}}),React.createElement(o.DynamicInputControl,{label:"After Caption",attrName:"afterCaption",inputValue:B,setAttributes:a,onChange:function(e){return a({afterCaption:e})}}),R&&React.createElement(o.DynamicInputControl,{label:"Empty Caption",attrName:"emptyCaption",inputValue:x,setAttributes:a,onChange:function(e){return a({emptyCaption:e})}})))),React.createElement(o.InspectorPanel.Style,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(i.SelectControl,{label:(0,n.__)("Stars Type","essential-blocks"),value:O,options:h,onChange:function(e){return a({starsVariation:e})}}),React.createElement(i.SelectControl,{label:(0,n.__)("Display Type","essential-blocks"),value:T,options:y,onChange:function(e){return a({displayType:e})}}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(i.ButtonGroup,null,v.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:N===e.value,isSecondary:N!==e.value,onClick:function(){return a({alignment:e.value})}},e.label)}))),k&&React.createElement(React.Fragment,null,React.createElement(i.PanelRow,null,(0,n.__)("Reviews Link","essential-blocks")),React.createElement(o.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:r,attributeName:"ratingTextColor"}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Count Gap","essential-blocks"),controlName:g,min:1,max:100,step:1})),React.createElement(i.PanelRow,null,(0,n.__)("Stars","essential-blocks")),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,f.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:P!==o,isPrimary:P===o,onClick:function(){return a({starsType:o})}},n)}))),"all"===P&&React.createElement(o.ColorControl,{label:(0,n.__)("Stars Color","essential-blocks"),color:l,attributeName:"ratingColor"}),"rated"===P&&React.createElement(o.ColorControl,{label:(0,n.__)("Stars Color","essential-blocks"),color:c,attributeName:"ratedRatingColor"}),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Stars Size","essential-blocks"),controlName:m,min:5,max:200,step:1}),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Stars Gap","essential-blocks"),controlName:u,min:0,max:100,step:1}))))};function E(e){var t=e.attributes,a=e.setAttributes,n=e.name,r=(t.resOption,t.blockMeta,t.blockId),l=t.ratingTextColor,c=t.ratingColor,i=t.displayType,f=t.alignment,y=t.ratedRatingColor,h=(0,o.generateDimensionsControlStyles)({controlName:p,styleFor:"margin",attributes:t}),v=h.dimensionStylesDesktop,k=h.dimensionStylesTab,R=h.dimensionStylesMobile,_=(0,o.generateDimensionsControlStyles)({controlName:b,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=(0,o.generateBackgroundControlStyles)({attributes:t,controlName:s}),B=S.backgroundStylesDesktop,T=S.hoverBackgroundStylesDesktop,N=S.backgroundStylesTab,P=S.hoverBackgroundStylesTab,O=S.backgroundStylesMobile,I=S.hoverBackgroundStylesMobile,D=S.overlayStylesDesktop,A=S.hoverOverlayStylesDesktop,M=S.overlayStylesTab,L=S.hoverOverlayStylesTab,F=S.overlayStylesMobile,j=S.hoverOverlayStylesMobile,H=S.bgTransitionStyle,z=S.ovlTransitionStyle,U=(0,o.generateBorderShadowStyles)({controlName:d,attributes:t}),V=U.styesDesktop,G=U.styesTab,q=U.styesMobile,W=U.stylesHoverDesktop,Z=U.stylesHoverTab,J=U.stylesHoverMobile,Y=U.transitionStyle,Q=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:w}),X=Q.typoStylesDesktop,$=(Q.typoStylesTab,Q.typoStylesMobile,(0,o.generateResponsiveRangeStyles)({controlName:m,property:"font-size",attributes:t})),K=$.rangeStylesDesktop,ee=($.rangeStylesTab,$.rangeStylesMobile,(0,o.generateResponsiveRangeStyles)({controlName:u,property:"gap",attributes:t})),te=ee.rangeStylesDesktop,ae=(ee.rangeStylesTab,ee.rangeStylesMobile,(0,o.generateResponsiveRangeStyles)({controlName:g,property:"gap",attributes:t})),ne=ae.rangeStylesDesktop,oe=(ae.rangeStylesTab,ae.rangeStylesMobile,"\n\t\t.".concat(r,".eb-product-rating-wrapper {\n\t\t\t").concat(v,"\n\t\t\t").concat(C,"\n\t\t\t").concat(V,"\n\t\t\t").concat(B,"\n\t\t\ttransition:").concat(H,", ").concat(Y,";\n\t\t\t").concat(ne,"\n flex-direction: ").concat(i,";\n ").concat("column"===i||"column-reverse"===i?"align-items: ".concat(f,";"):"justify-content: ".concat(f,";"),"\n\t\t}\n .").concat(r,".eb-product-rating-wrapper:hover {\n\t\t\t").concat(T,"\n\t\t\t").concat(W,"\n\t\t}\n .").concat(r,".eb-product-rating-wrapper:before{\n\t\t\t").concat(D,"\n\t\t\ttransition:").concat(z,";\n\t\t}\n\n\t\t.").concat(r,".eb-product-rating-wrapper:hover:before{\n\t\t\t").concat(A,"\n\t\t}\n\n .").concat(r,".eb-product-rating-wrapper .eb-woo-product-rating-wrapper{\n\t\t\t").concat(te,"\n\t\t}\n .").concat(r,".eb-product-rating-wrapper .eb-woo-product-rating {\n ").concat(c?"color: ".concat(c,";"):"","\n ").concat(K,"\n }\n .").concat(r,".eb-product-rating-wrapper .eb-woo-product-rating.filled {\n ").concat("color: ".concat(y||c,";"),"\n }\n .").concat(r,".eb-product-rating-wrapper .eb-product-rating-count{\n ").concat(l?"color: ".concat(l,";"):"","\n ").concat(X,"\n }\n\n\t")),re="\n\t\t.".concat(r,".eb-product-rating-wrapper {\n\t\t\t").concat(k,"\n\t\t\t").concat(E,"\n\t\t\t").concat(G,"\n\t\t\t").concat(N,"\n\t\t}\n .").concat(r,".eb-product-rating-wrapper:hover {\n\t\t\t").concat(Z,"\n ").concat(P,"\n\t\t}\n .").concat(r,".eb-product-rating-wrapper:before{\n\t\t\t").concat(M,"\n\t\t}\n\t\t.").concat(r,".eb-product-rating-wrapper:hover:before{\n\t\t\t").concat(L,"\n\t\t}\n\t"),le="\n\t\t.".concat(r,".eb-icon-wrapper {\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(q,"\n\t\t\t").concat(O,"\n\t\t}\n\n\t\t.").concat(r,".eb-icon-wrapper:hover {\n\t\t\t").concat(I,"\n\t\t\t").concat(J,"\n\t\t}\n\n .").concat(r,".eb-product-rating-wrapper:before{\n\t\t\t").concat(F,"\n\t\t}\n\t\t.").concat(r,".eb-product-rating-wrapper:hover:before{\n\t\t\t").concat(j,"\n\t\t}\n\t"),ce=(0,o.softMinifyCssStrings)("\n\t\t".concat(oe,"\n\t")),ie=(0,o.softMinifyCssStrings)("\n\t\t".concat(re,"\n\t")),se=(0,o.softMinifyCssStrings)("\n\t\t".concat(le,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(o.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ce,tabAllStyles:ie,mobileAllStyles:se,blockName:n}))}function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const B=(0,c.memo)((0,o.withBlockContext)(_)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,r=t.blockId,l=t.classHook,c=t.starsVariation,i=t.emptyCaption,s=S(S({},e),{},{blockPrefix:"eb-product-rating",style:React.createElement(E,e)});return React.createElement(React.Fragment,null,n&&React.createElement(C,{attributes:t,setAttributes:a}),React.createElement(o.BlockProps.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(l)},React.createElement("div",{className:"eb-product-rating-wrapper ".concat(r),"data-id":r},React.createElement("div",{className:"eb-woo-product-rating-wrapper"},React.createElement("span",{class:"eb-woo-product-rating"},React.createElement("i",{class:c})),React.createElement("span",{class:"eb-woo-product-rating"},React.createElement("i",{class:c})),React.createElement("span",{class:"eb-woo-product-rating"},React.createElement("i",{class:c})),React.createElement("span",{class:"eb-woo-product-rating"},React.createElement("i",{class:c})),React.createElement("span",{class:"eb-woo-product-rating"},React.createElement("i",{class:c}))),React.createElement("span",{className:"eb-product-rating-count"},i)))))})),T=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Product Rating","name":"essential-blocks/product-rating","category":"essential-blocks","description":"Display WooCommerce product ratings to build credibility among visitors and customers.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var N,P;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},O.apply(null,arguments)}(0,o.ebConditionalRegisterBlockType)(T,{keywords:[(0,n.__)("WooCommerce Product","essential-blocks"),(0,n.__)("WooCommerce Product Rating","essential-blocks"),(0,n.__)("Product Rating","essential-blocks"),(0,n.__)("Rating","essential-blocks"),(0,n.__)("eb rating","essential-blocks")],icon:function(e){return l.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),N||(N=l.createElement("path",{fill:"#6C3BFF",d:"M1.067 26.512c0 1.291 1.009 2.288 2.317 2.288h25.232c1.308 0 2.317-.997 2.317-2.288V6.022c0-1.292-1.009-2.289-2.317-2.289H3.384c-1.308 0-2.317.997-2.317 2.289zM2.3 6.022c0-.591.524-1.218 1.234-1.218h25.194c.598 0 1.233.516 1.233 1.218v20.49c0 .59-.523 1.218-1.233 1.218H3.384c-.598 0-1.233-.517-1.233-1.218z"})),P||(P=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M14.68 7.077c.126.09.2.235.2.39a1.12 1.12 0 0 0 2.24 0 .48.48 0 0 1 .632-.456l3.2 1.067a.48.48 0 0 1 .328.455V11.2a.48.48 0 0 1-.48.48h-1.12V16a1.013 1.013 0 0 1-1.013 1.013h-5.334A1.013 1.013 0 0 1 12.32 16v-4.32H11.2a.48.48 0 0 1-.48-.48V8.533a.48.48 0 0 1 .328-.455l3.2-1.067a.48.48 0 0 1 .433.066m-3 1.802v1.841h1.12a.48.48 0 0 1 .48.48V16a.053.053 0 0 0 .053.053h5.334A.054.054 0 0 0 18.72 16v-4.8a.48.48 0 0 1 .48-.48h1.12V8.88l-2.339-.78a2.08 2.08 0 0 1-3.962 0zM1.653 19.467a.48.48 0 0 1 .48-.48h28a.48.48 0 1 1 0 .96h-28a.48.48 0 0 1-.48-.48M5.6 22.833l-.1.177-.044.079-.01.018a.7.7 0 0 1-.185.238c-.096.073-.211.098-.28.113l-.02.005-.085.019-.207.048-.009.002q.054.069.154.184l.058.068.013.015a.7.7 0 0 1 .159.255.75.75 0 0 1 .013.32l-.01.09-.02.228c.052-.022.11-.05.183-.082l.08-.037.017-.009c.064-.03.172-.08.293-.08.12 0 .229.05.293.08l.018.009-.128.278.128-.278.08.037q.105.05.182.082l-.02-.227-.01-.09q0-.01-.002-.021c-.007-.075-.02-.189.015-.3.035-.112.11-.2.159-.255q.008-.007.013-.015l.058-.068q.1-.115.154-.184-.004 0-.009-.002-.084-.021-.207-.048l-.085-.02q-.009 0-.02-.004c-.069-.015-.184-.04-.28-.113a.7.7 0 0 1-.195-.256L5.7 23.01zm-.428-.514c.076-.099.211-.239.428-.239s.352.14.428.24c.072.094.145.225.221.36l.01.019.044.078.028.05.05.011.084.02.02.004c.147.033.29.066.4.11.122.047.284.139.346.34a.56.56 0 0 1-.084.473c-.064.1-.161.214-.261.331l-.013.016-.215-.183.215.183-.058.068-.04.047v.005l.006.06.008.091.002.02c.015.157.03.307.025.427-.006.126-.036.313-.203.44-.173.13-.363.102-.486.067-.114-.032-.248-.094-.385-.157l-.02-.01.134-.289-.133.29-.08-.037-.043-.02-.043.02-.08.037-.019.009c-.137.063-.271.125-.385.157-.123.035-.313.064-.486-.067-.167-.127-.197-.314-.203-.44-.005-.12.01-.27.025-.427l.002-.02.009-.09.005-.061v-.007l-.04-.045-.057-.068-.014-.016c-.1-.117-.197-.23-.26-.331a.56.56 0 0 1-.085-.474.55.55 0 0 1 .345-.34 3 3 0 0 1 .4-.109l.02-.004.086-.02.05-.011.027-.05.044-.078.01-.018c.076-.136.149-.267.221-.362M9.867 22.833l-.1.177-.044.079-.01.018a.7.7 0 0 1-.185.238c-.096.073-.212.098-.281.113l-.02.005-.084.019-.208.048-.008.002q.055.069.154.184l.057.068.014.015a.7.7 0 0 1 .158.255.75.75 0 0 1 .013.32l-.009.09q-.014.143-.02.228l.182-.082.08-.037.018-.009c.064-.03.172-.08.293-.08.12 0 .228.05.293.08l.018.009-.128.278.128-.278.08.037q.105.05.181.082l-.02-.227-.009-.09-.002-.021c-.008-.075-.02-.189.015-.3.035-.112.11-.2.159-.255l.013-.015.058-.068.154-.184-.009-.002q-.084-.021-.207-.048l-.085-.02q-.01 0-.02-.004c-.069-.015-.184-.04-.28-.113-.094-.071-.15-.174-.186-.238l-.01-.018-.043-.079zm-.428-.514c.076-.099.211-.239.428-.239.216 0 .352.14.427.24.073.094.146.225.222.36l.01.019.043.078.028.05.05.011.085.02.02.004c.146.033.29.066.4.11.122.047.284.139.346.34a.56.56 0 0 1-.084.473c-.064.1-.161.214-.262.331l-.013.016-.214-.183.214.183-.058.068-.038.045-.002.002v.005l.006.06.009.091.002.02c.015.157.03.307.024.427-.005.126-.035.313-.203.44-.172.13-.363.102-.486.067-.113-.032-.248-.094-.385-.157l-.019-.01.134-.289-.134.29-.079-.037-.043-.02-.044.02-.08.037-.018.009c-.137.063-.271.125-.385.157-.123.035-.314.064-.486-.067-.167-.127-.197-.314-.203-.44-.005-.12.01-.27.024-.427l.002-.02.01-.09.005-.061v-.005l-.001-.002-.039-.045-.058-.068-.013-.016c-.1-.117-.197-.23-.261-.331a.56.56 0 0 1-.085-.474.55.55 0 0 1 .346-.34 3 3 0 0 1 .4-.109l.02-.004.085-.02.05-.011.028-.05.044-.078.01-.018c.075-.136.148-.267.22-.362M14.133 22.833l-.1.177-.043.079q-.006.008-.01.018c-.036.064-.092.167-.186.238-.096.073-.211.098-.28.113l-.02.005-.085.019-.207.048-.009.002q.055.069.154.184l.058.068.013.015a.7.7 0 0 1 .159.255c.035.111.023.225.015.3l-.002.02-.009.09q-.015.143-.02.228l.182-.082.08-.037.017-.009c.065-.03.173-.08.293-.08.121 0 .23.05.293.08l.018.009-.128.278.128-.278.08.037q.106.05.182.082l-.02-.227-.01-.09-.001-.021a.75.75 0 0 1 .015-.3.7.7 0 0 1 .172-.27l.057-.068q.1-.115.154-.184-.003 0-.008-.002-.084-.021-.207-.048l-.085-.02q-.01 0-.02-.004c-.07-.015-.185-.04-.28-.113-.094-.071-.15-.174-.186-.238l-.01-.018-.044-.079q-.059-.107-.1-.177m-.427-.514c.075-.099.21-.239.427-.239s.352.14.428.24c.073.094.146.225.221.36l.01.019.044.078.028.05.05.011.085.02.02.004c.146.033.29.066.4.11.121.047.283.139.346.34a.56.56 0 0 1-.085.473c-.064.1-.16.214-.26.331l-.014.016-.214-.183.214.183-.058.068-.039.045-.001.002v.005l.006.06.009.091q0 .01.002.02c.015.157.03.307.024.427-.006.126-.036.313-.203.44-.172.13-.363.102-.486.067-.114-.032-.248-.094-.385-.157l-.019-.01.133-.289-.133.29-.08-.037-.043-.02-.043.02-.08.037-.018.009c-.137.063-.272.125-.385.157-.123.035-.314.064-.486-.067-.168-.127-.198-.314-.203-.44-.006-.12.009-.27.024-.427l.002-.02.009-.09.006-.061v-.005l-.002-.002-.038-.045-.058-.068-.013-.016c-.1-.117-.198-.23-.261-.331a.56.56 0 0 1-.085-.474.55.55 0 0 1 .345-.34c.11-.043.255-.076.4-.109l.021-.004.085-.02.05-.011.028-.05.043-.078.01-.018c.076-.136.15-.267.222-.362M18.4 22.833l-.1.177-.044.079-.01.018c-.035.064-.091.167-.185.238-.096.073-.211.098-.28.113l-.02.005-.085.019-.207.048-.01.002q.056.069.155.184l.058.068.013.015c.048.056.124.143.159.255.034.111.022.225.015.3l-.003.02-.008.09-.02.228.182-.082.079-.037.018-.009c.064-.03.172-.08.293-.08.12 0 .229.05.293.08l.018.009-.128.278.128-.278.08.037q.105.05.181.082l-.02-.227-.009-.09q0-.01-.002-.021c-.007-.075-.02-.189.015-.3.035-.112.11-.2.159-.255q.008-.007.013-.015l.058-.068.154-.184-.009-.002q-.084-.021-.207-.048l-.085-.02q-.008 0-.02-.004c-.069-.015-.184-.04-.28-.113-.094-.071-.15-.174-.185-.238l-.01-.018-.044-.079zm-.428-.514c.076-.099.211-.239.428-.239s.352.14.428.24c.072.094.145.225.221.36l.01.019.044.078.028.05.05.011.084.02.02.004c.147.033.29.066.4.11.122.047.284.139.346.34a.56.56 0 0 1-.084.473c-.064.1-.161.214-.261.331l-.014.016-.214-.183.215.183-.058.068-.039.045-.002.002v.005l.006.06.01.091.001.02c.015.157.03.307.025.427-.006.126-.036.313-.203.44-.173.13-.363.102-.486.067-.114-.032-.248-.094-.385-.157l-.02-.01.134-.289-.133.29-.08-.037-.043-.02-.043.02-.08.037-.019.009c-.137.063-.271.125-.385.157-.123.035-.313.064-.486-.067-.167-.127-.197-.314-.203-.44-.005-.12.01-.27.025-.427l.002-.02.009-.09.005-.061v-.005l-.001-.002-.039-.045-.057-.068-.014-.016c-.1-.117-.197-.23-.26-.331a.56.56 0 0 1-.085-.474.55.55 0 0 1 .345-.34c.11-.043.254-.076.4-.109l.02-.004.085-.02.05-.011.028-.05.044-.078.01-.018c.076-.136.149-.267.221-.362M22.667 22.833l-.1.177-.044.079-.01.018c-.035.064-.092.167-.186.238-.095.073-.21.098-.28.113l-.02.005-.084.019-.208.048-.008.002q.054.069.154.184l.057.068.014.015c.048.056.123.143.158.255.035.111.023.225.015.3l-.002.02-.009.09q-.014.143-.02.228l.182-.082.08-.037.018-.009c.064-.03.172-.08.293-.08.12 0 .228.05.293.08l.018.009-.128.278.128-.278.08.037q.105.05.181.082l-.02-.227-.009-.09-.002-.021a.7.7 0 0 1 .015-.3c.035-.112.11-.2.159-.255l.013-.015.058-.068q.1-.115.154-.184-.005 0-.009-.002-.084-.021-.207-.048l-.085-.02q-.009 0-.02-.004c-.069-.015-.184-.04-.28-.113-.094-.071-.15-.174-.186-.238l-.01-.018-.043-.079zm-.428-.514c.076-.099.211-.239.428-.239.216 0 .352.14.427.24.073.094.146.225.222.36l.01.019.043.078q.017.03.029.05l.05.011.084.02.02.004c.146.033.29.066.4.11.122.047.284.139.346.34a.56.56 0 0 1-.084.473c-.064.1-.161.214-.262.331l-.013.016-.214-.183.214.183-.058.068-.04.047v.005l.006.06.009.091.002.02c.015.157.03.307.024.427-.005.126-.035.313-.203.44-.172.13-.363.102-.486.067-.113-.032-.248-.094-.385-.157l-.019-.01.134-.289-.134.29-.079-.037-.043-.02-.044.02-.08.037-.018.009c-.137.063-.271.125-.385.157-.123.035-.314.064-.486-.067-.167-.127-.197-.314-.203-.44-.005-.12.01-.27.024-.427l.002-.02.01-.09.005-.061v-.005l-.001-.002-.039-.045-.058-.068-.013-.016c-.1-.117-.197-.23-.261-.331a.56.56 0 0 1-.085-.474.55.55 0 0 1 .346-.34c.11-.043.254-.076.4-.109l.02-.004.085-.02.05-.011.028-.05.044-.078.01-.018c.075-.136.148-.267.22-.362",clipRule:"evenodd"})))},attributes:_,edit:B,save:function(){return null},example:{attributes:{}}})},795:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(4715),i=a(6427),s=a(5694),p=[{label:(0,n.__)("Default","essential-blocks"),value:"Default"},{label:(0,n.__)("Dot","essential-blocks"),value:"Dot"},{label:(0,n.__)("Space","essential-blocks"),value:"Space"}],b=[{label:(0,n.__)("Default","essential-blocks"),value:"Default"},{label:(0,n.__)("Reverse","essential-blocks"),value:"Reverse"}],d=((0,n.__)("100","essential-blocks"),(0,n.__)("200","essential-blocks"),(0,n.__)("300","essential-blocks"),(0,n.__)("400","essential-blocks"),(0,n.__)("500","essential-blocks"),(0,n.__)("600","essential-blocks"),(0,n.__)("700","essential-blocks"),(0,n.__)("800","essential-blocks"),(0,n.__)("900","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),(0,n.__)("Fill","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("Image","essential-blocks"),(0,n.__)("Auto","essential-blocks"),(0,n.__)("Cover","essential-blocks"),(0,n.__)("Contain","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Dashed","essential-blocks"),(0,n.__)("Solid","essential-blocks"),(0,n.__)("Dotted","essential-blocks"),(0,n.__)("Double","essential-blocks"),(0,n.__)("Groove","essential-blocks"),(0,n.__)("Inset","essential-blocks"),(0,n.__)("Outset","essential-blocks"),(0,n.__)("Ridge","essential-blocks"),[{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset1"},{label:(0,n.__)("Preset 2","essential-blocks"),value:"preset2"},{label:(0,n.__)("Preset 3","essential-blocks"),value:"preset3"},{label:(0,n.__)("Preset 4","essential-blocks"),value:"preset4"}]),m=["image","icon","none"],u=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],g=[{label:(0,n.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"flex-end"}],f=[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}],y=[{label:(0,n.__)("Top","essential-blocks"),value:"start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"end"}],h=[{label:"Fill",value:"fill"},{label:"Gradient",value:"gradient"}],v=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],w=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],k=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"},{label:(0,n.__)("P","essential-blocks"),value:"p"}],R="title",_="number",C="prefix",E="suffix",x="wrapperMargin",S="wrapperPadding",B="mdBgPd",T="mdBgMg",N="mdBgRs",P="wrpBG_",O="wrp_",I="rgNT",D="rgNP",A="rgNS",M="mIconZ",L="imgW",F="imgH",j="mcGap";const H=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.startValue),r=t.target,l=t.counterPrefix,H=t.counterSuffix,z=t.duration,U=t.isShowSeparator,V=t.separastorSelectLabel,G=t.layoutLabel,q=t.titleColor,W=t.numberColor,Z=t.numPrefixColor,J=t.numSuffixColor,Y=t.layoutPreset,Q=t.rootFlexDirection,X=t.contentAlignment,$=t.mediaAlignSelf,K=t.contentsAlignSelf,ee=t.media,te=t.selectedIcon,ae=t.iconColor,ne=t.useIconBg,oe=t.iconBgType,re=t.iconBgColor,le=t.iconBgGradient,ce=t.imageUrl,ie=t.imageId,se=t.isMediaImgHeightAuto,pe=t.counterTitleLevel,be=t.titleLevel;return React.createElement(s.InspectorPanel,{advancedControlProps:{marginPrefix:x,paddingPrefix:S,backgroundPrefix:P,borderPrefix:O,hasMargin:!0}},React.createElement(s.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(s.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(i.BaseControl,{id:"eb-infobox-image-icon",label:(0,n.__)("Media Options","essential-blocks")},React.createElement(i.ButtonGroup,{id:"eb-infobox-image-icon"},m.map(function(e,t){return React.createElement(i.Button,{key:t,isSecondary:ee!==e,isPrimary:ee===e,onClick:function(){return a({media:e})}},e)}))),"icon"===ee&&React.createElement(s.EBIconPicker,{value:te,attributeName:"selectedIcon"}),"image"===ee&&!ce&&React.createElement(c.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({imageUrl:n,imageId:t})},type:"image",value:ie,render:function(e){var t=e.open;return React.createElement(i.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}})),"none"!==ee&&React.createElement(React.Fragment,null,React.createElement(s.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(i.SelectControl,{label:(0,n.__)("Layout Preset ","essential-blocks"),value:Y,options:d,onChange:function(e){switch(e){case"preset1":a({rootFlexDirection:"column",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset2":a({rootFlexDirection:"column-reverse",contentAlignment:"center",mediaAlignSelf:"center"});break;case"preset3":a({rootFlexDirection:"row",contentAlignment:"left",mediaAlignSelf:"flex-start"});break;case"preset4":a({rootFlexDirection:"row-reverse",contentAlignment:"right",mediaAlignSelf:"flex-start"})}a({layoutPreset:e})}}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Media & content spacing","Infobox"),controlName:j,min:0,max:500,step:1,noUnits:!0}))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Counter Settings","essential-blocks"),initialOpen:!0},React.createElement(i.BaseControl,{id:"eb-counter-start-value"},React.createElement(i.TextControl,{label:(0,n.__)("Starting Number","essential-blocks"),value:o,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({startValue:e})}})),React.createElement(i.BaseControl,{id:"eb-counter-end-value"},React.createElement(i.TextControl,{label:(0,n.__)("Ending Number","essential-blocks"),value:r,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({target:e})}})),React.createElement(i.BaseControl,{id:"eb-counter-duration"},React.createElement(i.TextControl,{label:(0,n.__)("Animation Duration","essential-blocks"),value:z,type:"number",onChange:function(e){return!/[\-\.]/.test(e)&&a({duration:e})}})),React.createElement(i.BaseControl,{id:"eb-counter-prefix"},React.createElement(i.TextControl,{label:(0,n.__)("Number Prefix","essential-blocks"),value:l,onChange:function(e){return a({counterPrefix:e})}})),React.createElement(i.BaseControl,{id:"eb-counter-suffix"},React.createElement(i.TextControl,{label:(0,n.__)("Number Suffix","essential-blocks"),value:H,onChange:function(e){return a({counterSuffix:e})}})),React.createElement(i.SelectControl,{label:(0,n.__)("Content layouts","essential-blocks"),options:b,value:G,onChange:function(e){return function(e){switch(e){case"Default":a({wrapperFlexDirection:"column"});break;case"Reverse":a({wrapperFlexDirection:"column-reverse"})}a({layoutLabel:e})}(e)}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Thousand Separator","essential-blocks"),checked:U,onChange:function(){return a({isShowSeparator:!U})}}),U&&React.createElement(i.SelectControl,{label:(0,n.__)("Separator","essential-blocks"),options:p,value:V,onChange:function(e){return function(e){switch(e){case"Default":a({separator:","});break;case"Dot":a({separator:"."});break;case"Space":a({separator:" "})}a({separastorSelectLabel:e})}(e)}})),React.createElement(s.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(i.BaseControl,{label:(0,n.__)("Counter Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(i.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},k.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:pe===e.value,isSecondary:pe!==e.value,onClick:function(){return a({counterTitleLevel:e.value})}},e.label)}))),React.createElement(i.__experimentalDivider,null),React.createElement(i.BaseControl,{label:(0,n.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(i.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},k.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:be===e.value,isSecondary:be!==e.value,onClick:function(){return a({titleLevel:e.value})}},e.label)})))))),React.createElement(s.InspectorPanel.Style,null,React.createElement(React.Fragment,null,"none"!==ee&&React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Media","essential-blocks"),initialOpen:!0},"icon"===ee&&React.createElement(React.Fragment,null,te&&React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:M,min:8,max:200,step:1}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ae,attributeName:"iconColor"}),React.createElement(s.ResponsiveDimensionsControl,{controlName:B,baseLabel:"Padding"}),React.createElement(i.ToggleControl,{label:(0,n.__)("Use Background","essential-blocks"),checked:ne,onChange:function(){return a({useIconBg:!ne})}}),ne&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,{label:(0,n.__)("Background Type","essential-blocks")},React.createElement(i.ButtonGroup,{id:"eb-infobox-infobox-background"},h.map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isPrimary:oe===n,isSecondary:oe!==n,onClick:function(){return a({iconBgType:n})}},o)}))),"fill"===oe&&React.createElement(s.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:re,attributeName:"iconBgColor"}),"gradient"===oe&&React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Gradient","essential-blocks")},React.createElement(s.GradientColorControl,{gradientColor:le,onChange:function(e){return a({iconBgGradient:e})}})))),"image"===ee&&ce&&React.createElement(React.Fragment,null,React.createElement(s.ImageAvatar,{imageUrl:ce,onDeleteImage:function(){return a({imageUrl:null})}}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:L,units:v,min:0,max:500,step:1}),React.createElement(i.ToggleControl,{label:(0,n.__)("Auto Image Height","essential-blocks"),checked:se,onChange:function(){return a({isMediaImgHeightAuto:!se})}}),!se&&React.createElement(React.Fragment,null,React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Height","essential-blocks"),controlName:F,units:w,min:0,max:500,step:1}))),React.createElement(i.__experimentalDivider,null),React.createElement(s.ResponsiveDimensionsControl,{forBorderRadius:!0,controlName:N,baseLabel:"Border Radius"}),React.createElement(s.ResponsiveDimensionsControl,{controlName:T,baseLabel:"Margin"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Alignments","essential-blocks"),initialOpen:!0},"none"!==ee&&React.createElement(React.Fragment,null,("row"===Q||"row-reverse"===Q)&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,{id:"eb-infobox-alignments",label:"Media Vertical alignments"},React.createElement(i.ButtonGroup,{id:"eb-infobox-alignments"},f.map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isSecondary:$!==n,isPrimary:$===n,onClick:function(){return a({mediaAlignSelf:n})}},o)}))),React.createElement(i.BaseControl,{id:"eb-infobox-alignments",label:"Content Vertical alignments"},React.createElement(i.ButtonGroup,{id:"eb-infobox-alignments"},y.map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isSecondary:K!==n,isPrimary:K===n,onClick:function(){return a({contentsAlignSelf:n})}},o)})))),("column"===Q||"column-reverse"===Q)&&React.createElement(i.BaseControl,{id:"eb-infobox-alignments",label:"Media alignments"},React.createElement(i.ButtonGroup,{id:"eb-infobox-alignments"},g.map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isSecondary:$!==n,isPrimary:$===n,onClick:function(){return a({mediaAlignSelf:n})}},o)})))),React.createElement(i.BaseControl,{id:"eb-infobox-alignments",label:"Contents alignments"},React.createElement(i.ButtonGroup,{id:"eb-infobox-alignments"},u.map(function(e,t){var n=e.value,o=e.label;return React.createElement(i.Button,{key:t,isSecondary:X!==n,isPrimary:X===n,onClick:function(){return a({contentAlignment:n})}},o)})))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Number","essential-blocks"),initialOpen:!1},React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:_}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:W,attributeName:"numberColor"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:R}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:q,attributeName:"titleColor"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Number prefix","essential-blocks"),initialOpen:!1},React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:C}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Z,attributeName:"numPrefixColor"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Number Suffix","essential-blocks"),initialOpen:!1},React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:E}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:J,attributeName:"numSuffixColor"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Spacing","essential-blocks"),initialOpen:!1},React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Number & Title","Number-counter"),controlName:I,max:100}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Number & Prefix","Number-counter"),controlName:D,max:100}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Number & Suffix","Number-counter"),controlName:A,max:100})))))};function z(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.classHook,t.wrapperFlexDirection),l=t.titleColor,c=void 0===l?"#fff":l,i=t.numberColor,p=void 0===i?"#fff":i,b=t.numPrefixColor,d=t.numSuffixColor,m=t["".concat(L,"Unit")],u=t["TAB".concat(L,"Unit")],g=t["MOB".concat(L,"Unit")],f=t.rootFlexDirection,y=t.contentAlignment,h=t.mediaAlignSelf,v=t.contentsAlignSelf,w=t.media,k=(t.selectedIcon,t.useIconBg),H=t.iconBgType,z=t.imageUrl,U=(t.imageId,t.iconColor),V=t.iconBgColor,G=t.iconBgGradient,q=t.isMediaImgHeightAuto,W=t.mIconZUnit,Z=t.mIconZRange,J=t.TABmIconZUnit,Y=t.TABmIconZRange,Q=t.MOBmIconZUnit,X=t.MOBmIconZRange,$=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:R}),K=$.typoStylesDesktop,ee=$.typoStylesTab,te=$.typoStylesMobile,ae=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:_}),ne=ae.typoStylesDesktop,oe=ae.typoStylesTab,re=ae.typoStylesMobile,le=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:C}),ce=le.typoStylesDesktop,ie=le.typoStylesTab,se=le.typoStylesMobile,pe=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:E}),be=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ue=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:x,styleFor:"margin"}),ge=ue.dimensionStylesDesktop,fe=ue.dimensionStylesTab,ye=ue.dimensionStylesMobile,he=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:S,styleFor:"padding"}),ve=he.dimensionStylesDesktop,we=he.dimensionStylesTab,ke=he.dimensionStylesMobile,Re=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:B,styleFor:"padding"}),_e=Re.dimensionStylesDesktop,Ce=Re.dimensionStylesTab,Ee=Re.dimensionStylesMobile,xe=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:N,styleFor:"border-radius"}),Se=xe.dimensionStylesDesktop,Be=xe.dimensionStylesTab,Te=xe.dimensionStylesMobile,Ne=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:T,styleFor:"margin"}),Pe=Ne.dimensionStylesDesktop,Oe=Ne.dimensionStylesTab,Ie=Ne.dimensionStylesMobile,De=(0,s.generateBackgroundControlStyles)({attributes:t,controlName:P}),Ae=De.backgroundStylesDesktop,Me=De.hoverBackgroundStylesDesktop,Le=De.backgroundStylesTab,Fe=De.hoverBackgroundStylesTab,je=De.backgroundStylesMobile,He=De.hoverBackgroundStylesMobile,ze=De.overlayStylesDesktop,Ue=De.hoverOverlayStylesDesktop,Ve=De.overlayStylesTab,Ge=De.hoverOverlayStylesTab,qe=De.overlayStylesMobile,We=De.hoverOverlayStylesMobile,Ze=De.bgTransitionStyle,Je=De.ovlTransitionStyle,Ye=(0,s.generateBorderShadowStyles)({controlName:O,attributes:t}),Qe=Ye.styesDesktop,Xe=Ye.styesTab,$e=Ye.styesMobile,Ke=Ye.stylesHoverDesktop,et=Ye.stylesHoverTab,tt=Ye.stylesHoverMobile,at=Ye.transitionStyle,nt=(0,s.generateResponsiveRangeStyles)({controlName:M,customUnit:"px",property:"font-size",attributes:t}),ot=nt.rangeStylesDesktop,rt=nt.rangeStylesTab,lt=nt.rangeStylesMobile,ct=(0,s.generateResponsiveRangeStyles)({controlName:j,customUnit:"px",property:"gap",attributes:t}),it=ct.rangeStylesDesktop,st=ct.rangeStylesTab,pt=ct.rangeStylesMobile,bt=(0,s.generateResponsiveRangeStyles)({controlName:F,property:"height",attributes:t}),dt=bt.rangeStylesDesktop,mt=bt.rangeStylesTab,ut=bt.rangeStylesMobile,gt=(0,s.generateResponsiveRangeStyles)({controlName:L,property:"width",attributes:t}),ft=gt.rangeStylesDesktop,yt=gt.rangeStylesTab,ht=gt.rangeStylesMobile,vt=(0,s.generateResponsiveRangeStyles)({controlName:I,property:"gap",attributes:t}),wt=vt.rangeStylesDesktop,kt=vt.rangeStylesTab,Rt=vt.rangeStylesMobile,_t=(0,s.generateResponsiveRangeStyles)({controlName:D,property:"padding-left",attributes:t}),Ct=_t.rangeStylesDesktop,Et=_t.rangeStylesTab,xt=_t.rangeStylesMobile,St=(0,s.generateResponsiveRangeStyles)({controlName:A,property:"padding-right",attributes:t}),Bt=St.rangeStylesDesktop,Tt=St.rangeStylesTab,Nt=St.rangeStylesMobile,Pt="\n\n\t.eb-counter-wrapper.".concat(o," .eb-counter-title,\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t}\n\n\t.eb-counter-wrapper.").concat(o," > * {\n\t\tposition: relative;\n\t}\n\n\t.eb-counter-wrapper.").concat(o,"{\n\t\toverflow:hidden;\n\t\tdisplay: flex;\n\t\tflex-direction:").concat(f,";\n\t\t").concat("none"!==w?"".concat(it):"","\n\t\t").concat(ge,"\n\t\t").concat(ve,"\n\t\t").concat(Ae,"\n\t\t").concat(Qe,"\n\t\ttransition:").concat(Ze,", ").concat(at,";\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\tdisplay:flex;\n\t\tflex:1;\n\t\ttext-align: ").concat(y||"center",";\n\t\t").concat(v&&"none"!==w?"justify-content:".concat(v,";"):"","\n\t\t").concat(r?"flex-direction: ".concat(r,";"):" ","\n\t\t").concat(wt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(Me,"\n\t\t").concat(Ke,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(ze,"\n\t\ttransition:").concat(Je,";\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(Ue,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(ne,"\n\t\t").concat(p?" color : ".concat(p,";"):" ","\n\t\t").concat(Ct,"\n\t\t").concat(Bt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(K,"\n\t\t").concat(c?"color : ".concat(c,";"):" ","\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(ce,"\n\t\t").concat(b?"color : ".concat(b,";"):" ","\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(be,"\n\t\t").concat(d?"color : ".concat(d,";"):" ","\n\t}\n\n\n\n\t").concat("none"!==w?"\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\talign-self: ").concat(h,";\n\t\t\t\t").concat(Pe,"\n\t\t\t}\n\n\t\t\t").concat("image"===w?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t\t").concat("%"===m?ft:" ","\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t\t").concat(z?Se:" ","\n\n\t\t\t\t\t\t").concat("%"===m?"width: 100%;":ft,"\n\t\t\t\t\t\t").concat(q?"height:auto;":dt,"\n\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t\t").concat(z?" ":Se,"\n\t\t\t\t\t}\n\t\t\t\t\t"):" ","\n\n\t\t\t").concat("icon"===w?"\n\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\n\t\t\t\t\t").concat(_e,"\n\t\t\t\t\t").concat(Se,"\n\n\t\t\t\t\t").concat(k?"".concat("fill"===H?"background-color: ".concat(V,";"):"gradient"===H?"background-image: ".concat(G,";"):" "):" ","\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-icon > * {\n\t\t\t\t\tcolor: ").concat(U||"#fff",";\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t").concat(ot,"\n\t\t\t\t\theight:").concat(Z).concat(W,";\n\t\t\t\t\twidth:").concat(Z).concat(W,";\n\t\t\t\t\tdisplay:flex;\n\t\t\t\t\tjustify-content:center;\n\t\t\t\t\talign-items:center;\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\t\t\t"):" ","\n\t"),Ot="\n\t.eb-counter-wrapper.".concat(o,"{\n\t\t").concat("none"!==w?"".concat(st):"","\n\t\t").concat(fe,"\n\t\t").concat(we,"\n\t\t").concat(Le,"\n\t\t").concat(Xe,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(Fe,"\n\t\t").concat(et,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(Ve,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(Ge,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\t").concat(kt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(oe,"\n\t\t").concat(Et,"\n\t\t").concat(Tt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(ee,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(ie,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(de,"\n\t}\n\n\n\t").concat("none"!==w?"\n\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t").concat(Oe,"\n\t\t\t}\n\n\t\t\t").concat("icon"===w?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\t\t\t\t\t\t").concat(Be,"\n\t\t\t\t\t\t").concat(Ce,"\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t\t").concat(rt,"\n\t\t\t\t\t\t").concat(Y?"height:".concat(Y).concat(J,";"):"","\n\t\t\t\t\t\t").concat(Y?"width:".concat(Y).concat(J,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\n\t\t\t").concat("image"===w?"\n\n\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t").concat("%"===u?yt:"%"===m?"width: auto;":" ","\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t").concat("%"===u?"%"===m?" ":"width: 100%;":yt,"\n\n\t\t\t\t\t").concat(q?"":mt,"\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t").concat(Be,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\t\t"):" ","\n\n\t"),It="\n\t.eb-counter-wrapper.".concat(o,"{\n\t\t").concat("none"!==w?"".concat(pt):"","\n\t\t").concat(ye,"\n\t\t").concat(ke,"\n\t\t").concat(je,"\n\t\t").concat($e,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover{\n\t\t").concat(He,"\n\t\t").concat(tt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":before{\n\t\t").concat(qe,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o,":hover:before{\n\t\t").concat(We,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .counter-contents-wrapper{\n\t\t").concat(Rt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-number{\n\t\t").concat(re,"\n\t\t").concat(xt,"\n\t\t").concat(Nt,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-title{\n\t\t").concat(te,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-prefix{\n\t\t").concat(se,"\n\t}\n\n\t.eb-counter-wrapper.").concat(o," .eb-counter-suffix{\n\t\t").concat(me,"\n\t}\n\n\n\n\t").concat("none"!==w?"\n\n\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t").concat(Ie,"\n\t\t\t}\n\n\t\t\t").concat("icon"===w?"\n\n\t\t\t\t\t.eb-counter-wrapper.".concat(o," .eb-icon {\n\t\t\t\t\t\t").concat(Te,"\n\t\t\t\t\t\t").concat(Ee,"\n\t\t\t\t\t}\n\n\t\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper .eb-counter-icon-data-selector {\n\t\t\t\t\t\t").concat(lt,"\n\t\t\t\t\t\t").concat(X?"height:".concat(X).concat(Q,";"):"","\n\t\t\t\t\t\t").concat(X?"width:".concat(X).concat(Q,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\n\t\t\t").concat("image"===w?"\n\n\t\t\t\t.eb-counter-wrapper.".concat(o," .icon-img-wrapper{\n\t\t\t\t\t").concat("%"===g?ht:"%"===m?"width: auto;":" ","\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .icon-img-wrapper img {\n\n\t\t\t\t\t").concat("%"===g?"%"===m?" ":"width: 100%;":ht,"\n\n\t\t\t\t\t").concat(q?"":ut,"\n\n\t\t\t\t}\n\n\t\t\t\t.eb-counter-wrapper.").concat(o," .eb-counter-image-wrapper{\n\t\t\t\t\t").concat(Te,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\t\t"):" ","\n\n\n\n\t"),Dt=(0,s.softMinifyCssStrings)("\n\t\t".concat(Pt,"\n\t")),At=(0,s.softMinifyCssStrings)("\n\t\t".concat(Ot,"\n\t")),Mt=(0,s.softMinifyCssStrings)("\n\t\t".concat(It,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(s.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Dt,tabAllStyles:At,mobileAllStyles:Mt,blockName:n}))}function U(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function V(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?U(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const G=V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V(V({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},startValue:{type:"string",default:"0"},target:{type:"string",default:"50000"},duration:{type:"string",default:"1000"},counterTitle:{type:"string",default:"Active Users"},counterPrefix:{type:"string",default:""},counterSuffix:{type:"string",default:"+"},isShowSeparator:{type:"boolean",default:!0},separator:{type:"string",default:","},separastorSelectLabel:{type:"string",default:"Default"},wrapperFlexDirection:{type:"string",default:"column"},layoutLabel:{type:"string"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},numberColor:{type:"string",default:"var(--eb-global-heading-color)"},numPrefixColor:{type:"string",default:"var(--eb-global-text-color)"},numSuffixColor:{type:"string",default:"var(--eb-global-text-color)"},layoutPreset:{type:"string",default:"preset1"},rootFlexDirection:{type:"string",default:"column"},mediaAlignSelf:{type:"string",default:"center"},contentsAlignSelf:{type:"string"},contentAlignment:{type:"string",default:"center"},media:{type:"string",default:"none"},selectedIcon:{type:"string",default:"far fa-gem"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},useIconBg:{type:"boolean",default:!0},iconBgType:{type:"string",default:"fill"},iconBgColor:{type:"string",default:"var(--eb-global-background-color)"},iconBgGradient:{type:"string",default:"var(--eb-global-background-color)"},imageUrl:{type:"string"},imageId:{type:"string"},isMediaImgHeightAuto:{type:"boolean",default:!0},counterTitleLevel:{type:"string",default:"h4"},titleLevel:{type:"string",default:"h3"}},(0,s.generateTypographyAttributes)(R,{fontSize:40})),(0,s.generateTypographyAttributes)(_,{fontSize:40})),(0,s.generateTypographyAttributes)(C)),(0,s.generateTypographyAttributes)(E)),(0,s.generateDimensionsAttributes)(x)),(0,s.generateDimensionsAttributes)(B,{top:20,bottom:20,right:20,left:20})),(0,s.generateDimensionsAttributes)(N,{top:20,bottom:20,isLinked:!1})),(0,s.generateDimensionsAttributes)(T,{top:15,isLinked:!1})),(0,s.generateDimensionsAttributes)(S,{top:30,bottom:30,right:10,left:10,isLinked:!1})),(0,s.generateBackgroundAttributes)(P,{defaultFillColor:"#fff",defaultBgGradient:"var(--eb-gradient-background-color)"})),(0,s.generateBorderShadowAttributes)(O)),(0,s.generateResponsiveRangeAttributes)(I,{defaultRange:20})),(0,s.generateResponsiveRangeAttributes)(D)),(0,s.generateResponsiveRangeAttributes)(A)),(0,s.generateResponsiveRangeAttributes)(M,{defaultRange:50})),(0,s.generateResponsiveRangeAttributes)(L,{defaultRange:300})),(0,s.generateResponsiveRangeAttributes)(F)),(0,s.generateResponsiveRangeAttributes)(j,{defaultRange:20,noUnits:!0}));function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function W(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Z=(0,l.memo)((0,s.withBlockContext)(G)(function(e){var t=e.isSelected,a=e.attributes,o=e.setAttributes,r=(e.className,e.clientId,e.name,a.resOption,a.blockId),p=(a.blockMeta,a.classHook),b=a.target,d=a.duration,m=a.counterTitle,u=a.counterSuffix,g=a.counterPrefix,f=a.startValue,y=a.isShowSeparator,h=a.separator,v=a.media,w=a.selectedIcon,k=a.imageUrl,R=a.imageId,_=a.counterTitleLevel,C=a.titleLevel,E=(0,l.useRef)(null);(0,l.useEffect)(function(){return t=d&&Math.floor(Math.abs(d))>499?Math.floor(Math.abs(d))-200:300,a=b?Math.floor(Math.abs(b)):0,n=f&&Math.floor(Math.abs(f))<a?Math.floor(Math.abs(f)):0,o=(a-n)/t*53,r=setTimeout(function(){!function t(){n+=o,E.current.innerText=(0,s.textInsideForEdit)(Math.floor(n),y,h),n<a?e=setTimeout(function(){t()},53):E.current.innerText=(0,s.textInsideForEdit)(a,y,h)}()},200),function(){clearTimeout(r),clearTimeout(e)};var e,t,a,n,o,r},[b,d,f,h,y,_]);var x=W(W({},e),{},{blockPrefix:"eb-counter",style:React.createElement(z,e)});return React.createElement(React.Fragment,null,t&&React.createElement(H,{attributes:a,setAttributes:o}),React.createElement(s.BlockProps.Edit,x,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(p)},React.createElement("div",{className:"".concat(r," eb-counter-wrapper")},"icon"===v?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(s.EBDisplayIcon,{icon:w,className:"eb-counter-icon-data-selector"}))):null,"image"===v?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement(c.MediaUpload,{onSelect:function(e){var t=e.id,a=e.url;return o({imageUrl:a,imageId:t})},type:"image",value:R,render:function(e){var t=e.open;return k?React.createElement("img",{className:"eb-counter-image",src:k}):React.createElement(i.Button,{className:"eb-infobox-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(a.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},g),React.createElement("span",{ref:E,className:"eb-counter eb-counter-number"},"0"),React.createElement("span",{className:"eb-counter-suffix"},u)),React.createElement(c.RichText,{tagName:C,className:"eb-counter-title",value:m,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return o({counterTitle:e})}}))))))})),J=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Number Counter","apiVersion":2,"name":"essential-blocks/number-counter","category":"essential-blocks","description":"Put spotlight in important data using Counter block for Gutenberg. Customize the designs by adding proper Animation effects with flexibility and many more!","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Y=a(6087);function Q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function X(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var $=[{attributes:X({},G),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,l=t.counterSuffix,i=t.counterPrefix,p=t.startValue,b=t.isShowSeparator,d=t.separator,m=t.media,u=t.selectedIcon,g=t.imageUrl,f=t.titleLevel,y=t.classHook;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(s.EBDisplayIcon,{icon:u,className:"eb-counter-icon-data-selector"}))):null,"image"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:g}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},i),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":p?Math.floor(Math.abs(p)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":d,"data-isShowSeparator":b},"0"),React.createElement("span",{className:"eb-counter-suffix"},l)),React.createElement(c.RichText.Content,{tagName:f,className:"eb-counter-title",value:r})))))}},{attributes:X({},G),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,l=t.counterSuffix,i=t.counterPrefix,s=t.startValue,p=t.isShowSeparator,b=t.separator,d=t.media,m=t.selectedIcon,u=t.imageUrl,g=t.titleLevel,f=t.classHook;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===d?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement("span",{"data-icon":m,className:"eb-counter-icon-data-selector ".concat(m)}))):null,"image"===d?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:u}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},i),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":s?Math.floor(Math.abs(s)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":p},"0"),React.createElement("span",{className:"eb-counter-suffix"},l)),React.createElement(c.RichText.Content,{tagName:g,className:"eb-counter-title",value:r})))))}},{attributes:X({},G),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,l=t.counterSuffix,i=t.counterPrefix,s=t.startValue,p=t.isShowSeparator,b=t.separator,d=t.media,m=t.selectedIcon,u=t.imageUrl;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===d?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement("span",{"data-icon":m,className:"eb-counter-icon-data-selector ".concat(m)}))):null,"image"===d?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:u}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement("h4",{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},i),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":s?Math.floor(Math.abs(s)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":p},"0"),React.createElement("span",{className:"eb-counter-suffix"},l)),React.createElement(c.RichText.Content,{tagName:"h3",className:"eb-counter-title",value:r}))))}},{attributes:(0,Y.omit)(X({},G),["MOBimgHRange","MOBimgHUnit","MOBimgWRange","MOBimgWUnit","MOBmIconZRange","MOBmIconZUnit","MOBmcGapRange","MOBmdBgMgBottom","MOBmdBgMgLeft","MOBmdBgMgRight","MOBmdBgMgTop","MOBmdBgMgUnit","MOBmdBgPdBottom","MOBmdBgPdLeft","MOBmdBgPdRight","MOBmdBgPdTop","MOBmdBgPdUnit","MOBmdBgRsBottom","MOBmdBgRsLeft","MOBmdBgRsRight","MOBmdBgRsTop","MOBmdBgRsUnit","TABimgHRange","TABimgHUnit","TABimgWRange","TABimgWUnit","TABmIconZRange","TABmIconZUnit","TABmcGapRange","TABmdBgMgBottom","TABmdBgMgLeft","TABmdBgMgRight","TABmdBgMgTop","TABmdBgMgUnit","TABmdBgPdBottom","TABmdBgPdLeft","TABmdBgPdRight","TABmdBgPdTop","TABmdBgPdUnit","TABmdBgRsBottom","TABmdBgRsLeft","TABmdBgRsRight","TABmdBgRsTop","TABmdBgRsUnit","contentAlignment","contentsAlignSelf","iconBgColor","iconBgGradient","iconBgType","iconColor","imageId","imageUrl","imgHRange","imgHUnit","imgWRange","imgWUnit","isMediaImgHeightAuto","layoutPreset","mIconZRange","mIconZUnit","mcGapRange","mdBgMgBottom","mdBgMgLeft","mdBgMgRight","mdBgMgTop","mdBgMgUnit","mdBgMgisLinked","mdBgPdBottom","mdBgPdLeft","mdBgPdRight","mdBgPdTop","mdBgPdUnit","mdBgPdisLinked","mdBgRsBottom","mdBgRsLeft","mdBgRsRight","mdBgRsTop","mdBgRsUnit","mdBgRsisLinked","media","mediaAlignSelf","rootFlexDirection","selectedIcon","useIconBg"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,l=t.counterSuffix,i=t.counterPrefix,s=t.startValue,p=t.isShowSeparator,b=t.separator;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},React.createElement("h4",{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},i),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":s?Math.floor(Math.abs(s)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":b,"data-isShowSeparator":p},"0"),React.createElement("span",{className:"eb-counter-suffix"},l)),React.createElement(c.RichText.Content,{tagName:"h3",className:"eb-counter-title",value:r})))}}];const K=$;var ee;function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},te.apply(null,arguments)}(0,s.ebConditionalRegisterBlockType)(J,{icon:function(e){return r.createElement("svg",te({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),ee||(ee=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M52.029 52.371H4.543C2.057 52.371 0 50.314 0 47.83V12.17c0-2.484 2.057-4.54 4.543-4.54h47.486c2.485 0 4.542 2.057 4.542 4.542V47.83c0 2.485-2.057 4.542-4.542 4.542zM4.543 10.114c-1.114 0-2.057.943-2.057 2.057V47.83c0 1.114.943 2.057 2.057 2.057h47.486c1.114 0 2.057-.943 2.057-2.057V12.17c0-1.114-.943-2.057-2.057-2.057z"}),r.createElement("path",{d:"M18.429 15.343a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m19.028-30.6a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.143a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229m0 5.057a1.114 1.114 0 1 0 0-2.229 1.114 1.114 0 0 0 0 2.229M47.914 24.6h-5.142v-1.543h6.857v1.457l-3.857 13.629h-1.715zM28.371 37.029h-1.028c-.172 0-.257-.172-.257-.258V24.6c0-.171.171-.257.257-.257h1.028c.172 0 .258.171.258.257v12.171c.085.172-.086.258-.258.258m-17.657 0H9.686c-.172 0-.257-.172-.257-.258V24.6c0-.171.171-.257.257-.257h1.028c.172 0 .257.171.257.257v12.171c.086.172-.085.258-.257.258"}))))},keywords:[(0,n.__)("EB number counter","essential-blocks"),(0,n.__)("counter","essential-blocks"),(0,n.__)("counter up","essential-blocks")],attributes:G,edit:Z,save:function(e){var t=e.attributes,a=t.blockId,n=t.target,o=t.duration,r=t.counterTitle,l=t.counterSuffix,i=t.counterPrefix,p=t.startValue,b=t.isShowSeparator,d=t.separator,m=t.media,u=t.selectedIcon,g=t.imageUrl,f=t.titleLevel,y=t.classHook;return React.createElement(s.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"".concat(a," eb-counter-wrapper")},"icon"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon "},React.createElement(s.EBDisplayIcon,{icon:u,className:"eb-counter-icon-data-selector"}))):null,"image"===m?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-counter-image-wrapper"},React.createElement("img",{className:"eb-counter-image",src:g}))):null,React.createElement("div",{className:"counter-contents-wrapper"},React.createElement(t.counterTitleLevel,{className:"eb-counter-number"},React.createElement("span",{className:"eb-counter-prefix"},i),React.createElement("span",{className:"eb-counter eb-counter-number","data-duration":o?Math.floor(Math.abs(o)):0,"data-startValue":p?Math.floor(Math.abs(p)):0,"data-target":n?Math.floor(Math.abs(n)):0,"data-separator":d,"data-isShowSeparator":b},"0"),React.createElement("span",{className:"eb-counter-suffix"},l)),React.createElement(c.RichText.Content,{tagName:f,className:"eb-counter-title",value:r})))))},example:{attributes:{target:"500000",duration:"1000",counterTitle:"Active Users",counterSuffix:"+",isShowSeparator:!0,separator:",",wrapperFlexDirection:"column"}},deprecated:K})},882:(e,t,a)=>{var n,o,r=a(7723),l=a(1609);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}var i=a(4467),s=a(4715),p=a(6427),b=a(8468),d=a(2619),m=[{label:(0,r.__)("Front","essential-blocks"),value:"front"},{label:(0,r.__)("Back","essential-blocks"),value:"back"}],u=[{label:(0,r.__)("Flip Left","essential-blocks"),value:"flip-left"},{label:(0,r.__)("Flip Right","essential-blocks"),value:"flip-right"},{label:(0,r.__)("Flip Up","essential-blocks"),value:"flip-up"},{label:(0,r.__)("Flip Bottom","essential-blocks"),value:"flip-bottom"},{label:(0,r.__)("Zoom In","essential-blocks"),value:"zoom-in"},{label:(0,r.__)("Zoom Out","essential-blocks"),value:"zoom-out"},{label:(0,r.__)("Fade","essential-blocks"),value:"fade"}],g=((0,r.__)("Dashed","essential-blocks"),(0,r.__)("Solid","essential-blocks"),(0,r.__)("Dotted","essential-blocks"),(0,r.__)("Double","essential-blocks"),(0,r.__)("Groove","essential-blocks"),(0,r.__)("Inset","essential-blocks"),(0,r.__)("Outset","essential-blocks"),(0,r.__)("Ridge","essential-blocks"),[{label:(0,r.__)("None","essential-blocks"),value:"none"},{label:(0,r.__)("Icon","essential-blocks"),value:"icon"},{label:(0,r.__)("Image","essential-blocks"),value:"image"}]),f=[{label:(0,r.__)("Box","essential-blocks"),value:"box"},{label:(0,r.__)("Title","essential-blocks"),value:"title"},{label:(0,r.__)("Button","essential-blocks"),value:"button"}],y=[{label:(0,r.__)("Before","essential-blocks"),value:"before"},{label:(0,r.__)("After","essential-blocks"),value:"after"}],h=[{label:(0,r.__)("Style 1","essential-blocks"),value:"styleOne"},{label:(0,r.__)("Style 2","essential-blocks"),value:"styleTwo"},{label:(0,r.__)("Style 3","essential-blocks"),value:"styleThree"},{label:(0,r.__)("Custom","essential-blocks"),value:"custom"}],v=((0,r.__)("Fill","essential-blocks"),(0,r.__)("Gradient","essential-blocks"),(0,r.__)("Image","essential-blocks"),(0,r.__)("Auto","essential-blocks"),(0,r.__)("Cover","essential-blocks"),(0,r.__)("Contain","essential-blocks"),(0,r.__)("Custom","essential-blocks"),(0,r.__)("Default","essential-blocks"),(0,r.__)("No-repeat","essential-blocks"),(0,r.__)("Repeat","essential-blocks"),(0,r.__)("Repeat-x","essential-blocks"),(0,r.__)("Repeat-y","essential-blocks"),(0,r.__)("Default","essential-blocks"),(0,r.__)("Center Center","essential-blocks"),(0,r.__)("Center Left","essential-blocks"),(0,r.__)("Center Right","essential-blocks"),(0,r.__)("Top Center","essential-blocks"),(0,r.__)("Top Left","essential-blocks"),(0,r.__)("Top Right","essential-blocks"),(0,r.__)("Bottom Center","essential-blocks"),(0,r.__)("Bottom Left","essential-blocks"),(0,r.__)("Bottom Right","essential-blocks"),(0,r.__)("Custom","essential-blocks"),(0,r.__)("Default","essential-blocks"),(0,r.__)("Fixed","essential-blocks"),(0,r.__)("Scroll","essential-blocks"),(0,r.__)("Default","essential-blocks"),(0,r.__)("Mint","essential-blocks"),(0,r.__)("Tangelo","essential-blocks"),(0,r.__)("Royal","essential-blocks"),(0,r.__)("Small","essential-blocks"),(0,r.__)("Medium","essential-blocks"),(0,r.__)("Large","essential-blocks"),(0,r.__)("Extra Large","essential-blocks"),(0,r.__)("None","essential-blocks"),(0,r.__)("Lowercase","essential-blocks"),(0,r.__)("Capitalize","essential-blocks"),(0,r.__)("Uppercase","essential-blocks"),(0,r.__)("Lighter","essential-blocks"),(0,r.__)("Normal","essential-blocks"),(0,r.__)("Bold","essential-blocks"),(0,r.__)("Bolder","essential-blocks"),(0,r.__)("Initial","essential-blocks"),(0,r.__)("Overline","essential-blocks"),(0,r.__)("Line Through","essential-blocks"),(0,r.__)("Underline","essential-blocks"),(0,r.__)("Underline Oveline","essential-blocks"),[{label:(0,r.__)(React.createElement(p.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,r.__)(React.createElement(p.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,r.__)(React.createElement(p.Dashicon,{icon:"editor-alignright"})),value:"right"}]),w=[{label:(0,r.__)("Hover","essential-blocks"),value:"hover"},{label:(0,r.__)("Click","essential-blocks"),value:"click"}],k={imageUrl:"frontImageUrl",imageAlt:"frontImageAlt",imageId:"frontImageId"},R={imageUrl:"backImageUrl",imageAlt:"backImageAlt",imageId:"backImageId"},_=[{label:(0,r.__)("H1","essential-blocks"),value:"h1"},{label:(0,r.__)("H2","essential-blocks"),value:"h2"},{label:(0,r.__)("H3","essential-blocks"),value:"h3"},{label:(0,r.__)("H4","essential-blocks"),value:"h4"},{label:(0,r.__)("H5","essential-blocks"),value:"h5"},{label:(0,r.__)("H6","essential-blocks"),value:"h6"}],C=a(5694),E="front_wrapper_",x="back_wrapper_",S="margin",B="padding",T="btn_padding",N="front_icon_margin",P="front_icon_padding",O="back_icon_margin",I="back_icon_padding",D="frontTitlePadding",A="backTitlePadding",M="frontContentPadding",L="backContentPadding",F="frontImgPadding",j="backImgPadding",H="frontImgMargin",z="backImgMargin",U="frontItemPadding",V="backItemPadding",G="front_",q="btn_",W="front_icon_",Z="back_icon_",J="front_img",Y="back_img",Q="title",X="content",$="boxHeight",K="boxWidth",ee="frontIconSize",te="backIconSize",ae="btnIconSize",ne="frontImgSize",oe="backImgSize",re="frontImgRadius",le="backImgRadius";const ce=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.flipType),o=t.selectedSide,l=t.frontIconOrImage,c=t.frontIcon,i=(t.frontImageUrl,t.frontImageAlt,t.frontImageId,t.backIconOrImage),s=t.backIcon,b=(t.backImageUrl,t.backImageId,t.showFrontTitle),ce=t.frontTitle,ie=t.showFrontContent,se=t.frontContent,pe=t.showBackTitle,be=t.backTitle,de=t.showBackContent,me=t.backContent,ue=t.linkType,ge=t.buttonText,fe=t.buttonIcon,ye=t.buttonIconPos,he=t.link,ve=t.frontTitleColor,we=t.backTitleColor,ke=t.frontContentColor,Re=t.backContentColor,_e=t.frontIconColor,Ce=t.backIconColor,Ee=t.buttonStyle,xe=t.buttonBackground,Se=t.buttonColor,Be=t.frontIconBackground,Te=t.backIconBackground,Ne=t.transitionSpeed,Pe=t.displayButtonIcon,Oe=t.contentPosition,Ie=t.linkOpenNewTab,De=t.flipMode,Ae=t.isMouseLeaveOn,Me=t.frontTitleTag,Le=t.backTitleTag,Fe=function(e){var t=e,n=(0,C.getButtonClasses)(e);a({buttonStyle:t,buttonClasses:n})};return React.createElement(React.Fragment,null,React.createElement(C.InspectorPanel,{advancedControlProps:{marginPrefix:S,paddingPrefix:B,borderPrefix:G,hasMargin:!0,hasBackground:!1}},React.createElement(C.InspectorPanel.General,null,React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Selected Side","essential-blocks"),initialOpen:!0},React.createElement(p.BaseControl,null,React.createElement(p.ButtonGroup,{id:"eb-flipbox-sides"},m.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:o===e.value,isSecondary:o!==e.value,onClick:function(){return a({selectedSide:e.value})}},e.label)})))),React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Flipbox Settings","essential-blocks"),initialOpen:!0},React.createElement(p.SelectControl,{label:(0,r.__)("Flip Mode","essential-blocks"),value:De,options:(0,d.applyFilters)("eb_flipbox_modes",w),onChange:function(e){return a({flipMode:e})},help:"click"===De?(0,r.__)("Click mode only available in frontend.","essential-blocks"):""}),"click"===De&&React.createElement(p.ToggleControl,{label:(0,r.__)("Use Mouse Leave when click mode on","essential-blocks"),checked:Ae,onChange:function(){a({isMouseLeaveOn:!Ae})}}),React.createElement(p.BaseControl,{label:(0,r.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(p.ButtonGroup,{id:"eb-button-group-alignment"},v.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:Oe===e.value,isSecondary:Oe!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)}))),React.createElement(C.ResponsiveRangeController,{baseLabel:(0,r.__)("Box Height","essential-blocks"),controlName:$,min:0,max:1e3,step:1,noUnits:!0}),React.createElement(C.ResponsiveRangeController,{baseLabel:(0,r.__)("Box Width","essential-blocks"),controlName:K,min:0,max:600,step:1,noUnits:!0}),React.createElement(p.SelectControl,{label:(0,r.__)("Flipbox Type","essential-blocks"),value:n,options:u,onChange:function(e){return a({flipType:e})}}),React.createElement(p.RangeControl,{label:(0,r.__)("Transition Speed(millisecond)","essential-blocks"),value:Ne,onChange:function(e){a({transitionSpeed:e})},min:0,max:5e3,step:500}),"front"===o&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,r.__)("Icon Type","essential-blocks"),id:"eb-flipbox-icon-type"},React.createElement(p.ButtonGroup,{id:"eb-flipbox-icon-type"},g.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({frontIconOrImage:e.value})}},e.label)})))),"back"===o&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,r.__)("Icon Type","essential-blocks"),id:"eb-flipbox-icon-type"},React.createElement(p.ButtonGroup,{id:"eb-flipbox-icon-type"},g.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({backIconOrImage:e.value})}},e.label)}))))),"front"===o&&"icon"===l&&React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Front Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(C.EBIconPicker,{value:c,onChange:function(e){return a({frontIcon:e})},title:(0,r.__)("Select Front Icon","essential-blocks")}),c&&React.createElement(C.ResponsiveRangeController,{baseLabel:(0,r.__)("Icon Size","essential-blocks"),controlName:ee,min:8,max:100}))),"front"===o&&"image"===l&&React.createElement(C.ImageComponent.GeneralTab,{label:(0,r.__)("Front Image Settings","essential-blocks"),imageAttrProps:k,attrPrefix:"front"}),"back"===o&&"icon"===i&&React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Back Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(C.EBIconPicker,{value:s,onChange:function(e){return a({backIcon:e})},title:(0,r.__)("Select Back Icon","essential-blocks")}),s&&React.createElement(C.ResponsiveRangeController,{baseLabel:(0,r.__)("Icon Size","essential-blocks"),controlName:te,min:8,max:100}))),"back"===o&&"image"===i&&React.createElement(React.Fragment,null,React.createElement(C.ImageComponent.GeneralTab,{label:(0,r.__)("Back Image Settings","essential-blocks"),imageAttrProps:R,attrPrefix:"back"})),React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Flipbox Content","essential-blocks"),initialOpen:!1},"front"===o&&React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,r.__)("Show Title?","essential-blocks"),checked:b,onChange:function(){a({showFrontTitle:!b})}}),b&&React.createElement(React.Fragment,null,React.createElement(C.DynamicInputControl,{label:(0,r.__)("Front Title","essential-blocks"),attrName:"frontTitle",inputValue:ce,setAttributes:a,onChange:function(e){return a({frontTitle:e})}}),React.createElement(p.BaseControl,{label:(0,r.__)("Title Tag","essential-blocks")},React.createElement(p.ButtonGroup,null,_.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:Me!==e.value,isPrimary:Me===e.value,onClick:function(){return a({frontTitleTag:e.value})}},e.label)})))),React.createElement(p.ToggleControl,{label:(0,r.__)("Show Content?","essential-blocks"),checked:ie,onChange:function(){a({showFrontContent:!ie})}}),ie&&React.createElement(C.DynamicInputControl,{label:(0,r.__)("Front Content","essential-blocks"),attrName:"frontContent",inputValue:se,setAttributes:a,onChange:function(e){return a({frontContent:e})},isTextarea:!0})),"back"===o&&React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,r.__)("Show Title?","essential-blocks"),checked:pe,onChange:function(){a({showBackTitle:!pe})}}),pe&&React.createElement(React.Fragment,null,React.createElement(C.DynamicInputControl,{label:(0,r.__)("Back Title","essential-blocks"),attrName:"backTitle",inputValue:be,setAttributes:a,onChange:function(e){return a({backTitle:e})}}),React.createElement(p.BaseControl,{label:(0,r.__)("Title Tag","essential-blocks")},React.createElement(p.ButtonGroup,null,_.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:Le!==e.value,isPrimary:Le===e.value,onClick:function(){return a({backTitleTag:e.value})}},e.label)})))),React.createElement(p.ToggleControl,{label:(0,r.__)("Show Content?","essential-blocks"),checked:de,onChange:function(){a({showBackContent:!de})}}),de&&React.createElement(C.DynamicInputControl,{label:(0,r.__)("Back Content","essential-blocks"),attrName:"backContent",inputValue:me,setAttributes:a,onChange:function(e){return a({backContent:e})},isTextarea:!0}))),React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Link Settings","essential-blocks"),initialOpen:!1},React.createElement(p.PanelRow,null,React.createElement("em",null,(0,r.__)("Note: Link settings will only work on back side.","essential-blocks"))),React.createElement(p.BaseControl,{label:(0,r.__)("Link Type","essential-blocks"),id:"eb-flipbox-link-type"},React.createElement(p.ButtonGroup,{id:"eb-flipbox-link-type"},f.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:ue===e.value,isSecondary:ue!==e.value,onClick:function(){a({linkType:e.value}),Fe(Ee)}},e.label)}))),React.createElement(C.EBTextControl,{label:(0,r.__)("Link","essential-blocks"),fieldType:"url",value:he||"",onChange:function(e){return a({link:e})},placeholder:"https://example.com",help:(0,r.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(p.ToggleControl,{label:(0,r.__)("Open in New Tab","essential-blocks"),checked:Ie,onChange:function(){return a({linkOpenNewTab:!Ie})}}),"button"===ue&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,r.__)("Button Text","essential-blocks"),value:ge,onChange:function(e){return a({buttonText:e})}}),React.createElement(p.SelectControl,{label:(0,r.__)("Button Style","essential-blocks"),value:Ee,options:h,onChange:function(e){return Fe(e)}})))),React.createElement(C.InspectorPanel.Style,null,React.createElement(C.InspectorPanel.PanelBody,null,React.createElement(p.BaseControl,{label:(0,r.__)("Selected Side","essential-blocks")},React.createElement(p.ButtonGroup,{id:"eb-flipbox-sides"},m.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:o===e.value,isSecondary:o!==e.value,onClick:function(){return a({selectedSide:e.value})}},e.label)})))),React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Flipbox Style","essential-blocks"),initialOpen:!0},"front"===o&&React.createElement(React.Fragment,null,React.createElement(C.ColorControl,{label:(0,r.__)("Front Title","essential-blocks"),color:ve,attributeName:"frontTitleColor"}),React.createElement(C.ResponsiveDimensionsControl,{controlName:D,baseLabel:(0,r.__)("Front Title Padding","essential-blocks")}),React.createElement(C.ColorControl,{label:(0,r.__)("Front Content","essential-blocks"),color:ke,attributeName:"frontContentColor"}),React.createElement(C.ResponsiveDimensionsControl,{controlName:M,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Front Side Background","essential-blocks"))),React.createElement(C.BackgroundControl,{controlName:E}),React.createElement(C.ResponsiveDimensionsControl,{controlName:U,baseLabel:(0,r.__)("Items Padding","essential-blocks")})),"back"===o&&React.createElement(React.Fragment,null,React.createElement(C.ColorControl,{label:(0,r.__)("Back Title Color","essential-blocks"),color:we,attributeName:"backTitleColor"}),React.createElement(C.ResponsiveDimensionsControl,{controlName:A,baseLabel:(0,r.__)("Back Title Padding","essential-blocks")}),React.createElement(C.ColorControl,{label:(0,r.__)("Back Content Color","essential-blocks"),color:Re,attributeName:"backContentColor"}),React.createElement(C.ResponsiveDimensionsControl,{controlName:L,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Back Side Background","essential-blocks"))),React.createElement(C.BackgroundControl,{controlName:x}),React.createElement(C.ResponsiveDimensionsControl,{controlName:V,baseLabel:(0,r.__)("Items Padding","essential-blocks")}))),"front"===o&&"icon"===l&&React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Front Icon Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,c&&React.createElement(React.Fragment,null,React.createElement(C.ColorControl,{label:(0,r.__)("Icon Color","essential-blocks"),color:_e,attributeName:"frontIconColor"}),React.createElement(C.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),color:Be,attributeName:"frontIconBackground"}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Margin & Padding","essential-blocks"))),React.createElement(C.ResponsiveDimensionsControl,{className:"frontIconMargin",controlName:N,baseLabel:(0,r.__)("Margin","essential-blocks")}),React.createElement(C.ResponsiveDimensionsControl,{className:"frontIconPadding",controlName:P,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Border","essential-blocks"))),React.createElement(C.BorderShadowControl,{controlName:W,noShadow:!0})))),"front"===o&&"image"===l&&React.createElement(C.ImageComponent.StyleTab,{label:(0,r.__)("Front Image Style","essential-blocks"),imageAttrProps:k,attrPrefix:"front",border:J,padding:F,margin:H,hasWidth:!1,hasHeight:!1,useImageSize:!0,imageSize:ne,hasRadius:!0,radius:re}),"back"===o&&"icon"===i&&React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Back Icon Style","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,s&&React.createElement(React.Fragment,null,React.createElement(C.ColorControl,{label:(0,r.__)("Icon Color","essential-blocks"),color:Ce,attributeName:"backIconColor"}),React.createElement(C.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),color:Te,attributeName:"backIconBackground"}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Margin & Padding","essential-blocks"))),React.createElement(C.ResponsiveDimensionsControl,{className:"backIconMargin",controlName:O,baseLabel:(0,r.__)("Margin","essential-blocks")}),React.createElement(C.ResponsiveDimensionsControl,{className:"backIconPadding",controlName:I,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Border","essential-blocks"))),React.createElement(C.BorderShadowControl,{controlName:Z,noShadow:!0})))),"back"===o&&"image"===i&&React.createElement(C.ImageComponent.StyleTab,{label:(0,r.__)("Back Image Style","essential-blocks"),imageAttrProps:R,attrPrefix:"back",border:Y,padding:j,margin:z,hasWidth:!1,hasHeight:!1,useImageSize:!0,imageSize:oe,hasRadius:!0,radius:le}),React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Typography","essential-blocks"),initialOpen:!1},React.createElement(C.TypographyDropdown,{baseLabel:(0,r.__)("Title","essential-blocks"),typographyPrefixConstant:Q}),React.createElement(C.TypographyDropdown,{baseLabel:(0,r.__)("Content","essential-blocks"),typographyPrefixConstant:X})),"button"===ue&&"custom"===Ee&&React.createElement(C.InspectorPanel.PanelBody,{title:(0,r.__)("Button Style","essential-blocks")},React.createElement(React.Fragment,null,React.createElement(C.ColorControl,{label:(0,r.__)("Background","essential-blocks"),color:xe,attributeName:"buttonBackground"}),React.createElement(C.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:Se,attributeName:"buttonColor"}),React.createElement(C.ResponsiveRangeController,{baseLabel:(0,r.__)("Button Size","essential-blocks"),controlName:ae,min:20,max:600}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Padding","essential-blocks"))),React.createElement(C.ResponsiveDimensionsControl,{className:"forWrapperPadding",controlName:T,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Border & Shadow","essential-blocks"))),React.createElement(C.BorderShadowControl,{controlName:q}),React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Button Icon","essential-blocks"))),React.createElement(p.ToggleControl,{label:(0,r.__)("Display Button Icon","essential-blocks"),checked:Pe,onChange:function(){return a({displayButtonIcon:!Pe})}}),Pe&&React.createElement(C.EBIconPicker,{value:fe,onChange:function(e){return a({buttonIcon:e})},title:(0,r.__)("Select Icon","essential-blocks")}),Pe&&fe&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,r.__)("Icon Position","essential-blocks"),id:"eb-flipbox-icon-pos"},React.createElement(p.ButtonGroup,{id:"eb-flipbox-icon-pos"},y.map(function(e,t){return React.createElement(p.Button,{key:t,style:{zIndex:0},isSecondary:ye!==e.value,isPrimary:ye===e.value,onClick:function(){return a({buttonIconPos:e.value})}},e.label)})))))))))};function ie(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.isHover),l=t.flipType,c=t.selectedSide,i=t.frontIconOrImage,s=t.frontIcon,p=t.frontImageUrl,b=t.backIconOrImage,d=t.backIcon,m=t.backImageUrl,u=t.linkType,g=t.buttonIconPos,f=t.link,y=t.frontTitleColor,h=t.backTitleColor,v=t.frontContentColor,w=t.backContentColor,_=t.frontIconColor,ce=t.backIconColor,ie=t.buttonStyle,se=t.buttonBackground,pe=t.buttonColor,be=t.frontIconBackground,de=t.backIconBackground,me=t.transitionSpeed,ue=t.displayButtonIcon,ge=t.align,fe=(t.classHook,(0,C.generateDimensionsControlStyles)({controlName:S,styleFor:"margin",attributes:t})),ye=fe.dimensionStylesDesktop,he=fe.dimensionStylesTab,ve=fe.dimensionStylesMobile,we=(0,C.generateDimensionsControlStyles)({controlName:B,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ce=(0,C.generateBorderShadowStyles)({controlName:G,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=Ce.stylesHoverDesktop,Te=Ce.stylesHoverTab,Ne=Ce.stylesHoverMobile,Pe=Ce.transitionStyle,Oe=(0,C.generateResponsiveRangeStyles)({controlName:$,property:"height",attributes:t,customUnit:"px"}),Ie=(Oe.rangeStylesDesktop,Oe.rangeStylesTab,Oe.rangeStylesMobile,(0,C.generateResponsiveRangeStyles)({controlName:$,property:"min-height",attributes:t,customUnit:"px"})),De=Ie.rangeStylesDesktop,Ae=Ie.rangeStylesTab,Me=Ie.rangeStylesMobile,Le=(0,C.generateResponsiveRangeStyles)({controlName:K,property:"max-width",attributes:t}),Fe=Le.rangeStylesDesktop,je=Le.rangeStylesTab,He=Le.rangeStylesMobile,ze=(0,C.generateResponsiveRangeStyles)({controlName:ee,property:"font-size",attributes:t}),Ue=ze.rangeStylesDesktop,Ve=ze.rangeStylesTab,Ge=ze.rangeStylesMobile,qe=(0,C.generateResponsiveRangeStyles)({controlName:te,property:"font-size",attributes:t}),We=qe.rangeStylesDesktop,Ze=qe.rangeStylesTab,Je=qe.rangeStylesMobile,Ye=(0,C.generateBackgroundControlStyles)({attributes:t,controlName:E}),Qe=Ye.backgroundStylesDesktop,Xe=Ye.hoverBackgroundStylesDesktop,$e=Ye.backgroundStylesTab,Ke=Ye.hoverBackgroundStylesTab,et=Ye.backgroundStylesMobile,tt=Ye.hoverBackgroundStylesMobile,at=Ye.overlayStylesDesktop,nt=Ye.hoverOverlayStylesDesktop,ot=Ye.overlayStylesTab,rt=Ye.hoverOverlayStylesTab,lt=Ye.overlayStylesMobile,ct=Ye.hoverOverlayStylesMobile,it=Ye.bgTransitionStyle,st=Ye.ovlTransitionStyle,pt=(0,C.generateDimensionsControlStyles)({controlName:N,styleFor:"margin",attributes:t}),bt=pt.dimensionStylesDesktop,dt=pt.dimensionStylesTab,mt=pt.dimensionStylesMobile,ut=(0,C.generateDimensionsControlStyles)({controlName:P,styleFor:"padding",attributes:t}),gt=ut.dimensionStylesDesktop,ft=ut.dimensionStylesTab,yt=ut.dimensionStylesMobile,ht=(0,C.generateBorderShadowStyles)({controlName:W,attributes:t,noShadow:!0}),vt=ht.styesDesktop,wt=ht.styesTab,kt=ht.styesMobile,Rt=ht.stylesHoverDesktop,_t=ht.stylesHoverTab,Ct=ht.stylesHoverMobile,Et=ht.transitionStyle,xt=(0,C.generateBackgroundControlStyles)({attributes:t,controlName:x}),St=xt.backgroundStylesDesktop,Bt=xt.hoverBackgroundStylesDesktop,Tt=xt.backgroundStylesTab,Nt=xt.hoverBackgroundStylesTab,Pt=xt.backgroundStylesMobile,Ot=xt.hoverBackgroundStylesMobile,It=xt.overlayStylesDesktop,Dt=xt.hoverOverlayStylesDesktop,At=xt.overlayStylesTab,Mt=xt.hoverOverlayStylesTab,Lt=xt.overlayStylesMobile,Ft=xt.hoverOverlayStylesMobile,jt=xt.bgTransitionStyle,Ht=xt.ovlTransitionStyle,zt=(0,C.generateTypographyStyles)({attributes:t,prefixConstant:Q}),Ut=zt.typoStylesDesktop,Vt=zt.typoStylesTab,Gt=zt.typoStylesMobile,qt=(0,C.generateTypographyStyles)({attributes:t,prefixConstant:X}),Wt=qt.typoStylesDesktop,Zt=qt.typoStylesTab,Jt=qt.typoStylesMobile,Yt=(0,C.generateDimensionsControlStyles)({controlName:O,styleFor:"margin",attributes:t}),Qt=Yt.dimensionStylesDesktop,Xt=Yt.dimensionStylesTab,$t=Yt.dimensionStylesMobile,Kt=(0,C.generateDimensionsControlStyles)({controlName:I,styleFor:"padding",attributes:t}),ea=Kt.dimensionStylesDesktop,ta=Kt.dimensionStylesTab,aa=Kt.dimensionStylesMobile,na=(0,C.generateBorderShadowStyles)({controlName:Z,attributes:t,noShadow:!0}),oa=na.styesDesktop,ra=na.styesTab,la=na.styesMobile,ca=na.stylesHoverDesktop,ia=na.stylesHoverTab,sa=na.stylesHoverMobile,pa=na.transitionStyle,ba=(0,C.generateResponsiveRangeStyles)({controlName:oe,property:"height",attributes:t}),da=(ba.rangeStylesDesktop,ba.rangeStylesTab,ba.rangeStylesMobile,(0,C.generateResponsiveRangeStyles)({controlName:oe,property:"width",attributes:t})),ma=(da.rangeStylesDesktop,da.rangeStylesTab,da.rangeStylesMobile,(0,C.generateDimensionsControlStyles)({controlName:D,styleFor:"padding",attributes:t})),ua=ma.dimensionStylesDesktop,ga=ma.dimensionStylesTab,fa=ma.dimensionStylesMobile,ya=(0,C.generateDimensionsControlStyles)({controlName:A,styleFor:"padding",attributes:t}),ha=ya.dimensionStylesDesktop,va=(ya.dimensionStylesTab,ya.dimensionStylesMobile,(0,C.generateDimensionsControlStyles)({controlName:M,styleFor:"padding",attributes:t})),wa=va.dimensionStylesDesktop,ka=va.dimensionStylesTab,Ra=va.dimensionStylesMobile,_a=(0,C.generateDimensionsControlStyles)({controlName:L,styleFor:"padding",attributes:t}),Ca=_a.dimensionStylesDesktop,Ea=_a.dimensionStylesTab,xa=_a.dimensionStylesMobile,Sa=(0,C.generateDimensionsControlStyles)({controlName:F,styleFor:"padding",attributes:t}),Ba=Sa.dimensionStylesDesktop,Ta=Sa.dimensionStylesTab,Na=Sa.dimensionStylesMobile,Pa=(0,C.generateDimensionsControlStyles)({controlName:j,styleFor:"padding",attributes:t}),Oa=Pa.dimensionStylesDesktop,Ia=Pa.dimensionStylesTab,Da=Pa.dimensionStylesMobile,Aa=(0,C.generateDimensionsControlStyles)({controlName:U,styleFor:"padding",attributes:t}),Ma=Aa.dimensionStylesDesktop,La=Aa.dimensionStylesTab,Fa=Aa.dimensionStylesMobile,ja=(0,C.generateDimensionsControlStyles)({controlName:V,styleFor:"padding",attributes:t}),Ha=ja.dimensionStylesDesktop,za=ja.dimensionStylesTab,Ua=ja.dimensionStylesMobile,Va="eb-flipbox-container",Ga=C.ImageComponent.Style({blockId:o,wrapperClass:Va,attrObject:k,attrPrefix:"front",className:"eb-flipbox-front-image",useImageSize:!0,imageSize:ne,radius:re,border:J,padding:F,margin:H}),qa=Ga.imgDesktopStyle,Wa=Ga.imgTabStyle,Za=Ga.imgMobileStyle,Ja=C.ImageComponent.Style({blockId:o,wrapperClass:Va,attrObject:R,attrPrefix:"back",className:"eb-flipbox-back-image",useImageSize:!0,imageSize:oe,radius:le,border:Y,padding:j,margin:z}),Ya=Ja.imgDesktopStyle,Qa=Ja.imgTabStyle,Xa=Ja.imgMobileStyle,$a="\n\t\t.eb-flipbox-align-center .eb-flipper {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-flipbox-align-right .eb-flipper {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-flipbox-container.".concat(o,"{\n\t\t\t").concat(ye,"\n\t\t\t").concat(ke,"\n\t\t\twidth: 100%;\n\t\t\toverflow: hidden;\n\t\t}\n\t"),Ka="\n\t .eb-flipbox-container.".concat(o,"{\n\t\t ").concat(he,"\n\t\t ").concat(Re,"\n\t }\n\t "),en="\n\t .eb-flipbox-container.".concat(o,"{\n\t\t ").concat(ve,"\n\t\t ").concat(_e,"\n\t }\n\t "),tn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(Ma,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(Ha,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-items-container {\n\talign-items: ").concat(function(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}(ge),";\n\t}\n\t"),an="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(La,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(za,"\n\t}\n\t"),nn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-items-container {\n\t\t").concat(Fa,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back .eb-flipbox-items-container {\n\t\t").concat(Ua,"\n\t}\n\t"),on="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(Ut,"\n\t\t width: 100%;\n\t\t text-align: ").concat(ge,";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title {\n\t\t").concat(ua,"\n\t\t color: ").concat(y||"#ffffff",";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat(ha,"\n\t\t color: ").concat(h||"#ffffff",";\n\t }\n\t "),rn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-title {\n\t\t").concat(ga,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat(ga,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(Vt,"\n\t }\n\t "),ln="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-title {\n\t\t").concat(fa,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t").concat(fa,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-title, .eb-flipbox-container.").concat(o," .eb-flipbox-back-title {\n\t\t ").concat(Gt,"\n\t }\n\t "),cn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(Wt,"\n\t\t width: 100%;\n\t\t text-align: ").concat(ge,";\n\t\t margin: 10px 0;\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content {\n\t\t ").concat(wa,"\n\t\t color: ").concat(v||"#ffffff",";\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(Ca,"\n\t\t color: ").concat(w||"#ffffff",";\n\t }\n\t "),sn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-content {\n\t\t").concat(ka,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t").concat(Ea,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(Zt,"\n\t }\n\t "),pn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front-content {\n\t\t").concat(Ra,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t").concat(xa,"\n\t}\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-front-content, .eb-flipbox-container.").concat(o," .eb-flipbox-back-content {\n\t\t ").concat(Jt,"\n\t }\n\t "),bn="\n\t .eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t transition: ").concat(me?me/1e3:.6,"s;\n\t\t ").concat(De,"\n\t\t ").concat(Fe,"\n\t }\n\t .eb-flipbox-container.").concat(o," .eb-flipper.back-is-selected {\n\t\t transform:\n\t\t\t ").concat(r||"back"===c?(0,C.getFlipTransform)(l):"none",";\n\t }\n\t "),dn="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(je,"\n\t\t}\n\t"),mn="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper {\n\t\t\t").concat(Me,"\n\t\t\t").concat(He,"\n\t\t}\n\t"),un="\n\t\t.eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(Qe,"\n\t\t\t").concat(De,"\n\t\t\t").concat(Fe,"\n\t\t\t").concat(Ee,"\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\theight: auto;\n\t\t\twidth: 100%;\n\t\t\tz-index: 1;\n\t\t\ttransition: ").concat("fade"===l?"opacity 0.6s, ":"").concat(it,", ").concat(Pe,";\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(Xe,"\n\t\t\t").concat(Be,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(at,"\n\t\t\ttransition: ").concat(st,";\n\t\t}\n\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(nt,"\n\t\t}\n\n\t\t").concat(!r&&"front"!==c||"fade"!==l?"":"\n\t\t\t.eb-flipbox-container.".concat(o," .eb-flipper.back-is-selected .eb-flipbox-front {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\t"),"\n\n\t "),gn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(je,"\n\t\t\t").concat($e,"\n\t\t\t").concat(xe,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(rt,"\n\t\t}\n\n\t "),fn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-front {\n\t\t\t").concat(Me,"\n\t\t\t").concat(He,"\n\t\t\t").concat(et,"\n\t\t\t").concat(Se,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover {\n\t\t\t").concat(tt,"\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:before{\n\t\t\t").concat(lt,"\n\t\t}\n\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front:hover:before{\n\t\t\t").concat(ct,"\n\t\t}\n\t "),yn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t ").concat(Ba,"\n\t\t display: ").concat("image"===i&&p?"flex":"none",";\n\t\t justify-content: center;\n\t }\n\t "),hn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t").concat(Ta,"\n\t}\n\t"),vn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-front .eb-flipbox-front-image-container {\n\t\t").concat(Na,"\n\t}\n\t"),wn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t\t ").concat(Ue,"\n\t\t\t ").concat(bt,"\n\t\t\t ").concat(gt,"\n\t\t\t ").concat(vt,"\n\t\t\t color: ").concat(_||"#ffffff",";\n\t\t\t background: ").concat(be||"transparent",";\n\t\t\t width: 100%;\n\t\t\t text-align:").concat(ge,";\n\t\t\t display: ").concat("icon"===i&&s?"block":"none",";\n\t\t\t transition: ").concat(Et,";\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t\t ").concat(Rt,"\n\t\t }\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front .dashicons {\n ").concat(Ue,"\n }\n\t "),kn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t").concat(Ve,"\n\t\t").concat(dt,"\n\t\t").concat(ft,"\n\t\t").concat(wt,"\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t").concat(_t,"\n\t}\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front .dashicons {\n ").concat(Ve,"\n }\n\t "),Rn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-front {\n\t\t").concat(Ge,"\n\t\t").concat(mt,"\n\t\t").concat(yt,"\n\t\t").concat(kt,"\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front:hover {\n\t\t").concat(Ct,"\n\t}\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-front .dashicons {\n ").concat(Ge,"\n }\n\t "),_n="\n\n\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t").concat(St,"\n\t\t").concat(De,"\n\t\t").concat(Fe,"\n\t\t").concat(Ee,"\n\t\t display: flex;\n\t\t flex-direction: column;\n\t\t justify-content: center;\n\t\t align-items: center;\n\t\t height: auto;\n\t\t width: 100%;\n\t\t transform: ").concat(("flip-up"===l?"rotateX(-180deg)":"flip-bottom"===l&&"rotateX(180deg)")||("zoom-in"===l||"zoom-out"===l||"fade"===l)&&"none",";\n\t\ttransition: ").concat("fade"===l?"opacity 0.6s, ":"").concat(jt,", ").concat(Pe,";\n\t\t cursor: ").concat("box"===u&&f?"pointer":"default",";\n\t\t ").concat(!r||"zoom-in"!==l&&"zoom-out"!==l?"":"z-index: 5;","\n\t }\n\n\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t").concat(Bt,"\n\t\t").concat(Be,"\n\t }\n\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t").concat(It,"\n\t\ttransition: ").concat(Ht,";\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t").concat(Dt,"\n\t}\n\n\t").concat(!r&&"back"!==c||"fade"!==l?"":".eb-flipbox-container.".concat(o," .eb-flipper.back-is-selected .eb-flipbox-back {\n\t\topacity: 1;\n\t }"),"\n\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-front,\n\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back{\n\tposition: absolute;\n\t}\n\n\t "),Cn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t\t ").concat(Ae,"\n\t\t\t ").concat(je,"\n\t\t\t ").concat(Tt,"\n\t\t\t ").concat(xe,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Te,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t\t").concat(At,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t "),En="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipper .eb-flipbox-back {\n\t\t\t").concat(Me,"\n\t\t\t").concat(He,"\n\t\t\t").concat(Pt,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Ne,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover {\n\t\t\t").concat(Ot,"\n\t\t\t").concat(Ne,"\n\t\t }\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:before{\n\t\t\t").concat(Lt,"\n\t\t}\n\n\t\t.eb-flipbox-container.").concat(o," .eb-flipper .eb-flipbox-back:hover:before{\n\t\t\t").concat(Ft,"\n\t\t}\n\t "),xn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(Oa,"\n\t\tdisplay: ").concat("image"===b&&m?"flex":"none",";\n\t\tjustify-content: center;\n\t }\n\t "),Sn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(Ia,"\n\t}\n\t "),Bn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-back .eb-flipbox-back-image-container {\n\t\t").concat(Da,"\n\t}\n\t "),Tn="\n\t .eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(We,"\n\t\t").concat(Qt,"\n\t\t").concat(ea,"\n\t\t").concat(oa,"\n\t\tcolor: ").concat(ce||"#ffffff",";\n\t\tbackground: ").concat(de||"transparent",";\n\t\twidth: 100%;\n\t\ttext-align: ").concat(ge,";\n\t\tdisplay: ").concat("icon"===b&&d?"block":"none",";\n\t\ttransition: ").concat(pa,";\n\t }\n\t .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(ca,"\n\t }\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n ").concat(We,"\n }\n\t "),Nn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(Ze,"\n\t\t").concat(Xt,"\n\t\t").concat(ta,"\n\t\t").concat(ra,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(ia,"\n\t}\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n ").concat(Ze,"\n }\n\t"),Pn="\n\t.eb-flipbox-container.".concat(o," .eb-flipbox-icon-back {\n\t\t").concat(Je,"\n\t\t").concat($t,"\n\t\t").concat(aa,"\n\t\t").concat(la,"\n\t}\n\n\t.eb-flipbox-container.").concat(o," .eb-flipbox-icon-back:hover {\n\t\t").concat(sa,"\n\t}\n .eb-flipbox-container.").concat(o," .eb-flipbox-icon-back .dashicons {\n ").concat(Je,"\n }\n\t"),On="",In="",Dn="";if("custom"===ie){var An=(0,C.generateDimensionsControlStyles)({controlName:T,styleFor:"padding",attributes:t}),Mn=An.dimensionStylesDesktop,Ln=An.dimensionStylesTab,Fn=An.dimensionStylesMobile,jn=(0,C.generateBorderShadowStyles)({controlName:q,attributes:t}),Hn=jn.styesDesktop,zn=jn.styesTab,Un=jn.styesMobile,Vn=jn.stylesHoverDesktop,Gn=jn.stylesHoverTab,qn=jn.stylesHoverMobile,Wn=jn.transitionStyle,Zn=(0,C.generateResponsiveRangeStyles)({controlName:ae,property:"width",attributes:t}),Jn=Zn.rangeStylesDesktop,Yn=Zn.rangeStylesTab,Qn=Zn.rangeStylesMobile;On="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(Mn,"\n\t\t\t ").concat(Hn,"\n\t\t\t ").concat(Jn,"\n\t\t\t ").concat(se?"background: ".concat(se,";"):"","\n\t\t\t ").concat(pe?"color: ".concat(pe,";"):"","\n\t\t\t transition: ").concat(Wn,";\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t ").concat(Vn,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-content {\n\t\t\t display: flex;\n\t\t\t flex-direction: ").concat("after"===g?"row":"row-reverse",";\n\t\t\t justify-content: space-around;\n\t\t\t align-items: center;\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-content .eb-flipbox-button-icon {\n\t\t\t display: ").concat(ue?"block":"none",";\n\t\t }\n\t\t "),In="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(Ln,"\n\t\t\t ").concat(zn,"\n\t\t\t ").concat(Yn,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t").concat(Ln,"\n\t\t\t").concat(Gn,"\n\t\t}\n\t\t "),Dn="\n\t\t .eb-flipbox-container.".concat(o," .eb-flipbox-button-container .eb-flipbox-button-link {\n\t\t\t ").concat(Fn,"\n\t\t\t ").concat(Un,"\n\t\t\t ").concat(Qn,"\n\t\t }\n\n\t\t .eb-flipbox-container.").concat(o," .eb-flipbox-button-container .eb-flipbox-button-link:hover {\n\t\t\t ").concat(qn,"\n\t\t }\n\t\t ")}var Xn=(0,C.softMinifyCssStrings)("\n\t\t ".concat(tn,"\n\t\t ").concat($a,"\n\t\t ").concat(on,"\n\t\t ").concat(cn,"\n\t\t ").concat(bn,"\n\t\t ").concat(un,"\n\t\t ").concat(yn,"\n\t\t ").concat(wn,"\n\t\t ").concat(Tn,"\n\t\t ").concat(_n,"\n\t\t ").concat(xn,"\n\t\t ").concat(On,"\n ").concat(qa,"\n ").concat(Ya,"\n\t ")),$n=(0,C.softMinifyCssStrings)("\n\t\t ".concat(an,"\n\t\t ").concat(Ka,"\n\t\t ").concat(rn,"\n\t\t ").concat(sn,"\n\t\t ").concat(dn,"\n\t\t ").concat(In,"\n\t\t ").concat(gn,"\n\t\t ").concat(Cn,"\n\t\t ").concat(kn,"\n\t\t ").concat(Nn,"\n\t\t ").concat(hn,"\n\t\t ").concat(Sn,"\n ").concat(Wa,"\n ").concat(Qa,"\n\t ")),Kn=(0,C.softMinifyCssStrings)("\n\t\t ".concat(nn,"\n\t\t ").concat(en,"\n\t\t ").concat(ln,"\n\t\t ").concat(pn,"\n\t\t ").concat(mn,"\n\t\t ").concat(Dn,"\n\t\t ").concat(fn,"\n\t\t ").concat(En,"\n\t\t ").concat(Rn,"\n\t\t ").concat(Pn,"\n\t\t ").concat(vn,"\n\t\t ").concat(Bn,"\n ").concat(Za,"\n ").concat(Xa,"\n\t "));return React.createElement(React.Fragment,null,React.createElement(C.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Xn,tabAllStyles:$n,mobileAllStyles:Kn,blockName:n}))}function se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?se(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):se(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const be=pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(pe({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},flipboxStyle:{type:"string",default:"default"},isHover:{type:"boolean",default:!1},flipType:{type:"string",source:"attribute",selector:".eb-flipbox-container",attribute:"data-flip-type",default:"flip-left"},selectedSide:{type:"string",default:"front"},frontIconOrImage:{type:"string",default:"icon"},frontIcon:{type:"attribute",selector:"eb-flipbox-icon-wrapper-front",attribute:"data-icon",default:"fab fa-rev"},frontImageUrl:{type:"attribute",selector:"eb-flipbox-front-image-container img",attribute:"src"},frontImageAlt:{type:"string"},frontImageId:{type:"string",default:null},backIconOrImage:{type:"string",default:"icon"},backIcon:{type:"attribute",selector:"flipbox-icon-wrapper-back",attribute:"data-icon",default:"fab fa-rev"},backImageUrl:{type:"attribute",selector:"back-image-container img",attribute:"src"},backImageAlt:{type:"string"},backImageId:{type:"string",default:null},showFrontTitle:{type:"boolean",default:!0},frontTitle:{type:"string",selector:"eb-flipbox-front-title",default:"Front Title Here"},showFrontContent:{type:"boolean",default:!0},frontContent:{type:"string",selector:"eb-flipbox-front-content",default:"Front Content Here"},showBackTitle:{type:"boolean",default:!0},backTitle:{type:"string",selector:"eb-flipbox-back-title",default:"Back Title Here"},showBackContent:{type:"boolean",default:!0},backContent:{type:"string",selector:"eb-flipbox-back-content",default:"Back Content Here"},linkType:{type:"string",default:"box"},buttonText:{type:"string",default:"Click Here"},buttonIcon:{type:"string"},buttonIconPos:{type:"string",default:"before"},link:{type:"string"},frontTitleColor:{type:"string",default:"var(--eb-global-heading-color)"},backTitleColor:{type:"string",default:"var(--eb-global-heading-color)"},frontContentColor:{type:"string",default:"var(--eb-global-text-color)"},backContentColor:{type:"string",default:"var(--eb-global-text-color)"},frontIconColor:{type:"string",default:"var(--eb-global-primary-color)"},backIconColor:{type:"string",default:"var(--eb-global-primary-color)"},buttonStyle:{type:"string",default:"styleOne"},buttonClasses:{type:"string",default:""},buttonBackground:{type:"string",default:"var(--eb-global-button-background-color)"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},frontIconBackground:{type:"string"},backIconBackground:{type:"string"},transitionSpeed:{type:"number"},displayButtonIcon:{type:"boolean",default:!1},align:{type:"string",default:"center"},contentPosition:{type:"string",default:"center"},linkOpenNewTab:{type:"boolean",default:!1},flipMode:{type:"string",default:"hover"},isMouseLeaveOn:{type:"boolean",default:!0},frontTitleTag:{type:"string",default:"h3"},backTitleTag:{type:"string",default:"h3"}},(0,C.generateTypographyAttributes)(Q)),(0,C.generateTypographyAttributes)(X)),(0,C.generateDimensionsAttributes)(S,{top:28,right:0,bottom:28,left:0,isLinked:!1,disableLeftRight:!0})),(0,C.generateDimensionsAttributes)(B)),(0,C.generateDimensionsAttributes)(T)),(0,C.generateDimensionsAttributes)(N)),(0,C.generateDimensionsAttributes)(P)),(0,C.generateDimensionsAttributes)(O)),(0,C.generateDimensionsAttributes)(I)),(0,C.generateDimensionsAttributes)(D)),(0,C.generateDimensionsAttributes)(A)),(0,C.generateDimensionsAttributes)(M)),(0,C.generateDimensionsAttributes)(L)),(0,C.generateDimensionsAttributes)(F)),(0,C.generateDimensionsAttributes)(j)),(0,C.generateDimensionsAttributes)(U)),(0,C.generateDimensionsAttributes)(V)),(0,C.generateResponsiveRangeAttributes)($,{defaultRange:310})),(0,C.generateResponsiveRangeAttributes)(K,{defaultRange:600})),(0,C.generateResponsiveRangeAttributes)(ee,{defaultRange:50})),(0,C.generateResponsiveRangeAttributes)(te,{defaultRange:50})),(0,C.generateResponsiveRangeAttributes)(ae,{defaultRange:100})),(0,C.generateResponsiveRangeAttributes)(ne,{defaultRange:100})),(0,C.generateResponsiveRangeAttributes)(oe,{defaultRange:100})),(0,C.generateResponsiveRangeAttributes)(re)),(0,C.generateResponsiveRangeAttributes)(le)),(0,C.generateBorderShadowAttributes)(G)),(0,C.generateBorderShadowAttributes)(q)),(0,C.generateBorderShadowAttributes)(W,{noShadow:!0})),(0,C.generateBorderShadowAttributes)(Z,{noShadow:!0})),(0,C.generateBackgroundAttributes)(E,{defaultFillColor:"var(--eb-global-background-color)"})),(0,C.generateBackgroundAttributes)(x,{defaultFillColor:"var(--eb-global-background-color)"})),null===C.ImageComponent||void 0===C.ImageComponent?void 0:C.ImageComponent.addAttributes({attrObject:k,attrName:"front",hasBorder:!0,border:{key:J},hasPadding:!0,padding:{key:F},hasMargin:!0,margin:{key:H},hasWidth:!1,hasHeight:!1,useImageSize:!0,imageSize:{key:ne,default:{defaultRange:100}},hasRadius:!0,radius:{key:re}})),null===C.ImageComponent||void 0===C.ImageComponent?void 0:C.ImageComponent.addAttributes({attrObject:R,attrName:"back",hasBorder:!0,border:{key:Y},hasPadding:!0,padding:{key:j},hasMargin:!0,margin:{key:z},hasWidth:!1,hasHeight:!1,useImageSize:!0,imageSize:{key:oe,default:{defaultRange:100}},hasRadius:!0,radius:{key:le}}));function de(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function me(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?de(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):de(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ue=(0,b.memo)((0,C.withBlockContext)(be)(function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,a.blockId),l=(a.blockMeta,a.resOption,a.isHover),c=a.selectedSide,i=a.frontIconOrImage,b=a.frontIcon,d=a.frontImageUrl,m=(a.frontImageAlt,a.backIconOrImage),u=a.backIcon,g=a.backImageUrl,f=(a.backImageAlt,a.showFrontTitle),y=a.frontTitle,h=a.showFrontContent,v=a.frontContent,w=a.showBackTitle,_=a.backTitle,E=a.showBackContent,x=a.backContent,S=a.linkType,B=a.buttonText,T=a.buttonIcon,N=a.link,P=a.buttonClasses,O=a.align,I=a.contentPosition,D=a.classHook,A=a.frontTitleTag,M=a.backTitleTag,L=me(me({},e),{},{blockPrefix:"eb-flipbox",style:React.createElement(ie,e)}),F="center"===I?" eb-flipbox-align-center":"right"===I?" eb-flipbox-align-right":"",j=(0,C.sanitizeURL)(N);return React.createElement(React.Fragment,null,t&&React.createElement(ce,{attributes:a,setAttributes:n}),React.createElement(s.BlockControls,null,React.createElement(p.ToolbarGroup,null,React.createElement(p.ToolbarButton,{title:"Front",icon:"arrow-right-alt2",isActive:"front"===c,onClick:function(){return n({selectedSide:"front"})}}),React.createElement(p.ToolbarButton,{title:"Back",icon:"arrow-left-alt2",isActive:"back"===c,onClick:function(){return n({selectedSide:"back"})}})),React.createElement(s.AlignmentToolbar,{value:O,onChange:function(e){return n({align:e})}})),React.createElement(C.BlockProps.Edit,L,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(D)},React.createElement("div",{className:"eb-flipbox-container ".concat(o).concat(F),"data-id":o,onMouseEnter:function(){return n({isHover:!0})},onMouseLeave:function(){return n({isHover:!1})}},React.createElement("div",{className:"eb-flipper".concat(l||"back"===c?" back-is-selected":"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==i&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===i&&d&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement(C.ImageComponent,{isSelected:t,imageAttrProps:k,className:"eb-flipbox-front-image",attrPrefix:"front"})),"icon"===i&&b&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":b},React.createElement(C.EBDisplayIcon,{icon:b}))),f&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===S&&N?React.createElement("a",{href:N?j:"#",className:"title-link"},React.createElement(C.DynamicInputValueHandler,{value:(0,C.isValidHtml)(y)?y:(0,r.__)("Invalid HTML Tag","essential-blocks"),tagName:A,className:"eb-flipbox-front-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({frontTitle:e})},readOnly:!0})):React.createElement(C.DynamicInputValueHandler,{value:(0,C.isValidHtml)(y)?y:(0,r.__)("Invalid HTML Tag","essential-blocks"),tagName:A,className:"eb-flipbox-front-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({frontTitle:e})},readOnly:!0})),h&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(C.DynamicInputValueHandler,{tagName:"p",className:"eb-flipbox-front-content",placeholder:(0,r.__)("Add subtitle..."),value:(0,C.isValidHtml)(v)?v:(0,r.__)("Invalid HTML Tag","essential-blocks"),onChange:function(e){return n({frontContent:e})},readOnly:!0})))),React.createElement("div",{className:"eb-flipbox-back"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&g&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement(C.ImageComponent,{isSelected:t,imageAttrProps:R,className:"eb-flipbox-back-image",attrPrefix:"back"}))),"icon"===m&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement(C.EBDisplayIcon,{icon:u}))),w&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===S&&N?React.createElement("a",{href:N?j:"#",className:"title-link"},React.createElement(C.DynamicInputValueHandler,{value:(0,C.isValidHtml)(_)?_:(0,r.__)("Invalid HTML Tag","essential-blocks"),tagName:M,className:"eb-flipbox-back-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({backTitle:e})},readOnly:!0})):React.createElement(C.DynamicInputValueHandler,{value:(0,C.isValidHtml)(_)?_:(0,r.__)("Invalid HTML Tag","essential-blocks"),tagName:M,className:"eb-flipbox-back-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return n({backTitle:e})},readOnly:!0})),E&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(C.DynamicInputValueHandler,{tagName:"p",className:"eb-flipbox-back-content",value:(0,C.isValidHtml)(x)?x:(0,r.__)("Invalid HTML Tag","essential-blocks"),onChange:function(e){return n({backContent:e})},readOnly:!0})),"button"===S&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(P),href:N?j:"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,B),T&&React.createElement(C.EBDisplayIcon,{icon:T,className:"eb-flipbox-button-icon"})))))))))))}));var ge=a(8168);const fe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Flipbox","name":"essential-blocks/flipbox","category":"essential-blocks","description":"Deliver your content beautifully to grab site visitor\'s attention.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var ye=a(6087);function he(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ve(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?he(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):he(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const we=[{attributes:(0,ye.omit)(ve({},be)),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontImageAlt,c=t.frontIcon,i=t.showFrontTitle,p=t.frontTitle,b=t.showFrontContent,d=t.frontContent,m=t.backIconOrImage,u=t.backImageUrl,g=t.backImageAlt,f=t.backIcon,y=t.showBackTitle,h=t.backTitle,v=t.showBackContent,w=t.backContent,k=t.link,R=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.flipMode,N=t.isMouseLeaveOn,P=t.classHook,O=t.frontTitleTag,I=t.backTitleTag,D=(0,C.sanitizeURL)(k),A="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"",M="hover"===T?" eb-hover-mode":" eb-click-mode";return React.createElement(C.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(P)},React.createElement("div",(0,ge.A)({className:"eb-flipbox-container ".concat(a).concat(A).concat(M),"data-id":a,"data-flip-type":n,"data-flip-mode":T},"click"===T?{"data-flip-mouseleave":N}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===T?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:l})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement(C.EBDisplayIcon,{icon:c}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?D:"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:O,className:"eb-flipbox-front-title",value:p})):React.createElement(s.RichText.Content,{tagName:O,className:"eb-flipbox-front-title",value:p})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:d})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===R&&k&&B?"window.open('".concat(D,"', '_blank');"):"box"===R&&k?"window.location='".concat(D,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u,alt:g})),"icon"===m&&f&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":f},React.createElement(C.EBDisplayIcon,{icon:f}))),y&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?D:"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:I,className:"eb-flipbox-back-title",value:h})):React.createElement(s.RichText.Content,{tagName:I,className:"eb-flipbox-back-title",value:h})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:w})),"button"===R&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:k?D:"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement(C.EBDisplayIcon,{icon:E,className:"eb-flipbox-button-icon"}))))))))))}},{attributes:ve({},be),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontImageAlt,c=t.frontIcon,i=t.showFrontTitle,p=t.frontTitle,b=t.showFrontContent,d=t.frontContent,m=t.backIconOrImage,u=t.backImageUrl,g=t.backImageAlt,f=t.backIcon,y=t.showBackTitle,h=t.backTitle,v=t.showBackContent,w=t.backContent,k=t.link,R=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.flipMode,N=t.isMouseLeaveOn,P=t.classHook,O=(0,C.sanitizeURL)(k),I="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"",D="hover"===T?" eb-hover-mode":" eb-click-mode";return React.createElement(C.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(P)},React.createElement("div",(0,ge.A)({className:"eb-flipbox-container ".concat(a).concat(I).concat(D),"data-id":a,"data-flip-type":n,"data-flip-mode":T},"click"===T?{"data-flip-mouseleave":N}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===T?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:l})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement(C.EBDisplayIcon,{icon:c}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?O:"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:d})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===R&&k&&B?"window.open('".concat(O,"', '_blank');"):"box"===R&&k?"window.location='".concat(O,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u,alt:g})),"icon"===m&&f&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":f},React.createElement(C.EBDisplayIcon,{icon:f}))),y&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?O:"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:w})),"button"===R&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:k?O:"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement(C.EBDisplayIcon,{icon:E,className:"eb-flipbox-button-icon"}))))))))))}},{attributes:ve({},be),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontImageAlt,c=t.frontIcon,i=t.showFrontTitle,p=t.frontTitle,b=t.showFrontContent,d=t.frontContent,m=t.backIconOrImage,u=t.backImageUrl,g=t.backImageAlt,f=t.backIcon,y=t.showBackTitle,h=t.backTitle,v=t.showBackContent,w=t.backContent,k=t.link,R=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.flipMode,N=t.isMouseLeaveOn,P=t.classHook,O="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"",I="hover"===T?" eb-hover-mode":" eb-click-mode";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(P)},React.createElement("div",(0,ge.A)({className:"eb-flipbox-container ".concat(a).concat(O).concat(I),"data-id":a,"data-flip-type":n,"data-flip-mode":T},"click"===T?{"data-flip-mouseleave":N}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===T?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:l})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement(C.EBDisplayIcon,{icon:c}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k||"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:d})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===R&&k&&B?"window.open('".concat(k,"', '_blank');"):"box"===R&&k?"window.location='".concat(k,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u,alt:g})),"icon"===m&&f&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":f},React.createElement(C.EBDisplayIcon,{icon:f}))),y&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k||"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:w})),"button"===R&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:k||"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement(C.EBDisplayIcon,{icon:E,className:"eb-flipbox-button-icon"}))))))))))}},{attributes:ve({},be),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontImageAlt,c=t.frontIcon,i=t.showFrontTitle,p=t.frontTitle,b=t.showFrontContent,d=t.frontContent,m=t.backIconOrImage,u=t.backImageUrl,g=t.backImageAlt,f=t.backIcon,y=t.showBackTitle,h=t.backTitle,v=t.showBackContent,w=t.backContent,k=t.link,R=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.flipMode,N=t.isMouseLeaveOn,P=t.classHook,O="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"",I="hover"===T?" eb-hover-mode":" eb-click-mode";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(P)},React.createElement("div",(0,ge.A)({className:"eb-flipbox-container ".concat(a).concat(O).concat(I),"data-id":a,"data-flip-type":n,"data-flip-mode":T},"click"===T?{"data-flip-mouseleave":N}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===T?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:l})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?(0,C.sanitizeURL)(k):"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:d})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===R&&k&&B?"window.open('".concat(k,"', '_blank');"):"box"===R&&k?"window.location='".concat(k,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u,alt:g})),"icon"===m&&f&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":f},React.createElement("span",{className:f}))),y&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?(0,C.sanitizeURL)(k):"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:w})),"button"===R&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:k?(0,C.sanitizeURL)(k):"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement("i",{className:"".concat(E," eb-flipbox-button-icon")}))))))))))}},{attributes:(0,ye.omit)(ve({},be),["flipMode","isMouseLeaveOn"]),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontImageAlt,c=t.frontIcon,i=t.showFrontTitle,p=t.frontTitle,b=t.showFrontContent,d=t.frontContent,m=t.backIconOrImage,u=t.backImageUrl,g=t.backImageAlt,f=t.backIcon,y=t.showBackTitle,h=t.backTitle,v=t.showBackContent,w=t.backContent,k=t.link,R=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.classHook,N="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(N),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r,alt:l})),"icon"===o&&c&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":c},React.createElement("span",{className:c}))),i&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?(0,C.sanitizeURL)(k):"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:p})),b&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:d})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===R&&k&&B?"window.open('".concat(k,"', '_blank');"):"box"===R&&k?"window.location='".concat(k,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==m&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===m&&u&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:u,alt:g})),"icon"===m&&f&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":f},React.createElement("span",{className:f}))),y&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===R&&k?React.createElement("a",{href:k?(0,C.sanitizeURL)(k):"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:h})),v&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:w})),"button"===R&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:k?(0,C.sanitizeURL)(k):"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement("i",{className:"".concat(E," eb-flipbox-button-icon")}))))))))))}},{attributes:(0,ye.omit)(ve({},be),["frontImageAlt","backImageAlt"]),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontIcon,c=t.showFrontTitle,i=t.frontTitle,p=t.showFrontContent,b=t.frontContent,d=t.backIconOrImage,m=t.backImageUrl,u=t.backIcon,g=t.showBackTitle,f=t.backTitle,y=t.showBackContent,h=t.backContent,v=t.link,w=t.linkType,k=t.buttonText,R=t.buttonIcon,_=t.buttonClasses,E=t.contentPosition,x=t.linkOpenNewTab,S=t.classHook,B="center"===E?" eb-flipbox-align-center":"right"===E?" eb-flipbox-align-right":"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(S)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(B),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),c&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:i})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-front-title",value:i})),p&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:b})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===w&&v&&x?"window.open('".concat(v,"', '_blank');"):"box"===w&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==d&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===d&&m&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:m})),"icon"===d&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement("span",{className:u}))),g&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:f})):React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-flipbox-back-title",value:f})),y&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===w&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(_),href:v?(0,C.sanitizeURL)(v):"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,k),R&&React.createElement("i",{className:"".concat(R," eb-flipbox-button-icon")}))))))))))}},{attributes:ve({},be),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontIcon,c=t.showFrontTitle,i=t.frontTitle,p=t.showFrontContent,b=t.frontContent,d=t.backIconOrImage,m=t.backImageUrl,u=t.backIcon,g=t.showBackTitle,f=t.backTitle,y=t.showBackContent,h=t.backContent,v=t.link,w=t.linkType,k=t.buttonText,R=t.buttonIcon,_=t.buttonClasses,E=t.contentPosition,x=t.linkOpenNewTab,S=t.classHook,B="center"===E?" eb-flipbox-align-center":"right"===E?" eb-flipbox-align-right":"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(S)},React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(B),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),c&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),p&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===w&&v&&x?"window.open('".concat(v,"', '_blank');"):"box"===w&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==d&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===d&&m&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:m})),"icon"===d&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement("span",{className:u}))),g&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link",target:x?"_blank":"_self",rel:"noopener"},React.createElement("h3",{className:"eb-flipbox-back-title"},f)):React.createElement("h3",{className:"eb-flipbox-back-title"},f)),y&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},h)),"button"===w&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(_),href:v?(0,C.sanitizeURL)(v):"#",target:x?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,k),R&&React.createElement("i",{className:"".concat(R," eb-flipbox-button-icon")}))))))))))}},{attributes:ve({},be),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontIcon,c=t.showFrontTitle,i=t.frontTitle,p=t.showFrontContent,b=t.frontContent,d=t.backIconOrImage,m=t.backImageUrl,u=t.backIcon,g=t.showBackTitle,f=t.backTitle,y=t.showBackContent,h=t.backContent,v=t.link,w=t.linkType,k=t.buttonText,R=t.buttonIcon,_=t.buttonClasses,E=t.contentPosition,x="center"===E?" eb-flipbox-align-center":"right"===E?" eb-flipbox-align-right":"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-flipbox-container ".concat(a).concat(x),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),c&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),p&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===w&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==d&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===d&&m&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:m})),"icon"===d&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement("span",{className:u}))),g&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-back-title"},f)):React.createElement("h3",{className:"eb-flipbox-back-title"},f)),y&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},h)),"button"===w&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(_),href:v?(0,C.sanitizeURL)(v):"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,k),R&&React.createElement("i",{className:"".concat(R," eb-flipbox-button-icon")})))))))))}},{attributes:(0,ye.omit)(ve({},be),["contentPosition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=t.frontIcon,c=t.showFrontTitle,i=t.frontTitle,p=t.showFrontContent,b=t.frontContent,d=t.backIconOrImage,m=t.backImageUrl,u=t.backIcon,g=t.showBackTitle,f=t.backTitle,y=t.showBackContent,h=t.backContent,v=t.link,w=t.linkType,k=t.buttonText,R=t.buttonIcon,_=t.buttonClasses;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-flipbox-container ".concat(a),"data-id":a,"data-flip-type":n},React.createElement("div",{className:"eb-flipper ".concat(n)},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement("img",{src:r})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement("span",{className:l}))),c&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-front-title"},i)):React.createElement("h3",{className:"eb-flipbox-front-title"},i)),p&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement("p",{className:"eb-flipbox-front-content"},b)))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===w&&v?"window.location='".concat(v,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==d&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===d&&m&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement("img",{src:m})),"icon"===d&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement("span",{className:u}))),g&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?(0,C.sanitizeURL)(v):"#",className:"title-link"},React.createElement("h3",{className:"eb-flipbox-back-title"},f)):React.createElement("h3",{className:"eb-flipbox-back-title"},f)),y&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement("p",{className:"eb-flipbox-back-content"},h)),"button"===w&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(_),href:v?(0,C.sanitizeURL)(v):"#"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,k),R&&React.createElement("i",{className:"".concat(R," eb-flipbox-button-icon")})))))))))}}];(0,C.ebConditionalRegisterBlockType)(fe,{icon:function(e){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 55 60"},e),n||(n=l.createElement("path",{fill:"#6C3BFF",d:"M53.314.343h-.257L8.143 7.286c-.772.257-1.286.685-1.286 1.285V52.03c0 .514.429 1.028 1.286 1.285l45 7.029h.086c.171 0 .342-.086.514-.172.086-.085.171-.085.343-.171l.085-.086v-.085c0-.086 0-.086.086-.172.086-.171.172-.343.172-.6V1.714c0-.857-.429-1.371-1.115-1.371M51.771 57 9.257 51.257v-42l42.514-5.914z"})),o||(o=l.createElement("path",{fill:"#6C3BFF",d:"M14.914 29.057h9.857c.686 0 1.286-.6 1.286-1.285 0-.686-.686-1.115-1.286-1.115L14.914 27c-.6 0-1.285.429-1.285 1.114 0 .429.6.943 1.285.943M31.286 28.8c.514 0 .685-.257.857-.6.171-.171.428-.429.428-.857 0-.257-.257-.686-.428-.857-.257-.257-.514-.257-.857-.257-.257 0-.686.257-.857.428-.172.172-.429.6-.429.857 0 .429.257.686.429.857.171.258.6.429.857.429M20.314 33.857c0 .429.6 1.114 1.286 1.114l23.486 1.115c.171 0 .343-.086.514-.172.086-.085.171-.085.429-.257.171-.171.428-.6.428-1.028 0-.858-.686-1.458-1.286-1.458l-23.485-.342c-.686-.086-1.372.342-1.372 1.028M15.857 33c-.086 0-.171 0-.257-.086-.171-.085-.343-.171-.6-.171-.429 0-.6 0-.857.257l-.086.086v.085c0 .086 0 .172-.086.172-.085.086-.085.257-.085.343 0 .171 0 .428.257.685.171.172.428.429.857.429.171 0 .686 0 .943-.514 0-.086 0-.172.086-.172.085-.085.085-.257.085-.343.086-.257.086-.514-.257-.771M1.8 11.657c-.171 0-.257 0-.343.086l-.428.171C.429 12.343 0 12.943 0 13.543v33.943c0 .6.343 1.2 1.029 1.628H1.2c.086.086.257.086.343.086.343 0 .771-.257.943-.771v-36c.085-.515-.343-.772-.686-.772"})))},category:"essential-blocks",attributes:be,keywords:[(0,r.__)("eb flipbox","essential-blocks"),(0,r.__)("essential","essential-blocks"),(0,r.__)("box","essential-blocks")],edit:ue,save:function(e){var t=e.attributes,a=t.blockId,n=t.flipType,o=t.frontIconOrImage,r=t.frontImageUrl,l=(t.frontImageAlt,t.frontIcon),c=t.showFrontTitle,i=t.frontTitle,p=t.showFrontContent,b=t.frontContent,d=t.backIconOrImage,m=t.backImageUrl,u=(t.backImageAlt,t.backIcon),g=t.showBackTitle,f=t.backTitle,y=t.showBackContent,h=t.backContent,v=t.link,w=t.linkType,_=t.buttonText,E=t.buttonIcon,x=t.buttonClasses,S=t.contentPosition,B=t.linkOpenNewTab,T=t.flipMode,N=t.isMouseLeaveOn,P=t.classHook,O=t.frontTitleTag,I=t.backTitleTag,D=(0,C.sanitizeURL)(v),A="center"===S?" eb-flipbox-align-center":"right"===S?" eb-flipbox-align-right":"",M="hover"===T?" eb-hover-mode":" eb-click-mode";return React.createElement(C.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(P)},React.createElement("div",(0,ge.A)({className:"eb-flipbox-container ".concat(a).concat(A).concat(M),"data-id":a,"data-flip-type":n,"data-flip-mode":T},"click"===T?{"data-flip-mouseleave":N}:{}),React.createElement("div",{className:"eb-flipper".concat("hover"===T?" "+n:"")},React.createElement("div",{className:"eb-flipbox-front"},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==o&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===o&&r&&React.createElement("div",{className:"eb-flipbox-front-image-container"},React.createElement(C.ImageComponent.Content,{attributes:t,className:"eb-flipbox-front-image",imageAttrProps:k,attrPrefix:"front"})),"icon"===o&&l&&React.createElement("div",{className:"eb-flipbox-icon-front","data-icon":l},React.createElement(C.EBDisplayIcon,{icon:l}))),c&&React.createElement("div",{className:"eb-flipbox-front-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?D:"#",className:"title-link"},React.createElement(s.RichText.Content,{tagName:O,className:"eb-flipbox-front-title",value:i})):React.createElement(s.RichText.Content,{tagName:O,className:"eb-flipbox-front-title",value:i})),p&&React.createElement("div",{className:"eb-flipbox-front-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-front-content",value:b})))),React.createElement("div",{className:"eb-flipbox-back",onClick:"box"===w&&v&&B?"window.open('".concat(D,"', '_blank');"):"box"===w&&v?"window.location='".concat(D,"'"):void 0},React.createElement("div",{className:"eb-flipbox-items-container"},"none"!==d&&React.createElement("div",{className:"eb-flipbox-icon-wrapper"},"image"===d&&m&&React.createElement("div",{className:"eb-flipbox-back-image-container"},React.createElement(C.ImageComponent.Content,{attributes:t,className:"eb-flipbox-back-image",imageAttrProps:R,attrPrefix:"back"})),"icon"===d&&u&&React.createElement("div",{className:"eb-flipbox-icon-back","data-icon":u},React.createElement(C.EBDisplayIcon,{icon:u}))),g&&React.createElement("div",{className:"eb-flipbox-back-title-wrapper"},"title"===w&&v?React.createElement("a",{href:v?D:"#",className:"title-link",target:B?"_blank":"_self",rel:"noopener"},React.createElement(s.RichText.Content,{tagName:I,className:"eb-flipbox-back-title",value:f})):React.createElement(s.RichText.Content,{tagName:I,className:"eb-flipbox-back-title",value:f})),y&&React.createElement("div",{className:"eb-flipbox-back-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-flipbox-back-content",value:h})),"button"===w&&React.createElement("div",{className:"eb-flipbox-button-container"},React.createElement("a",{className:"eb-flipbox-button-link ".concat(x),href:v?D:"#",target:B?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-flipbox-button-content"},React.createElement("span",null,_),E&&React.createElement(C.EBDisplayIcon,{icon:E,className:"eb-flipbox-button-icon"}))))))))))},example:{attributes:{selectedSide:"front",frontIconOrImage:"icon",frontIcon:"fab fa-rev",frontTitle:"Front Title Here",frontContent:"Front Content Here"}},deprecated:we})},977:(e,t,a)=>{var n={};a.r(n),a.d(n,{META_LABEL:()=>O,META_VALUE:()=>I});var o=a(7723),r=a(8168),l=a(4467),c=a(3453),i=a(1609),s=a(8468),p=a(7143),b=a(9491),d=a(4589),m=a(6427),u="wrpMargin",g="wrpPadding",f="wrpBorderShadow",y="wrpBG",h="galleryColumnsGap",v="galleryColumnsSpace",w="largeImgHeight",k="largeImgWidth",R="largeImgBorder",_="galleryIconSize",C="featureImgMargin",E="thumbnailsBorderShadow",x="activeThumbnailsBorderShadow",S=((0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignleft"})),(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-aligncenter"})),(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignright"})),[{label:(0,o.__)("Left","essential-blocks"),value:"left"},{label:(0,o.__)("Top","essential-blocks"),value:"top"},{label:(0,o.__)("Right","essential-blocks"),value:"right"},{label:(0,o.__)("Bottom","essential-blocks"),value:"bottom"}]),B=[{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],T=a(5694);function N(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.galleryPosition),r=t.largeImgScale,l=t.useAdaptiveHeight,c=t.galleryArrowColor,i=t.galleryArrowHoverColor,s=t.galleryArrowBackgroundColor,p=t.galleryArrowBackgroundHoverColor,b=t.featureImgAlignment,d=t.disableNavArrow,N=t.enableZoom;return React.createElement(T.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:y,borderPrefix:f}},React.createElement(T.InspectorPanel.General,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,o.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(T.ButtonGroupControl,{label:(0,o.__)("Gallery Position","essential-blocks"),attrName:"galleryPosition",options:S,currentValue:n}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,o.__)("Column Gap","essential-blocks"),controlName:h,min:1,max:200,step:1}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,o.__)("Thumbnails Space","essential-blocks"),controlName:v,min:1,max:200,step:1}),React.createElement(m.ToggleControl,{label:(0,o.__)("Disable Thumbnail Navigation Icon","essential-blocks"),checked:d,onChange:function(){return a({disableNavArrow:!d})}}),React.createElement(m.ToggleControl,{label:(0,o.__)("Enable Zoom on Hover","essential-blocks"),checked:N,onChange:function(){return a({enableZoom:!N})}}))),React.createElement(T.InspectorPanel.Style,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,o.__)("Featured Image","essential-blocks"),initialOpen:!0},React.createElement(m.ToggleControl,{label:(0,o.__)("Enable Adaptive Height","essential-blocks"),checked:l,onChange:function(){return a({useAdaptiveHeight:!l})}}),!l&&React.createElement(React.Fragment,null,React.createElement(T.ResponsiveRangeController,{baseLabel:(0,o.__)("Height","essential-blocks"),controlName:w,min:100,max:2e3,step:1}),React.createElement(m.SelectControl,{label:(0,o.__)("Display Size","essential-blocks"),value:r,onChange:function(e){a({largeImgScale:e})},options:[{value:"none",label:"None"},{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"fill",label:"Fill"},{value:"scale-down",label:"Scale Down"}],__nextHasNoMarginBottom:!0})),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,o.__)("Width","essential-blocks"),controlName:k,min:100,max:2e3,step:1}),React.createElement(T.ButtonGroupControl,{label:(0,o.__)("Alignment","essential-blocks"),attrName:"featureImgAlignment",options:B,currentValue:b}),React.createElement(T.ResponsiveDimensionsControl,{controlName:C,baseLabel:"Margin"}),React.createElement(m.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Border","essential-blocks"))),React.createElement(T.BorderShadowControl,{label:(0,o.__)("Border","essential-blocks"),controlName:R})),React.createElement(T.InspectorPanel.PanelBody,{title:(0,o.__)("Thumbnails","essential-blocks")},React.createElement(m.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Thumbnails Border","essential-blocks"))),React.createElement(T.BorderShadowControl,{label:(0,o.__)("Thumbnails Border","essential-blocks"),controlName:E}),React.createElement(m.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Active Thumbnails Border","essential-blocks"))),React.createElement(T.BorderShadowControl,{label:(0,o.__)("Active Thumbnails Border","essential-blocks"),controlName:x})),React.createElement(T.InspectorPanel.PanelBody,{title:(0,o.__)("Navigations","essential-blocks")},React.createElement(T.ResponsiveRangeController,{baseLabel:(0,o.__)("Icon Size","essential-blocks"),controlName:_,min:1,max:50,step:1}),React.createElement(T.ColorControl,{label:(0,o.__)("Arrow Color","essential-blocks"),color:c,onChange:function(e){return a({galleryArrowColor:e})}}),React.createElement(T.ColorControl,{label:(0,o.__)("Arrow Hover Color","essential-blocks"),color:i,onChange:function(e){return a({galleryArrowHoverColor:e})}}),React.createElement(T.ColorControl,{label:(0,o.__)("Arrow Background Color","essential-blocks"),color:s,onChange:function(e){return a({galleryArrowBackgroundColor:e})}}),React.createElement(T.ColorControl,{label:(0,o.__)("Arrow Background Hover Color","essential-blocks"),color:p,onChange:function(e){return a({galleryArrowBackgroundHoverColor:e})}}))))}function P(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(e.isContentEnabled,t.blockId),r=t.largeImgScale,l=t.useAdaptiveHeight,c=t.galleryArrowColor,i=t.galleryArrowHoverColor,s=t.galleryArrowBackgroundColor,p=t.galleryArrowBackgroundHoverColor,b=t.featureImgAlignment,d=(0,T.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t}),m=d.dimensionStylesDesktop,S=d.dimensionStylesTab,B=d.dimensionStylesMobile,N=(0,T.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,I=N.dimensionStylesMobile,D=(0,T.generateBorderShadowStyles)({controlName:f,attributes:t}),A=D.styesDesktop,M=D.styesTab,L=D.styesMobile,F=D.stylesHoverDesktop,j=D.stylesHoverTab,H=D.stylesHoverMobile,z=D.transitionStyle,U=(0,T.generateBackgroundControlStyles)({attributes:t,controlName:y,noOverlay:!0}),V=U.backgroundStylesDesktop,G=U.hoverBackgroundStylesDesktop,q=U.backgroundStylesTab,W=U.hoverBackgroundStylesTab,Z=U.backgroundStylesMobile,J=U.hoverBackgroundStylesMobile,Y=U.bgTransitionStyle,Q=(0,T.generateResponsiveRangeStyles)({controlName:w,property:"height",attributes:t}),X=Q.rangeStylesDesktop,$=Q.rangeStylesTab,K=Q.rangeStylesMobile,ee=(0,T.generateBorderShadowStyles)({controlName:R,attributes:t}),te=ee.styesDesktop,ae=ee.styesTab,ne=ee.styesMobile,oe=ee.stylesHoverDesktop,re=ee.stylesHoverTab,le=ee.stylesHoverMobile,ce=(ee.transitionStyle,(0,T.generateResponsiveRangeStyles)({controlName:_,property:"font-size",attributes:t})),ie=ce.rangeStylesDesktop,se=ce.rangeStylesTab,pe=ce.rangeStylesMobile,be=(0,T.generateResponsiveRangeStyles)({controlName:v,property:"gap",attributes:t}),de=be.rangeStylesDesktop,me=be.rangeStylesTab,ue=be.rangeStylesMobile,ge=(0,T.generateResponsiveRangeStyles)({controlName:h,property:null,attributes:t}),fe=ge.rangeStylesDesktop,ye=ge.rangeStylesTab,he=ge.rangeStylesMobile,ve=(0,T.generateResponsiveRangeStyles)({controlName:k,property:"width",attributes:t}),we=ve.rangeStylesDesktop,ke=ve.rangeStylesTab,Re=ve.rangeStylesMobile,_e=(0,T.generateDimensionsControlStyles)({controlName:C,styleFor:"margin",attributes:t}),Ce=_e.dimensionStylesDesktop,Ee=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=(0,T.generateBorderShadowStyles)({controlName:E,attributes:t}),Be=Se.styesDesktop,Te=Se.styesTab,Ne=Se.styesMobile,Pe=Se.stylesHoverDesktop,Oe=Se.stylesHoverTab,Ie=Se.stylesHoverMobile,De=Se.transitionStyle,Ae=(0,T.generateBorderShadowStyles)({controlName:x,attributes:t}),Me=Ae.styesDesktop,Le=Ae.styesTab,Fe=Ae.styesMobile,je=Ae.stylesHoverDesktop,He=Ae.stylesHoverTab,ze=Ae.stylesHoverMobile,Ue=Ae.transitionStyle,Ve="\n\t\t.eb-product-images-wrapper.".concat(o,"{\n\t\t\t").concat(m,"\n\t\t\t").concat(P,"\n\t\t\t").concat(V,"\n\t\t\t").concat(A,"\n\t\t\ttransition: ").concat(Y,", ").concat(z,";\n\t\t}\n\t\t.eb-product-images-wrapper.").concat(o,":hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(F,"\n\t\t}\n\t"),Ge="\n\t\t.eb-product-images-wrapper.".concat(o,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(O,"\n\t\t\t").concat(q,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-product-images-wrapper.").concat(o,":hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(j,"\n\t\t}\n\t"),qe="\n\t\t.eb-product-images-wrapper.".concat(o," {\n\t\t\t").concat(B,"\n\t\t\t").concat(I,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(L,"\n\t\t}\n\t\t.eb-product-images-wrapper.").concat(o,":hover {\n\t\t\t").concat(J,"\n\t\t\t").concat(H,"\n\t\t}\n\t"),We="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider .slick-list {\n ").concat(Ce,"\n }\n \n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item {\n justify-content: ").concat(b,";\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image {\n ").concat(l?"":"\n ".concat(X,"\n object-fit: ").concat(r,";\n "),"\n ").concat(te,"\n ").concat(we,"\n }\n\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image:hover {\n ").concat(oe,"\n }\n "),Ze="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider .slick-list {\n ").concat(Ee,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image {\n ").concat(l?"":"\n ".concat($,"\n "),"\n ").concat(ae,"\n ").concat(ke,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image:hover {\n ").concat(re,"\n }\n "),Je="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider .slick-list {\n ").concat(xe,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image {\n ").concat(l?"":"\n ".concat(K,"\n "),"\n ").concat(ne,"\n ").concat(Re,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-body-item .eb-product-gallery-image:hover {\n ").concat(le,"\n }\n "),Ye="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item img {\n ").concat(Be,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item:hover img {\n ").concat(Pe,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current img {\n ").concat(Me,"\n transition: ").concat(Ue,";\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center:hover img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current:hover img {\n ").concat(je,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-prev:before,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-next:before {\n ").concat(ie,"\n color: ").concat(c,";\n transition: all 0.3s ease;\n }\n \n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button:hover:before {\n color: ").concat(i,";\n }\n\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button {\n background-color: ").concat(s,";\n transition: all 0.3s ease;\n }\n\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button:hover {\n background-color: ").concat(p,";\n }\n\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-bottom .eb-product-image_slider-footer .eb-product-image_slider-footer-item,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-top .eb-product-image_slider-footer .eb-product-image_slider-footer-item {\n padding: 0 ").concat(fe,";\n }\n "),Qe="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item img {\n ").concat(Te,"\n transition: ").concat(De,";\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item:hover img {\n ").concat(Oe,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current img {\n ").concat(Le,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center:hover img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current:hover img {\n ").concat(He,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-prev:before,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-next:before {\n ").concat(se,"\n }\n \n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-bottom .eb-product-image_slider-footer .eb-product-image_slider-footer-item,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-top .eb-product-image_slider-footer .eb-product-image_slider-footer-item {\n padding: 0 ").concat(ye,";\n }\n "),Xe="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item img {\n ").concat(Ne,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item:hover img {\n ").concat(Ie,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current img {\n ").concat(Fe,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-center:hover img,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider-footer .eb-product-image_slider-footer-item.slick-current:hover img {\n ").concat(ze,"\n }\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-prev:before,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider .eb-product-image_slider-footer button.slick-next:before {\n ").concat(pe,"\n }\n\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-bottom .eb-product-image_slider-footer .eb-product-image_slider-footer-item,\n .eb-product-images-wrapper.").concat(o," .eb-product-image_slider.eb-product-gallery-top .eb-product-image_slider-footer .eb-product-image_slider-footer-item {\n padding: 0 ").concat(he,";\n }\n "),$e="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider {\n ").concat(de,"\n }\n "),Ke="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider {\n ").concat(me,"\n }\n "),et="\n .eb-product-images-wrapper.".concat(o," .eb-product-image_slider {\n ").concat(ue,"\n }\n "),tt=(0,T.softMinifyCssStrings)("\n ".concat(Ve,"\n ").concat(We,"\n ").concat(Ye,"\n ").concat($e,"\n\t")),at=(0,T.softMinifyCssStrings)("\n\t\t".concat(Ge,"\n ").concat(Ze,"\n ").concat(Qe,"\n ").concat(Ke,"\n\t")),nt=(0,T.softMinifyCssStrings)("\n\t\t".concat(qe,"\n ").concat(Je,"\n ").concat(Xe,"\n ").concat(et,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(T.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:tt,tabAllStyles:at,mobileAllStyles:nt,blockName:n}))}var O="meta_label",I="meta_value";function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},galleryPosition:{type:"string",default:"bottom"},largeImgScale:{type:"string",default:"cover"},useAdaptiveHeight:{type:"boolean",default:!1},galleryArrowColor:{type:"string"},galleryArrowHoverColor:{type:"string"},galleryArrowBackgroundColor:{type:"string"},galleryArrowBackgroundHoverColor:{type:"string"},type:{type:"string",default:"post"},featureImgAlignment:{type:"string",default:"center"},disableNavArrow:{type:"boolean",default:!1},enableZoom:{type:"boolean",default:!0}},(0,T.generateResponsiveRangeAttributes)("galleryColumns",{defaultRange:4,noUnits:!0,defaultUnit:""})),(0,T.generateResponsiveRangeAttributes)(h,{defaultRange:10})),(0,T.generateResponsiveRangeAttributes)(v)),(0,T.generateResponsiveRangeAttributes)(_)),(0,T.generateTypographyAttributes)(Object.values(n))),(0,T.generateDimensionsAttributes)(u)),(0,T.generateDimensionsAttributes)(g)),(0,T.generateDimensionsAttributes)(C)),(0,T.generateBorderShadowAttributes)(f,{})),(0,T.generateBorderShadowAttributes)(R)),(0,T.generateBorderShadowAttributes)(E)),(0,T.generateBorderShadowAttributes)(x)),(0,T.generateBackgroundAttributes)(y,{noOverlay:!0})),(0,T.generateResponsiveAlignAttributes)("metaAlign",{defaultAlign:"flex-start",defaultTabAlign:"flex-start",defaultMobileAlign:"flext-start"})),(0,T.generateResponsiveRangeAttributes)(w,{defaultRange:410,defaultUnit:"px"})),(0,T.generateResponsiveRangeAttributes)(k));var L,F;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j.apply(null,arguments)}var H=function(e){return i.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),L||(L=i.createElement("path",{fill:"#6C3BFF",d:"M2 24.912C2 26.203 3.01 27.2 4.318 27.2h13.231c1.308 0 2.318-.997 2.318-2.288V6.288c0-1.292-1.01-2.288-2.318-2.288H4.318C3.009 4 2 4.996 2 6.288zM3.234 6.288c0-.59.523-1.218 1.233-1.218h13.194c.598 0 1.234.517 1.234 1.218v18.624c0 .59-.523 1.218-1.234 1.218H4.318c-.599 0-1.234-.517-1.234-1.218zM30.16 11.933h-7.92c-.277 0-.507-.24-.507-.533 0-.292.23-.533.507-.533h7.92c.277 0 .507.24.507.533 0 .292-.23.533-.507.533M30.16 7.933h-7.92c-.277 0-.507-.24-.507-.533 0-.292.23-.533.507-.533h7.92c.277 0 .507.24.507.533 0 .292-.23.533-.507.533M30.16 16.133h-7.92c-.278 0-.507-.24-.507-.533 0-.292.23-.533.506-.533h7.922c.277 0 .506.24.506.533 0 .292-.23.533-.506.533M27.023 20.333H22.31c-.316 0-.577-.24-.577-.533 0-.292.261-.533.577-.533h4.713c.316 0 .577.24.577.533 0 .292-.26.533-.577.533"})),F||(F=i.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M9.545 8.07c.138.1.22.26.22.43a1.235 1.235 0 1 0 2.47 0 .53.53 0 0 1 .697-.502l3.53 1.176a.53.53 0 0 1 .361.502v2.942a.53.53 0 0 1-.529.53H15.06v4.764a1.12 1.12 0 0 1-1.118 1.117H8.06a1.12 1.12 0 0 1-1.118-1.117v-4.765H5.706a.53.53 0 0 1-.53-.53v-2.94a.53.53 0 0 1 .362-.503l3.53-1.176a.53.53 0 0 1 .477.073m-3.31 1.988v2.03h1.236a.53.53 0 0 1 .529.53v5.294a.06.06 0 0 0 .059.059h5.882a.06.06 0 0 0 .059-.06v-5.293a.53.53 0 0 1 .53-.53h1.235v-2.03l-2.58-.86a2.295 2.295 0 0 1-4.37 0zM2.587 21.867a.48.48 0 0 1 .48-.48h16.172a.48.48 0 1 1 0 .96H3.067a.48.48 0 0 1-.48-.48",clipRule:"evenodd"})))};function z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function U(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?z(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const V=(0,s.memo)((0,b.compose)([(0,p.withSelect)(function(e,t){return{selectPostType:e("core/editor")?e("core/editor").getCurrentPostType():""}}),(0,T.withBlockContext)(M)])(function(e){var t,a,n,l,i,b,m,u,g,f,y,h=e.attributes,v=e.setAttributes,w=e.isSelected,k=e.selectPostType,R=h.blockId,_=h.enableContents,C=h.classHook,E=h.galleryPosition,x=h.type,S=h.disableNavArrow,B=(0,p.select)("core/editor").getCurrentPostType(),O=(0,s.useState)(null),I=(0,c.A)(O,2),D=I[0],A=I[1],M=(0,s.useState)(null),L=(0,c.A)(M,2),F=L[0],j=L[1],z=(0,s.useRef)(null),V=(0,s.useRef)(null);(0,s.useEffect)(function(){A(z),j(V)},[]),(0,s.useEffect)(function(){if("templately_library"===B){var e="post",t=(0,p.select)("core/editor").getEditedPostAttribute("templately_type");t&&(["product_archive","product_single"].includes(t)&&(e="product"),["course_archive","course_single"].includes(t)&&(e="sfwd-courses")),v({type:e})}else if("wp_template"===B){var a=(0,p.select)("core/editor").getEditedPostAttribute("slug").split("-"),n="post";a.length>1&&(n=a[1]),1===a.length&&"page"===a[0]&&(n="page"),v({type:n})}else v({type:k})},[]);var G=U(U({},e),{},{blockPrefix:"eb-product-images",style:React.createElement(P,(0,r.A)({},e,{isContentEnabled:function(e){return _.includes(e)}}))});return"product"!==x?React.createElement(T.NoticeComponent,{Icon:H,title:(0,o.__)("Product Images","essential-blocks"),description:(0,o.__)("This block is supported in single product template","essential-blocks")}):React.createElement(React.Fragment,null,w&&React.createElement(N,e),React.createElement(T.BlockProps.Edit,G,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(R," ").concat(C)},React.createElement("div",{className:"eb-product-images-wrapper ".concat(R),"data-id":R},React.createElement("div",{class:"eb-product-images"},React.createElement("div",{class:"eb-product-image_slider eb-product-gallery-".concat(E," eb-product-image-editor")},React.createElement("div",{class:"eb-product-image_slider-body"},React.createElement(d.A,{asNavFor:F,ref:function(e){return A(e)},arrows:!1},React.createElement("div",{className:"eb-product-image_slider-body-item"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/image-placeholder.jpg"),className:"eb-product-gallery-image"})),React.createElement("div",{className:"eb-product-image_slider-body-item"},React.createElement("img",{src:"".concat(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.image_url,"/image-placeholder.jpg"),className:"eb-product-gallery-image"})),React.createElement("div",{className:"eb-product-image_slider-body-item"},React.createElement("img",{src:"".concat(null===(n=EssentialBlocksLocalize)||void 0===n?void 0:n.image_url,"/image-placeholder.jpg"),className:"eb-product-gallery-image"})),React.createElement("div",{className:"eb-product-image_slider-body-item"},React.createElement("img",{src:"".concat(null===(l=EssentialBlocksLocalize)||void 0===l?void 0:l.image_url,"/image-placeholder.jpg"),className:"eb-product-gallery-image"})),React.createElement("div",{className:"eb-product-image_slider-body-item"},React.createElement("img",{src:"".concat(null===(i=EssentialBlocksLocalize)||void 0===i?void 0:i.image_url,"/image-placeholder.jpg"),className:"eb-product-gallery-image"})))),React.createElement(d.A,{asNavFor:D,ref:function(e){return j(e)},slidesToShow:3,swipeToSlide:!0,focusOnSelect:!0,vertical:"left"==E||"right"==E,arrows:!S,className:"eb-product-image_slider-footer"},React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(b=EssentialBlocksLocalize)||void 0===b?void 0:b.image_url,"/image-placeholder.jpg")})),React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(m=EssentialBlocksLocalize)||void 0===m?void 0:m.image_url,"/image-placeholder.jpg")})),React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(u=EssentialBlocksLocalize)||void 0===u?void 0:u.image_url,"/image-placeholder.jpg")})),React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(g=EssentialBlocksLocalize)||void 0===g?void 0:g.image_url,"/image-placeholder.jpg")})),React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(f=EssentialBlocksLocalize)||void 0===f?void 0:f.image_url,"/image-placeholder.jpg")})),React.createElement("div",{class:"eb-product-image_slider-footer-item"},React.createElement("img",{src:"".concat(null===(y=EssentialBlocksLocalize)||void 0===y?void 0:y.image_url,"/image-placeholder.jpg")})))))))))})),G=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Product Images","name":"essential-blocks/product-images","description":"Showcase eye-catching WooCommerce product images that draw in customers and are easy to customize.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var q;(0,T.ebConditionalRegisterBlockType)(G,{keywords:[(0,o.__)("product image gallery","essential-blocks"),(0,o.__)("product image","essential-blocks"),(0,o.__)("product image slider","essential-blocks"),(0,o.__)("product variation image","essential-blocks")],icon:H,attributes:M,edit:V,save:function(){return null},example:{attributes:{cover:"".concat(null===(q=EssentialBlocksLocalize)||void 0===q?void 0:q.image_url,"/block-preview/post-grid.jpeg")}}})},1117:(e,t,a)=>{var n=a(7723),o=a(1609),r=a(5694),l=a(6427),c="wrpMargin",i="buttonsPadding",s="Btn1Bg",p="Btn2Bg",b="buttonOneBorderShadow",d="buttonTwoBorderShadow",m="buttonsWidth",u="buttonsGap",g="buttonsConnectorSize",f="buttonsConnectorIconSize",y=((0,n.__)("Fill","essential-blocks"),(0,n.__)("Outline","essential-blocks"),(0,n.__)("Text","essential-blocks"),[{label:"px",value:"px"},{label:"em",value:"em"}]),h=[{label:"Custom Width",value:"custom"},{label:"Auto",value:"auto"}],v=[{label:(0,n.__)("Text","essential-blocks"),value:"text"},{label:(0,n.__)("Icon","essential-blocks"),value:"icon"}],w=[{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,n.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,n.__)("Preset 3","essential-blocks"),value:"preset-3"},{label:(0,n.__)("Preset 4","essential-blocks"),value:"preset-4"}],k=[{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-alignright"})),value:"right"}],R=[{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(l.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],_={buttonText:"buttonTextOne",textColor:"textOneColor",hoverTextColor:"hoverTextOneColor",buttonURL:"buttonURLOne"},C={buttonText:"buttonTextTwo",textColor:"textTwoColor",hoverTextColor:"hoverTextTwoColor",buttonURL:"buttonURLTwo"};var E=a(4467),x=a(8468),S="button",B="button_connector";const T=function(e){var t=e.attributes,a=e.setAttributes,o=t.preset,E=t.contentPosition,x=t.innerButtonText,T=t.innerButtonColor,N=t.innerButtonTextColor,P=t.innerButtonIcon,O=t.showConnector,I=t.connectorType,D=t.buttonTextAlign,A=t.buttonsWidthType;return React.createElement(r.InspectorPanel,{advancedControlProps:{marginPrefix:c,hasMargin:!0,hasPadding:!1,hasBackground:!1,hasBorder:!1}},React.createElement(r.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(l.SelectControl,{label:(0,n.__)("Preset Designs","essential-blocks"),value:o,options:w,onChange:function(e){return function(e){switch(e){case"preset-1":a({preset:e,showConnector:!0,buttonOneBorderShadowRds_Top:"20",buttonOneBorderShadowRds_Bottom:"0",buttonOneBorderShadowRds_Left:"20",buttonOneBorderShadowRds_Right:"0",buttonTwoBorderShadowRds_Top:"0",buttonTwoBorderShadowRds_Bottom:"20",buttonTwoBorderShadowRds_Left:"0",buttonTwoBorderShadowRds_Right:"20",buttonsGapRange:0,buttonOneBorderShadowHRds_Bottom:"0",buttonOneBorderShadowHRds_Left:"20",buttonOneBorderShadowHRds_Right:"0",buttonOneBorderShadowHRds_Top:"20",buttonTwoBorderShadowHRds_Bottom:"20",buttonTwoBorderShadowHRds_Left:"0",buttonTwoBorderShadowHRds_Right:"20",buttonTwoBorderShadowHRds_Top:"0"});break;case"preset-2":a({preset:e,showConnector:!1,buttonOneBorderShadowRds_Top:"30",buttonOneBorderShadowRds_Bottom:"30",buttonOneBorderShadowRds_Left:"30",buttonOneBorderShadowRds_Right:"30",buttonTwoBorderShadowRds_Top:"30",buttonTwoBorderShadowRds_Bottom:"30",buttonTwoBorderShadowRds_Left:"30",buttonTwoBorderShadowRds_Right:"30",buttonsGapRange:20,buttonOneBorderShadowHRds_Bottom:"30",buttonOneBorderShadowHRds_Left:"30",buttonOneBorderShadowHRds_Right:"30",buttonOneBorderShadowHRds_Top:"30",buttonTwoBorderShadowHRds_Bottom:"30",buttonTwoBorderShadowHRds_Left:"30",buttonTwoBorderShadowHRds_Right:"30",buttonTwoBorderShadowHRds_Top:"30"});break;case"preset-3":a({preset:e,showConnector:!1,buttonOneBorderShadowRds_Top:"0",buttonOneBorderShadowRds_Bottom:"0",buttonOneBorderShadowRds_Left:"15",buttonOneBorderShadowRds_Right:"15",buttonTwoBorderShadowRds_Top:"15",buttonTwoBorderShadowRds_Bottom:"15",buttonTwoBorderShadowRds_Left:"0",buttonTwoBorderShadowRds_Right:"0",buttonsGapRange:20,buttonOneBorderShadowHRds_Bottom:"0",buttonOneBorderShadowHRds_Left:"15",buttonOneBorderShadowHRds_Right:"15",buttonOneBorderShadowHRds_Top:"0",buttonTwoBorderShadowHRds_Bottom:"15",buttonTwoBorderShadowHRds_Left:"0",buttonTwoBorderShadowHRds_Right:"0",buttonTwoBorderShadowHRds_Top:"15"});break;case"preset-4":a({preset:e,showConnector:!1,buttonOneBorderShadowRds_Top:"30",buttonOneBorderShadowRds_Bottom:"30",buttonOneBorderShadowRds_Left:"30",buttonOneBorderShadowRds_Right:"30",buttonTwoBorderShadowRds_Top:"30",buttonTwoBorderShadowRds_Bottom:"30",buttonTwoBorderShadowRds_Left:"30",buttonTwoBorderShadowRds_Right:"30",buttonsGapRange:10,buttonOneBorderShadowHRds_Bottom:"30",buttonOneBorderShadowHRds_Left:"30",buttonOneBorderShadowHRds_Right:"30",buttonOneBorderShadowHRds_Top:"30",buttonTwoBorderShadowHRds_Bottom:"30",buttonTwoBorderShadowHRds_Left:"30",buttonTwoBorderShadowHRds_Right:"30",buttonTwoBorderShadowHRds_Top:"30"});break;default:return!1}}(e)}}),React.createElement(l.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(l.ButtonGroup,{id:"eb-button-group-alignment"},R.map(function(e,t){return React.createElement(l.Button,{key:t,isPrimary:E===e.value,isSecondary:E!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)})))),React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("Buttons","essential-blocks"),initialOpen:!0},React.createElement(l.BaseControl,{label:(0,n.__)("Button Width Type","essential-blocks")},React.createElement(l.SelectControl,{value:A,options:h,onChange:function(e){a({buttonsWidthType:e})}})),"custom"===A&&React.createElement(r.ResponsiveRangeController,{baseLabel:(0,n.__)("Buttons Width","essential-blocks"),controlName:m,units:y,min:0,max:500,step:1}),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,n.__)("Buttons Gap","essential-blocks"),controlName:u,units:y,min:0,max:100,step:1}),React.createElement(l.BaseControl,{label:(0,n.__)("Text Align","essential-blocks"),id:"eb-button-group-text-align"},React.createElement(l.ButtonGroup,{id:"eb-button-group-text-align"},k.map(function(e,t){return React.createElement(l.Button,{key:t,isPrimary:D===e.value,isSecondary:D!==e.value,onClick:function(){return a({buttonTextAlign:e.value})}},e.label)})))),React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("Connector","essential-blocks"),initialOpen:!0},React.createElement(l.ToggleControl,{label:(0,n.__)("Show Connector?","essential-blocks"),checked:O,onChange:function(){a({showConnector:!O})}}),O&&React.createElement(React.Fragment,null,React.createElement(l.BaseControl,{label:(0,n.__)("Connector Type","essential-blocks")},React.createElement(l.ButtonGroup,{id:"eb-button-group-connector-type"},v.map(function(e,t){return React.createElement(l.Button,{key:t,isPrimary:I===e.value,isSecondary:I!==e.value,onClick:function(){return a({connectorType:e.value})}},e.label)}))),"icon"===I&&React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("Icon Settings","essential-blocks"),initialOpen:!0},React.createElement(r.EBIconPicker,{value:P,title:(0,n.__)("Icon","essential-blocks"),attributeName:"innerButtonIcon"}),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:f,units:y,min:0,max:100,step:1})),"text"===I&&React.createElement(r.EBTextControl,{label:(0,n.__)("Text","essential-blocks"),value:x,onChange:function(e){return a({innerButtonText:e})},enableAi:!0}),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,n.__)("Connector Size","essential-blocks"),controlName:g,units:y,min:0,max:100,step:1}))),React.createElement(r.EBButton.GeneralTab,{label:(0,n.__)("Button One","essential-blocks"),buttonAttrProps:_,attrPrefix:"btn1",hasIcon:!1,hasAlignment:!1,hasWidth:!1}),React.createElement(r.EBButton.GeneralTab,{label:(0,n.__)("Button Two","essential-blocks"),buttonAttrProps:C,attrPrefix:"btn2",hasIcon:!1,hasAlignment:!1,hasWidth:!1}))),React.createElement(r.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("Buttons","essential-blocks"),initialOpen:!0},React.createElement(r.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(r.EBButton.StyleTab,{label:(0,n.__)("Button One","essential-blocks"),buttonAttrProps:_,attrPrefix:"btn1",hasTypography:!1,background:s,border:b,hasPadding:!1,hasHoverEffect:!1}),React.createElement(r.EBButton.StyleTab,{label:(0,n.__)("Button Two","essential-blocks"),buttonAttrProps:C,attrPrefix:"btn2",hasTypography:!1,typography:S,background:p,border:d,hasPadding:!1,padding:i,hasHoverEffect:!1}),React.createElement(r.ResponsiveDimensionsControl,{controlName:i,baseLabel:(0,n.__)("Padding","essential-blocks")})),React.createElement(r.InspectorPanel.PanelBody,{title:(0,n.__)("Connector","essential-blocks"),initialOpen:!1},React.createElement(r.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:B}),React.createElement(r.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:T,attributeName:"innerButtonColor"}),React.createElement(r.ColorControl,{label:(0,n.__)("Text/ Icon Color","essential-blocks"),color:N,attributeName:"innerButtonTextColor"})))))};function N(e){var t=e.setAttributes,a=e.name,n=(0,r.useBlockAttributes)(),o=n.blockId,l=n.contentPosition,y=n.innerButtonColor,h=n.innerButtonTextColor,v=n.connectorType,w=n.buttonTextAlign,k=n.buttonsWidthType,R=(0,r.generateTypographyStyles)({attributes:n,prefixConstant:S}),E=R.typoStylesDesktop,x=R.typoStylesTab,T=R.typoStylesMobile,N=(0,r.generateTypographyStyles)({attributes:n,prefixConstant:B}),P=N.typoStylesDesktop,O=N.typoStylesTab,I=N.typoStylesMobile,D=(0,r.generateDimensionsControlStyles)({controlName:c,styleFor:"margin",attributes:n}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,r.generateDimensionsControlStyles)({controlName:i,styleFor:"padding",attributes:n}),j=F.dimensionStylesDesktop,H=F.dimensionStylesTab,z=F.dimensionStylesMobile,U=(0,r.generateResponsiveRangeStyles)({controlName:m,property:"width",attributes:n}),V=U.rangeStylesDesktop,G=U.rangeStylesTab,q=U.rangeStylesMobile,W=(0,r.generateResponsiveRangeStyles)({controlName:u,property:"margin",attributes:n}),Z=W.rangeStylesDesktop,J=W.rangeStylesTab,Y=W.rangeStylesMobile,Q=(0,r.generateResponsiveRangeStyles)({controlName:g,property:"height",attributes:n}),X=Q.rangeStylesDesktop,$=Q.rangeStylesTab,K=Q.rangeStylesMobile,ee=(0,r.generateResponsiveRangeStyles)({controlName:g,property:"width",attributes:n}),te=ee.rangeStylesDesktop,ae=ee.rangeStylesTab,ne=ee.rangeStylesMobile,oe=(0,r.generateResponsiveRangeStyles)({controlName:g,property:"line-height",attributes:n}),re=oe.rangeStylesDesktop,le=oe.rangeStylesTab,ce=oe.rangeStylesMobile,ie=(0,r.generateResponsiveRangeStyles)({controlName:f,property:"font-size",attributes:n}),se=ie.rangeStylesDesktop,pe=ie.rangeStylesTab,be=ie.rangeStylesMobile,de="\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\talign-items: ").concat(l,";\n\t\t\tjustify-content: ").concat(l,";\n\t\t\tposition: relative;\n\t\t\t").concat(A,"\n\t\t}\n\t"),me="\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\t").concat(M,"\n\n\t\t}\n\t"),ue="\n\t\t.eb-button-group-wrapper.".concat(o,"{\n\t\t\t").concat(L,"\n\n\t\t}\n\t"),ge="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(j,"\n\t\t\t").concat("custom"===k?V:"width: auto;","\n\t\t\t").concat(Z,"\n\t\t\ttext-align: ").concat(w,";\n\t\t\tcursor: pointer;\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor .eb-button-text {\n\t\t\t").concat(E,"\n\t\t}\n\n\t\t.eb-button-group-wrapper.").concat(o,".preset-4 {\n\t\t\twidth: fit-content;\n\t\t\tmargin: ").concat("center"===l?"0 auto;":"flex-end"===l?"0 0 0 auto;":"auto 0;","\n\t\t}\n\t"),fe="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(H,"\n\t\t\t").concat("custom"===k?G:"width: auto;","\n\t\t\t").concat(J,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor .eb-button-text {\n\t\t\t").concat(x,"\n\t\t}\n\t"),ye="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-parent,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor {\n\t\t\t").concat(z,"\n\t\t\t").concat("custom"===k?q:"width: auto;","\n\t\t\t").concat(Y,"\n\t\t}\n\t\t.eb-button-group-wrapper.").concat(o," .eb-button-parent .eb-button-text,\n .eb-button-group-wrapper.").concat(o," .eb-button-anchor .eb-button-text {\n\t\t\t").concat(T,"\n\t\t}\n\t"),he="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===v?P:se,"\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(re,"\n\t\t\tbackground: ").concat(y,";\n\t\t\tcolor: ").concat(h,";\n\t\t}\n\t"),ve="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===v?O:pe,"\n\t\t\t").concat($,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(le,"\n\t\t}\n\t"),we="\n\t\t.eb-button-group-wrapper.".concat(o," .eb-button-group__midldeInner span {\n\t\t\t").concat("text"===v?I:be,"\n\t\t\t").concat(K,"\n\t\t\t").concat(ne,"\n\t\t\t").concat(ce,"\n\t\t}\n\t"),ke="eb-button-group-wrapper",Re=r.EBButton.Style(o,ke,_,"btn1","eb-button-one","",s,b,""),_e=Re.btnDesktopStyle,Ce=Re.btnTabStyle,Ee=Re.btnMobileStyle,xe=r.EBButton.Style(o,ke,C,"btn2","eb-button-two","",p,d,""),Se=xe.btnDesktopStyle,Be=xe.btnTabStyle,Te=xe.btnMobileStyle,Ne=(0,r.softMinifyCssStrings)("\n ".concat(de,"\n ").concat(ge,"\n ").concat(he,"\n ").concat(_e,"\n ").concat(Se,"\n ")),Pe=(0,r.softMinifyCssStrings)("\n\t\t\t".concat(me,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(ve,"\n ").concat(Ce,"\n ").concat(Be,"\n\t\t")),Oe=(0,r.softMinifyCssStrings)("\n\t\t\t".concat(ue,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(we,"\n ").concat(Ee,"\n ").concat(Te,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(r.StyleComponent,{attributes:n,setAttributes:t,desktopAllStyles:Ne,tabAllStyles:Pe,mobileAllStyles:Oe,blockName:a}))}function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,E.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=O(O(O(O(O(O(O(O(O(O(O({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"button-1"},contentPosition:{type:"string",default:"center"},buttonWidth:{type:"number",default:"auto"},buttonTextAlign:{type:"string",default:"center"},isHoverOne:{type:"boolean",default:!1},isHoverTwo:{type:"boolean",default:!1},innerButtonText:{type:"string",default:"OR"},innerButtonColor:{type:"string",default:"#fff"},innerButtonTextColor:{type:"string",default:"#000"},innerButtonIcon:{type:"string",default:"fas fa-arrows-alt-h"},showConnector:{type:"boolean",default:!0},connectorType:{type:"string",default:"text"},borderType:{type:"string",default:"normal"},buttonsColorType:{type:"string",default:"normal"},buttonsWidthType:{type:"string",default:"custom"}},null===r.EBButton||void 0===r.EBButton?void 0:r.EBButton.addAttributes(_,"btn1",!1,"",!0,{key:s,default:{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-secondary-color)",defaultHovFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"var(--eb-gradient-background-color)"}},!0,{key:b,default:{bdrDefaults:{top:2,bottom:2,right:2,left:2},rdsDefaults:{top:20,bottom:0,right:0,left:20,isLinked:!1}}},!1,"")),null===r.EBButton||void 0===r.EBButton?void 0:r.EBButton.addAttributes(C,"btn2",!1,"",!0,{key:p,default:{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-tertiary-color)",defaultHovFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"var(--eb-gradient-background-color)"}},!0,{key:d,default:{bdrDefaults:{top:2,bottom:2,right:2,left:2},rdsDefaults:{top:0,bottom:20,right:20,left:0,isLinked:!1}}})),(0,r.generateTypographyAttributes)(S,{fontSize:16})),(0,r.generateTypographyAttributes)(B,{fontSize:14})),(0,r.generateDimensionsAttributes)(c)),(0,r.generateDimensionsAttributes)("buttonsMargin")),(0,r.generateDimensionsAttributes)(i,{top:10,bottom:10,right:25,left:25,isLinked:!1})),(0,r.generateResponsiveRangeAttributes)(m,{defaultRange:200})),(0,r.generateResponsiveRangeAttributes)(u,{defaultRange:0})),(0,r.generateResponsiveRangeAttributes)(g,{defaultRange:30})),(0,r.generateResponsiveRangeAttributes)(f,{defaultRange:16}));function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,E.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=(0,x.memo)((0,r.withBlockContext)(I)(function(e){var t=e.attributes,a=e.isSelected,n=t.blockId,o=t.preset,l=t.innerButtonText,c=t.innerButtonIcon,i=t.showConnector,s=t.connectorType,p=t.classHook,b=A(A({},e),{},{blockPrefix:"eb-button-group",style:React.createElement(N,e)});return React.createElement(React.Fragment,null,a&&React.createElement(T,e),React.createElement(r.BlockProps.Edit,b,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(p)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(n," ").concat(o),"data-id":n},React.createElement(r.EBButton,{isSelected:a,className:"eb-button-one",buttonAttrProps:_,urlInput:!1}),i&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===s&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:c})),"text"===s&&React.createElement("span",null,l)),React.createElement(r.EBButton,{isSelected:a,className:"eb-button-two",buttonAttrProps:C,urlInput:!1})))))})),L=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Dual Button","apiVersion":2,"name":"essential-blocks/dual-button","category":"essential-blocks","description":"Create two buttons to be stacked together","textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');var F=a(8168),j=a(4715);function H(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?H(Object(a),!0).forEach(function(t){(0,E.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):H(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const U=[{attributes:z(z({},I),{},{buttonTextOne:{type:"string",default:"Button One"},buttonTextTwo:{type:"string",default:"Button Two"},textOneColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextOneColor:{type:"string",default:"var(--eb-global-button-text-color)"},textTwoColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextTwoColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonURLOne:{type:"string",default:"#"},buttonURLTwo:{type:"string",default:"#"},buttonOneNewWindow:{type:"boolean",default:!1},buttonTwoNewWindow:{type:"boolean",default:!1}}),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement(r.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:"#"===c?"":(0,r.sanitizeURL)(c)},u&&{target:"_blank"},{rel:"noopener"}),React.createElement(j.RichText.Content,{tagName:"div",className:"eb-button-text eb-button-one-text",value:o})),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:p})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:"#"===i?"":(0,r.sanitizeURL)(i)},g&&{target:"_blank"},{rel:"noopener"}),React.createElement(j.RichText.Content,{tagName:"div",className:"eb-button-text eb-button-two-text",value:l})))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement("div",j.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:"#"===c?"":c},u&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:p})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:"#"===i?"":i},g&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},l)))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement("div",j.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:c},u&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:p})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:"#"===i?"":i},g&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},l)))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:c},u&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:p})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:i},g&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},l))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement("div",j.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:(0,r.sanitizeURL)(c)},u&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:p})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:(0,r.sanitizeURL)(i)},g&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},l)))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType,m=t.classHook,u=t.buttonOneNewWindow,g=t.buttonTwoNewWindow;return React.createElement("div",j.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-one",href:(0,r.sanitizeURL)(c)},u&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement("i",{className:"".concat(p||"fas fa-arrows-alt-h")})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",(0,F.A)({className:"eb-button-parent eb-button-two",href:(0,r.sanitizeURL)(i)},g&&{target:"_blank"},{rel:"noopener"}),React.createElement("div",{className:"eb-button-text eb-button-two-text"},l)))))}},{attributes:z({},I),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.buttonTextOne,l=t.buttonTextTwo,c=t.buttonURLOne,i=t.buttonURLTwo,s=t.innerButtonText,p=t.innerButtonIcon,b=t.showConnector,d=t.connectorType;return React.createElement("div",j.useBlockProps.save(),React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement("a",{className:"eb-button-parent eb-button-one",href:(0,r.sanitizeURL)(c)},React.createElement("div",{className:"eb-button-text eb-button-one-text"},o)),b&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===d&&React.createElement("span",null,React.createElement("i",{className:"".concat(p||"fas fa-arrows-alt-h")})),"text"===d&&React.createElement("span",null,s)),React.createElement("a",{className:"eb-button-parent eb-button-two",href:(0,r.sanitizeURL)(i)},React.createElement("div",{className:"eb-button-text eb-button-two-text"},l))))}}];var V,G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}(0,r.ebConditionalRegisterBlockType)(L,{keywords:[(0,n.__)("buttons","essential-blocks"),(0,n.__)("grouped button","essential-blocks"),(0,n.__)("Button Group","essential-blocks"),(0,n.__)("dual","essential-blocks")],attributes:I,icon:function(e){return o.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 66 70"},e),V||(V=o.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},o.createElement("path",{d:"M33.3 22.4H4.7C2.1 22.4 0 24.6 0 27v14.3c0 2.6 2.2 4.6 4.6 4.6H33c2.6 0 4.6-2.2 4.6-4.6V27c.3-2.6-1.9-4.6-4.3-4.6m1.8 18.9c0 1.2-1 2-2 2H4.7c-1.2 0-2-1-2-2V27c0-1.2 1-2 2-2h28.4c1.2 0 2 1 2 2z"}),o.createElement("path",{d:"M61.7 22.4H39.8c-2.6 0-4.7 2.2-4.7 4.6v14.3c0 2.6 2.2 4.6 4.6 4.6h21.7c2.6 0 4.6-2.2 4.6-4.6V27c.3-2.6-1.9-4.6-4.3-4.6m1.8 18.9c0 1.2-1 2-2 2H39.8c-1.2 0-2-1-2-2V27c0-1.2 1-2 2-2h21.7c1.2 0 2 1 2 2zM25.6 35.8H11.8c-.7 0-1.4-.6-1.4-1.4 0-.7.6-1.4 1.4-1.4h13.8c.7 0 1.4.6 1.4 1.4-.1.8-.7 1.4-1.4 1.4"}),o.createElement("path",{d:"M54.5 35.5H44.3c-.7 0-1.4-.6-1.4-1.4 0-.7.6-1.4 1.4-1.4h10.2c.7 0 1.4.6 1.4 1.4-.1.8-.7 1.4-1.4 1.4"}))),G||(G=o.createElement("defs",null,o.createElement("clipPath",{id:"icon_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h66v70H0z"})))))},edit:M,save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.innerButtonText,l=t.innerButtonIcon,c=t.showConnector,i=t.connectorType,s=t.classHook;return React.createElement(r.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(s)},React.createElement("div",{className:"eb-button-group-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(r.EBButton.Content,{attributes:t,className:"eb-button-one",buttonAttrProps:_,attrPrefix:"btn1",tagName:"div"}),c&&React.createElement("div",{className:"eb-button-group__midldeInner"},"icon"===i&&React.createElement("span",null,React.createElement(r.EBDisplayIcon,{icon:l})),"text"===i&&React.createElement("span",null,o)),React.createElement(r.EBButton.Content,{attributes:t,className:"eb-button-two",buttonAttrProps:C,attrPrefix:"btn2",tagName:"div"}))))},example:{attributes:{showConnector:"true",buttonOneBorderShadowRds_Top:20,buttonOneBorderShadowRds_Bottom:0,buttonOneBorderShadowRds_Left:20,buttonOneBorderShadowRds_Right:0,buttonTwoBorderShadowRds_Top:0,buttonTwoBorderShadowRds_Bottom:20,buttonTwoBorderShadowRds_Left:0,buttonTwoBorderShadowRds_Right:20,buttonsGapRange:0}},deprecated:U})},1225:(e,t,a)=>{var n=a(4467),o=a(7723),r=a(1609),l=a(8468),c=a(6427),i=a(4871),s=a.n(i),p=EssentialBlocksLocalize.wpforms_lists&&JSON.parse(EssentialBlocksLocalize.wpforms_lists),b=p&&p.map(function(e,t){return{label:e.label,value:e.value}}),d=[{label:React.createElement(c.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(c.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(c.Dashicon,{icon:"editor-alignright"}),value:"right"}],m=[{label:React.createElement(c.Dashicon,{icon:"remove"}),value:"none"},{label:React.createElement(c.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(c.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(c.Dashicon,{icon:"editor-alignright"}),value:"right"}],u=[{label:(0,o.__)("Full Width","essential-blocks"),value:"full_width"},{label:(0,o.__)("Custom","essential-blocks"),value:"custom"}],g="inpTxtIndent",f="inpWidth",y="inpHeight",h="txtWidth",v="txtHeight",w="inpTxtPadding",k="inpTxtSpacing",R="lblSpacing",_="btnWidth",C="btnPadding",E="btnMargin",x="btnBorder",S="inpTxtBorder",B="successBrd",T="errorPadding",N="errorMargin",P="checkSize",O="checkBdr",I="checkRad",D="radioRad",A="formWidth",M="formBorder",L="formMargin",F="formPadding",j="label",H="inpTxt",z="subBtn",U="success",V="error",G=a(5694);function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function W(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Z=W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formActive:{type:"string"},formId:{type:"string"},showLabels:{type:"boolean",default:!0},showPlaceholder:{type:"boolean",default:!0},showErrorMessage:{type:"boolean",default:!0},customCheckboxStyle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},inputHoverType:{type:"string",default:"normal"},inputBackgroundColor:{type:"string",default:"var(--eb-global-background-color)"},inputFocusBackgroundColor:{type:"string"},inputTextColor:{type:"string",default:"var(--eb-global-text-color)"},placeholderColor:{type:"string"},sectionBreakContent:{type:"string",default:"center"},sectionBreakColor:{type:"string"},sectionBreakDescColor:{type:"string"},btnWidthType:{type:"string",default:"custom"},btnAlignment:{type:"string",default:"left"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},btnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverType:{type:"string",default:"normal"},sectionBreakPosition:{type:"string",default:"center"},successColor:{type:"string"},successBackgroundColor:{type:"string"},errorColor:{type:"string"},checkboxSwitcher:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBorderColor:{type:"string"},checkboxCheckedColor:{type:"string"},formBackgroundColor:{type:"string"},formAlignment:{type:"string",default:"none"}},(0,G.generateTypographyAttributes)(j)),(0,G.generateTypographyAttributes)(H)),(0,G.generateTypographyAttributes)(z)),(0,G.generateTypographyAttributes)(U)),(0,G.generateTypographyAttributes)(V)),(0,G.generateResponsiveRangeAttributes)(g)),(0,G.generateResponsiveRangeAttributes)(f)),(0,G.generateResponsiveRangeAttributes)(y)),(0,G.generateResponsiveRangeAttributes)(h)),(0,G.generateResponsiveRangeAttributes)(v)),(0,G.generateResponsiveRangeAttributes)(k)),(0,G.generateResponsiveRangeAttributes)(_)),(0,G.generateResponsiveRangeAttributes)(P)),(0,G.generateResponsiveRangeAttributes)(O,{noUnits:!0,defaultUnit:"px"})),(0,G.generateResponsiveRangeAttributes)(A)),(0,G.generateDimensionsAttributes)(R)),(0,G.generateDimensionsAttributes)(w)),(0,G.generateDimensionsAttributes)(C)),(0,G.generateDimensionsAttributes)(E)),(0,G.generateDimensionsAttributes)(T)),(0,G.generateDimensionsAttributes)(N)),(0,G.generateDimensionsAttributes)(I)),(0,G.generateDimensionsAttributes)(D)),(0,G.generateDimensionsAttributes)(L,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,G.generateDimensionsAttributes)(F,{top:0,right:15,bottom:0,left:15,isLinked:!1})),(0,G.generateBorderShadowAttributes)(S)),(0,G.generateBorderShadowAttributes)(x)),(0,G.generateBorderShadowAttributes)(B)),(0,G.generateBorderShadowAttributes)(M)),J=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.showLabels),r=t.showPlaceholder,l=t.showErrorMessage,i=t.labelColor,s=t.inputHoverType,p=t.inputBackgroundColor,b=t.inputTextColor,q=t.inputFocusBackgroundColor,W=t.placeHolderColor,Z=t.btnWidthType,J=t.btnAlignment,Y=t.btnHoverType,Q=t.btnBackgroundColor,X=t.btnColor,$=t.btnBackgroundHoverColor,K=t.btnHoverColor,ee=t.successBackgroundColor,te=t.successColor,ae=t.errorColor,ne=t.customCheckboxStyle,oe=t.checkboxSwitcher,re=t.checkboxColor,le=t.checkboxBorderColor,ce=t.checkboxCheckedColor,ie=t.formBackgroundColor,se=t.formAlignment;return React.createElement(G.InspectorPanel,{advancedControlProps:{marginPrefix:L,paddingPrefix:F,borderPrefix:M,hasMargin:!0,hasBackground:!1}},React.createElement(G.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("WPForms","essential-blocks"),initialOpen:!0},React.createElement(c.ToggleControl,{label:(0,o.__)("Show Labels","essential-blocks"),checked:n,onChange:function(e){return a({showLabels:e})}}),React.createElement(c.ToggleControl,{label:(0,o.__)("Show Placeholder","essential-blocks"),checked:r,onChange:function(e){return a({showPlaceholder:e})}}),React.createElement(c.ToggleControl,{label:(0,o.__)("Show Error Message","essential-blocks"),checked:l,onChange:function(e){return a({showErrorMessage:e})}})))),React.createElement(G.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Labels","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(G.ResponsiveDimensionsControl,{controlName:R,baseLabel:(0,o.__)("Margin","essential-blocks")}),React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:i,attributeName:"labelColor"}),React.createElement(G.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:j}))),React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Input & Textarea","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("FOCUS","essential-blocks"),value:"focus"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:s===n,isSecondary:s!==n,onClick:function(){return a({inputHoverType:n})}},o)}))),"normal"===s&&React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:p,attributeName:"inputBackgroundColor"}),React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:b,attributeName:"inputTextColor"})),"focus"===s&&React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:q,attributeName:"inputFocusBackgroundColor"})),React.createElement(G.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:H}),React.createElement(c.__experimentalDivider,null),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Text Indent","essential-blocks"),controlName:g,min:0,max:60,step:1}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Input Width","essential-blocks"),controlName:f,min:0,max:1200,step:1}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Input Height","essential-blocks"),controlName:y,min:0,max:200,step:1}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Textarea Width","essential-blocks"),controlName:h,min:0,max:1200,step:1}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Textarea Height","essential-blocks"),controlName:v,min:0,max:400,step:1}),React.createElement(c.__experimentalDivider,null),React.createElement(G.ResponsiveDimensionsControl,{controlName:w,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Spacing","essential-blocks"),controlName:k,min:0,max:100,step:1})),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Border & Shadow","essential-blocks"))),React.createElement(G.BorderShadowControl,{controlName:S})),React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Placeholder","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:W,attributeName:"placeHolderColor"}))),React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Radio & Checkbox","essential-blocks"),initialOpen:!1},React.createElement(c.ToggleControl,{label:(0,o.__)("Custom Style","essential-blocks"),checked:ne,onChange:function(e){return a({customCheckboxStyle:e})}}),ne&&React.createElement(React.Fragment,null,React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Size","essential-blocks"),controlName:P,min:0,max:80,step:1}),React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("CHECKED","essential-blocks"),value:"checked"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:Y===n,isSecondary:Y!==n,onClick:function(){return a({checkboxSwitcher:n})}},o)}))),"normal"===oe&&React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:re,attributeName:"checkboxColor"}),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Border Width","essential-blocks"),controlName:O,min:0,max:15,step:1,noUnits:!0}),React.createElement(G.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:le,attributeName:"checkboxBorderColor"}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Checkbox","essential-blocks"))),React.createElement(G.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,o.__)("Border Radius","essential-blocks")}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Radio Buttons","essential-blocks"))),React.createElement(G.ResponsiveDimensionsControl,{controlName:D,baseLabel:(0,o.__)("Border Radius","essential-blocks")})),"checked"===oe&&React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:ce,attributeName:"checkboxCheckedColor"}))),React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Submit","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,"custom"===Z&&React.createElement(c.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(c.ButtonGroup,{id:"eb-button-group-alignment"},d.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:J===e.value,isSecondary:J!==e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)}))),React.createElement(c.SelectControl,{label:(0,o.__)("Width","essential-blocks"),value:Z,options:u,onChange:function(e){return a({btnWidthType:e})}}),"custom"===Z&&React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Width","essential-blocks"),controlName:_,min:0,max:1200,step:1}),React.createElement(G.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:z}),React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("HOVER","essential-blocks"),value:"hover"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:Y===n,isSecondary:Y!==n,onClick:function(){return a({btnHoverType:n})}},o)}))),"normal"===Y&&React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:Q,attributeName:"btnBackgroundColor"}),React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:X,attributeName:"btnColor"})),"hover"===Y&&React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:$,attributeName:"btnBackgroundHoverColor"}),React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:K,attributeName:"btnHoverColor"})),React.createElement(c.__experimentalDivider,null),React.createElement(G.ResponsiveDimensionsControl,{controlName:C,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(G.ResponsiveDimensionsControl,{controlName:E,baseLabel:(0,o.__)("Margin","essential-blocks")}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Border & Shadow","essential-blocks"))),React.createElement(G.BorderShadowControl,{controlName:x}))),React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Success Message","essential-blocks"),initialOpen:!1},React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:ee,attributeName:"successBackgroundColor"}),React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:te,attributeName:"successColor"}),React.createElement(G.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:U}),React.createElement(G.BorderShadowControl,{controlName:B,noShadow:!0})),l&&React.createElement(G.InspectorPanel.PanelBody,{title:(0,o.__)("Error Message","essential-blocks"),initialOpen:!1},React.createElement(G.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:ae,attributeName:"errorColor"}),React.createElement(G.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:V}),React.createElement(G.ResponsiveDimensionsControl,{controlName:T,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(G.ResponsiveDimensionsControl,{controlName:N,baseLabel:(0,o.__)("Margin","essential-blocks")})))),React.createElement(G.InspectorPanel.Advanced,null,React.createElement(React.Fragment,null,React.createElement(G.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(G.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:ie,attributeName:"formBackgroundColor"}),React.createElement(c.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(c.ButtonGroup,{id:"eb-button-group-alignment"},m.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:se===e.value,isSecondary:se!==e.value,onClick:function(){return a({formAlignment:e.value})}},e.label)}))),React.createElement(G.ResponsiveRangeController,{baseLabel:(0,o.__)("Form Max Width","essential-blocks"),controlName:A,min:0,max:1500,step:1}))))))};var Y;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Q.apply(null,arguments)}var X=function(e){return r.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),Y||(Y=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M52.714 0H3.857C1.8 0 0 1.8 0 3.857V52.8c0 1.971 1.8 3.771 3.857 3.771H52.8c2.057 0 3.857-1.8 3.857-3.857V3.857C56.571 1.8 54.771 0 52.714 0M2.057 3.857c0-1.114.857-1.8 1.8-1.8H52.8c1.114 0 1.8.857 1.8 1.8v3.857H1.886V3.857zm50.657 50.657H3.857c-1.114 0-1.8-.857-1.8-1.8V9.43h52.457v43.285c0 .943-.857 1.8-1.8 1.8z"}),r.createElement("path",{d:"M41.571 27.857H9c-1.114 0-1.8.857-1.8 1.8v11.229c0 1.114.857 1.8 1.8 1.8h32.571c1.115 0 1.8-.857 1.8-1.8V29.657c0-.943-.685-1.8-1.8-1.8m0 13.2H9V29.83h32.571zM5.657 3.857H4.8c-.429 0-.857.429-.857.857 0 .429.428.857.857.857h.857c.429 0 .857-.428.857-.857 0-.428-.257-.857-.857-.857m4.714 0h-.857c-.428 0-.857.429-.857.857 0 .429.429.857.857.857h.857c.429 0 .858-.428.858-.857 0-.428-.258-.857-.858-.857m4.715 0h-.857c-.429 0-.858.429-.858.857 0 .429.429.857.858.857h.857c.428 0 .857-.428.857-.857 0-.428-.257-.857-.857-.857M8.057 17.486h14.486c.428 0 .857-.429.857-.857 0-.429-.429-.858-.857-.858H8.057c-.428 0-.857.429-.857.858 0 .428.429.857.857.857m19.8 0h14.486c.428 0 .857-.429.857-.857 0-.429-.428-.858-.857-.858H27.857c-.428 0-.857.429-.857.858-.086.428.429.857.857.857m-9 30.514H8.83c-.429 0-.858.429-.858.857 0 .429.429.857.858.857h10.028c.429 0 .857-.428.857-.857.086-.343-.171-.857-.857-.857z"}),r.createElement("path",{d:"M52.714 0H3.857C1.543 0 0 1.8 0 3.857V52.8c0 2.229 1.8 3.771 3.857 3.771H52.8c2.229 0 3.857-1.8 3.857-3.857V3.857C56.571 1.543 54.771 0 52.714 0m1.8 52.714c0 .857-.857 1.8-1.8 1.8H3.857c-.857 0-1.8-.857-1.8-1.8V9.43H54.6v43.285zm0-45.343H2.057V3.857c0-.857.857-1.8 1.8-1.8H52.8c.857 0 1.8.857 1.8 1.8v3.514z"}),r.createElement("path",{d:"M9 43.114h32.571c1.115 0 2.058-.857 2.058-2.057V29.83c0-1.115-.858-2.058-2.058-2.058H9c-1.114 0-2.057.858-2.057 2.058v11.228c0 1.114.943 2.057 2.057 2.057zm.257-13.285h32.314V40.8H9.257zM5.657 3.6H4.8c-.686 0-1.114.429-1.114 1.114 0 .686.428 1.115 1.114 1.115h.857c.686 0 1.114-.429 1.114-1.115S6.257 3.6 5.657 3.6m4.714 0h-.857C8.83 3.6 8.4 4.029 8.4 4.714c0 .686.429 1.115 1.114 1.115h.857c.686 0 1.115-.429 1.115-1.115S10.971 3.6 10.371 3.6m4.715 0h-.857c-.686 0-1.115.429-1.115 1.114 0 .686.429 1.115 1.115 1.115h.857c.685 0 1.114-.429 1.114-1.115S15.686 3.6 15.086 3.6M8.057 17.486h14.829c.685 0 1.114-.429 1.114-1.115s-.429-1.114-1.114-1.114H8.057c-.686 0-1.114.429-1.114 1.114 0 .686.686 1.115 1.114 1.115m19.8 0h14.829c.685 0 1.114-.429 1.114-1.115s-.429-1.114-1.114-1.114H27.857c-.686 0-1.114.429-1.114 1.114.171.686.686 1.115 1.114 1.115m-9 30.343H8.571c-.685 0-1.114.428-1.114 1.114s.429 1.114 1.114 1.114h10.286c.686 0 1.114-.428 1.114-1.114s-.428-1.114-1.114-1.114m-10.8-24h34.8c.686 0 1.114-.429 1.114-1.115s-.428-1.114-1.114-1.114h-34.8c-.686 0-1.114.429-1.114 1.114 0 .6.686 1.115 1.114 1.115"}),r.createElement("path",{d:"M42.857 21.771h-34.8c-.428 0-.857.429-.857.858 0 .428.429.857.857.857h34.457c.429 0 .857-.429.857-.857.6-.429.172-.858-.514-.858"}))))};function $(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.labelColor),l=t.inputBackgroundColor,c=t.inputTextColor,i=t.inputFocusBackgroundColor,s=t.placeHolderColor,p=t.btnAlignment,b=t.btnWidthType,d=t.btnBackgroundColor,m=t.btnColor,u=t.btnBackgroundHoverColor,q=t.btnHoverColor,W=t.successBackgroundColor,Z=t.successColor,J=t.errorColor,Y=t.checkboxColor,Q=t.checkboxBorderColor,X=t.checkboxCheckedColor,$=t.formBackgroundColor,K=t.showErrorMessage,ee=(t.classHook,(0,G.generateDimensionsControlStyles)({controlName:R,styleFor:"margin",attributes:t})),te=ee.dimensionStylesDesktop,ae=ee.dimensionStylesTab,ne=ee.dimensionStylesMobile,oe=(0,G.generateTypographyStyles)({attributes:t,prefixConstant:j}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,G.generateTypographyStyles)({attributes:t,prefixConstant:H}),se=ie.typoStylesDesktop,pe=ie.typoStylesTab,be=ie.typoStylesMobile,de=(0,G.generateResponsiveRangeStyles)({controlName:g,property:"text-indent",attributes:t}),me=de.rangeStylesDesktop,ue=de.rangeStylesTab,ge=de.rangeStylesMobile,fe=(0,G.generateResponsiveRangeStyles)({controlName:f,property:"width",attributes:t}),ye=fe.rangeStylesDesktop,he=fe.rangeStylesTab,ve=fe.rangeStylesMobile,we=(0,G.generateResponsiveRangeStyles)({controlName:y,property:"height",attributes:t}),ke=we.rangeStylesDesktop,Re=we.rangeStylesTab,_e=we.rangeStylesMobile,Ce=(0,G.generateResponsiveRangeStyles)({controlName:h,property:"width",attributes:t}),Ee=Ce.rangeStylesDesktop,xe=Ce.rangeStylesTab,Se=Ce.rangeStylesMobile,Be=(0,G.generateResponsiveRangeStyles)({controlName:v,property:"height",attributes:t}),Te=Be.rangeStylesDesktop,Ne=Be.rangeStylesTab,Pe=Be.rangeStylesMobile,Oe=(0,G.generateDimensionsControlStyles)({controlName:w,styleFor:"padding",attributes:t}),Ie=Oe.dimensionStylesDesktop,De=Oe.dimensionStylesTab,Ae=Oe.dimensionStylesMobile,Me=(0,G.generateResponsiveRangeStyles)({controlName:k,property:"margin-bottom",attributes:t}),Le=Me.rangeStylesDesktop,Fe=Me.rangeStylesTab,je=Me.rangeStylesMobile,He=(0,G.generateBorderShadowStyles)({controlName:S,attributes:t}),ze=He.styesDesktop,Ue=He.styesTab,Ve=He.styesMobile,Ge=He.stylesHoverDesktop,qe=He.stylesHoverTab,We=He.stylesHoverMobile,Ze=He.transitionStyle,Je=(0,G.generateResponsiveRangeStyles)({controlName:_,property:"width",attributes:t}),Ye=Je.rangeStylesDesktop,Qe=Je.rangeStylesTab,Xe=Je.rangeStylesMobile,$e=(0,G.generateTypographyStyles)({attributes:t,prefixConstant:z}),Ke=$e.typoStylesDesktop,et=$e.typoStylesTab,tt=$e.typoStylesMobile,at=(0,G.generateDimensionsControlStyles)({controlName:C,styleFor:"padding",attributes:t}),nt=at.dimensionStylesDesktop,ot=at.dimensionStylesTab,rt=at.dimensionStylesMobile,lt=(0,G.generateDimensionsControlStyles)({controlName:E,styleFor:"margin",attributes:t}),ct=lt.dimensionStylesDesktop,it=lt.dimensionStylesTab,st=lt.dimensionStylesMobile,pt=(0,G.generateBorderShadowStyles)({controlName:x,attributes:t}),bt=pt.styesDesktop,dt=pt.styesTab,mt=pt.styesMobile,ut=pt.stylesHoverDesktop,gt=pt.stylesHoverTab,ft=pt.stylesHoverMobile,yt=pt.transitionStyle,ht=(0,G.generateTypographyStyles)({attributes:t,prefixConstant:U}),vt=ht.typoStylesDesktop,wt=ht.typoStylesTab,kt=ht.typoStylesMobile,Rt=(0,G.generateBorderShadowStyles)({controlName:B,attributes:t,noShadow:!0}),_t=Rt.styesDesktop,Ct=Rt.styesTab,Et=Rt.styesMobile,xt=Rt.stylesHoverDesktop,St=Rt.stylesHoverTab,Bt=Rt.stylesHoverMobile,Tt=Rt.transitionStyle,Nt=(0,G.generateTypographyStyles)({attributes:t,prefixConstant:V}),Pt=Nt.typoStylesDesktop,Ot=Nt.typoStylesTab,It=Nt.typoStylesMobile,Dt=(0,G.generateDimensionsControlStyles)({controlName:T,styleFor:"padding",attributes:t}),At=Dt.dimensionStylesDesktop,Mt=Dt.dimensionStylesTab,Lt=Dt.dimensionStylesMobile,Ft=(0,G.generateDimensionsControlStyles)({controlName:N,styleFor:"margin",attributes:t}),jt=Ft.dimensionStylesDesktop,Ht=Ft.dimensionStylesTab,zt=Ft.dimensionStylesMobile,Ut=(0,G.generateResponsiveRangeStyles)({controlName:P,property:"width",attributes:t}),Vt=Ut.rangeStylesDesktop,Gt=Ut.rangeStylesTab,qt=Ut.rangeStylesMobile,Wt=(0,G.generateResponsiveRangeStyles)({controlName:P,property:"height",attributes:t}),Zt=Wt.rangeStylesDesktop,Jt=Wt.rangeStylesTab,Yt=Wt.rangeStylesMobile,Qt=(0,G.generateResponsiveRangeStyles)({controlName:O,property:"border-width",attributes:t,customUnit:"px"}),Xt=Qt.rangeStylesDesktop,$t=Qt.rangeStylesTab,Kt=Qt.rangeStylesMobile,ea=(0,G.generateDimensionsControlStyles)({controlName:I,styleFor:"border-radius",attributes:t}),ta=ea.dimensionStylesDesktop,aa=ea.dimensionStylesTab,na=ea.dimensionStylesMobile,oa=(0,G.generateDimensionsControlStyles)({controlName:D,styleFor:"border-radius",attributes:t}),ra=oa.dimensionStylesDesktop,la=oa.dimensionStylesTab,ca=oa.dimensionStylesMobile,ia=(0,G.generateResponsiveRangeStyles)({controlName:A,property:"max-width",attributes:t}),sa=ia.rangeStylesDesktop,pa=ia.rangeStylesTab,ba=ia.rangeStylesMobile,da=(0,G.generateDimensionsControlStyles)({controlName:F,styleFor:"padding",attributes:t}),ma=da.dimensionStylesDesktop,ua=da.dimensionStylesTab,ga=da.dimensionStylesMobile,fa=(0,G.generateDimensionsControlStyles)({controlName:L,styleFor:"margin",attributes:t}),ya=fa.dimensionStylesDesktop,ha=fa.dimensionStylesTab,va=fa.dimensionStylesMobile,wa=(0,G.generateBorderShadowStyles)({controlName:M,attributes:t}),ka=wa.styesDesktop,Ra=wa.styesTab,_a=wa.styesMobile,Ca=wa.stylesHoverDesktop,Ea=wa.stylesHoverTab,xa=wa.stylesHoverMobile,Sa=wa.transitionStyle,Ba="\n\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat($?"background: ".concat($,";"):"","\n\t\t\t").concat(sa,"\n\t\t\t").concat(ma,"\n\t\t\t").concat(ya,"\n\t\t\t").concat(ka,"\n\t\t\ttransition: ").concat(Sa,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(Ca,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(re,"\n\t\t\t").concat(te,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form textarea:disabled, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(se,"\n\t\t\t").concat(me||"","\n\t\t\t").concat(Ie,"\n\t\t\t").concat(ze,"\n\t\t\t").concat(l?"background-color: ".concat(l,";"):"","\n\t\t\t").concat(c?"color: ".concat(c,";"):"","\n\t\t\ttransition: ").concat(Ze,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(Ge,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::focus, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea::focus {\n\t\t\t").concat(i?"background-color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(ye||"","\n\t\t\t").concat(ke||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea {\n\t\t\t").concat(Ee||"","\n\t\t\t").concat(Te||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(Le||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field input::-webkit-input-placeholder, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea::-webkit-input-placeholder {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t").concat("custom"===b?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container {\n\t\t\ttext-align: ").concat(p,";\n\t\t}\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Ye,"\n\t\t}\n\t\t"):"\n\t\t\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t"),"\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container input[type=submit]:disabled,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container button[type=submit]:disabled,\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-page-button:disabled,\n .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form .wpforms-submit,\n .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form input[type=submit]:disabled,\n .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form button[type=submit]:disabled,\n .").concat(o,".eb-wpforms-wrapper .wpforms-gutenberg-form-selector.wpforms-render-modern.wpforms-container-full .wpforms-form .wpforms-page-button:disabled,\n .").concat(o,".eb-wpforms-wrapper div.wpforms-container-full button[type=submit]:not(:hover):not(:active)\n\t\t {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(nt,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(d?"background-color: ".concat(d,";"):"","\n\t\t\t").concat(m?"color: ".concat(m,";"):"","\n\t\t\ttransition: all 0.5s, ").concat(yt,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit:hover {\n\t\t\t").concat(ut,"\n\t\t\t").concat(u?"background-color: ".concat(u,";"):"","\n\t\t\t").concat(q?"color: ".concat(q,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(W?"background-color: ".concat(W,";"):"","\n\t\t\t").concat(Z?"color: ".concat(Z,";"):"","\n\t\t\t").concat(vt,"\n\t\t\t").concat(_t,"\n\t\t\ttransition: ").concat(Tt,";\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat(xt,"\n\t\t}\n\n\t\t").concat(K?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(Pt,"\n\t\t\t").concat(At,"\n\t\t\t").concat(jt,"\n\t\t\t").concat(J?"color: ".concat(J,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field input.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field input.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select.wpforms-error, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select.user-invalid, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field.wpforms-has-error .choices__inner {\n\t\t\tborder-color: ").concat(J,";\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(Vt,"\n\t\t\t").concat(Zt,"\n\t\t\t").concat(Xt,"\n\t\t\t").concat(Y?"background: ".concat(Y,";"):"","\n\t\t\t").concat(Q?"border-color: ".concat(Q,";"):"","\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(ta,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(ra,"\n\t\t}\n\n\t\t").concat(X?"\n\t\t\t.".concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:checked:before,\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:checked:before {\nbackground: ').concat(X,";\n\t\t}\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-alignment-center {\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-alignment-right {\n\t\t\tmargin: 0 0 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field .wpforms-field-label,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-errormessage label.wpforms-error {\n\t\t\tdisplay: none !important;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field.wpforms-field-radio .wpforms-field-label,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-labels .wpforms-field.wpforms-field-checkbox .wpforms-field-label {\n\t\t\tdisplay: block !important;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input::-webkit-input-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea::-webkit-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input::-moz-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea::-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input:-ms-input-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea:-ms-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder input:-moz-placeholder,\n\t\t.").concat(o,".eb-wpforms-wrapper.eb-wpforms-hide-placeholder textarea:-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\t"),Ta="\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(pa,"\n\t\t\t").concat(ua,"\n\t\t\t").concat(ha,"\n\t\t\t").concat(Ra,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(Ea,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(le,"\n\t\t\t").concat(ae,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(pe,"\n\t\t\t").concat(ue,"\n\t\t\t").concat(De,"\n\t\t\t").concat(Ue,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(qe,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(he||"","\n\t\t\t").concat(Re||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea {\n\t\t\t").concat(xe||"","\n\t\t\t").concat(Ne||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(Fe||"","\n\t\t}\n\n\t\t").concat("custom"===b?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(et,"\n\t\t\t").concat(ot,"\n\t\t\t").concat(it,"\n\t\t\t").concat(dt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container:hover .wpforms-submit {\n\t\t\t").concat(gt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(wt,"\n\t\t\t").concat(Ct,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat(St,"\n\t\t}\n\n\t\t").concat(K?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(Ot,"\n\t\t\t").concat(Mt,"\n\t\t\t").concat(Ht,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(Gt,"\n\t\t\t").concat(Jt,"\n\t\t\t").concat($t,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(aa,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(la,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat($?"background: ".concat($,";"):"","\n\t\t}\n\n\t"),Na="\n\t\t.".concat(o,".eb-wpforms-wrapper {\n\t\t\t").concat(ba,"\n\t\t\t").concat(ga,"\n\t\t\t").concat(va,"\n\t\t\t").concat(_a,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper:hover {\n\t\t\t").concat(xa,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field label {\n\t\t\t").concat(ce,"\n\t\t\t").concat(ne,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field textarea, .").concat(o,".eb-wpforms-wrapper .wpforms-form .wpforms-field select {\n\t\t\t").concat(be,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(Ae,"\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field textarea:hover, .").concat(o,".eb-wpforms-wrapper .wpforms-field select:hover {\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-wpforms-wrapper .wpforms-field select {\n\t\t\t").concat(ve||"","\n\t\t\t").concat(_e||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field textarea {\n\t\t\t").concat(Se||"","\n\t\t\t").concat(Pe||"","\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-field {\n\t\t\t").concat(je||"","\n\t\t}\n\n\t\t").concat("custom"===b?".".concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(Xe,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(tt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container .wpforms-submit {\n\t\t\t").concat(tt,"\n\t\t\t").concat(rt,"\n\t\t\t").concat(st,"\n\t\t\t").concat(mt,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-submit-container:hover .wpforms-submit {\n\t\t\t").concat(ft,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full,\n\t\t.").concat(o,".eb-wpforms-wrapper div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {\n\t\t\t").concat(kt,"\n\t\t\t").concat(Et,"\n\t\t}\n\n\t\t.").concat(o,".eb-wpforms-wrapper .wpforms-confirmation-container-full:hover {\n\t\t\t").concat(Bt,"\n\t\t}\n\n\t\t").concat(K?"\n\t\t.".concat(o,".eb-wpforms-wrapper .wpforms-form label.wpforms-error {\n\t\t\t").concat(It,"\n\t\t\t").concat(Lt,"\n\t\t\t").concat(zt,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"] {\n\t\t\t').concat(qt,"\n\t\t\t").concat(Yt,"\n\t\t\t").concat(Kt,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(na,"\n\t\t}\n\n\t\t.").concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"],\n\t\t.').concat(o,'.eb-wpforms-wrapper.eb-wpforms-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(ca,"\n\t\t}\n\t"),Pa=(0,G.softMinifyCssStrings)("\n\t\t".concat(Ba,"\n\t")),Oa=(0,G.softMinifyCssStrings)("\n\t\t".concat(Ta,"\n\t")),Ia=(0,G.softMinifyCssStrings)("\n\t\t".concat(Na,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(G.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Pa,tabAllStyles:Oa,mobileAllStyles:Ia,blockName:n}))}function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const te=(0,l.memo)((0,G.withBlockContext)(Z)(function(e){var t,a,n=e.attributes,r=e.setAttributes,l=(e.className,e.clientId,e.isSelected),i=(e.name,n.blockId),p=(n.blockMeta,n.resOption,n.formId),d=n.customCheckboxStyle,m=n.formAlignment,u=n.showLabels,g=n.showPlaceholder,f=n.showErrorMessage,y=n.classHook,h=n.cover,v=ee(ee({},e),{},{blockPrefix:"eb-wpforms",style:React.createElement($,e)}),w=(null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["wpforms-lite/wpforms.php"])||void 0===t?void 0:t.active)||(null===(a=EssentialBlocksLocalize)||void 0===a||null===(a=a.get_plugins["wpforms/wpforms.php"])||void 0===a?void 0:a.active),k=["eb-wpforms-wrapper"];d&&k.push("eb-wpforms-custom-radio-checkbox");var R={left:"eb-wpforms-alignment-left",center:"eb-wpforms-alignment-center",right:"eb-wpforms-alignment-right"};return m in R&&k.push(R[m]),u||k.push("eb-wpforms-hide-labels"),g||k.push("eb-wpforms-hide-placeholder"),f||k.push("eb-wpforms-hide-errormessage"),h.length?React.createElement("div",null,React.createElement("img",{src:h,alt:"wpforms",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,l&&React.createElement(J,{key:"inspector",attributes:n,setAttributes:r}),React.createElement(G.BlockProps.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(y)},React.createElement("div",{className:"".concat(i," ").concat(k.join(" "))},!w&&React.createElement(G.NoticeComponent,{Icon:X,title:"WPForms",description:React.createElement(React.Fragment,null,React.createElement("strong",null,"WPForms")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=wpforms&tab=search&type=term",target:"_blank"},"WPForms")," ","first.")}),w&&!p&&React.createElement(c.Placeholder,{className:"eb-wpforms-choose-placeholder",label:(0,o.__)("WPForms","essential-blocks")},React.createElement(c.SelectControl,{value:p,options:b,onChange:function(e){return r({formId:e})}})),w&&p&&React.createElement(s(),{className:"eb-wpforms-rendered",block:"wpforms/form-selector",attributes:{formId:p}})))))})),ae=JSON.parse('{"title":"WPForms","name":"essential-blocks/wpforms","category":"essential-blocks","description":"Design stunning WPForms in minutes with plenty of controls & styling options","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var ne;function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var re=ae.name;(0,G.ebConditionalRegisterBlockType)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({name:re},ae),{icon:X,attributes:Z,keywords:[(0,o.__)("WPForms","essential-blocks"),(0,o.__)("EB WPForms","essential-blocks"),(0,o.__)("Form","essential-blocks")],edit:te,save:function(){return null},example:{attributes:{cover:"".concat(null===(ne=EssentialBlocksLocalize)||void 0===ne?void 0:ne.image_url,"/block-preview/wpforms.jpeg")}}})},1369:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(2284),l=a(3453),c=a(4467),i=a(1609),s=a(8468),p=a(8107),b=a(2619),d=a(8443),m=a(7143),u=a(4589),g=a(900),f=a(4715),y=a(6427),h=a(6005),v="wrpMargin",w="wrpPadding",k="wrpBorderShadow",R="wrpBG",_="columnPadding",C="columnMediaWidth",E="columnBG",x="columnBorderShadow",S="thumbnailImageSize",B="thumbnailBDR",T="thumbnailMargin",N="titleMargin",P="contentMargin",O="readmoreMargin",I="readmorePadding",D="headerMetaMargin",A="footerMetaMargin",M="headerMetaSpace",L="footerMetaSpace",F="avatarBDR",j="slideToShow",H="dotsGap",z="arrowPosition",U="dotsPosition",V="arrowSize",G="dotsSize",q="slidesGap",W="readmoreBorder",Z=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],J=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],Y=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],Q=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],X=((0,n.__)("Style 1","essential-blocks"),(0,n.__)("Style 2","essential-blocks"),(0,n.__)("Style 3 (List View)","essential-blocks"),(0,n.__)("Style 4 (Content Overlay)","essential-blocks"),[{label:(0,n.__)("Style 1","essential-blocks"),value:"dot-style-1"},{label:(0,n.__)("Style 2","essential-blocks"),value:"dot-style-2"},{label:(0,n.__)("Style 3","essential-blocks"),value:"dot-style-3"},{label:(0,n.__)("Style 4","essential-blocks"),value:"dot-style-4"},{label:(0,n.__)("Modern 1","essential-blocks"),value:"eb-dot-style-modern-1"},{label:(0,n.__)("Modern 2","essential-blocks"),value:"eb-dot-style-modern-2"},{label:(0,n.__)("Modern 3","essential-blocks"),value:"eb-dot-style-modern-3"}]),$=[{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-alignright"})),value:"right"}],K=[{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(y.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],ee=[{label:"Top",value:"flex-start"},{label:"Middle",value:"center"},{label:"Bottom",value:"flex-end"}],te=[{label:"px",value:"px"},{label:"em",value:"em"}],ae="ebpg_title",ne="ebpg_content",oe="ebpg_readmore",re="ebpg_meta",le=a(5694);function ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ce(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const se=function(e){var t=e.attributes,a=e.setAttributes,o=e.slider,c=e.setQueryResults,i=(t.resOption,t.preset),p=t.queryData,d=t.postTerms,m=t.showThumbnail,u=t.thumbnailOverlayColor,g=t.thumbnailOverlayHoverColor,ce=t.showTitle,se=t.titleColor,pe=t.titleHoverColor,be=t.titleColorStyle,de=t.titleLength,me=t.titleTextAlign,ue=t.titleTag,ge=t.showContent,fe=t.contentColor,ye=t.contentTextAlign,he=t.contentLength,ve=t.expansionIndicator,we=t.showReadMore,ke=t.readmoreText,Re=t.readmoreColor,_e=t.readmoreBGColor,Ce=t.readmoreTextAlign,Ee=t.readmoreHoverColor,xe=t.readmoreBGHoverColor,Se=t.readmoreColorType,Be=t.showMeta,Te=t.headerMeta,Ne=t.footerMeta,Pe=t.authorPrefix,Oe=t.datePrefix,Ie=t.headerMetaTextAlign,De=t.footerMetaTextAlign,Ae=t.metaColorType,Me=t.authorMetaColor,Le=t.authorMetaHoverColor,Fe=t.commonMetaColor,je=t.commonMetaHoverColor,He=t.commonMetaDividerColor,ze=t.categoryMetaColor,Ue=t.categoryMetaHoverColor,Ve=t.categoryMetaDividerColor,Ge=t.tagMetaDividerColor,qe=t.tagMetaColor,We=t.tagMetaHoverColor,Ze=t.tagMetaBgColor,Je=t.tagMetaBgHoverColor,Ye=t.dateMetaColor,Qe=t.dynamicMetaColor,Xe=t.dynamicMetaBgColor,$e=t.styleVerticalAlignment,Ke=t.leftArrowIcon,et=t.rightArrowIcon,tt=t.arrowColorType,at=t.arrowColor,nt=t.arrowHoverColor,ot=t.dotsColor,rt=t.dotsActiveColor,lt=t.speed,ct=t.pauseOnHover,it=t.infinite,st=t.dots,pt=t.autoplaySpeed,bt=t.autoplay,dt=t.adaptiveHeight,mt=t.arrows,ut=t.dotPreset,gt=t.showFallbackImg,ft=t.fallbackImgUrl,yt=t.fallbackImgId,ht=(t.fallbackImgAlt,(0,s.useState)([])),vt=(0,l.A)(ht,2),wt=vt[0],kt=vt[1];(0,s.useEffect)(function(){var e=[{value:"date",label:"Published Date"},{value:"author",label:"Author Name"},{value:"avatar",label:"Author Avatar"}];d&&Object.keys(d).length>0&&Object.keys(d).map(function(t){e.push(d[t])});var t=(0,b.applyFilters)("essential_blocks_post_carousel_meta",e,null==p?void 0:p.source);t.then?t.then(function(e){var t=e.map(function(e){return ie(ie({},e),{},{options:e.options.map(function(e){if("object"===(0,r.A)(e.label)){var t,a=null!==(t=EssentialBlocksProLocalize)&&void 0!==t&&t.eb_dynamic_tags?"".concat(EssentialBlocksProLocalize.eb_dynamic_tags,"/"):"";return ie(ie({},e.label),{},{value:"".concat(a).concat(e.label.value,"/settings=[]")})}return ie({},e)})})});kt(t)}):kt(t)},[d]);var Rt=(0,s.useRef)(null==p?void 0:p.source),_t=(0,s.useRef)(d);return(0,s.useEffect)(function(){if(p&&p.source&&p.source!=Rt.current){var e=_t.current&&"object"===(0,r.A)(_t.current)?Object.keys(_t.current):[],t=Te.length>0?JSON.parse(Te):[];t=t.length>0&&t.filter(function(t){return!e.includes(t.value)});var n=Ne.length>0?JSON.parse(Ne):[];n=n.length>0&&n.filter(function(t){return!e.includes(t.value)}),a({headerMeta:JSON.stringify(t),footerMeta:JSON.stringify(n)}),Rt.current=p.source}},[null==p?void 0:p.source]),React.createElement(React.Fragment,null,React.createElement(le.InspectorPanel,{advancedControlProps:{marginPrefix:v,paddingPrefix:w,borderPrefix:k,backgroundPrefix:R}},React.createElement(le.InspectorPanel.General,null,React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Carousel","essential-blocks"),initialOpen:!0},React.createElement(y.ToggleControl,{label:(0,n.__)("Show Arrows","essential-blocks"),checked:mt,onChange:function(){a({arrows:!mt})}}),React.createElement(y.ToggleControl,{label:(0,n.__)("Equal Height","essential-blocks"),checked:dt,onChange:function(){a({adaptiveHeight:!dt})}}),React.createElement(y.ToggleControl,{label:(0,n.__)("Autoplay","essential-blocks"),checked:bt,onChange:function(){bt?o.current.slickPlay():o.current.slickPause(),a({autoplay:!bt})}}),React.createElement(y.ToggleControl,{label:(0,n.__)("Dots","essential-blocks"),checked:st,onChange:function(){return a({dots:!st})}}),React.createElement(y.ToggleControl,{label:(0,n.__)("Infinite","essential-blocks"),checked:it,onChange:function(){return a({infinite:!it})}}),React.createElement(y.ToggleControl,{label:(0,n.__)("Pause on Hover","essential-blocks"),checked:ct,onChange:function(){return a({pauseOnHover:!ct})}}),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Slides to Show","essential-blocks"),controlName:j,units:[],min:1,max:8,step:1}),bt&&React.createElement(y.RangeControl,{label:(0,n.__)("Autoplay Speed","essential-blocks"),value:pt,onChange:function(e){return a({autoplaySpeed:e})},min:0,max:8e3}),React.createElement(y.RangeControl,{label:(0,n.__)("Animation Speed","essential-blocks"),value:lt,onChange:function(e){return a({speed:e})},min:0,max:3e3}),st&&React.createElement(y.SelectControl,{label:(0,n.__)("Dot Preset","essential-blocks"),value:ut,options:X,onChange:function(e){return a({dotPreset:e})}})),React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Layout","essential-blocks"),initialOpen:!1},React.createElement(y.ToggleControl,{label:(0,n.__)("Show Thumbnail?"),checked:m,onChange:function(){a({showThumbnail:!m})}}),m&&React.createElement(React.Fragment,null,React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Thumbnail Height","essential-blocks"),controlName:S,units:J,min:1,max:500,step:1}),"style-3"===i&&React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Thumbnail Width","essential-blocks"),controlName:C,units:[{label:"%",value:"%"}],min:0,max:100,step:1}),React.createElement(y.ToggleControl,{label:(0,n.__)("Show Fallback Image?"),checked:gt,onChange:function(){a({showFallbackImg:!gt})}}),gt&&!ft&&React.createElement(f.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({fallbackImgUrl:n,fallbackImgId:t,fallbackImgAlt:o})},type:"image",value:yt,render:function(e){var t=e.open;return React.createElement(y.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),gt&&ft&&React.createElement(le.ImageAvatar,{imageUrl:ft,onDeleteImage:function(){return a({fallbackImgUrl:null})}})),"style-4"===i&&"pro-style-5"===i&&React.createElement(y.BaseControl,{label:(0,n.__)("Content Vertical Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},ee.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:$e===e.value,isSecondary:$e!==e.value,onClick:function(){return a({styleVerticalAlignment:e.value})}},e.label)}))),React.createElement(y.ToggleControl,{label:(0,n.__)("Show Title?"),checked:ce,onChange:function(){a({showTitle:!ce})}}),ce&&React.createElement(React.Fragment,null,React.createElement(y.BaseControl,{label:(0,n.__)("Title Tag","essential-blocks")},React.createElement(y.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},Q.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:ue===e.value,isSecondary:ue!==e.value,onClick:function(){return a({titleTag:e.value})}},e.label)}))),React.createElement(y.RangeControl,{label:"Title Words",value:de,onChange:function(e){return a({titleLength:e})},min:-1,max:100})),React.createElement(y.ToggleControl,{label:(0,n.__)("Show Excerpt?"),checked:ge,onChange:function(){a({showContent:!ge})}}),ge&&React.createElement(React.Fragment,null,React.createElement(y.RangeControl,{label:"Excerpt Words",value:he,onChange:function(e){return a({contentLength:e})},min:-1,max:100}),React.createElement(y.TextControl,{label:"Expansion Indicator",type:"text",value:ve,onChange:function(e){return a({expansionIndicator:e})}})),React.createElement(y.ToggleControl,{label:(0,n.__)("Show Read More Button?"),checked:we,onChange:function(){a({showReadMore:!we})}}),we&&React.createElement(React.Fragment,null,React.createElement(y.TextControl,{label:"Button Text",type:"text",value:ke,onChange:function(e){return a({readmoreText:e})}})),React.createElement(y.ToggleControl,{label:(0,n.__)("Show Meta?"),checked:Be,onChange:function(){a({showMeta:!Be})}}),Be&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(y.PanelRow,null,"Header Meta"),React.createElement(h.Ay,{name:"select-header-meta",value:Te.length>0?JSON.parse(Te):"",onChange:function(e){return a({headerMeta:JSON.stringify(e)})},options:wt,isMulti:"true"})),React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(y.PanelRow,null,"Footer Meta"),React.createElement(h.Ay,{name:"select-footer-meta",value:Ne.length>0?JSON.parse(Ne):"",onChange:function(e){return a({footerMeta:JSON.stringify(e)})},options:wt,isMulti:"true"})),React.createElement(le.DynamicInputControl,{label:(0,n.__)("Author Prefix","essential-blocks"),help:(0,n.__)("Example: by John Doe","essential-blocks"),attrName:"authorPrefix",inputValue:Pe,setAttributes:a,onChange:function(e){return a({authorPrefix:e})}}),React.createElement(le.DynamicInputControl,{label:(0,n.__)("Published Date Prefix","essential-blocks"),help:(0,n.__)("Example: on 01/01/2023","essential-blocks"),attrName:"datePrefix",inputValue:Oe,setAttributes:a,onChange:function(e){return a({datePrefix:e})}}))),React.createElement(le.CustomQuery,{attributes:t,setAttributes:a,setQueryResults:c})),React.createElement(le.InspectorPanel.Style,null,React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Carousel","essential-blocks"),initialOpen:!0},React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Slides Gap","essential-blocks"),controlName:q,units:[],min:0,max:100,step:1})),React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Columns","essential-blocks"),initialOpen:!1},React.createElement(le.ResponsiveDimensionsControl,{controlName:_,baseLabel:"Padding"}),React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(le.BackgroundControl,{controlName:E,noOverlay:!0})),React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Border"),initialOpen:!1},React.createElement(le.BorderShadowControl,{controlName:x,noShadow:!0}))),m&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Thumbnail","essential-blocks"),initialOpen:!1},"style-4"!=i||"pro-style-5"!=i&&React.createElement(React.Fragment,null,React.createElement(le.ResponsiveDimensionsControl,{controlName:B,baseLabel:"Border Radius"}),React.createElement(le.ResponsiveDimensionsControl,{controlName:T,baseLabel:"Margin"})),React.createElement(le.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:u,attributeName:"thumbnailOverlayColor"}),React.createElement(le.ColorControl,{label:(0,n.__)("Overlay Hover Color","essential-blocks"),color:g,attributeName:"thumbnailOverlayHoverColor"})),ce&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(y.ButtonGroup,{className:"eb-inspector-btn-group"},Y.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:be===e.value,isSecondary:be!==e.value,onClick:function(){return a({titleColorStyle:e.value})}},e.label)})),"normal"===be&&React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:se,onChange:function(e){return a({titleColor:e})}}),"hover"===be&&React.createElement(le.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:pe,onChange:function(e){return a({titleHoverColor:e})}}),React.createElement(y.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},$.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:me===e.value,isSecondary:me!==e.value,onClick:function(){return a({titleTextAlign:e.value})}},e.label)}))),React.createElement(le.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ae}),React.createElement(le.ResponsiveDimensionsControl,{controlName:N,baseLabel:"Margin"})),ge&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Excerpt","essential-blocks"),initialOpen:!1},React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:fe,onChange:function(e){return a({contentColor:e})}}),React.createElement(y.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},$.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:ye===e.value,isSecondary:ye!==e.value,onClick:function(){return a({contentTextAlign:e.value})}},e.label)}))),React.createElement(le.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ne}),React.createElement(le.ResponsiveDimensionsControl,{controlName:P,baseLabel:"Margin"})),("style-4"!=i||"pro-style-5"!=i)&&we&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Read More Button","essential-blocks"),initialOpen:!1},React.createElement(y.ButtonGroup,{className:"eb-inspector-btn-group"},Y.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:Se===e.value,isSecondary:Se!==e.value,onClick:function(){return a({readmoreColorType:e.value})}},e.label)})),"normal"===Se&&React.createElement(React.Fragment,null,React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Re,onChange:function(e){return a({readmoreColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:_e,onChange:function(e){return a({readmoreBGColor:e})}})),"hover"===Se&&React.createElement(React.Fragment,null,React.createElement(le.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:Ee,onChange:function(e){return a({readmoreHoverColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:xe,onChange:function(e){return a({readmoreBGHoverColor:e})}})),React.createElement(y.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},$.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:Ce===e.value,isSecondary:Ce!==e.value,onClick:function(){return a({readmoreTextAlign:e.value})}},e.label)}))),React.createElement(le.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:oe}),React.createElement(le.ResponsiveDimensionsControl,{controlName:O,baseLabel:"Margin"}),React.createElement(le.ResponsiveDimensionsControl,{controlName:I,baseLabel:"Padding"}),React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(le.BorderShadowControl,{controlName:W,noShadow:!0}))),Be&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Meta","essential-blocks"),initialOpen:!1},React.createElement(y.BaseControl,{label:(0,n.__)("Header Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},K.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:Ie===e.value,isSecondary:Ie!==e.value,onClick:function(){return a({headerMetaTextAlign:e.value})}},e.label)}))),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Header Meta Gap","essential-blocks"),controlName:M,units:Z,min:1,max:100,step:1}),React.createElement(le.ResponsiveDimensionsControl,{controlName:D,baseLabel:"Header Meta Margin"}),React.createElement(y.BaseControl,{label:(0,n.__)("Footer Meta Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(y.ButtonGroup,{id:"essential-blocks"},K.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:De===e.value,isSecondary:De!==e.value,onClick:function(){return a({footerMetaTextAlign:e.value})}},e.label)}))),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Footer Meta Gap","essential-blocks"),controlName:L,units:Z,min:1,max:100,step:1}),React.createElement(le.ResponsiveDimensionsControl,{controlName:A,baseLabel:"Footer Meta Margin"}),React.createElement(y.ButtonGroup,{className:"eb-inspector-btn-group"},Y.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:Ae===e.value,isSecondary:Ae!==e.value,onClick:function(){return a({metaColorType:e.value})}},e.label)})),"normal"===Ae&&React.createElement(React.Fragment,null,React.createElement(le.ColorControl,{label:(0,n.__)("Author Color","essential-blocks"),color:Me,onChange:function(e){return a({authorMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Date Color","essential-blocks"),color:Ye,onChange:function(e){return a({dateMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Common Color","essential-blocks"),color:Fe,onChange:function(e){return a({commonMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Common Divider Color","essential-blocks"),color:He,onChange:function(e){return a({commonMetaDividerColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Category Color","essential-blocks"),color:ze,onChange:function(e){return a({categoryMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Category Divider Color","essential-blocks"),color:Ve,onChange:function(e){return a({categoryMetaDividerColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Tag Color","essential-blocks"),color:qe,onChange:function(e){return a({tagMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Tag BG Color","essential-blocks"),color:Ze,onChange:function(e){return a({tagMetaBgColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Tag Divider Color","essential-blocks"),color:Ge,onChange:function(e){return a({tagMetaDividerColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Dynamic Data Color","essential-blocks"),color:Qe,onChange:function(e){return a({dynamicMetaColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Dynamic Data BG Color","essential-blocks"),color:Xe,onChange:function(e){return a({dynamicMetaBgColor:e})}})),"hover"===Ae&&React.createElement(React.Fragment,null,React.createElement(le.ColorControl,{label:(0,n.__)("Author Hover Color","essential-blocks"),color:Le,onChange:function(e){return a({authorMetaHoverColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Common Hover Color","essential-blocks"),color:je,onChange:function(e){return a({commonMetaHoverColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Category Hover Color","essential-blocks"),color:Ue,onChange:function(e){return a({categoryMetaHoverColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Tag Hover Color","essential-blocks"),color:We,onChange:function(e){return a({tagMetaHoverColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Tag BG Hover Color","essential-blocks"),color:Je,onChange:function(e){return a({tagMetaBgHoverColor:e})}})),React.createElement(le.TypographyDropdown,{baseLabel:(0,n.__)("Meta Typography","essential-blocks"),typographyPrefixConstant:re}),React.createElement(le.ResponsiveDimensionsControl,{controlName:F,baseLabel:"Avatar Border Radius"})),mt&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Arrow","essential-blocks"),initialOpen:!1},React.createElement(le.EBIconPicker,{value:Ke,onChange:function(e){return a({leftArrowIcon:(0,le.sanitizeIconValue)(e)})},title:(0,n.__)("Left Arrow Icon","essential-blocks"),icons:{fontAwesome:le.faArrowIcons},disableDashicon:!0}),React.createElement(le.EBIconPicker,{value:et,onChange:function(e){return a({rightArrowIcon:(0,le.sanitizeIconValue)(e)})},title:(0,n.__)("Right Arrow Icon","essential-blocks"),icons:{fontAwesome:le.faArrowIcons},disableDashicon:!0}),React.createElement(y.ButtonGroup,{className:"eb-inspector-btn-group"},Y.map(function(e,t){return React.createElement(y.Button,{key:t,isPrimary:tt===e.value,isSecondary:tt!==e.value,onClick:function(){return a({arrowColorType:e.value})}},e.label)})),"normal"===tt&&React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:at,onChange:function(e){return a({arrowColor:e})}}),"hover"===tt&&React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:nt,onChange:function(e){return a({arrowHoverColor:e})}}),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Arrow Size","essential-blocks"),controlName:V,units:te,min:1,max:50,step:1}),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Arrow Position","essential-blocks"),controlName:z,units:Z,min:-100,max:100,step:1})),st&&React.createElement(le.InspectorPanel.PanelBody,{title:(0,n.__)("Dot","essential-blocks"),initialOpen:!1},React.createElement(le.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ot,onChange:function(e){return a({dotsColor:e})}}),React.createElement(le.ColorControl,{label:(0,n.__)("Active Color","essential-blocks"),color:rt,onChange:function(e){return a({dotsActiveColor:e})}}),!ut.includes("modern")&&React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Size","essential-blocks"),controlName:G,units:te,min:1,max:100,step:1}),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Gap","essential-blocks"),controlName:H,units:Z,min:0,max:50,step:1}),React.createElement(le.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Position (PX)","essential-blocks"),controlName:U,min:-100,max:100,step:1,noUnits:!0})))))};function pe(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.preset),l=(t.arrows,t.thumbnailOverlayColor),c=t.thumbnailOverlayHoverColor,i=t.titleColor,s=t.titleHoverColor,p=t.titleTextAlign,b=t.contentColor,d=t.contentTextAlign,m=t.readmoreColor,u=t.readmoreBGColor,g=t.readmoreTextAlign,f=t.readmoreHoverColor,y=t.readmoreBGHoverColor,h=t.dynamicMetaColor,Z=t.dynamicMetaBgColor,J=t.headerMetaTextAlign,Y=t.footerMetaTextAlign,Q=t.authorMetaColor,X=t.authorMetaHoverColor,$=t.commonMetaColor,K=t.commonMetaHoverColor,ee=t.commonMetaDividerColor,te=t.categoryMetaColor,ce=t.categoryMetaHoverColor,ie=(t.categoryMetaBgColor,t.categoryMetaBgHoverColor),se=t.tagMetaColor,pe=t.tagMetaHoverColor,be=t.tagMetaBgColor,de=t.tagMetaBgHoverColor,me=t.dateMetaColor,ue=t.styleVerticalAlignment,ge=(t.leftArrowIcon,t.rightArrowIcon,t.arrowColor),fe=t.arrowHoverColor,ye=t.dotsColor,he=t.dotsActiveColor,ve=(t.textAlign,t.verticalAlign,t.slidesGapRange),we=t.TABslidesGapRange,ke=t.MOBslidesGapRange,Re=t.slidesGapUnit,_e=t.TABslidesGapUnit,Ce=t.MOBslidesGapUnit,Ee=t.dotsSizeRange,xe=t.dotsSizeUnit,Se=t.TABdotsSizeUnit,Be=t.MOBdotsSizeUnit,Te=t.TABdotsSizeRange,Ne=t.MOBdotsSizeRange,Pe=t.categoryMetaDividerColor,Oe=t.tagMetaDividerColor,Ie=t.dotsPositionRange,De=t.TABdotsPositionRange,Ae=t.MOBdotsPositionRange,Me=t.isRTLEnable,Le=(0,le.generateTypographyStyles)({attributes:t,prefixConstant:ae}),Fe=Le.typoStylesDesktop,je=Le.typoStylesTab,He=Le.typoStylesMobile,ze=(0,le.generateTypographyStyles)({attributes:t,prefixConstant:ne}),Ue=ze.typoStylesDesktop,Ve=ze.typoStylesTab,Ge=ze.typoStylesMobile,qe=(0,le.generateTypographyStyles)({attributes:t,prefixConstant:oe}),We=qe.typoStylesDesktop,Ze=qe.typoStylesTab,Je=qe.typoStylesMobile,Ye=(0,le.generateTypographyStyles)({attributes:t,prefixConstant:re}),Qe=Ye.typoStylesDesktop,Xe=Ye.typoStylesTab,$e=Ye.typoStylesMobile,Ke=(0,le.generateDimensionsControlStyles)({controlName:v,styleFor:"margin",attributes:t}),et=Ke.dimensionStylesDesktop,tt=Ke.dimensionStylesTab,at=Ke.dimensionStylesMobile,nt=(0,le.generateDimensionsControlStyles)({controlName:w,styleFor:"padding",attributes:t}),ot=nt.dimensionStylesDesktop,rt=nt.dimensionStylesTab,lt=nt.dimensionStylesMobile,ct=(0,le.generateDimensionsControlStyles)({controlName:_,styleFor:"padding",attributes:t}),it=ct.dimensionStylesDesktop,st=ct.dimensionStylesTab,pt=ct.dimensionStylesMobile,bt=(0,le.generateDimensionsControlStyles)({controlName:N,styleFor:"margin",attributes:t}),dt=bt.dimensionStylesDesktop,mt=bt.dimensionStylesTab,ut=bt.dimensionStylesMobile,gt=(0,le.generateDimensionsControlStyles)({controlName:P,styleFor:"margin",attributes:t}),ft=gt.dimensionStylesDesktop,yt=gt.dimensionStylesTab,ht=gt.dimensionStylesMobile,vt=(0,le.generateDimensionsControlStyles)({controlName:O,styleFor:"margin",attributes:t}),wt=vt.dimensionStylesDesktop,kt=vt.dimensionStylesTab,Rt=vt.dimensionStylesMobile,_t=(0,le.generateDimensionsControlStyles)({controlName:I,styleFor:"padding",attributes:t}),Ct=_t.dimensionStylesDesktop,Et=_t.dimensionStylesTab,xt=_t.dimensionStylesMobile,St=(0,le.generateDimensionsControlStyles)({controlName:D,styleFor:"margin",attributes:t}),Bt=St.dimensionStylesDesktop,Tt=St.dimensionStylesTab,Nt=St.dimensionStylesMobile,Pt=(0,le.generateDimensionsControlStyles)({controlName:A,styleFor:"margin",attributes:t}),Ot=Pt.dimensionStylesDesktop,It=Pt.dimensionStylesTab,Dt=Pt.dimensionStylesMobile,At=(0,le.generateDimensionsControlStyles)({controlName:T,styleFor:"margin",attributes:t}),Mt=At.dimensionStylesDesktop,Lt=At.dimensionStylesTab,Ft=At.dimensionStylesMobile,jt=(0,le.generateDimensionsControlStyles)({controlName:B,styleFor:"border-radius",attributes:t}),Ht=jt.dimensionStylesDesktop,zt=jt.dimensionStylesTab,Ut=jt.dimensionStylesMobile,Vt=(0,le.generateDimensionsControlStyles)({controlName:F,styleFor:"border-radius",attributes:t}),Gt=Vt.dimensionStylesDesktop,qt=Vt.dimensionStylesTab,Wt=Vt.dimensionStylesMobile,Zt=(0,le.generateBorderShadowStyles)({controlName:k,attributes:t}),Jt=Zt.styesDesktop,Yt=Zt.styesTab,Qt=Zt.styesMobile,Xt=Zt.stylesHoverDesktop,$t=Zt.stylesHoverTab,Kt=Zt.stylesHoverMobile,ea=Zt.transitionStyle,ta=(0,le.generateBorderShadowStyles)({controlName:x,attributes:t}),aa=ta.styesDesktop,na=ta.styesTab,oa=ta.styesMobile,ra=ta.stylesHoverDesktop,la=ta.stylesHoverTab,ca=ta.stylesHoverMobile,ia=ta.transitionStyle,sa=(0,le.generateResponsiveRangeStyles)({controlName:S,property:"height",attributes:t}),pa=sa.rangeStylesDesktop,ba=sa.rangeStylesTab,da=sa.rangeStylesMobile,ma=(0,le.generateResponsiveRangeStyles)({controlName:M,property:"margin-right",attributes:t}),ua=ma.rangeStylesDesktop,ga=ma.rangeStylesTab,fa=ma.rangeStylesMobile,ya=(0,le.generateResponsiveRangeStyles)({controlName:L,property:"margin-right",attributes:t}),ha=ya.rangeStylesDesktop,va=ya.rangeStylesTab,wa=ya.rangeStylesMobile,ka=(0,le.generateResponsiveRangeStyles)({controlName:C,property:"width",attributes:t}),Ra=ka.rangeStylesDesktop,_a=ka.rangeStylesTab,Ca=ka.rangeStylesMobile,Ea=(0,le.generateBackgroundControlStyles)({attributes:t,controlName:R,noOverlay:!0}),xa=Ea.backgroundStylesDesktop,Sa=Ea.hoverBackgroundStylesDesktop,Ba=Ea.backgroundStylesTab,Ta=Ea.hoverBackgroundStylesTab,Na=Ea.backgroundStylesMobile,Pa=Ea.hoverBackgroundStylesMobile,Oa=Ea.bgTransitionStyle,Ia=(0,le.generateBackgroundControlStyles)({attributes:t,controlName:E,noOverlay:!0}),Da=Ia.backgroundStylesDesktop,Aa=Ia.hoverBackgroundStylesDesktop,Ma=Ia.backgroundStylesTab,La=Ia.hoverBackgroundStylesTab,Fa=Ia.backgroundStylesMobile,ja=Ia.hoverBackgroundStylesMobile,Ha=Ia.bgTransitionStyle,za=(0,le.generateResponsiveRangeStyles)({controlName:j,property:"",attributes:t}),Ua=(za.rangeStylesDesktop,za.rangeStylesTab,za.rangeStylesMobile,(0,le.generateResponsiveRangeStyles)({controlName:H,property:"margin-right",attributes:t})),Va=Ua.rangeStylesDesktop,Ga=Ua.rangeStylesTab,qa=Ua.rangeStylesMobile,Wa=(0,le.generateResponsiveRangeStyles)({controlName:z,property:"left",attributes:t}),Za=Wa.rangeStylesDesktop,Ja=Wa.rangeStylesTab,Ya=Wa.rangeStylesMobile,Qa=(0,le.generateResponsiveRangeStyles)({controlName:z,property:"right",attributes:t}),Xa=Qa.rangeStylesDesktop,$a=Qa.rangeStylesTab,Ka=Qa.rangeStylesMobile,en=(0,le.generateResponsiveRangeStyles)({controlName:V,property:"font-size",attributes:t}),tn=en.rangeStylesDesktop,an=en.rangeStylesTab,nn=en.rangeStylesMobile,on=(0,le.generateResponsiveRangeStyles)({controlName:G,property:"font-size",attributes:t}),rn=on.rangeStylesDesktop,ln=on.rangeStylesTab,cn=on.rangeStylesMobile,sn=(0,le.generateResponsiveRangeStyles)({controlName:q,property:"padding",attributes:t}),pn=(sn.rangeStylesDesktop,sn.rangeStylesTab,sn.rangeStylesMobile,(0,le.generateResponsiveRangeStyles)({controlName:U,property:"bottom",attributes:t})),bn=pn.rangeStylesDesktop,dn=pn.rangeStylesTab,mn=pn.rangeStylesMobile,un=(0,le.generateBorderShadowStyles)({controlName:W,attributes:t,noShadow:!0}),gn=un.styesDesktop,fn=un.styesTab,yn=un.styesMobile,hn=un.stylesHoverDesktop,vn=un.stylesHoverTab,wn=un.stylesHoverMobile,kn=un.transitionStyle,Rn=ve+Re,_n=we+_e,Cn=ke+Ce,En=Math.abs(Ie),xn=Math.abs(De),Sn=Math.abs(Ae),Bn="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\tdisplay: block;\n\t\t\tposition: relative;\n\t\t\t").concat(et,"\n\t\t\t").concat(ot,"\n\t\t\t").concat(xa,"\n\t\t\t").concat(Jt,"\n\t\t\ttransition: ").concat(Oa,", ").concat(ea,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Sa,"\n\t\t\t").concat(Xt,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(ve).concat(Re,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(ve).concat(Re,"/2);\n\t\t\theight: calc(100% - ").concat(Rn,");\n\t\t}\n\t"),Tn="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\t").concat(tt,"\n\t\t\t").concat(rt,"\n\t\t\t").concat(Ba,"\n\t\t\t").concat(Yt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Ta,"\n\t\t\t").concat($t,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(we).concat(_e,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(we).concat(_e,"/2);\n\t\t\theight: calc(100% - ").concat(_n,");\n\t\t}\n\t"),Nn="\n\t\t.eb-post-carousel-wrapper.".concat(o,"{\n\t\t\t").concat(at,"\n\t\t\t").concat(lt,"\n\t\t\t").concat(Na,"\n\t\t\t").concat(Qt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,":hover {\n\t\t\t").concat(Pa,"\n\t\t\t").concat(Kt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-list {\n\t\t\tmargin: calc(-").concat(ke).concat(Ce,"/2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-slide .ebpg-carousel-post-holder {\n\t\t\tmargin: calc(").concat(ke).concat(Ce,"/2);\n\t\t\theight: calc(100% - ").concat(Cn,");\n\t\t}\n\t"),Pn=Ra.replace(/\D/g,""),On="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-post-carousel-column {\n\t\t\ttransition: ").concat(Ha,", ").concat(ia,";\n\t\t}\n\t\t// .eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover {\n\t\t// \t").concat(Aa,"\n\t\t// \t").concat(ra,"\n\t\t// }\n\n\t\t").concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(Da,"\n\t\t\t\t\t").concat(it,"\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(Aa,"\n\t\t\t\t\t").concat(ra,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Da,"\n\t\t\t\t\t").concat(aa,"\n transition: ").concat(Ha,";\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover,\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Aa,"\n\t\t\t\t\t").concat(ra,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Da,"\n\t\t\t\t\t").concat(it,"\n transition: ").concat(Ha,";\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-bottom-left-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Da,"\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover {\n\t\t\t\t\t").concat(Aa,"\n\t\t\t\t\t").concat(ra,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t// ").concat(Da,"\n\t\t\t\t\t// ").concat(it,"\n // transition: ").concat(Ha,";\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-top-right-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r&&Ra?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(ue,";\n\t\t\t}\n\t\t\t").concat("0"===Pn?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Pn,"%;\n\t\t\t\t}"):"100"===Pn?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(Pn,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-Pn,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\tjustify-content: ").concat(ue,";\n\t\t\t\t").concat(it,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(aa,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(aa,"\n\t\t\t\tborder-width: 0px !important;\n\t\t\t}\n\t\t\t"):"","\n\n\t"),In=_a.replace(/\D/g,""),Dn="\n\t\t".concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(Ma,"\n\t\t\t\t\t").concat(st,"\n\t\t\t\t\t").concat(na,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(La,"\n\t\t\t\t\t").concat(la,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Ma,"\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover,\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(La,"\n\t\t\t\t\t").concat(la,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Ma,"\n\t\t\t\t\t").concat(st,"\n\t\t\t\t\tborder-bottom-right-radius: inherit;\n\t\t\t\t\tborder-bottom-left-radius: inherit;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Ma,"\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover {\n\t\t\t\t\t").concat(La,"\n\t\t\t\t\t").concat(la,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Ma,"\n\t\t\t\t\t").concat(st,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r&&_a?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(ue,";\n\t\t\t}\n\t\t\t").concat("0"===In?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-In,"%;\n\t\t\t\t}"):"100"===In?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(In,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(In,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(In,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-In,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t").concat(st,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(na,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(na,"\n\t\t\t}\n\t\t\t"):"","\n\t"),An=Ca.replace(/\D/g,""),Mn="\n\t\t".concat("style-1"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-1 .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(Fa,"\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-post-carousel-column:hover .ebpg-carousel-post-holder::after {\n\t\t\t\t\t").concat(ja,"\n\t\t\t\t\t").concat(ca,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t").concat("style-2"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Fa,"\n\t\t\t\t\t").concat(oa,"\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover,\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(ja,"\n\t\t\t\t\t").concat(ca,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Fa,"\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("style-3"===r?"\n\t\t\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-holder {\n\t\t\t\t\t").concat(Fa,"\n\t\t\t\t\t").concat(aa,"\n\t\t\t\t}\n .eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder:hover {\n\t\t\t\t\t").concat(ja,"\n\t\t\t\t\t").concat(ca,"\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-wrapper {\n\t\t\t\t\t").concat(Fa,"\n\t\t\t\t\t").concat(pt,"\n\t\t\t\t}\n\n\t\t\t"):"","\n\t\t").concat("style-3"===r&&Ca?"\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\talign-items: ").concat(ue,";\n\t\t\t}\n\t\t\t").concat("0"===An?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-An,"%;\n\t\t\t\t}"):"100"===An?".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(An,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(An,"%;\n\t\t\t\t\t}"):".eb-post-carousel-wrapper.".concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(An,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-An,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-4"===r?"\n\n\t\t\t.eb-post-carousel-wrapper.".concat(o,".style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper {\n\t\t\t\t").concat(pt,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail {\n\t\t\t\t").concat(oa,"\n\t\t\t}\n\t\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-entry-thumbnail:after {\n\t\t\t\t").concat(oa,"\n\t\t\t}\n\t\t\t"):"","\n\t"),Ln="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail {\n\t\t\t").concat(Mt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(pa,"\n\t\t\t").concat(Ht,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(l,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(c,";\n\t\t\t").concat(Ht,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tborder-radius: inherit;\n\t\t}\n\t"),Fn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail {\n\t\t\t").concat(Lt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(ba,"\n\t\t\t").concat(zt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(zt,"\n\t\t}\n\t"),jn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Ft,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-thumbnail img {\n\t\t\t").concat(da,"\n\t\t\t").concat(Ut,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-carousel-wrapper.").concat(o,".style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(Ut,"\n\t\t}\n\t"),Hn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\ttext-align: ").concat(p,";\n\t\t\t").concat(Fe,"\n\t\t\t").concat(dt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(Fe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a:hover {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\t"),zn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\t").concat(je,"\n\t\t\t").concat(mt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\t").concat(je,"\n\t\t}\n\t"),Un="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-entry-title {\n\t\t\t").concat(He,"\n\t\t\t").concat(ut,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-entry-title a {\n\t\t\t").concat(He,"\n\t\t}\n\t"),Vn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\tcolor: ").concat(b,";\n\t\t\ttext-align: ").concat(d,";\n\t\t\t").concat(Ue,"\n\t\t\t").concat(ft,"\n\t\t}\n\t"),Gn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\t").concat(Ve,"\n\t\t\t").concat(yt,"\n\t\t}\n\t"),qn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-carousel-post-excerpt p {\n\t\t\t").concat(Ge,"\n\t\t\t").concat(ht,"\n\t\t}\n\t"),Wn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn {\n\t\t\ttext-align: ").concat(g,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a {\n\t\t\tcolor: ").concat(m,";\n\t\t\tbackground-color: ").concat(u,";\n\t\t\t").concat(We,"\n\t\t\t").concat(wt,"\n\t\t\t").concat(Ct,"\n ").concat(gn,"\n\t\t\ttransition: ").concat(kn,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\tcolor: ").concat(f,";\n\t\t\tbackground-color: ").concat(y,";\n ").concat(hn,"\n\t\t}\n\t"),Zn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn a {\n\t\t\t").concat(Ze,"\n\t\t\t").concat(kt,"\n\t\t\t").concat(Et,"\n ").concat(fn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\t").concat(vn,"\n\t\t}\n\t"),Jn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-readmore-btn a {\n\t\t\t").concat(Je,"\n\t\t\t").concat(Rt,"\n\t\t\t").concat(xt,"\n ").concat(yn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-readmore-btn a:hover {\n\t\t\t").concat(wn,"\n\t\t}\n\t"),Yn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(Gt,"\n\t\t}\n\t"),Qn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(qt,"\n\t\t}\n\t"),Xn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-author-avatar img {\n\t\t\t").concat(Wt,"\n\t\t}\n\t"),$n="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\tcolor: ").concat(me,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t"),Kn="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),eo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-on {\n\t\t\t").concat($e,"\n\t\t}\n\t"),to="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\tcolor: ").concat(Q,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-posted-by a {\n\t\t\tcolor: ").concat(Q,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-posted-by a:hover {\n\t\t\tcolor: ").concat(X,";\n\t\t}\n\t"),ao="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),no="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-posted-by {\n\t\t\t").concat($e,"\n\t\t}\n\t"),oo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\tcolor: ").concat($,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat(ee,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-meta a:hover {\n\t\t\tcolor: ").concat(K,";\n\t\t}\n\t"),ro="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),lo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta a {\n\t\t\t").concat($e,"\n\t\t}\n\t"),co="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values {\n\t\t\tcolor: ").concat(h,";\n\t\t\tbackground-color: ").concat(Z,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t"),io="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),so="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-meta.ebpg-dynamic-values {\n\t\t\t").concat($e,"\n\t\t}\n\t"),po="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\tcolor: ").concat(te,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-categories-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat(Pe,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-categories-meta a:hover {\n\t\t\tcolor: ").concat(ce,";\n\t\t\t// background-color: ").concat(ie,";\n\t\t}\n\t"),bo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),mo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-categories-meta a {\n\t\t\t").concat($e,"\n\t\t}\n\t"),uo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\tcolor: ").concat(se,";\n\t\t\tbackground-color: ").concat(be,";\n\t\t\t").concat(Qe,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-tags-meta a:not(:first-child)::before {\n\t\t\tbackground-color: ").concat(Oe,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-tags-meta a:hover {\n\t\t\tcolor: ").concat(pe,";\n\t\t\tbackground-color: ").concat(de,";\n\t\t}\n\t"),go="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\t").concat(Xe,"\n\t\t}\n\t"),fo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-tags-meta a {\n\t\t\t").concat($e,"\n\t\t}\n\t"),yo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\tjustify-content: ").concat(J,";\n\t\t\t").concat(Bt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(J,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ua,"\n\t\t}\n\t"),ho="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\t").concat(Tt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ga,"\n\t\t}\n\t"),vo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-header-meta {\n\t\t\t").concat(Nt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(fa,"\n\t\t}\n\t"),wo="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\tjustify-content: ").concat(Y,";\n\t\t\t").concat(Ot,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(Y,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(ha,"\n\t\t}\n\t"),ko="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\t").concat(It,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(va,"\n\t\t}\n\t"),Ro="\n\t\t.eb-post-carousel-wrapper.".concat(o," .ebpg-footer-meta {\n\t\t\t").concat(Dt,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-carousel-wrapper.").concat(o," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(wa,"\n\t\t}\n\t"),_o='\n\t\t[dir="rtl"] .eb-post-carousel-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat(Xa,'\n left: auto;\n\t\t}\n\t\t[dir="rtl"] .eb-post-carousel-wrapper.').concat(o," .slick-next {\n ").concat(Za,"\n right: auto;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Me?Xa:Za,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n ").concat(Me?Za:Xa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\tcolor: ").concat(ge," !important;\n\t\t\t").concat(tn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev:hover i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next:hover i {\n\t\t\tcolor: ").concat(fe," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(En,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(bn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Va,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\tcolor: ").concat(ye," !important;\n\t\t\t").concat(rn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(ye," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(Ee).concat(xe,";\n\t\t\theight: ").concat(Ee).concat(xe,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(ye," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(Ee).concat(xe,";\n\t\t\theight: ").concat(Ee).concat(xe,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li.slick-active button:before {\n\t\t\tcolor: ").concat(he," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(he," !important;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(he," !important;\n\t\t\twidth: calc(").concat(Ee).concat(xe,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(Ee).concat(xe,"* 2);\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(ye," !important;\n\t\t\tfont-size: 0;\n\t\t\twidth: ").concat(Ee).concat(xe,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(he," !important;\n\t\t\twidth: calc(").concat(Ee).concat(xe,");\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-4 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(Ee).concat(xe,");\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-1 .slick-dots li button:before,\n .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-2 .slick-dots li button:before,\n .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-3 .slick-dots li button:before {\n\t\t\tbackground-color: ").concat(ye," !important;\n\t\t\tfont-size: 0;\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-1 .slick-dots li.slick-active button:before,\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-2 .slick-dots li.slick-active button:before,\n .eb-post-carousel-wrapper.").concat(o,".eb-dot-style-modern-3 .slick-dots li.slick-active button:before {\n\t\t\tbackground-color: ").concat(he," !important;\n\t\t}\n\t"),Co='\n [dir="rtl"] .eb-post-carousel-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat($a,'\n\t\t}\n\t\t[dir="rtl"] .eb-post-carousel-wrapper.').concat(o," .slick-next {\n ").concat(Ja,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Me?$a:Ja,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n ").concat(Me?Ja:$a,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(an,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(xn,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(dn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Ga,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(ln,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\twidth: ").concat(Te).concat(Se,";\n\t\t\theight: ").concat(Te).concat(Se,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\twidth: ").concat(Te).concat(Se,";\n\t\t\theight: ").concat(Te).concat(Se,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\twidth: calc(").concat(Te).concat(Se,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(Te).concat(Se,"* 2);\n\t\t}\n\t"),Eo='\n [dir="rtl"] .eb-post-carousel-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat(Ka,'\n\t\t}\n\t\t[dir="rtl"] .eb-post-carousel-wrapper.').concat(o," .slick-next {\n ").concat(Ya,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Me?Ka:Ya,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next {\n ").concat(Me?Ya:Ka,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(nn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".eb-slider-dots,\n\t\t.eb-post-carousel-wrapper.").concat(o,".slick-dotted.slick-slider{\n\t\t\tmargin-bottom: calc(").concat(Sn,"px + 20px);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(mn,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(qa,"\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(cn,"\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-2 .slick-dots li button:before {\n\t\t\twidth: ").concat(Ne).concat(Be,";\n\t\t\theight: ").concat(Ne).concat(Be,";\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li button:before {\n\t\t\twidth: ").concat(Ne).concat(Se,";\n\t\t\theight: ").concat(Ne).concat(Be,";\n\t\t}\n\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active button:before {\n\t\t\twidth: calc(").concat(Ne).concat(Be,"* 2);\n\t\t}\n\t\t.eb-post-carousel-wrapper.").concat(o,".dot-style-3 .slick-dots li.slick-active {\n\t\t\twidth: calc(").concat(Ne).concat(Be,"* 2);\n\t\t}\n\t"),xo=(0,le.softMinifyCssStrings)("\n\t\t".concat(Bn,"\n\t\t").concat(On,"\n\t\t").concat(Ln,"\n\t\t").concat(Hn,"\n\t\t").concat(Vn,"\n\t\t").concat(Wn,"\n\t\t").concat(Yn,"\n\t\t").concat($n,"\n\t\t").concat(to,"\n\t\t").concat(oo,"\n\t\t").concat(co,"\n\t\t").concat(po,"\n\t\t").concat(uo,"\n\t\t").concat(yo,"\n\t\t").concat(wo,"\n\t\t").concat(_o,"\n\t")),So=(0,le.softMinifyCssStrings)("\n\t\t".concat(Tn,"\n\t\t").concat(Dn,"\n\t\t").concat(Fn,"\n\t\t").concat(zn,"\n\t\t").concat(Gn,"\n\t\t").concat(Zn,"\n\t\t").concat(Qn,"\n\t\t").concat(Kn,"\n\t\t").concat(ao,"\n\t\t").concat(ro,"\n\t\t").concat(io,"\n\t\t").concat(bo,"\n\t\t").concat(go,"\n\t\t").concat(ho,"\n\t\t").concat(ko,"\n\t\t").concat(Co,"\n\t")),Bo=(0,le.softMinifyCssStrings)("\n\t\t".concat(Nn,"\n\t\t").concat(Mn,"\n\t\t").concat(jn,"\n\t\t").concat(Un,"\n\t\t").concat(qn,"\n\t\t").concat(Jn,"\n\t\t").concat(Xn,"\n\t\t").concat(eo,"\n\t\t").concat(no,"\n\t\t").concat(lo,"\n\t\t").concat(so,"\n\t\t").concat(mo,"\n\t\t").concat(fo,"\n\t\t").concat(vo,"\n\t\t").concat(Ro,"\n\t\t").concat(Eo,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(le.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:xo,tabAllStyles:So,mobileAllStyles:Bo,blockName:n}))}const be=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M54.375 4.688H5.625A5.631 5.631 0 000 10.313v39.374a5.631 5.631 0 005.625 5.626h48.75A5.631 5.631 0 0060 49.687V10.313a5.631 5.631 0 00-5.625-5.626zm-52.5 5.625a3.754 3.754 0 013.75-3.75h48.75a3.754 3.754 0 013.75 3.75v5.624H1.875v-5.624zm52.5 43.124H5.625a3.754 3.754 0 01-3.75-3.75V17.814h56.25v31.875a3.754 3.754 0 01-3.75 3.75z"}),React.createElement("path",{fill:"#6C3BFF",d:"M6.563 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.938.938 0 110-1.876.938.938 0 010 1.876zM13.125 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.937.937 0 110-1.875.937.937 0 010 1.874zM19.688 8.438a2.812 2.812 0 100 5.624 2.812 2.812 0 000-5.624zm0 3.75a.937.937 0 110-1.875.937.937 0 010 1.874zM54.375 10.313H37.5a.938.938 0 000 1.874h16.875a.938.938 0 000-1.874zM19.77 22.734H9.79a1 1 0 00-1 1v8.662a1 1 0 001 1h9.98a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M15.936 28.065l-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M14.78 26.904a1.123 1.123 0 00-2.247 0v.038a1.123 1.123 0 102.247 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M19.94 34.919H9.62a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM18.85 38.242H9.62a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM35.02 22.734h-9.981a1 1 0 00-1 1v8.662a1 1 0 001 1h9.981a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M31.185 28.065l-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M30.029 26.904a1.123 1.123 0 00-2.247 0v.038a1.123 1.123 0 102.247 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M35.189 34.919h-10.32a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM34.1 38.242h-9.231a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM50.269 22.734h-9.981a1 1 0 00-1 1v8.662a1 1 0 001 1h9.981a1 1 0 001-1v-8.662a1 1 0 00-1-1z"}),React.createElement("path",{fill:"#C5B1FF",d:"M46.435 28.065l-5.152 5.21-.123.121h8.612c1.498 0 1.498-.38 1.498-1.523l-4.835-3.808z",opacity:"0.75"}),React.createElement("path",{fill:"#C5B1FF",d:"M45.278 26.904a1.123 1.123 0 00-2.246 0v.038a1.123 1.123 0 102.246 0v-.038z"}),React.createElement("path",{fill:"#6C3BFF",d:"M50.439 34.919h-10.32a.83.83 0 100 1.661h10.32a.83.83 0 100-1.661zM49.35 38.242h-9.231a.83.83 0 100 1.662h9.23a.83.83 0 100-1.662zM18.88 43.105c-1.69 0-3.064 1.398-3.064 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.751 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385s1.362.621 1.362 1.385c0 .763-.61 1.384-1.362 1.384zM29.484 43.105c-1.689 0-3.063 1.398-3.063 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.75 0-1.361-.621-1.361-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384zM40.09 43.105c-1.69 0-3.064 1.398-3.064 3.116 0 1.718 1.374 3.115 3.063 3.115 1.69 0 3.064-1.398 3.064-3.115 0-1.718-1.374-3.116-3.064-3.116zm0 4.5c-.752 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384z"}))};var de,me,ue,ge,fe=[{title:"Classic Layout",templatePreview:!0,preview:"".concat(null===(de=EssentialBlocksLocalize)||void 0===de?void 0:de.image_url,"/templates/post-carousel/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-1 .ebpg-carousel-post-holder::after { border-radius:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:250px; border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:var(\\u002d\\u002deb-global-heading-color); font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:var(\\u002d\\u002deb-global-text-color); text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Modern Layout",templatePreview:!0,preview:"".concat(null===(me=EssentialBlocksLocalize)||void 0===me?void 0:me.image_url,"/templates/post-carousel/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:9px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { padding:20px; border-bottom-right-radius:inherit; border-bottom-left-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:200px; border-top-left-radius:9px; border-top-right-radius:9px; border-bottom-left-radius:0px; border-bottom-right-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-top-left-radius:9px; border-top-right-radius:9px; border-bottom-left-radius:0px; border-bottom-right-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#333333; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:9px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { border-bottom-right-radius:inherit; border-bottom-left-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-2","titleColor":"#333333","contentColor":"#333333","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","dateMetaColor":"#d18df1","dotPreset":"dot-style-1","columnPaddingTop":"20","columnPaddingRight":"20","columnPaddingBottom":"20","columnPaddingLeft":"20","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"thumbnailBDRisLinked":false,"thumbnailBDRTop":"9","thumbnailBDRRight":"9","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"9","columnBorderShadowRds_Right":"9","columnBorderShadowRds_Bottom":"9","columnBorderShadowRds_Left":"9","thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Vintage Layout",templatePreview:!0,preview:"".concat(null===(ue=EssentialBlocksLocalize)||void 0===ue?void 0:ue.image_url,"/templates/post-carousel/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-wrapper { padding:0px; border-bottom-right-radius:inherit; border-top-right-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder { align-items:flex-start }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder .ebpg-entry-media { width:40% }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-3 .ebpg-carousel-post-holder .ebpg-entry-wrapper { width:60% }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:165px; border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#333333; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder { border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-3","titleColor":"#333333","contentColor":"#333333","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[]","dateMetaColor":"#d18df1","dotPreset":"dot-style-1","columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","thumbnailImageSizeRange":165,"slideToShowRange":1,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'},{title:"Minimal Layout",templatePreview:!0,preview:"".concat(null===(ge=EssentialBlocksLocalize)||void 0===ge?void 0:ge.image_url,"/templates/post-carousel/preset-4.svg"),content:'\x3c!-- wp:essential-blocks/post-carousel {"blockId":"eb-post-carousel-15gwf","blockMeta":{"desktop":".eb-post-carousel-wrapper.eb-post-carousel-15gwf { display:block; position:relative; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:50px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-25px/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(25px/2); height:calc(100% - 25px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }// .eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-post-carousel-column:hover { // \\t// \\tbox-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder .ebpg-entry-wrapper { justify-content:flex-end; padding:30px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { border-radius:15px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-entry-thumbnail img, .eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-entry-thumbnail:after { border-radius:15px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; border-width:0px !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-thumbnail img { height:350px; border-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.style-4 .ebpg-carousel-post-holder:hover .ebpg-entry-thumbnail:after { border-radius:inherit }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-left:0px; margin-bottom:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a { color:#ffffff; font-size:18px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-carousel-post-excerpt p { color:#ffffff; text-align:left; font-size:14px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn { text-align:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-author-avatar img { border-radius:50px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-on { color:#FAFAFA; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a { color:#d18df1; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:not(:first-child)::before { background-color:#9e9e9e }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-meta.ebpg-dynamic-values { color:#333333; font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:not(:first-child)::before { background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-author-avatar,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev { left:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next { right:-25px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next i { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:20px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-prev:hover i,.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-next:hover i { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(35px + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots { bottom:-35px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li { margin-right:10px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li button:before { color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px; height:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-dots li.slick-active button:before { color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-2 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(15px* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0; width:15px }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important; width:calc(15px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-4 .slick-dots li.slick-active { width:calc(15px) }","tab":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }","mobile":".eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-list { margin:calc(-undefinedpx/2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf .slick-slide .ebpg-carousel-post-holder { margin:calc(undefinedpx/2); height:calc(100% - undefinedpx) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-slider-dots,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.slick-dotted.slick-slider { margin-bottom:calc(NaNpx + 20px) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active button:before { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.dot-style-3 .slick-dots li.slick-active { width:calc(undefinedpx* 2) }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li button:before { background-color:var(\\u002d\\u002deb-global-secondary-color) !important; font-size:0 }.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-1 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-2 .slick-dots li.slick-active button:before,.eb-post-carousel-wrapper.eb-post-carousel-15gwf.eb-dot-style-modern-3 .slick-dots li.slick-active button:before { background-color:var(\\u002d\\u002deb-global-primary-color) !important }"},"queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-4","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","styleVerticalAlignment":"flex-end","titleColor":"#ffffff","showContent":false,"contentColor":"#ffffff","headerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","authorMetaColor":"#d18df1","dateMetaColor":"#FAFAFA","arrows":false,"leftArrowIcon":"fas fa-caret-left","rightArrowIcon":"fas fa-caret-right","dotPreset":"dot-style-4","columnPaddingTop":"30","columnPaddingRight":"30","columnPaddingBottom":"30","columnPaddingLeft":"30","titleMarginRight":"","titleMarginBottom":"15","headerMetaMarginBottom":"15","footerMetaMarginBottom":"0","thumbnailMarginBottom":0,"thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowRds_Top":"15","columnBorderShadowRds_Right":"15","columnBorderShadowRds_Bottom":"15","columnBorderShadowRds_Left":"15","thumbnailImageSizeRange":350,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-carousel-15gwf { display:block; opacity:1 }.eb-parent-eb-post-carousel-15gwf { display:block }"}} /--\x3e'}];function ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function he(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ye(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ve=he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he(he({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},queryData:{type:"object"},queryResults:{type:"array"},postTerms:{type:"object",default:{}},preset:{type:"string",default:"style-1"},showThumbnail:{type:"boolean",default:!0},thumbnailOverlayColor:{type:"string",default:"#FFFFFF80"},thumbnailOverlayHoverColor:{type:"string",default:"rgba(0 0 0 / 0.5)"},styleVerticalAlignment:{type:"string",default:"flex-start"},showTitle:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},titleColorStyle:{type:"string",default:"normal"},titleLength:{type:"number"},titleTextAlign:{type:"string",default:"left"},titleTag:{type:"string",default:"h2"},showContent:{type:"boolean",default:!0},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentTextAlign:{type:"string",default:"left"},contentLength:{type:"number",default:20},expansionIndicator:{type:"string",default:"..."},showReadMore:{type:"boolean",default:!1},readmoreText:{type:"string",default:"Read More"},readmoreColor:{type:"string",default:"var(--eb-global-tertiary-color)"},readmoreBGColor:{type:"string"},readmoreTextAlign:{type:"string",default:"left"},readmoreHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},readmoreBGHoverColor:{type:"string"},readmoreColorType:{type:"string",default:"normal"},dynamicMetaColor:{type:"string",default:"#333333"},dynamicMetaBgColor:{type:"string"},showMeta:{type:"boolean",default:!0},headerMeta:{type:"string",default:'[{"value":"categories","label":"Categories"}]'},footerMeta:{type:"string",default:'[{"value":"avatar","label":"Author Avatar"},{"value":"author","label":"Author Name"},{"value":"date","label":"Published Date"}]'},authorPrefix:{type:"string",default:"by"},datePrefix:{type:"string",default:"on"},headerMetaTextAlign:{type:"string",default:"flex-start"},footerMetaTextAlign:{type:"string",default:"flex-start"},authorMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},authorMetaHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},metaColorType:{type:"string",default:"normal"},commonMetaColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaHoverColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaDividerColor:{type:"string",default:"#9e9e9e"},categoryMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},categoryMetaHoverColor:{type:"string",default:"var(--eb-global-secondary-text-color)"},categoryMetaDividerColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaHoverColor:{type:"string",default:"var(--eb-global-secondary-text-color)"},tagMetaBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaBgHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},tagMetaDividerColor:{type:"string",default:"var(--eb-global-secondary-color)"},dateMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},arrows:{type:"boolean",default:!0},adaptiveHeight:{type:"boolean",default:!0},autoplay:{type:"bolean",default:!0},autoplaySpeed:{type:"number",default:3e3},dots:{type:"boolean",default:!0},infinite:{type:"boolean",default:!0},pauseOnHover:{type:"boolean",default:!0},slidesToShow:{type:"number",default:3},speed:{type:"number",default:500},leftArrowIcon:{type:"string",default:"fas fa-chevron-circle-left"},rightArrowIcon:{type:"string",default:"fas fa-chevron-circle-right"},arrowColorType:{type:"string",default:"normal"},arrowColor:{type:"string",default:"var(--eb-global-secondary-color)"},arrowHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},dotsColor:{type:"string",default:"var(--eb-global-secondary-color)"},dotsActiveColor:{type:"string",default:"var(--eb-global-primary-color)"},dotPreset:{type:"string",default:"dot-circle"},showFallbackImg:{type:"boolean",default:!1},fallbackImgUrl:{type:"string"},fallbackImgId:{type:"string"},fallbackImgAlt:{type:"string"},isRTLEnable:{type:"boolean",default:!1}},(0,le.generateTypographyAttributes)(ae,{fontSize:18})),(0,le.generateTypographyAttributes)(ne,{fontSize:14})),(0,le.generateTypographyAttributes)(oe,{fontSize:13})),(0,le.generateTypographyAttributes)(re,{fontSize:13})),(0,le.generateDimensionsAttributes)(v)),(0,le.generateDimensionsAttributes)(w,{top:0,bottom:50,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(_)),(0,le.generateDimensionsAttributes)(N,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(P,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(O,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(I,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(D,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(A,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(T,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,le.generateDimensionsAttributes)(B,{top:5,bottom:5,right:5,left:5,isLinked:!0})),(0,le.generateDimensionsAttributes)(F,{top:50,bottom:50,right:50,left:50,isLinked:!0})),(0,le.generateBorderShadowAttributes)(k,{})),(0,le.generateBorderShadowAttributes)(x,{noShadow:!0,rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,le.generateBackgroundAttributes)(R,{noOverlay:!0})),(0,le.generateBackgroundAttributes)(E)),(0,le.generateResponsiveRangeAttributes)("columns",{defaultRange:3})),(0,le.generateResponsiveRangeAttributes)("columnGap",{defaultRange:10})),(0,le.generateResponsiveRangeAttributes)(M,{defaultRange:10})),(0,le.generateResponsiveRangeAttributes)(L,{defaultRange:10})),(0,le.generateResponsiveRangeAttributes)(S,{defaultRange:250})),(0,le.generateResponsiveRangeAttributes)(C,{defaultRange:40,defaultUnit:"%"})),(0,le.generateResponsiveRangeAttributes)(j,{defaultRange:3})),(0,le.generateResponsiveRangeAttributes)("sliderHeight",{defaultRange:400})),(0,le.generateResponsiveRangeAttributes)(H,{defaultRange:10})),(0,le.generateResponsiveRangeAttributes)(z,{defaultRange:-25})),(0,le.generateResponsiveRangeAttributes)(U,{defaultRange:-35})),(0,le.generateResponsiveRangeAttributes)(V,{defaultRange:20})),(0,le.generateResponsiveRangeAttributes)(G,{defaultRange:15})),(0,le.generateResponsiveRangeAttributes)(q,{defaultRange:25})),{},{cover:{type:"string",default:""}},(0,le.generateBorderShadowAttributes)(W,{noShadow:!0,defaultBdrColor:"#F445FF",defaultBdrStyle:"none",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:0,right:0,bottom:0,left:0}}));function we(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ke(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?we(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):we(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var Re=function(e){var t=e.className,a=e.style,n=e.onClick,o=e.faClass;return React.createElement("div",{className:t,style:ke({},a),onClick:n},React.createElement("i",{className:(0,le.sanitizeIconValue)(o)}))};const _e=(0,s.memo)((0,le.withBlockContext)(ve)(function(e){var t,a=e.attributes,c=e.setAttributes,i=e.isSelected,f=a.blockId,y=a.preset,h=a.showThumbnail,v=a.showTitle,w=a.titleLength,k=a.titleTag,R=a.showContent,_=a.contentLength,C=a.expansionIndicator,E=a.showReadMore,x=a.readmoreText,S=a.showMeta,B=a.headerMeta,T=a.footerMeta,N=a.authorPrefix,P=a.datePrefix,O=a.classHook,I=a.arrows,D=a.adaptiveHeight,A=a.autoplay,M=a.autoplaySpeed,L=a.dots,F=a.infinite,j=a.pauseOnHover,H=a.speed,z=a.slideToShowRange,U=a.TABslideToShowRange,V=a.MOBslideToShowRange,G=a.dotPreset,q=a.leftArrowIcon,W=a.rightArrowIcon,Z=a.cover,J=a.showBlockContent,Y=a.showFallbackImg,Q=a.fallbackImgUrl,X=a.fallbackImgAlt,$=a.isRTLEnable,K=(0,s.useState)(!1),ee=(0,l.A)(K,2),te=ee[0],ae=ee[1],ne=(0,s.useRef)(!1),oe=(0,d.getSettings)().formats.date,re=ke(ke({},e),{},{blockPrefix:"eb-post-carousel",style:React.createElement(pe,e)});(0,s.useEffect)(function(){if(eb_conditional_localize&&"edit-site"==eb_conditional_localize.editor_type){var e=(0,m.select)("core/edit-site").getSettings().isRTL;c({isRTLEnable:e})}else{var t=(0,m.select)("core/editor").getEditorSettings().isRTL;c({isRTLEnable:t})}},[]),(0,s.useEffect)(function(){J&&"object"===(0,r.A)(te)?ne.current=!0:ne.current=!1},[J]);var ce=U||2,ie=V||1,de=function(e,t){return"object"===(0,r.A)(t)&&Object.keys(t).length<e?Object.keys(t).length:e},me={arrows:I,autoplay:A,autoplaySpeed:M,dots:L,infinite:F,pauseOnHover:j,slidesToShow:de(z,te),speed:H,rtl:$,prevArrow:React.createElement(Re,{faClass:q}),nextArrow:React.createElement(Re,{faClass:W}),responsive:[{breakpoint:1024,settings:{slidesToShow:de(ce,te)}},{breakpoint:767,settings:{slidesToShow:de(ie,te)}}]},ue=(0,s.createRef)();return Z.length?React.createElement("div",null,React.createElement("img",{src:Z,alt:"post carousel",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,i&&J&&React.createElement(se,(0,o.A)({},e,{slider:ue,setQueryResults:ae})),J&&!1===ne.current&&React.createElement(React.Fragment,null,!1===te&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(le.CustomQuery,{isEdit:!0,attributes:a,setAttributes:c,setQueryResults:ae})),React.createElement(le.BlockProps.Edit,re,React.createElement(le.BrowseTemplate,(0,o.A)({},e,{Icon:be,title:"Post Carousel",description:"Choose a template for the Post Carousel or start blank.",patterns:fe})),J&&React.createElement(React.Fragment,null,!1!==te&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(f," ").concat(O)},React.createElement("div",{className:"eb-post-carousel-wrapper ".concat(f," ").concat(G," ").concat(y," ").concat(L?"eb-slider-dots":""," ").concat(D?"equal-height":""),"data-id":f},React.createElement(u.A,(0,o.A)({},me,{ref:ue}),"object"===(0,r.A)(te)&&te.length>0&&te.map(function(e,t){var a,o,r,l,i,s=e.featuredImageInfo,m=void 0===s?{}:s,u=(m.url,m.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),f=w>=0?u.trim().split(" ",w).join(" "):u,O=(0,p.safeHTML)("\n\t\t\t\t\t\t<".concat(k,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t<a class="ebpg-carousel-post-link" href="#" title="').concat(f,'">\n\t\t\t\t\t\t\t\t').concat(f,"\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</").concat(k,">\n\t\t\t\t\t")),I=null!=e&&e.excerpt?null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered:null==e||null===(r=e.content)||void 0===r?void 0:r.rendered,D=document.createElement("div");D.innerHTML=I||"",I=D.textContent||D.innerText||"";var A=_>=0?I.trim().split(" ",_).join(" "):I,M=e._embedded&&e._embedded.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:e._embedded.author[0].link},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",L=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(le.DynamicInputValueHandler,{value:P,tagName:"span",onChange:function(e){return c({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,d.format)("c",e.date_gmt)},(0,d.dateI18n)(oe,e.date_gmt))),F=e._embedded&&e._embedded.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(le.DynamicInputValueHandler,{value:N,tagName:"span",onChange:function(e){return c({frontTitle:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",j={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map(function(e){var t={},a="";e.length>0&&e.map(function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}}),j[a]=t});var H={};Object.keys(j).length>0&&Object.keys(j).map(function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(j[e]).length>0&&Object.keys(j[e]).map(function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thref=").concat(j[e][t].link,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle=").concat(j[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t").concat(j[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t")}),a+="</div>",H[e]=a});var z=j.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(j.category).map(function(e,t){return React.createElement("a",{key:t,href:j.category[e].link,title:j.category[e].name},j.category[e].name)})):"",U=j.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(j.post_tag).map(function(e,t){return React.createElement("a",{key:t,href:j.post_tag[e].link,title:j.post_tag[e].name},j.post_tag[e].name)})):"",V={date:L,author:F,categories:z,tags:U},G=(0,le.ebJsonStringCheck)(B)?JSON.parse(B).map(function(e){return e.value}):[],q=S?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},G.includes("avatar")&&M,React.createElement("div",{className:"ebpg-entry-meta-items"},G.map(function(e){return V.hasOwnProperty(e)?V[e]:H.hasOwnProperty(e)?(0,g.Ay)(H[e]):"avatar"!==e?(0,b.applyFilters)("essential_blocks_post_carousel_dynamic_fields_markup","",e):void 0}))):"",W=(0,le.ebJsonStringCheck)(T)?JSON.parse(T).map(function(e){return e.value}):[],Z=S?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},W.includes("avatar")&&M,React.createElement("div",{className:"ebpg-entry-meta-items"},W.map(function(e){return V.hasOwnProperty(e)?V[e]:H.hasOwnProperty(e)?(0,g.Ay)(H[e]):"avatar"!==e?(0,b.applyFilters)("essential_blocks_post_carousel_dynamic_fields_markup","",e):void 0}))):"";return React.createElement("article",{className:"ebpg-carousel-post ebpg-post-carousel-column","data-id":e.id},React.createElement("div",{className:"ebpg-carousel-post-holder"},"style-4"===y&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},h&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-4"!==y&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:e._embedded["wp:featuredmedia"][0].source_url,alt:null==e||null===(l=e.title)||void 0===l?void 0:l.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement(React.Fragment,null,Y&&Q&&React.createElement("img",{src:Q,alt:"".concat(X||"No Thumbnail Available")}),(!Y||Y&&void 0===Q)&&React.createElement("img",{src:null===(i=EssentialBlocksLocalize)||void 0===i?void 0:i.placeholder_image,alt:"No Thumbnail Available"})))),React.createElement("div",{className:"ebpg-entry-wrapper"},S&&q,v&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:O}}),React.createElement("div",{className:"ebpg-entry-content"},R&&A&&React.createElement("div",{className:"ebpg-carousel-post-excerpt"},React.createElement("p",null,A,(0,n.__)(C))),E&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},(0,n.__)(x)))),S&&Z)))}),void 0!==te&&te.length<1&&React.createElement("p",null,"No Posts Found")))))))}));var Ce,Ee,xe,Se,Be,Te,Ne,Pe,Oe,Ie,De;function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ae.apply(null,arguments)}const Me=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Post Carousel","name":"essential-blocks/post-carousel","description":"Showcase your posts & blogs in a stylish way on your website and make it more engaging","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Le;(0,le.ebConditionalRegisterBlockType)(Me,{keywords:[(0,n.__)("posts","essential-blocks"),(0,n.__)("post carousel","essential-blocks"),(0,n.__)("posts block","essential-blocks"),(0,n.__)("carousel","essential-blocks"),(0,n.__)("slider","essential-blocks"),(0,n.__)("post slider","essential-blocks")],icon:function(e){return i.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),Ce||(Ce=i.createElement("path",{fill:"#6C3BFF",d:"M54.375 4.688H5.625A5.63 5.63 0 0 0 0 10.313v39.375a5.63 5.63 0 0 0 5.625 5.624h48.75A5.63 5.63 0 0 0 60 49.689V10.313a5.63 5.63 0 0 0-5.625-5.626m-52.5 5.625a3.754 3.754 0 0 1 3.75-3.75h48.75a3.754 3.754 0 0 1 3.75 3.75v5.624H1.875zm52.5 43.125H5.625a3.754 3.754 0 0 1-3.75-3.75V17.812h56.25v31.876a3.754 3.754 0 0 1-3.75 3.75"})),Ee||(Ee=i.createElement("path",{fill:"#6C3BFF",d:"M6.563 8.438a2.812 2.812 0 1 0 0 5.624 2.812 2.812 0 0 0 0-5.624m0 3.75a.938.938 0 1 1 0-1.876.938.938 0 0 1 0 1.876M13.125 8.438a2.812 2.812 0 1 0 0 5.624 2.812 2.812 0 0 0 0-5.624m0 3.75a.937.937 0 1 1 0-1.875.937.937 0 0 1 0 1.874M19.688 8.438a2.812 2.812 0 1 0 0 5.624 2.812 2.812 0 0 0 0-5.624m0 3.75a.937.937 0 1 1 0-1.875.937.937 0 0 1 0 1.874M54.375 10.313H37.5a.938.938 0 0 0 0 1.874h16.875a.938.938 0 0 0 0-1.874M19.77 22.734H9.79a1 1 0 0 0-1 1v8.662a1 1 0 0 0 1 1h9.98a1 1 0 0 0 1-1v-8.662a1 1 0 0 0-1-1"})),xe||(xe=i.createElement("path",{fill:"#C5B1FF",d:"m15.936 28.065-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523z",opacity:.75})),Se||(Se=i.createElement("path",{fill:"#C5B1FF",d:"M14.78 26.904a1.123 1.123 0 0 0-2.247 0v.038a1.123 1.123 0 1 0 2.247 0z"})),Be||(Be=i.createElement("path",{fill:"#6C3BFF",d:"M19.94 34.919H9.62a.83.83 0 1 0 0 1.661h10.32a.83.83 0 1 0 0-1.661M18.85 38.242H9.62a.83.83 0 1 0 0 1.662h9.23a.83.83 0 1 0 0-1.662M35.02 22.734h-9.981a1 1 0 0 0-1 1v8.662a1 1 0 0 0 1 1h9.981a1 1 0 0 0 1-1v-8.662a1 1 0 0 0-1-1"})),Te||(Te=i.createElement("path",{fill:"#C5B1FF",d:"m31.185 28.065-5.152 5.21-.122.121h8.611c1.498 0 1.498-.38 1.498-1.523z",opacity:.75})),Ne||(Ne=i.createElement("path",{fill:"#C5B1FF",d:"M30.029 26.904a1.123 1.123 0 0 0-2.247 0v.038a1.123 1.123 0 1 0 2.247 0z"})),Pe||(Pe=i.createElement("path",{fill:"#6C3BFF",d:"M35.189 34.919h-10.32a.83.83 0 1 0 0 1.661h10.32a.83.83 0 1 0 0-1.661M34.1 38.242h-9.231a.83.83 0 1 0 0 1.662h9.23a.83.83 0 1 0 0-1.662M50.269 22.734h-9.981a1 1 0 0 0-1 1v8.662a1 1 0 0 0 1 1h9.981a1 1 0 0 0 1-1v-8.662a1 1 0 0 0-1-1"})),Oe||(Oe=i.createElement("path",{fill:"#C5B1FF",d:"m46.435 28.065-5.152 5.21-.123.121h8.612c1.498 0 1.498-.38 1.498-1.523z",opacity:.75})),Ie||(Ie=i.createElement("path",{fill:"#C5B1FF",d:"M45.278 26.904a1.123 1.123 0 0 0-2.246 0v.038a1.123 1.123 0 1 0 2.246 0z"})),De||(De=i.createElement("path",{fill:"#6C3BFF",d:"M50.439 34.919h-10.32a.83.83 0 1 0 0 1.661h10.32a.83.83 0 1 0 0-1.661M49.35 38.242h-9.231a.83.83 0 1 0 0 1.662h9.23a.83.83 0 1 0 0-1.662M18.88 43.105c-1.69 0-3.064 1.398-3.064 3.116s1.374 3.115 3.063 3.115 3.064-1.398 3.064-3.115-1.374-3.116-3.064-3.116m0 4.5c-.751 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385s1.362.621 1.362 1.385c0 .763-.61 1.384-1.362 1.384M29.484 43.105c-1.689 0-3.063 1.398-3.063 3.116s1.374 3.115 3.063 3.115 3.064-1.398 3.064-3.115-1.374-3.116-3.064-3.116m0 4.5c-.75 0-1.361-.621-1.361-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384M40.09 43.105c-1.69 0-3.064 1.398-3.064 3.116s1.374 3.115 3.063 3.115 3.064-1.398 3.064-3.115-1.374-3.116-3.064-3.116m0 4.5c-.752 0-1.362-.621-1.362-1.384 0-.764.61-1.385 1.361-1.385.75 0 1.362.621 1.362 1.385 0 .763-.611 1.384-1.362 1.384"})))},attributes:ve,edit:_e,save:function(){return null},example:{attributes:{cover:"".concat(null===(Le=EssentialBlocksLocalize)||void 0===Le?void 0:Le.image_url,"/block-preview/post-carousel.jpeg")}}})},1412:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(3453),l=a(1609),c=a(8468),i=a(3554),s=a(6427),p="wrprBg",b="wrpMargin",d="wrpPadding",m="wrpBorderShadow",u="videoBorderShadow",g="width",f="playIconWidth",y="lightboxWidth",h="lightboxHeight",v="lightboxBorderShadow",w="closeIconWidth",k="stickyVideoWidth",R="stickyVideoHeight",_="placeholderImageWidth",C="placeholderImageHeight",E="placeholderPlayIconWidth",x="stickyVisibility",S=((0,n.__)("YouTube","essential-blocks"),(0,n.__)("Vimeo","essential-blocks"),(0,n.__)("Self Hosted","essential-blocks"),[{label:(0,n.__)("None","essential-blocks"),value:"none"},{label:(0,n.__)("Sticky","essential-blocks"),value:"eb-sticky"},{label:(0,n.__)("Lightbox","essential-blocks"),value:"lightbox"}]),B=((0,n.__)("None","essential-blocks"),(0,n.__)("Custom","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}]),T=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],N=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"vh",value:"vh"}],P=[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}],O=[{label:"Image",value:"image"},{label:"Icon",value:"icon"}],I=[{label:(0,n.__)("Visible","essential-blocks"),value:"visible"},{label:(0,n.__)("Hidden","essential-blocks"),value:"hidden"}],D=a(5694);function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const L=function(e){var t=e.attributes,a=e.setAttributes,o=e.preview,l=e.setPreview,i=e.setVideoPlayIcon,A=t.resOption,L=t.showBar,F=t.videoConfig,j=t.videoOptions,H=t.imageOverlay,z=t.videoURL,U=t.previewImage,V=(t.previewImageId,t.customPlayIcon),G=t.lightboxPlayIcon,q=(t.customPlayIconId,t.customPlayIconURL),W=t.lightboxBGColor,Z=t.closeIconColor,J=t.closeIconBgColor,Y=t.placeholderImage,Q=(t.placeholderImageId,t.placeholderPlayIconURL),X=(t.placeholderPlayIconId,t.stickyPosition),$=t.videoAlignment,K=t.customPlayIconlib,ee=t.placeholderCustomPlayIconType,te=t.customPlayIconlibColor,ae=t.lightboxPlayIconType,ne=t.lightboxPlayIconlib,oe=t.lightboxPlayIconlibColor,re=t.showDownload;(0,c.useEffect)(function(){"lightbox"===j&&a({imageOverlay:!1})},[j]),(0,c.useEffect)(function(){l(!(!H||!U)&&U)},[H,U]),(0,c.useEffect)(function(){i(V?"image"===ee?React.createElement("img",{src:q}):React.createElement(D.EBDisplayIcon,{icon:K}):null)},[V,q,ee,K]);var le=(0,c.useState)(!1),ce=(0,r.A)(le,2),ie=ce[0],se=ce[1];return(0,c.useEffect)(function(){if(z){var e=z.split(".").pop();-1===["mp4","webm","ogg"].indexOf(e)?se(!1):se(!0)}},[z]),React.createElement(D.InspectorPanel,{advancedControlProps:{marginPrefix:b,paddingPrefix:d,backgroundPrefix:p,borderPrefix:m,hasMargin:!0}},React.createElement(D.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(s.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(D.EBTextControl,{label:(0,n.__)("URL","essential-blocks"),fieldType:"url",value:z,onChange:function(e){return a({videoURL:e})},placeholder:"https://example.com/video.mp4",help:(0,n.__)("Enter a valid video URL with security filtering and validation.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(s.__experimentalDivider,null),React.createElement(s.PanelRow,null," ",(0,n.__)("Video Options","essential-blocks")," "),"lightbox"!=j&&React.createElement(React.Fragment,null,React.createElement(s.ToggleControl,{label:(0,n.__)("Autoplay","essential-blocks"),checked:F.autoplay,onChange:function(e){a({videoConfig:M(M({},F),{},{autoplay:e,muted:e&&!o})})}}),F.autoplay&&React.createElement(s.PanelRow,null,React.createElement("em",null,"Audio will be muted by default if autoplay is enabled.")),React.createElement(s.ToggleControl,{label:(0,n.__)("Mute","essential-blocks"),checked:F.muted,onChange:function(e){return a({videoConfig:M(M({},F),{},{muted:e})})}})),React.createElement(s.ToggleControl,{label:(0,n.__)("Loop","essential-blocks"),checked:F.loop,onChange:function(e){return a({videoConfig:M(M({},F),{},{loop:e})})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Controls","essential-blocks"),checked:L,onChange:function(e){var t=z;a({showBar:e,videoURL:""}),setTimeout(function(){a({videoURL:t})},100)}}),L&&ie&&React.createElement(s.ToggleControl,{label:(0,n.__)("Show Download","essential-blocks"),checked:re,onChange:function(e){return a({showDownload:e})}}),"lightbox"!=j&&React.createElement(React.Fragment,null,React.createElement(s.__experimentalDivider,null),React.createElement(s.ToggleControl,{label:(0,n.__)("Image Overlay","essential-blocks"),checked:H,onChange:function(e){return a({imageOverlay:e})}}),H&&React.createElement(React.Fragment,null,React.createElement(D.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,n=e.url;return a({previewImage:n,previewImageId:t})},value:U,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),React.createElement(s.ToggleControl,{label:(0,n.__)("Custom Play Icon","essential-blocks"),checked:V,onChange:function(e){return a({customPlayIcon:e})}}),V&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Icon Type","essential-blocks")},React.createElement(s.ButtonGroup,null,O.map(function(e){return React.createElement(s.Button,{isPrimary:ee===e.value,isSecondary:ee!==e.value,onClick:function(){return a({placeholderCustomPlayIconType:e.value})}},e.label)}))),"icon"===ee&&React.createElement(s.BaseControl,null,React.createElement(D.EBIconPicker,{value:K,attributeName:"customPlayIconlib"})),"image"===ee&&React.createElement(D.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,n=e.url;return a({customPlayIconURL:n,customPlayIconId:t})},value:q,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1})))),React.createElement(s.__experimentalDivider,null),React.createElement(s.SelectControl,{label:(0,n.__)("Additional Option","essential-blocks"),value:j,options:S,onChange:function(e){return a({videoOptions:e})}}),"eb-sticky"==j&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Sticky Position","essential-blocks")},React.createElement(s.ButtonGroup,null,B.map(function(e){return React.createElement(s.Button,{isPrimary:X===e.value,isSecondary:X!==e.value,onClick:function(){return a({stickyPosition:e.value})}},e.label)}))),React.createElement(D.ResponsiveSelectController,{baseLabel:(0,n.__)("Visibility","essential-blocks"),controlName:x,options:I,resOption:A})),"lightbox"==j&&React.createElement(React.Fragment,null,React.createElement(s.PanelRow,null,"Placeholder Image"),React.createElement(D.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,n=e.url;return a({placeholderImage:n,placeholderImageId:t})},value:Y,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),React.createElement(s.PanelRow,null,"Play Icon"),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Play Icon","essential-blocks"),checked:G,onChange:function(e){return a({lightboxPlayIcon:e})}}),G&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Icon Type","essential-blocks")},React.createElement(s.ButtonGroup,null,O.map(function(e){return React.createElement(s.Button,{isPrimary:ae===e.value,isSecondary:ae!==e.value,onClick:function(){return a({lightboxPlayIconType:e.value})}},e.label)}))),"icon"===ae&&React.createElement(s.BaseControl,null,React.createElement(D.EBIconPicker,{value:ne,attributeName:"lightboxPlayIconlib"})),"image"===ae&&React.createElement(D.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,n=e.url;return a({placeholderPlayIconURL:n,placeholderPlayIconId:t})},value:Q,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1})))))),React.createElement(D.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(s.PanelBody,{title:(0,n.__)("Video Styles","essential-blocks")},"lightbox"!=j&&React.createElement(React.Fragment,null,React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:g,min:1,max:1e3,step:1,units:T}),React.createElement(s.BaseControl,{label:(0,n.__)("Alignment","essential-blocks")},React.createElement(s.ButtonGroup,null,P.map(function(e){return React.createElement(s.Button,{isPrimary:$===e.value,isSecondary:$!==e.value,onClick:function(){return a({videoAlignment:e.value})}},e.label)})))),"lightbox"==j&&React.createElement(React.Fragment,null,G&&React.createElement(React.Fragment,null,React.createElement(s.PanelRow,null,"Play Icon"),"icon"==ae&&React.createElement(React.Fragment,null,React.createElement(D.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:oe,attributeName:"lightboxPlayIconlibColor"})),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Size","essential-blocks"),controlName:E,min:1,max:400,step:1,units:T})),React.createElement(s.PanelRow,null,"Placeholder Image"),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:_,min:1,max:1e3,step:1,units:T}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:C,min:1,max:1e3,step:1,units:T}),React.createElement(s.__experimentalDivider,null)),React.createElement(s.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(D.BorderShadowControl,{controlName:u})),H&&V&&React.createElement(s.PanelBody,{title:(0,n.__)("Image Overlay","essential-blocks"),initialOpen:!1},React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Play Icon Size","essential-blocks"),controlName:f,min:1,max:400,step:1,units:T}),"icon"==ee&&React.createElement(React.Fragment,null,React.createElement(D.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:te,attributeName:"customPlayIconlibColor"}))),"lightbox"==j&&React.createElement(s.PanelBody,{title:(0,n.__)("Lightbox","essential-blocks")},React.createElement(s.PanelRow,null,"Lightbox"),React.createElement(D.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:W,attributeName:"lightboxBGColor"}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Content Width","essential-blocks"),controlName:y,min:1,max:1e3,step:1,units:T}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Content Height","essential-blocks"),controlName:h,min:1,max:1e3,step:1,units:N}),React.createElement(D.BorderShadowControl,{controlName:v,noShadow:!0,noBdrHover:!0}),React.createElement(s.PanelRow,null,"Close Icon"),React.createElement(D.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:J,attributeName:"closeIconBgColor"}),React.createElement(D.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Z,attributeName:"closeIconColor"}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Size (PX)","essential-blocks"),controlName:w,min:1,max:100,step:1,noUnits:!0})),"eb-sticky"==j&&React.createElement(s.PanelBody,{title:(0,n.__)("Sticky","essential-blocks"),initialOpen:!1},React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:k,min:1,max:1e3,step:1,units:T}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:R,min:1,max:1e3,step:1,units:T}),React.createElement(s.PanelRow,null,"Close Icon"),React.createElement(D.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Z,attributeName:"closeIconColor"}),React.createElement(D.ResponsiveRangeController,{baseLabel:(0,n.__)("Size","essential-blocks"),controlName:w,min:1,max:1e3,step:1,units:T})))))};function F(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.lightboxBGColor),l=t.closeIconColor,c=(t.closeIconWidthRange,t.closeIconBgColor),i=t.videoAlignment,s=t.customPlayIconlibColor,x=t.lightboxPlayIconlibColor,S=(0,D.generateDimensionsControlStyles)({controlName:b,styleFor:"margin",attributes:t}),B=S.dimensionStylesDesktop,T=S.dimensionStylesTab,N=S.dimensionStylesMobile,P=(0,D.generateDimensionsControlStyles)({controlName:d,styleFor:"padding",attributes:t}),O=P.dimensionStylesDesktop,I=P.dimensionStylesTab,A=P.dimensionStylesMobile,M=(0,D.generateResponsiveRangeStyles)({controlName:g,property:"",attributes:t}),L=M.rangeStylesDesktop,F=M.rangeStylesTab,j=M.rangeStylesMobile,H=(0,D.generateResponsiveRangeStyles)({controlName:f,property:"",attributes:t}),z=H.rangeStylesDesktop,U=H.rangeStylesTab,V=H.rangeStylesMobile,G=(0,D.generateResponsiveRangeStyles)({controlName:k,property:"",attributes:t}),q=G.rangeStylesDesktop,W=G.rangeStylesTab,Z=G.rangeStylesMobile,J=(0,D.generateResponsiveRangeStyles)({controlName:R,property:"",attributes:t}),Y=J.rangeStylesDesktop,Q=J.rangeStylesTab,X=J.rangeStylesMobile,$=(0,D.generateResponsiveRangeStyles)({controlName:_,property:"",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=(0,D.generateResponsiveRangeStyles)({controlName:C,property:"",attributes:t}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,le=(0,D.generateResponsiveRangeStyles)({controlName:E,property:"",attributes:t}),ce=le.rangeStylesDesktop,ie=le.rangeStylesTab,se=le.rangeStylesMobile,pe=(0,D.generateResponsiveRangeStyles)({controlName:y,property:"",attributes:t}),be=pe.rangeStylesDesktop,de=pe.rangeStylesTab,me=pe.rangeStylesMobile,ue=(0,D.generateResponsiveRangeStyles)({controlName:h,property:"",attributes:t}),ge=ue.rangeStylesDesktop,fe=ue.rangeStylesTab,ye=ue.rangeStylesMobile,he=(0,D.generateBorderShadowStyles)({controlName:v,attributes:t}),ve=he.styesDesktop,we=he.styesTab,ke=he.styesMobile,Re=(he.stylesHoverDesktop,he.stylesHoverTab,he.stylesHoverMobile,he.transitionStyle,(0,D.generateResponsiveRangeStyles)({controlName:w,property:"",attributes:t})),_e=Re.rangeStylesDesktop,Ce=Re.rangeStylesTab,Ee=Re.rangeStylesMobile,xe=(0,D.generateBackgroundControlStyles)({attributes:t,controlName:p,noOverlay:!0}),Se=xe.backgroundStylesDesktop,Be=xe.hoverBackgroundStylesDesktop,Te=xe.backgroundStylesTab,Ne=xe.hoverBackgroundStylesTab,Pe=xe.backgroundStylesMobile,Oe=xe.hoverBackgroundStylesMobile,Ie=xe.bgTransitionStyle,De=(0,D.generateBorderShadowStyles)({controlName:m,attributes:t}),Ae=De.styesDesktop,Me=De.styesTab,Le=De.styesMobile,Fe=De.stylesHoverDesktop,je=De.stylesHoverTab,He=De.stylesHoverMobile,ze=De.transitionStyle,Ue=(0,D.generateBorderShadowStyles)({controlName:u,attributes:t}),Ve=Ue.styesDesktop,Ge=Ue.styesTab,qe=Ue.styesMobile,We=Ue.stylesHoverDesktop,Ze=Ue.stylesHoverTab,Je=Ue.stylesHoverMobile,Ye=Ue.transitionStyle,Qe="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(Ae,"\n\t\t\t").concat(Se,"\n\t\t\ttransition:").concat(Ie,", ").concat(ze,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(Fe,"\n\t\t\t").concat(Be,"\n\t\t}\n .eb-advanced-video-wrapper.").concat(o," .eb-player-wrapper {\n ").concat("left"==i?"margin: 0 auto 0 0;":"","\n ").concat("center"==i?"margin: 0 auto;":"","\n ").concat("right"==i?"margin: 0 0 0 auto;":"","\n }\n\t"),Xe="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(T,"\n\t\t\t").concat(I,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(Te,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(je,"\n\t\t\t").concat(Ne,"\n\t\t}\n\t"),$e="\n\t\t.eb-advanced-video-wrapper.".concat(o,"{\n\t\t\t").concat(N,"\n\t\t\t").concat(A,"\n\t\t\t").concat(Le,"\n\t\t\t").concat(Pe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o,":hover {\n\t\t\t").concat(He,"\n\t\t\t").concat(Oe,"\n\t\t}\n\t"),Ke="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(L||": auto",";\n\t\t\ttransition: transform 0.5s, ").concat(Ye,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(z||": auto",";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(z||": 60px",";\n color: ").concat(s,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(q,";\n\t\t\theight").concat(Y,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(K,";\n\t\t\theight").concat(ne,";\n\t\t\t").concat(Ve,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(We,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(ce,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(ce,";\n color: ").concat(x,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(be,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\twidth: 100%;\n\t\t\theight").concat(ge,";\n\t\t\t").concat(ve,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player {\n\t\t\tbackground-color: ").concat(r,";\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(_e,";\n\t\t\tline-height").concat(_e,";\n\t\t\twidth").concat(_e,";\n\t\t\theight").concat(_e,";\n\t\t\tcolor: ").concat(l,";\n\t\t\tbackground-color: ").concat(c,";\n\t\t}\n\t"),et="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(F||": auto",";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(Ge,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(Ze,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(Ge,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(Ze,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(U||z,";\n\t\t}\n .eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(U||z,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(W,";\n\t\t\theight").concat(Q,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(ee,";\n\t\t\theight").concat(oe,";\n\t\t\t").concat(Ge,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(Ze,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(ie,";\n\t\t}\n .eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(ie,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(de,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\theight").concat(fe,";\n\t\t\t").concat(we,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(Ce,";\n\t\t\tline-height").concat(Ce,";\n\t\t\twidth").concat(Ce,";\n\t\t\theight").concat(Ce,";\n\t\t}\n\n\t"),tt="\n\t\t.eb-advanced-video-wrapper.".concat(o," .eb-player-wrapper{\n\t\t\twidth").concat(j||": auto",";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe {\n\t\t\t").concat(qe,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player iframe:hover {\n\t\t\t").concat(Je,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .react-player__preview {\n\t\t\t").concat(qe,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview:hover {\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview img {\n\t\t\twidth").concat(V||U,";\n\t\t}\n .eb-advanced-video-wrapper.").concat(o," .eb-react-player .react-player__preview i {\n\t\t\tfont-size").concat(V||V,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.sticky.stuck {\n\t\t\twidth").concat(Z,";\n\t\t\theight").concat(X,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder{\n\t\t\twidth").concat(te,";\n\t\t\theight").concat(re,";\n\t\t\t").concat(qe,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder:hover {\n\t\t\t").concat(Je,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .player-placeholder img{\n\t\t\twidth").concat(se,";\n\t\t}\n .eb-advanced-video-wrapper.").concat(o," .player-placeholder i{\n\t\t\tfont-size").concat(se,";\n\t\t}\n\n\t\t.eb-advanced-video-wrapper.").concat(o,".lightbox .eb-player-wrapper {\n\t\t\twidth").concat(me,";\n\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-player-option.lightbox {\n\t\t\theight").concat(ye,";\n\t\t\t").concat(ke,"\n\t\t}\n\t\t.eb-advanced-video-wrapper.").concat(o," .eb-modal-player .eb-modal-close {\n\t\t\tfont-size").concat(Ee,";\n\t\t\tline-height").concat(Ee,";\n\t\t\twidth").concat(Ee,";\n\t\t\theight").concat(Ee,";\n\t\t}\n\t"),at=(0,D.softMinifyCssStrings)("\n\t\t".concat(Qe,"\n\t\t").concat(Ke,"\n\t")),nt=(0,D.softMinifyCssStrings)("\n\t\t".concat(Xe,"\n\t\t").concat(et,"\n\t")),ot=(0,D.softMinifyCssStrings)("\n\t\t".concat($e,"\n\t\t").concat(tt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(D.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:at,tabAllStyles:nt,mobileAllStyles:ot,blockName:n}))}var j,H,z,U;function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function G(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const q=G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G(G({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},videoURL:{type:"string",default:"https://www.youtube.com/watch?v=PnZx4ZOMyzI"},videoLinkYoutube:{type:"string",default:""},videoLinkVimeo:{type:"string",default:""},videoLinkHtml:{type:"string",default:""},showBar:{type:"boolean",default:!1},showDownload:{type:"boolean",default:!1},videoConfig:{type:"object",default:{autoplay:!1,muted:!1,loop:!1}},imageOverlay:{type:"boolean",default:!1},previewImage:{type:"string",default:"".concat(null===(j=EssentialBlocksLocalize)||void 0===j?void 0:j.image_url,"/adv-video-placeholder.png")},previewImageId:{type:"string",default:null},placeholderImage:{type:"string",default:"".concat(null===(H=EssentialBlocksLocalize)||void 0===H?void 0:H.image_url,"/adv-video-placeholder.png")},placeholderImageId:{type:"string",default:null},customPlayIcon:{type:"boolean",default:!0},placeholderCustomPlayIconType:{type:"string",default:"image"},customPlayIconlib:{type:"string",default:"fas fa-play-circle"},customPlayIconlibColor:{type:"string",default:"#fff"},customPlayIconURL:{type:"string",default:(null===(z=EssentialBlocksLocalize)||void 0===z?void 0:z.eb_plugins_url)+"assets/images/adv-video-playicon.svg"},customPlayIconId:{type:"string",default:null},placeholderPlayIconURL:{type:"string",default:(null===(U=EssentialBlocksLocalize)||void 0===U?void 0:U.eb_plugins_url)+"assets/images/adv-video-playicon.svg"},lightboxPlayIcon:{type:"boolean",default:!0},lightboxPlayIconType:{type:"string",default:"image"},lightboxPlayIconlib:{type:"string",default:"fas fa-play-circle"},lightboxPlayIconlibColor:{type:"string",default:"#fff"},placeholderPlayIconId:{type:"string",default:""},videoOptions:{type:"string",default:"none"},image:{type:"object",default:{id:"",url:"",alt:""}},selectedImgIndex:{type:"number"},closeIconColor:{type:"string",default:"#000000"},closeIconBgColor:{type:"string",default:"#ffffff"},lightboxBGColor:{type:"string",default:"rgba(0 0 0 / 0.4)"},textAlign:{type:"string",default:"center"},stickyPosition:{type:"string",default:"right"},videoAlignment:{type:"string",default:"center"}},(0,D.generateDimensionsAttributes)(b)),(0,D.generateDimensionsAttributes)(d)),(0,D.generateBorderShadowAttributes)(m,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,D.generateBorderShadowAttributes)(u,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,D.generateBorderShadowAttributes)(v,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,D.generateBackgroundAttributes)(p,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),(0,D.generateResponsiveRangeAttributes)(g,{})),(0,D.generateResponsiveRangeAttributes)(f,{defaultRange:60})),(0,D.generateResponsiveRangeAttributes)(k,{})),(0,D.generateResponsiveRangeAttributes)(R,{})),(0,D.generateResponsiveRangeAttributes)(_,{})),(0,D.generateResponsiveRangeAttributes)(C,{defaultRange:400})),(0,D.generateResponsiveRangeAttributes)(E,{defaultRange:60})),(0,D.generateResponsiveRangeAttributes)(y,{defaultRange:60,defaultUnit:"%"})),(0,D.generateResponsiveRangeAttributes)(h,{defaultRange:70,defaultUnit:"vh"})),(0,D.generateResponsiveRangeAttributes)(w,{defaultRange:30})),(0,D.generateResponsiveSelectControlAttributes)(x));function W(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const J=(0,c.memo)((0,D.withBlockContext)(q)(function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId),o=e.isSelected,l=(e.name,t.blockId),s=t.videoConfig,p=t.showBar,b=t.videoURL,d=t.imageOverlay,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.videoOptions,f=t.placeholderImage,y=t.placeholderPlayIconURL,h=t.stickyPosition,v=t.classHook,w=t.lightboxPlayIcon,k=t.lightboxPlayIconType,R=t.lightboxPlayIconlib,_=(0,c.useState)(!1),C=(0,r.A)(_,2),E=C[0],x=C[1],S=(0,c.useState)(null),B=(0,r.A)(S,2),T=B[0],N=B[1],P=Z(Z({},e),{},{blockPrefix:"eb-advanced-video",style:React.createElement(F,e)});return(0,c.useEffect)(function(){var e=(0,D.getEditorRoot)().querySelector("#block-".concat(n," .eb-selector-overlay"));e&&(o?e.classList.add("selected"):e.classList.remove("selected"))},[o]),React.createElement(React.Fragment,null,o&&React.createElement(L,{attributes:t,setAttributes:a,preview:E,setPreview:x,setVideoPlayIcon:N}),React.createElement(D.BlockProps.Edit,P,React.createElement("div",{className:"eb-selector-overlay"})," ",React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(v)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(l," ").concat(g),"data-id":l},"lightbox"!==g&&React.createElement("div",{className:"eb-player-wrapper"},React.createElement("div",{className:"eb-player-option ".concat(g," ").concat(h)},React.createElement(i.A,{url:b,loop:s.loop,muted:s.muted,playing:s.autoplay,controls:p,light:E,playIcon:T,onClickPreview:function(){a({videoConfig:Z(Z({},s),{},{autoplay:!0})})},className:"eb-react-player",width:"100%",height:"100%"}))),"lightbox"===g&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn",className:"player-placeholder",style:{backgroundImage:"url( "+f+")"}},w&&React.createElement(React.Fragment,null,"icon"===k&&React.createElement(D.EBDisplayIcon,{icon:R}),"image"===k&&y&&React.createElement("img",{src:y,alt:""}))),React.createElement("div",{id:"eb-modal",className:"eb-modal-player"},React.createElement("span",{className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-wrapper"},React.createElement("div",{className:"eb-player-option ".concat(g),"data-url":b,"data-option":g,"data-loop":s.loop,"data-muted":s.muted,"data-playing":s.autoplay,"data-overlay":d,"data-light":E,"data-customPlayIcon":m,"data-playicon":u}))))))))}));var Y=a(4715);function Q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function X(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const $=[{attributes:X({},q),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,l=t.videoOptions,c=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,p=t.imageOverlay,b=t.previewImage,d=t.lightboxPlayIcon,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,h=t.customPlayIconlib,v=t.placeholderCustomPlayIconType,w=t.stickyVisibilityOption,k=t.TABstickyVisibilityOption,R=t.MOBstickyVisibilityOption,_=t.showDownload;return React.createElement("div",Y.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(l),"data-id":a},"lightbox"!=l&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(l," ").concat(s),"data-id":a,"data-url":r,"data-option":l,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":p,"data-light":!!(b&&b.length>0)&&b,"data-customPlayIconType":v,"data-customPlayIconLib":h,"data-customPlayIcon":m,"data-playicon":u&&u.length>0?u:null,"data-stickyVisibility":w,"data-stickyVisibilityTAB":k,"data-stickyVisibilityMOB":R,"data-download":_})),"lightbox"===l&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+c+")"}},d&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(l),"data-id":a,"data-url":r,"data-option":l,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":p,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:X({},q),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,l=t.videoOptions,c=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,p=t.imageOverlay,b=t.previewImage,d=t.lightboxPlayIcon,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,h=t.customPlayIconlib,v=t.placeholderCustomPlayIconType;return React.createElement("div",Y.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(l),"data-id":a},"lightbox"!=l&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(l," ").concat(s),"data-id":a,"data-url":r,"data-option":l,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":p,"data-light":!!(b&&b.length>0)&&b,"data-customPlayIconType":v,"data-customPlayIconLib":h,"data-customPlayIcon":m,"data-playicon":u&&u.length>0?u:null})),"lightbox"===l&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+c+")"}},d&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(l),"data-id":a,"data-url":r,"data-option":l,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":p,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:X({},q),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,l=t.videoOptions,c=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,p=t.imageOverlay,b=t.previewImage,d=t.lightboxPlayIcon,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,h=t.customPlayIconlib,v=t.placeholderCustomPlayIconType;return React.createElement("div",Y.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(l),"data-id":a},"lightbox"!=l&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(l," ").concat(s),"data-id":a,"data-url":r,"data-option":l,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":p,"data-light":!!(b&&b.length>0)&&b,"data-customPlayIconType":v,"data-customPlayIconLib":h,"data-customPlayIcon":m,"data-playicon":u&&u.length>0?u:null})),"lightbox"===l&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+c+")"}},d&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(l),"data-id":a,"data-url":r,"data-option":l,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":p,"data-controls":o,"data-autoplay":"true"})))))))}},{attributes:X(X({},q),{},{videoURL:{type:"string",default:"http://www.youtube.com/watch?v=PnZx4ZOMyzI"},previewImage:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-placeholder.png"},placeholderImage:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-placeholder.png"},customPlayIconURL:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-playicon.svg"},placeholderPlayIconURL:{type:"string",default:"https://essential-blocks.com/wp-content/uploads/2022/05/adv-video-playicon.svg"}}),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,l=t.videoOptions,c=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,p=t.imageOverlay,b=t.previewImage,d=t.lightboxPlayIcon,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,h=t.customPlayIconlib,v=t.placeholderCustomPlayIconType;return React.createElement("div",Y.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(l),"data-id":a},"lightbox"!=l&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(l," ").concat(s),"data-id":a,"data-url":r,"data-option":l,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":p,"data-light":!!(b&&b.length>0)&&b,"data-customPlayIconType":v,"data-customPlayIconLib":h,"data-customPlayIcon":m,"data-playicon":u&&u.length>0?u:null})),"lightbox"===l&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+c+")"}},d&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(l),"data-id":a,"data-url":r,"data-option":l,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":p,"data-controls":o,"data-autoplay":"true"})))))))}}],K=JSON.parse('{"title":"Advanced Video","name":"essential-blocks/advanced-video","category":"essential-blocks","description":"Portray any attractive video content on your website and grow engagement","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var ee,te;function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ae.apply(null,arguments)}(0,D.ebConditionalRegisterBlockType)(K,{keywords:[(0,n.__)("Video","essential-blocks"),(0,n.__)("Advanced Video","essential-blocks"),(0,n.__)("Video block","essential-blocks"),(0,n.__)("Advanced","essential-blocks")],icon:function(e){return l.createElement("svg",ae({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),ee||(ee=l.createElement("path",{fill:"#6C3BFF",d:"M54.14 4.688H35.29a1.172 1.172 0 0 0 0 2.343h18.85a3.52 3.52 0 0 1 3.516 3.516v28.36H2.344v-28.36A3.52 3.52 0 0 1 5.859 7.03h18.883a1.172 1.172 0 0 0 0-2.343H5.86A5.866 5.866 0 0 0 0 10.546v38.906a5.867 5.867 0 0 0 5.86 5.86h48.28a5.867 5.867 0 0 0 5.86-5.86V10.547a5.867 5.867 0 0 0-5.86-5.86zm0 48.28H5.86a3.52 3.52 0 0 1-3.516-3.515V41.25h55.312v8.203a3.52 3.52 0 0 1-3.515 3.516z"})),te||(te=l.createElement("path",{fill:"#6C3BFF",d:"M11.71 43.594a3.52 3.52 0 0 0-3.516 3.515 3.52 3.52 0 0 0 3.516 3.516 3.52 3.52 0 0 0 3.516-3.516 3.52 3.52 0 0 0-3.516-3.515m0 4.687a1.173 1.173 0 0 1-1.172-1.172c0-.646.526-1.172 1.172-1.172s1.172.526 1.172 1.172-.526 1.172-1.172 1.172m38.924-2.343h-29.19a1.172 1.172 0 1 0 0 2.343h29.19a1.172 1.172 0 0 0 0-2.343M24.01 19.415v7.107a3.31 3.31 0 0 0 1.671 2.895 3.34 3.34 0 0 0 1.671.453c.574 0 1.148-.151 1.671-.453l6.155-3.554a3.31 3.31 0 0 0 1.671-2.894 3.31 3.31 0 0 0-1.67-2.895l-6.156-3.553a3.31 3.31 0 0 0-3.342 0 3.31 3.31 0 0 0-1.671 2.894m2.344 0a.98.98 0 0 1 .499-.864.98.98 0 0 1 .998 0l6.155 3.553c.45.26.5.692.5.865a.98.98 0 0 1-.5.864l-6.154 3.554a.98.98 0 0 1-.999 0 .98.98 0 0 1-.5-.865zm3.661-12.384c.308 0 .61-.125.829-.343a1.18 1.18 0 0 0 .343-.829c0-.308-.125-.61-.343-.828a1.18 1.18 0 0 0-.829-.343c-.308 0-.61.125-.83.343a1.18 1.18 0 0 0-.342.828c0 .309.125.61.343.829s.521.343.83.343z"})))},attributes:q,edit:J,save:function(e){var t=e.attributes,a=(t.resOption,t.blockId),n=(t.blockMeta,t.videoConfig),o=t.showBar,r=t.videoURL,l=t.videoOptions,c=t.placeholderImage,i=t.placeholderPlayIconURL,s=t.stickyPosition,p=t.imageOverlay,b=t.previewImage,d=t.lightboxPlayIcon,m=t.customPlayIcon,u=t.customPlayIconURL,g=t.classHook,f=t.lightboxPlayIconType,y=t.lightboxPlayIconlib,h=t.customPlayIconlib,v=t.placeholderCustomPlayIconType,w=t.stickyVisibilityOption,k=t.TABstickyVisibilityOption,R=t.MOBstickyVisibilityOption,_=t.showDownload;return React.createElement(D.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advanced-video-wrapper ".concat(a," ").concat(l),"data-id":a},"lightbox"!=l&&React.createElement("div",{className:"eb-player-wrapper ".concat(a)},React.createElement("div",{className:"eb-player-option ".concat(l," ").concat(s),"data-id":a,"data-url":r,"data-option":l,"data-controls":o,"data-loop":n.loop,"data-muted":n.muted,"data-playing":n.autoplay,"data-overlay":p,"data-light":!!(b&&b.length>0)&&b,"data-customPlayIconType":v,"data-customPlayIconLib":h,"data-customPlayIcon":m,"data-playicon":u&&u.length>0?u:null,"data-stickyVisibility":w,"data-stickyVisibilityTAB":k,"data-stickyVisibilityMOB":R,"data-download":_})),"lightbox"===l&&React.createElement(React.Fragment,null,React.createElement("div",{id:"myBtn-".concat(a),className:"player-placeholder",style:{backgroundImage:"url( "+c+")"}},d&&React.createElement(React.Fragment,null,"icon"==f&&React.createElement("i",{className:y}),"image"==f&&i&&React.createElement("img",{src:i,alt:""}))),React.createElement("div",{id:"eb-modal-".concat(a),className:"eb-modal-player"},React.createElement("div",{className:"eb-player-wrapper"},React.createElement("span",{id:"close-".concat(a),className:"eb-modal-close"},"×"),React.createElement("div",{className:"eb-player-option ".concat(l),"data-id":a,"data-url":r,"data-option":l,"data-loop":n.loop,"data-muted":n.muted,"data-playing":!1,"data-overlay":p,"data-controls":o,"data-autoplay":"true"})))))))},deprecated:$,example:{}})},1609:e=>{e.exports=window.React},1711:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(4467),i=a(8468),s=a(7143),p=a(5694),b=a(6427),d="wrprBg",m="wrpMargin",u="wrpPadding",g="wrpBorderShadow",f="labelMargin",y="radioSize",h="radioSpacing",v=((0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Normal"),(0,o.__)("Advanced"),[{label:(0,o.__)("Normal"),value:"normal"},{label:(0,o.__)("Checked"),value:"checked"}]),w="label_",k="radioText_";function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_(_(_(_(_(_({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},options:{type:"array",default:[{name:"Option 1",value:"radio_1"},{name:"Option 2",value:"radio_2"},{name:"Option 3",value:"radio_3"}]},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},radioType:{type:"string",default:"normal"},radioColor:{type:"string"},radioBgColor:{type:"string"},radioBrColor:{type:"string"},radioBrCheckedColor:{type:"string"},radioBorder:{type:"number"}},(0,p.generateTypographyAttributes)(w)),(0,p.generateTypographyAttributes)("validationText_")),(0,p.generateTypographyAttributes)(k)),(0,p.generateDimensionsAttributes)(m)),(0,p.generateDimensionsAttributes)(u)),(0,p.generateBackgroundAttributes)(d)),(0,p.generateBorderShadowAttributes)(g)),(0,p.generateDimensionsAttributes)("fieldPadding")),(0,p.generateBorderShadowAttributes)("fieldBorder")),(0,p.generateDimensionsAttributes)(f)),E=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=(t.resOption,t.showLabel),l=t.labelText,c=t.options,i=t.fieldName,s=t.defaultValue,R=(t.placeholderText,t.isRequired),_=t.validationMessage,C=t.labelColor,E=t.requiredColor,x=t.radioType,S=t.radioColor,B=t.radioBgColor,T=t.radioBrColor,N=t.radioBrCheckedColor,P=t.radioBorder,O=t.dynamicValue,I=t.dynamicOptionType,D=t.dynamicValueLoader,A=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:d,borderPrefix:g,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(b.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(p.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(p.DynamicFormFieldControl,{type:"radio",options:c,dynamicValue:O,dynamicOptionType:I,dynamicValueLoader:D,setAttributes:a}),React.createElement(b.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:R,onChange:function(){return a({isRequired:!R})}})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:s,onChange:function(e){return a({defaultValue:e})},enableAi:!0,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(p.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:i,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),R&&React.createElement(p.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:_,onChange:function(e){return a({validationMessage:e})},enableAi:!0})),React.createElement(p.FormConditionalLogics,{clientId:n,parentBlockId:A})),React.createElement(p.InspectorPanel.Style,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:C,attributeName:"labelColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:E,attributeName:"requiredColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Radio Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:S,attributeName:"radioColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:B,attributeName:"radioBgColor"}),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:y,min:1,max:100,step:1,noUnits:!0}),React.createElement(b.RangeControl,{label:(0,o.__)("Border Width","essential-blocks"),value:P,onChange:function(e){return a({radioBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(b.ButtonGroup,{className:"eb-inspector-btn-group"},v.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({radioType:e.value})}},e.label)})),"normal"===x&&React.createElement(React.Fragment,null,React.createElement(p.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:T,attributeName:"radioBrColor"})),"checked"===x&&React.createElement(React.Fragment,null,React.createElement(p.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:N,attributeName:"radioBrCheckedColor"})),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Spacing (PX)","essential-blocks"),controlName:h,min:1,max:100,step:1,noUnits:!0}))))))};function x(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),l=t.labelColor,c=t.requiredColor,i=t.radioColor,s=t.radioBgColor,b=t.radioBrColor,v=t.radioBrCheckedColor,R=t.radioSizeRange,_=t.TABradioSizeRange,C=t.MOBradioSizeRange,E=(t.radioBorderborderColor,t.radioBorder),x=(0,p.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=(0,p.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,I=N.dimensionStylesMobile,D=(0,p.generateBorderShadowStyles)({controlName:g,attributes:t}),A=D.styesDesktop,M=D.styesTab,L=D.styesMobile,F=D.stylesHoverDesktop,j=D.stylesHoverTab,H=D.stylesHoverMobile,z=D.transitionStyle,U=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),V=U.backgroundStylesDesktop,G=U.hoverBackgroundStylesDesktop,q=U.backgroundStylesTab,W=U.hoverBackgroundStylesTab,Z=U.backgroundStylesMobile,J=U.hoverBackgroundStylesMobile,Y=U.bgTransitionStyle,Q=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:w}),X=Q.typoStylesDesktop,$=Q.typoStylesTab,K=Q.typoStylesMobile,ee=(0,p.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),te=ee.dimensionStylesDesktop,ae=ee.dimensionStylesTab,ne=ee.dimensionStylesMobile,oe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:k}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,p.generateResponsiveRangeStyles)({controlName:y,property:"Width",attributes:t,customUnit:"px"}),se=ie.rangeStylesDesktop,pe=ie.rangeStylesTab,be=ie.rangeStylesMobile,de=(0,p.generateResponsiveRangeStyles)({controlName:h,property:"margin-bottom",attributes:t,customUnit:"px"}),me=de.rangeStylesDesktop,ue=de.rangeStylesTab,ge=de.rangeStylesMobile,fe="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(V,"\n\t\t\t").concat(A,"\n\t\t\ttransition: ").concat(Y,", ").concat(z,";\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(F,"\n\t\t}\n\t"),ye="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(q,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),he="\n\t\t.eb-radio-field-wrapper.".concat(o,"{\n\t\t\t").concat(T,"\n\t\t\t").concat(I,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(L,"\n\t\t}\n\t\t.eb-radio-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(J,"\n\t\t\t").concat(H,"\n\t\t}\n\n\t"),ve="\n .eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(X,"\n ").concat(te,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-required{\n color: ").concat(c,";\n }\n\t"),we="\n .eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n\t\t\t").concat($,"\n ").concat(ae,"\n\t\t}\n\t"),ke="\n\t\t.eb-form-wrapper.".concat(r," .eb-radio-field-wrapper.").concat(o," > label {\n ").concat(K,"\n ").concat(ne,"\n\t\t}\n\t"),Re="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n\t\t\tbackground-color: ").concat(s,";\n\t\t\tborder-color: ").concat(b,";\n\t\t\tborder-width: ").concat(E,"px;\n height: ").concat(R,"px;\n ").concat(se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]:checked {\n\t\t\tborder-color: ").concat(v,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(re,"\n color: ").concat(i,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n ").concat(me,"\n }\n\n .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n width: calc(").concat(R,"px / 2);\n height: calc(").concat(R,"px / 2);\n background-color: ").concat(v,";\n }\n\t"),_e="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n height: ").concat(_,"px;\n ").concat(pe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(le,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n ").concat(ue,"\n }\n .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n width: calc(").concat(_,"px / 2);\n height: calc(").concat(_,"px / 2);\n }\n\t"),Ce="\n\t\t.eb-form-wrapper.".concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio] {\n height: ").concat(C,"px;\n ").concat(be,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(ce,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-radio-field-wrapper.").concat(o," .eb-radio-inputarea {\n ").concat(ge,"\n }\n .eb-form-wrapper.").concat(r," .eb-form-field .eb-radio-field-wrapper.").concat(o," input[type=radio]::before {\n width: calc(").concat(C,"px / 2);\n height: calc(").concat(C,"px / 2);\n }\n\t"),Ee=(0,p.softMinifyCssStrings)("\n\t\t".concat(fe,"\n\t\t").concat(ve,"\n\t\t").concat(Re,"\n\t")),xe=(0,p.softMinifyCssStrings)("\n\t\t".concat(ye,"\n\t\t").concat(we,"\n\t\t").concat(_e,"\n\t")),Se=(0,p.softMinifyCssStrings)("\n\t\t".concat(he,"\n\t\t").concat(ke,"\n\t\t").concat(Ce,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ee,tabAllStyles:xe,mobileAllStyles:Se,blockName:n}))}function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const T=(0,i.memo)((0,p.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,b=t.classHook,d=t.showLabel,m=t.labelText,u=t.options,g=t.fieldName,f=t.defaultValue,y=t.isRequired,h=t.validationMessage,v=(t.validationRules,t.dynamicValue),w=t.dynamicOptionType,k=t.dynamicValueLoader,R=B(B({},e),{},{blockPrefix:"eb-radio-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(x,e)});return(0,i.useEffect)(function(){var e,t,n,l=(0,p.getBlockParentClientId)(o,"essential-blocks/form"),c=(0,s.select)("core/block-editor").getBlock(l),i=null==c||null===(e=c.attributes)||void 0===e?void 0:e.blockId;i&&a({parentBlockId:i});var b=(0,s.select)("core/block-editor").wasBlockJustInserted(o),d=null==c||null===(t=c.attributes)||void 0===t?void 0:t.showLabel,m=null==c||null===(n=c.attributes)||void 0===n?void 0:n.showInputIcon;if(b&&void 0!==d&&void 0!==m&&a({showLabel:d,isIcon:m}),b&&l){var u=(0,s.select)("core/block-editor").getBlocksByClientId(l),g=(0,p.filterBlocksByName)(u,r),f=g.indexOf(o);if(-1!==f)if(1===g.length)a({fieldName:"radio-field"});else{var y=f+1;a({fieldName:"radio-field-".concat(y),options:[{name:"Option 1",value:"radio_".concat(y,"_1")},{name:"Option 2",value:"radio_".concat(y,"_2")},{name:"Option 3",value:"radio_".concat(y,"_3")}]})}}},[]),(0,i.useEffect)(function(){var e=(0,c.A)({},g,{isRequired:{status:y,message:h}});a({validationRules:e})},[y,g,h]),React.createElement(React.Fragment,null,n&&React.createElement(E,{clientId:o,attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,R,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(b)},React.createElement("div",{className:"".concat(l," eb-radio-field-wrapper eb-field-wrapper")},d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g},React.createElement(p.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",y&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement(p.DynamicFormFieldValueHandler,{type:"radio",fieldName:g,defaultValue:f,options:u,dynamicValue:v,dynamicOptionType:w,dynamicValueLoader:k,setAttributes:a}),y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(g)},h))))))}));var N=a(4715);function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=[{attributes:O({},C),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,p=t.validationMessage,b=N.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",b,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-radio-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),l.length>0&&l.map(function(e){return React.createElement("div",{className:"eb-radio-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:c,value:e.value,checked:i===e.value,type:"radio"})," ",e.name))}),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}},{attributes:O({},C),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.validationMessage,b=t.isIcon,d=t.icon,m=t.formStyle,u=N.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("input",{type:"number",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},p)))))}}],D=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Radio Field","apiVersion":2,"name":"essential-blocks/form-radio-field","description":"Form Block Radio Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,p.ebConditionalRegisterBlockType)(D,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 34 34"},e),n||(n=r.createElement("path",{fill:"#6C3BFF",d:"M17 34C7.62 34 0 26.372 0 17S7.628 0 17 0s17 7.628 17 17c0 4.537-1.765 8.812-4.977 12.023A16.9 16.9 0 0 1 17 34.007zm0-32.093A15 15 0 0 0 6.33 6.331 15 15 0 0 0 1.915 17c0 8.323 6.77 15.086 15.086 15.086S32.093 25.316 32.093 17c0-8.323-6.77-15.093-15.086-15.093zm0 20.027A4.94 4.94 0 0 1 12.066 17 4.94 4.94 0 0 1 17 12.066 4.94 4.94 0 0 1 21.934 17 4.94 4.94 0 0 1 17 21.934"})))},attributes:C,edit:T,save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage;return React.createElement(p.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-radio-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),l.length>0&&l.map(function(e){return React.createElement("div",{className:"eb-radio-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:c,value:e.value,checked:i===e.value,type:"radio"})," ",e.name))}),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))},deprecated:I,example:{}})},2168:(e,t,a)=>{var n=a(7723),o=a(3453),r=a(9394),l=a(4467),c=a(1609),i=a(8468),s=a(4715),p=a(6427);const b=function(e){var t=e.slide,a=e.position,n=e.handleSlideClick,o=e.attributes,r=o.current,l=o.intensity,c=o.hasBtnShadow,s=o.slideTitleTag,p=(0,i.createRef)(),b="slide";return r===a?b+=" slide--current":r-1===a?b+=" slide--previous":r+1===a&&(b+=" slide--next"),React.createElement("li",{ref:p,className:b,onClick:function(){return n(a)},onMouseMove:function(e){var t=p.current,a=t.getBoundingClientRect();t.style.setProperty("--x",e.clientX-(a.left+Math.floor(a.width/2))),t.style.setProperty("--y",e.clientY-(a.top+Math.floor(a.height/2))),t.style.setProperty("--d",l||50)},onMouseLeave:function(e){p.current.style.setProperty("--x",0),p.current.style.setProperty("--y",0),p.current.style.setProperty("--y",50)}},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",alt:"img",src:t.src,onLoad:function(e){return e.target.style.opacity=1}})),React.createElement("article",{className:"slide__content"},React.createElement(s,{className:"slide__headline"},t.title),React.createElement("button",{onClick:function(){return e=t.link,a=t.openNewTab,e=null===(n=e)||void 0===n?void 0:n.trim().toLowerCase(),void(/^https?:\/\//.test(e)&&e&&(a?window.location=e:window.open(e,"_self")));var e,a,n},className:"slide__action btn ".concat(c?"btn-has-shadow":""," ")},t.btnText)))},d=function(e){var t=e.type,a=e.style,n=e.icon,o=e.handleClick;return React.createElement("div",{className:"btn btn--".concat(t," ").concat(n),onClick:o,style:a})},m=function(e){var t=e.slides,a=e.attributes,n=e.setAttributes,o=a.current,r=a.prevIcon,l=a.nextIcon,c=(a.iconColor,function(e){return n({current:e})}),i={transform:"translateX(-".concat(o*(100/t.length),"%)")};return React.createElement("div",{className:"eb-parallax-container"},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper",style:i},t.map(function(e,t){return React.createElement(b,{key:t,position:t,slide:e,handleSlideClick:c,attributes:a})})),React.createElement("div",{className:"eb-slider__controls"},React.createElement(d,{type:"previous",icon:r,handleClick:function(){var e=o-1,a=e<0?t.length-1:e;c(a)}}),React.createElement(d,{type:"next",icon:l,handleClick:function(){var e=o+1,a=e===t.length?0:e;c(a)}}))))};var u=a(6942),g=a.n(u),f="wrprBg",y="wrpMargin",h="wrpPadding",v="wrpBorderShadow",w="titleMargin",k="buttonMargin",R="buttonPadding",_="buttonBorderShadow",C="sliderHeight",E="slidesGap",x="contentsPadding",S="slideBorderRadius",B=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],T=[{label:(0,n.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"flex-end"}],N=[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}],P=((0,n.__)("Left","essential-blocks"),(0,n.__)("Right","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("Justify","essential-blocks"),[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}]),O=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],I=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"}],D="titleTypo",A="buttonTypo",M=a(5694);const L=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.sliderData),l=t.current,c=t.intensity,i=t.isCustomHeight,s=t.titleColor,b=t.titleBackgroundColor,d=t.buttonColorType,m=t.buttonColor,u=t.buttonHoverColor,g=t.buttonBackgroundColor,L=t.buttonHoverBackgroundColor,F=t.horizontalAlign,j=t.verticalAlign,H=t.slideTitleTag,z=function(e,t,n){var l=(0,r.A)(o);l[n][e]=t,a({sliderData:l})};return React.createElement(React.Fragment,null,React.createElement(M.InspectorPanel,{advancedControlProps:{marginPrefix:y,paddingPrefix:h,backgroundPrefix:f,borderPrefix:v,hasMargin:!0}},React.createElement(M.InspectorPanel.General,null,React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks")},React.createElement(p.RangeControl,{label:(0,n.__)("Parallax Softness","essential-blocks"),value:c,allowReset:!0,onChange:function(e){return a({intensity:e})},min:0,max:100}),React.createElement(p.ToggleControl,{label:(0,n.__)("Custom Height","essential-blocks"),checked:i,onChange:function(){return a({isCustomHeight:!i})}}),i&&React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Slider Size","essential-blocks"),controlName:C,units:P,min:1,max:500,step:1}),React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Slides Gap","essential-blocks"),controlName:E,units:O,min:0,max:200,step:1}),React.createElement(p.BaseControl,{label:(0,n.__)("Slide Title Tag","essential-blocks")},React.createElement(p.ButtonGroup,null,I.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:H!==e.value,isPrimary:H===e.value,onClick:function(){return a({slideTitleTag:e.value})}},e.label)})))),React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Slides","essential-blocks"),initialOpen:!1},o.map(function(e,t){return React.createElement(M.InspectorPanel.PanelBody,{key:t,title:e.title&&e.title.length>0?e.title:"Slide "+(t+1)+" Settings",initialOpen:!1,onToggle:function(){return function(e){a({current:e!==l?e:1})}(t)},className:"eb-slider-item-single-panel"},React.createElement(M.EBTextControl,{label:(0,n.__)("Title Text","essential-blocks"),value:e.title,onChange:function(e){return z("title",e,t)}}),React.createElement(M.EBTextControl,{label:(0,n.__)("Button Text","essential-blocks"),value:e.btnText,onChange:function(e){return z("btnText",e,t)}}),React.createElement(M.EBTextControl,{label:(0,n.__)("Button Link","essential-blocks"),fieldType:"url",value:e.link,onChange:function(e){return z("link",e,t)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(p.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return z("openNewTab",!e.openNewTab,t)}}))}))),React.createElement(M.InspectorPanel.Style,null,React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Slides Style","essential-blocks"),initialOpen:!0},React.createElement(p.PanelRow,null,"Content Horizontal Align"),React.createElement(p.ButtonGroup,null,T.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:F===e.value,isSecondary:F!==e.value,onClick:function(){return a({horizontalAlign:e.value})}},e.label)})),React.createElement(p.PanelRow,null,"Content Vertical Align"),React.createElement(p.ButtonGroup,{className:"eb-margin-bottom-20"},N.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:j===e.value,isSecondary:j!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)})),React.createElement(M.ResponsiveDimensionsControl,{controlName:x,baseLabel:"Content Padding"}),React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Slide Border Radius","essential-blocks"),controlName:S,units:O,min:1,max:50,step:1})),React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Title Style","essential-blocks"),initialOpen:!1},React.createElement(M.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:s,attributeName:"titleColor"}),React.createElement(M.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:b,attributeName:"titleBackgroundColor"}),React.createElement(M.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:D}),React.createElement(M.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Margin"})),React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Button Styles","essential-blocks"),initialOpen:!1},React.createElement(p.ButtonGroup,{className:"eb-inspector-btn-group"},B.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:d===e.value,isSecondary:d!==e.value,onClick:function(){return a({buttonColorType:e.value})}},e.label)})),"normal"===d&&React.createElement(React.Fragment,null,React.createElement(M.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:m,attributeName:"buttonColor"}),React.createElement(M.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:g,attributeName:"buttonBackgroundColor"})),"hover"===d&&React.createElement(React.Fragment,null,React.createElement(M.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:u,attributeName:"buttonHoverColor"}),React.createElement(M.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:L,attributeName:"buttonHoverBackgroundColor"})),React.createElement(p.PanelRow,null,"Button Border & Shadow"),React.createElement(M.BorderShadowControl,{controlName:_}),React.createElement(M.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:A}),React.createElement(M.ResponsiveDimensionsControl,{controlName:k,baseLabel:"Margin"}),React.createElement(M.ResponsiveDimensionsControl,{controlName:R,baseLabel:"Padding"})))))};function F(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.titleColor),l=t.titleBackgroundColor,c=t.buttonColor,i=t.buttonHoverColor,s=t.buttonBackgroundColor,p=t.buttonHoverBackgroundColor,b=t.isCustomHeight,d=t.horizontalAlign,m=t.verticalAlign,u=(t.classHook,(0,M.generateTypographyStyles)({attributes:t,prefixConstant:D,defaultFontSize:24})),g=u.typoStylesDesktop,B=u.typoStylesTab,T=u.typoStylesMobile,N=(0,M.generateTypographyStyles)({attributes:t,prefixConstant:A,defaultFontSize:14}),P=N.typoStylesDesktop,O=N.typoStylesTab,I=N.typoStylesMobile,L=(0,M.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),F=L.dimensionStylesDesktop,j=L.dimensionStylesTab,H=L.dimensionStylesMobile,z=(0,M.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),U=z.dimensionStylesDesktop,V=z.dimensionStylesTab,G=z.dimensionStylesMobile,q=(0,M.generateDimensionsControlStyles)({controlName:w,styleFor:"margin",attributes:t}),W=q.dimensionStylesDesktop,Z=q.dimensionStylesTab,J=q.dimensionStylesMobile,Y=(0,M.generateDimensionsControlStyles)({controlName:k,styleFor:"margin",attributes:t}),Q=Y.dimensionStylesDesktop,X=Y.dimensionStylesTab,$=Y.dimensionStylesMobile,K=(0,M.generateDimensionsControlStyles)({controlName:R,styleFor:"padding",attributes:t}),ee=K.dimensionStylesDesktop,te=K.dimensionStylesTab,ae=K.dimensionStylesMobile,ne=(0,M.generateDimensionsControlStyles)({controlName:x,styleFor:"padding",attributes:t}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,le=ne.dimensionStylesMobile,ce=(0,M.generateResponsiveRangeStyles)({controlName:C,property:"--slide-size",attributes:t}),ie=ce.rangeStylesDesktop,se=ce.rangeStylesTab,pe=ce.rangeStylesMobile,be=(0,M.generateResponsiveRangeStyles)({controlName:E,property:"margin",attributes:t}),de=be.rangeStylesDesktop,me=be.rangeStylesTab,ue=be.rangeStylesMobile,ge=(0,M.generateResponsiveRangeStyles)({controlName:S,property:"border-radius",attributes:t}),fe=ge.rangeStylesDesktop,ye=ge.rangeStylesTab,he=ge.rangeStylesMobile,ve=(0,M.generateBackgroundControlStyles)({attributes:t,controlName:f,noOverlay:!0}),we=ve.backgroundStylesDesktop,ke=(ve.hoverBackgroundStylesDesktop,ve.backgroundStylesTab),Re=(ve.hoverBackgroundStylesTab,ve.backgroundStylesMobile),_e=(ve.hoverBackgroundStylesMobile,ve.bgTransitionStyle),Ce=(0,M.generateBorderShadowStyles)({controlName:v,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=Ce.stylesHoverDesktop,Te=Ce.stylesHoverTab,Ne=Ce.stylesHoverMobile,Pe=Ce.transitionStyle,Oe=(0,M.generateBorderShadowStyles)({controlName:_,attributes:t}),Ie=Oe.styesDesktop,De=Oe.styesTab,Ae=Oe.styesMobile,Me=Oe.stylesHoverDesktop,Le=Oe.stylesHoverTab,Fe=Oe.stylesHoverMobile,je=Oe.transitionStyle,He="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Ee,"\n\t\t\ttransition: ").concat(Pe,", ").concat(_e,";\n\t\t\t").concat(we,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(Be,"\n\t\t}\n\t"),ze="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(j,"\n\t\t\t").concat(V,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(ke,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(Te,"\n\t\t}\n\t"),Ue="\n\t\t.eb-parallax-slider-wrapper.".concat(o,"{\n\t\t\t").concat(H,"\n\t\t\t").concat(G,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Re,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n\t\t\t").concat(Ne,"\n\t\t}\n\t"),Ve="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(b?ie:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\talign-items: ").concat(d,";\n\t\t\tjustify-content: ").concat(m,";\n\t\t\tmargin-left: ").concat(de.replace(/\D/g,"")/2).concat(de.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat(de.replace(/\D/g,"")/2).concat(de.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat(de.replace(/\D/g,"")/2).concat(de.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(fe,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(oe,"\n\t\t}\n\t"),Ge="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container {\n\t\t\theight: auto;\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(b?se:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\tmargin-left: ").concat(me.replace(/\D/g,"")/2).concat(me.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat(me.replace(/\D/g,"")/2).concat(me.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat(me.replace(/\D/g,"")/2).concat(me.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(ye,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(re,"\n\t\t}\n\t"),qe="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider {\n\t\t\t").concat(b?pe:"","\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper li {\n\t\t\tmargin-left: ").concat(ue.replace(/\D/g,"")/2).concat(ue.match(/px|em|%/g),";\n\t\t\t\t\tmargin-right: ").concat(ue.replace(/\D/g,"")/2).concat(ue.match(/px|em|%/g),";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {\n\t\t\tpadding: initial;\n\t\t\tmargin-left: -").concat(ue.replace(/\D/g,"")/2).concat(ue.match(/px|em|%/g),"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {\n\t\t\t").concat(he,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {\n\t\t\t").concat(le,"\n\t\t}\n\t"),We="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(l,";\n\t\t\t").concat(g,"\n\t\t\t").concat(W,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\tcolor: ").concat(c,";\n\t\t\tbackground-color: ").concat(s,";\n\t\t\t").concat(P,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(Ie,"\n\t\t\ttransition: ").concat(je,";\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(p,";\n\t\t\t").concat(Me,"\n\t\t}\n\t"),Ze="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\t").concat(B,"\n\t\t\t").concat(Z,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\t").concat(O,"\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(De,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\t").concat(Le,"\n\t\t}\n\t"),Je="\n\t\t.eb-parallax-slider-wrapper.".concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {\n\t\t\t").concat(T,"\n\t\t\t").concat(J,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action {\n\t\t\t").concat(I,"\n\t\t\t").concat($,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(Ae,"\n\t\t}\n\t\t.eb-parallax-slider-wrapper.").concat(o," .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__action:hover {\n\t\t\t").concat(Fe,"\n\t\t}\n\t"),Ye=(0,M.softMinifyCssStrings)("\n\t\t".concat(He,"\n\t\t").concat(Ve,"\n\t\t").concat(We,"\n\t")),Qe=(0,M.softMinifyCssStrings)("\n\t\t".concat(ze,"\n\t\t").concat(Ge,"\n\t\t").concat(Ze,"\n\t")),Xe=(0,M.softMinifyCssStrings)("\n\t\t".concat(Ue,"\n\t\t").concat(qe,"\n\t\t").concat(Je,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(M.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ye,tabAllStyles:Qe,mobileAllStyles:Xe,blockName:n}))}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function H(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?j(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const z=H(H(H(H(H(H(H(H(H(H(H(H(H(H({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},sliderStyle:{type:"string",default:"style-1"},sliderData:{type:"array",default:[]},intensity:{type:"number",default:50},startIndex:{type:"number",default:1},isCustomHeight:{type:"boolean",default:!0},current:{type:"number",default:1},titleColorType:{type:"string",default:"normal"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleBackgroundColor:{type:"string"},buttonColorType:{type:"string",default:"normal"},buttonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverBackgroundColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"center"},slideTitleTag:{type:"string",default:"h2"}},(0,M.generateTypographyAttributes)(D)),(0,M.generateTypographyAttributes)(A)),(0,M.generateDimensionsAttributes)(y)),(0,M.generateDimensionsAttributes)(h)),(0,M.generateDimensionsAttributes)(w,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,M.generateDimensionsAttributes)(k,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,M.generateDimensionsAttributes)(R,{top:10,bottom:10,right:30,left:30,isLinked:!1})),(0,M.generateDimensionsAttributes)(x,{top:20,bottom:20,right:20,left:20,isLinked:!0})),(0,M.generateBorderShadowAttributes)(v,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,M.generateBorderShadowAttributes)(_,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,M.generateBackgroundAttributes)(f,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),(0,M.generateResponsiveRangeAttributes)(C,{defaultRange:400})),(0,M.generateResponsiveRangeAttributes)(E,{})),(0,M.generateResponsiveRangeAttributes)(S,{}));var U=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"57",height:"60",fill:"none",viewBox:"0 0 57 60"},React.createElement("path",{fill:"#6C3BFF",d:"M58.629 11.143c-.258-.343-.6-.514-.943-.514-.257 0-.429.085-.686.171-.514.429-.686 1.114-.343 1.629l1.972 2.828L56.57 17.4c-.428.429-.428 1.114 0 1.629.172.171.515.342.772.342s.6-.171.857-.428l3.343-3.514-2.914-4.286zM3 42.6l1.971-2.829c.343-.514.258-1.2-.342-1.628-.172-.172-.429-.172-.686-.172-.343 0-.772.172-.943.515L.086 42.77 3.429 46.2c.257.257.514.429.857.429.257 0 .6-.086.771-.343.429-.429.429-1.115 0-1.629L3 42.6zM49.714 1.714L14.914.257C12.6.257 10.8 2.143 10.8 4.371L8.571 53.4c0 2.314 1.886 4.114 4.115 4.114h.085l30.686-2.4h.086c2.143-.343 3.514-1.714 3.943-3.943l4.8-34.885.428-3.086L53.743 6v-.171c0-2.315-1.8-4.115-4.029-4.115zm-6.514 51l-30.514 2.4a1.627 1.627 0 01-1.629-1.628l.6-13.629L22.286 27.43l8.143 14.228L49.2 20.914l-3.086 22.372-1.028 7.543c-.257 1.114-.772 1.628-1.886 1.885zM30.857 37.457l-8.143-14.314L11.83 35.829 13.2 4.37c0-.942.771-1.714 1.629-1.714l34.8 1.457c.857 0 1.628.686 1.628 1.629l-1.543 10.8-18.857 20.914z"}),React.createElement("path",{fill:"#6C3BFF",d:"M51.857 45.343c-.514-.086-1.114.343-1.2.857l-1.371 9.257c-.172.857-.858 1.543-1.8 1.629l-8.4.771c-.6.086-.943.514-.943 1.114.085.515.514.943 1.028.943h.086l8.4-.771c1.886-.172 3.343-1.543 3.6-3.429l1.372-9.257c.171-.514-.258-1.028-.772-1.114zM36.686 14.657c-.086-.257-.257-.428-.429-.686-.171-.171-.257-.342-.428-.428-.172-.086-.258-.257-.429-.343-.171-.086-.257-.171-.429-.257-.171-.086-.257-.172-.428-.172-.172-.085-.257-.085-.429-.085-.085 0-.171-.086-.257-.086h-.6c-.171 0-.343 0-.428.086a.655.655 0 00-.429.171c-.171.086-.343.172-.429.257-.171.086-.342.172-.428.343-.172.172-.343.257-.429.429-.171.171-.343.428-.514.685a3.788 3.788 0 00-.514 1.372c0 .171-.086.428-.086.6v.943c.086.514.171.943.429 1.285.085.258.257.429.428.686.172.172.257.343.429.429.171.085.257.171.428.343.172.085.257.171.429.257.171.085.257.085.428.171H33.514c.172 0 .343 0 .429-.086.171 0 .343-.085.428-.085.172-.086.343-.086.429-.172.171-.085.343-.171.429-.257.171-.086.342-.257.428-.343.172-.171.343-.257.429-.428.171-.172.343-.429.514-.686.257-.343.429-.771.514-1.2 0-.171.086-.343.086-.514v-.857a7.82 7.82 0 00-.514-1.372zm-1.972 2.486c-.085.257-.257.428-.514.6-.171.086-.257.171-.429.257-.171.086-.257.086-.428.086h-.086c-.171 0-.257 0-.428-.086-.172-.086-.343-.171-.429-.257a1.867 1.867 0 01-.429-.686c-.085-.171-.085-.428-.085-.686 0-.171.085-.342.171-.514.086-.257.257-.514.514-.686.172-.085.258-.257.429-.257.171-.085.257-.085.429-.085h.085c.172 0 .257 0 .343.085.172.086.343.172.429.257.171.172.343.343.428.6.086.172.086.429.086.686.086.257 0 .514-.086.686z"}))};function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function G(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const q=(0,i.memo)((0,M.withBlockContext)(z)(function(e){var t=e.attributes,a=e.setAttributes,l=e.className,c=(e.clientId,e.isSelected),b=(e.name,t.resOption,t.blockId),d=(t.blockMeta,t.sliderData),u=t.startIndex,f=t.classHook,y=G(G({},e),{},{blockPrefix:"eb-slider",style:React.createElement(F,e)});(0,s.useBlockProps)({className:g()(l,"eb-guten-block-main-parent-wrapper")}),(0,i.useEffect)(function(){u>d.length&&a({startIndex:d.length})},[u,d]);var h=function(e){if(!e.length)return null;var n=[],l=(0,r.A)(t.sliderData);e.map(function(e,t){var a={},r=function(e,t){var a,n,o;return e.map(function(e){e.id===t.id&&(a=e.title,n=e.btnText,o=e.link)}),[a,n,o]}(l,e),c=(0,o.A)(r,3),i=c[0],s=c[1],p=c[2];a.id=e.id,a.src=e.url,a.alt=e.alt,a.title=i||"Slider ".concat(t+1),a.btnText=s||"Button",a.link=p||"",a.openNewTab=e.openNewTab||!0,n.push(a)}),a({sliderData:n})};return d.length?React.createElement(React.Fragment,null,c&&React.createElement(L,{attributes:t,setAttributes:a}),React.createElement(s.BlockControls,null,React.createElement(p.ToolbarGroup,null,React.createElement(p.ToolbarItem,null,function(){return React.createElement(s.MediaUpload,{onSelect:function(e){return h(e)},allowedTypes:["image"],multiple:!0,gallery:!0,value:d.map(function(e){return e.id}),render:function(e){var t=e.open;return React.createElement(p.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})}))),React.createElement(M.BlockProps.Edit,y,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(b," ").concat(f)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(b)},React.createElement(m,{slides:d,attributes:t,setAttributes:a}))))):React.createElement(M.EBMediaPlaceholder,{icon:U,labels:{title:(0,n.__)("Parallax Slider","essential-blocks"),instructions:(0,n.__)("Drag images, upload new ones or select files from your library. Upload minimum 3 images for better design.")},onSelect:function(e){return h(e)},accept:"image/*",allowedTypes:["image"],enableAI:!1,multiple:!0})}));var W,Z,J,Y,Q,X;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},$.apply(null,arguments)}const K={attributes:{sliderData:[{src:(null===(J=EssentialBlocksLocalize)||void 0===J?void 0:J.eb_plugins_url)+"assets/images/gallery-images/Maldive.jpg"},{src:(null===(Y=EssentialBlocksLocalize)||void 0===Y?void 0:Y.eb_plugins_url)+"assets/images/gallery-images/Australia.jpg"},{src:(null===(Q=EssentialBlocksLocalize)||void 0===Q?void 0:Q.eb_plugins_url)+"assets/images/gallery-images/hongkong.jpg"},{src:(null===(X=EssentialBlocksLocalize)||void 0===X?void 0:X.eb_plugins_url)+"assets/images/gallery-images/iceland.jpg"}]}};function ee(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const te=[{attributes:(0,a(6087).omit)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ee(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},z),["slideTitleTag"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,l=t.hasBtnShadow,c=t.classHook;return React.createElement(M.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":l},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map(function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))})),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"})))))))}},{attributes:z,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,l=t.hasBtnShadow,c=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":l},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map(function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))})),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"})))))))}},{attributes:z,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,l=t.hasBtnShadow;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":l},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map(function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))})),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"}))))))}},{attributes:z,save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,l=t.hasBtnShadow,c=t.prevIcon,i=t.nextIcon;return React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":l},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map(function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement("h2",{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))})),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous ".concat(c)}),React.createElement("div",{className:"btn btn--next ".concat(i)})))))}}],ae=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Parallax Slider","name":"essential-blocks/parallax-slider","description":"Create a captivating visual experience & impress your audience","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,M.ebConditionalRegisterBlockType)(ae,{icon:function(e){return c.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),W||(W=c.createElement("path",{fill:"#6C3BFF",d:"M58.629 11.143c-.258-.343-.6-.514-.943-.514-.257 0-.429.085-.686.171-.514.429-.686 1.114-.343 1.629l1.972 2.828L56.57 17.4c-.428.429-.428 1.114 0 1.629.172.171.515.342.772.342s.6-.171.857-.428l3.343-3.514zM3 42.6l1.971-2.829c.343-.514.258-1.2-.342-1.628-.172-.172-.429-.172-.686-.172-.343 0-.772.172-.943.515L.086 42.77l3.343 3.43c.257.257.514.429.857.429.257 0 .6-.086.771-.343.429-.429.429-1.115 0-1.629zM49.714 1.714 14.914.257C12.6.257 10.8 2.143 10.8 4.371L8.571 53.4c0 2.314 1.886 4.114 4.115 4.114h.085l30.686-2.4h.086c2.143-.343 3.514-1.714 3.943-3.943l4.8-34.885.428-3.086L53.743 6v-.171c0-2.315-1.8-4.115-4.029-4.115m-6.514 51-30.514 2.4a1.627 1.627 0 0 1-1.629-1.628l.6-13.629L22.286 27.43l8.143 14.228L49.2 20.914l-3.086 22.372-1.028 7.543c-.257 1.114-.772 1.628-1.886 1.885M30.857 37.457l-8.143-14.314L11.83 35.829 13.2 4.37c0-.942.771-1.714 1.629-1.714l34.8 1.457c.857 0 1.628.686 1.628 1.629l-1.543 10.8z"})),Z||(Z=c.createElement("path",{fill:"#6C3BFF",d:"M51.857 45.343c-.514-.086-1.114.343-1.2.857l-1.371 9.257c-.172.857-.858 1.543-1.8 1.629l-8.4.771c-.6.086-.943.514-.943 1.114.085.515.514.943 1.028.943h.086l8.4-.771c1.886-.172 3.343-1.543 3.6-3.429l1.372-9.257c.171-.514-.258-1.028-.772-1.114M36.686 14.657c-.086-.257-.257-.428-.429-.686-.171-.171-.257-.342-.428-.428-.172-.086-.258-.257-.429-.343s-.257-.171-.429-.257-.257-.172-.428-.172c-.172-.085-.257-.085-.429-.085-.085 0-.171-.086-.257-.086h-.6c-.171 0-.343 0-.428.086a.66.66 0 0 0-.429.171c-.171.086-.343.172-.429.257-.171.086-.342.172-.428.343-.172.172-.343.257-.429.429-.171.171-.343.428-.514.685a3.8 3.8 0 0 0-.514 1.372c0 .171-.086.428-.086.6v.943c.086.514.171.943.429 1.285.085.258.257.429.428.686.172.172.257.343.429.429s.257.171.428.343c.172.085.257.171.429.257s.257.085.428.171h.943c.172 0 .343 0 .429-.086.171 0 .343-.085.428-.085.172-.086.343-.086.429-.172.171-.085.343-.171.429-.257.171-.086.342-.257.428-.343.172-.171.343-.257.429-.428.171-.172.343-.429.514-.686.257-.343.429-.771.514-1.2 0-.171.086-.343.086-.514v-.857a8 8 0 0 0-.514-1.372m-1.972 2.486c-.085.257-.257.428-.514.6-.171.086-.257.171-.429.257s-.257.086-.428.086h-.086c-.171 0-.257 0-.428-.086-.172-.086-.343-.171-.429-.257a1.9 1.9 0 0 1-.429-.686c-.085-.171-.085-.428-.085-.686 0-.171.085-.342.171-.514.086-.257.257-.514.514-.686.172-.085.258-.257.429-.257.171-.085.257-.085.429-.085h.085c.172 0 .257 0 .343.085.172.086.343.172.429.257.171.172.343.343.428.6.086.172.086.429.086.686.086.257 0 .514-.086.686"})))},attributes:z,edit:q,save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderData,o=t.intensity,r=t.startIndex,l=t.hasBtnShadow,c=t.classHook,i=t.slideTitleTag;return React.createElement(M.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-parallax-slider-wrapper ".concat(a)},React.createElement("div",{className:"eb-parallax-container","data-start-index":r,"data-intensity":o,"data-shadow":l},React.createElement("div",{className:"eb-parallax-slider"},React.createElement("ul",{className:"eb-parallax-wrapper"},n.map(function(e,t){return React.createElement("li",{key:t,className:"slide"},React.createElement("div",{className:"slide__image-wrapper"},React.createElement("img",{className:"slide__image",src:e.src,alt:e.alt,style:{opacity:1}})),React.createElement("article",{className:"slide__content"},React.createElement(i,{className:"slide__headline"},e.title),React.createElement("button",{className:"slide__action btn","data-link":e.link,"data-new-tab":e.openNewTab},e.btnText)))})),React.createElement("div",{className:"eb-slider__controls"},React.createElement("div",{className:"btn btn--previous"}),React.createElement("div",{className:"btn btn--next"})))))))},keywords:[(0,n.__)("Parallax","essential-blocks"),(0,n.__)("Slider","essential-blocks"),(0,n.__)("eb Parallax Slider","essential-blocks")],example:K,deprecated:te})},2556:(e,t,a)=>{var n={};a.r(n),a.d(n,{TEXT_TYPOGRAPHY:()=>E});var o=a(7723),r=a(5694),l=a(4467),c=a(3453),i=a(1609),s=a(8468),p=a(4715),b=a(3582),d=a(6427),m="wrprBg",u="wrpMargin",g="wrpPadding",f="wrpBorderShadow",y="coumnCount",h="coumnGap",v="coumnWidth",w="coumnRuleWidth",k=((0,o.__)("Default","essential-blocks"),(0,o.__)("Preset 1","essential-blocks"),(0,o.__)("Preset 2","essential-blocks"),(0,o.__)("Preset 3","essential-blocks"),[{label:(0,o.__)(React.createElement(d.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,o.__)(React.createElement(d.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(d.Dashicon,{icon:"editor-alignright"})),value:"right"},{label:(0,o.__)(React.createElement(d.Dashicon,{icon:"menu"})),value:"justify"}]),R=[{label:(0,o.__)("H1","essential-blocks"),value:"h1"},{label:(0,o.__)("H2","essential-blocks"),value:"h2"},{label:(0,o.__)("H3","essential-blocks"),value:"h3"},{label:(0,o.__)("H4","essential-blocks"),value:"h4"},{label:(0,o.__)("H5","essential-blocks"),value:"h5"},{label:(0,o.__)("H6","essential-blocks"),value:"h6"},{label:(0,o.__)("P","essential-blocks"),value:"p"},{label:(0,o.__)("Span","essential-blocks"),value:"span"}],_=[{label:(0,o.__)("Custom","essential-blocks"),value:"custom"},{label:(0,o.__)("Dynamic Content","essential-blocks"),value:"dynamic-content"},{label:(0,o.__)("Dynamic Excerpt","essential-blocks"),value:"dynamic-excerpt"}],C=[{label:(0,o.__)("None","essential-blocks"),value:"none"},{label:(0,o.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,o.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,o.__)("Solid","essential-blocks"),value:"solid"},{label:(0,o.__)("Double","essential-blocks"),value:"double"},{label:(0,o.__)("Groove","essential-blocks"),value:"groove"},{label:(0,o.__)("Ridge","essential-blocks"),value:"ridge"},{label:(0,o.__)("Ridge","essential-blocks"),value:"ridge"}],E="text";function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const B=S(S(S(S(S(S(S(S(S({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},tagName:{type:"string",default:"p"},text:{type:"string"},color:{type:"string",default:"var(--eb-global-text-color)"},hoverColor:{type:"string"},align:{type:"string",default:"left"},source:{type:"string",default:"custom"},currentPostId:{type:"number",default:0},currentPostType:{type:"string",default:"post"},excerptLength:{type:"number",default:20},columnRuleColor:{type:"string",default:"var(--eb-global-text-color)"},columnRuleStyle:{type:"string",default:"default"}},(0,r.generateTypographyAttributes)(Object.values(n))),(0,r.generateDimensionsAttributes)(u,{top:0,bottom:15,right:0,left:0,isLinked:!1})),(0,r.generateDimensionsAttributes)(g)),(0,r.generateResponsiveRangeAttributes)(y,{defaultRange:1})),(0,r.generateResponsiveRangeAttributes)(h,{defaultRange:15})),(0,r.generateResponsiveRangeAttributes)(v)),(0,r.generateResponsiveRangeAttributes)(w)),(0,r.generateBorderShadowAttributes)(f,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,r.generateBackgroundAttributes)(m,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),T=function(e){var t=e.attributes,a=e.setAttributes,n=e.context,l=(t.resOption,t.align),c=t.tagName,i=t.text,s=t.color,p=t.hoverColor,b=t.source,x=t.excerptLength,S=t.columnRuleColor,B=t.columnRuleStyle,T=Boolean(n&&(!0===n["essential-blocks/isLoopBuilder"]||n.hasOwnProperty("essential-blocks/postId")&&n.hasOwnProperty("essential-blocks/postType")));return React.createElement(r.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:m,borderPrefix:f,hasMargin:!0}},React.createElement(r.InspectorPanel.General,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},!T&&React.createElement(d.SelectControl,{label:(0,o.__)("Source","essential-blocks"),value:b,options:_,onChange:function(e){return a({source:e})},help:"dynamic-content"===b&&"Dynamic content will be displayed only within the Single Template."}),React.createElement(d.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(d.ButtonGroup,{id:"eb-advance-heading-alignment"},k.map(function(e,t){return React.createElement(d.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({align:e.value})}},e.label)}))),"dynamic-content"!==b&&React.createElement(d.BaseControl,{label:(0,o.__)("Tag","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(d.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},R.map(function(e,t){return React.createElement(d.Button,{key:t,isPrimary:c===e.value,isSecondary:c!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)}))),"custom"===b&&React.createElement(React.Fragment,null,React.createElement(r.DynamicInputControl,{label:"Title Text",attrName:"text",inputValue:i,setAttributes:a,onChange:function(e){return a({text:e})}})),"dynamic-content"!==b&&React.createElement(React.Fragment,null,React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Column Count","essential-blocks"),controlName:y,min:0,max:10,step:1,noUnits:!0}),T&&"dynamic-excerpt"===b&&React.createElement(d.RangeControl,{label:(0,o.__)("Excerpt Length (words)","essential-blocks"),value:x,onChange:function(e){return a({excerptLength:e})},min:1,max:200,step:1})))),React.createElement(r.InspectorPanel.Style,null,"dynamic-content"!==b&&React.createElement(React.Fragment,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Text Styles","essential-blocks"),initialOpen:!0},React.createElement(r.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:E}),React.createElement(r.ColorControl,{label:(0,o.__)("Text Color","essential-blocks"),color:s,attributeName:"color"}),React.createElement(r.ColorControl,{label:(0,o.__)("Text Hover Color","essential-blocks"),color:p,attributeName:"hoverColor"})),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Column Style","essential-blocks")},React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Column Gap","essential-blocks"),controlName:h,min:0,max:100,step:1}),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Column Min Width","essential-blocks"),controlName:v,min:0,max:500,step:1}),React.createElement(d.SelectControl,{label:(0,o.__)("Column Rule Style","essential-blocks"),value:B,options:C,onChange:function(e){return a({columnRuleStyle:e})}}),"none"!==B&&React.createElement(React.Fragment,null,React.createElement(r.ColorControl,{label:(0,o.__)("Column Rule Color","essential-blocks"),color:S,attributeName:"columnRuleColor"}),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Column Rule Width","essential-blocks"),controlName:w,min:0,max:100,step:1})))),"dynamic-content"===b&&React.createElement("p",{style:{padding:"10px 15px"}},"No style control available for"," ",React.createElement("strong",null,"Dynamic Content"))))};function N(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,l=t.align,c=t.color,i=t.hoverColor,s=t.columnRuleColor,p=t.columnRuleStyle,b=(0,r.generateTypographyStyles)({attributes:t,prefixConstant:E}),d=b.typoStylesDesktop,k=b.typoStylesTab,R=b.typoStylesMobile,_=(0,r.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t}),C=_.dimensionStylesDesktop,x=_.dimensionStylesTab,S=_.dimensionStylesMobile,B=(0,r.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),T=B.dimensionStylesDesktop,N=B.dimensionStylesTab,P=B.dimensionStylesMobile,O=(0,r.generateResponsiveRangeStyles)({controlName:y,property:"column-count",attributes:t,noUnits:!0}),I=O.rangeStylesDesktop,D=O.rangeStylesTab,A=O.rangeStylesMobile,M=(0,r.generateResponsiveRangeStyles)({controlName:w,property:"column-rule-width",attributes:t}),L=M.rangeStylesDesktop,F=M.rangeStylesTab,j=M.rangeStylesMobile,H=(0,r.generateResponsiveRangeStyles)({controlName:v,property:"column-width",attributes:t}),z=H.rangeStylesDesktop,U=H.rangeStylesTab,V=H.rangeStylesMobile,G=(0,r.generateResponsiveRangeStyles)({controlName:h,property:"column-gap",attributes:t}),q=G.rangeStylesDesktop,W=G.rangeStylesTab,Z=G.rangeStylesMobile,J=(0,r.generateBorderShadowStyles)({controlName:f,attributes:t}),Y=J.styesDesktop,Q=J.styesTab,X=J.styesMobile,$=J.stylesHoverDesktop,K=J.stylesHoverTab,ee=J.stylesHoverMobile,te=J.transitionStyle,ae=(0,r.generateBackgroundControlStyles)({attributes:t,controlName:m}),ne=ae.backgroundStylesDesktop,oe=ae.hoverBackgroundStylesDesktop,re=ae.backgroundStylesTab,le=ae.hoverBackgroundStylesTab,ce=ae.backgroundStylesMobile,ie=ae.hoverBackgroundStylesMobile,se=ae.overlayStylesDesktop,pe=ae.hoverOverlayStylesDesktop,be=ae.overlayStylesTab,de=ae.hoverOverlayStylesTab,me=ae.overlayStylesMobile,ue=ae.hoverOverlayStylesMobile,ge=ae.bgTransitionStyle,fe=ae.ovlTransitionStyle,ye="\n\t\t.eb-text-wrapper.".concat(o,"{\n\t\t\tposition: relative;\n\t\t\ttext-align: ").concat(l,";\n\t\t\t").concat(C,"\n\t\t\t").concat(T,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(ne,"\n\t\t\ttransition:").concat(ge,", ").concat(te,";\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":hover {\n\t\t\t").concat($,"\n\t\t\t").concat(oe,"\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":before{\n\t\t\t").concat(se,"\n\t\t\ttransition:").concat(fe,";\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(pe,"\n\t\t}\n\t"),he="\n\t\t.eb-text-wrapper.".concat(o,"{\n\t\t\t").concat(x,"\n\t\t\t").concat(N,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(re,"\n\t\t}\n\t\t.eb-text-wrapper.").concat(o,":hover {\n\t\t\t").concat(K,"\n\t\t\t").concat(le,"\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":before{\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(de,"\n\t\t}\n\t"),ve="\n\t\t.eb-text-wrapper.".concat(o,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(X,"\n\t\t\t").concat(ce,"\n\t\t}\n\t\t.eb-text-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(ie,"\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":before{\n\t\t\t").concat(me,"\n\t\t}\n\n\t\t.eb-text-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ue,"\n\t\t}\n\t"),we="\n\t\t.eb-text-wrapper.".concat(o," .eb-text {\n\t\t\ttext-align: ").concat(l,";\n\t\t\tcolor: ").concat(c,";\n\t\t\tcolumn-rule-color: ").concat(s,";\n\t\t\tcolumn-rule-style: ").concat(p,";\n\t\t\t").concat(d,"\n\t\t\t").concat(I,"\n\t\t\t").concat(q,"\n\t\t\t").concat(z,"\n\t\t\t").concat(L,"\n\t\t}\n\t\t.eb-text-wrapper.").concat(o,":hover .eb-text{\n\t\t\tcolor: ").concat(i,";\n\t\t}\n\t"),ke="\n\t\t.eb-text-wrapper.".concat(o," .eb-text {\n\t\t\t").concat(k,"\n\t\t\t").concat(D,"\n\t\t\t").concat(W,"\n\t\t\t").concat(U,"\n\t\t\t").concat(F,"\n\t\t}\n\t"),Re="\n\t\t.eb-text-wrapper.".concat(o," .eb-text {\n\t\t\t").concat(R,"\n\t\t\t").concat(A,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(V,"\n\t\t\t").concat(j,"\n\t\t}\n\t"),_e=(0,r.softMinifyCssStrings)("\n\t\t\t".concat(ye,"\n\t\t\t").concat(we,"\n\t\t")),Ce=(0,r.softMinifyCssStrings)("\n\t\t\t".concat(he,"\n\t\t\t").concat(ke,"\n\t\t")),Ee=(0,r.softMinifyCssStrings)("\n\t\t\t".concat(ve,"\n\t\t\t").concat(Re,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(r.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:_e,tabAllStyles:Ce,mobileAllStyles:Ee,blockName:n}))}function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=(0,s.memo)((0,r.withBlockContext)(B)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,l=e.context,i=t.blockId,d=t.align,m=t.tagName,u=t.text,g=t.classHook,f=t.source,y=t.currentPostId,h=t.currentPostType,v=t.excerptLength,w=null==l?void 0:l["essential-blocks/postId"],k=null==l?void 0:l["essential-blocks/postType"],R=Boolean(l&&(!0===l["essential-blocks/isLoopBuilder"]||l.hasOwnProperty("essential-blocks/postId")&&l.hasOwnProperty("essential-blocks/postType"))),_=R&&k||h,C=R&&w||y,E=(0,b.useEntityProp)("postType",_,"excerpt",C),x=(0,c.A)(E,3),S=x[0],B=void 0===S?"":S,P=x[2],I=(void 0===P?{}:P).rendered,D=(0,s.useMemo)(function(){if(!R||"dynamic-excerpt"!==f)return"";var e=B||"";if(!e&&I){var t=document.createElement("div");t.innerHTML=I,e=t.textContent||t.innerText||""}if(e&&v>0){var a=e.trim().split(/\s+/);a.length>v&&(e=a.slice(0,v).join(" ")+"...")}return e.trim()},[R,f,B,I,v]);(0,s.useEffect)(function(){R&&a({source:"dynamic-excerpt",currentPostId:w||0,currentPostType:k||"post"})},[R,w,k]);var A=O(O({},e),{},{blockPrefix:"eb-text",style:React.createElement(N,e)}),M=m;return React.createElement(React.Fragment,null,n&&React.createElement(React.Fragment,null,React.createElement(p.BlockControls,null,React.createElement(p.AlignmentToolbar,{value:d,onChange:function(e){return a({align:e})},controls:["left","center","right"]})),React.createElement(T,{attributes:t,setAttributes:a,context:l})),React.createElement(r.BlockProps.Edit,A,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(g)},React.createElement("div",{className:"eb-text-wrapper ".concat(i),"data-id":i},"custom"===f&&React.createElement(r.DynamicInputValueHandler,{value:u,tagName:m,className:"eb-text",isSelected:!0,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return a({text:e})},placeholder:(0,o.__)("Type your text here"),readOnly:!0}),f&&"custom"!==f&&!R&&React.createElement(M,{className:"eb-text"},'Please note that placeholder data is currently displayed in the editor. The actual data from "',React.createElement("strong",null,f),'" will be displayed on the front end.'),f&&"custom"!==f&&R&&"dynamic-excerpt"===f&&D&&React.createElement(M,{className:"eb-text"},D)))))})),D=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Text","name":"essential-blocks/text","category":"essential-blocks","description":"Add and customize text content on your website that catches the attention of the visitors.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"usesContext":["postId","postType","essential-blocks/postId","essential-blocks/postType","essential-blocks/queryId","essential-blocks/isLoopBuilder","essential-blocks/query"],"editorScript":"essential-blocks-editor-script"}');var A,M,L,F;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j.apply(null,arguments)}(0,r.ebConditionalRegisterBlockType)(D,{keywords:[(0,o.__)("text","essential-blocks"),(0,o.__)("paragraph","essential-blocks"),(0,o.__)("paragraph column","essential-blocks")],icon:function(e){return i.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),A||(A=i.createElement("path",{stroke:"#6C3BFF",strokeWidth:1.8,d:"M13 9.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM13 50.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM55 9.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM55 50.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),M||(M=i.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeWidth:1.8,d:"M11.5 54h36"})),L||(L=i.createElement("path",{fill:"#6C3BFF",d:"M29 41a1 1 0 1 0 2 0zm9-15.95a1 1 0 1 0 2 0zm-18 0a1 1 0 1 0 2 0zm18.341-5.334.736-.677zM24.375 40a1 1 0 1 0 0 2zm12.375 2a1 1 0 1 0 0-2zM25.5 20H30v-2h-4.5zm4.5 0h4.5v-2H30zm1 21V19h-2v22zm7-17.111v1.161h2v-1.161zm-18 0v1.161h2v-1.161zM34.5 20c1.091 0 1.8.003 2.324.079.486.071.664.187.781.314l1.472-1.354c-.542-.589-1.224-.831-1.964-.939-.701-.103-1.583-.1-2.613-.1zm5.5 3.889c0-1.126.002-2.064-.09-2.805-.094-.762-.302-1.468-.833-2.045l-1.472 1.354c.128.14.25.367.32.936.073.59.075 1.381.075 2.56zM25.5 18c-1.03 0-1.912-.003-2.613.1-.74.108-1.422.35-1.964.939l1.472 1.354c.117-.127.295-.243.78-.314C23.7 20.003 24.41 20 25.5 20zM22 23.889c0-1.178.002-1.97.075-2.56.07-.569.192-.797.32-.936l-1.472-1.354c-.53.577-.739 1.283-.833 2.045-.092.741-.09 1.679-.09 2.805zM24.375 42H36.75v-2H24.375z"})),F||(F=i.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeWidth:1.8,d:"M46 9H14M51 46V14M6 14v32.5"})))},attributes:B,edit:I,save:function(e){var t=e.attributes,a=t.blockId,n=t.tagName,o=t.text,l=t.classHook;return"custom"!==t.source?null:React.createElement(r.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-text-wrapper ".concat(a),"data-id":a},React.createElement(p.RichText.Content,{tagName:n,className:"eb-text",value:o}))))},example:{attributes:{displaySubtitle:!0,displaySeperator:!0,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"}}})},2619:e=>{e.exports=window.wp.hooks},2623:(e,t,a)=>{var n=a(7723),o=a(2284),r=a(8168),l=a(4467),c=a(3453),i=a(1609),s=a(8468),p=a(2619),b=a(5694),d="titleText",m="productPrice",u="saleText",g="descText",f="btnText",y="viewbtnText",h="ebwg_load_more",v="catText",w=[{label:(0,n.__)("Grid"),value:"grid"},{label:(0,n.__)("List"),value:"list"}],k=[{label:(0,n.__)("Top","essential-blocks"),value:"align-top"},{label:(0,n.__)("Left","essential-blocks"),value:"align-left"},{label:(0,n.__)("Right","essential-blocks"),value:"align-right"}],R=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],_=[{label:(0,n.__)("Star"),value:"star"},{label:(0,n.__)("Number"),value:"number"}],C="ratingIcon",E="gridSpace",x="columns",S="imgGap",B="imgWidth",T="imgHeight",N="btnBorder",P="viewbtnBorder",O="saleBorder",I="imgBorder",D="wrpMargin",A="wrpPadding",M="wrpBackground",L="contentPadding",F="imagePadding",j="titleMargin",H="priceMargin",z="ratingMargin",U="btnMargin",V="viewbtnMargin",G="descMargin",q="loadMorePadding",W="loadMoreMargin",Z="loadMoreBorderShadow",J="catSpace",Y="wrpBorderShadow",Q="productBorderShadow",X=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],$=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"},{label:"Active",value:"active"}],K=[{label:(0,n.__)("Fill","essential-blocks"),value:"fill"},{label:(0,n.__)("Contain","essential-blocks"),value:"contain"},{label:(0,n.__)("Cover","essential-blocks"),value:"cover"}],ee=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"}];function te(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isContentEnabled,r=(t.resOption,t.blockId),l=(t.blockMeta,t.layout),c=t.gridPreset,i=t.titleColor,s=t.titleHoverColor,p=t.priceColor,w=t.salePriceColor,k=t.ratingColor,R=t.btnColor,_=t.btnHoverColor,X=t.btnBackgroundColor,$=t.btnBackgroundHoverColor,K=t.viewbtnColor,ee=t.viewbtnHoverColor,te=t.viewbtnBackgroundColor,ae=t.viewbtnBackgroundHoverColor,ne=t.saleTextColor,oe=t.saleTextBackgroundColor,re=t.contentAlignment,le=t.contentBackgroundColor,ce=t.imageBackgroundColor,ie=t.imageOverlayColor,se=t.descColor,pe=t.autoHeight,be=t.backgroundOverlayColor,de=t.loadMoreOptions,me=(t.classHook,t.loadMoreColor),ue=t.loadMoreBgColor,ge=t.loadMoreHoverColor,fe=t.loadMoreHoverBgColor,ye=t.loadMoreActiveColor,he=t.loadMoreActiveBgColor,ve=t.enableContents,we=t.autoFit,ke=t.fitStyles,Re=t.catColor,_e=t.catHoverColor,Ce="left"===re?"flex-start":"right"===re?"flex-end":"center",Ee=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:d}),xe=Ee.typoStylesDesktop,Se=Ee.typoStylesTab,Be=Ee.typoStylesMobile,Te=(0,b.generateDimensionsControlStyles)({controlName:j,styleFor:"margin",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Ie=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:m}),De=Ie.typoStylesDesktop,Ae=Ie.typoStylesTab,Me=Ie.typoStylesMobile,Le=(0,b.generateDimensionsControlStyles)({controlName:H,styleFor:"margin",attributes:t}),Fe=Le.dimensionStylesDesktop,je=Le.dimensionStylesTab,He=Le.dimensionStylesMobile,ze=(0,b.generateResponsiveRangeStyles)({controlName:C,property:"font-size",attributes:t}),Ue=ze.rangeStylesDesktop,Ve=ze.rangeStylesTab,Ge=ze.rangeStylesMobile,qe=(0,b.generateDimensionsControlStyles)({controlName:z,styleFor:"margin",attributes:t}),We=qe.dimensionStylesDesktop,Ze=qe.dimensionStylesTab,Je=qe.dimensionStylesMobile,Ye=(0,b.generateBorderShadowStyles)({controlName:N,attributes:t}),Qe=Ye.styesDesktop,Xe=Ye.styesTab,$e=Ye.styesMobile,Ke=Ye.stylesHoverDesktop,et=Ye.stylesHoverTab,tt=Ye.stylesHoverMobile,at=Ye.transitionStyle,nt=(0,b.generateBorderShadowStyles)({controlName:P,attributes:t}),ot=nt.styesDesktop,rt=nt.styesTab,lt=nt.styesMobile,ct=nt.stylesHoverDesktop,it=nt.stylesHoverTab,st=nt.stylesHoverMobile,pt=nt.transitionStyle,bt=(0,b.generateDimensionsControlStyles)({controlName:U,styleFor:"margin",attributes:t}),dt=bt.dimensionStylesDesktop,mt=bt.dimensionStylesTab,ut=bt.dimensionStylesMobile,gt=(0,b.generateDimensionsControlStyles)({controlName:V,styleFor:"margin",attributes:t}),ft=gt.dimensionStylesDesktop,yt=gt.dimensionStylesTab,ht=gt.dimensionStylesMobile,vt=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:u}),wt=vt.typoStylesDesktop,kt=vt.typoStylesTab,Rt=vt.typoStylesMobile,_t=(0,b.generateBorderShadowStyles)({controlName:O,attributes:t}),Ct=_t.styesDesktop,Et=_t.styesTab,xt=_t.styesMobile,St=(0,b.generateDimensionsControlStyles)({controlName:D,styleFor:"margin",attributes:t}),Bt=St.dimensionStylesDesktop,Tt=St.dimensionStylesTab,Nt=St.dimensionStylesMobile,Pt=(0,b.generateDimensionsControlStyles)({controlName:A,styleFor:"padding",attributes:t}),Ot=Pt.dimensionStylesDesktop,It=Pt.dimensionStylesTab,Dt=Pt.dimensionStylesMobile,At=(0,b.generateBorderShadowStyles)({controlName:Y,attributes:t}),Mt=At.styesDesktop,Lt=At.styesTab,Ft=At.styesMobile,jt=At.stylesHoverDesktop,Ht=At.stylesHoverTab,zt=At.stylesHoverMobile,Ut=At.transitionStyle,Vt=(0,b.generateBackgroundControlStyles)({attributes:t,controlName:M}),Gt=Vt.backgroundStylesDesktop,qt=Vt.hoverBackgroundStylesDesktop,Wt=Vt.backgroundStylesTab,Zt=Vt.hoverBackgroundStylesTab,Jt=Vt.backgroundStylesMobile,Yt=Vt.hoverBackgroundStylesMobile,Qt=Vt.overlayStylesDesktop,Xt=Vt.hoverOverlayStylesDesktop,$t=Vt.overlayStylesTab,Kt=Vt.hoverOverlayStylesTab,ea=Vt.overlayStylesMobile,ta=Vt.hoverOverlayStylesMobile,aa=Vt.bgTransitionStyle,na=Vt.ovlTransitionStyle,oa=(0,b.generateDimensionsControlStyles)({controlName:L,styleFor:"padding",attributes:t}),ra=oa.dimensionStylesDesktop,la=oa.dimensionStylesTab,ca=oa.dimensionStylesMobile,ia=(0,b.generateDimensionsControlStyles)({controlName:F,styleFor:"padding",attributes:t}),sa=ia.dimensionStylesDesktop,pa=ia.dimensionStylesTab,ba=ia.dimensionStylesMobile,da=(0,b.generateBorderShadowStyles)({controlName:Q,attributes:t}),ma=da.styesDesktop,ua=da.styesTab,ga=da.styesMobile,fa=da.stylesHoverDesktop,ya=da.stylesHoverTab,ha=da.stylesHoverMobile,va=da.transitionStyle,wa=(0,b.generateResponsiveRangeStyles)({controlName:E,property:"",attributes:t}),ka=wa.rangeStylesDesktop,Ra=wa.rangeStylesTab,_a=wa.rangeStylesMobile,Ca=(0,b.generateResponsiveRangeStyles)({controlName:x,property:"",attributes:t}),Ea=Ca.rangeStylesDesktop,xa=Ca.rangeStylesTab,Sa=Ca.rangeStylesMobile,Ba=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:g}),Ta=Ba.typoStylesDesktop,Na=Ba.typoStylesTab,Pa=Ba.typoStylesMobile,Oa=(0,b.generateDimensionsControlStyles)({controlName:G,styleFor:"margin",attributes:t}),Ia=Oa.dimensionStylesDesktop,Da=Oa.dimensionStylesTab,Aa=Oa.dimensionStylesMobile,Ma=(0,b.generateResponsiveRangeStyles)({controlName:S,property:"margin-right",attributes:t}),La=Ma.rangeStylesDesktop,Fa=Ma.rangeStylesTab,ja=Ma.rangeStylesMobile,Ha=(0,b.generateResponsiveRangeStyles)({controlName:T,property:"height",attributes:t}),za=Ha.rangeStylesDesktop,Ua=Ha.rangeStylesTab,Va=Ha.rangeStylesMobile,Ga=(0,b.generateResponsiveRangeStyles)({controlName:B,property:"width",attributes:t}),qa=Ga.rangeStylesDesktop,Wa=Ga.rangeStylesTab,Za=Ga.rangeStylesMobile,Ja=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:f}),Ya=Ja.typoStylesDesktop,Qa=Ja.typoStylesTab,Xa=Ja.typoStylesMobile,$a=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:y}),Ka=$a.typoStylesDesktop,en=$a.typoStylesTab,tn=$a.typoStylesMobile,an=(0,b.generateBorderShadowStyles)({controlName:I,attributes:t}),nn=an.styesDesktop,on=an.styesTab,rn=an.styesMobile,ln=an.stylesHoverDesktop,cn=an.stylesHoverTab,sn=an.stylesHoverMobile,pn=an.transitionStyle,bn=(0,b.generateDimensionsControlStyles)({controlName:q,styleFor:"padding",attributes:t}),dn=bn.dimensionStylesDesktop,mn=bn.dimensionStylesTab,un=bn.dimensionStylesMobile,gn=(0,b.generateDimensionsControlStyles)({controlName:W,styleFor:"margin",attributes:t}),fn=gn.dimensionStylesDesktop,yn=gn.dimensionStylesTab,hn=gn.dimensionStylesMobile,vn=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:h,defaultFontSize:14}),wn=vn.typoStylesDesktop,kn=vn.typoStylesTab,Rn=vn.typoStylesMobile,_n=(0,b.generateBorderShadowStyles)({controlName:Z,attributes:t,noShadow:!0}),Cn=_n.styesDesktop,En=_n.styesTab,xn=_n.styesMobile,Sn=_n.stylesHoverDesktop,Bn=_n.stylesHoverTab,Tn=_n.stylesHoverMobile,Nn=_n.transitionStyle,Pn=(0,b.generateDimensionsControlStyles)({controlName:J,styleFor:"margin",attributes:t}),On=Pn.dimensionStylesDesktop,In=Pn.dimensionStylesTab,Dn=Pn.dimensionStylesMobile,An=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:v}),Mn=An.typoStylesDesktop,Ln=An.typoStylesTab,Fn=An.typoStylesMobile,jn="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(Bt,"\n\t\t\t").concat(Ot,"\n\t\t\t").concat(Mt,"\n\t\t\t").concat(Gt,"\n\t\t\t").concat(Mt.trim().length>0?"overflow: hidden;":"","\n\t\t\ttransition: ").concat(Ut,", ").concat(aa,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(jt,"\n\t\t\t").concat(qt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat(Qt,"\n\t\t\ttransition:").concat(na,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(Xt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(ra,"\n\t\t\talign-items: ").concat(Ce,";\n\t\t\ttext-align: ").concat(re,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/Ea.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/Ea.replace(/\D/g,""),"%;\n\t\t}\n\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title {\n ").concat(o("title")?"order: ".concat(ve.indexOf("title")+1,";"):"","\n }\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(xe,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(i?"color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n ").concat(o("price")?"order: ".concat(ve.indexOf("price")+1,";"):"","\n\t\t\t").concat(De,"\n\t\t\t").concat(Fe,"\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins {\n\t\t\t").concat(w?"color: ".concat(w,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper {\n ").concat(o("rating")?"order: ".concat(ve.indexOf("rating")+1,";"):"","\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat(Ue,"\n\t\t\t").concat(k?"color: ".concat(k,";"):"","\n\t\t}\n\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-button-list {\n ").concat(o("button")?"order: ".concat(ve.indexOf("button")+1,";"):"","\n }\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat(Qe,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(Ya,"\n\t\t\t").concat(R?"color: ".concat(R,";"):"","\n\t\t\t").concat(X?"background: ".concat(X,";"):"","\n\t\t\ttransition: all 0.3s, ").concat(at,";\n\t\t}\n\t\t").concat("grid-preset-3"!==c?".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(_?"color: ".concat(_,";"):"","\n\t\t\t").concat($?"background: ".concat($,";"):"","\n\t\t}"):"","\n\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(_?"color: ".concat(_,";"):"","\n\t\t\t").concat($?"background: ".concat($,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(wt,"\n\t\t\t").concat(Ct,"\n\t\t\t").concat(ne?"color: ".concat(ne,";"):"","\n\t\t\t").concat(oe?"background: ".concat(oe,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper {\n\t\t\t").concat(le?"background: ".concat(le,";"):"","\n\t\t}\n\n\t\t").concat(be?"\n\t\t.eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-content-wrapper {\n\t\t\tbackground: ").concat(be,";\n\t\t}"):"","\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(ce?"background-color: ".concat(ce,";"):"","\n\t\t\t").concat(sa,"\n\t\t\t").concat("grid-preset-3"!==c?nn:"","\n\t\t\ttransition: ").concat(pn,";\n\t\t\toverflow: hidden;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==c?ln:"","\n\t\t}\n\n\t\t").concat("grid"===l&&"grid-preset-3"===c&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat(nn,"\n\t\t\ttransition: ").concat(pn,";\n\t\t\toverflow: hidden;\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(ln,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after {\n\t\t\tbackground: ").concat(ie,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img {\n\t\t\t").concat(qa,"\n\t\t\t").concat(pe?"height: auto;":za,"\n ").concat(we?"object-fit: ".concat(ke,";"):"object-fit: unset;","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(qa,"\n\t\t\t").concat(pe||""===za?"height: 100%;":za,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(ma,"\n\t\t\t").concat(ma.trim().length>0?"overflow: hidden;":"","\n\t\t\ttransition: ").concat(va,";\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(fa,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(ka.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(ka.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(ka.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(ka.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(ka.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(ka.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(ka.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n ").concat(o("description")?"order: ".concat(ve.indexOf("description")+1,";"):"","\n\t\t\t").concat(Ta,"\n\t\t\t").concat(Ia,"\n\t\t\t").concat(se?"color: ".concat(se,";"):"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(La,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination {\n\t\t\ttext-align: ").concat(de?de.alignment:"center",";\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\tcolor: ").concat(me,";\n\t\t\tbackground-color: ").concat(ue,";\n\t\t\t").concat(dn,"\n\t\t\t").concat(fn,"\n\t\t\t").concat(wn,"\n\t\t\t").concat(Cn,"\n\t\t\ttransition: ").concat(Nn,";\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\tcolor: ").concat(ge,";\n\t\t\tbackground-color: ").concat(fe,";\n\t\t\t").concat(Sn,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button.ebpg-pagination-item.active {\n\t\t\tcolor: ").concat(ye,";\n\t\t\tbackground-color: ").concat(he,";\n\t\t}\n\t"),Hn="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail {\n\t\t\t").concat(ot,"\n\t\t\t").concat(ft,"\n\t\t\t").concat(Ka,"\n\t\t\t").concat(K?"color: ".concat(K,";"):"","\n\t\t\t").concat(te?"background: ".concat(te,";"):"","\n\t\t\ttransition: all 0.3s, ").concat(pt,";\n\t\t}\n\n ").concat("grid-preset-3"!==c?".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(ct,"\n\t\t\t").concat(ee?"color: ".concat(ee,";"):"","\n\t\t\t").concat(ae?"background: ".concat(ae,";"):"","\n\t\t}"):"","\n\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(ct,"\n\t\t\t").concat(ee?"color: ".concat(ee,";"):"","\n\t\t\t").concat(ae?"background: ".concat(ae,";"):"","\n\t\t}\n\n "),zn="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail {\n\t\t\t").concat(rt,"\n\t\t\t").concat(yt,"\n\t\t\t").concat(en,"\n\t\t}\n\n ").concat("grid-preset-3"!==c?".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(it,"\n\t\t}"):"","\n\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(it,"\n\t\t}\n\n "),Un="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail {\n\t\t\t").concat(lt,"\n\t\t\t").concat(ht,"\n\t\t\t").concat(tn,"\n\t\t}\n\n ").concat("grid-preset-3"!==c?".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(st,"\n\t\t}"):"","\n\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover {\n\t\t\t").concat(st,"\n\t\t}\n\n "),Vn="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(Tt,"\n\t\t\t").concat(It,"\n\t\t\t").concat(Lt,"\n\t\t\t").concat(Wt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(Ht,"\n\t\t\t").concat(Zt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat($t,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(Kt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\t").concat(mn,"\n\t\t\t").concat(yn,"\n\t\t\t").concat(kn,"\n\t\t\t").concat(En,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(Bn,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(Ra.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/xa.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/xa.replace(/\D/g,""),"%;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(Se,"\n\t\t\t").concat(Pe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n\t\t\t").concat(Ae,"\n\t\t\t").concat(je,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-rating-wrapper {\n\t\t\t").concat(Ze,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat(Ve,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(la,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat(Xe,"\n\t\t\t").concat(mt,"\n\t\t\t").concat(Qa,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(et,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(Et,"\n\t\t\t").concat(kt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(ua,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(ya,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(pa,"\n\t\t\t").concat("grid-preset-3"!==c?on:"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==c?cn:"","\n\t\t}\n\n\t\t").concat("grid"===l&&"grid-preset-3"===c&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat(on,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(cn,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n {\n\t\t\t").concat(Wa,"\n\t\t\t").concat(Ua,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(Ra.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(Ra.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(Ra.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n\t\t\t").concat(Na,"\n\t\t\t").concat(Da,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(Fa,"\n\t\t}\n\t"),Gn="\n\t\t.eb-woo-products-wrapper.".concat(r," {\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Dt,"\n\t\t\t").concat(Ft,"\n\t\t\t").concat(Jt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover {\n\t\t\t").concat(zt,"\n\t\t\t").concat(Yt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":before{\n\t\t\t").concat(ea,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r,":hover:before{\n\t\t\t").concat(ta,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button {\n\t\t\t").concat(un,"\n\t\t\t").concat(hn,"\n\t\t\t").concat(Rn,"\n\t\t\t").concat(xn,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .ebpg-pagination button:hover {\n\t\t\t").concat(Tn,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery {\n\t\t\tmargin-left: -").concat(_a.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-right: -").concat(_a.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: -").concat(_a.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col {\n\t\t\tflex: 0 0 ").concat(100/Sa.replace(/\D/g,""),"%;\n\t\t\tmax-width: ").concat(100/Sa.replace(/\D/g,""),"%;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a {\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price {\n\t\t\t").concat(Me,"\n\t\t\t").concat(He,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-rating-wrapper {\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper .eb-woo-product-rating {\n\t\t\t").concat(Ge,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content {\n\t\t\t").concat(ca,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart {\n\t\t\t").concat($e,"\n\t\t\t").concat(ut,"\n\t\t\t").concat(Xa,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover {\n\t\t\t").concat(tt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon {\n\t\t\t").concat(xt,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product {\n\t\t\t").concat(ga,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product:hover {\n\t\t\t").concat(ha,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(ba,"\n\t\t\t").concat("grid-preset-3"!==c?rn:"","\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image:hover {\n\t\t\t").concat("grid-preset-3"!==c?sn:"","\n\t\t}\n\n\t\t").concat("grid"===l&&"grid-preset-3"===c&&".eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product {\n\t\t\t").concat(rn,"\n\t\t}\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-3 .eb-woo-product:hover {\n\t\t\t").concat(sn,"\n\t\t}"),"\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image {\n\t\t\t").concat(Za,"\n\t\t\t").concat(Va,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col, .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col {\n\t\t\tpadding-left: ").concat(_a.replace(/\D/g,"")/2,"px;\n\t\t\tpadding-right: ").concat(_a.replace(/\D/g,"")/2,"px;\n\t\t\tmargin-bottom: ").concat(_a.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col {\n\t\t\tmargin-bottom: ").concat(_a.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details {\n\t\t\t").concat(Pa,"\n\t\t\t").concat(Aa,"\n\t\t}\n\n\t\t.eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper {\n\t\t\t").concat(ja,"\n\t\t}\n\t"),qn="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category {\n ").concat(o("category")?"order: ".concat(ve.indexOf("category")+1,";"):"","\n ").concat(On,"\n }\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li a {\n ").concat(Mn,"\n color: ").concat(Re,";\n\n }\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li:hover,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li:hover a {\n color: ").concat(_e,";\n }\n "),Wn="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category {\n ").concat(In,"\n }\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li a {\n ").concat(Ln,"\n }\n "),Zn="\n .eb-woo-products-wrapper.".concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category {\n ").concat(Dn,"\n }\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li,\n .eb-woo-products-wrapper.").concat(r," .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li a {\n ").concat(Fn,"\n }\n "),Jn=(0,b.softMinifyCssStrings)("\n ".concat(jn,"\n ").concat(Hn,"\n ").concat(qn,"\n ")),Yn=(0,b.softMinifyCssStrings)("\n ".concat(Vn,"\n ").concat(zn,"\n ").concat(Wn,"\n ")),Qn=(0,b.softMinifyCssStrings)("\n ".concat(Gn,"\n ").concat(Un,"\n ").concat(Zn,"\n "));return React.createElement(React.Fragment,null,React.createElement(b.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Jn,tabAllStyles:Yn,mobileAllStyles:Qn,blockName:n}))}var ae=a(9394),ne=a(6427);function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function re(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const le=re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re(re({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},queryData:{type:"object"},queryResults:{type:"array"},layout:{type:"string",default:"grid"},gridPreset:{type:"string",default:"grid-preset-1"},gridColumns:{type:"string",default:"4"},showRating:{type:"boolean",default:!0},showPrice:{type:"boolean",default:!0},showSaleBadge:{type:"boolean",default:!0},showCategory:{type:"boolean",default:!1},listPreset:{type:"string",default:"list-preset-1"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},priceColor:{type:"string",default:"var(--eb-global-primary-color)"},salePriceColor:{type:"string",default:"var(--eb-global-primary-color)"},ratingColor:{type:"string"},saleBadgeAlign:{type:"string",default:"align-left"},saleText:{type:"string",default:"Sale"},saleTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},saleTextBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},contentAlignment:{type:"string",default:"center"},contentBackgroundColor:{type:"string"},imageBackgroundColor:{type:"string"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverColor:{type:"string"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},descColor:{type:"string",default:"var(--eb-global-text-color)"},autoHeight:{type:"boolean",default:!1},backgroundOverlayColor:{type:"string"},isCustomCartBtn:{type:"boolean",default:!1},simpleCartText:{type:"string",default:"Buy Now"},variableCartText:{type:"string",default:"Select options"},groupedCartText:{type:"string",default:"View products"},externalCartText:{type:"string",default:"Buy now"},defaultCartText:{type:"string",default:"Read more"},imageOverlayColor:{type:"string",default:"rgb(0 0 0 / 25%)"},productDescLength:{type:"string",default:"5"},loadMoreOptions:{type:"object"},loadMoreColorType:{type:"string",default:"normal"},loadMoreColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},loadMoreHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreActiveColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreActiveBgColor:{type:"string",default:"var(--eb-global-primary-color)"},ratingStyle:{type:"string",default:"star"},showSoldCount:{type:"boolean",default:!1},showSoldCountBar:{type:"boolean",default:!1},soldCountPrefix:{type:"string",default:"Sold "},soldCountSuffix:{type:"string",default:"+"},stockPercent:{type:"number",default:50},soldCountColor:{type:"string"},progressbarBackgroundColor:{type:"string"},progressbarFillColor:{type:"string"},showTaxonomyFilter:{type:"boolean",default:!1},selectedTaxonomy:{type:"string"},selectedTaxonomyItems:{type:"string",default:'[{"value":"all","label":"All"}]'},filterColorStyle:{type:"stroing",default:"normal"},filterBgColor:{type:"string",default:"var(--eb-global-background-color)"},filterTextColor:{type:"string",default:"var(--eb-global-text-color)"},filterActiveBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},filterActiveTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverTextColor:{type:"string",default:"var(--eb-global-tertiary-color)"},contentLists:{type:"array",default:["rating","category","title","price","sold_count"]},enableContents:{type:"array",default:["rating","title","price"]},showDetailBtn:{type:"boolean",default:!0},detailBtnText:{type:"string",default:"Visit Product"},viewbtnColor:{type:"string",default:"var(--eb-global-heading-text-color)"},viewbtnHoverColor:{type:"string",default:"var(--eb-global-background-color)"},viewbtnBackgroundColor:{type:"string",default:"var(--eb-global-background-color)"},viewbtnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},autoFit:{type:"boolean",default:!0},fitStyles:{type:"string",default:"cover"},titleTag:{type:"string",default:"h3"},catColor:{type:"string"},catHoverColor:{type:"string"}},(0,b.generateTypographyAttributes)(d)),(0,b.generateTypographyAttributes)(m)),(0,b.generateTypographyAttributes)(u)),(0,b.generateTypographyAttributes)(g)),(0,b.generateTypographyAttributes)(f)),(0,b.generateTypographyAttributes)(y)),(0,b.generateTypographyAttributes)(h,{fontSize:14})),(0,b.generateTypographyAttributes)(v)),(0,b.generateResponsiveRangeAttributes)(C)),(0,b.generateResponsiveRangeAttributes)(S,{defaultRange:10})),(0,b.generateResponsiveRangeAttributes)(B)),(0,b.generateResponsiveRangeAttributes)(T,{defaultRange:200})),(0,b.generateResponsiveRangeAttributes)(E,{defaultRange:15})),(0,b.generateResponsiveRangeAttributes)(x,{defaultRange:4})),(0,b.generateBorderShadowAttributes)(N)),(0,b.generateBorderShadowAttributes)(P)),(0,b.generateBorderShadowAttributes)(O,{noShadow:!0,noBdrHover:!0})),(0,b.generateBorderShadowAttributes)(Y,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,b.generateBorderShadowAttributes)(Q)),(0,b.generateBorderShadowAttributes)(I)),(0,b.generateBackgroundAttributes)(M,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,b.generateDimensionsAttributes)(D)),(0,b.generateDimensionsAttributes)(A)),(0,b.generateDimensionsAttributes)(L)),(0,b.generateDimensionsAttributes)(F)),(0,b.generateDimensionsAttributes)(j)),(0,b.generateDimensionsAttributes)(z)),(0,b.generateDimensionsAttributes)(H)),(0,b.generateDimensionsAttributes)(U)),(0,b.generateDimensionsAttributes)(V)),(0,b.generateDimensionsAttributes)(G)),(0,b.generateDimensionsAttributes)(J)),{},{TABcolumnsRange:{type:"number",default:3},TABgridSpaceRange:{type:"number",default:10},MOBcolumnsRange:{type:"number",default:1},MOBgridSpaceRange:{type:"number",default:0}},(0,b.generateDimensionsAttributes)(q,{top:5,bottom:5,right:10,left:10,isLinked:!1})),(0,b.generateDimensionsAttributes)(W,{top:10,bottom:10,right:5,left:5,isLinked:!1})),(0,b.generateDimensionsAttributes)("soldMargin")),(0,b.generateBorderShadowAttributes)(Z,{noShadow:!0,defaultBdrColor:"#c3c3c3",defaultBdrStyle:"solid",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:4,right:4,bottom:4,left:4}})),(0,b.generateResponsiveRangeAttributes)("filterItemGap",{defaultRange:10})),(0,b.generateDimensionsAttributes)("filterMargin",{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,b.generateDimensionsAttributes)("filterItmPadding",{top:10,bottom:10,right:20,left:20,isLinked:!1})),(0,b.generateBorderShadowAttributes)("filterItmBdrShdw",{defaultBdrColor:"var(--eb-global-primary-color)",defaultBdrStyle:"solid"})),(0,b.generateResponsiveRangeAttributes)("barHeight",{defaultRange:10,noUnits:!0})),ce=function(e){var t=e.attributes,a=e.setAttributes,o=e.setQueryResults,r=(t.resOption,t.queryData),l=t.queryResults,c=t.layout,i=t.gridPreset,te=t.showRating,oe=t.showPrice,re=t.showSaleBadge,le=t.showCategory,ce=t.listPreset,ie=t.titleColor,se=t.titleHoverColor,pe=t.priceColor,be=t.salePriceColor,de=t.ratingColor,me=t.btnColor,ue=t.btnHoverColor,ge=t.btnBackgroundColor,fe=t.btnBackgroundHoverColor,ye=t.viewbtnColor,he=t.viewbtnHoverColor,ve=t.viewbtnBackgroundColor,we=t.viewbtnBackgroundHoverColor,ke=t.saleBadgeAlign,Re=t.saleText,_e=t.saleTextColor,Ce=t.saleTextBackgroundColor,Ee=t.contentAlignment,xe=t.contentBackgroundColor,Se=t.imageBackgroundColor,Be=t.descColor,Te=t.autoHeight,Ne=t.backgroundOverlayColor,Pe=t.isCustomCartBtn,Oe=t.simpleCartText,Ie=t.variableCartText,De=t.groupedCartText,Ae=t.externalCartText,Me=t.defaultCartText,Le=t.imageOverlayColor,Fe=t.productDescLength,je=t.loadMoreOptions,He=t.loadMoreColorType,ze=t.loadMoreColor,Ue=t.loadMoreBgColor,Ve=t.loadMoreHoverColor,Ge=(t.loadMoreHoverBgColor,t.loadMoreActiveColor),qe=t.loadMoreActiveBgColor,We=t.ratingStyle,Ze=t.enableContents,Je=t.showDetailBtn,Ye=t.detailBtnText,Qe=t.autoFit,Xe=t.fitStyles,$e=t.titleTag,Ke=t.catColor,et=t.catHoverColor,tt=function(e,t){var n=(0,ae.A)(Ze);1==e?n.includes(t)||n.push(t):n.includes(t)&&(n=n.filter(function(e){return e!==t})),a({enableContents:n})};return(0,s.useEffect)(function(){je&&(je.alignment||(je.alignment="center"),je.loadMoreType||(je.loadMoreType="1"),je.loadMoreButtonTxt||(je.loadMoreButtonTxt="Load More"),je.nextTxt||(je.nextTxt=">"),je.prevTxt||(je.prevTxt="<"))},[je]),React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel,{advancedControlProps:{marginPrefix:D,paddingPrefix:A,borderPrefix:Y,backgroundPrefix:M}},React.createElement(b.InspectorPanel.General,null,React.createElement(b.InspectorPanel.PanelBody,{initialOpen:!0,title:(0,n.__)("Layout","essential-blocks")},React.createElement(ne.BaseControl,{label:(0,n.__)("Layouts","essential-blocks")},React.createElement(ne.ButtonGroup,{id:"eb-woo-products-layout"},w.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:c===e.value,isSecondary:c!==e.value,onClick:function(){return a((t=e.value,a({layout:t}),void("grid"===t?changeGridPreset(i):changeListPreset(ce))));var t}},e.label)}))),"grid"===c&&React.createElement(React.Fragment,null,React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Columns","essential-blocks"),controlName:x,min:0,max:6,step:1,noUnits:!0})),"list"===c&&React.createElement(React.Fragment,null),React.createElement(ne.ToggleControl,{label:(0,n.__)("Show Category","essential-blocks"),checked:le,onChange:function(){a({showCategory:!le}),tt(!le,"category")}}),React.createElement(ne.ToggleControl,{label:(0,n.__)("Show Rating","essential-blocks"),checked:te,onChange:function(){a({showRating:!te}),tt(!te,"rating")}}),te&&React.createElement(ne.SelectControl,{label:(0,n.__)("Rating Style","essential-blocks"),value:We,options:(0,p.applyFilters)("eb_woo_product_grid_rating_style",_),onChange:function(e){return a({ratingStyle:e})}}),React.createElement(ne.ToggleControl,{label:(0,n.__)("Show Price","essential-blocks"),checked:oe,onChange:function(){a({showPrice:!oe}),tt(!oe,"price")}}),React.createElement(ne.ToggleControl,{label:(0,n.__)("Show Sale Badge","essential-blocks"),checked:re,onChange:function(){return a({showSaleBadge:!re})}}),(0,p.applyFilters)("eb_woo_product_grid_general_toggle","",t,a,tt),React.createElement(ne.ToggleControl,{label:(0,n.__)("Show View Button","essential-blocks"),checked:Je,onChange:function(){a({showDetailBtn:!Je})}}),Je&&React.createElement(React.Fragment,null,React.createElement(ne.TextControl,{label:(0,n.__)("Button Text","essential-blocks"),value:Ye,onChange:function(e){return a({detailBtnText:e})}})),React.createElement(ne.BaseControl,{label:(0,n.__)("Title Tag","essential-blocks")},React.createElement(ne.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},ee.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:$e===e.value,isSecondary:$e!==e.value,onClick:function(){return a({titleTag:e.value})}},e.label)})))),React.createElement(b.WoocommerceQuery,{title:"Product Query",initialOpen:!1,queryData:r,queryResults:l,setAttributes:a,setQueryResults:o}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Cart Text","essential-blocks"),initialOpen:!1},React.createElement(ne.ToggleControl,{label:(0,n.__)("Use Custom Cart Button Text","essential-blocks"),checked:Pe,onChange:function(){return a({isCustomCartBtn:!Pe})}}),Pe&&React.createElement(React.Fragment,null,React.createElement(ne.TextControl,{label:(0,n.__)("Simple Product","essential-blocks"),value:Oe,onChange:function(e){return a({simpleCartText:e})}}),React.createElement(ne.TextControl,{label:(0,n.__)("Variable Product","essential-blocks"),value:Ie,onChange:function(e){return a({variableCartText:e})}}),React.createElement(ne.TextControl,{label:(0,n.__)("Grouped Product","essential-blocks"),value:De,onChange:function(e){return a({groupedCartText:e})}}),React.createElement(ne.TextControl,{label:(0,n.__)("External Product","essential-blocks"),value:Ae,onChange:function(e){return a({externalCartText:e})}}),React.createElement(ne.TextControl,{label:(0,n.__)("Default Product","essential-blocks"),value:Me,onChange:function(e){return a({defaultCartText:e})}}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Sale Badge","essential-blocks"),initialOpen:!1},React.createElement(ne.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"eb-woo-products-alignment"},React.createElement(ne.ButtonGroup,null,k.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({saleBadgeAlign:e.value})}},e.label)}))),React.createElement(ne.TextControl,{label:(0,n.__)("Sale Text","essential-blocks"),value:Re,onChange:function(e){return a({saleText:e})}})),React.createElement(b.MorePosts,{loadMoreOptions:je,queryData:r,setAttributes:a,initialOpen:!1}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Sorting Content","essential-blocks-pro"),initialOpen:!1},React.createElement(b.SortControl,{items:Ze,labelKey:"",onSortEnd:function(e){return a({enableContents:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),(0,p.applyFilters)("eb_woo_product_grid_general_tab","",t,a)),React.createElement(b.InspectorPanel.Style,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Products","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(ne.BaseControl,{label:(0,n.__)("Content Alignment","essential-blocks"),id:"eb-woo-products-content-alignment"},React.createElement(ne.ButtonGroup,null,R.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:Ee===e.value,isSecondary:Ee!==e.value,onClick:function(){return a({contentAlignment:e.value})}},e.label)}))),React.createElement(b.ColorControl,{label:(0,n.__)("Content Background Color","essential-blocks"),color:xe,attributeName:"contentBackgroundColor"}),"grid"===c&&"grid-preset-3"===i&&React.createElement(b.ColorControl,{label:(0,n.__)("Background Overlay Color","essential-blocks"),color:Ne,attributeName:"backgroundOverlayColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:L,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Spacing","essential-blocks"),controlName:E,min:0,max:200,step:1,noUnits:!0}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:Q})))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Image","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:B,min:0,max:1200}),!Te&&React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:T,min:0,max:1200}),React.createElement(ne.ToggleControl,{label:(0,n.__)("Auto Height","essential-blocks"),checked:Te,onChange:function(){return a({autoHeight:!Te})}}),React.createElement(ne.ToggleControl,{label:(0,n.__)("Auto Fit Image?","essential-blocks"),checked:Qe,onChange:function(e){return a({autoFit:e})}}),Qe&&React.createElement(ne.SelectControl,{label:(0,n.__)("Image Fit Options","essential-blocks"),value:Xe,options:K,onChange:function(e){return a({fitStyles:e})}}),React.createElement(ne.__experimentalDivider,null),React.createElement(b.ColorControl,{label:(0,n.__)("Image Wrapper Background","essential-blocks"),color:Se,attributeName:"imageBackgroundColor"}),"list"===c&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Image Overlay Color","essential-blocks"),color:Le,attributeName:"imageOverlayColor"}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Space","essential-blocks"),controlName:S,min:0,max:500,step:1,noUnits:!0})),React.createElement(b.ResponsiveDimensionsControl,{controlName:F,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(b.BorderShadowControl,{controlName:I}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Product Title","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:d}),React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ie,attributeName:"titleColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:se,attributeName:"titleHoverColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:j,baseLabel:(0,n.__)("Space","essential-blocks")}))),"list"===c&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Product Description","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:g}),React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Be,attributeName:"descColor"}),React.createElement(ne.TextControl,{label:(0,n.__)("Description length","essential-blocks"),value:Fe,type:"number",onChange:function(e){return function(e){a(e<0?{productDescLength:0}:{productDescLength:e})}(e)}}),React.createElement(b.ResponsiveDimensionsControl,{controlName:G,baseLabel:(0,n.__)("Space","essential-blocks")}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Product Price","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:m}),React.createElement(b.ColorControl,{label:(0,n.__)("Price Color","essential-blocks"),color:pe,attributeName:"priceColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Sale Price Color","essential-blocks"),color:be,attributeName:"salePriceColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:H,baseLabel:(0,n.__)("Space","essential-blocks")}))),te&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Product Rating","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Rating Color","essential-blocks"),color:de,attributeName:"ratingColor"}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:C,min:0,max:50,step:1}),React.createElement(b.ResponsiveDimensionsControl,{controlName:z,baseLabel:(0,n.__)("Space","essential-blocks")}))),le&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Category","essential-blocks-pro"),initialOpen:!1},React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks-pro"),typographyPrefixConstant:v}),React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks-pro"),color:Ke,attributeName:"catColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks-pro"),color:et,attributeName:"catHoverColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:J,baseLabel:(0,n.__)("Margin","essential-blocks-pro")})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:f}),React.createElement(b.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:me,attributeName:"btnColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Text Hover Color","essential-blocks"),color:ue,attributeName:"btnHoverColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ge,attributeName:"btnBackgroundColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Hover Color","essential-blocks"),color:fe,attributeName:"btnBackgroundHoverColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:U,baseLabel:(0,n.__)("Space","essential-blocks")}),React.createElement(ne.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(b.BorderShadowControl,{controlName:N}),Je&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("View Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:y}),React.createElement(b.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:ye,attributeName:"viewbtnColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Text Hover Color","essential-blocks"),color:he,attributeName:"viewbtnHoverColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ve,attributeName:"viewbtnBackgroundColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Hover Color","essential-blocks"),color:we,attributeName:"viewbtnBackgroundHoverColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:V,baseLabel:(0,n.__)("Space","essential-blocks")}),React.createElement(ne.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(b.BorderShadowControl,{controlName:P}))))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Sale Badge Style","essential-blocks"),initialOpen:!1},React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:u}),React.createElement(b.ColorControl,{label:(0,n.__)("Sale Text Color","essential-blocks"),color:_e,attributeName:"saleTextColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Sale Text Background Color","essential-blocks"),color:Ce,attributeName:"saleTextBackgroundColor"}),React.createElement(ne.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(b.BorderShadowControl,{controlName:O,noShadow:!0,noBdrHover:!0})),(null==je?void 0:je.enableMorePosts)&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Load More Styles"),initialOpen:!1},"1"===(null==je?void 0:je.loadMoreType)&&React.createElement(ne.ButtonGroup,{id:"essential-blocks",className:"eb-inspector-btn-group"},X.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:He===e.value,isSecondary:He!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)})),"2"===(null==je?void 0:je.loadMoreType)&&React.createElement(ne.BaseControl,{label:(0,n.__)("","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(ne.ButtonGroup,{id:"eb-advance-heading-alignment"},$.map(function(e,t){return React.createElement(ne.Button,{key:t,isPrimary:He===e.value,isSecondary:He!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)}))),"normal"===He&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ze,attributeName:"loadMoreColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Ue,attributeName:"loadMoreBgColor"})),"hover"===He&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ve,attributeName:"loadMoreHoverColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Ve,attributeName:"loadMoreHoverColor"})),"active"===He&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ge,attributeName:"loadMoreActiveColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:qe,attributeName:"loadMoreActiveBgColor"})),React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:h}),React.createElement(b.InspectorPanel.PanelBody,null,React.createElement(b.ResponsiveDimensionsControl,{controlName:W,baseLabel:"Margin"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:q,baseLabel:"Padding"})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:Z,noShadow:!0}))),(0,p.applyFilters)("eb_woo_product_grid_style_tab","",t,a))))};var ie,se,pe,be,de;function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},me.apply(null,arguments)}var ue,ge,fe,ye,he=function(e){return i.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),ie||(ie=i.createElement("path",{fill:"#6C3BFF",d:"M51.506 47.99c.518 0 .944.411.944.93a.95.95 0 0 1-.944.943H2.75a2.74 2.74 0 0 1-1.94-.81 2.7 2.7 0 0 1-.81-1.94V2.75C0 1.993.306 1.315.81.81A2.72 2.72 0 0 1 2.75 0h54.486c.758 0 1.448.306 1.954.81.491.505.81 1.183.81 1.94v44.363c0 .757-.319 1.448-.81 1.94a2.75 2.75 0 0 1-1.954.81h-5.353a.947.947 0 0 1-.944-.944c0-.518.425-.93.944-.93h5.353a.88.88 0 0 0 .625-.265.86.86 0 0 0 .265-.611V10.217H1.874v36.896c0 .24.106.452.265.61v.014c.16.16.372.252.61.252zM53.237 4.17c.518 0 .93.412.93.93a.936.936 0 0 1-.93.944h-31.9a.947.947 0 0 1-.943-.944c0-.518.425-.93.944-.93zm4.89 4.173V2.75a.87.87 0 0 0-.265-.611.88.88 0 0 0-.626-.266H2.75c-.24 0-.451.107-.61.266a.86.86 0 0 0-.266.611v5.594z"})),se||(se=i.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M5.58 4.198c.505 0 .904.412.904.904a.91.91 0 0 1-.904.917.907.907 0 0 1-.903-.917c0-.492.398-.904.903-.904m7.92 0c.503 0 .902.412.902.904a.91.91 0 0 1-.903.917.92.92 0 0 1-.917-.917c0-.492.412-.904.917-.904m-3.96 0c.504 0 .903.412.903.904a.91.91 0 0 1-.903.917.92.92 0 0 1-.917-.917c0-.492.411-.904.917-.904",clipRule:"evenodd"})),pe||(pe=i.createElement("path",{fill:"#6C3BFF",d:"M13.723 14.521h9.22c.518 0 .983.213 1.329.545.345.345.545.81.545 1.329v9.233c0 .505-.226 1.063-.612 1.382a1.87 1.87 0 0 1-1.262.491h-9.22a1.89 1.89 0 0 1-1.887-1.873v-9.233c0-1.036.85-1.874 1.887-1.874m9.22 1.874h-9.22v9.234h9.22zM35.954 14.521h9.234c1.036 0 1.873.838 1.873 1.874v9.234c0 .505-.226 1.063-.625 1.381a1.84 1.84 0 0 1-1.248.492h-9.234a1.89 1.89 0 0 1-1.874-1.873v-9.234a1.88 1.88 0 0 1 1.874-1.874m9.234 1.874h-9.234v9.234h9.234z"})),be||(be=i.createElement("path",{fill:"#6C3BFF",d:"M41.25 18.047h-2.93a.586.586 0 0 0-.586.586v.469c0 .323.263.585.586.585h2.93a.586.586 0 0 0 .586-.585v-.47a.586.586 0 0 0-.586-.585M41.25 35.39h-2.93a.586.586 0 0 0-.586.587v.468c0 .324.263.586.586.586h2.93a.586.586 0 0 0 .586-.586v-.468a.586.586 0 0 0-.586-.586M19.336 35.39h-2.93a.586.586 0 0 0-.586.587v.468c0 .324.263.586.586.586h2.93a.586.586 0 0 0 .586-.586v-.468a.586.586 0 0 0-.586-.586"})),de||(de=i.createElement("path",{fill:"#6C3BFF",d:"M35.954 32.11h9.234c1.036 0 1.873.837 1.873 1.873v9.234c0 .505-.226 1.063-.625 1.381a1.84 1.84 0 0 1-1.248.492h-9.234a1.89 1.89 0 0 1-1.874-1.873v-9.234a1.88 1.88 0 0 1 1.874-1.874m9.234 1.873h-9.234v9.234h9.234zM13.723 32.073h9.22c1.036 0 1.874.837 1.874 1.873v9.22a1.883 1.883 0 0 1-1.874 1.887h-9.22a1.894 1.894 0 0 1-1.887-1.886v-9.22c0-1.037.85-1.874 1.887-1.874m0 1.873v9.22h9.22v-9.22zM19.336 18.047h-2.93a.586.586 0 0 0-.586.586v.469c0 .323.263.585.586.585h2.93a.586.586 0 0 0 .586-.585v-.47a.586.586 0 0 0-.586-.585"})))},ve=[{title:"Trendy Layout",templatePreview:!0,preview:"".concat(null===(ue=EssentialBlocksLocalize)||void 0===ue?void 0:ue.image_url,"/templates/product-grid/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-1vich","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-1vich{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content{align-items:center;text-align:center}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 25%;max-width:25%}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title{order:3}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a{color:#444444}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a{color:var(\\u002d\\u002deb-global-link-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price{order:4;color:#3f05e9}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins{color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper{order:1}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}false.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after{background:rgb(0 0 0 / 25%)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img{height:200px;object-fit:cover}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{height:200px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery{margin-left:-7.5px;margin-right:-7.5px;margin-bottom:-15px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:7.5px;padding-right:7.5px;margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details{color:var(\\u002d\\u002deb-global-text-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper{margin-right:10px}.eb-woo-products-wrapper.eb-woo-product-1vich .ebpg-pagination{text-align:center}.eb-woo-products-wrapper.eb-woo-product-1vich .ebpg-pagination button{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-button-background-color);padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-top:10px;margin-right:5px;margin-left:5px;margin-bottom:10px;font-size:14px;border-width:1px;border-color:#c3c3c3;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich .ebpg-pagination button:hover{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-tertiary-color);border-radius:4px}.eb-woo-products-wrapper.eb-woo-product-1vich .ebpg-pagination button.ebpg-pagination-item.active{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail{color:var(\\u002d\\u002deb-global-heading-text-color);background:var(\\u002d\\u002deb-global-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category{order:2}.eb-woo-product-1vich.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container{height:10px}.eb-woo-product-1vich.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar{height:10px}","tab":".eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery{margin-left:-5px;margin-right:-5px;margin-bottom:-10px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 33.333333333333336%;max-width:33.333333333333336%}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:5px;padding-right:5px;margin-bottom:10px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:10px}","mobile":".eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery{margin-left:-0px;margin-right:-0px;margin-bottom:-0px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 100%;max-width:100%}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col{padding-left:0px;padding-right:0px;margin-bottom:0px}.eb-woo-products-wrapper.eb-woo-product-1vich .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:0px}"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]","query_type":"custom_query"},"showCategory":true,"titleColor":"#444444","priceColor":"#3f05e9","contentBackgroundColor":"","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"60"},"enableContents":["rating","category","title","price"],"commonStyles":{"desktop":".eb-parent-eb-woo-product-1vich{display:block}.root-eb-woo-product-1vich{position:relative}","tab":".eb-parent-eb-woo-product-1vich{display:block}","mobile":".eb-parent-eb-woo-product-1vich{display:block}"}} /--\x3e'},{title:"Dynamic Layout",templatePreview:!0,preview:"".concat(null===(ge=EssentialBlocksLocalize)||void 0===ge?void 0:ge.image_url,"/templates/product-grid/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-v4c8m","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-v4c8m{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content{align-items:flex-start;text-align:left}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 25%;max-width:25%}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title{order:2}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a{color:#444444}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a{color:var(\\u002d\\u002deb-global-link-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price{order:3;color:#3f05e9}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins{color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper{background:#ffffff}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}false.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after{background:rgb(0 0 0 / 25%)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img{height:200px;object-fit:cover}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{height:200px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery{margin-left:-7.5px;margin-right:-7.5px;margin-bottom:-15px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:7.5px;padding-right:7.5px;margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details{color:var(\\u002d\\u002deb-global-text-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper{margin-right:10px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .ebpg-pagination{text-align:center}.eb-woo-products-wrapper.eb-woo-product-v4c8m .ebpg-pagination button{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-button-background-color);padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-top:10px;margin-right:5px;margin-left:5px;margin-bottom:10px;font-size:14px;border-width:1px;border-color:#c3c3c3;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m .ebpg-pagination button:hover{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-tertiary-color);border-radius:4px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .ebpg-pagination button.ebpg-pagination-item.active{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail{color:var(\\u002d\\u002deb-global-heading-text-color);background:var(\\u002d\\u002deb-global-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category{order:1}.eb-woo-product-v4c8m.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container{height:10px}.eb-woo-product-v4c8m.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar{height:10px}","tab":".eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery{margin-left:-5px;margin-right:-5px;margin-bottom:-10px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 33.333333333333336%;max-width:33.333333333333336%}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:5px;padding-right:5px;margin-bottom:10px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:10px}","mobile":".eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery{margin-left:-0px;margin-right:-0px;margin-bottom:-0px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 100%;max-width:100%}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col{padding-left:0px;padding-right:0px;margin-bottom:0px}.eb-woo-products-wrapper.eb-woo-product-v4c8m .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:0px}"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]","query_type":"custom_query"},"gridPreset":"grid-preset-2","showRating":false,"showCategory":true,"titleColor":"#444444","priceColor":"#3f05e9","contentAlignment":"left","contentBackgroundColor":"#ffffff","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"60"},"enableContents":["category","title","price"],"commonStyles":{"desktop":".eb-parent-eb-woo-product-v4c8m{display:block}.root-eb-woo-product-v4c8m{position:relative}","tab":".eb-parent-eb-woo-product-v4c8m{display:block}","mobile":".eb-parent-eb-woo-product-v4c8m{display:block}"}} /--\x3e'},{title:"Elegant Layout",templatePreview:!0,preview:"".concat(null===(fe=EssentialBlocksLocalize)||void 0===fe?void 0:fe.image_url,"/templates/product-grid/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-13j9l","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-13j9l{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content{align-items:center;text-align:center}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 25%;max-width:25%}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title{order:2}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a{color:#ffffff}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a{color:var(\\u002d\\u002deb-global-link-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price{order:3;color:#f1f1f1}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins{color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-product{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after{background:rgb(0 0 0 / 25%)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img{height:200px;object-fit:cover}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{height:200px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery{margin-left:-7.5px;margin-right:-7.5px;margin-bottom:-15px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:7.5px;padding-right:7.5px;margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details{color:var(\\u002d\\u002deb-global-text-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper{margin-right:10px}.eb-woo-products-wrapper.eb-woo-product-13j9l .ebpg-pagination{text-align:center}.eb-woo-products-wrapper.eb-woo-product-13j9l .ebpg-pagination button{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-button-background-color);padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-top:10px;margin-right:5px;margin-left:5px;margin-bottom:10px;font-size:14px;border-width:1px;border-color:#c3c3c3;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l .ebpg-pagination button:hover{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-tertiary-color);border-radius:4px}.eb-woo-products-wrapper.eb-woo-product-13j9l .ebpg-pagination button.ebpg-pagination-item.active{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail{color:var(\\u002d\\u002deb-global-heading-text-color);background:var(\\u002d\\u002deb-global-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category{order:1}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category .eb-woo-product-category-list li a{color:var(\\u002d\\u002deb-global-button-text-color)}.eb-woo-product-13j9l.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container{height:10px}.eb-woo-product-13j9l.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar{height:10px}","tab":".eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery{margin-left:-5px;margin-right:-5px;margin-bottom:-10px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 33.333333333333336%;max-width:33.333333333333336%}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:5px;padding-right:5px;margin-bottom:10px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:10px}","mobile":".eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery{margin-left:-0px;margin-right:-0px;margin-bottom:-0px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 100%;max-width:100%}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col{padding-left:0px;padding-right:0px;margin-bottom:0px}.eb-woo-products-wrapper.eb-woo-product-13j9l .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:0px}"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]","query_type":"custom_query"},"gridPreset":"grid-preset-3","showRating":false,"showCategory":true,"titleColor":"#ffffff","priceColor":"#f1f1f1","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"60"},"enableContents":["category","title","price"],"catColor":"var(\\u002d\\u002deb-global-button-text-color)","catTextFontSource":"global","contentPaddingTop":"","contentPaddingRight":"","contentPaddingBottom":"","contentPaddingLeft":"","catSpaceTop":"","catSpaceRight":"","catSpaceBottom":"","catSpaceLeft":"","commonStyles":{"desktop":".eb-parent-eb-woo-product-13j9l{display:block}.root-eb-woo-product-13j9l{position:relative}","tab":".eb-parent-eb-woo-product-13j9l{display:block}","mobile":".eb-parent-eb-woo-product-13j9l{display:block}"}} /--\x3e'},{title:"Radiant Layout",templatePreview:!0,preview:"".concat(null===(ye=EssentialBlocksLocalize)||void 0===ye?void 0:ye.image_url,"/templates/product-grid/preset-list.svg"),content:'\x3c!-- wp:essential-blocks/woo-product-grid {"blockId":"eb-woo-product-v8iha","blockMeta":{"desktop":".eb-woo-products-wrapper.eb-woo-product-v8iha{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content{align-items:flex-start;text-align:left}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 25%;max-width:25%}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title{order:2}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title a{color:#444444}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-title:hover a{color:var(\\u002d\\u002deb-global-link-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-price{order:3;color:#3f05e9}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-price ins{color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-rating-wrapper{order:4}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-button-list{order:6}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.added_to_cart:hover{background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image .eb-woo-product-ribbon{color:var(\\u002d\\u002deb-global-button-text-color);background:var(\\u002d\\u002deb-global-button-background-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-content-wrapper,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper{background:#f3f3ff}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}false.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image a:after{background:rgb(0 0 0 / 25%)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image img{height:auto;object-fit:cover}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-image-wrapper .eb-woo-product-image{height:100%}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product{transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery{margin-left:-7.5px;margin-right:-7.5px;margin-bottom:-15px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:7.5px;padding-right:7.5px;margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:15px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-product .eb-woo-product-content-wrapper .eb-woo-product-content .eb-woo-product-details{order:5;color:var(\\u002d\\u002deb-global-text-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-product-image-wrapper{margin-right:10px}.eb-woo-products-wrapper.eb-woo-product-v8iha .ebpg-pagination{text-align:center}.eb-woo-products-wrapper.eb-woo-product-v8iha .ebpg-pagination button{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-button-background-color);padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-top:10px;margin-right:5px;margin-left:5px;margin-bottom:10px;font-size:14px;border-width:1px;border-color:#c3c3c3;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha .ebpg-pagination button:hover{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-tertiary-color);border-radius:4px}.eb-woo-products-wrapper.eb-woo-product-v8iha .ebpg-pagination button.ebpg-pagination-item.active{color:var(\\u002d\\u002deb-global-button-text-color);background-color:var(\\u002d\\u002deb-global-primary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail{color:var(\\u002d\\u002deb-global-heading-text-color);background:var(\\u002d\\u002deb-global-background-color);transition:all 0.3s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-product .eb-woo-product-overlay .eb-woo-product-button-list a.button.eb-woo-product-detail:hover{color:var(\\u002d\\u002deb-global-background-color);background:var(\\u002d\\u002deb-global-tertiary-color)}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery .eb-woo-product-content .eb-woo-product-category{order:1}.eb-woo-product-v8iha.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-container{height:10px}.eb-woo-product-v8iha.eb-woo-products-wrapper .eb-woo-product-sold-bar-wrapper .eb-woo-product-sold-bar{height:10px}","tab":".eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery{margin-left:-5px;margin-right:-5px;margin-bottom:-10px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 33.333333333333336%;max-width:33.333333333333336%}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{padding-left:5px;padding-right:5px;margin-bottom:10px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:10px}","mobile":".eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery{margin-left:-0px;margin-right:-0px;margin-bottom:-0px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-3 .eb-woo-products-col{flex:0 0 100%;max-width:100%}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-1 .eb-woo-products-col,.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.grid-preset-2 .eb-woo-products-col{padding-left:0px;padding-right:0px;margin-bottom:0px}.eb-woo-products-wrapper.eb-woo-product-v8iha .eb-woo-products-gallery.list-preset-1 .eb-woo-products-col{margin-bottom:0px}"},"queryData":{"source":"products","rest_base":"products","rest_namespace":"wc/v3","category":"","tag":"","per_page":"4","offset":"0","orderby":"[{\\u0022label\\u0022:\\u0022Date\\u0022,\\u0022value\\u0022:\\u0022date\\u0022}]","order":"[{\\u0022label\\u0022:\\u0022Descending\\u0022,\\u0022value\\u0022:\\u0022desc\\u0022}]","query_type":"custom_query"},"layout":"list","showCategory":true,"titleColor":"#444444","priceColor":"#3f05e9","contentAlignment":"left","contentBackgroundColor":"#f3f3ff","autoHeight":true,"loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"60"},"enableContents":["category","title","price","rating","description","button"],"commonStyles":{"desktop":".eb-parent-eb-woo-product-v8iha{display:block}.root-eb-woo-product-v8iha{position:relative}","tab":".eb-parent-eb-woo-product-v8iha{display:block}","mobile":".eb-parent-eb-woo-product-v8iha{display:block}"}} /--\x3e'}];function we(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ke(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?we(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):we(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Re=(0,s.memo)((0,b.withBlockContext)(le)(function(e){var t,a,l=e.attributes,i=e.setAttributes,d=(e.className,e.clientId,e.isSelected),m=l.blockId,u=l.queryData,g=l.layout,f=l.gridPreset,y=l.listPreset,h=l.saleBadgeAlign,v=l.saleText,w=l.showRating,k=l.showPrice,R=l.showSaleBadge,_=l.showCategory,C=l.isCustomCartBtn,E=l.simpleCartText,x=l.variableCartText,S=l.groupedCartText,B=l.externalCartText,T=l.defaultCartText,N=l.productDescLength,P=l.loadMoreOptions,O=l.classHook,I=l.cover,D=l.ratingStyle,A=l.enableContents,M=l.showBlockContent,L=l.showDetailBtn,F=l.detailBtnText,j=l.titleTag,H=(0,s.useState)(!1),z=(0,c.A)(H,2),U=z[0],V=z[1],G=(0,s.useState)(!1),q=(0,c.A)(G,2),W=q[0],Z=q[1],J=null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["woocommerce/woocommerce.php"])||void 0===t?void 0:t.active,Y=function(e){return A.includes(e)},Q=ke(ke({},e),{},{blockPrefix:"eb-woo-product",style:React.createElement(te,(0,r.A)({},e,{isContentEnabled:Y}))});(0,s.useEffect)(function(){setTimeout(function(){Z(!0)},1500)},[]);var X=function(e){switch(e){case"external":return B;case"grouped":return S;case"simple":return E;case"variable":return x;default:return T}},$=function(e){for(var t="",a=1;a<=5;a++)t+=a<=e?'<span class="eb-woo-product-rating filled"><i class="fas fa-star"></i></span>':'<span class="eb-woo-product-rating"><i class="far fa-star"></i></span>';return t},K="grid"===g?f:y;return I.length?React.createElement("div",null,React.createElement("img",{src:I,alt:"woo product grid",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,d&&M&&React.createElement(ce,{attributes:l,setAttributes:i,setQueryResults:V}),M&&!1===W&&React.createElement(React.Fragment,null,!1===U&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(b.WoocommerceQuery,{isEdit:!0,title:"Product Query",initialOpen:!1,queryData:u,setQueryResults:V,setAttributes:i})),React.createElement(b.BlockProps.Edit,Q,!J&&React.createElement("div",null,React.createElement("strong",null,"WooCommerce")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=woocommerce&tab=search&type=term",target:"_blank"},"WooCommerce")," ","first."),J&&React.createElement(React.Fragment,null,React.createElement(te,(0,r.A)({},e,{isContentEnabled:Y})),React.createElement(b.BrowseTemplate,(0,r.A)({},e,{Icon:he,title:"Woo Product Grid",description:"Choose a template for the Woo Product Grid or start blank.",patterns:ve})),M&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(m," ").concat(O)},!1!==U&&React.createElement("div",{className:"eb-woo-products-wrapper ".concat(m),"data-id":m},(0,p.applyFilters)("eb_woo_product_grid_pro_taxonomy_filter_html","",l,i),React.createElement("div",{className:"eb-woo-products-gallery ".concat(K)},"object"===(0,o.A)(U)&&U.length>0&&U.map(function(e,t){var a,n,o;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-woo-products-col",key:t},React.createElement("div",{className:"eb-woo-product"},React.createElement("div",{className:"eb-woo-product-image-wrapper"},React.createElement("div",{className:"eb-woo-product-image"},e.image?React.createElement("a",{href:"#"},React.createElement("img",{src:e.image.large})):React.createElement("a",{href:"#"},React.createElement("img",{src:null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.placeholder_image,alt:"No preview available"})),R&&e.sale&&React.createElement("span",{className:"eb-woo-product-ribbon ".concat(h)},v)),"grid"===g&&React.createElement("div",{className:"eb-woo-product-overlay"},React.createElement("div",{className:"eb-woo-product-button-list"},React.createElement("a",{className:"eb-woo-product-button button"},C?X(e.type):e.add_to_cart_text),L&&React.createElement("a",{href:"#",className:"eb-woo-product-detail button asdfasdf"},F)))),"grid"===g&&React.createElement("div",{className:"eb-woo-product-content-wrapper","data-rating":Math.round(e.rating_average)},React.createElement("div",{className:"eb-woo-product-content"},w&&e.rating_average&&"star"===D&&React.createElement("div",{className:"eb-woo-product-rating-wrapper",dangerouslySetInnerHTML:{__html:$(parseInt(e.rating_average))}}),w&&e.rating_average&&"number"===D&&React.createElement("div",{className:"eb-woo-product-rating-wrapper"},React.createElement("span",{class:"eb-woo-product-rating filled"},React.createElement("i",{class:"fas fa-star"})," ",e.rating_average)),_&&(null==e?void 0:e.category.length)>0&&React.createElement("div",{className:"eb-woo-product-category"},React.createElement("ul",{className:"eb-woo-product-category-list"},null==e||null===(n=e.category)||void 0===n?void 0:n.map(function(t,a){return React.createElement("li",{key:a},null==t?void 0:t.name,a!==e.category.length-1&&",")}))),React.createElement(j,{className:"eb-woo-product-title",dangerouslySetInnerHTML:{__html:e.title}}),k&&React.createElement("p",{className:"eb-woo-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),(0,p.applyFilters)("eb_woo_product_grid_pro_sold_count_html","",l,i,e))),"list"===g&&React.createElement("div",{className:"eb-woo-product-content-wrapper","data-rating":Math.round(e.rating_average)},React.createElement("div",{className:"eb-woo-product-content"},_&&(null==e?void 0:e.category.length)>0&&React.createElement("div",{className:"eb-woo-product-category"},React.createElement("ul",{className:"eb-woo-product-category-list"},null==e||null===(o=e.category)||void 0===o?void 0:o.map(function(t,a){return React.createElement("li",{key:a},null==t?void 0:t.name,a!==e.category.length-1&&",")}))),React.createElement(j,{className:"eb-woo-product-title",dangerouslySetInnerHTML:{__html:e.title}}),k&&React.createElement("p",{className:"eb-woo-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),w&&e.rating_average&&"star"===D&&React.createElement("div",{className:"eb-woo-product-rating-wrapper",dangerouslySetInnerHTML:{__html:$(parseInt(e.rating_average))}}),w&&e.rating_average&&"number"===D&&React.createElement("div",{className:"eb-woo-product-rating-wrapper"},React.createElement("span",{class:"eb-woo-product-rating filled"},React.createElement("i",{class:"fas fa-star"})," ",e.rating_average)),(0,p.applyFilters)("eb_woo_product_grid_pro_sold_count_html","",l,i,e),React.createElement("p",{className:"eb-woo-product-details"},e.excerpt.split(" ").slice(0,Math.abs(parseInt(N))).join(" ")),React.createElement("div",{className:"eb-woo-product-button-list"},React.createElement("a",{className:"eb-woo-product-button button"},C?X(e.type):e.add_to_cart_text),L&&React.createElement("a",{href:"#",className:"eb-woo-product-detail button"},F)))))))}),"object"===(0,o.A)(U)&&U.length<=0&&React.createElement(React.Fragment,null,React.createElement("p",null,(0,n.__)("No product found","essential-blocks")))),void 0!==U&&U.length>0&&void 0!==P&&P.enableMorePosts&&React.createElement("div",{className:"ebpg-pagination ".concat("3"===P.loadMoreType?"prev-next-btn":"")},"1"===P.loadMoreType&&React.createElement("button",{className:"btn ebpg-pagination-button"},P.loadMoreButtonTxt),("2"===P.loadMoreType||"3"===P.loadMoreType)&&React.createElement("div",{className:"btn ebpg-pagination-page",dangerouslySetInnerHTML:{__html:function(e,t){var a=Math.floor(e.totalPosts/t),n="";n+='<button class="ebpg-pagination-item-previous">'.concat(e.prevTxt,"</button>");for(var o=1;o<=a;o++)1===o?n+='<button class="ebpg-pagination-item active">'.concat(o,"</button>"):o<=3?n+='<button class="ebpg-pagination-item">'.concat(o,"</button>"):o===a?(n+='<button class="ebpg-pagination-item-separator">...</button>',n+='<button class="ebpg-pagination-item">'.concat(o,"</button>")):n+="";return n+'<button class="ebpg-pagination-item-next">'.concat(e.nextTxt,"</button>")}(P,u.per_page)}}))))))))})),_e=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Woo Product Grid","name":"essential-blocks/woo-product-grid","category":"essential-blocks","description":"Display WooCommerce products in a stunning, organized layout & help customers with EB Woo Product Grid.","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');var Ce;(0,b.ebConditionalRegisterBlockType)(_e,{icon:he,attributes:le,keywords:[(0,n.__)("WooCommerce Product","essential-blocks"),(0,n.__)("Grid","essential-blocks"),(0,n.__)("List","essential-blocks")],edit:Re,save:function(){return null},example:{attributes:{cover:"".concat(null===(Ce=EssentialBlocksLocalize)||void 0===Ce?void 0:Ce.image_url,"/block-preview/woo-product-grid.jpg")}}})},2709:(e,t,a)=>{var n=a(7723),o=a(5694),r=a(3453),l=a(4467),c=a(1609),i=a(8468),s=a(4715),p=a(3582),b=a(6427),d=a(2619),m="wrprBg",u="wrpMargin",g="wrpPadding",f="wrpBorderShadow",y="titleMargin",h="title1Padding",v="title1bdrshdw",w="title2Padding",k="title2bdrshdw",R="title3Padding",_="title3bdrshdw",C="subtitleMargin",E="separatorMargin",x="separatorLineSize",S="separatorIconSize",B="separatorWidth",T="align",N=[{label:"px",value:"px"},{label:"em",value:"em"}],P=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],O=[{label:(0,n.__)("Line","essential-blocks"),value:"line"},{label:(0,n.__)("Icon","essential-blocks"),value:"icon"}],I=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],D=[{label:(0,n.__)("Default","essential-blocks"),value:"preset-0"},{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset-1"},{label:(0,n.__)("Preset 2","essential-blocks"),value:"preset-2"},{label:(0,n.__)("Preset 3","essential-blocks"),value:"preset-3"}],A=[{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignright"})),value:"right"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"menu"})),value:"justify"}],M=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"},{label:(0,n.__)("P","essential-blocks"),value:"p"}],L=[{label:(0,n.__)("Solid","essential-blocks"),value:"solid"},{label:(0,n.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,n.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,n.__)("Double","essential-blocks"),value:"double"},{label:(0,n.__)("Groove","essential-blocks"),value:"groove"},{label:(0,n.__)("Outset","essential-blocks"),value:"outset"},{label:(0,n.__)("Ridge","essential-blocks"),value:"ridge"}],F=[{label:(0,n.__)("Custom","essential-blocks"),value:"custom"},{label:(0,n.__)("Dynamic Title","essential-blocks"),value:"dynamic-title"}],j=[{label:(0,n.__)("None","essential-blocks"),value:""},{label:(0,n.__)("Marquee","essential-blocks"),value:"marquee"},{label:(0,n.__)("Waviy Reflect","essential-blocks"),value:"waviy"}],H="title",z="title2",U="title3",V="subtitle";const G=function(e){var t=e.attributes,a=e.setAttributes,l=e.context,c=Boolean(l&&l.hasOwnProperty("essential-blocks/postId")&&l.hasOwnProperty("essential-blocks/postType")),s=t.resOption,p=t.preset,G=t.effects,q=t.marqueeSpeed,W=t.marqueePauseOnHover,Z=t.tagName,J=t.titleText,Y=t.title2Text,Q=t.title3Text,X=t.subtitleTagName,$=t.subtitleText,K=t.displaySubtitle,ee=t.displaySeperator,te=t.titleColor,ae=t.titleHoverColor,ne=t.titleBgColor,oe=t.titleHoverBgColor,re=t.title2Color,le=t.title2HoverColor,ce=t.title2BgColor,ie=t.title2HoverBgColor,se=t.title3Color,pe=t.title3HoverColor,be=t.title3BgColor,de=t.title3HoverBgColor,me=t.subtitleColor,ue=t.subtitleHoverColor,ge=t.separatorColor,fe=t.separatorHoverColor,ye=t.seperatorPosition,he=t.seperatorType,ve=t.seperatorStyle,we=t.separatorIcon,ke=t.source,Re=t.enableLink,_e=t.titleLink,Ce=t.openInNewTab,Ee=(0,i.useState)(""),xe=(0,r.A)(Ee,2),Se=xe[0];return xe[1],React.createElement(o.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:m,borderPrefix:f,hasMargin:!0}},React.createElement(o.InspectorPanel.General,null,React.createElement(b.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},!c&&React.createElement(b.SelectControl,{label:(0,n.__)("Source","essential-blocks"),value:ke,options:F,onChange:function(e){return function(e){switch(e){case"custom":case"dynamic-title":a({source:e,displaySubtitle:!1});break;default:return!1}}(e)}}),React.createElement(b.SelectControl,{label:(0,n.__)("Preset Designs","essential-blocks"),value:p,options:(0,d.applyFilters)("eb_advanced_heading_preset",D),onChange:function(e){return function(e){switch(e){case"preset-0":a({preset:e,displaySubtitle:!1,displaySeperator:!1,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-1":a({preset:e,displaySubtitle:!0,displaySeperator:!0,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-2":a({preset:e,displaySubtitle:!0,displaySeperator:!0,align:"center",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"icon",separatorIcon:"fas fa-bullhorn",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"});break;case"preset-3":a({preset:e,displaySubtitle:!0,displaySeperator:!0,align:"center",titleColor:"#551ef7",subtitleColor:"#9b51e0",separatorColor:"#551ef7",seperatorType:"icon",separatorIcon:"fas fa-exchange-alt",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"30",wrpPaddingBottom:"30",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrprBgbackgroundColor:"rgba(206,190,255,1)",wrprBgbackgroundType:"classic"});break;default:return!1}}(e)}}),React.createElement(b.SelectControl,{label:(0,n.__)("Effects","essential-blocks"),value:G,options:(0,d.applyFilters)("eb_advanced_heading_effects",j),onChange:function(e){return a({effects:e})}}),"marquee"===G&&React.createElement(React.Fragment,null,React.createElement(b.RangeControl,{initialPosition:50,label:"Marquee Speed",value:q,max:100,min:0,step:1,onChange:function(e){return a({marqueeSpeed:e})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("Marquee Pause on Hover","essential-blocks"),checked:W,onChange:function(){return a({marqueePauseOnHover:!W})}})),React.createElement(o.ResponsiveAlignControl,{baseLabel:(0,n.__)("Alignment","essential-blocks"),controlName:T,options:A,resOption:s}),React.createElement(b.BaseControl,{label:(0,n.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(b.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},M.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Z===e.value,isSecondary:Z!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)}))),"custom"==ke&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Title Text (First)",attrName:"titleText",inputValue:J,setAttributes:a,onChange:function(e){return!c&&a({titleText:e})}}),React.createElement(o.DynamicInputControl,{label:"Title Text (Second)",attrName:"title2Text",inputValue:Y,setAttributes:a,onChange:function(e){return!c&&a({title2Text:e})}}),React.createElement(o.DynamicInputControl,{label:"Title Text (Third)",attrName:"title3Text",inputValue:Q,setAttributes:a,onChange:function(e){return!c&&a({title3Text:e})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("Display Subtilte","essential-blocks"),checked:K,onChange:function(){return a({displaySubtitle:!K})}})),"custom"==ke&&K&&React.createElement(React.Fragment,null,React.createElement(b.BaseControl,{label:(0,n.__)("Subtitle Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(b.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},M.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:X===e.value,isSecondary:X!==e.value,onClick:function(){return a({subtitleTagName:e.value})}},e.label)}))),React.createElement(o.DynamicInputControl,{label:"Subtitle Text",attrName:"subtitleText",inputValue:$,setAttributes:a,onChange:function(e){return!c&&a({subtitleText:e})}})),React.createElement(b.ToggleControl,{label:(0,n.__)("Display Separator","essential-blocks"),checked:ee,onChange:function(){return a({displaySeperator:!ee})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("Enable Link for Heading?","essential-blocks"),checked:Re,onChange:function(e){return a({enableLink:e})}}),"custom"===ke&&Re&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:(0,n.__)("Link","essential-blocks"),attrName:"titleLink",inputValue:_e,setAttributes:a,onChange:function(e){return!c&&a({titleLink:e})},help:(0,n.__)("Use http:// or https://","essential-blocks"),enableAi:!1,fieldType:"url",showValidation:!0,enableSecurity:!0}),Se&&React.createElement("span",{className:"eb-alert-error"},Se)),Re&&React.createElement(b.ToggleControl,{label:(0,n.__)("Link open in New Tab","essential-blocks"),checked:Ce,onChange:function(e){return a({openInNewTab:e})}}))),React.createElement(o.InspectorPanel.Style,null,React.createElement(b.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!0},React.createElement(b.PanelRow,{className:"separator"},"First Heading"),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:H}),React.createElement(o.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:te,attributeName:"titleColor",isGradient:!0}),React.createElement(o.ColorControl,{label:(0,n.__)("Hover Text Color","essential-blocks"),color:ae,attributeName:"titleHoverColor",isGradient:!0}),!(0,o.isGradientColor)(te)&&React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ne,attributeName:"titleBgColor",isGradient:!0}),!(0,o.isGradientColor)(ae)&&React.createElement(o.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:oe,attributeName:"titleHoverBgColor",isGradient:!0}),React.createElement(o.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Padding"}),React.createElement(o.BorderShadowControl,{controlName:v}),Y&&Y.length>0&&React.createElement(React.Fragment,null,React.createElement(b.PanelRow,{className:"separator"},"Second Heading"),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:z}),React.createElement(o.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:re,attributeName:"title2Color",isGradient:!0}),React.createElement(o.ColorControl,{label:(0,n.__)("Hover Text Color","essential-blocks"),color:le,attributeName:"title2HoverColor",isGradient:!0}),!(0,o.isGradientColor)(re)&&React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ce,attributeName:"title2BgColor",isGradient:!0}),!(0,o.isGradientColor)(le)&&React.createElement(o.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:ie,attributeName:"title2HoverBgColor",isGradient:!0}),React.createElement(o.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Padding"}),React.createElement(o.BorderShadowControl,{controlName:k})),Q&&Q.length>0&&React.createElement(React.Fragment,null,React.createElement(b.PanelRow,{className:"separator"},"Third Heading"),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:U}),React.createElement(o.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:se,attributeName:"title3Color",isGradient:!0}),React.createElement(o.ColorControl,{label:(0,n.__)("Hover Text Color","essential-blocks"),color:pe,attributeName:"title3HoverColor",isGradient:!0}),!(0,o.isGradientColor)(se)&&React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:be,attributeName:"title3BgColor",isGradient:!0}),!(0,o.isGradientColor)(pe)&&React.createElement(o.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:de,attributeName:"title3HoverBgColor",isGradient:!0}),React.createElement(o.ResponsiveDimensionsControl,{controlName:R,baseLabel:"Padding"}),React.createElement(o.BorderShadowControl,{controlName:_})),React.createElement(o.ResponsiveDimensionsControl,{controlName:y,baseLabel:"Margin"})),"custom"==ke&&K&&React.createElement(b.PanelBody,{title:(0,n.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:V}),React.createElement(o.ColorControl,{label:(0,n.__)("Subtitle Color","essential-blocks"),color:me,attributeName:"subtitleColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Subtitle Hover Color","essential-blocks"),color:ue,attributeName:"subtitleHoverColor"}),React.createElement(o.ResponsiveDimensionsControl,{controlName:C,baseLabel:"Margin"})),ee&&React.createElement(b.PanelBody,{title:(0,n.__)("Separator","essential-blocks"),initialOpen:!1},React.createElement(b.SelectControl,{label:(0,n.__)("Separator Position","essential-blocks"),value:ye,options:I,onChange:function(e){return a({seperatorPosition:e})}}),React.createElement(b.BaseControl,{label:(0,n.__)("Separator Type","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(b.ButtonGroup,{id:"eb-advance-heading-alignment"},O.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:he===e.value,isSecondary:he!==e.value,onClick:function(){return a({seperatorType:e.value})}},e.label)}))),"line"===he&&React.createElement(React.Fragment,null,React.createElement(b.SelectControl,{label:(0,n.__)("Separator Style","essential-blocks"),value:ve,options:L,onChange:function(e){return a({seperatorStyle:e})}}),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Separator Height","essential-blocks"),controlName:x,units:N,min:0,max:100,step:1})),"icon"===he&&React.createElement(React.Fragment,null,React.createElement(o.EBIconPicker,{value:we,attributeName:"separatorIcon"}),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:S,units:N,min:0,max:100,step:1})),React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Separator Width","essential-blocks"),controlName:B,units:P,min:0,max:300,step:1}),React.createElement(o.ColorControl,{label:(0,n.__)("Separator Color","essential-blocks"),color:ge,attributeName:"separatorColor",isGradient:!0}),React.createElement(o.ColorControl,{label:(0,n.__)("Separator Hover Color","essential-blocks"),color:fe,attributeName:"separatorHoverColor",isGradient:!0}),React.createElement(o.ResponsiveDimensionsControl,{controlName:E,baseLabel:"Margin"}))))};function q(e){var t,a=e.attributes,n=e.setAttributes,r=e.name,l=(a.resOption,a.blockId),c=(a.blockMeta,a.preset,a.effects),i=a.marqueeSpeed,s=a.marqueePauseOnHover,p=(a.tagName,a.titleText,a.subtitleTagName,a.subtitleText,a.displaySubtitle,a.displaySeperator,a.titleColor),b=a.titleHoverColor,d=a.titleBgColor,N=a.titleHoverBgColor,P=a.title2Color,O=a.title2HoverColor,I=a.title2BgColor,D=a.title2HoverBgColor,A=a.title3Color,M=a.title3HoverColor,L=a.title3BgColor,F=a.title3HoverBgColor,j=a.subtitleColor,G=a.subtitleHoverColor,q=a.separatorColor,W=a.separatorHoverColor,Z=(a.seperatorPosition,a.seperatorType,a.seperatorStyle),J=(a.separatorIcon,a.classHook,a.blockRoot,(0,o.generateTypographyStyles)({attributes:a,prefixConstant:H})),Y=J.typoStylesDesktop,Q=J.typoStylesTab,X=J.typoStylesMobile,$=(0,o.generateTypographyStyles)({attributes:a,prefixConstant:z}),K=$.typoStylesDesktop,ee=$.typoStylesTab,te=$.typoStylesMobile,ae=(0,o.generateTypographyStyles)({attributes:a,prefixConstant:U}),ne=ae.typoStylesDesktop,oe=ae.typoStylesTab,re=ae.typoStylesMobile,le=(0,o.generateTypographyStyles)({attributes:a,prefixConstant:V}),ce=le.typoStylesDesktop,ie=le.typoStylesTab,se=le.typoStylesMobile,pe=(0,o.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:a}),be=pe.dimensionStylesDesktop,de=pe.dimensionStylesTab,me=pe.dimensionStylesMobile,ue=(0,o.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:a}),ge=ue.dimensionStylesDesktop,fe=ue.dimensionStylesTab,ye=ue.dimensionStylesMobile,he=(0,o.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:a}),ve=he.dimensionStylesDesktop,we=he.dimensionStylesTab,ke=he.dimensionStylesMobile,Re=(0,o.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:a}),_e=Re.dimensionStylesDesktop,Ce=Re.dimensionStylesTab,Ee=Re.dimensionStylesMobile,xe=(0,o.generateDimensionsControlStyles)({controlName:w,styleFor:"padding",attributes:a}),Se=xe.dimensionStylesDesktop,Be=xe.dimensionStylesTab,Te=xe.dimensionStylesMobile,Ne=(0,o.generateDimensionsControlStyles)({controlName:R,styleFor:"padding",attributes:a}),Pe=Ne.dimensionStylesDesktop,Oe=Ne.dimensionStylesTab,Ie=Ne.dimensionStylesMobile,De=(0,o.generateBorderShadowStyles)({controlName:v,attributes:a}),Ae=De.styesDesktop,Me=De.styesTab,Le=De.styesMobile,Fe=De.stylesHoverDesktop,je=De.stylesHoverTab,He=De.stylesHoverMobile,ze=De.transitionStyle,Ue=(0,o.generateBorderShadowStyles)({controlName:k,attributes:a}),Ve=Ue.styesDesktop,Ge=Ue.styesTab,qe=Ue.styesMobile,We=Ue.stylesHoverDesktop,Ze=Ue.stylesHoverTab,Je=Ue.stylesHoverMobile,Ye=Ue.transitionStyle,Qe=(0,o.generateBorderShadowStyles)({controlName:_,attributes:a}),Xe=Qe.styesDesktop,$e=Qe.styesTab,Ke=Qe.styesMobile,et=Qe.stylesHoverDesktop,tt=Qe.stylesHoverTab,at=Qe.stylesHoverMobile,nt=Qe.transitionStyle,ot=(0,o.generateDimensionsControlStyles)({controlName:C,styleFor:"margin",attributes:a}),rt=ot.dimensionStylesDesktop,lt=ot.dimensionStylesTab,ct=ot.dimensionStylesMobile,it=(0,o.generateDimensionsControlStyles)({controlName:E,styleFor:"margin",attributes:a}),st=it.dimensionStylesDesktop,pt=it.dimensionStylesTab,bt=it.dimensionStylesMobile,dt=(0,o.generateBorderShadowStyles)({controlName:f,attributes:a}),mt=dt.styesDesktop,ut=dt.styesTab,gt=dt.styesMobile,ft=dt.stylesHoverDesktop,yt=dt.stylesHoverTab,ht=dt.stylesHoverMobile,vt=dt.transitionStyle,wt=(0,o.generateResponsiveRangeStyles)({controlName:x,property:"border-width",attributes:a}),kt=wt.rangeStylesDesktop,Rt=wt.rangeStylesTab,_t=wt.rangeStylesMobile,Ct=(0,o.generateResponsiveRangeStyles)({controlName:S,property:"font-size",attributes:a}),Et=Ct.rangeStylesDesktop,xt=Ct.rangeStylesTab,St=Ct.rangeStylesMobile,Bt=(0,o.generateResponsiveRangeStyles)({controlName:B,property:"width",attributes:a}),Tt=Bt.rangeStylesDesktop,Nt=Bt.rangeStylesTab,Pt=Bt.rangeStylesMobile,Ot=(0,o.generateBackgroundControlStyles)({attributes:a,controlName:m}),It=Ot.backgroundStylesDesktop,Dt=Ot.hoverBackgroundStylesDesktop,At=Ot.backgroundStylesTab,Mt=Ot.hoverBackgroundStylesTab,Lt=Ot.backgroundStylesMobile,Ft=Ot.hoverBackgroundStylesMobile,jt=Ot.overlayStylesDesktop,Ht=Ot.hoverOverlayStylesDesktop,zt=Ot.overlayStylesTab,Ut=Ot.hoverOverlayStylesTab,Vt=Ot.overlayStylesMobile,Gt=Ot.hoverOverlayStylesMobile,qt=Ot.bgTransitionStyle,Wt=Ot.ovlTransitionStyle,Zt=(0,o.generateResponsiveAlignStyles)({controlName:T,property:"",attributes:a}),Jt=Zt.alignStylesDesktop,Yt=Zt.alignStylesTab,Qt=Zt.alignStylesMobile,Xt="\n\t\t.eb-advance-heading-wrapper.".concat(l,"{\n\t\t\tposition: relative;\n\t\t\ttext-align: ").concat(Jt,";\n\t\t\t").concat(be,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(It,"\n\t\t\t").concat(mt,"\n\t\t\ttransition:").concat(qt,", ").concat(vt,";\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover {\n\t\t\t").concat(ft,"\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":before{\n\t\t\t").concat(jt,"\n\t\t\ttransition:").concat(Wt,";\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover:before{\n\t\t\t").concat(Ht,"\n\t\t}\n\t"),$t="\n\t\t.eb-advance-heading-wrapper.".concat(l,"{\n\t\t\ttext-align: ").concat(Yt,";\n\t\t\t").concat(de,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(ut,"\n\t\t\t").concat(At,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover {\n\t\t\t").concat(yt,"\n\t\t\t").concat(Mt,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":before{\n\t\t\t").concat(zt,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover:before{\n\t\t\t").concat(Ut,"\n\t\t}\n\t"),Kt="\n\t\t.eb-advance-heading-wrapper.".concat(l,"{\n\t\t\ttext-align: ").concat(Qt,";\n\t\t\t").concat(me,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(gt,"\n\t\t\t").concat(Lt,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover {\n\t\t\t").concat(ht,"\n\t\t\t").concat(Ft,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":before{\n\t\t\t").concat(Vt,"\n\t\t}\n\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover:before{\n\t\t\t").concat(Gt,"\n\t\t}\n\t"),ea="\n ".concat("marquee"===c?".eb-advance-heading-wrapper.".concat(l,".marquee .eb-ah-title {\n animation-duration: ").concat(i,"s;\n }\n .eb-advance-heading-wrapper.").concat(l,".marquee .eb-ah-title:hover {\n animation-play-state: ").concat(!0===s?"pause":"running",";\n }"):"","\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-title {\n\t\t\ttext-align: ").concat(Jt,";\n\t\t\t").concat(ve,"\n }\n ").concat((t=".eb-advance-heading-wrapper.".concat(l," .eb-ah-title {line-height: 0}"),"string"==typeof Y&&Y.trim().length>0&&Y.includes("line-height")||"string"==typeof K&&K.trim().length>0&&K.includes("line-height")||"string"==typeof ne&&ne.trim().length>0&&ne.includes("line-height")?t:""),"\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .first-title {\n background: ").concat(d,";\n ").concat((0,o.getTextColorCss)(p),"\n\t\t\t").concat(Y,"\n\t\t\t").concat(_e,"\n\t\t\t").concat(Ae,"\n\t\t\ttransition:").concat(ze,";\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .first-title {\n background: ").concat(N,";\n ").concat((0,o.getTextColorCss)(b),"\n\t\t\t").concat(Fe,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .second-title {\n background: ").concat(I,";\n ").concat((0,o.getTextColorCss)(P),"\n\t\t\t").concat(K,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Ve,"\n\t\t\ttransition:").concat(Ye,";\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .second-title {\n background: ").concat(D,";\n ").concat((0,o.getTextColorCss)(O),"\n\t\t\t").concat(We,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .third-title {\n background: ").concat(L,";\n ").concat((0,o.getTextColorCss)(A),"\n\t\t\t").concat(ne,"\n\t\t\t").concat(Pe,"\n\t\t\t").concat(Xe,"\n\t\t\ttransition:").concat(nt,";\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .third-title {\n background: ").concat(F,";\n ").concat((0,o.getTextColorCss)(M),"\n\t\t\t").concat(et,"\n\t\t}\n\t"),ta="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-title {\n\t\t\ttext-align: ").concat(Yt,";\n\t\t\t").concat(we,"\n }\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .first-title {\n\t\t\t").concat(Q,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Me,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .first-title {\n\t\t\t").concat(je,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .second-title {\n\t\t\t").concat(ee,"\n\t\t\t").concat(Be,"\n\t\t\t").concat(Ge,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .second-title {\n\t\t\t").concat(Ze,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .third-title {\n\t\t\t").concat(oe,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat($e,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .third-title {\n\t\t\t").concat(tt,"\n\t\t}\n\t"),aa="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-title {\n\t\t\ttext-align: ").concat(Qt,";\n\t\t\t").concat(ke,"\n }\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .first-title {\n\t\t\t").concat(X,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Le,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .first-title {\n\t\t\t").concat(He,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .second-title {\n\t\t\t").concat(te,"\n\t\t\t").concat(Te,"\n\t\t\t").concat(qe,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .second-title {\n\t\t\t").concat(Je,"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-title .third-title {\n\t\t\t").concat(re,"\n\t\t\t").concat(Ie,"\n\t\t\t").concat(Ke,"\n }\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-title .third-title {\n\t\t\t").concat(at,"\n\t\t}\n\t"),na="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-subtitle {\n\t\t\ttext-align: ").concat(Jt,";\n\t\t\tcolor: ").concat(j,";\n\t\t\t").concat(ce,"\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-subtitle {\n\t\t\tcolor: ").concat(G,";\n\t\t}\n\t"),oa="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-subtitle {\n\t\t\ttext-align: ").concat(Yt,";\n\t\t\t").concat(ie,"\n\t\t\t").concat(lt,"\n\t\t}\n\t"),ra="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-subtitle {\n\t\t\ttext-align: ").concat(Qt,";\n\t\t\t").concat(se,"\n\t\t\t").concat(ct,"\n\t\t}\n\t"),la="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-separator {\n\t\t\tcolor: ").concat(j,";\n\t\t\t").concat(st,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.line {\n\t\t\tborder-style: none none ").concat(Z,";\n ").concat((0,o.getBorderColorCss)(q),"\n\t\t\t").concat(kt,"\n\t\t\t").concat(Tt,"\n\t\t\t").concat("center"===Jt?"margin-left: auto; margin-right: auto":"","\n\t\t\t").concat("right"===Jt?"margin-left: auto; margin-right: 0":"","\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-separator.line {\n ").concat((0,o.getBorderColorCss)(W),"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.icon {\n\t\t\ttext-align: ").concat(Jt,";\n\t\t\t").concat((0,o.getTextColorCss)(q),"\n\t\t\t").concat(Et,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-separator.icon {\n ").concat((0,o.getTextColorCss)(W),"\n\t\t}\n .eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.icon > *{\n\t\t\t").concat((0,o.getTextColorCss)(q),"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l,":hover .eb-ah-separator.icon > *{\n ").concat((0,o.getTextColorCss)(W),"\n\t\t}\n\t"),ca="\n\t\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-separator {\n\t\t\t").concat(pt,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.line {\n\t\t\t").concat(Rt,"\n\t\t\t").concat(Nt,"\n ").concat("left"===Yt?"margin-left: 0; margin-right: 0":"","\n ").concat("center"===Yt?"margin-left: auto; margin-right: auto":"","\n\t\t\t").concat("right"===Yt?"margin-left: auto; margin-right: 0":"","\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.icon {\n\t\t\t").concat(xt,"\n\t\t}\n\t"),ia="\n\t.eb-advance-heading-wrapper.".concat(l," .eb-ah-separator {\n\t\t\t").concat(bt,"\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.line {\n\t\t\t").concat(_t,"\n\t\t\t").concat(Pt,"\n ").concat("left"===(Qt||Yt)?"margin-left: 0; margin-right: 0":"","\n ").concat("center"===(Qt||Yt)?"margin-left: auto; margin-right: auto":"","\n\t\t\t").concat("right"===(Qt||Yt)?"margin-left: auto; margin-right: 0":"","\n\t\t}\n\t\t.eb-advance-heading-wrapper.").concat(l," .eb-ah-separator.icon {\n\t\t\t").concat(St,"\n\t\t}\n\t"),sa=(0,o.softMinifyCssStrings)("\n\t\t\t".concat(Xt,"\n\t\t\t").concat(ea,"\n\t\t\t").concat(na,"\n\t\t\t").concat(la,"\n\t\t")),pa=(0,o.softMinifyCssStrings)("\n\t\t\t".concat($t,"\n\t\t\t").concat(ta,"\n\t\t\t").concat(oa,"\n\t\t\t").concat(ca,"\n\t\t")),ba=(0,o.softMinifyCssStrings)("\n\t\t\t".concat(Kt,"\n\t\t\t").concat(aa,"\n\t\t\t").concat(ra,"\n\t\t\t").concat(ia,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(o.StyleComponent,{attributes:a,setAttributes:n,desktopAllStyles:sa,tabAllStyles:pa,mobileAllStyles:ba,blockName:r}))}function W(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const J=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"button-1"},effects:{type:"string"},marqueeSpeed:{type:"number",default:10},marqueePauseOnHover:{type:"boolean",default:!0},tagName:{type:"string",default:"h2"},titleText:{type:"string",default:"Essential Blocks Advanced Heading"},title2Text:{type:"string"},title3Text:{type:"string"},subtitleTagName:{type:"string",default:"p"},subtitleText:{type:"string",default:"Essential Blocks Advance Subtitle"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string"},titleBgColor:{type:"string"},titleHoverBgColor:{type:"string"},title2Color:{type:"string",default:"var(--eb-global-heading-color)"},title2HoverColor:{type:"string"},title2BgColor:{type:"string"},title2HoverBgColor:{type:"string"},title3Color:{type:"string",default:"var(--eb-global-heading-color)"},title3HoverColor:{type:"string"},title3BgColor:{type:"string"},title3HoverBgColor:{type:"string"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},subtitleHoverColor:{type:"string"},separatorColor:{type:"string",default:"var(--eb-global-primary-color)"},separatorHoverColor:{type:"string"},displaySubtitle:{type:"boolean",default:!1},displaySeperator:{type:"boolean",default:!1},seperatorPosition:{type:"string",default:"bottom"},seperatorType:{type:"string",default:"line"},seperatorStyle:{type:"string",default:"solid"},separatorIcon:{type:"string",default:"fas fa-arrow-circle-down"},source:{type:"string",default:"custom"},enableLink:{type:"boolean",default:!1},titleLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1},currentPostId:{type:"number",default:0},currentPostType:{type:"string"},version:{type:"string",default:"1"}},(0,o.generateTypographyAttributes)(H)),(0,o.generateTypographyAttributes)(z)),(0,o.generateTypographyAttributes)(U)),(0,o.generateTypographyAttributes)(V)),(0,o.generateResponsiveAlignAttributes)(T,{defaultAlign:"left"})),(0,o.generateDimensionsAttributes)(u)),(0,o.generateDimensionsAttributes)(g)),(0,o.generateDimensionsAttributes)(y,{top:0,bottom:15,right:0,left:0,isLinked:!1})),(0,o.generateDimensionsAttributes)(h)),(0,o.generateDimensionsAttributes)(w)),(0,o.generateDimensionsAttributes)(R)),(0,o.generateDimensionsAttributes)(C,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,o.generateDimensionsAttributes)(E,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,o.generateBorderShadowAttributes)(v)),(0,o.generateBorderShadowAttributes)(k)),(0,o.generateBorderShadowAttributes)(_)),(0,o.generateBorderShadowAttributes)(f,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,o.generateBackgroundAttributes)(m,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,o.generateResponsiveRangeAttributes)(x,{defaultRange:4})),(0,o.generateResponsiveRangeAttributes)(S,{defaultRange:30})),(0,o.generateResponsiveRangeAttributes)(B,{defaultRange:100}));function Y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const X=(0,i.memo)((0,o.withBlockContext)(J)(function(e){var t,a,l=e.attributes,c=e.setAttributes,b=e.isSelected,d=e.context,m=l.blockId,u=l.preset,g=l.effects,f=l.align,y=l.tagName,h=l.titleText,v=l.title2Text,w=l.title3Text,k=l.subtitleTagName,R=l.subtitleText,_=l.displaySubtitle,C=l.displaySeperator,E=l.seperatorPosition,x=l.seperatorType,S=l.separatorIcon,B=l.classHook,T=l.source,N=l.currentPostId,P=l.currentPostType,O=(l.version,Q(Q({},e),{},{blockPrefix:"eb-advance-heading",style:React.createElement(q,e)}));(0,i.useEffect)(function(){null==T&&c({source:"custom"}),c({version:"2"})},[]);var I=null==d?void 0:d["essential-blocks/postId"],D=null==d?void 0:d["essential-blocks/postType"],A=Boolean(d&&d.hasOwnProperty("essential-blocks/postId")&&d.hasOwnProperty("essential-blocks/postType")),M=A&&D||P,L=A&&I||N,F=(0,p.useEntityProp)("postType",M,"title",L),j=(0,r.A)(F,2),H=j[0],z=void 0===H?"":H,U=j[1];(0,i.useEffect)(function(){A||null==d||!d.postId||N||P||c({currentPostId:d.postId,currentPostType:d.postType})},[T,A,null==d?void 0:d.postId,null==d?void 0:d.postType,N,P]),(0,i.useEffect)(function(){A&&c({source:"dynamic-title",currentPostId:I||0,currentPostType:D||"post"})},[A,I,D]);var V=(null===(t=eb_conditional_localize)||void 0===t?void 0:t.editor_type)||!1,W=y;return React.createElement(React.Fragment,null,b&&React.createElement(React.Fragment,null,React.createElement(s.BlockControls,null,React.createElement(s.AlignmentToolbar,{value:f,onChange:function(e){return c({align:e})},controls:["left","center","right"]})),React.createElement(G,{attributes:l,setAttributes:c,context:d})),React.createElement(o.BlockProps.Edit,O,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(m," ").concat(B)},"dynamic-title"===T&&0===N&&React.createElement(React.Fragment,null,"edit-site"===V&&React.createElement(W,{className:"eb-ah-title"},"Dynamic Title"),"edit-site"!==V&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.image_url,"/ajax-loader.gif"),alt:"Loading..."}))),("dynamic-title"===T&&0!==N||"custom"===T)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(m," ").concat(u," ").concat(g),"data-id":m},C&&"top"===E&&React.createElement("div",{className:"eb-ah-separator "+x},"icon"===x&&React.createElement(o.EBDisplayIcon,{icon:S})),"dynamic-title"===T&&React.createElement(React.Fragment,null,N>0&&React.createElement(W,{className:"eb-ah-title"},React.createElement(o.DynamicInputValueHandler,{value:z,tagName:"span",className:"first-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:A?function(){}:U,readOnly:A})),"string"==typeof N&&React.createElement(W,null,z||(0,n.__)("Title"))),"custom"===T&&React.createElement(W,{className:"eb-ah-title"},React.createElement(o.DynamicInputValueHandler,{value:h,tagName:"span",className:"first-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){c({titleText:e})},readOnly:!0}),v&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputValueHandler,{value:v,tagName:"span",className:"second-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return c({title2Text:e})},readOnly:!0})),v&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputValueHandler,{value:w,tagName:"span",className:"third-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return c({title3Text:e})},readOnly:!0}))),"custom"===T&&_&&React.createElement(o.DynamicInputValueHandler,{tagName:k,className:"eb-ah-subtitle",value:R,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return c({subtitleText:e})},readOnly:!0}),C&&"bottom"===E&&React.createElement("div",{className:"eb-ah-separator "+x},"icon"===x&&React.createElement(o.EBDisplayIcon,{icon:S})))))))}));function $(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ee=lodash.omit;const te=[{attributes:K({},J),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,r=t.tagName,l=t.titleText,c=t.subtitleTagName,i=t.displaySubtitle,p=t.subtitleText,b=t.seperatorType,d=t.displaySeperator,m=t.seperatorPosition,u=t.separatorIcon,g=t.classHook,f=t.source,y=t.enableLink,h=t.titleLink,v=t.openInNewTab;if("dynamic-title"==f)return null;var w=v?"_blank":void 0;return React.createElement(o.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},d&&"top"===m&&React.createElement("div",{className:"eb-ah-separator "+b},"icon"===b&&React.createElement(o.EBDisplayIcon,{icon:u})),y&&h.length>0&&React.createElement(r,{className:"eb-ah-title"},React.createElement("a",{href:h,target:w,rel:"_blank"===w?"noopener":void 0},l)),(!y||y&&0==h.length)&&React.createElement(s.RichText.Content,{tagName:r,className:"eb-ah-title",value:l}),i&&React.createElement(s.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:p}),d&&"bottom"===m&&React.createElement("div",{className:"eb-ah-separator "+b},"icon"===b&&React.createElement(o.EBDisplayIcon,{icon:u})))))}},{attributes:K({},ee(K({},J),["source","enableLink","titleLink","openInNewTab"])),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,r=t.tagName,l=t.titleText,c=t.subtitleTagName,i=t.displaySubtitle,p=t.subtitleText,b=t.seperatorType,d=t.displaySeperator,m=t.seperatorPosition,u=t.separatorIcon,g=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},d&&"top"===m&&React.createElement("div",{className:"eb-ah-separator "+b},"icon"===b&&React.createElement(o.EBDisplayIcon,{icon:u})),React.createElement(s.RichText.Content,{tagName:r,className:"eb-ah-title",value:l}),i&&React.createElement(s.RichText.Content,{tagName:c,className:"eb-ah-subtitle",value:p}),d&&"bottom"===m&&React.createElement("div",{className:"eb-ah-separator "+b},"icon"===b&&React.createElement(o.EBDisplayIcon,{icon:u})))))}},{attributes:K(K({},J),{},{titleText:{type:"string",default:"Essential Block Advanced Heading"},subtitleText:{type:"string",default:"Essential Block Advance Subtitle"}}),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,l=t.subtitleTagName,c=t.displaySubtitle,i=t.subtitleText,p=t.seperatorType,b=t.displaySeperator,d=t.seperatorPosition,m=t.separatorIcon,u=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},b&&"top"===d&&React.createElement("div",{className:"eb-ah-separator "+p},"icon"===p&&React.createElement("i",{className:"".concat(m||"fas fa-arrow-circle-down")})),React.createElement(s.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),c&&React.createElement(s.RichText.Content,{tagName:l,className:"eb-ah-subtitle",value:i}),b&&"bottom"===d&&React.createElement("div",{className:"eb-ah-separator "+p},"icon"===p&&React.createElement("i",{className:"".concat(m||"fas fa-arrow-circle-down")})))))}},{attributes:K({},J),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,l=t.subtitleTagName,c=t.displaySubtitle,i=t.subtitleText,p=t.seperatorType,b=t.displaySeperator,d=t.separatorIcon,m=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(s.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),c&&React.createElement(s.RichText.Content,{tagName:l,className:"eb-ah-subtitle",value:i}),b&&React.createElement("div",{className:"eb-ah-separator "+p},"icon"===p&&React.createElement("i",{className:"".concat(d||"fas fa-arrow-circle-down")})))))}},{attributes:K({},J),supports:{anchor:!0},save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,l=t.displaySubtitle,c=t.subtitleText,i=t.seperatorType,p=t.displaySeperator,b=t.separatorIcon;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(s.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(s.RichText.Content,{tagName:"p",className:"eb-ah-subtitle",value:c}),p&&React.createElement("div",{className:"eb-ah-separator "+i},"icon"===i&&React.createElement("i",{className:"".concat(b||"fas fa-arrow-circle-down")}))))}},{attributes:K({},J),save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,o=t.tagName,r=t.titleText,l=t.displaySubtitle,c=t.subtitleText,i=t.seperatorType,p=t.displaySeperator,b=t.separatorIcon;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(s.RichText.Content,{tagName:o,className:"eb-ah-title",value:r}),l&&React.createElement(s.RichText.Content,{tagName:"p",className:"eb-ah-subtitle",value:c}),p&&React.createElement("div",{className:"eb-ah-separator "+i},"icon"===i&&React.createElement("i",{className:"".concat(b||"fas fa-arrow-circle-down")}))))}}],ae=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Advanced Heading","name":"essential-blocks/advanced-heading","category":"essential-blocks","description":"Create advanced heading with title, subtitle and separator controls","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"usesContext":["postId","postType","essential-blocks/postId","essential-blocks/postType","essential-blocks/queryId","essential-blocks/isLoopBuilder","essential-blocks/query"],"editorScript":"essential-blocks-editor-script"}');var ne,oe,re;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},le.apply(null,arguments)}(0,o.ebConditionalRegisterBlockType)(ae,{keywords:[(0,n.__)("heading","essential-blocks"),(0,n.__)("Advanced Heading","essential-blocks"),(0,n.__)("heading block","essential-blocks"),(0,n.__)("heading box","essential-blocks"),(0,n.__)("dynamic title","essential-blocks")],icon:function(e){return c.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 56"},e),ne||(ne=c.createElement("path",{fill:"#6C3BFF",d:"M2.829 2.686h31.8c.685 0 1.2-.515 1.2-1.2 0-.686-.515-1.2-1.2-1.2h-31.8C1.2.286 0 1.657 0 3.029v9.685c0 .857.343 1.543.857 2.143.514.514 1.372.857 2.143.857h4.2c1.543 0 2.829-1.371 2.829-2.828v-1.972h12.514v35.143h-9.514c-1.543 0-2.829 1.372-2.829 2.829v4.2c0 1.543 1.371 2.828 2.829 2.828H24.77c.686 0 1.2-.514 1.2-1.2s-.514-1.2-1.2-1.2H13.03a.37.37 0 0 1-.343-.343v-4.2c0-.171.171-.342.343-.342h10.714c.686 0 1.2-.515 1.2-1.2V9.543c0-.686-.514-1.2-1.2-1.2H8.57c-.685 0-1.2.514-1.2 1.2v3.171a.37.37 0 0 1-.342.343h-4.2c-.172 0-.172-.171-.343-.171 0 0-.172-.172-.172-.343V2.857c0 .172.172-.171.515-.171z"})),oe||(oe=c.createElement("path",{fill:"#6C3BFF",d:"M42 46.143h-9.514V11H45v1.971c0 1.543 1.371 2.829 2.829 2.829h4.2c1.542 0 2.828-1.371 2.828-2.829V3.286c0-1.543-1.371-2.829-2.828-2.829H39.857c-.686 0-1.2.514-1.2 1.2s.514 1.2 1.2 1.2h12.086c.171 0 .343.172.343.343v9.686a.37.37 0 0 1-.343.343h-4.2a.37.37 0 0 1-.343-.343V9.714c0-.685-.514-1.2-1.2-1.2H31.286c-.686 0-1.2.515-1.2 1.2v37.629c0 .686.514 1.2 1.2 1.2H42c.171 0 .343.171.343.343v4.2a.37.37 0 0 1-.343.343H30c-.686 0-1.2.514-1.2 1.2s.514 1.2 1.2 1.2h11.743c1.543 0 2.828-1.372 2.828-2.829v-4.2c.258-1.286-1.028-2.657-2.571-2.657"})),re||(re=c.createElement("path",{fill:"#6C3BFF",d:"M43.543 34.143h.857c.686 0 1.2-.514 1.2-1.2s-.514-1.2-1.2-1.2h-.857c-.686 0-1.2.514-1.2 1.2s.514 1.2 1.2 1.2m11.486-2.4H48c-.686 0-1.2.514-1.2 1.2s.514 1.2 1.2 1.2h7.029c.685 0 1.2-.514 1.2-1.2s-.515-1.2-1.2-1.2m-11.486 6.6H54.77c.686 0 1.2-.514 1.2-1.2s-.514-1.2-1.2-1.2H43.543c-.686 0-1.2.514-1.2 1.2s.514 1.2 1.2 1.2m12.686 2.828c0-.685-.515-1.2-1.2-1.2H43.543c-.686 0-1.2.515-1.2 1.2 0 .686.514 1.2 1.2 1.2H54.77c.943.258 1.458-.514 1.458-1.2z"})))},attributes:J,edit:X,save:function(e){var t=e.attributes,a=t.blockId,n=t.preset,r=t.effects,l=t.tagName,c=t.titleText,i=t.title2Text,p=t.title3Text,b=t.subtitleTagName,d=t.displaySubtitle,m=t.subtitleText,u=t.seperatorType,g=t.displaySeperator,f=t.seperatorPosition,y=t.separatorIcon,h=t.classHook,v=t.source,w=t.enableLink,k=t.titleLink,R=t.openInNewTab;if("dynamic-title"==v)return null;var _=R?"_blank":void 0,C=function(){return React.createElement(React.Fragment,null,React.createElement(s.RichText.Content,{tagName:"span",className:"first-title",value:c}),i&&React.createElement(React.Fragment,null," ",React.createElement(s.RichText.Content,{tagName:"span",className:"second-title",value:i})),p&&React.createElement(React.Fragment,null," ",React.createElement(s.RichText.Content,{tagName:"span",className:"third-title",value:p})))};return React.createElement(o.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-advance-heading-wrapper ".concat(a," ").concat(n," ").concat(r),"data-id":a},g&&"top"===f&&React.createElement("div",{className:"eb-ah-separator "+u},"icon"===u&&React.createElement(o.EBDisplayIcon,{icon:y})),React.createElement(l,{className:"eb-ah-title"},w&&k.length>0?React.createElement("a",{href:(0,o.sanitizeURL)(k),target:_,rel:"_blank"===_?"noopener":void 0},React.createElement(C,null)):React.createElement(C,null)),d&&React.createElement(s.RichText.Content,{tagName:b,className:"eb-ah-subtitle",value:m}),g&&"bottom"===f&&React.createElement("div",{className:"eb-ah-separator "+u},"icon"===u&&React.createElement(o.EBDisplayIcon,{icon:y})))))},example:{attributes:{displaySubtitle:!0,displaySeperator:!0,align:"left",titleColor:"#551ef7",subtitleColor:"#555555",separatorColor:"#551ef7",seperatorType:"line",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrprBgbackgroundColor:"rgba(255,255,255,1)",wrprBgbackgroundType:"classic"}},deprecated:te})},2776:(e,t,a)=>{var n,o,r,l=a(7723),c=a(1609);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}var s=a(4467),p=a(8468),b=a(7143),d=a(5694),m=a(6427),u="wrprBg",g="wrpMargin",f="wrpPadding",y="wrpBorderShadow",h="labelMargin",v="fieldBorder",w="fieldPadding",k="iconSize",R=((0,l.__)("Left"),(0,l.__)("Center"),(0,l.__)("Right"),(0,l.__)("Normal"),(0,l.__)("Advanced"),"label_"),_="validationText_",C="field_";const E=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=t.showLabel,r=t.labelText,c=t.options,i=t.dynamicValue,s=t.dynamicOptionType,p=t.dynamicValueLoader,b=t.fieldName,E=t.defaultValue,x=t.isRequired,S=t.validationMessage,B=t.labelColor,T=t.requiredColor,N=t.fieldColor,P=t.fieldPlaceholderColor,O=t.fieldBgColor,I=t.fieldValidationColor,D=t.fieldValidationBorderColor,A=t.isIcon,M=t.icon,L=t.iconColor,F=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(d.InspectorPanel,{advancedControlProps:{marginPrefix:g,paddingPrefix:f,backgroundPrefix:u,borderPrefix:y,hasMargin:!0}},React.createElement(d.InspectorPanel.General,null,React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("General","essential-blocks"),initialOpen:!0},React.createElement(m.ToggleControl,{label:(0,l.__)("Show Label?","essential-blocks"),checked:o,onChange:function(){return a({showLabel:!o})}}),o&&React.createElement(d.DynamicInputControl,{label:(0,l.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:r,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(d.DynamicFormFieldControl,{type:"select",options:c,dynamicValue:i,dynamicOptionType:s,dynamicValueLoader:p,setAttributes:a}),React.createElement(m.ToggleControl,{label:(0,l.__)("Required?","essential-blocks"),checked:x,onChange:function(){return a({isRequired:!x})}}),React.createElement(m.ToggleControl,{label:(0,l.__)("Icon?","essential-blocks"),checked:A,onChange:function(){return a({isIcon:!A})}}),A&&React.createElement(React.Fragment,null,React.createElement(d.EBIconPicker,{value:M,onChange:function(e){return a({icon:e})}}))),React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(d.EBTextControl,{label:(0,l.__)("Default Value","essential-blocks"),value:E,onChange:function(e){return a({defaultValue:e})},enableAi:!0,help:(0,l.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(d.EBTextControl,{label:(0,l.__)("Field Custom Name Attribute","essential-blocks"),value:b,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,l.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),x&&React.createElement(d.EBTextControl,{label:(0,l.__)("Custom Validation Message","essential-blocks"),value:S,onChange:function(e){return a({validationMessage:e})},enableAi:!0})),React.createElement(d.FormConditionalLogics,{clientId:n,parentBlockId:F})),React.createElement(d.InspectorPanel.Style,null,React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(d.TypographyDropdown,{baseLabel:(0,l.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),React.createElement(d.ColorControl,{label:(0,l.__)("Color","essential-blocks"),color:B,attributeName:"labelColor"}),React.createElement(d.ColorControl,{label:(0,l.__)("Requied Color","essential-blocks"),color:T,attributeName:"requiredColor"}),React.createElement(d.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,l.__)("Margin","essential-blocks")})),React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(d.TypographyDropdown,{baseLabel:(0,l.__)("Typography","essential-blocks"),typographyPrefixConstant:C}),React.createElement(d.ColorControl,{label:(0,l.__)("Color","essential-blocks"),color:N,attributeName:"fieldColor"}),React.createElement(d.ColorControl,{label:(0,l.__)("Placeholder Color","essential-blocks"),color:P,attributeName:"fieldPlaceholderColor"}),React.createElement(d.ColorControl,{label:(0,l.__)("Background","essential-blocks"),color:O,attributeName:"fieldBgColor"}),React.createElement(d.ResponsiveDimensionsControl,{controlName:w,baseLabel:(0,l.__)("Padding","essential-blocks")}),React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(d.BorderShadowControl,{controlName:v})),React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(d.TypographyDropdown,{baseLabel:(0,l.__)("Typography","essential-blocks"),typographyPrefixConstant:_}),React.createElement(d.ColorControl,{label:(0,l.__)("Color","essential-blocks"),color:I,attributeName:"fieldValidationColor"}),React.createElement(d.ColorControl,{label:(0,l.__)("Fields Border Color","essential-blocks"),color:D,attributeName:"fieldValidationBorderColor"})))),A&&React.createElement(React.Fragment,null,React.createElement(d.InspectorPanel.PanelBody,{title:(0,l.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(d.ColorControl,{label:(0,l.__)("Color","essential-blocks"),color:L,attributeName:"iconColor"}),React.createElement(d.ResponsiveRangeController,{baseLabel:(0,l.__)("Size (PX)","essential-blocks"),controlName:k,min:1,max:100,step:1,noUnits:!0}))))))};function x(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),l=t.labelColor,c=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,p=t.fieldBgColor,b=t.fieldValidationColor,m=t.fieldValidationBorderColor,E=t.iconColor,x=t.fieldPaddingLeft,S=t.fieldPaddingUnit,B=t.iconSizeRange,T=t.parentBlockPaddingLeft,N=t.parentBlockPaddingUnit,P=t.parentBlockIconSize,O=t.isIcon,I=t.parentIconColor,D=(0,d.generateDimensionsControlStyles)({controlName:g,styleFor:"margin",attributes:t}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,d.generateDimensionsControlStyles)({controlName:f,styleFor:"padding",attributes:t}),j=F.dimensionStylesDesktop,H=F.dimensionStylesTab,z=F.dimensionStylesMobile,U=(0,d.generateBorderShadowStyles)({controlName:y,attributes:t}),V=U.styesDesktop,G=U.styesTab,q=U.styesMobile,W=U.stylesHoverDesktop,Z=U.stylesHoverTab,J=U.stylesHoverMobile,Y=U.transitionStyle,Q=(0,d.generateBackgroundControlStyles)({attributes:t,controlName:u,noOverlay:!0}),X=Q.backgroundStylesDesktop,$=Q.hoverBackgroundStylesDesktop,K=Q.backgroundStylesTab,ee=Q.hoverBackgroundStylesTab,te=Q.backgroundStylesMobile,ae=Q.hoverBackgroundStylesMobile,ne=Q.bgTransitionStyle,oe=(0,d.generateTypographyStyles)({attributes:t,prefixConstant:R}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,d.generateDimensionsControlStyles)({controlName:h,styleFor:"margin",attributes:t}),se=ie.dimensionStylesDesktop,pe=ie.dimensionStylesTab,be=ie.dimensionStylesMobile,de=(0,d.generateTypographyStyles)({attributes:t,prefixConstant:C}),me=de.typoStylesDesktop,ue=de.typoStylesTab,ge=de.typoStylesMobile,fe=(0,d.generateTypographyStyles)({attributes:t,prefixConstant:_}),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,d.generateDimensionsControlStyles)({controlName:w,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ce=(0,d.generateBorderShadowStyles)({controlName:v,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=(Ce.stylesHoverDesktop,Ce.stylesHoverTab,Ce.stylesHoverMobile,Ce.transitionStyle,(0,d.generateResponsiveRangeStyles)({controlName:k,property:"font-size",attributes:t,customUnit:"px"})),Te=Be.rangeStylesDesktop,Ne=(Be.rangeStylesTab,Be.rangeStylesMobile,"\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(X,"\n\t\t\t").concat(V,"\n\t\t\ttransition: ").concat(ne,", ").concat(Y,";\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat($,"\n\t\t\t").concat(W,"\n\t\t}\n\t")),Pe="\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(M,"\n\t\t\t").concat(H,"\n\t\t\t").concat(K,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(Z,"\n\t\t}\n\n\t"),Oe="\n\t\t.eb-select-field-wrapper.".concat(o,"{\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(te,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-select-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t"),Ie="\n .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(re,"\n ").concat(se,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-required{\n color: ").concat(c,";\n }\n\t"),De="\n .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n\t\t\t").concat(le,"\n ").concat(pe,"\n\t\t}\n\t"),Ae="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," > label {\n ").concat(ce,"\n ").concat(be,"\n\t\t}\n\t"),Me="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(p,";\n ").concat(me,"\n ").concat(ke,"\n ").concat(Ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ye,"\n\t\t\tcolor: ").concat(b,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(m,";\n\t\t}\n\t"),Le="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ue,"\n ").concat(Re,"\n ").concat(xe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Fe="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ge,"\n ").concat(_e,"\n ").concat(Se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-validation-error .eb-form-validation {\n ").concat(ve,"\n\t\t}\n\t"),je="\n\t\t.eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-input-icon {\n ").concat(Te,"\n color: ").concat(E||I,";\n\t\t}\n\n ").concat(O?"\n .eb-form-wrapper.".concat(r," .eb-select-field-wrapper.").concat(o," .eb-input-icon {\n left: ").concat(x||T).concat(S,";\n }\n .eb-form-wrapper.").concat(r," .eb-select-field-wrapper.").concat(o," .eb-field-input {\n padding-left: calc(").concat(B||P,"px + (").concat(x||(0==T?8:T)).concat(S||N," * 1.6));\n }"):"","\n\t"),He=(0,d.softMinifyCssStrings)("\n\t\t".concat(Ne,"\n\t\t").concat(Ie,"\n\t\t").concat(Me,"\n\t\t").concat(je,"\n\t")),ze=(0,d.softMinifyCssStrings)("\n\t\t".concat(Pe,"\n\t\t").concat(De,"\n\t\t").concat(Le,"\n\t")),Ue=(0,d.softMinifyCssStrings)("\n\t\t".concat(Oe,"\n\t\t").concat(Ae,"\n\t\t").concat(Fe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(d.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:He,tabAllStyles:ze,mobileAllStyles:Ue,blockName:n}))}function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const T=B(B(B(B(B(B(B(B(B(B(B({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},options:{type:"array",default:[{name:"Select Item",value:""},{name:"Option 1",value:"option_1"},{name:"Option 2",value:"option_2"},{name:"Option 3",value:"option_3"}]},fieldType:{type:"string",default:"select"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"far fa-list-alt"},iconColor:{type:"string"}},(0,d.generateTypographyAttributes)(R)),(0,d.generateTypographyAttributes)(_)),(0,d.generateTypographyAttributes)(C)),(0,d.generateDimensionsAttributes)(g)),(0,d.generateDimensionsAttributes)(f)),(0,d.generateBackgroundAttributes)(u)),(0,d.generateBorderShadowAttributes)(y)),(0,d.generateDimensionsAttributes)(w)),(0,d.generateBorderShadowAttributes)(v)),(0,d.generateDimensionsAttributes)(h)),(0,d.generateResponsiveRangeAttributes)(k));function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=(0,p.memo)((0,d.withBlockContext)(T)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,c=t.classHook,i=t.showLabel,m=t.labelText,u=t.options,g=t.fieldName,f=t.defaultValue,y=t.isRequired,h=t.validationMessage,v=t.isIcon,w=t.icon,k=t.formStyle,R=t.dynamicValue,_=t.dynamicOptionType,C=t.dynamicValueLoader;(0,p.useEffect)(function(){var e,t,n,l,c,i,s,p,m=(0,d.getBlockParentClientId)(o,"essential-blocks/form"),u=(0,b.select)("core/block-editor").getBlock(m),g=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,f=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,y=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.fieldsPaddingLeft,v=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;g&&a({parentBlockId:g,parentBlockPaddingLeft:h,parentBlockPaddingUnit:v,parentBlockIconSize:y,parentIconColor:f});var w=(0,b.select)("core/block-editor").wasBlockJustInserted(o),k=null==u||null===(i=u.attributes)||void 0===i?void 0:i.showLabel,R=null==u||null===(s=u.attributes)||void 0===s?void 0:s.showInputIcon;w&&void 0!==k&&void 0!==R&&a({showLabel:k,isIcon:R});var _=null==u||null===(p=u.attributes)||void 0===p?void 0:p.formStyle;if(_&&a({formStyle:_}),w&&m){var C=(0,b.select)("core/block-editor").getBlocksByClientId(m),E=(0,d.filterBlocksByName)(C,r),x=E.indexOf(o);-1!==x&&(1===E.length?a({fieldName:"select-field"}):a({fieldName:"select-field-".concat(x+1)}))}},[]);var S=P(P({},e),{},{blockPrefix:"eb-select-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(x,e)});return(0,p.useEffect)(function(){var e=(0,s.A)({},g,{isRequired:{status:y,message:h}});a({validationRules:e})},[y,g,h]),React.createElement(React.Fragment,null,n&&React.createElement(E,{clientId:o,attributes:t,setAttributes:a}),React.createElement(d.BlockProps.Edit,S,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(c)},React.createElement("div",{className:"".concat(l," eb-select-field-wrapper eb-field-wrapper")},i&&"form-style-modern"!=k&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g},React.createElement(d.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",y&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},v&&w&&React.createElement(d.EBDisplayIcon,{icon:w,className:"eb-input-icon"}),React.createElement(d.DynamicFormFieldValueHandler,{type:"select",fieldName:g,defaultValue:f,options:u,dynamicValue:R,dynamicOptionType:_,dynamicValueLoader:C,setAttributes:a}),"form-style-modern"==k&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g,className:"active"},m," ",y&&React.createElement("span",{className:"eb-required"},"*")))),y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(g)},h))))))}));var I=a(4715);function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=[{attributes:A({},T),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,p=t.validationMessage,b=t.isIcon,m=t.icon,u=t.formStyle,g=I.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&m&&React.createElement(d.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("select",{id:c,name:c,className:"eb-field-input",value:i},l.length>0&&l.map(function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))})),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}},{attributes:A({},T),supports:{align:["full"]},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,p=t.validationMessage,b=t.isIcon,d=t.icon,m=t.formStyle,u=I.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("select",{id:c,name:c,className:"eb-field-input",value:i},l.length>0&&l.map(function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))})),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}}],L=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Select Field","apiVersion":2,"name":"essential-blocks/form-select-field","description":"Form Block Select Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,d.ebConditionalRegisterBlockType)(L,{keywords:[(0,l.__)("EB Form","essential-blocks"),(0,l.__)("Form Block","essential-blocks"),(0,l.__)("Contact Form","essential-blocks"),(0,l.__)("Subscription Form","essential-blocks")],icon:function(e){return c.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 56 54"},e),n||(n=c.createElement("path",{fill:"#6C3BFF",d:"M37.364 18.086c.252.252.596.401.963.401.366 0 .699-.137.962-.401l6.705-6.705a1.356 1.356 0 0 0 0-1.914 1.36 1.36 0 0 0-.963-.401c-.366 0-.699.137-.962.401l-5.754 5.754-5.753-5.754a1.36 1.36 0 0 0-.963-.401c-.367 0-.7.137-.963.401a1.356 1.356 0 0 0 0 1.914l6.705 6.705z"})),o||(o=c.createElement("path",{fill:"#6C3BFF",d:"M51.278 0H4.722A4.73 4.73 0 0 0 0 4.722v44.195a4.73 4.73 0 0 0 4.722 4.722h46.556A4.73 4.73 0 0 0 56 48.917V4.722A4.73 4.73 0 0 0 51.278 0m0 51.22H4.722a2.316 2.316 0 0 1-2.315-2.315V26.636h51.186v22.27a2.316 2.316 0 0 1-2.315 2.315zM4.722 2.407h46.556a2.316 2.316 0 0 1 2.315 2.315v19.519H2.407V4.722a2.316 2.316 0 0 1 2.315-2.315"})),r||(r=c.createElement("path",{fill:"#6C3BFF",d:"M42.991 33.456H13.788a1.203 1.203 0 1 0 0 2.406h29.215a1.203 1.203 0 1 0 0-2.407h-.012zm0 8.252H13.788a1.203 1.203 0 1 0 0 2.407h29.215a1.203 1.203 0 1 0 0-2.407z"})))},attributes:T,edit:O,save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,p=t.validationMessage,b=t.isIcon,m=t.icon,u=t.formStyle;return React.createElement(d.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-select-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&m&&React.createElement(d.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("select",{id:c,name:c,className:"eb-field-input",value:i},l.length>0&&l.map(function(e){return React.createElement(React.Fragment,null,React.createElement("option",{selected:e.value===i,value:null==e?void 0:e.value},null==e?void 0:e.name))})),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))},example:{},deprecated:M})},2979:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(3453),l=a(1609),c=a(8468),i=a(9394),s=a(2619),p=a(6427),b=a(5694),d=a(9877),m=a(8107);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var f={fontSize:14,borderLeft:"1px solid #b4b4cb",lineHeight:"2.5em",flex:2,textAlign:"center",display:"flex",justifyContent:"center"},y=function(e){var t=e.position,a=e.onDeleteItem;return React.createElement("span",{className:"eb-social-delete-icon",style:f,onClick:function(){return a(t)}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{width:14}},React.createElement("path",{d:"M423.3 86.6H89c-16.8.1-32.2 9.3-40.1 24.1-7.9 14.8-7.1 32.7 2.2 46.8l37.2 55.6V456c0 30.9 25.1 56 56 56h223.9c30.9 0 56-25.1 56-56V213.1l37.2-56c9.1-14 9.8-31.8 1.9-46.5-8.1-14.7-23.4-23.9-40-24zm-198 347c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zm112 0c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zM325.8 19.4C309.9 7.1 290.2 0 269.3 0h-26.4c-20.9 0-40.6 7.1-56.5 19.4-11.2 8.7-20.5 20.1-26.9 33.4h193.1c-6.3-13.3-15.6-24.7-26.8-33.4z",style:{fill:"#FF6464"}})))},h=function(e){var t=e.marker,a=e.map,o=e.position,r=e.onTitleClick,l=e.clickedIndex,i=e.onDeleteItem,s=e.onMarkerChange,d=e.onMarkerSetUpdate,m=(0,c.useRef)(null);return React.createElement("li",{className:"drag-helper"},React.createElement("span",{className:"eb-sortable-item"},React.createElement("span",{className:"eb-sortable-title",onClick:function(){return r(o)}},t.title),React.createElement(y,{position:o,onDeleteItem:i})),l===o&&React.createElement("div",{className:"eb-google-map-marker-wrapper"},React.createElement(p.TextControl,{label:(0,n.__)("Location","essential-blocks"),value:t.location,onChange:function(e){return s("location",e,o)},ref:m,onFocus:function(){var e=new window.google.maps.places.SearchBox(m.current);e.addListener("places_changed",function(){var n=e.getPlaces();if(n&&0<n.length){var r=n[0],l=r.geometry.location.lat(),c=r.geometry.location.lng(),i=new window.google.maps.LatLng(l,c);a.setCenter(i),d(g(g({},t),{},{location:r.formatted_address||r.name,latitude:l.toString(),longitude:c.toString()}),o)}})}}),React.createElement(p.TextControl,{label:(0,n.__)("Latitude","essential-blocks"),value:t.latitude,onChange:function(e){return s("latitude",e,o)}}),React.createElement(p.TextControl,{label:(0,n.__)("Longitude","essential-blocks"),value:t.longitude,onChange:function(e){return s("longitude",e,o)}}),React.createElement(p.TextControl,{label:(0,n.__)("Title","essential-blocks"),value:t.title,onChange:function(e){return s("title",e,o)}}),React.createElement(b.EBTextareaControl,{label:(0,n.__)("Description","essential-blocks"),value:t.content,onChange:function(e){return s("content",e,o)},enableAi:!0}),React.createElement(p.ToggleControl,{label:(0,n.__)("Use Custom Marker Image","essentail-blocks"),checked:"true"===t.showCustomIcon,onChange:function(e){s("showCustomIcon",e.toString(),o)}}),"true"===t.showCustomIcon&&React.createElement(b.ImageComponent.GeneralTab,{onSelect:function(e){e.id;var t=e.url;return s("imageUrl",t,o)},value:t.imageUrl,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),"true"!==t.showCustomIcon&&React.createElement(p.SelectControl,{label:(0,n.__)("Map Marker","essential-blocks"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:(0,n.__)("Red","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:(0,n.__)("Blue","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:(0,n.__)("Yellow","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:(0,n.__)("Green","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:(0,n.__)("Orange","essential-blocks"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return s("icon",e,o)}})))};const v=function(e){var t=e.marker,a=e.map,n=e.setAttributes,o=(0,c.useState)(0),l=(0,r.A)(o,2),s=l[0],p=l[1],b=function(e){var a=(0,i.A)(t).filter(function(t,a){return e!==a});n({marker:a})},u=function(e,a,o){var r=g({},t[o]),l=(0,i.A)(t);l[o]=r,l[o][e]=(0,d.escapeAttribute)((0,m.safeHTML)(a)),n({marker:(0,i.A)(l)})},f=function(e,a){var o=(0,i.A)(t);o[a]=e,n({marker:(0,i.A)(o)})},y=function(e){p(s===e?null:e)};return React.createElement("ul",{className:"eb-sortable-google-map-marker"},t.map(function(e,t){return React.createElement(h,{key:"item-".concat(t),map:a,index:t,position:t,onTitleClick:y,onMarkerChange:u,onMarkerSetUpdate:f,marker:e,clickedIndex:s,onDeleteItem:b})}))};var w="WrpBg_",k="wrpBdSd_",R="wrpMrg_",_="wrpPad_",C=[{label:(0,n.__)("Standard","essential-blocks"),value:"standard"},{label:(0,n.__)("Silver","essential-blocks"),value:"silver"},{label:(0,n.__)("Retro","essential-blocks"),value:"retro"},{label:(0,n.__)("Dark","essential-blocks"),value:"dark"},{label:(0,n.__)("Night","essential-blocks"),value:"night"},{label:(0,n.__)("Aubergine","essential-blocks"),value:"aubergine"}],E=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Simple","essential-blocks"),value:"simple"},{label:(0,n.__)("Colorful","essential-blocks"),value:"colorful"},{label:(0,n.__)("Complex","essential-blocks"),value:"complex"},{label:(0,n.__)("Dark","essential-blocks"),value:"dark"},{label:(0,n.__)("Greyscale","essential-blocks"),value:"greyscale"},{label:(0,n.__)("Light","essential-blocks"),value:"light"},{label:(0,n.__)("Monochrome","essential-blocks"),value:"monochrome"},{label:(0,n.__)("No Labels","essential-blocks"),value:"nolabels"},{label:(0,n.__)("Two Tone","essential-blocks"),value:"twotone"}],x={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]},S={default:[],simple:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#6195a0"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"geometry",stylers:[{lightness:"0"},{saturation:"0"},{color:"#f5f5f2"},{gamma:"1"}]},{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:"-3"},{gamma:"1.00"}]},{featureType:"landscape.natural.terrain",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#bae5ce"},{visibility:"on"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#fac9a9"},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"labels.text",stylers:[{color:"#4e4e4e"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#787878"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit.station.airport",elementType:"labels.icon",stylers:[{hue:"#0a00ff"},{saturation:"-77"},{gamma:"0.57"},{lightness:"0"}]},{featureType:"transit.station.rail",elementType:"labels.text.fill",stylers:[{color:"#43321e"}]},{featureType:"transit.station.rail",elementType:"labels.icon",stylers:[{hue:"#ff6c00"},{lightness:"4"},{gamma:"0.75"},{saturation:"-68"}]},{featureType:"water",elementType:"all",stylers:[{color:"#eaf6f8"},{visibility:"on"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#c7eced"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{lightness:"-49"},{saturation:"-53"},{gamma:"0.79"}]}],colorful:[{featureType:"all",elementType:"all",stylers:[{color:"#ff7000"},{lightness:"69"},{saturation:"100"},{weight:"1.17"},{gamma:"2.04"}]},{featureType:"all",elementType:"geometry",stylers:[{color:"#cb8536"}]},{featureType:"all",elementType:"labels",stylers:[{color:"#ffb471"},{lightness:"66"},{saturation:"100"}]},{featureType:"all",elementType:"labels.text.fill",stylers:[{gamma:.01},{lightness:20}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{saturation:-31},{lightness:-33},{weight:2},{gamma:.8}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{lightness:"-8"},{gamma:"0.98"},{weight:"2.45"},{saturation:"26"}]},{featureType:"landscape",elementType:"geometry",stylers:[{lightness:30},{saturation:30}]},{featureType:"poi",elementType:"geometry",stylers:[{saturation:20}]},{featureType:"poi.park",elementType:"geometry",stylers:[{lightness:20},{saturation:-20}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:10},{saturation:-30}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{saturation:25},{lightness:25}]},{featureType:"water",elementType:"all",stylers:[{lightness:-20},{color:"#ecc080"}]}],complex:[{elementType:"geometry",stylers:[{hue:"#ff4400"},{saturation:-68},{lightness:-4},{gamma:.72}]},{featureType:"road",elementType:"labels.icon"},{featureType:"landscape.man_made",elementType:"geometry",stylers:[{hue:"#0077ff"},{gamma:3.1}]},{featureType:"water",stylers:[{hue:"#00ccff"},{gamma:.44},{saturation:-33}]},{featureType:"poi.park",stylers:[{hue:"#44ff00"},{saturation:-23}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{hue:"#007fff"},{gamma:.77},{saturation:65},{lightness:99}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{gamma:.11},{weight:5.6},{saturation:99},{hue:"#0091ff"},{lightness:-86}]},{featureType:"transit.line",elementType:"geometry",stylers:[{lightness:-48},{hue:"#ff5e00"},{gamma:1.2},{saturation:-23}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{saturation:-64},{hue:"#ff9100"},{lightness:16},{gamma:.47},{weight:2.7}]}],dark:[{stylers:[{hue:"#ff1a00"},{invert_lightness:!0},{saturation:-100},{lightness:33},{gamma:.5}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#2D333C"}]}],greyscale:[{featureType:"administrative",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"administrative.province",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"all",stylers:[{saturation:-100},{lightness:65},{visibility:"on"}]},{featureType:"poi",elementType:"all",stylers:[{saturation:-100},{lightness:"50"},{visibility:"simplified"}]},{featureType:"road",elementType:"all",stylers:[{saturation:"-100"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.arterial",elementType:"all",stylers:[{lightness:"30"}]},{featureType:"road.local",elementType:"all",stylers:[{lightness:"40"}]},{featureType:"transit",elementType:"all",stylers:[{saturation:-100},{visibility:"simplified"}]},{featureType:"water",elementType:"geometry",stylers:[{hue:"#ffff00"},{lightness:-25},{saturation:-97}]},{featureType:"water",elementType:"labels",stylers:[{lightness:-25},{saturation:-100}]}],light:[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#6195a0"}]},{featureType:"landscape",elementType:"all",stylers:[{color:"#f2f2f2"}]},{featureType:"landscape",elementType:"geometry.fill",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#e6f3d6"},{visibility:"on"}]},{featureType:"road",elementType:"all",stylers:[{saturation:-100},{lightness:45},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#f4d2c5"},{visibility:"simplified"}]},{featureType:"road.highway",elementType:"labels.text",stylers:[{color:"#4e4e4e"}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#f4f4f4"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#787878"}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"all",stylers:[{color:"#eaf6f8"},{visibility:"on"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#eaf6f8"}]}],monochrome:[{featureType:"administrative.locality",elementType:"all",stylers:[{hue:"#2c2e33"},{saturation:7},{lightness:19},{visibility:"on"}]},{featureType:"landscape",elementType:"all",stylers:[{hue:"#ffffff"},{saturation:-100},{lightness:100},{visibility:"simplified"}]},{featureType:"poi",elementType:"all",stylers:[{hue:"#ffffff"},{saturation:-100},{lightness:100},{visibility:"off"}]},{featureType:"road",elementType:"geometry",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:31},{visibility:"simplified"}]},{featureType:"road",elementType:"labels",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:31},{visibility:"on"}]},{featureType:"road.arterial",elementType:"labels",stylers:[{hue:"#bbc0c4"},{saturation:-93},{lightness:-2},{visibility:"simplified"}]},{featureType:"road.local",elementType:"geometry",stylers:[{hue:"#e9ebed"},{saturation:-90},{lightness:-8},{visibility:"simplified"}]},{featureType:"transit",elementType:"all",stylers:[{hue:"#e9ebed"},{saturation:10},{lightness:69},{visibility:"on"}]},{featureType:"water",elementType:"all",stylers:[{hue:"#e9ebed"},{saturation:-78},{lightness:67},{visibility:"simplified"}]}],nolabels:[{elementType:"labels",stylers:[{visibility:"off"},{color:"#f49f53"}]},{featureType:"landscape",stylers:[{color:"#f9ddc5"},{lightness:-7}]},{featureType:"road",stylers:[{color:"#813033"},{lightness:43}]},{featureType:"poi.business",stylers:[{color:"#645c20"},{lightness:38}]},{featureType:"water",stylers:[{color:"#1994bf"},{saturation:-69},{gamma:.99},{lightness:43}]},{featureType:"road.local",elementType:"geometry.fill",stylers:[{color:"#f19f53"},{weight:1.3},{visibility:"on"},{lightness:16}]},{featureType:"poi.business"},{featureType:"poi.park",stylers:[{color:"#645c20"},{lightness:39}]},{featureType:"poi.school",stylers:[{color:"#a95521"},{lightness:35}]},{},{featureType:"poi.medical",elementType:"geometry.fill",stylers:[{color:"#813033"},{lightness:38},{visibility:"off"}]},{},{},{},{},{},{},{},{},{},{},{},{elementType:"labels"},{featureType:"poi.sports_complex",stylers:[{color:"#9e5916"},{lightness:32}]},{},{featureType:"poi.government",stylers:[{color:"#9e5916"},{lightness:46}]},{featureType:"transit.station",stylers:[{visibility:"off"}]},{featureType:"transit.line",stylers:[{color:"#813033"},{lightness:22}]},{featureType:"transit",stylers:[{lightness:38}]},{featureType:"road.local",elementType:"geometry.stroke",stylers:[{color:"#f19f53"},{lightness:-10}]},{},{},{}],twotone:[{stylers:[{hue:"#007fff"},{saturation:89}]},{featureType:"water",stylers:[{color:"#ffffff"}]},{featureType:"administrative.country",elementType:"labels",stylers:[{visibility:"off"}]}]},B=[{label:(0,n.__)("Google Themes","essential-blocks"),value:"google_theme"},{label:(0,n.__)("Snazzy Maps Themes","essential-blocks"),value:"snazzy_theme"}],T="typTl_",N="typCn_";const P=function(e){var t=e.attributes,a=e.setAttributes,o=e.map,l=(t.resOption,t.mapType),d=t.mapZoom,m=t.mapHeight,u=t.marker,g=t.titleColor,f=t.titleHoverColor,y=t.descColor,h=t.imageSize,x=t.googleMapStyle,S=t.snazzyMapStyle,P=t.themeSource,O=(0,c.useState)(""),I=(0,r.A)(O,2),D=I[0],A=I[1];return(0,c.useEffect)(function(){var e=new FormData;e.append("action","google_map_api_key"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);t.success&&t.data&&A(t.data)}).catch(function(e){return console.log(e)})},[]),(0,c.useRef)(null),React.createElement(b.InspectorPanel,{advancedControlProps:{marginPrefix:R,paddingPrefix:_,backgroundPrefix:w,borderPrefix:k,hasMargin:!0}},React.createElement(b.InspectorPanel.General,null,React.createElement(React.Fragment,null,!D&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Google Map","essential-blocks"),initialOpen:!0},React.createElement(p.Card,null,React.createElement(p.CardBody,null,React.createElement("p",null,(0,n.__)("Please add your own Google Map API ","essential-blocks")," ",React.createElement(p.ExternalLink,{href:"".concat(EssentialBlocksLocalize.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},(0,n.__)("here.")))))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Addresses","essential-blocks"),initialOpen:!0},React.createElement(v,{marker:u,setAttributes:a,map:o}),React.createElement("hr",null),React.createElement(p.Button,{className:"is-default eb-google-map-marker-add-wrapper",label:(0,n.__)("Add Address","essential-blocks"),icon:"plus-alt",onClick:function(){var e=[].concat((0,i.A)(u),[{title:"Address ".concat(u.length+1)}]);a({marker:e})}},React.createElement("span",{className:"eb-google-map-marker-button"},"Add Address"))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Map Settings","essential-blocks")},React.createElement(p.SelectControl,{label:(0,n.__)("Map Type","essential-blocks"),value:l,options:[{label:(0,n.__)("Road Map","essential-blocks"),value:"roadmap"},{label:(0,n.__)("Satellite View","essential-blocks"),value:"satellite"},{label:(0,n.__)("Hybrid","essential-blocks"),value:"hybrid"},{label:(0,n.__)("Terrain","essential-blocks"),value:"terrain"}],onChange:function(e){return function(e){e&&(a({mapType:e}),o.setMapTypeId(window.google.maps.MapTypeId[l.toUpperCase()]))}(e)}}),u.length<=1&&React.createElement(p.RangeControl,{label:(0,n.__)("Map Zoom Level","essential-blocks"),value:parseInt(d),onChange:function(e){return function(e){e?(a({mapZoom:e.toString()}),o.setZoom(parseInt(d))):a({mapZoom:"13"})}(e)},min:0,max:20,allowReset:!0}),React.createElement(p.RangeControl,{label:(0,n.__)("Map Height","essential-blocks"),value:parseInt(m),onChange:function(e){a({mapHeight:e?e.toString():"400"})},min:100,max:1400,allowReset:!0}),React.createElement(p.RangeControl,{label:(0,n.__)("Marker Size","essential-blocks"),value:h,onChange:function(e){a({imageSize:e})},min:0,max:200,allowReset:!0}),React.createElement(p.__experimentalDivider,null),React.createElement(p.BaseControl,{label:(0,n.__)("Theme Source","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(p.ButtonGroup,{id:"eb-advance-heading-alignment"},B.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:P===e.value,isSecondary:P!==e.value,onClick:function(){return a({themeSource:e.value})}},e.label)}))),"google_theme"===P&&React.createElement(p.SelectControl,{label:(0,n.__)("Google Themes","essential-blocks"),value:x,options:(0,s.applyFilters)("eb_google_theme_style",C),onChange:function(e){return a({googleMapStyle:e})}}),"snazzy_theme"===P&&React.createElement(p.SelectControl,{label:(0,n.__)("Snazzy Themes","essential-blocks"),value:S,options:(0,s.applyFilters)("eb_snazzy_theme_style",E),onChange:function(e){return a({snazzyMapStyle:e})}})))),React.createElement(b.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,n.__)("Info Card","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,n.__)("Title Color","essential-blocks"),color:g,attributeName:"titleColor"}),React.createElement(b.ColorControl,{label:(0,n.__)("Title Hover Color","essential-blocks"),color:f,attributeName:"titleHoverColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:T}),React.createElement(p.__experimentalDivider,null),React.createElement(b.ColorControl,{label:(0,n.__)("Description Color","essential-blocks"),color:y,attributeName:"descColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:N}))))))};function O(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.classHook,t.titleColor),l=t.titleHoverColor,c=t.descColor,i=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:R,styleFor:"margin"}),s=i.dimensionStylesDesktop,p=i.dimensionStylesTab,d=i.dimensionStylesMobile,m=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:_,styleFor:"padding"}),u=m.dimensionStylesDesktop,g=m.dimensionStylesTab,f=m.dimensionStylesMobile,y=(0,b.generateBackgroundControlStyles)({attributes:t,controlName:w}),h=y.backgroundStylesDesktop,v=y.hoverBackgroundStylesDesktop,C=y.backgroundStylesTab,E=y.hoverBackgroundStylesTab,x=y.backgroundStylesMobile,S=y.hoverBackgroundStylesMobile,B=y.overlayStylesDesktop,P=y.hoverOverlayStylesDesktop,O=y.overlayStylesTab,I=y.hoverOverlayStylesTab,D=y.overlayStylesMobile,A=y.hoverOverlayStylesMobile,M=y.bgTransitionStyle,L=y.ovlTransitionStyle,F=(0,b.generateBorderShadowStyles)({controlName:k,attributes:t}),j=F.styesDesktop,H=F.styesTab,z=F.styesMobile,U=F.stylesHoverDesktop,V=F.stylesHoverTab,G=F.stylesHoverMobile,q=F.transitionStyle,W=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:T}),Z=W.typoStylesDesktop,J=W.typoStylesTab,Y=W.typoStylesMobile,Q=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:N}),X=Q.typoStylesDesktop,$=Q.typoStylesTab,K=Q.typoStylesMobile,ee="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(s,"\n\t\t").concat(u,"\n\t\t").concat(h,"\n\t\t").concat(j,"\n\t\ttransition:").concat(M,", ").concat(q,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(v,"\n\t\t").concat(U,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(B,"\n\t\ttransition:").concat(L,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(P,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-title {\n\t\tcolor: ").concat(r,";\n\t\t").concat(Z,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-title:hover {\n\t\tcolor: ").concat(l,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-content {\n\t\tcolor: ").concat(c,";\n\t\t").concat(X,";\n\t}\n\t"),te="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(p,"\n\t\t").concat(g,"\n\t\t").concat(C,"\n\t\t").concat(H,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(E,"\n\t\t").concat(V,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover{\n\t\t").concat(S,"\n\t\t").concat(G,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(O,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(I,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-title {\n\t\t").concat(J,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-content {\n\t\t").concat($,";\n\t}\n\t"),ae="\n\t.".concat(o,".eb-google-map-wrapper {\n\t\t").concat(d,"\n\t\t").concat(f,"\n\t\t").concat(x,"\n\t\t").concat(z,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper:before{\n\t\t").concat(D,"\n\t}\n\n\t.").concat(o,".eb-google-map-wrapper:hover:before{\n\t\t").concat(A,"\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-title {\n\t\t").concat(Y,";\n\t}\n\t.").concat(o,".eb-google-map-wrapper .eb-google-map-overview .eb-google-map-overview-content {\n\t\t").concat(K,";\n\t}\n\t"),ne=(0,b.softMinifyCssStrings)("\n\t\t".concat(ee,"\n\t")),oe=(0,b.softMinifyCssStrings)("\n\t\t".concat(te,"\n\t")),re=(0,b.softMinifyCssStrings)("\n\t\t".concat(ae,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(b.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ne,tabAllStyles:oe,mobileAllStyles:re,blockName:n}))}function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function D(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?I(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const A=D(D(D(D(D(D(D({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},searchAddress:{type:"string",default:"New York, NY, USA"},latitude:{type:"string",default:"40.7127753"},longitude:{type:"string",default:"-74.0059728"},mapType:{type:"string",default:"roadmap"},mapZoom:{type:"string",default:"13"},mapHeight:{type:"string",default:"400"},marker:{type:"array",default:[]},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},descColor:{type:"string",default:"var(--eb-global-text-color)"},descHoverColor:{type:"string"},imageSize:{type:"number",default:32},googlemMapStyle:{type:"string",default:"standard"},googleMapStyle:{type:"string",default:"standard"},snazzyMapStyle:{type:"string",default:"default"},themeSource:{type:"string",default:"google_theme"}},(0,b.generateDimensionsAttributes)(R)),(0,b.generateDimensionsAttributes)(_)),(0,b.generateBackgroundAttributes)(w)),(0,b.generateBorderShadowAttributes)(k)),(0,b.generateTypographyAttributes)(T,{fontSize:14})),(0,b.generateTypographyAttributes)(N,{fontSize:13})),{},{cover:{type:"string",default:""}});var M,L,F;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j.apply(null,arguments)}var H=function(e){return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),M||(M=l.createElement("path",{fill:"#6C3BFF",d:"M24.036 30.495c0 3.56 2.904 6.463 6.463 6.463s6.463-2.904 6.463-6.463-2.904-6.462-6.463-6.462-6.463 2.903-6.463 6.462m6.463 4.463a4.476 4.476 0 0 1-4.463-4.463 4.476 4.476 0 0 1 4.463-4.462 4.476 4.476 0 0 1 4.463 4.462 4.476 4.476 0 0 1-4.463 4.463"})),L||(L=l.createElement("path",{fill:"#6C3BFF",d:"M30.499 51.202c1.071 0 2.053-.491 2.767-1.295 3.704-4.507 9.951-12.986 9.728-19.456C42.771 23.444 37.282 18 30.5 18c-6.783 0-12.272 5.444-12.495 12.45-.179 6.471 6.024 14.995 9.728 19.457a3.63 3.63 0 0 0 2.767 1.295zm10.496-20.688v.006c.092 2.655-1.173 5.984-3.128 9.402-1.907 3.335-4.3 6.467-6.118 8.681-.375.41-.822.599-1.25.599-.472 0-.936-.223-1.23-.574-1.812-2.184-4.208-5.33-6.119-8.685-1.948-3.422-3.22-6.768-3.147-9.433C20.195 24.535 24.846 20 30.499 20s10.306 4.537 10.496 10.514M6.25 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.75 0A1.25 1.25 0 1 0 10 5a1.25 1.25 0 0 0 0 2.5m5-1.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0"})),F||(F=l.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 0 0 0 3.75v52.5A3.75 3.75 0 0 0 3.75 60h52.5A3.75 3.75 0 0 0 60 56.25V3.75A3.75 3.75 0 0 0 56.25 0M2.5 56.25V12.5h55v43.75a1.25 1.25 0 0 1-1.25 1.25H3.75a1.25 1.25 0 0 1-1.25-1.25m55-52.5V10h-55V3.75A1.25 1.25 0 0 1 3.75 2.5h52.5a1.25 1.25 0 0 1 1.25 1.25"})))};function z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function U(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?z(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const V=(0,c.memo)((0,b.withBlockContext)(A)(function(e){var t,a=e.attributes,o=e.setAttributes,l=(e.className,e.clientId,e.isSelected),i=(e.name,a.blockId),s=(a.blockMeta,a.resOption,a.classHook),d=a.mapType,m=a.mapZoom,u=a.mapHeight,g=a.latitude,f=a.longitude,y=a.searchAddress,h=a.marker,v=a.imageSize,w=a.cover,k=a.themeSource,R=a.googleMapStyle,_=a.snazzyMapStyle,C=(0,c.useState)(!0),E=(0,r.A)(C,2),B=E[0],T=E[1],N=U(U({},e),{},{blockPrefix:"eb-google-map",style:React.createElement(O,e)}),I=(0,c.useRef)(null),D=(0,c.useRef)(null);(0,c.useEffect)(function(){return D.current=!0,function(){D.current=!1}},[]),(0,c.useEffect)(function(){D.current&&i&&A()},[m,d,y,f,g,h,D,v,i,k,R,_]),(0,c.useEffect)(function(){if(!(h.length>0)){var e=[{title:y||(0,n.__)("Marker 1","essential-blocks"),latitude:g,longitude:f,location:y}];o({marker:e})}},[]);var A=function(){var e,t,a,n,o,r=null!==(e=null===(t=document.querySelector('iframe[name^="editor-canvas"]'))||void 0===t||null===(t=t.contentWindow)||void 0===t?void 0:t.document)&&void 0!==e?e:document;window.google&&r.getElementById(i)?(I.current=(null===(a=window)||void 0===a||null===(a=a.google)||void 0===a?void 0:a.maps)&&new window.google.maps.Map(r.getElementById(i),{center:{lat:Number(null===(n=h[0])||void 0===n?void 0:n.latitude)||Number(g),lng:Number(null===(o=h[0])||void 0===o?void 0:o.longitude)||Number(f)},gestureHandling:"cooperative",zoom:1===h.length?parseInt(m)||"13":0,mapTypeId:d,styles:"google_theme"===k?x[R]:S[_]}),h.length>0&&M(h)):T(!1)},M=function(e){if(Object.keys(e).length>0){var t,a,n=new google.maps.InfoWindow,o=v||32,r=new google.maps.LatLngBounds,l=function(){var l={url:("true"==e[a].showCustomIcon?e[a].imageUrl:e[a].icon)||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",scaledSize:new google.maps.Size(o,o)};t=new google.maps.Marker({position:new google.maps.LatLng(e[a].latitude||g,e[a].longitude||f),title:e[a].title,icon:l,map:I.current});var c='<div class="eb-google-map-overview"><h6 class="eb-google-map-overview-title">'.concat(e[a].title,'</h6><div class="eb-google-map-overview-content">').concat(e[a].content?"<p>".concat(e[a].content,"</p>"):"","</div></div>");r.extend(t.getPosition()),0==a&&(n.setContent(c),n.open(I.current,t)),google.maps.event.addListener(t,"click",function(e){return function(){n.setContent(c),n.open(I.current,e)}}(t))};for(a=0;a<e.length;a++)l();e.length>1&&I.current.fitBounds(r)}};return w.length?React.createElement("div",null,React.createElement("img",{src:w,alt:"google map",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,l&&React.createElement(P,{key:"inspector",attributes:a,setAttributes:o,map:I.current}),React.createElement(b.BlockProps.Edit,N,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(s)},!B&&React.createElement(b.NoticeComponent,{Icon:H,title:"Google Maps",description:React.createElement(React.Fragment,null,"Please add your Google Map API ",React.createElement("a",{target:"_blank",href:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},"Here")," to display Google Maps Block"),externalDocLink:"https://essential-blocks.com/docs/retrieve-google-maps-api",externalDocText:React.createElement(React.Fragment,null,"Learn more about Google Map API ",React.createElement(p.Dashicon,{icon:"external"}))}),B&&React.createElement("div",{id:i,className:"".concat(i," eb-google-map-wrapper"),style:{height:"".concat(u||400,"px")}}))))})),G=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Google Maps","name":"essential-blocks/google-map","category":"essential-blocks","description":"Display locations from Google Maps seamlessly and style how they look to match your site design.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var q=a(4715);function W(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var J=lodash.omit;const Y=[{attributes:Z({},A),save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,l=t.mapHeight,c=t.latitude,i=t.longitude,s=t.searchAddress,p=t.imageSize,b=t.marker,d=t.googleMapStyle,m=t.snazzyMapStyle,u=t.themeSource;return React.createElement(React.Fragment,null,React.createElement("div",q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":c,"data-longitude":i,"data-search-address":s,"data-marker":JSON.stringify(b),"data-image-size":p||32,"data-theme-source":u,"data-google-style":d,"data-snazzy-style":m,style:{height:"".concat(l,"px")}}))))}},{attributes:J(Z({},A),["googleMapStyle","snazzyMapStyle","themeSource"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,l=t.mapHeight,c=t.latitude,i=t.longitude,s=t.searchAddress,p=t.imageSize,b=t.marker;return React.createElement(React.Fragment,null,React.createElement("div",q.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":c,"data-longitude":i,"data-search-address":s,"data-marker":JSON.stringify(b),"data-image-size":p||32,style:{height:"".concat(l,"px")}}))))}}];var Q;(0,b.ebConditionalRegisterBlockType)(G,{icon:H,category:"essential-blocks",attributes:A,keywords:[(0,n.__)("eb google map","essential-blocks"),(0,n.__)("essential","essential-blocks"),(0,n.__)("map","essential-blocks")],edit:V,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.mapType,r=t.mapZoom,l=t.mapHeight,c=t.latitude,i=t.longitude,s=t.searchAddress,p=t.imageSize,d=t.marker,m=t.googleMapStyle,u=t.snazzyMapStyle,g=t.themeSource;return React.createElement(React.Fragment,null,React.createElement(b.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{id:a,className:"".concat(a," eb-google-map-wrapper"),"data-map-type":o,"data-map-zoom":r,"data-latitude":c,"data-longitude":i,"data-search-address":s,"data-marker":btoa(unescape(encodeURIComponent(JSON.stringify(d)))),"data-image-size":p||32,"data-theme-source":g,"data-google-style":m,"data-snazzy-style":u,style:{height:"".concat(l,"px")}}))))},example:{attributes:{cover:"".concat(null===(Q=EssentialBlocksLocalize)||void 0===Q?void 0:Q.image_url,"/block-preview/google-map.jpeg")}},deprecated:Y})},3160:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(8468),i=a(4715),s=a(6427),p="wrp_",b="img_",d="imgWidth_",m="imgGap_",u="wrp_",g="quoteSize",f="ratingSize",y=((0,n.__)("One","essential-blocks"),(0,n.__)("Two","essential-blocks"),(0,n.__)("Three","essential-blocks"),[{label:(0,n.__)("Top","essential-blocks"),value:1},{label:(0,n.__)("Bottom","essential-blocks"),value:0}]),h=[{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignright"})),value:"right"}],v=[{label:(0,n.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"flex-end"}],w=[{label:(0,n.__)("PX","essential-blocks"),value:"px"},{label:(0,n.__)("EM","essential-blocks"),value:"em"}],k=[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}],R=[{label:(0,n.__)("Top","essential-blocks"),value:2},{label:(0,n.__)("Bottom","essential-blocks"),value:3}],_=[{label:(0,n.__)("Before","essential-blocks"),value:0},{label:(0,n.__)("After","essential-blocks"),value:1}],C=((0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Lighter","essential-blocks"),(0,n.__)("Normal","essential-blocks"),(0,n.__)("Bold","essential-blocks"),(0,n.__)("Bolder","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),(0,n.__)("Auto","essential-blocks"),(0,n.__)("Cover","essential-blocks"),(0,n.__)("Contain","essential-blocks"),(0,n.__)("Custom","essential-blocks"),(0,n.__)("Default","essential-blocks"),(0,n.__)("No-repeat","essential-blocks"),(0,n.__)("Repeat","essential-blocks"),(0,n.__)("Repeat-x","essential-blocks"),(0,n.__)("Repeat-y","essential-blocks"),(0,n.__)("Default","essential-blocks"),(0,n.__)("Center Center","essential-blocks"),(0,n.__)("Center Left","essential-blocks"),(0,n.__)("Center Right","essential-blocks"),(0,n.__)("Top Center","essential-blocks"),(0,n.__)("Top Left","essential-blocks"),(0,n.__)("Top Right","essential-blocks"),(0,n.__)("Bottom Center","essential-blocks"),(0,n.__)("Bottom Left","essential-blocks"),(0,n.__)("Bottom Right","essential-blocks"),(0,n.__)("Custom","essential-blocks"),(0,n.__)("Default","essential-blocks"),(0,n.__)("Fixed","essential-blocks"),(0,n.__)("Scroll","essential-blocks"),[{label:(0,n.__)("Style 1","essential-blocks"),value:"layout-preset-1"},{label:(0,n.__)("Style 2","essential-blocks"),value:"layout-preset-2"},{label:(0,n.__)("Style 3","essential-blocks"),value:"layout-preset-3"}]),E=a(5694);const x=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.displayAvatar),r=t.avatarInline,l=t.avatarPosition,c=t.avatarAlign,i=t.borderRadius,x=t.avatarOrder,S=t.imageUrl,B=t.userInfoAlign,T=t.textAlign,N=t.userNameColor,P=t.descriptionColor,O=t.enableQuote,I=t.quoteColor,D=t.companyColor,A=t.quoteHorizontalPosition,M=t.quoteVerticalPosition,L=t.descTextAlign,F=t.layoutPreset,j=t.imageOverlayColor,H=t.showRating,z=t.rating,U=t.ratingColor,V=t.ratingIndivisual,G=t.ratingPosition;return React.createElement(E.InspectorPanel,{advancedControlProps:{marginPrefix:"margin",paddingPrefix:"padding",backgroundPrefix:u,borderPrefix:p,hasMargin:!0}},React.createElement(E.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Layout Settings","essential-blocks"),initialOpen:!0},React.createElement(s.SelectControl,{label:(0,n.__)("Preset","essential-blocks"),value:F,options:C,onChange:function(e){return function(e){switch(e){case"layout-preset-1":a({avatarAlign:"left",avatarPosition:"flex-start",avatarOrder:1,textAlign:"center",descTextAlign:"center",enableQuote:!0,imgWidth_Range:"",imagePosition:0,img_borderStyle:"none",img_borderColor:"",img_Bdr_Bottom:"0",img_Bdr_Left:"0",img_Bdr_Right:"0",img_Bdr_Top:"0",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,img_blur:33,img_shadowColor:"",img_shadowTransition:.5,img_shadowType:"normal",img_spread:7,img_vOffset:0,paddingBottom:"10",paddingLeft:"10",paddingRight:"10",paddingTop:"10",paddingUnit:"px",paddingisLinked:!0,MOBpaddingBottom:"10",MOBpaddingLeft:"10",MOBpaddingRight:"10",MOBpaddingTop:"10",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"none",wrp_Rds_Bottom:"0",wrp_Rds_Left:"0",wrp_Rds_Right:"0",wrp_Rds_Top:"0",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#fff"});break;case"layout-preset-2":a({avatarAlign:"left",avatarPosition:"flex-start",avatarOrder:0,textAlign:"left",descTextAlign:"left",enableQuote:!1,imgWidth_Range:60,imagePosition:0,img_borderStyle:"solid",img_borderColor:"#fff",img_Bdr_Bottom:"3",img_Bdr_Left:"3",img_Bdr_Right:"3",img_Bdr_Top:"3",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,img_blur:81,img_shadowColor:"",img_shadowTransition:.5,img_shadowType:"normal",img_spread:33,img_vOffset:0,paddingBottom:"6",paddingLeft:"20",paddingRight:"20",paddingTop:"6",paddingUnit:"%",paddingisLinked:!1,MOBpaddingBottom:"20",MOBpaddingLeft:"20",MOBpaddingRight:"20",MOBpaddingTop:"20",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"solid",wrp_Rds_Bottom:"25",wrp_Rds_Left:"25",wrp_Rds_Right:"25",wrp_Rds_Top:"25",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#fff"});break;case"layout-preset-3":a({avatarAlign:"center",avatarPosition:"center",avatarInline:!0,avatarOrder:0,textAlign:"center",descTextAlign:"center",enableQuote:!1,imgWidth_Range:90,img_blur:81,img_shadowColor:"#9B9B9B38",img_shadowTransition:.5,img_shadowType:"normal",img_spread:33,img_vOffset:0,img_borderStyle:"solid",img_borderColor:"#fff",img_Bdr_Bottom:"3",img_Bdr_Left:"3",img_Bdr_Right:"3",img_Bdr_Top:"3",img_Bdr_Unit:"px",img_Bdr_isLinked:!0,paddingBottom:"6",paddingLeft:"20",paddingRight:"20",paddingTop:"6",paddingUnit:"%",paddingisLinked:!1,MOBpaddingBottom:"20",MOBpaddingLeft:"20",MOBpaddingRight:"20",MOBpaddingTop:"20",MOBpaddingUnit:"px",MOBpaddingisLinked:!0,wrp_Bdr_Bottom:"1",wrp_Bdr_Left:"1",wrp_Bdr_Right:"1",wrp_Bdr_Top:"1",wrp_Bdr_Unit:"px",wrp_Bdr_isLinked:!0,wrp_BorderType:"normal",wrp_borderColor:"#000",wrp_borderStyle:"none",wrp_Rds_Bottom:"25",wrp_Rds_Left:"25",wrp_Rds_Right:"25",wrp_Rds_Top:"25",wrp_Rds_Unit:"px",wrp_bg_hoverType:"normal",wrp_backgroundType:"classic",wrp_backgroundColor:"#FAEFDB"})}a({layoutPreset:e})}(e)}}),r&&React.createElement(s.BaseControl,{label:(0,n.__)("User Info Position","essential-blocks")},React.createElement(s.ButtonGroup,null,v.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:l!==e.value,isPrimary:l===e.value,onClick:function(){return a({avatarPosition:e.value})}},e.label)}))),!r&&o&&React.createElement(s.BaseControl,{label:r?(0,n.__)("User Info Align","essential-blocks"):(0,n.__)("Image Align","essential-blocks")},React.createElement(s.ButtonGroup,null,v.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:c!==e.value,isPrimary:c===e.value,onClick:function(){return a({avatarAlign:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("Description Position","essential-blocks")},React.createElement(s.ButtonGroup,null,y.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:x!==e.value,isPrimary:x===e.value,onClick:function(){return a({avatarOrder:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("Description Align","essential-blocks")},React.createElement(s.ButtonGroup,null,h.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:L!==e.value,isPrimary:L===e.value,onClick:function(){return a({descTextAlign:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("User Name Align","essential-blocks")},React.createElement(s.ButtonGroup,null,h.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:T!==e.value,isPrimary:T===e.value,onClick:function(){return a({textAlign:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("User Info Align","essential-blocks")},React.createElement(s.ButtonGroup,null,k.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:B!==e.value,isPrimary:B===e.value,onClick:function(){return a({userInfoAlign:e.value})}},e.label)}))),React.createElement(s.ToggleControl,{label:"Enable Quote",checked:O,onChange:function(){return a({enableQuote:!O})}}),O&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Quote Horizontal Align","essential-blocks")},React.createElement(s.ButtonGroup,null,v.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:A!==e.value,isPrimary:A===e.value,onClick:function(){return a({quoteHorizontalPosition:e.value})}},e.label)}))),"center"===A&&React.createElement(s.BaseControl,{label:(0,n.__)("Quote Vertical Position","essential-blocks")},React.createElement(s.ButtonGroup,null,y.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:M!==e.value,isPrimary:M===e.value,onClick:function(){return a({quoteVerticalPosition:e.value})}},e.label)})))),React.createElement(s.ToggleControl,{label:"Show Rating",checked:H,onChange:function(){return a({showRating:!H})}}),H&&React.createElement(React.Fragment,null,React.createElement(s.RangeControl,{label:(0,n.__)("Rating","essential-blocks-pro"),value:z,onChange:function(e){return a({rating:e})},min:0,max:5,step:1,allowReset:!0}),React.createElement(s.ToggleControl,{label:"Rating With Description",checked:V,onChange:function(e){return function(e){a(e?{quoteHorizontalPosition:"center"}:{quoteHorizontalPosition:"flex-start"}),a({ratingIndivisual:e})}(e)}}),V&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Rating Position","essential-blocks")},React.createElement(s.ButtonGroup,null,R.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:G!==e.value,isPrimary:G===e.value,onClick:function(){return a({ratingPosition:e.value})}},e.label)})))))),React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Avatar","essential-blocks"),initialOpen:!1},React.createElement(s.ToggleControl,{label:"Display Avatar",checked:o,onChange:function(){return a({displayAvatar:!o})}}),o&&React.createElement(E.ImageComponent.GeneralTab,{onSelect:function(e){return a({imageUrl:e.url,imageId:e.id})},value:S,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),"layout-preset-1"==F&&React.createElement(React.Fragment,null,o&&React.createElement(s.ToggleControl,{label:(0,n.__)("Avatar Inline","essential-blocks"),checked:r,onChange:function(){return a({avatarInline:!r})}}),o&&React.createElement(s.BaseControl,{id:"eb-testimonial-image-pos",label:(0,n.__)("Image Position","essential-blocks")},React.createElement(E.ToggleButton,{options:_,onChange:function(e){return a({imagePosition:e})}}))),o&&S&&React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Image Setting","essential-blocks")},S&&React.createElement(E.ImageAvatar,{imageUrl:S,onDeleteImage:function(){return a({imageUrl:null})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Round Avatar","essential-blocks"),checked:50===i,onChange:function(){return a({borderRadius:50===i?0:50})}}),React.createElement(s.RangeControl,{label:(0,n.__)("Border Radius","essential-blocks"),value:i,onChange:function(e){return a({borderRadius:e})},min:0,max:50}))))),React.createElement(E.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Color","essential-blocks"),initialOpen:!0},React.createElement(E.ColorControl,{label:(0,n.__)("Username Color","essential-blocks"),color:N,attributeName:"userNameColor"}),React.createElement(E.ColorControl,{label:(0,n.__)("Company Color","essential-blocks"),color:D,attributeName:"companyColor"}),React.createElement(E.ColorControl,{label:(0,n.__)("Description Color","essential-blocks"),color:P,attributeName:"descriptionColor"}),React.createElement(E.ColorControl,{label:(0,n.__)("Quote Color","essential-blocks"),color:I,attributeName:"quoteColor"}),React.createElement(E.ColorControl,{label:(0,n.__)("Rating Color","essential-blocks"),color:U,attributeName:"ratingColor"})),React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Typography","essential-blocks"),initialOpen:!1},React.createElement(E.TypographyDropdown,{baseLabel:"Username",typographyPrefixConstant:"username"}),React.createElement(E.TypographyDropdown,{baseLabel:"Company",typographyPrefixConstant:"company"}),React.createElement(E.TypographyDropdown,{baseLabel:"Description",typographyPrefixConstant:"description"}),O&&React.createElement(E.ResponsiveRangeController,{baseLabel:(0,n.__)("Quote Size","essential-blocks"),controlName:g,units:w,min:1,max:200,step:1}),H&&React.createElement(E.ResponsiveRangeController,{baseLabel:(0,n.__)("Rating Size","essential-blocks"),controlName:f,units:w,min:1,max:100,step:1})),React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Image","essential-blocks"),initialOpen:!1},"layout-preset-2"==F&&React.createElement(E.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:j,attributeName:"imageOverlayColor"}),React.createElement(E.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:d,units:w,min:1,max:200,step:1}),React.createElement(E.ResponsiveRangeController,{baseLabel:(0,n.__)("Gap","essential-blocks"),controlName:m,units:w,min:1,max:200,step:1}),React.createElement(E.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!0},React.createElement(E.BorderShadowControl,{controlName:b,noBorderRadius:!0,noBorderRadiusHover:!0}))))))};var S,B,T;function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},N.apply(null,arguments)}var P=function(e){return l.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 58"},e),S||(S=l.createElement("path",{fill:"#6C3BFF",d:"M13.8 8.686h-1.971C12.17 6.37 13.457 6.37 13.97 6.37c.515 0 1.115-.514 1.115-1.114V1.83c0-.343-.172-.515-.343-.858a1.3 1.3 0 0 0-.857-.342C10.286.8 6.17 2.6 6.17 9.886v5.743c0 .857.858 1.8 1.8 1.8h6.086c.857 0 1.8-.858 1.8-1.8v-5.4c-.257-.772-.943-1.543-2.057-1.543zm-.343 6.685H8.486v-5.4C8.486 5 10.8 3.371 12.77 3.2v1.114C11.314 4.571 9.514 6.03 9.514 9.8c0 .514.515 1.114 1.115 1.114h2.657zm11.657-6.685h-1.971c.343-2.315 1.628-2.315 2.143-2.315S26.4 5.857 26.4 5.257V1.83c0-.343-.171-.515-.343-.858A1.3 1.3 0 0 0 25.2.63c-3.6.17-7.714 1.97-7.714 9.256v5.743c0 .857.857 1.8 1.8 1.8h6.085c.858 0 1.8-.858 1.8-1.8v-5.4c-.342-.772-1.2-1.543-2.057-1.543m-.428 6.685h-5.143v-5.4c0-4.971 2.314-6.6 4.286-6.771v1.114c-1.458.343-3.258 1.8-3.258 5.572 0 .514.515 1.114 1.115 1.114h2.657z"})),B||(B=l.createElement("path",{fill:"#6C3BFF",d:"M37.029 9.457H35.57c-.514 0-1.114.514-1.114 1.114s.514 1.115 1.114 1.115h1.458c9.685 0 17.485 7.885 17.485 17.485 0 8.229-5.914 15.343-13.8 16.972-.514.171-.857.514-.857 1.114v6.429l-6.771-6.772a1.3 1.3 0 0 0-.857-.343H19.714C10.03 46.4 2.23 38.6 2.23 28.914c0-3 .685-5.914 2.142-8.4.343-.514.172-1.285-.342-1.457-.515-.343-1.286-.171-1.458.343C.943 22.314 0 25.743 0 28.914 0 39.63 8.743 48.543 19.629 48.543h12l8.4 8.4c.171.171.514.343.857.343.171 0 .343 0 .343-.172A1.19 1.19 0 0 0 41.914 56v-8.143a20.74 20.74 0 0 0 10.2-6.6c2.829-3.6 4.457-7.886 4.457-12.514C56.743 18.2 47.914 9.457 37.03 9.457z"})),T||(T=l.createElement("path",{fill:"#6C3BFF",d:"M42.086 23.771H14.914c-.514 0-1.114.515-1.114 1.115S14.314 26 14.914 26h27.172c.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115m0 5.829H14.914c-.514 0-1.114.514-1.114 1.114 0 .515.514 1.115 1.114 1.115h27.172c.514 0 1.114-.515 1.114-1.115-.086-.514-.6-1.114-1.114-1.114m0 5.914H27.6c-.514 0-1.114.515-1.114 1.115 0 .514.514 1.114 1.114 1.114h14.486c.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115m-20.743 0c-.514 0-1.114.515-1.114 1.115 0 .514.514 1.114 1.114 1.114.514 0 1.114-.514 1.114-1.114-.086-.6-.6-1.115-1.114-1.115"})))},O=[{title:"Classic Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-k74x9","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-k74x9 { background-color:#fff; margin:10px; padding:10px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-k74x9:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-k74x9 .eb-avatar-container { order:1; justify-content:flex-start; align-items:center; font-size:16px; flex-direction:row }.eb-testimonial-k74x9 .eb-avatar-container { gap:15px }.eb-testimonial-k74x9 .image-container { order:0; display:block }.eb-testimonial-k74x9 .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-k74x9.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none }.eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-k74x9 .eb-userinfo-container { text-align:center; justify-content:flex-start; align-self:center }.eb-testimonial-k74x9 .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-k74x9 .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-k74x9 .eb-description-container p { text-align:center; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-k74x9 .eb-description-container { flex-direction:row }.eb-testimonial-k74x9 .eb-testimonial-quote-style:before { content:none }.eb-testimonial-k74x9 .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-k74x9 .eb-testimonial-rating { text-align:center }.eb-testimonial-k74x9 .eb-testimonial-rating { order:3 }.eb-testimonial-k74x9 .eb-testimonial-description { order:2 }.eb-testimonial-k74x9 .eb-testimonial-rating i { font-size:14px }.eb-testimonial-k74x9 .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-k74x9 .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)) }","mobile":".eb-testimonial-k74x9.layout-preset-2 .image-container::before { width:calc(undefinedpx - (1px + 1px)); height:calc(undefinedpx - (1px + 1px)) }"},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-k74x9 { display:block; opacity:1 }.eb-parent-eb-testimonial-k74x9 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-k74x9 "><div class="eb-testimonial-wrapper eb-testimonial-k74x9 layout-preset-1" data-id="eb-testimonial-k74x9"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div><div class="eb-description-container"><div class="eb-testimonial-quote-style"><svg xmlns="http://www.w3.org/2000/svg" width="123.961" height="123.961" x="0" y="0" enable-background="new 0 0 123.961 123.961" version="1.1" viewBox="0 0 123.961 123.961" xml:space="preserve"><path d="M49.8 29.032c3.1-1.3 4.4-5 3-8l-4.9-10.3c-1.4-2.899-4.8-4.2-7.8-2.899-8.5 3.6-15.8 8.3-21.6 14C11.4 28.532 6.6 36.232 4 44.732c-2.6 8.601-4 20.3-4 35.2v30.7c0 3.3 2.7 6 6 6h39.3c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H26.5c.2-10.101 2.6-18.2 7-24.301 3.6-4.898 9-8.898 16.3-11.999zM120.4 29.032c3.1-1.3 4.399-5 3-8l-4.9-10.199c-1.4-2.9-4.8-4.2-7.8-2.9-8.4 3.6-15.601 8.3-21.5 13.9-7.101 6.8-12 14.5-14.601 23-2.6 8.399-3.899 20.1-3.899 35.1v30.7c0 3.3 2.7 6 6 6H116c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H97.1c.2-10.101 2.601-18.2 7-24.301 3.6-4.899 9-8.899 16.3-12z"></path></svg></div><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'},{title:"Retro Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-cg8o5","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-cg8o5 { background-color:#fff; margin:10px; padding-top:6%; padding-right:20%; padding-left:20%; padding-bottom:6%; border-width:1px; border-color:#000; border-style:solid; border-radius:25px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-cg8o5:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-cg8o5 .eb-avatar-container { order:0; justify-content:flex-start; align-items:left; font-size:16px; flex-direction:row }.eb-testimonial-cg8o5 .eb-avatar-container { gap:15px }.eb-testimonial-cg8o5 .image-container { order:0; display:block }.eb-testimonial-cg8o5 .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-cg8o5.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none; width:60px; height:60px; border-width:3px; border-color:#fff; border-style:solid }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before,.eb-testimonial-cg8o5.layout-preset-2 .image-container .eb-avatar-style { width:60px; height:60px }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-cg8o5 .eb-userinfo-container { text-align:left; justify-content:flex-start; align-self:center }.eb-testimonial-cg8o5 .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-cg8o5 .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-cg8o5 .eb-description-container p { text-align:left; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-cg8o5 .eb-description-container { flex-direction:row }.eb-testimonial-cg8o5 .eb-testimonial-quote-style:before { content:none }.eb-testimonial-cg8o5 .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-cg8o5 .eb-testimonial-rating { text-align:left }.eb-testimonial-cg8o5 .eb-testimonial-rating { order:3 }.eb-testimonial-cg8o5 .eb-testimonial-description { order:2 }.eb-testimonial-cg8o5 .eb-testimonial-rating i { font-size:14px }.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-cg8o5 .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)) }","mobile":".eb-testimonial-wrapper.eb-testimonial-cg8o5 { padding-top:20px; padding-right:20px; padding-left:20px; padding-bottom:20px }.eb-testimonial-cg8o5.layout-preset-2 .image-container::before { width:calc(60px - (3px + 3px)); height:calc(60px - (3px + 3px)) }"},"layoutPreset":"layout-preset-2","avatarAlign":"left","avatarOrder":0,"descTextAlign":"left","textAlign":"left","enableQuote":false,"paddingUnit":"%","paddingisLinked":false,"paddingTop":"6","paddingRight":"20","paddingBottom":"6","paddingLeft":"20","MOBpaddingTop":"20","MOBpaddingRight":"20","MOBpaddingBottom":"20","MOBpaddingLeft":"20","wrp_borderColor":"#000","wrp_borderStyle":"solid","wrp_Rds_Top":"25","wrp_Rds_Right":"25","wrp_Rds_Bottom":"25","wrp_Rds_Left":"25","imgWidth_Range":60,"img_borderColor":"#fff","img_borderStyle":"solid","img_Bdr_Top":"3","img_Bdr_Right":"3","img_Bdr_Bottom":"3","img_Bdr_Left":"3","img_vOffset":0,"img_blur":81,"img_spread":33,"img_shadowColor":"","commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-cg8o5 { display:block; opacity:1 }.eb-parent-eb-testimonial-cg8o5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-cg8o5 "><div class="eb-testimonial-wrapper eb-testimonial-cg8o5 layout-preset-2" data-id="eb-testimonial-cg8o5"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div><div class="eb-description-container"><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'},{title:"Card Layout",content:'\x3c!-- wp:essential-blocks/testimonial {"blockId":"eb-testimonial-du11v","blockMeta":{"desktop":".eb-testimonial-wrapper.eb-testimonial-du11v { background-color:#FAEFDB; margin:10px; padding-top:6%; padding-right:20%; padding-left:20%; padding-bottom:6%; border-radius:25px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-testimonial-wrapper.eb-testimonial-du11v:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-testimonial-du11v .eb-avatar-container { order:0; justify-content:center; align-items:center; font-size:16px; flex-direction:row }.eb-testimonial-du11v .eb-avatar-container { gap:15px }.eb-testimonial-du11v .image-container { order:0; display:block }.eb-testimonial-du11v .eb-avatar-style,.eb-testimonial-wrapper.eb-testimonial-du11v.layout-preset-2 .image-container .eb-avatar-style { background-image:url(undefined); border-radius:50%; display:none; width:90px; height:90px; border-width:3px; border-color:#fff; border-style:solid; box-shadow:#9B9B9B38 0px 0px 81px 33px }.eb-testimonial-du11v.layout-preset-2 .image-container::before,.eb-testimonial-du11v.layout-preset-2 .image-container .eb-avatar-style { width:90px; height:90px }.eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-du11v .eb-userinfo-container { text-align:center; justify-content:flex-start; align-self:center }.eb-testimonial-du11v .eb-testimonial-username { color:var(\\u002d\\u002deb-global-primary-color) }.eb-testimonial-du11v .eb-testimonial-company { color:var(\\u002d\\u002deb-global-heading-color) }.eb-testimonial-du11v .eb-description-container p { text-align:center; color:var(\\u002d\\u002deb-global-text-color); padding-right:20px; word-break:break-word }.eb-testimonial-du11v .eb-description-container { flex-direction:row }.eb-testimonial-du11v .eb-testimonial-quote-style:before { content:none }.eb-testimonial-du11v .eb-testimonial-quote-style svg { fill:#edf1f7; height:60px; width:60px }.eb-testimonial-du11v .eb-testimonial-rating { text-align:center }.eb-testimonial-du11v .eb-testimonial-rating { order:3 }.eb-testimonial-du11v .eb-testimonial-description { order:2 }.eb-testimonial-du11v .eb-testimonial-rating i { font-size:14px }.eb-testimonial-du11v .eb-testimonial-rating.rating-1 i:nth-child(-n+1),.eb-testimonial-du11v .eb-testimonial-rating.rating-2 i:nth-child(-n+2),.eb-testimonial-du11v .eb-testimonial-rating.rating-3 i:nth-child(-n+3),.eb-testimonial-du11v .eb-testimonial-rating.rating-4 i:nth-child(-n+4),.eb-testimonial-du11v .eb-testimonial-rating.rating-5 i:nth-child(-n+5) { color:#f2b01e }","tab":".eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)) }","mobile":".eb-testimonial-wrapper.eb-testimonial-du11v { padding-top:20px; padding-right:20px; padding-left:20px; padding-bottom:20px }.eb-testimonial-du11v.layout-preset-2 .image-container::before { width:calc(90px - (3px + 3px)); height:calc(90px - (3px + 3px)) }"},"layoutPreset":"layout-preset-3","avatarPosition":"center","avatarOrder":0,"enableQuote":false,"paddingUnit":"%","paddingisLinked":false,"paddingTop":"6","paddingRight":"20","paddingBottom":"6","paddingLeft":"20","MOBpaddingTop":"20","MOBpaddingRight":"20","MOBpaddingBottom":"20","MOBpaddingLeft":"20","wrp_borderColor":"#000","wrp_Rds_Top":"25","wrp_Rds_Right":"25","wrp_Rds_Bottom":"25","wrp_Rds_Left":"25","wrp_backgroundColor":"#FAEFDB","imgWidth_Range":90,"img_borderColor":"#fff","img_borderStyle":"solid","img_Bdr_Top":"3","img_Bdr_Right":"3","img_Bdr_Bottom":"3","img_Bdr_Left":"3","img_vOffset":0,"img_blur":81,"img_spread":33,"img_shadowColor":"#9B9B9B38","commonStyles":{"desktop":".wp-admin .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-testimonial-du11v { display:block; opacity:1 }.eb-parent-eb-testimonial-du11v { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-testimonial"><div class="eb-parent-wrapper eb-parent-eb-testimonial-du11v "><div class="eb-testimonial-wrapper eb-testimonial-du11v layout-preset-3" data-id="eb-testimonial-du11v"><div class="eb-testimonial-container"><div class="eb-avatar-container avatar-inline "></div><div class="eb-description-container"><p class="eb-testimonial-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><div class="eb-userinfo-container"><p class="eb-testimonial-username">John Doe</p><p class="eb-testimonial-company">Company Name</p></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/testimonial --\x3e'}];function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function D(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?I(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const A=D(D(D(D(D(D(D(D(D(D(D(D({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layoutPreset:{type:"string",default:"layout-preset-1"},imageOverlayColor:{type:"string",default:"var(--eb-global-primary-color)"},avaterContainerFontSize:{type:"number",default:16},displayAvatar:{type:"boolean",default:!0},avatarInline:{type:"boolean",default:!0},avatarPosition:{type:"string",default:"flex-start"},avatarAlign:{type:"string",default:"center"},borderRadius:{type:"number",default:50},imageUrl:{type:"string"},imageId:{type:"string"},avatarOrder:{type:"number",default:1},userName:{selector:".eb-testimonial-username",source:"html",default:"John Doe"},companyName:{selector:".eb-testimonial-company",source:"html",default:"Company Name"},description:{selector:".eb-testimonial-description",source:"html",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},descTextAlign:{type:"string",default:"center"},textAlign:{type:"string",default:"center"},userInfoPos:{type:"string",default:"flex-start"},imagePosition:{type:"number",default:0},userNameColor:{type:"string",default:"var(--eb-global-primary-color)"},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},enableQuote:{type:"boolean",default:!0},quoteColor:{type:"string",default:"#edf1f7"},quoteSize:{type:"number",default:60},quoteHorizontalPosition:{type:"string",default:"flex-start"},quoteVerticalPosition:{type:"number",default:1},userInfoAlign:{type:"string",default:"center"},linkedMargin:{type:"boolean",default:!1},linkedPadding:{type:"boolean",default:!1},marginUnit:{type:"string",default:"px"},tabMarginUnit:{type:"string",default:"px"},mobMarginUnit:{type:"string",default:"px"},paddingUnit:{type:"string",default:"px"},tabPaddingUnit:{type:"string",default:"px"},mobPaddingUnit:{type:"string",default:"px"},nameSizeUnit:{type:"string",default:"px"},companySizeUnit:{type:"string",default:"px"},descriptionSizeUnit:{type:"string",default:"px"},quoteSizeUnit:{type:"string",default:"px"},companyColor:{type:"string",default:"var(--eb-global-heading-color)"},bgPositon:{type:"string"},showRating:{type:"boolean",default:!1},rating:{type:"number",default:5},ratingColor:{type:"string",default:"#f2b01e"},ratingIndivisual:{type:"boolean",default:!1},ratingPosition:{type:"number",default:3}},(0,E.generateDimensionsAttributes)("margin",{top:10,bottom:10,right:10,left:10})),(0,E.generateDimensionsAttributes)("padding",{top:10,bottom:10,right:10,left:10})),(0,E.generateTypographyAttributes)("username")),(0,E.generateTypographyAttributes)("company")),(0,E.generateTypographyAttributes)("description")),(0,E.generateBorderShadowAttributes)(p,{})),(0,E.generateBackgroundAttributes)(u,{defaultFillColor:"#fff",defaultBgGradient:"linear-gradient(45deg,#fff,#fff)"})),(0,E.generateResponsiveRangeAttributes)(f,{defaultRange:14})),(0,E.generateResponsiveRangeAttributes)(g,{defaultRange:60})),(0,E.generateResponsiveRangeAttributes)(d,{})),(0,E.generateResponsiveRangeAttributes)(m,{defaultRange:15})),(0,E.generateBorderShadowAttributes)(b,{}));function M(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.avaterContainerFontSize),l=t.displayAvatar,c=t.avatarInline,i=t.avatarPosition,s=t.avatarAlign,y=t.borderRadius,h=t.avatarOrder,v=t.imageUrl,w=t.descTextAlign,k=t.userInfoAlign,R=t.textAlign,_=t.userInfoPos,C=t.imagePosition,x=t.userNameColor,S=t.descriptionColor,B=t.quoteColor,T=t.companyColor,N=t.quoteHorizontalPosition,P=t.quoteVerticalPosition,O=(t.classHook,t.imgWidth_Range),I=t.img_Bdr_Bottom,D=t.img_Bdr_Top,A=t.img_Bdr_Left,M=t.img_Bdr_Right,L=t.img_Bdr_Unit,F=t.imgWidth_Unit,j=t.TABimgWidth_Range,H=t.TABimg_Bdr_Bottom,z=t.TABimg_Bdr_Top,U=t.TABimg_Bdr_Left,V=t.TABimg_Bdr_Right,G=t.TABimg_Bdr_Unit,q=t.TABimgWidth_Unit,W=t.MOBimgWidth_Range,Z=t.MOBimg_Bdr_Bottom,J=t.MOBimg_Bdr_Top,Y=t.MOBimg_Bdr_Left,Q=t.MOBimg_Bdr_Right,X=t.MOBimg_Bdr_Unit,$=t.MOBimgWidth_Unit,K=t.ratingColor,ee=t.ratingPosition,te=t.imageOverlayColor,ae=(0,E.generateTypographyStyles)({attributes:t,prefixConstant:"username"}),ne=ae.typoStylesDesktop,oe=ae.typoStylesTab,re=ae.typoStylesMobile,le=(0,E.generateTypographyStyles)({attributes:t,prefixConstant:"company"}),ce=le.typoStylesDesktop,ie=le.typoStylesTab,se=le.typoStylesMobile,pe=(0,E.generateTypographyStyles)({attributes:t,prefixConstant:"description"}),be=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ue=(0,E.generateDimensionsControlStyles)({controlName:"margin",styleFor:"margin",attributes:t}),ge=ue.dimensionStylesDesktop,fe=ue.dimensionStylesTab,ye=ue.dimensionStylesMobile,he=(0,E.generateDimensionsControlStyles)({controlName:"padding",styleFor:"padding",attributes:t}),ve=he.dimensionStylesDesktop,we=he.dimensionStylesTab,ke=he.dimensionStylesMobile,Re=(0,E.generateBorderShadowStyles)({controlName:p,attributes:t}),_e=Re.styesDesktop,Ce=Re.styesTab,Ee=Re.styesMobile,xe=Re.stylesHoverDesktop,Se=Re.stylesHoverTab,Be=Re.stylesHoverMobile,Te=Re.transitionStyle,Ne=(0,E.generateBorderShadowStyles)({controlName:b,attributes:t}),Pe=Ne.styesDesktop,Oe=Ne.styesTab,Ie=Ne.styesMobile,De=Ne.stylesHoverDesktop,Ae=Ne.stylesHoverTab,Me=Ne.stylesHoverMobile,Le=Ne.transitionStyle,Fe=(0,E.generateResponsiveRangeStyles)({controlName:f,property:"font-size",attributes:t}),je=Fe.rangeStylesDesktop,He=Fe.rangeStylesTab,ze=Fe.rangeStylesMobile,Ue=(0,E.generateResponsiveRangeStyles)({controlName:g,property:"height",attributes:t}),Ve=Ue.rangeStylesDesktop,Ge=Ue.rangeStylesTab,qe=Ue.rangeStylesMobile,We=(0,E.generateResponsiveRangeStyles)({controlName:g,property:"width",attributes:t}),Ze=We.rangeStylesDesktop,Je=We.rangeStylesTab,Ye=We.rangeStylesMobile,Qe=(0,E.generateResponsiveRangeStyles)({controlName:d,property:"width",attributes:t}),Xe=Qe.rangeStylesDesktop,$e=Qe.rangeStylesTab,Ke=Qe.rangeStylesMobile,et=(0,E.generateResponsiveRangeStyles)({controlName:m,property:"gap",attributes:t}),tt=et.rangeStylesDesktop,at=et.rangeStylesTab,nt=et.rangeStylesMobile,ot=(0,E.generateResponsiveRangeStyles)({controlName:d,property:"height",attributes:t}),rt=ot.rangeStylesDesktop,lt=ot.rangeStylesTab,ct=ot.rangeStylesMobile,it=(0,E.generateBackgroundControlStyles)({attributes:t,controlName:u}),st=it.backgroundStylesDesktop,pt=it.hoverBackgroundStylesDesktop,bt=it.backgroundStylesTab,dt=it.hoverBackgroundStylesTab,mt=it.backgroundStylesMobile,ut=it.hoverBackgroundStylesMobile,gt=it.overlayStylesDesktop,ft=it.hoverOverlayStylesDesktop,yt=it.overlayStylesTab,ht=it.hoverOverlayStylesTab,vt=it.overlayStylesMobile,wt=it.hoverOverlayStylesMobile,kt=it.bgTransitionStyle,Rt=it.ovlTransitionStyle,_t="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(st,"\n\t\t\t").concat(ge,"\n\t\t\t").concat(ve,"\n\t\t\t").concat(_e,"\n\t\t\ttransition:").concat(kt,", ").concat(Te,";\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat(pt,"\n\t\t\t").concat(xe,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(gt,"\n\t\t\ttransition:").concat(Rt,";\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ft,"\n\t\t}\n\t"),Ct="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(fe,"\n\t\t\t").concat(we,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(bt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat(dt,"\n\t\t\t").concat(Se,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(yt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ht,"\n\t\t}\n\t"),Et="\n\t\t.eb-testimonial-wrapper.".concat(o," {\n\t\t\t").concat(ye,"\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(mt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover{\n\t\t\t").concat(ut,"\n\t\t\t").concat(Be,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":before{\n\t\t\t").concat(vt,"\n\t\t}\n\n\t\t.eb-testimonial-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(wt,"\n\t\t}\n\t"),xt="\n\t\t.".concat(o," .eb-avatar-container {\n\t\t\torder: ").concat(h,";\n\t\t\tjustify-content: ").concat(i,";\n\t\t\talign-items: ").concat(s,";\n\t\t\tfont-size: ").concat(r,"px;\n\t\t\tflex-direction: ").concat(c?"row":"column",";\n\t\t}\n\t"),St="\n .".concat(o," .eb-avatar-container {\n ").concat(tt,"\n }\n\t\t.").concat(o," .image-container {\n\t\t\torder: ").concat(C,";\n\t\t\tdisplay: ").concat(l?"block":"none",";\n\t\t}\n\t\t.").concat(o," .eb-avatar-style,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n\t\t\tbackground-image: url(").concat(v,");\n\t\t\tborder-radius: ").concat(y,"%;\n\t\t\tdisplay: ").concat(v?"block":"none",";\n ").concat(Xe,"\n ").concat(rt,"\n ").concat(Pe,"\n ").concat(Le,"\n\t\t}\n\t\t.").concat(o," .eb-avatar-style:hover,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style:hover {\n ").concat(De,"\n\t\t}\n\n .").concat(o,".layout-preset-2 .image-container::before,\n .").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n ").concat(Xe,"\n ").concat(rt,"\n }\n\n .").concat(o,".layout-preset-2 .image-container::before {\n width: calc(").concat(O).concat(F," - (").concat(A).concat(L," + ").concat(M).concat(L,"));\n height: calc(").concat(O).concat(F," - (").concat(D).concat(L," + ").concat(I).concat(L,"));\n background-color: ").concat(te,";\n }\n\n\t"),Bt="\n .".concat(o," .eb-avatar-container {\n ").concat(at,"\n }\n\t\t.").concat(o," .eb-avatar-style,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n ").concat($e,"\n ").concat(lt,"\n ").concat(Oe,"\n\t\t}\n .").concat(o," .eb-avatar-style:hover,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style:hover {\n ").concat(Ae,"\n\t\t}\n\n .").concat(o,".layout-preset-2 .image-container::before {\n width: calc(").concat(j||O).concat(q," - (").concat(U||A).concat(G," + ").concat(V||M).concat(G,"));\n height: calc(").concat(j||O).concat(q," - (").concat(z||D).concat(G," + ").concat(H||I).concat(G,"));\n }\n\n\t"),Tt="\n .".concat(o," .eb-avatar-container {\n ").concat(nt,"\n }\n\t\t.").concat(o," .eb-avatar-style,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style {\n ").concat(Ke,"\n ").concat(ct,"\n ").concat(Ie,"\n\t\t}\n .").concat(o," .eb-avatar-style:hover,\n .eb-testimonial-wrapper.").concat(o,".layout-preset-2 .image-container .eb-avatar-style:hover {\n ").concat(Me,"\n\t\t}\n\n .").concat(o,".layout-preset-2 .image-container::before {\n width: calc(").concat(W||O).concat($," - (").concat(Y||A).concat(X," + ").concat(Q||M).concat(X,"));\n height: calc(").concat(W||O).concat($," - (").concat(J||D).concat(X," + ").concat(Z||I).concat(X,"));\n }\n\n\t"),Nt="\n\t\t.".concat(o," .eb-userinfo-container {\n\t\t\ttext-align: ").concat(R,";\n\t\t\tjustify-content: ").concat(_,";\n\t\t\talign-self: ").concat(k,";\n\t\t}\n\t"),Pt="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(ne,"\n\t\t\tcolor: ").concat(x,";\n\t\t}\n\t"),Ot="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(oe,"\n\t\t}\n\t"),It="\n\t\t.".concat(o," .eb-testimonial-username {\n\t\t\t").concat(re,"\n\t\t}\n\t"),Dt="\n .".concat(o," .eb-testimonial-rating {\n text-align: ").concat(w,";\n }\n\n ").concat(2===ee?".".concat(o," .eb-testimonial-rating {\n order: 2;\n }\n .").concat(o," .eb-testimonial-description {\n order: 3;\n }"):"","\n ").concat(3===ee?".".concat(o," .eb-testimonial-rating {\n order: ").concat(ee,";\n }\n .").concat(o," .eb-testimonial-description {\n order: 2;\n }"):"","\n\n\n .").concat(o," .eb-testimonial-rating i {\n ").concat(je,"\n }\n .").concat(o," .eb-testimonial-rating.rating-1 i:nth-child(-n+1),\n\t\t.").concat(o," .eb-testimonial-rating.rating-2 i:nth-child(-n+2),\n\t\t.").concat(o," .eb-testimonial-rating.rating-3 i:nth-child(-n+3),\n\t\t.").concat(o," .eb-testimonial-rating.rating-4 i:nth-child(-n+4),\n\t\t.").concat(o," .eb-testimonial-rating.rating-5 i:nth-child(-n+5) {\n\t\t\tcolor: ").concat(K,";\n\t\t}\n\t"),At="\n .".concat(o," .eb-testimonial-rating i {\n ").concat(He,"\n }\n\t"),Mt="\n .".concat(o," .eb-testimonial-rating i {\n ").concat(ze,"\n }\n\t"),Lt="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(ce,"\n\t\t\tcolor: ").concat(T,";\n\t\t}\n\t"),Ft="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(ie,"\n\t\t}\n\t"),jt="\n\t\t.".concat(o," .eb-testimonial-company {\n\t\t\t").concat(se,"\n\t\t}\n\t"),Ht="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(be,"\n\t\t\ttext-align: ").concat(w,";\n\t\t\tcolor: ").concat(S,";\n\t\t\tpadding-right: 20px;\n\t\t\tword-break: break-word;\n\t\t}\n\t\t").concat("flex-end"===N?".".concat(o," .eb-description-container {\n\t\t\t\tflex-direction: row-reverse;\n\t\t\t}\n\t\t\t.").concat(o," .eb-description-container .eb-testimonial-quote-style {\n\t\t\t\ttransform: rotateY(180deg);\n\t\t\t}"):".".concat(o,"center"===N?1==P?" .eb-description-container {\n\t\t\t\t\t\tflex-direction: column;\n\t\t\t\t\t}":" .eb-description-container {\n\t\t\t\t\t\tflex-direction: column-reverse;\n\t\t\t\t\t}":" .eb-description-container {\n\t\t\t\t\tflex-direction: row;\n\t\t\t\t}"),"\n\t"),zt="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(de,"\n\t\t}\n\t"),Ut="\n\t\t.".concat(o," .eb-description-container p {\n\t\t\t").concat(me,"\n\t\t}\n\t"),Vt="\n\t\t.".concat(o," .eb-testimonial-quote-style:before {\n\t\t\tcontent: none;\n\t\t}\n\t\t.").concat(o," .eb-testimonial-quote-style svg {\n\t\t\tfill: ").concat(B,";\n\t\t\t").concat(Ve,"\n\t\t\t").concat(Ze,"\n\t\t}\n\t"),Gt="\n\t\t.".concat(o," .eb-testimonial-quote-style svg {\n\t\t\t").concat(Ge,"\n\t\t\t").concat(Je,"\n\t\t}\n\t"),qt="\n\t\t.".concat(o," .eb-testimonial-quote-style svg {\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ye,"\n\t\t}\n\t"),Wt=(0,E.softMinifyCssStrings)("\n\t\t".concat(_t,"\n\t\t").concat(xt,"\n\t\t").concat(St,"\n\t\t").concat(Nt,"\n\t\t").concat(Pt,"\n\t\t").concat(Lt,"\n\t\t").concat(Ht,"\n\t\t").concat(Vt,"\n\t\t").concat(Dt,"\n\t")),Zt=(0,E.softMinifyCssStrings)("\n\t\t".concat(Ct,"\n\t\t").concat(Ot,"\n\t\t").concat(Ft,"\n\t\t").concat(zt,"\n\t\t").concat(Gt,"\n ").concat(Bt,"\n ").concat(At,"\n\t")),Jt=(0,E.softMinifyCssStrings)("\n\t\t".concat(Et,"\n\t\t").concat(It,"\n\t\t").concat(jt,"\n\t\t").concat(Ut,"\n\t\t").concat(qt,"\n ").concat(Tt,"\n ").concat(Mt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(E.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Wt,tabAllStyles:Zt,mobileAllStyles:Jt,blockName:n}))}const L=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"123.961",height:"123.961",x:"0",y:"0",enableBackground:"new 0 0 123.961 123.961",version:"1.1",viewBox:"0 0 123.961 123.961",xmlSpace:"preserve"},React.createElement("path",{d:"M49.8 29.032c3.1-1.3 4.4-5 3-8l-4.9-10.3c-1.4-2.899-4.8-4.2-7.8-2.899-8.5 3.6-15.8 8.3-21.6 14C11.4 28.532 6.6 36.232 4 44.732c-2.6 8.601-4 20.3-4 35.2v30.7c0 3.3 2.7 6 6 6h39.3c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H26.5c.2-10.101 2.6-18.2 7-24.301 3.6-4.898 9-8.898 16.3-11.999zM120.4 29.032c3.1-1.3 4.399-5 3-8l-4.9-10.199c-1.4-2.9-4.8-4.2-7.8-2.9-8.4 3.6-15.601 8.3-21.5 13.9-7.101 6.8-12 14.5-14.601 23-2.6 8.399-3.899 20.1-3.899 35.1v30.7c0 3.3 2.7 6 6 6H116c3.3 0 6-2.7 6-6v-39.3c0-3.301-2.7-6-6-6H97.1c.2-10.101 2.601-18.2 7-24.301 3.6-4.899 9-8.899 16.3-12z"}))};function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=(0,c.memo)((0,E.withBlockContext)(A)(function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.clientId,e.isSelected),l=(e.name,t.resOption,t.blockId),c=(t.blockMeta,t.imageId),p=t.imageUrl,b=t.userName,d=t.companyName,m=t.description,u=t.enableQuote,g=t.classHook,f=t.layoutPreset,y=t.showRating,h=t.rating,v=t.ratingIndivisual,w=t.showBlockContent,k=function(e,t,a){return void 0===e?"":e.replace(new RegExp(t,"g"),a)};t.className=k(t.className,"eb-testimonial-wrapper",""),t.className=k(t.className,l,"");var R=j(j({},e),{},{blockPrefix:"eb-testimonial",style:React.createElement(M,e)});return React.createElement(React.Fragment,null,r&&w&&React.createElement(x,{attributes:t,setAttributes:a}),React.createElement(E.BlockProps.Edit,R,React.createElement(E.BrowseTemplate,(0,o.A)({},e,{Icon:P,title:"Testimonial",description:"Choose a template for the Testimonial or start blank.",patterns:O})),w&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(g)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(l," ").concat(f),"data-id":l},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container"},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"}),React.createElement(i.MediaUpload,{onSelect:function(e){return a({imageUrl:e.url,imageId:e.id})},type:"image",value:c,render:function(e){var t=e.open;return!p&&React.createElement(s.Button,{className:"eb-testimonial-image components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}})),"layout-preset-3"!==f&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText,{tagName:"p",className:"eb-testimonial-username",value:b,onChange:function(e){return a({userName:e})}}),React.createElement(i.RichText,{tagName:"p",className:"eb-testimonial-company",value:d,onChange:function(e){return a({companyName:e})}}),y&&!v&&0!=h&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(h)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},u&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(L,null)),React.createElement(i.RichText,{tagName:"p",className:"eb-testimonial-description",value:m,onChange:function(e){return a({description:e})}}),y&&v&&0!=h&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(h)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==f&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText,{tagName:"p",className:"eb-testimonial-username",value:b,onChange:function(e){return a({userName:e})}}),React.createElement(i.RichText,{tagName:"p",className:"eb-testimonial-company",value:d,onChange:function(e){return a({companyName:e})}}),y&&!v&&0!=h&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(h)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))))})),z=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Testimonial","name":"essential-blocks/testimonial","description":"Display testimonials & gain instant credibility","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var U;const V={attributes:{imageUrl:(null===(U=EssentialBlocksLocalize)||void 0===U?void 0:U.eb_plugins_url)+"assets/images/user.jpg"}};function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var W=lodash.omit;const Z=[{attributes:q({},A),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.avatarInline,o=t.userName,r=t.companyName,l=t.description,c=t.enableQuote,s=t.classHook,p=t.layoutPreset,b=t.showRating,d=t.rating,m=t.ratingIndivisual,u=t.imageUrl;if(t.showBlockContent){var g,f,y=(g=q({},i.useBlockProps.save()).className,f="eb-testimonial-wrapper "+a,g?g.replace(new RegExp(f,"g"),""):"").trim(),h=q(q({},i.useBlockProps.save()),{},{className:y});return React.createElement("div",h,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(s)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(a," ").concat(p),"data-id":a},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(n?"avatar-inline":"avatar-basic"," ")},u&&React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),"layout-preset-3"!==p&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}),b&&!m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},c&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(L,null)),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:l}),b&&m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==p&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}),b&&!m&&0!=d&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(d)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))}}},{attributes:q({},W(q({},A),["layoutPreset","imageOverlayColor","showRating","rating","ratingIndivisual"])),supports:{align:["wide","full"]},save:function(e){var t,a,n=e.attributes,o=n.blockId,r=n.avatarInline,l=n.userName,c=n.companyName,s=n.description,p=n.enableQuote,b=n.classHook,d=(t=q({},i.useBlockProps.save()).className,a="eb-testimonial-wrapper "+o,t?t.replace(new RegExp(a,"g"),""):"").trim(),m=q(q({},i.useBlockProps.save()),{},{className:d});return React.createElement("div",m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(b)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(o),"data-id":o},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(r?"avatar-inline":"avatar-basic"," ")},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:l}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:c}))),React.createElement("div",{className:"eb-description-container"},p&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(L,null)),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:s}))))))}},{attributes:q({},A),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.avatarInline,o=t.userName,r=t.companyName,l=t.description,c=t.enableQuote;return React.createElement("div",{className:"eb-testimonial-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(n?"avatar-inline":"avatar-basic"," ")},React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:o}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:r}))),React.createElement("div",{className:"eb-description-container"},c&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(L,null)),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:l}))))}}];(0,E.ebConditionalRegisterBlockType)(z,{icon:P,attributes:A,keywords:[(0,n.__)("testimonial","essential-blocks"),(0,n.__)("about","essential-blocks"),(0,n.__)("eb quote","essential-blocks")],edit:H,save:function(e){var t,a,n=e.attributes,o=n.blockId,r=n.avatarInline,l=n.userName,c=n.companyName,s=n.description,p=n.enableQuote,b=n.classHook,d=n.layoutPreset,m=n.showRating,u=n.rating,g=n.ratingIndivisual,f=n.imageUrl;if(n.showBlockContent)return n.className=(t=n.className,a="eb-testimonial-wrapper "+o,t?t.replace(new RegExp(a,"g"),""):"").trim(),React.createElement(E.BlockProps.Save,{attributes:n},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(b)},React.createElement("div",{className:"eb-testimonial-wrapper ".concat(o," ").concat(d),"data-id":o},React.createElement("div",{className:"eb-testimonial-container"},React.createElement("div",{className:"eb-avatar-container ".concat(r?"avatar-inline":"avatar-basic"," ")},f&&React.createElement("div",{className:"image-container"},React.createElement("div",{className:"eb-avatar-style"})),"layout-preset-3"!==d&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:l}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:c}),m&&!g&&0!=u&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(u)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))),React.createElement("div",{className:"eb-description-container"},p&&React.createElement("div",{className:"eb-testimonial-quote-style"},React.createElement(L,null)),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-description",value:s}),m&&g&&0!=u&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(u)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}))),"layout-preset-3"==d&&React.createElement("div",{className:"eb-userinfo-container"},React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-username",value:l}),React.createElement(i.RichText.Content,{tagName:"p",className:"eb-testimonial-company",value:c}),m&&!g&&0!=u&&React.createElement("div",{className:"eb-testimonial-rating rating-".concat(u)},React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"}),React.createElement("i",{className:"fa fa-star","aria-hidden":"true"})))))))},example:V,deprecated:Z})},3201:(e,t,a)=>{var n=a(7723),o=a(5694),r=a(4467),l=a(1609),c=a(8468),i=a(6427),s="wrprBg",p="wrpMargin",b="wrpPadding",d="wrpBorderShadow",m="prefixIcon",u="suffixIcon",g=[{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],f=((0,n.__)("Inline","essential-blocks"),(0,n.__)("Stacked","essential-blocks"),[{label:(0,n.__)("icon","essential-blocks"),value:"icon"},{label:(0,n.__)("Text","essential-blocks"),value:"text"}]),y=[{label:(0,n.__)("Regular","essential-blocks"),value:"regular"},{label:(0,n.__)("Sale","essential-blocks"),value:"sale"}],h=[{label:(0,n.__)("Basline","essential-blocks"),value:"baseline"},{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"},{label:(0,n.__)("Middle","essential-blocks"),value:"middle"},{label:(0,n.__)("Sub","essential-blocks"),value:"sub"},{label:(0,n.__)("Super","essential-blocks"),value:"super"},{label:(0,n.__)("Text Top","essential-blocks"),value:"text-top"},{label:(0,n.__)("Text Bottom","essential-blocks"),value:"text-bottom"}],v="originalPrice",w="salepriceText",k="prefix_typo",R="suffix_typo";function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const E=C(C(C(C(C(C(C(C(C(C({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},pricePlacement:{type:"string",default:"left"},priceAlignment:{type:"string",default:"flex-start"},priceType:{type:"string",default:"regular"},currencyColor:{type:"string"},regularPriceCurrencyColor:{type:"string"},salePriceCurrencyColor:{type:"string"},currencySize:{type:"number",default:25},regularPriceCurrencySize:{type:"number"},salePriceCurrencySize:{type:"number"},priceTextColor:{type:"string"},priceTextBGColor:{type:"string"},salePriceTextColor:{type:"string"},salePriceTextBGColor:{type:"string"},showPrefix:{type:"boolean",default:!1},showSuffix:{type:"boolean",default:!1},prefixType:{type:"string",default:"text"},prefixIcon:{type:"string",default:"far fa-check-circle"},prefixText:{type:"string",default:"Limited Time Offer"},prefixColor:{type:"string",default:"var(--eb-global-text-color)"},prefixBGColor:{type:"string"},suffixType:{type:"string",default:"text"},suffixIcon:{type:"string",default:"far fa-check-circle"},suffixText:{type:"string",default:"Sales Ongoing "},suffixColor:{type:"string",default:"var(--eb-global-text-color)"},suffixBGColor:{type:"string"},currencyAlign:{type:"string",default:"baseline"}},(0,o.generateTypographyAttributes)(v,{fontSize:25})),(0,o.generateTypographyAttributes)(w,{fontSize:25})),(0,o.generateTypographyAttributes)(k,{fontSize:16})),(0,o.generateTypographyAttributes)(R,{fontSize:16})),(0,o.generateDimensionsAttributes)(p)),(0,o.generateDimensionsAttributes)(b)),(0,o.generateBorderShadowAttributes)(d,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,o.generateBackgroundAttributes)(s,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,o.generateResponsiveRangeAttributes)(m,{defaultRange:20})),(0,o.generateResponsiveRangeAttributes)(u,{defaultRange:20})),x=function(e){var t=e.attributes,a=e.setAttributes,r=(t.resOption,t.pricePlacement),l=t.priceAlignment,c=t.priceTextColor,_=t.priceTextBGColor,C=t.salePriceTextColor,E=t.salePriceTextBGColor,x=t.prefixType,S=t.prefixIcon,B=t.prefixText,T=t.prefixColor,N=t.prefixBGColor,P=t.suffixType,O=t.suffixIcon,I=t.suffixText,D=t.suffixColor,A=t.suffixBGColor,M=t.showPrefix,L=t.showSuffix,F=t.currencyColor,j=t.currencySize,H=t.priceType,z=t.regularPriceCurrencyColor,U=t.salePriceCurrencyColor,V=t.regularPriceCurrencySize,G=t.salePriceCurrencySize,q=t.currencyAlign;return React.createElement(o.InspectorPanel,{advancedControlProps:{marginPrefix:p,paddingPrefix:b,backgroundPrefix:s,borderPrefix:d,hasMargin:!0}},React.createElement(o.InspectorPanel.General,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(i.SelectControl,{label:(0,n.__)("Sale Price Position","essential-blocks"),value:r,options:[{label:"After Regular Price",value:"left"},{label:"Before Regular Price",value:"right"}],onChange:function(e){a({pricePlacement:e})}}),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Prefix & Suffix","essential-blocks"),initialOpen:!0},React.createElement(i.ToggleControl,{label:(0,n.__)("Show Prefix","essential-blocks"),checked:M,onChange:function(){return a({showPrefix:!M})}}),!0===M&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,{label:(0,n.__)("Prefix Type","essential-blocks")},React.createElement(i.ButtonGroup,null,f.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:x!==o,isPrimary:x===o,onClick:function(){return a({prefixType:o})}},n)}))),"icon"===x&&React.createElement(o.EBIconPicker,{value:S,attributeName:"prefixIcon"}),"text"===x&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Prefix Text",attrName:"prefixText",inputValue:B,setAttributes:a,onChange:function(e){return a({prefixText:e})}}))),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Suffix","essential-blocks"),checked:L,onChange:function(){return a({showSuffix:!L})}}),!0===L&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,{label:(0,n.__)("Sufix Type","essential-blocks")},React.createElement(i.ButtonGroup,null,f.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:P!==o,isPrimary:P===o,onClick:function(){return a({suffixType:o})}},n)}))),"icon"===P&&React.createElement(o.EBIconPicker,{value:O,attributeName:"suffixIcon"}),"text"===P&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Suffix Text",attrName:"suffixText",inputValue:I,setAttributes:a,onChange:function(e){return a({suffixText:e})}})))))),React.createElement(o.InspectorPanel.Style,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(i.ButtonGroup,null,g.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({priceAlignment:e.value})}},e.label)}))),React.createElement(i.__experimentalDivider,null),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Regular Price","essential-blocks"))),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:c,attributeName:"priceTextColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:_,attributeName:"priceTextBGColor"}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:v}),React.createElement(i.__experimentalDivider,null),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sale Price","essential-blocks"))),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:C,attributeName:"salePriceTextColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:E,attributeName:"salePriceTextBGColor"}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Currency Sign","essential-blocks"))),React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:F,attributeName:"currencyColor"}),React.createElement(i.RangeControl,{label:(0,n.__)("Size","essential-blocks"),value:j,onChange:function(e){return a({currencySize:e})},min:1,max:1e3,step:1,allowReset:!0}),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,y.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:H!==o,isPrimary:H===o,onClick:function(){return a({priceType:o})}},n)}))),"regular"===H&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:z,attributeName:"regularPriceCurrencyColor"}),React.createElement(i.RangeControl,{label:(0,n.__)("Size","essential-blocks"),value:V,onChange:function(e){return a({regularPriceCurrencySize:e})},min:1,max:1e3,step:1,allowReset:!0})),"sale"===H&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:U,attributeName:"salePriceCurrencyColor"}),React.createElement(i.RangeControl,{label:(0,n.__)("Size","essential-blocks"),value:G,onChange:function(e){return a({salePriceCurrencySize:e})},min:1,max:1e3,step:1,allowReset:!0})),React.createElement(i.SelectControl,{label:(0,n.__)("Alignment","essential-blocks"),value:q,options:h,onChange:function(e){return a({currencyAlign:e})}}),React.createElement(i.__experimentalDivider,null),!0===M&&React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Prefix"),initialOpen:!0},React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:T,attributeName:"prefixColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:N,attributeName:"prefixBGColor"}),"icon"===x&&S&&React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:m,min:8,max:200,step:1}),"text"===x&&React.createElement(o.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:k})),!0===L&&React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Suffix"),initialOpen:!0},React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:D,attributeName:"suffixColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:A,attributeName:"suffixBGColor"}),"icon"===P&&O&&React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:u,min:8,max:200,step:1}),"text"===P&&React.createElement(o.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:R})))))};function S(e){var t=e.attributes,a=e.setAttributes,n=e.name,r=(t.resOption,t.blockMeta,t.blockId),l=t.priceTextColor,c=t.priceTextBGColor,i=t.priceAlignment,g=t.salePriceTextColor,f=t.salePriceTextBGColor,y=t.prefixColor,h=t.prefixBGColor,_=t.suffixColor,C=t.suffixBGColor,E=t.currencyColor,x=t.currencySize,S=t.regularPriceCurrencyColor,B=t.salePriceCurrencyColor,T=t.regularPriceCurrencySize,N=t.salePriceCurrencySize,P=t.currencyAlign,O=(0,o.generateDimensionsControlStyles)({controlName:p,styleFor:"margin",attributes:t}),I=O.dimensionStylesDesktop,D=O.dimensionStylesTab,A=O.dimensionStylesMobile,M=(0,o.generateDimensionsControlStyles)({controlName:b,styleFor:"padding",attributes:t}),L=M.dimensionStylesDesktop,F=M.dimensionStylesTab,j=M.dimensionStylesMobile,H=(0,o.generateBackgroundControlStyles)({attributes:t,controlName:s}),z=H.backgroundStylesDesktop,U=H.hoverBackgroundStylesDesktop,V=H.backgroundStylesTab,G=H.hoverBackgroundStylesTab,q=H.backgroundStylesMobile,W=H.hoverBackgroundStylesMobile,Z=H.overlayStylesDesktop,J=H.hoverOverlayStylesDesktop,Y=H.overlayStylesTab,Q=H.hoverOverlayStylesTab,X=H.overlayStylesMobile,$=H.hoverOverlayStylesMobile,K=H.bgTransitionStyle,ee=H.ovlTransitionStyle,te=(0,o.generateBorderShadowStyles)({controlName:d,attributes:t}),ae=te.styesDesktop,ne=te.styesTab,oe=te.styesMobile,re=te.stylesHoverDesktop,le=te.stylesHoverTab,ce=te.stylesHoverMobile,ie=te.transitionStyle,se=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:v}),pe=se.typoStylesDesktop,be=se.typoStylesTab,de=se.typoStylesMobile,me=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:w}),ue=me.typoStylesDesktop,ge=me.typoStylesTab,fe=me.typoStylesMobile,ye=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:k}),he=ye.typoStylesDesktop,ve=ye.typoStylesTab,we=ye.typoStylesMobile,ke=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:R}),Re=ke.typoStylesDesktop,_e=ke.typoStylesTab,Ce=ke.typoStylesMobile,Ee=(0,o.generateResponsiveRangeStyles)({controlName:m,property:"font-size",attributes:t}),xe=Ee.rangeStylesDesktop,Se=Ee.rangeStylesTab,Be=Ee.rangeStylesMobile,Te=(0,o.generateResponsiveRangeStyles)({controlName:u,property:"font-size",attributes:t}),Ne=Te.rangeStylesDesktop,Pe=Te.rangeStylesTab,Oe=Te.rangeStylesMobile,Ie="\n\t\t.".concat(r,".eb-product-price-wrapper {\n\t\t\t").concat(I,"\n\t\t\t").concat(L,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(z,"\n\t\t\ttransition:").concat(K,", ").concat(ie,";\n\n justify-content: ").concat(i,";\n\t\t}\n .").concat(r,".eb-product-price-wrapper:hover {\n\t\t\t").concat(U,"\n\t\t\t").concat(re,"\n\t\t}\n .").concat(r,".eb-product-price-wrapper:before{\n\t\t\t").concat(Z,"\n\t\t\ttransition:").concat(ee,";\n\t\t}\n\n\t\t.").concat(r,".eb-product-price-wrapper:hover:before{\n\t\t\t").concat(J,"\n\t\t}\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .woocommerce-Price-currencySymbol,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .eb-product-price-currency {\n vertical-align: ").concat(P,";\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .eb-product-price-regular,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .amount,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > del{\n ").concat(l?"color: ".concat(l,";"):"","\n ").concat(c?"background-color: ".concat(c,";"):"","\n ").concat(pe,"\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .eb-product-price-regular .eb-product-price-currency,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > del .woocommerce-Price-currencySymbol,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .amount > .woocommerce-Price-currencySymbol{\n ").concat("color: ".concat(S||E,";"),"\n ").concat("font-size: ".concat(T||x,"px;"),"\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price ins,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .eb-product-price-sale {\n ").concat(g?"color: ".concat(g,";"):"","\n ").concat(f?"background-color: ".concat(f,";"):"","\n ").concat(ue,"\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price ins .woocommerce-Price-currencySymbol,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .eb-product-price-sale .eb-product-price-currency {\n ").concat("color: ".concat(B||E,";"),"\n ").concat("font-size: ".concat(N||x,"px;"),"\n }\n\n .").concat(r,".eb-product-price-wrapper .prefix-wrap *:not(i){\n color: ").concat(y,";\n background-color: ").concat(h,";\n ").concat(he,"\n }\n\n .").concat(r,".eb-product-price-wrapper .prefix-wrap i {\n color: ").concat(y,";\n background-color: ").concat(h,";\n ").concat(xe,"\n }\n\n .").concat(r,".eb-product-price-wrapper .suffix-wrap *:not(i){\n color: ").concat(_,";\n background-color: ").concat(C,";\n ").concat(Re,"\n }\n\n .").concat(r,".eb-product-price-wrapper .suffix-wrap i {\n color: ").concat(_,";\n background-color: ").concat(C,";\n ").concat(Ne,"\n }\n\n\t"),De="\n\t\t.".concat(r,".eb-product-price-wrapper {\n\t\t\t").concat(D,"\n\t\t\t").concat(F,"\n\t\t\t").concat(ne,"\n\t\t\t").concat(V,"\n\t\t}\n .").concat(r,".eb-product-price-wrapper:hover {\n\t\t\t").concat(le,"\n ").concat(G,"\n\t\t}\n .").concat(r,".eb-product-price-wrapper:before{\n\t\t\t").concat(Y,"\n\t\t}\n\t\t.").concat(r,".eb-product-price-wrapper:hover:before{\n\t\t\t").concat(Q,"\n\t\t}\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .eb-product-price-regular,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .amount,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > del{\n ").concat(be,"\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price ins,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .eb-product-price-sale {\n ").concat(ge,"\n }\n\n .").concat(r,".eb-product-price-wrapper .prefix-wrap *:not(i){\n ").concat(ve,"\n }\n\n .").concat(r,".eb-product-price-wrapper .prefix-wrap i {\n ").concat(Se,"\n }\n\n .").concat(r,".eb-product-price-wrapper .suffix-wrap *:not(i){\n ").concat(_e,"\n }\n\n .").concat(r,".eb-product-price-wrapper .suffix-wrap i {\n ").concat(Pe,"\n }\n\t"),Ae="\n\t\t.".concat(r,".eb-icon-wrapper {\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(oe,"\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.").concat(r,".eb-icon-wrapper:hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(ce,"\n\t\t}\n\n .").concat(r,".eb-product-price-wrapper:before{\n\t\t\t").concat(X,"\n\t\t}\n\t\t.").concat(r,".eb-product-price-wrapper:hover:before{\n\t\t\t").concat($,"\n\t\t}\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .eb-product-price-regular,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > .amount,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price > del{\n ").concat(de,"\n }\n\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price ins,\n .").concat(r,".eb-product-price-wrapper .eb-woo-product-price .eb-product-price-sale {\n ").concat(fe,"\n }\n .").concat(r,".eb-product-price-wrapper .prefix-wrap *:not(i){\n ").concat(we,"\n }\n .").concat(r,".eb-product-price-wrapper .prefix-wrap i {\n ").concat(Be,"\n }\n .").concat(r,".eb-product-price-wrapper .suffix-wrap *:not(i){\n ").concat(Ce,"\n }\n .").concat(r,".eb-product-price-wrapper .suffix-wrap i {\n ").concat(Oe,"\n }\n\t"),Me=(0,o.softMinifyCssStrings)("\n\t\t".concat(Ie,"\n\t")),Le=(0,o.softMinifyCssStrings)("\n\t\t".concat(De,"\n\t")),Fe=(0,o.softMinifyCssStrings)("\n\t\t".concat(Ae,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(o.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Me,tabAllStyles:Le,mobileAllStyles:Fe,blockName:n}))}function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,c.memo)((0,o.withBlockContext)(E)(function(e){var t=e.attributes,a=e.setAttributes,r=e.isSelected,l=t.blockId,c=t.classHook,i=t.prefixType,s=t.prefixText,p=t.prefixIcon,b=t.suffixType,d=t.suffixIcon,m=t.suffixText,u=t.pricePlacement,g=t.showPrefix,f=t.showSuffix,y=T(T({},e),{},{blockPrefix:"eb-product-price",style:React.createElement(S,e)});return React.createElement(React.Fragment,null,r&&React.createElement(x,{attributes:t,setAttributes:a}),React.createElement(o.BlockProps.Edit,y,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(c)},React.createElement("div",{className:"eb-product-price-wrapper ".concat(l," ").concat(u),"data-id":l},!0===g&&React.createElement("div",{className:"prefix-wrap"},"text"===i&&s&&React.createElement(o.DynamicInputValueHandler,{value:s,tagName:"span",className:"eb-taxonomy-prefix-text",onChange:function(e){return a({prefixText:e})},readOnly:!0}),"icon"===i&&p&&React.createElement(o.EBDisplayIcon,{icon:p,className:"eb-taxonomy-prefix-icon"})),React.createElement("div",{className:"eb-woo-product-price"},React.createElement("span",{className:"eb-product-price-regular"},React.createElement("span",{className:"eb-product-price-currency"},EssentialBlocksLocalize.wc_currency_symbol),(0,n.__)("80.00","essential-blocks")),React.createElement("span",{className:"eb-product-price-sale"},React.createElement("span",{className:"eb-product-price-currency"},EssentialBlocksLocalize.wc_currency_symbol),(0,n.__)("50.00","essential-blocks"))),!0===f&&React.createElement("div",{className:"suffix-wrap"},"text"===b&&m&&React.createElement(o.DynamicInputValueHandler,{value:m,tagName:"span",className:"eb-taxonomy-suffix-text",onChange:function(e){return a({suffixText:e})},readOnly:!0}),"icon"===b&&d&&React.createElement(o.EBDisplayIcon,{icon:d,className:"eb-taxonomy-suffix-icon"}))))))})),P=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Product Price","name":"essential-blocks/product-price","category":"essential-blocks","description":"Display price of the WooCommerce product and style it using custom colors and typography.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var O,I,D,A,M,L;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F.apply(null,arguments)}(0,o.ebConditionalRegisterBlockType)(P,{keywords:[(0,n.__)("WooCommerce Product","essential-blocks"),(0,n.__)("WooCommerce Product Price","essential-blocks"),(0,n.__)("Product Price","essential-blocks"),(0,n.__)("Price","essential-blocks"),(0,n.__)("sale price","essential-blocks")],icon:function(e){return l.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),O||(O=l.createElement("path",{fill:"#6C3BFF",d:"M26.938 3.733H3.002c-1.094 0-1.935.85-1.935 1.777v18.847c0 1.004.925 1.776 1.935 1.776h23.851c1.094 0 1.935-.85 1.935-1.776V5.51c.127-1.004-.799-1.777-1.85-1.777M2.16 5.51c0-.464.421-.773.842-.773h23.851c.505 0 .842.387.842.773v18.847c0 .463-.421.772-.842.772H3.002c-.505 0-.842-.386-.842-.772z"})),I||(I=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"m28.255 5.477.004-.034c.053-.42-.221-.852-.701-1.056.409.234.67.662.67 1.123v18.847c0 .184-.036.35-.1.497.083-.159.127-.33.127-.497zM1.777 24.947a1.1 1.1 0 0 1-.177-.59V5.51c0-.168.044-.339.126-.498-.063.148-.099.314-.099.498v18.847c0 .208.053.41.15.59M3.002 3.733h23.936c1.051 0 1.977.773 1.85 1.777v18.847c0 .927-.84 1.776-1.935 1.776H3.002c-1.01 0-1.935-.772-1.935-1.776V5.51c0-.927.841-1.777 1.935-1.777m0 1.004c-.421 0-.842.31-.842.773v18.847c0 .386.337.772.842.772h23.851c.421 0 .842-.309.842-.772V5.51c0-.386-.337-.773-.842-.773z",clipRule:"evenodd"})),D||(D=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M10.413 7.61c.126.09.2.235.2.39 0 .449.176.878.487 1.194.31.315.73.49 1.167.49.436 0 .856-.175 1.166-.49.311-.316.487-.745.487-1.194a.48.48 0 0 1 .634-.455l4.266 1.443a.48.48 0 0 1 .327.455v3.608a.48.48 0 0 1-.48.48h-1.654v6.014c0 .316-.123.621-.346.847a1.19 1.19 0 0 1-.845.355h-7.11c-.32 0-.623-.129-.846-.355a1.2 1.2 0 0 1-.346-.847v-6.014H5.867a.48.48 0 0 1-.48-.48V9.443a.48.48 0 0 1 .326-.455L9.98 7.545a.48.48 0 0 1 .433.065M6.347 9.787v2.784H8a.48.48 0 0 1 .48.48v6.494c0 .066.026.129.07.173a.23.23 0 0 0 .161.069h7.111a.23.23 0 0 0 .161-.069.25.25 0 0 0 .07-.173v-6.494a.48.48 0 0 1 .48-.48h1.654V9.787l-3.385-1.144c-.114.459-.348.883-.685 1.225a2.6 2.6 0 0 1-1.85.777c-.696 0-1.361-.28-1.85-.777a2.65 2.65 0 0 1-.685-1.225z",clipRule:"evenodd"})),A||(A=l.createElement("path",{fill:"#fff",d:"M30.933 22.4a6.4 6.4 0 1 1-12.8 0 6.4 6.4 0 0 1 12.8 0"})),M||(M=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M24.533 28a5.6 5.6 0 1 0 0-11.2 5.6 5.6 0 0 0 0 11.2m0 .8a6.4 6.4 0 1 0 0-12.8 6.4 6.4 0 0 0 0 12.8",clipRule:"evenodd"})),L||(L=l.createElement("path",{fill:"#6C3BFF",d:"M25.055 22.224h-.91a.983.983 0 0 1 0-1.963h1.819a.382.382 0 1 0 0-.764h-.982v-.982a.382.382 0 0 0-.764 0v.982h-.072c-.963 0-1.746.783-1.746 1.746 0 .962.783 1.745 1.746 1.745h.909a.983.983 0 0 1 0 1.964h-1.818a.382.382 0 0 0 0 .764h.981v.982a.382.382 0 0 0 .764 0v-.982h.073c.962 0 1.745-.783 1.745-1.746s-.783-1.746-1.745-1.746"})))},attributes:E,edit:N,save:function(){return null},example:{attributes:{}}})},3277:(e,t,a)=>{var n=a(4467),o=a(7723),r=a(1609),l=a(8468),c=a(6427),i=a(4871),s=a.n(i),p=a(2619),b=a(5694),d=EssentialBlocksLocalize.fluent_form_lists&&JSON.parse(EssentialBlocksLocalize.fluent_form_lists),m=d&&d.map(function(e,t){return{label:e.label,value:e.value}}),u=[{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),value:"right"}],g=[{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),value:"right"}],f=((0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),(0,o.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),[{label:(0,o.__)("Full Width","essential-blocks"),value:"full_width"},{label:(0,o.__)("Custom","essential-blocks"),value:"custom"}]),y="inpTxtIndent",h="inpWidth",v="inpHeight",w="txtWidth",k="txtHeight",R="inpTxtPadding",_="inpTxtSpacing",C="btnWidth",E="btnHeight",x="btnPadding",S="btnMargin",B="btnBorder",T="htmlMargin",N="htmlPadding",P="inpTxtBorder",O="secBrkPadding",I="secBrkMargin",D="secBrkDescPadding",A="secBrkDescMargin",M="successBrd",L="errorPadding",F="errorMargin",j="checkSize",H="checkBdr",z="checkRad",U="radioRad",V="checkSpace",G="formWidth",q="formBorder",W="formMargin",Z="formPadding",J="btnPos",Y="label",Q="inpTxt",X="sectionBreak",$="sectionBreakDesc",K="html",ee="subBtn",te="success",ae="error";const ne=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.showLabels),r=t.showPlaceholder,l=t.showErrorMessage,i=t.labelColor,s=t.inputHoverType,d=t.inputBackgroundColor,G=t.inputTextColor,ne=t.inputFocusBackgroundColor,oe=t.placeholderColor,re=t.sectionBreakColor,le=t.sectionBreakPosition,ce=t.sectionBreakDescColor,ie=t.customHtmlPosition,se=t.customHtmlColor,pe=t.btnWidthType,be=t.btnAlignment,de=t.btnHoverType,me=t.btnBackgroundColor,ue=t.btnColor,ge=t.btnBackgroundHoverColor,fe=t.btnHoverColor,ye=t.successBackgroundColor,he=t.successColor,ve=t.errorColor,we=t.customCheckboxStyle,ke=t.checkboxSwitcher,Re=t.checkboxColor,_e=t.checkboxBorderColor,Ce=t.checkboxCheckedColor,Ee=(t.formBackgroundColor,t.formAlignment,t.formId);return React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel,{advancedControlProps:{marginPrefix:W,paddingPrefix:Z,borderPrefix:q,hasMargin:!0,hasBackground:!1}},React.createElement(b.InspectorPanel.General,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Fluent Form","essential-blocks")},React.createElement(c.SelectControl,{label:(0,o.__)("Select Form","essential-blocks"),value:Ee,options:(0,p.applyFilters)("eb_fluent_form_lists",m),onChange:function(e){return a({formId:e})}}),React.createElement(c.ToggleControl,{label:(0,o.__)("Show Labels","essential-blocks"),checked:n,onChange:function(e){return a({showLabels:e})}}),React.createElement(c.ToggleControl,{label:(0,o.__)("Show Placeholder","essential-blocks"),checked:r,onChange:function(e){return a({showPlaceholder:e})}}),React.createElement(c.ToggleControl,{label:(0,o.__)("Show Error Message","essential-blocks"),checked:l,onChange:function(e){return a({showErrorMessage:e})}}))),React.createElement(b.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Labels","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:i,attributeName:"labelColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:Y}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Input & Textarea","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("FOCUS","essential-blocks"),value:"focus"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:s===n,isSecondary:s!==n,onClick:function(){return a({inputHoverType:n})}},o)}))),"normal"===s&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:d,attributeName:"inputBackgroundColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:G,attributeName:"inputTextColor"})),"focus"===s&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:ne,attributeName:"inputFocusBackgroundColor"})),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:Q}),React.createElement(c.__experimentalDivider,null),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Text Indent","essential-blocks"),controlName:y,min:0,max:60,step:1}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Input Width","essential-blocks"),controlName:h,min:0,max:1200,step:1}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Input Height","essential-blocks"),controlName:v,min:0,max:200,step:1}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Textarea Width","essential-blocks"),controlName:w,min:0,max:1200,step:1}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Textarea Height","essential-blocks"),controlName:k,min:0,max:400,step:1}),React.createElement(c.__experimentalDivider,null),React.createElement(b.ResponsiveDimensionsControl,{controlName:R,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Spacing","essential-blocks"),controlName:_,min:0,max:100,step:1})),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Border & Shadow","essential-blocks"))),React.createElement(b.BorderShadowControl,{controlName:P})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Placeholder","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:oe,attributeName:"placeholderColor"}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Radio & Checkbox","essential-blocks"),initialOpen:!1},React.createElement(c.ToggleControl,{label:(0,o.__)("Custom Style","essential-blocks"),checked:we,onChange:function(e){return a({customCheckboxStyle:e})}}),we&&React.createElement(React.Fragment,null,React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Size","essential-blocks"),controlName:j,min:0,max:80,step:1}),React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("CHECKED","essential-blocks"),value:"checked"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:de===n,isSecondary:de!==n,onClick:function(){return a({checkboxSwitcher:n})}},o)}))),"normal"===ke&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:Re,attributeName:"checkboxColor"}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Border Width","essential-blocks"),controlName:H,min:0,max:15,step:1,noUnits:!0}),React.createElement(b.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:_e,attributeName:"checkboxBorderColor"}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Checkbox","essential-blocks"))),React.createElement(b.ResponsiveDimensionsControl,{controlName:z,baseLabel:(0,o.__)("Border Radius","essential-blocks")}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Radio Buttons","essential-blocks"))),React.createElement(b.ResponsiveDimensionsControl,{controlName:U,baseLabel:(0,o.__)("Border Radius","essential-blocks")})),"checked"===ke&&React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:Ce,attributeName:"checkboxCheckedColor"}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Item Spacing","essential-blocks"),controlName:V,min:0,max:100,step:1}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Section Break","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(c.ButtonGroup,{id:"eb-button-group-alignment"},u.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:le===e.value,isSecondary:le!==e.value,onClick:function(){return a({sectionBreakPosition:e.value})}},e.label)}))),React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Label","essential-blocks"))),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:re,attributeName:"sectionBreakColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:X}),React.createElement(b.ResponsiveDimensionsControl,{controlName:O,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,o.__)("Margin","essential-blocks")}),React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Description","essential-blocks"))),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:ce,attributeName:"sectionBreakDescColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:$}),React.createElement(b.ResponsiveDimensionsControl,{controlName:D,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:A,baseLabel:(0,o.__)("Margin","essential-blocks")}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Custom HTML","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(c.ButtonGroup,{id:"eb-button-group-alignment"},u.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:ie===e.value,isSecondary:ie!==e.value,onClick:function(){return a({customHtmlPosition:e.value})}},e.label)}))),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:se,attributeName:"customHtmlColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:K}),React.createElement(b.ResponsiveDimensionsControl,{controlName:N,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:T,baseLabel:(0,o.__)("Margin","essential-blocks")}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Submit","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,"custom"===pe&&React.createElement(c.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(c.ButtonGroup,{id:"eb-button-group-alignment"},g.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:be===e.value,isSecondary:be!==e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)}))),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Height","essential-blocks"),controlName:E,min:0,max:500,step:1}),React.createElement(c.SelectControl,{label:(0,o.__)("Width","essential-blocks"),value:pe,options:f,onChange:function(e){return a({btnWidthType:e})}}),"custom"===pe&&React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Width","essential-blocks"),controlName:C,min:0,max:1200,step:1}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:ee}),React.createElement(c.BaseControl,null,React.createElement(c.ButtonGroup,null,[{label:(0,o.__)("NORMAL","essential-blocks"),value:"normal"},{label:(0,o.__)("HOVER","essential-blocks"),value:"hover"}].map(function(e,t){var n=e.value,o=e.label;return React.createElement(c.Button,{key:t,isPrimary:de===n,isSecondary:de!==n,onClick:function(){return a({btnHoverType:n})}},o)}))),"normal"===de&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:me,attributeName:"btnBackgroundColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:ue,attributeName:"btnColor"})),"hover"===de&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:ge,attributeName:"btnBackgroundHoverColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:fe,attributeName:"btnHoverColor"})),React.createElement(c.__experimentalDivider,null),React.createElement(b.ResponsiveDimensionsControl,{controlName:x,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:S,baseLabel:(0,o.__)("Margin","essential-blocks")}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Button Position","essential-blocks"),controlName:J,min:-1e3,max:1e3,step:1}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,o.__)("Border & Shadow","essential-blocks"))),React.createElement(b.BorderShadowControl,{controlName:B}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Success Message","essential-blocks"),initialOpen:!1},React.createElement(b.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:ye,attributeName:"successBackgroundColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:he,attributeName:"successColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:te}),React.createElement(b.BorderShadowControl,{controlName:M,noShadow:!0})),l&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Error Message","essential-blocks"),initialOpen:!1},React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:ve,attributeName:"errorColor"}),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:ae}),React.createElement(b.ResponsiveDimensionsControl,{controlName:L,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:F,baseLabel:(0,o.__)("Margin","essential-blocks")}))))))};var oe=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"66",height:"70",fill:"none",viewBox:"0 0 66 70"},React.createElement("path",{fill:"#6C3BFF",d:"M46.161 30H12.84c-1.15 0-1.839.91-1.839 1.818v11.364c0 1.136.92 1.818 1.838 1.818h33.323c1.15 0 1.839-.91 1.839-1.818V31.818C48 30.91 47.31 30 46.161 30zm0 13.41H12.84V32.045H46.16v11.363z"}),React.createElement("path",{fill:"#6C3BFF",d:"M58.087 6H7.913C5.61 6 4 7.841 4 9.913v50.174C4 62.39 5.841 64 7.913 64h50.174C60.39 64 62 62.159 62 60.087V9.913C62 7.61 60.159 6 58.087 6zM6.071 13.595V9.913c0-.92.921-1.842 1.842-1.842h50.174c.92 0 1.842.921 1.842 1.842v3.682H6.07zm0 2.072H59.93v44.19c0 .92-.921 1.841-1.842 1.841H7.913c-.92 0-1.842-.92-1.842-1.84V15.666z"}),React.createElement("path",{fill:"#6C3BFF",d:"M9.929 10H9.07C8.43 10 8 10.4 8 11s.429 1 1.071 1h.858C10.57 12 11 11.6 11 11s-.429-1-1.071-1zM14.929 10h-.858C13.43 10 13 10.4 13 11s.429 1 1.071 1h.858C15.57 12 16 11.6 16 11s-.429-1-1.071-1zM19.571 10H18.43C17.57 10 17 10.4 17 11s.571 1 1.429 1h1.142C20.43 12 21 11.6 21 11s-.571-1-1.429-1zM12.154 24h33.692C46.54 24 47 23.6 47 23s-.462-1-1.154-1H12.154C11.46 22 11 22.4 11 23s.692 1 1.154 1zM22.929 53H13.07C12.43 53 12 53.4 12 54s.429 1 1.071 1h9.858C23.57 55 24 54.6 24 54s-.429-1-1.071-1z"}))};function re(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.formActive,t.formId,t.labelColor),l=t.inputBackgroundColor,c=t.inputTextColor,i=t.inputFocusBackgroundColor,s=t.placeholderColor,p=t.sectionBreakColor,d=t.sectionBreakDescColor,m=t.sectionBreakPosition,u=t.customHtmlColor,g=t.customHtmlPosition,f=t.btnAlignment,ne=t.btnWidthType,oe=t.btnBackgroundColor,re=t.btnColor,le=t.btnBackgroundHoverColor,ce=t.btnHoverColor,ie=t.successBackgroundColor,se=t.successColor,pe=t.errorColor,be=(t.customCheckboxStyle,t.checkboxColor),de=t.checkboxBorderColor,me=t.checkboxCheckedColor,ue=t.formBackgroundColor,ge=(t.formAlignment,t.showLabels,t.showPlaceholder,t.showErrorMessage),fe=(t.classHook,t.cover,(0,b.generateTypographyStyles)({attributes:t,prefixConstant:Y})),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:Q}),ke=we.typoStylesDesktop,Re=we.typoStylesTab,_e=we.typoStylesMobile,Ce=(0,b.generateResponsiveRangeStyles)({controlName:y,property:"text-indent",attributes:t}),Ee=Ce.rangeStylesDesktop,xe=Ce.rangeStylesTab,Se=Ce.rangeStylesMobile,Be=(0,b.generateResponsiveRangeStyles)({controlName:h,property:"width",attributes:t}),Te=Be.rangeStylesDesktop,Ne=Be.rangeStylesTab,Pe=Be.rangeStylesMobile,Oe=(0,b.generateResponsiveRangeStyles)({controlName:v,property:"height",attributes:t}),Ie=Oe.rangeStylesDesktop,De=Oe.rangeStylesTab,Ae=Oe.rangeStylesMobile,Me=(0,b.generateResponsiveRangeStyles)({controlName:w,property:"width",attributes:t}),Le=Me.rangeStylesDesktop,Fe=Me.rangeStylesTab,je=Me.rangeStylesMobile,He=(0,b.generateResponsiveRangeStyles)({controlName:k,property:"height",attributes:t}),ze=He.rangeStylesDesktop,Ue=He.rangeStylesTab,Ve=He.rangeStylesMobile,Ge=(0,b.generateDimensionsControlStyles)({controlName:R,styleFor:"padding",attributes:t}),qe=Ge.dimensionStylesDesktop,We=Ge.dimensionStylesTab,Ze=Ge.dimensionStylesMobile,Je=(0,b.generateResponsiveRangeStyles)({controlName:_,property:"margin-bottom",attributes:t}),Ye=Je.rangeStylesDesktop,Qe=Je.rangeStylesTab,Xe=Je.rangeStylesMobile,$e=(0,b.generateBorderShadowStyles)({controlName:P,attributes:t}),Ke=$e.styesDesktop,et=$e.styesTab,tt=$e.styesMobile,at=$e.stylesHoverDesktop,nt=$e.stylesHoverTab,ot=$e.stylesHoverMobile,rt=$e.transitionStyle,lt=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:X}),ct=lt.typoStylesDesktop,it=lt.typoStylesTab,st=lt.typoStylesMobile,pt=(0,b.generateDimensionsControlStyles)({controlName:O,styleFor:"padding",attributes:t}),bt=pt.dimensionStylesDesktop,dt=pt.dimensionStylesTab,mt=pt.dimensionStylesMobile,ut=(0,b.generateDimensionsControlStyles)({controlName:I,styleFor:"margin",attributes:t}),gt=ut.dimensionStylesDesktop,ft=ut.dimensionStylesTab,yt=ut.dimensionStylesMobile,ht=(0,b.generateDimensionsControlStyles)({controlName:N,styleFor:"padding",attributes:t}),vt=ht.dimensionStylesDesktop,wt=(ht.dimensionStylesTab,ht.dimensionStylesMobile,(0,b.generateDimensionsControlStyles)({controlName:T,styleFor:"margin",attributes:t})),kt=wt.dimensionStylesDesktop,Rt=(wt.dimensionStylesTab,wt.dimensionStylesMobile,(0,b.generateTypographyStyles)({attributes:t,prefixConstant:K})),_t=Rt.typoStylesDesktop,Ct=(Rt.typoStylesTab,Rt.typoStylesMobile,(0,b.generateTypographyStyles)({attributes:t,prefixConstant:$})),Et=Ct.typoStylesDesktop,xt=Ct.typoStylesTab,St=Ct.typoStylesMobile,Bt=(0,b.generateDimensionsControlStyles)({controlName:D,styleFor:"padding",attributes:t}),Tt=Bt.dimensionStylesDesktop,Nt=Bt.dimensionStylesTab,Pt=Bt.dimensionStylesMobile,Ot=(0,b.generateDimensionsControlStyles)({controlName:A,styleFor:"margin",attributes:t}),It=Ot.dimensionStylesDesktop,Dt=Ot.dimensionStylesTab,At=Ot.dimensionStylesMobile,Mt=(0,b.generateResponsiveRangeStyles)({controlName:C,property:"width",attributes:t}),Lt=Mt.rangeStylesDesktop,Ft=Mt.rangeStylesTab,jt=Mt.rangeStylesMobile,Ht=(0,b.generateResponsiveRangeStyles)({controlName:E,property:"height",attributes:t}),zt=Ht.rangeStylesDesktop,Ut=Ht.rangeStylesTab,Vt=Ht.rangeStylesMobile,Gt=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:ee}),qt=Gt.typoStylesDesktop,Wt=Gt.typoStylesTab,Zt=Gt.typoStylesMobile,Jt=(0,b.generateDimensionsControlStyles)({controlName:x,styleFor:"padding",attributes:t}),Yt=Jt.dimensionStylesDesktop,Qt=Jt.dimensionStylesTab,Xt=Jt.dimensionStylesMobile,$t=(0,b.generateDimensionsControlStyles)({controlName:S,styleFor:"margin",attributes:t}),Kt=$t.dimensionStylesDesktop,ea=$t.dimensionStylesTab,ta=$t.dimensionStylesMobile,aa=(0,b.generateResponsiveRangeStyles)({controlName:J,property:"right",attributes:t}),na=aa.rangeStylesDesktop,oa=aa.rangeStylesTab,ra=aa.rangeStylesMobile,la=(0,b.generateBorderShadowStyles)({controlName:B,attributes:t}),ca=la.styesDesktop,ia=la.styesTab,sa=la.styesMobile,pa=la.stylesHoverDesktop,ba=la.stylesHoverTab,da=la.stylesHoverMobile,ma=la.transitionStyle,ua=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:te}),ga=ua.typoStylesDesktop,fa=ua.typoStylesTab,ya=ua.typoStylesMobile,ha=(0,b.generateBorderShadowStyles)({controlName:M,attributes:t,noShadow:!0}),va=ha.styesDesktop,wa=ha.styesTab,ka=ha.styesMobile,Ra=ha.stylesHoverDesktop,_a=ha.stylesHoverTab,Ca=ha.stylesHoverMobile,Ea=ha.transitionStyle,xa=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:ae}),Sa=xa.typoStylesDesktop,Ba=xa.typoStylesTab,Ta=xa.typoStylesMobile,Na=(0,b.generateDimensionsControlStyles)({controlName:L,styleFor:"padding",attributes:t}),Pa=Na.dimensionStylesDesktop,Oa=Na.dimensionStylesTab,Ia=Na.dimensionStylesMobile,Da=(0,b.generateDimensionsControlStyles)({controlName:F,styleFor:"margin",attributes:t}),Aa=Da.dimensionStylesDesktop,Ma=Da.dimensionStylesTab,La=Da.dimensionStylesMobile,Fa=(0,b.generateResponsiveRangeStyles)({controlName:j,property:"width",attributes:t}),ja=Fa.rangeStylesDesktop,Ha=Fa.rangeStylesTab,za=Fa.rangeStylesMobile,Ua=(0,b.generateResponsiveRangeStyles)({controlName:j,property:"height",attributes:t}),Va=Ua.rangeStylesDesktop,Ga=Ua.rangeStylesTab,qa=Ua.rangeStylesMobile,Wa=(0,b.generateResponsiveRangeStyles)({controlName:H,property:"border-width",attributes:t,customUnit:"px"}),Za=Wa.rangeStylesDesktop,Ja=Wa.rangeStylesTab,Ya=Wa.rangeStylesMobile,Qa=(0,b.generateDimensionsControlStyles)({controlName:z,styleFor:"border-radius",attributes:t}),Xa=Qa.dimensionStylesDesktop,$a=Qa.dimensionStylesTab,Ka=Qa.dimensionStylesMobile,en=(0,b.generateDimensionsControlStyles)({controlName:U,styleFor:"border-radius",attributes:t}),tn=en.dimensionStylesDesktop,an=en.dimensionStylesTab,nn=en.dimensionStylesMobile,on=(0,b.generateResponsiveRangeStyles)({controlName:V,property:"margin-bottom",attributes:t}),rn=on.rangeStylesDesktop,ln=on.rangeStylesTab,cn=on.rangeStylesMobile,sn=(0,b.generateResponsiveRangeStyles)({controlName:G,property:"width",attributes:t}),pn=sn.rangeStylesDesktop,bn=sn.rangeStylesTab,dn=sn.rangeStylesMobile,mn=(0,b.generateDimensionsControlStyles)({controlName:Z,styleFor:"padding",attributes:t}),un=mn.dimensionStylesDesktop,gn=mn.dimensionStylesTab,fn=mn.dimensionStylesMobile,yn=(0,b.generateDimensionsControlStyles)({controlName:W,styleFor:"margin",attributes:t}),hn=yn.dimensionStylesDesktop,vn=yn.dimensionStylesTab,wn=yn.dimensionStylesMobile,kn=(0,b.generateBorderShadowStyles)({controlName:q,attributes:t}),Rn=kn.styesDesktop,_n=kn.styesTab,Cn=kn.styesMobile,En=kn.stylesHoverDesktop,xn=kn.stylesHoverTab,Sn=kn.stylesHoverMobile,Bn=kn.transitionStyle,Tn="\n\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(ue?"background: ".concat(ue,";"):"","\n\t\t\t").concat(pn,"\n\t\t\t").concat(un,"\n\t\t\t").concat(hn,"\n\t\t\t").concat(Rn,"\n\t\t\ttransition: ").concat(Bn,";\n box-sizing: border-box;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(En,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(ye,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select {\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ee||"","\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(l?"background-color: ".concat(l,";"):"","\n\t\t\t").concat(c?"color: ".concat(c,";"):"","\n\t\t\ttransition: ").concat(rt,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group select:hover {\n\t\t\t").concat(at,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::focus, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea::focus {\n\t\t\t").concat(i?"background-color: ".concat(i,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(Te||"","\n\t\t\t").concat(Ie||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat(Le||"","\n\t\t\t").concat(ze||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(Ye||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group input::-webkit-input-placeholder, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea::-webkit-input-placeholder {\n\t\t\t").concat(s?"color: ".concat(s,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break, .").concat(o,".eb-fluent-form-wrapper .ff-el-section-break hr {\n\t\t\ttext-align: ").concat(m,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(gt,"\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(Et,"\n\t\t\t").concat(Tt,"\n\t\t\t").concat(It,"\n\t\t\t").concat(d?"color: ".concat(d,";"):"","\n\t\t}\n\t\t").concat("custom"===ne?".".concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-left,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-center,\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper.ff-text-right {\n\t\t\ttext-align: ").concat(f,";\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===ne?Lt:"width: 100%;","\n\t\t\t").concat(0!=zt.length?zt:"height: auto;","\n\t\t\t").concat(qt,"\n\t\t\t").concat(Yt,"\n\t\t\t").concat(Kt,"\n\t\t\t").concat(ca,"\n\t\t\t").concat(oe?"background-color: ".concat(oe,";"):"","\n\t\t\t").concat(re?"color: ".concat(re,";"):"","\n\t\t\ttransition: all 0.5s, ").concat(ma,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit:hover {\n\t\t\t").concat(pa,"\n\t\t\t").concat(le?"background-color: ".concat(le,";"):"","\n\t\t\t").concat(ce?"color: ".concat(ce,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(ie?"background-color: ".concat(ie,";"):"","\n\t\t\t").concat(se?"color: ".concat(se,";"):"","\n\t\t\t").concat(ga,"\n\t\t\t").concat(va,"\n\t\t\ttransition: ").concat(Ea,";\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(Ra,"\n\t\t}\n\n\t\t").concat(ge?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(Sa,"\n\t\t\t").concat(Pa,"\n\t\t\t").concat(Aa,"\n\t\t\t").concat(pe?"color: ".concat(pe,";"):"","\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\tappearance: none;\n\t\t\tposition: relative;\n\t\t\t').concat(be?"background: ".concat(be,";"):"","\n\t\t\t").concat(de?"border-color:".concat(de,";"):"","\n\t\t\t").concat(ja,"\n\t\t\t").concat(Va,"\n\t\t\t").concat(Za,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(rn,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(Xa,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(tn,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\tdisplay: block;\n\t\t\tmargin: 0;\n\t\t\t').concat(me?"background: ".concat(me,";"):"","\n\t\t\twidth: calc(").concat(ja.replace(/\D/g,""),"px - ").concat(Za.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(Va.replace(/\D/g,""),"px - ").concat(Za.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-alignment-center {\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-alignment-right {\n\t\t\tmargin: 0 0 0 auto;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-labels .ff-el-group label:not(.ff-el-form-check-label),\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-labels .ff-el-group .ff-el-input--label,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-errormessage .error.text-danger {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input::-webkit-input-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea::-webkit-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input::-moz-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea::-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input:-ms-input-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea:-ms-input-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder input:-moz-placeholder,\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-hide-placeholder textarea:-moz-placeholder {\n\t\topacity: 0;\n\t\tvisibility: hidden;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription input {\n\t\t\tmax-width: unset !important;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-input--content {\n\t\t\tposition: relative;\n\t\t\tz-index: 1;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(na,"\n\t\t\tposition: relative;\n\t\t\tmin-width: inherit;\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-custom_html > * {\n\t\t\t").concat(kt,"\n\t\t\t").concat(vt,"\n\t\t\t").concat(_t,"\n\t\t\t").concat(u?"color: ".concat(u,";"):"","\n\t\t\t").concat(g?"text-align: ".concat(g,";"):"","\n\t\t}\n\t"),Nn="\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(bn,"\n\t\t\t").concat(gn,"\n\t\t\t").concat(vn,"\n\t\t\t").concat(_n,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(xn,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(xn,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(Re,"\n\t\t\t").concat(xe,"\n\t\t\t").concat(We,"\n\t\t\t").concat(et,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control:hover {\n\t\t\t").concat(nt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(Ne||"","\n\t\t\t").concat(De||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat(Fe||"","\n\t\t\t").concat(Ue||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(Qe||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(it,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(ft,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(xt,"\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===ne?Ft:"","\n\t\t\t").concat(Ut,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(Wt,"\n\t\t\t").concat(Qt,"\n\t\t\t").concat(ea,"\n\t\t\t").concat(ia,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper:hover .ff-btn-submit {\n\t\t\t").concat(ba,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(fa,"\n\t\t\t").concat(wa,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(_a,"\n\t\t}\n\n\t\t").concat(ge?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(Ba,"\n\t\t\t").concat(Oa,"\n\t\t\t").concat(Ma,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\t').concat(Ha,"\n\t\t\t").concat(Ga,"\n\t\t\t").concat(Ja,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(ln,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat($a,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(an,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\twidth: calc(').concat(Ha.replace(/\D/g,""),"px - ").concat(Ja.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(Ga.replace(/\D/g,""),"px - ").concat(Ja.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(ue?"background: ".concat(ue,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(oa,"\n\t\t}\n\t"),Pn="\n\t\t.".concat(o,".eb-fluent-form-wrapper {\n\t\t\t").concat(dn,"\n\t\t\t").concat(fn,"\n\t\t\t").concat(wn,"\n\t\t\t").concat(Cn,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper:hover {\n\t\t\t").concat(Sn,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group label {\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(_e,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(Ze,"\n\t\t\t").concat(tt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea:hover, .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control:hover {\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .").concat(o,".eb-fluent-form-wrapper .ff-el-group select.ff-el-form-control {\n\t\t\t").concat(Pe||"","\n\t\t\t").concat(Ae||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group textarea {\n\t\t\t").concat(je||"","\n\t\t\t").concat(Ve||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-group {\n\t\t\t").concat(Xe||"","\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break .ff-el-section-title{\n\t\t\t").concat(st,"\n\t\t\t").concat(mt,"\n\t\t\t").concat(yt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-el-section-break div {\n\t\t\t").concat(St,"\n\t\t\t").concat(Pt,"\n\t\t\t").concat(At,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat("custom"===ne?jt:"","\n\t\t\t").concat(Vt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(Zt,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper .ff-btn-submit {\n\t\t\t").concat(Zt,"\n\t\t\t").concat(Xt,"\n\t\t\t").concat(ta,"\n\t\t\t").concat(sa,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff_submit_btn_wrapper:hover .ff-btn-submit {\n\t\t\t").concat(da,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success {\n\t\t\t").concat(ya,"\n\t\t\t").concat(ka,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper .ff-message-success:hover {\n\t\t\t").concat(Ca,"\n\t\t}\n\n\t\t").concat(ge?"\n\t\t.".concat(o,".eb-fluent-form-wrapper .error.text-danger {\n\t\t\t").concat(Ta,"\n\t\t\t").concat(Ia,"\n\t\t\t").concat(La,"\n\t\t}\n\t\t"):"","\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-input--content input[type="radio"] {\n\t\t\t').concat(za,"\n\t\t\t").concat(qa,"\n\t\t\t").concat(Ya,"\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox .ff-el-form-check:not(:last-child) {\n\t\t\t").concat(cn,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:before {\n\t\t\t').concat(Ka,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"], .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:before {\n\t\t\t').concat(nn,"\n\t\t}\n\n\t\t.").concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="checkbox"]:checked:before, .').concat(o,'.eb-fluent-form-wrapper.eb-fluent-custom-radio-checkbox input[type="radio"]:checked:before {\n\t\t\twidth: calc(').concat(za.replace(/\D/g,""),"px - ").concat(Ya.replace(/\D/g,""),"px*2);\n\t\t\theight: calc(").concat(qa.replace(/\D/g,""),"px - ").concat(Ya.replace(/\D/g,""),"px*2);\n\t\t}\n\n\t\t.").concat(o,".eb-fluent-form-wrapper.eb-fluentform-default-subscription .ff-el-group .ff-btn-submit {\n\t\t\t").concat(ra,"\n\t\t}\n\t"),On=(0,b.softMinifyCssStrings)("\n\t\t".concat(Tn,"\n\t")),In=(0,b.softMinifyCssStrings)("\n\t\t".concat(Nn,"\n\t")),Dn=(0,b.softMinifyCssStrings)("\n\t\t".concat(Pn,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(b.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:On,tabAllStyles:In,mobileAllStyles:Dn,blockName:n}))}function le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?le(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):le(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ie=ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce(ce({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formActive:{type:"boolean"},formId:{type:"string"},showLabels:{type:"boolean",default:!0},showPlaceholder:{type:"boolean",default:!0},showErrorMessage:{type:"boolean",default:!0},customCheckboxStyle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},inputHoverType:{type:"string",default:"normal"},inputBackgroundColor:{type:"string",default:"var(--eb-global-background-color)"},inputFocusBackgroundColor:{type:"string"},inputTextColor:{type:"string",default:"var(--eb-global-text-color)"},placeholderColor:{type:"string",default:"var(--eb-global-text-color)"},sectionBreakContent:{type:"string",default:"center"},sectionBreakColor:{type:"string"},sectionBreakDescColor:{type:"string"},btnWidthType:{type:"string",default:"custom"},btnAlignment:{type:"string",default:"left"},btnBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBackgroundHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},btnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverType:{type:"string",default:"normal"},sectionBreakPosition:{type:"string",default:"center"},successColor:{type:"string"},successBackgroundColor:{type:"string"},checkboxSwitcher:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBorderColor:{type:"string"},checkboxCheckedColor:{type:"string"},formBackgroundColor:{type:"string"},formAlignment:{type:"string",default:"none"},customHtmlPosition:{type:"string",default:"left"},customHtmlColor:{type:"string"}},(0,b.generateTypographyAttributes)(Y)),(0,b.generateTypographyAttributes)(Q)),(0,b.generateTypographyAttributes)(X)),(0,b.generateTypographyAttributes)($)),(0,b.generateTypographyAttributes)(K)),(0,b.generateTypographyAttributes)(ee)),(0,b.generateTypographyAttributes)(te)),(0,b.generateTypographyAttributes)(ae)),(0,b.generateResponsiveRangeAttributes)(y)),(0,b.generateResponsiveRangeAttributes)(h)),(0,b.generateResponsiveRangeAttributes)(v)),(0,b.generateResponsiveRangeAttributes)(w)),(0,b.generateResponsiveRangeAttributes)(k)),(0,b.generateResponsiveRangeAttributes)(_)),(0,b.generateResponsiveRangeAttributes)(E)),(0,b.generateResponsiveRangeAttributes)(C)),(0,b.generateResponsiveRangeAttributes)(j)),(0,b.generateResponsiveRangeAttributes)(H,{noUnits:!0,defaultUnit:"px"})),(0,b.generateResponsiveRangeAttributes)(V)),(0,b.generateResponsiveRangeAttributes)(G)),(0,b.generateResponsiveRangeAttributes)(J)),(0,b.generateDimensionsAttributes)(R)),(0,b.generateDimensionsAttributes)(O)),(0,b.generateDimensionsAttributes)(I)),(0,b.generateDimensionsAttributes)(A)),(0,b.generateDimensionsAttributes)(D)),(0,b.generateDimensionsAttributes)(N)),(0,b.generateDimensionsAttributes)(T)),(0,b.generateDimensionsAttributes)(x)),(0,b.generateDimensionsAttributes)(S)),(0,b.generateDimensionsAttributes)(L)),(0,b.generateDimensionsAttributes)(F)),(0,b.generateDimensionsAttributes)(z)),(0,b.generateDimensionsAttributes)(U)),(0,b.generateDimensionsAttributes)(W,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,b.generateDimensionsAttributes)(Z)),(0,b.generateBorderShadowAttributes)(P)),(0,b.generateBorderShadowAttributes)(B)),(0,b.generateBorderShadowAttributes)(M)),(0,b.generateBorderShadowAttributes)(q));function se(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function pe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?se(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):se(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const be=(0,l.memo)((0,b.withBlockContext)(ie)(function(e){var t,a=e.attributes,n=e.setAttributes,r=e.isSelected,l=a.blockId,i=a.formId,p=a.customCheckboxStyle,u=a.formAlignment,g=a.showLabels,f=a.showPlaceholder,y=a.showErrorMessage,h=a.classHook,v=a.cover,w=null===(t=EssentialBlocksLocalize)||void 0===t||null===(t=t.get_plugins["fluentform/fluentform.php"])||void 0===t?void 0:t.active,k=pe(pe({},e),{},{blockPrefix:"eb-fluent-form",style:React.createElement(re,e)}),R=d&&d.map(function(e){return{attr:e.attr}}),_=["eb-fluent-form-wrapper"];p&&_.push("eb-fluent-custom-radio-checkbox");var C={left:"eb-fluentform-alignment-left",center:"eb-fluentform-alignment-center",right:"eb-fluentform-alignment-right"};return u in C&&_.push(C[u]),g||_.push("eb-fluentform-hide-labels"),f||_.push("eb-fluentform-hide-placeholder"),y||_.push("eb-fluentform-hide-errormessage"),R&&i in R&&"inline_subscription"===R[i].attr&&_.push("eb-fluentform-default-subscription"),v.length?React.createElement("div",null,React.createElement("img",{src:v,alt:"Fluent Forms",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,r&&React.createElement(ne,{key:"inspector",attributes:a,setAttributes:n}),React.createElement(b.BlockProps.Edit,k,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(h)},React.createElement("div",{className:"".concat(l," ").concat(_.join(" "))},!w&&React.createElement(b.NoticeComponent,{Icon:oe,title:(0,o.__)("Fluent Forms","essential-blocks"),description:React.createElement(React.Fragment,null,React.createElement("strong",null,"Fluent Form")," is not installed/activated on your site. Please install and activate"," ",React.createElement("a",{href:EssentialBlocksLocalize.eb_admin_url+"plugin-install.php?s=fluentform&tab=search&type=term",target:"_blank"},"Fluent Form")," ","first.")}),w&&!i&&React.createElement(c.Placeholder,{className:"eb-fluent-form-choose-placeholder",label:(0,o.__)("Fluent Form","essential-blocks")},React.createElement(c.SelectControl,{value:i,options:m,onChange:function(e){return n({formId:e})}})),w&&i&&React.createElement(s(),{className:"eb-fluent-form-rendered",block:"fluentfom/guten-block",attributes:{formId:i}})))))})),de=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Fluent Forms","name":"essential-blocks/fluent-forms","category":"essential-blocks","description":"Design your Forms container, fields and choose preferred form layout to style Fluent Forms","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var me,ue,ge,fe;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ye.apply(null,arguments)}function he(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var ve=de.name;(0,b.ebConditionalRegisterBlockType)(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?he(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):he(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({name:ve},de),{icon:function(e){return r.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 66 70"},e),me||(me=r.createElement("path",{fill:"#6C3BFF",d:"M46.162 30H12.838c-1.15 0-1.839.91-1.839 1.818v11.364c0 1.136.92 1.818 1.838 1.818h33.323c1.15 0 1.839-.91 1.839-1.818V31.818C48 30.91 47.31 30 46.161 30m0 13.41H12.838V32.045h33.323z"})),ue||(ue=r.createElement("path",{fill:"#6C3BFF",d:"M58.087 6H7.913C5.61 6 4 7.841 4 9.913v50.174C4 62.39 5.841 64 7.913 64h50.174C60.39 64 62 62.159 62 60.087V9.913C62 7.61 60.159 6 58.087 6M6.071 13.595V9.913c0-.92.921-1.842 1.842-1.842h50.174c.92 0 1.842.921 1.842 1.842v3.682zm0 2.072H59.93v44.19c0 .92-.921 1.841-1.842 1.841H7.913c-.92 0-1.842-.92-1.842-1.84z"})),ge||(ge=r.createElement("path",{fill:"#6C3BFF",d:"M9.929 10H9.07C8.43 10 8 10.4 8 11s.429 1 1.071 1h.858C10.57 12 11 11.6 11 11s-.429-1-1.071-1M14.929 10h-.858C13.43 10 13 10.4 13 11s.429 1 1.071 1h.858C15.57 12 16 11.6 16 11s-.429-1-1.071-1M19.571 10H18.43C17.57 10 17 10.4 17 11s.571 1 1.429 1h1.142C20.43 12 21 11.6 21 11s-.571-1-1.429-1M12.154 24h33.692C46.54 24 47 23.6 47 23s-.462-1-1.154-1H12.154C11.46 22 11 22.4 11 23s.692 1 1.154 1M22.929 53H13.07C12.43 53 12 53.4 12 54s.429 1 1.071 1h9.858C23.57 55 24 54.6 24 54s-.429-1-1.071-1"})))},attributes:ie,keywords:[(0,o.__)("Fluent Form","essential-blocks"),(0,o.__)("EB Fluent Form","essential-blocks"),(0,o.__)("Form","essential-blocks")],edit:be,save:function(){return null},example:{attributes:{cover:"".concat(null===(fe=EssentialBlocksLocalize)||void 0===fe?void 0:fe.image_url,"/block-preview/fluent-forms.jpeg")}}})},3378:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(3453),l=a(4467),c=a(1609),i=a(4715),s=a(6427),p=a(8468),b=a(7143),d=a(3582);const m=window.wp.notices;var u=a(6942),g=a.n(u),f="wrprBg",y="wrpMargin",h="wrpPadding",v="wrpBorderShadow",w="width",k="height",R="imgBorderShadow",_="imageAlign",C=((0,n.__)("Top","essential-blocks"),(0,n.__)("Middle","essential-blocks"),(0,n.__)("Bottom","essential-blocks"),(0,n.__)("Top","essential-blocks"),(0,n.__)("Bottom","essential-blocks"),(0,n.__)("Left","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("Right","essential-blocks"),(0,n.__)("Left","essential-blocks"),(0,n.__)("Right","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("Justify","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"0"},{label:(0,n.__)("Center","essential-blocks"),value:"0 auto"},{label:(0,n.__)("Right","essential-blocks"),value:"0 0 0 auto"}]),E=[{label:(0,n.__)("No Effect","essential-blocks"),value:"no-effect"},{label:(0,n.__)("Zoom In","essential-blocks"),value:"zoom-in"},{label:(0,n.__)("Zoom Out","essential-blocks"),value:"zoom-out"},{label:(0,n.__)("Slide","essential-blocks"),value:"slide"},{label:(0,n.__)("Blur","essential-blocks"),value:"blur"}],x=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],S=[{label:(0,n.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,n.__)("Square","essential-blocks"),value:"square"},{label:(0,n.__)("Circle","essential-blocks"),value:"circle"},{label:(0,n.__)("Octagon","essential-blocks"),value:"octagon"},{label:(0,n.__)("Rhombus","essential-blocks"),value:"rhombus"},{label:(0,n.__)("Triangle","essential-blocks"),value:"triangle"}],B=((0,n.__)("Style 1","essential-blocks"),(0,n.__)("Style 2","essential-blocks"),[{label:(0,n.__)("Fill","essential-blocks"),value:"fill"},{label:(0,n.__)("Contain","essential-blocks"),value:"contain"},{label:(0,n.__)("Cover","essential-blocks"),value:"cover"}]),T=[{label:(0,n.__)("Site Logo","essential-blocks"),value:"site-logo"},{label:(0,n.__)("Featured Image","essential-blocks"),value:"featured-img"},{label:(0,n.__)("Custom","essential-blocks"),value:"custom"}],N=a(5694);function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=O(O(O(O(O(O(O(O(O(O(O({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},image:{type:"object",default:{id:"",url:"",alt:""}},imageCaption:{type:"string"},selectedImgIndex:{type:"number"},displayCaption:{type:"boolean",default:!1},captionColor:{type:"string",default:"var(--eb-global-primary-color)"},captionBGColor:{type:"string",default:"var(--eb-global-background-color)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},verticalAlignCap2:{type:"string",default:"bottom"},hoverEffect:{type:"string",default:"no-effect"},stylePreset:{type:"string",default:"rounded"},complexStyle:{type:"boolean",default:!1},captionStyle:{type:"string",default:"caption-style-1"},autoFit:{type:"boolean",default:!0},fitStyles:{type:"string",default:"cover"},enableLink:{type:"boolean",default:!1},imageLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1},autoHeight:{type:"boolean",default:!0},imgSource:{type:"string"},logoUrl:{type:"string",default:""},shouldSyncIcon:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},imagePostId:{type:"number",default:0}},(0,N.generateTypographyAttributes)("captionTypo",{fontSize:13})),(0,N.generateDimensionsAttributes)(y)),(0,N.generateDimensionsAttributes)(h)),(0,N.generateDimensionsAttributes)("captionMargin",{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,N.generateDimensionsAttributes)("captionPadding",{top:15,bottom:15,right:10,left:10,isLinked:!1})),(0,N.generateBorderShadowAttributes)(v,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,N.generateBorderShadowAttributes)(R,{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:15,bottom:15,right:15,left:15}})),(0,N.generateBackgroundAttributes)(f,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),(0,N.generateResponsiveRangeAttributes)("captionWidth")),(0,N.generateResponsiveAlignAttributes)("textAlign",{defaultAlign:"center",defaultTabAlign:"center",defaultMobileAlign:"center"})),null===N.ImageComponent||void 0===N.ImageComponent?void 0:N.ImageComponent.addAttributes({border:{key:R,default:{defaultBdrColor:"#AE62D1",bdrDefaults:{top:0,bottom:0,right:0,left:0}}},hasWidth:!0,width:{key:w},hasHeight:!0,height:{key:k},useImageAlign:!0,imageAlign:{key:_,default:{defaultAlign:"0 auto",defaultTabAlign:"0 auto",defaultMobileAlign:"0 auto"}},hasRadius:!0})),D=function(e){var t=e.attributes,a=e.setAttributes,o=e.media,l=e.prevImageSize,c=e.oldImageData,i=e.context,b=t.image,d=t.resOption,m=(t.displayCaption,t.captionColor,t.stylePreset),u=t.enableLink,g=(t.captionStyle,t.hoverEffect),P=t.complexStyle,O=t.autoFit,D=t.imageSize,A=t.fitStyles,M=t.autoHeight,L=t.imgSource,F=t.widthRange,j=t.heightRange,H=t.openInNewTab,z=Boolean(i&&(!0===i["essential-blocks/isLoopBuilder"]||i.hasOwnProperty("essential-blocks/postId")&&i.hasOwnProperty("essential-blocks/postType"))),U=(0,p.useState)(""),V=(0,r.A)(U,2);return V[0],V[1],(0,p.useEffect)(function(){var e;if("custom"===L)if(b.sizes&&D&&D.length>0){var n,r;b.sizes[D]?(b.url=b.sizes[D]?b.sizes[D].url:b.url,n=b.sizes[D].width?b.sizes[D].width:b.width,r=b.sizes[D].height?b.sizes[D].height:b.height):(b.url=b.sizes.full.url,n=b.width,r=b.height),b.url=b.url,a({image:b,widthRange:l.current===D&&F?F:n||"",widthUnit:l.current===D&&t.widthUnit?t.widthUnit:"px",heightRange:l.current===D&&j?j:r||"",heightUnit:l.current===D&&t.heightUnit?t.heightUnit:"px"})}else{var i,s="",p="";if(b&&!D)s=F||(null!=b&&b.width?b.width:""),p=!M&&null!=b&&b.height?b.height:"";else if(null!=c&&null!==(i=c.media_details)&&void 0!==i&&i.sizes){var d,m,u,g,f,y,h;null!==(d=c.media_details.sizes)&&void 0!==d&&d[D]?b.url=null!==(y=c.media_details.sizes)&&void 0!==y&&null!==(y=y[D])&&void 0!==y&&y.source_url?null===(h=c.media_details.sizes)||void 0===h||null===(h=h[D])||void 0===h?void 0:h.source_url:c.source_url:b.url=c.source_url,b.url=b.url,s=null!==(m=c.media_details.sizes)&&void 0!==m&&null!==(m=m[D])&&void 0!==m&&m.width?null===(u=c.media_details.sizes)||void 0===u||null===(u=u[D])||void 0===u?void 0:u.width:c.width,p=null!==(g=c.media_details.sizes)&&void 0!==g&&null!==(g=g[D])&&void 0!==g&&g.height?null===(f=c.media_details.sizes)||void 0===f||null===(f=f[D])||void 0===f?void 0:f.height:c.height}a({image:b,widthRange:s||"",widthUnit:t.widthUnit?t.widthUnit:"px",heightRange:!M&&j>0?j:p||"",heightUnit:t.heightUnit?t.heightUnit:"px"})}if("featured-img"===L&&null!=o&&null!==(e=o.media_details)&&void 0!==e&&e.sizes){var v,w,k,R,_=null!==(v=o.media_details.sizes)&&void 0!==v&&null!==(v=v[D])&&void 0!==v&&v.width?null===(w=o.media_details.sizes)||void 0===w||null===(w=w[D])||void 0===w?void 0:w.width:o.width,C=null!==(k=o.media_details.sizes)&&void 0!==k&&null!==(k=k[D])&&void 0!==k&&k.height?null===(R=o.media_details.sizes)||void 0===R||null===(R=R[D])||void 0===R?void 0:R.height:o.height;a({widthRange:_||"",widthUnit:t.widthUnit?t.widthUnit:"px",heightRange:C||"",heightUnit:t.heightUnit?t.heightUnit:"px"})}l.current=D},[D]),React.createElement(N.InspectorPanel,{advancedControlProps:{marginPrefix:y,paddingPrefix:h,backgroundPrefix:f,borderPrefix:v,hasMargin:!0}},React.createElement(N.InspectorPanel.General,null,React.createElement(s.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},!z&&React.createElement(s.SelectControl,{label:(0,n.__)("Source","essential-blocks"),value:L,options:T,onChange:function(e){return function(e){switch(e){case"site-logo":a({imgSource:e,displayCaption:!1,enableLink:!0,widthRange:120,widthUnit:"px",imgBorderShadowborderStyle:"none",imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",hoverEffect:"no-effect"});break;case"featured-img":a({imgSource:e,displayCaption:!1,enableLink:!0,widthRange:"",imgBorderShadowborderStyle:"solid",imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Top:"15",hoverEffect:"no-effect"});break;case"custom":a({imgSource:e,displayCaption:!0,enableLink:!1,widthRange:"",imgBorderShadowborderStyle:"solid",imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Top:"15",hoverEffect:"zoom-in"});break;default:return!1}}(e)}}),"custom"!==L&&React.createElement(React.Fragment,null,"featured-img"===L&&React.createElement(s.SelectControl,{label:(0,n.__)("Styles","essential-blocks"),description:(0,n.__)("Border won't work","essential-blocks"),value:m,options:S,onChange:function(e){return function(e){switch(a({stylePreset:e}),["octagon","rhombus","triangle"].includes(e)?a({complexStyle:!0}):a({complexStyle:!1}),e){case"rounded":a({imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Top:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Unit:"px",imgBorderShadowHRds_Bottom:"15",imgBorderShadowHRds_Top:"15",imgBorderShadowHRds_Left:"15",imgBorderShadowHRds_Right:"15",imgBorderShadowHRds_Unit:"px"});break;case"square":a({imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Unit:"px",imgBorderShadowHRds_Bottom:"0",imgBorderShadowHRds_Top:"0",imgBorderShadowHRds_Left:"0",imgBorderShadowHRds_Right:"0",imgBorderShadowHRds_Unit:"px"});break;case"circle":a({imgBorderShadowRds_Bottom:"50",imgBorderShadowRds_Top:"50",imgBorderShadowRds_Left:"50",imgBorderShadowRds_Right:"50",imgBorderShadowRds_Unit:"%",imgBorderShadowHRds_Bottom:"50",imgBorderShadowHRds_Top:"50",imgBorderShadowHRds_Left:"50",imgBorderShadowHRds_Right:"50",imgBorderShadowHRds_Unit:"%"});break;default:return!1}}(e)}}),"circle"===m&&React.createElement(s.PanelRow,null,React.createElement("em",null,'Please use equal "Height" & "Width" for perfect Circle shape.')),"feature-img"===L&&React.createElement(N.EbImageSizeSelector,{attrName:"imageSize",label:"Image Size"}),React.createElement(N.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:w,defaultAttributes:I,min:1,max:2e3,step:1,units:x}),React.createElement(s.ToggleControl,{label:(0,n.__)("Auto Height","essential-blocks"),checked:M,onChange:function(e){return a({autoHeight:e})}}),!M&&React.createElement(N.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:k,defaultAttributes:I,min:0,max:1e3,step:1,units:x}),React.createElement(s.ToggleControl,{label:(0,n.__)("Auto Fit Image?","essential-blocks"),checked:O,onChange:function(e){return a({autoFit:e})}}),"site-logo"!==L&&O&&React.createElement(s.SelectControl,{label:(0,n.__)("Image Fit Options","essential-blocks"),value:A,options:B,onChange:function(e){return a({fitStyles:e})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Link?","essential-blocks"),checked:u,onChange:function(e){return a({enableLink:e})}}),u&&React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:H,onChange:function(e){return a({openInNewTab:e})}})),"custom"===L&&React.createElement(N.ImageComponent.GeneralTab,{hasTag:!1,useImageAlign:!0}),React.createElement(s.SelectControl,{label:(0,n.__)("Hover Effect","essential-blocks"),value:g,options:E,onChange:function(e){return a({hoverEffect:e})}}))),React.createElement(N.InspectorPanel.Style,null,"custom"!==L&&React.createElement(React.Fragment,null,React.createElement(s.PanelBody,{title:(0,n.__)("Image Settings","essential-blocks")},React.createElement(N.ResponsiveAlignControl,{baseLabel:(0,n.__)("Image Align","essential-blocks"),controlName:_,options:C,resOption:d}),!P&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(N.BorderShadowControl,{controlName:R})),P&&React.createElement(s.PanelRow,null,React.createElement("em",null,"Border Style doesn't support for \"",m,' style".')))),"custom"===L&&React.createElement(React.Fragment,null,React.createElement(N.ImageComponent.StyleTab,{border:R,hasFilter:!1,hasRadius:!0,hasWidth:!0,width:w,hasHeight:!0,height:k,hasAutoHeight:!0}))))};function A(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.image,l=t.complexStyle,c=t.autoFit,i=t.fitStyles,s=t.autoHeight,b=t.imgSource,d=r.url;(0,p.useEffect)(function(){d&&0==P.length&&a({widthRange:r.width,widthUnit:"px",heightRange:r.height,heightUnit:"px"})},[d]);var m=(0,N.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),u=m.dimensionStylesDesktop,g=m.dimensionStylesTab,C=m.dimensionStylesMobile,E=(0,N.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),x=E.dimensionStylesDesktop,S=E.dimensionStylesTab,B=E.dimensionStylesMobile,T=(0,N.generateResponsiveRangeStyles)({controlName:w,property:"",attributes:t}),P=T.rangeStylesDesktop,O=T.rangeStylesTab,I=T.rangeStylesMobile,D=(0,N.generateResponsiveAlignStyles)({controlName:_,property:"margin",attributes:t}),A=D.alignStylesDesktop,M=D.alignStylesTab,L=D.alignStylesMobile,F=(0,N.generateResponsiveRangeStyles)({controlName:k,property:"",attributes:t}),j=F.rangeStylesDesktop,H=F.rangeStylesTab,z=(F.rangeStylesMobile,(0,N.generateBackgroundControlStyles)({attributes:t,controlName:f,noOverlay:!0})),U=z.backgroundStylesDesktop,V=z.hoverBackgroundStylesDesktop,G=z.backgroundStylesTab,q=z.hoverBackgroundStylesTab,W=z.backgroundStylesMobile,Z=z.hoverBackgroundStylesMobile,J=z.bgTransitionStyle,Y=(0,N.generateBorderShadowStyles)({controlName:v,attributes:t}),Q=Y.styesDesktop,X=Y.styesTab,$=Y.styesMobile,K=Y.stylesHoverDesktop,ee=Y.stylesHoverTab,te=Y.stylesHoverMobile,ae=Y.transitionStyle,ne=(0,N.generateBorderShadowStyles)({controlName:R,attributes:t}),oe=ne.styesDesktop,re=ne.styesTab,le=ne.styesMobile,ce=(ne.stylesHoverDesktop,ne.stylesHoverTab,ne.stylesHoverMobile,ne.transitionStyle),ie="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(u,"\n\t\t\t").concat(x,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(U,"\n\t\t\ttransition:").concat(J,", ").concat(ae,";\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(K,"\n\t\t\t").concat(V,"\n\t\t}\n\t"),se="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(g,"\n\t\t\t").concat(S,"\n\t\t\t").concat(X,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(q,"\n\t\t}\n\t"),pe="\n\t\t.eb-advanced-image-wrapper.".concat(o,"{\n\t\t\t").concat(C,"\n\t\t\t").concat(B,"\n\t\t\t").concat($,"\n\t\t\t").concat(W,"\n\t\t}\n\t\t.eb-advanced-image-wrapper.").concat(o,":hover {\n\t\t\t").concat(te,"\n\t\t\t").concat(Z,"\n\t\t}\n\t"),be="\n\t\t.eb-advanced-image-wrapper.".concat(o," .eb-image-wrapper{\n\t\t\t").concat(A,"\n\t\t}\n ").concat("custom"!==b?"\n .eb-advanced-image-wrapper.".concat(o," .image-wrapper {\n\t\t\twidth").concat(P,";\n\t\t\t").concat(s?"height: auto;":"height".concat(j),";\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(A,"\n\t\t}\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper,\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper img {\n ").concat(l?"":oe,"\n }\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(c?"object-fit: ".concat(i,";"):"","\n ").concat(P?"width: 100%":"","\n\t\t}\n "):"","\n\t"),de="\n\t\t.eb-advanced-image-wrapper.".concat(o," .eb-image-wrapper{\n\t\t\t").concat(M,"\n\t\t}\n ").concat("custom"!==b?"\n .eb-advanced-image-wrapper.".concat(o," .image-wrapper {\n\t\t\twidth").concat(O,";\n\t\t\t").concat(s?"height: auto;":"height".concat(H),";\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(M,"\t\t}\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper,\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper img {\n ").concat(l?"":re,"\n }\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(c?"object-fit: ".concat(i,";"):"","\n ").concat(O?"width: 100%":"","\n\t\t}\n "):"","\n\t"),me="\n .eb-advanced-image-wrapper.".concat(o," .eb-image-wrapper{\n\t\t\t").concat(L,"\n\t\t}\n ").concat("custom"!==b?"\n .eb-advanced-image-wrapper.".concat(o," .image-wrapper {\n\t\t\twidth").concat(I,";\n\t\t\t").concat(s?"height: auto;":"height".concat(H),";\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(L,"\t\t}\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper,\n .eb-advanced-image-wrapper.").concat(o," .image-wrapper img {\n ").concat(l?"":le,"\n }\n\t\t.eb-advanced-image-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(ce,";\n\t\t\t").concat(c?"object-fit: ".concat(i,";"):"","\n ").concat(I?"width: 100%":"","\n\t\t}\n "):"","\n\t"),ue=N.ImageComponent.Style({blockId:o,wrapperClass:"eb-advanced-image-wrapper",width:w,height:k,border:R,hasFilter:!1}),ge=ue.imgDesktopStyle,fe=ue.imgTabStyle,ye=ue.imgMobileStyle,he=(0,N.softMinifyCssStrings)("\n\t\t".concat(ie,"\n\t\t").concat(be,"\n ").concat(ge,"\n\t")),ve=(0,N.softMinifyCssStrings)("\n\t\t".concat(se,"\n\t\t").concat(de,"\n ").concat(fe,"\n\t")),we=(0,N.softMinifyCssStrings)("\n\t\t".concat(pe,"\n\t\t").concat(me,"\n ").concat(ye,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(N.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:he,tabAllStyles:ve,mobileAllStyles:we,blockName:n}))}var M=a(45),L=a(9491);const F=window.wp.blob;var j=["onRemoveLogo"],H=function(e){var t,a=e.alt,o=e.attributes,l=o.align,c=o.shouldSyncIcon,s=o.blockId,m=o.hoverEffect,u=o.classHook,f=o.enableLink,y=e.setAttributes,h=(e.setLogo,e.logoUrl),v=e.siteUrl,w=e.logoId,k=e.iconId,R=(e.setIcon,e.canUserEdit,(0,L.useViewportMatch)("medium")),_=!["wide","full"].includes(l)&&R,C=(0,p.useState)({}),E=(0,r.A)(C,2),x=E[0],S=x.naturalWidth,B=x.naturalHeight,T=E[1],N=((0,b.useDispatch)(i.store).toggleSelection,g()("custom-logo-link",{"is-transient":(0,F.isBlobURL)(h)})),P=(0,b.useSelect)(function(e){var t=e(i.store).getSettings(),a=e(d.store).getEntityRecord("root","__unstableBase");return{title:null==a?void 0:a.name,imageEditing:t.imageEditing,maxWidth:t.maxWidth}},[]),O=(P.imageEditing,P.maxWidth,P.title);(0,p.useEffect)(function(){c&&w!==k&&y({shouldSyncIcon:!1})},[]);var I,D=React.createElement("img",{className:"custom-logo",src:h,alt:a,onLoad:function(e){T({naturalWidth:e.target.naturalWidth,naturalHeight:e.target.naturalHeight})}}),A=D;if(f&&(A=React.createElement("a",{href:v,className:N,rel:"home",title:O,onClick:function(e){return e.preventDefault()}},D)),S&&B&&(I=S>120?120:S),!_||!I)return React.createElement("div",{className:"test-wrap"},A);var M=React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(s," ").concat(u)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(s," ").concat(m),"data-id":s},React.createElement("div",{className:"image-wrapper"},A))),j=null!==(t=window)&&void 0!==t&&t.__experimentalUseCustomizerSiteLogoUrl?v+"/wp-admin/customize.php?autofocus[section]=title_tagline":v+"/wp-admin/options-general.php";return(0,p.createInterpolateElement)((0,n.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:React.createElement("a",{href:j,target:"_blank",rel:"noopener noreferrer"})}),React.createElement(React.Fragment,null,M)};function z(e){var t=e.onRemoveLogo,a=(0,M.A)(e,j);return React.createElement(i.MediaReplaceFlow,(0,o.A)({},a,{accept:"image/*",allowedTypes:["image"]}),React.createElement(s.MenuItem,{onClick:t},(0,n.__)("Reset")))}var U={onClick:function(e){return e.preventDefault()},"aria-disabled":!0};function V(){var e;return React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(e=EssentialBlocksLocalize)||void 0===e?void 0:e.image_url,"/ajax-loader.gif"),alt:"Loading..."}))}var G=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("path",{d:"M77.6599 28.7519C76.7718 27.43 74.8404 27.3922 73.9013 28.6782L55.5987 53.7423C54.728 54.9346 52.9742 55.0066 52.0088 53.8895L44.3175 44.9904C43.3305 43.8484 41.5287 43.9538 40.6815 45.2032L23.4296 70.6464C22.3962 72.1703 23.4879 74.2295 25.3291 74.2295H103.906C105.743 74.2295 106.836 72.1792 105.811 70.6545L77.6599 28.7519Z",fill:"#DEE2ED"}),React.createElement("path",{d:"M54.1104 28.5914L52.2118 27.1068C52.2359 26.8778 52.2565 26.6102 52.2565 26.327C52.2565 26.0439 52.2367 25.7762 52.2118 25.5473L54.1121 24.0618C54.465 23.7829 54.5614 23.288 54.3368 22.8758L52.3624 19.4598C52.1515 19.0743 51.6894 18.8763 51.2203 19.0493L48.98 19.9487C48.5506 19.6388 48.1004 19.3772 47.6348 19.1681L47.294 16.7918C47.238 16.3408 46.8456 16 46.3817 16H42.4227C41.9588 16 41.5672 16.3408 41.5121 16.7849L41.1705 19.1698C40.7195 19.3729 40.2762 19.6311 39.8278 19.9504L37.5815 19.0485C37.1606 18.8858 36.6571 19.0682 36.448 19.4521L34.4711 22.8723C34.2379 23.2665 34.3343 23.7786 34.6949 24.0644L36.5935 25.549C36.5633 25.839 36.5487 26.0912 36.5487 26.3279C36.5487 26.5646 36.5634 26.8167 36.5935 27.1077L34.6931 28.5931C34.3403 28.8728 34.2447 29.3677 34.4694 29.7791L36.4437 33.1951C36.6546 33.5798 37.1124 33.7794 37.5858 33.6056L39.8261 32.7062C40.2547 33.0152 40.7048 33.2768 41.1705 33.4868L41.5113 35.8622C41.5672 36.3149 41.9588 36.6557 42.4236 36.6557H46.3826C46.8465 36.6557 47.2389 36.3149 47.294 35.8708L47.6357 33.4868C48.0867 33.2828 48.529 33.0255 48.9783 32.7053L51.2246 33.6073C51.333 33.6494 51.4458 33.671 51.562 33.671C51.8959 33.671 52.2032 33.4885 52.3581 33.2045L54.341 29.7705C54.5614 29.3677 54.465 28.8728 54.1104 28.5914ZM44.4022 29.7705C42.5036 29.7705 40.9596 28.2265 40.9596 26.3279C40.9596 24.4293 42.5036 22.8853 44.4022 22.8853C46.3008 22.8853 47.8448 24.4293 47.8448 26.3279C47.8448 28.2265 46.3008 29.7705 44.4022 29.7705Z",fill:"#CBD0DD"}))},q=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("rect",{x:"33",y:"18",width:"30",height:"4",rx:"2",fill:"#CBD0DD"}),React.createElement("rect",{x:"69",y:"18",width:"40",height:"4",rx:"2",fill:"#CBD0DD"}),React.createElement("rect",{x:"8.03278",y:"40.7869",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8.03278",y:"52.2623",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8.03278",y:"63.7377",width:"76.8853",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.19149 20.6281C9.23506 21.2983 9.30834 21.8283 9.49305 22.512C9.54316 22.6975 9.70561 22.8219 9.89774 22.8219H12.473C12.723 22.8219 12.9158 22.6081 12.89 22.3595C12.7379 20.8946 12.7216 19.3711 12.8427 17.8934C12.8628 17.6478 12.6713 17.44 12.425 17.44H9.89778C9.70569 17.44 9.5432 17.5644 9.49309 17.7499C9.36846 18.2114 9.2785 18.6871 9.22848 19.1739C9.18347 19.6107 9.17845 19.8943 9.1808 20.3256L9.19149 20.6281ZM13.1183 15.7531C13.2878 14.8035 13.5151 13.8946 13.7953 13.0458C13.9206 12.6663 13.4881 12.3424 13.1592 12.5694C12.0621 13.3264 11.1367 14.3157 10.4554 15.4658C10.2894 15.746 10.4904 16.0986 10.8161 16.0986H12.7057C12.9106 16.0986 13.0823 15.9548 13.1183 15.7531ZM22.2071 15.598C21.8963 14.03 21.4158 12.6012 20.7892 11.419C20.731 11.3091 20.6383 11.2371 20.5175 11.2079C19.1023 10.865 17.6146 10.8653 16.2003 11.2079C16.0795 11.2371 15.9868 11.3091 15.9286 11.419C15.3021 12.6012 14.8215 14.03 14.5108 15.598C14.4592 15.8585 14.6564 16.0986 14.922 16.0986H21.7959C22.0615 16.0986 22.2587 15.8585 22.2071 15.598ZM24.0122 16.0986H25.9018C26.2275 16.0986 26.4284 15.7461 26.2625 15.4658C25.5812 14.3156 24.6557 13.3259 23.5585 12.5691C23.2296 12.3422 22.7971 12.6661 22.9224 13.0456C23.2026 13.8944 23.43 14.8034 23.5995 15.7531C23.6355 15.9548 23.8073 16.0986 24.0122 16.0986ZM24.2449 22.8219H26.8202C27.0123 22.8219 27.1747 22.6976 27.2248 22.5121C27.3495 22.0507 27.4394 21.575 27.4894 21.088C27.5382 20.6108 27.537 20.3923 27.537 19.9179C27.537 19.7278 27.5063 19.3377 27.4894 19.1739C27.4394 18.6871 27.3494 18.2114 27.2248 17.7499C27.1747 17.5644 27.0122 17.44 26.8201 17.44H24.2929C24.0466 17.44 23.8551 17.6478 23.8752 17.8934C23.9963 19.3711 23.98 20.8945 23.8279 22.3595C23.8021 22.6082 23.9949 22.8219 24.2449 22.8219ZM23.5021 24.4981C23.3016 25.475 23.0281 26.4524 22.6801 27.3638C22.5361 27.7408 22.9581 28.084 23.2978 27.8663C24.5095 27.0898 25.5273 26.0364 26.2622 24.7961C26.4282 24.5159 26.2273 24.1632 25.9016 24.1632H23.9127C23.7116 24.1633 23.5426 24.3011 23.5021 24.4981ZM14.0377 27.3636C13.6897 26.4521 13.4163 25.475 13.2157 24.4982C13.1753 24.3011 13.0063 24.1633 12.8052 24.1633H10.8163C10.4906 24.1633 10.2897 24.5159 10.4557 24.7962C11.1906 26.0363 12.2083 27.0895 13.42 27.8661C13.7597 28.0838 14.1817 27.7406 14.0377 27.3636ZM21.6789 24.1633H15.039C14.7685 24.1633 14.5701 24.4122 14.6304 24.6759C15.0074 26.3241 15.5751 27.7949 16.298 28.9476C16.3616 29.0491 16.4541 29.1128 16.5716 29.1361C17.7516 29.3698 18.9653 29.37 20.1462 29.1361C20.2637 29.1128 20.3562 29.0491 20.4199 28.9476C21.1428 27.7949 21.7105 26.3244 22.0875 24.6759C22.1478 24.4122 21.9494 24.1633 21.6789 24.1633ZM14.1041 19.8622C14.1041 20.7417 14.1559 21.6094 14.2529 22.4508C14.2775 22.6634 14.4553 22.8219 14.6693 22.8219H22.0486C22.2626 22.8219 22.4405 22.6634 22.465 22.4508C22.6413 20.9229 22.6615 19.3611 22.5226 17.8215C22.503 17.6047 22.3227 17.44 22.1051 17.44H14.6128C14.3951 17.44 14.2149 17.6047 14.1953 17.8215C14.135 18.4899 14.1041 19.1724 14.1041 19.8622Z",fill:"#CBD0DD"}))},W=function(){return React.createElement("svg",{width:"129",height:"90",viewBox:"0 0 129 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{width:"129",height:"90",rx:"4.27251",fill:"#F5F7FA"}),React.createElement("rect",{x:"8.03278",y:"64",width:"111.311",height:"4.59016",rx:"2.29508",fill:"#DEE2ED"}),React.createElement("rect",{x:"8",y:"75",width:"91",height:"5",rx:"2.5",fill:"#DEE2ED"}),React.createElement("rect",{x:"8",y:"8",width:"111",height:"51",rx:"4.27251",fill:"#DEE2ED"}),React.createElement("path",{d:"M72.0127 18.2375C71.6274 17.6446 70.7652 17.6279 70.3573 18.2055L57.873 35.8832C57.4942 36.4196 56.7101 36.4515 56.2889 35.9477L50.5803 29.1179C50.15 28.603 49.3448 28.6497 48.9768 29.2108L37.0153 47.4516C36.5793 48.1167 37.0563 49 37.8516 49H90.1577C90.9511 49 91.4285 48.1204 90.9963 47.4552L72.0127 18.2375Z",fill:"#F6F8FA"}))},Z=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22605)"},React.createElement("path",{d:"M30.384 22.561a6.12 6.12 0 100 12.24 6.12 6.12 0 000-12.24zm0 9.326a3.206 3.206 0 110-6.412 3.206 3.206 0 010 6.412z"}),React.createElement("path",{d:"M54.793 8.572L15.011 4.054a5.464 5.464 0 00-4.298 1.24A5.537 5.537 0 008.6 9.081l-.729 5.974H5.612c-3.206 0-5.61 2.842-5.61 6.048v29.8a5.538 5.538 0 005.61 5.683h40c3.207 0 6.121-2.477 6.121-5.683v-1.166a7.285 7.285 0 002.769-1.166 6.048 6.048 0 002.113-3.934l3.351-29.582a5.902 5.902 0 00-5.173-6.484zM48.82 50.904c0 1.603-1.603 2.768-3.206 2.768h-40a2.623 2.623 0 01-2.697-2.768v-5.392l11.294-8.306a3.497 3.497 0 014.517.219l7.942 6.994a6.85 6.85 0 004.299 1.603 6.63 6.63 0 003.497-.947l14.354-8.306v14.135zm0-17.56l-15.884 9.254a3.716 3.716 0 01-4.299-.365l-8.014-7.067a6.485 6.485 0 00-8.088-.292L2.916 41.87V21.104c0-1.603 1.093-3.133 2.696-3.133h40a3.352 3.352 0 013.207 3.133v12.24zm8.236-18.681l-.003.029-3.425 29.581a2.477 2.477 0 01-.947 1.968c-.291.291-.947.437-.947.583v-25.72a6.266 6.266 0 00-6.12-6.048H10.785l.656-5.683a3.352 3.352 0 011.093-1.894 3.351 3.351 0 012.186-.583l39.71 4.59a2.914 2.914 0 012.625 3.177z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22605"},React.createElement("path",{fill:"#fff",d:"M0 0H60V60H0z"}))))};function J(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?J(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):J(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Q=(0,p.memo)((0,N.withBlockContext)(I)(function(e){var t,a,l=e.attributes,c=e.setAttributes,u=e.isSelected,f=e.context,y=(l.resOption,l.blockId),h=(l.blockMeta,l.image),v=(l.imageCaption,l.displayCaption,l.horizontalAlign),w=l.verticalAlign,k=l.verticalAlignCap2,R=l.stylePreset,_=l.captionStyle,C=l.hoverEffect,E=l.classHook,x=l.imageSize,S=l.imgSource,B=l.shouldSyncIcon,T=l.enableLink,P=l.imageUrl,O=Y(Y({},e),{},{blockPrefix:"eb-advanced-image",style:React.createElement(A,e)});h.url,(0,p.useEffect)(function(){void 0===S&&h.url.length>0&&c({imgSource:"custom"}),void 0===P&&h.url.length>0&&c({imageUrl:h.url})},[]);var I=null==f?void 0:f["essential-blocks/postId"],M=null==f?void 0:f["essential-blocks/postType"],L=Boolean(f&&(!0===f["essential-blocks/isLoopBuilder"]||f.hasOwnProperty("essential-blocks/postId")&&f.hasOwnProperty("essential-blocks/postType")));(0,p.useEffect)(function(){L&&c({imgSource:"featured-img",displayCaption:!1,enableLink:!0,hoverEffect:"no-effect"})},[L,I,M]);var F,j=wp.data.select("core").getMedia(h.id),J=(0,p.useRef)(x),Q=(0,p.useRef)(),X=(0,b.useSelect)(function(e){var t=e(d.store),a=t.canUser,n=t.getEntityRecord,o=t.getEditedEntityRecord,r=a("update","settings"),l=r?o("root","site"):void 0,c=n("root","__unstableBase"),i=r?null==l?void 0:l.site_logo:null==c?void 0:c.site_logo,s=null==l?void 0:l.site_icon,p=i&&e(d.store).getMedia(i,{context:"view"}),b=i&&!e(d.store).hasFinishedResolution("getMedia",[i,{context:"view"}]);return{siteLogoId:i,canUserEdit:r,url:null==c?void 0:c.home,mediaItemData:p,isRequestingMediaItem:b,siteIconId:s}},[]),$=X.siteLogoId,K=X.canUserEdit,ee=X.url,te=X.siteIconId,ae=X.mediaItemData,ne=X.isRequestingMediaItem,oe=(0,b.useDispatch)(d.store).editEntityRecord,re=function(e){(B||arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&le(e),oe("root","site",void 0,{site_logo:e})},le=function(e){return oe("root","site",void 0,{site_icon:null!=e?e:null})},ce=null!=ae?ae:{},ie=ce.alt_text,se=ce.source_url,pe=(0,b.useDispatch)(m.store).createErrorNotice,be={mediaURL:se,onSelect:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&(e.id||!e.url?re(e.id,t):re(void 0))},onError:function(e){pe(e,{type:"snackbar"})},onRemoveLogo:function(){re(null),c({width:void 0})}},de=K&&se&&React.createElement(i.BlockControls,{group:"other"},React.createElement(z,be)),me=void 0===$||ne;me&&(F=V()),se&&(F=React.createElement(H,{alt:ie,attributes:l,containerRef:Q,isSelected:u,setAttributes:c,logoUrl:se,setLogo:re,logoId:(null==ae?void 0:ae.id)||$,siteUrl:ee,setIcon:le,iconId:te,canUserEdit:K}));var ue,ge,fe=L&&I||f.postID,ye=L&&M||f.postType,he=(0,d.useEntityProp)("postType",ye,"featured_media",fe),ve=(0,r.A)(he,2),we=ve[0],ke=(ve[1],we),Re=(0,b.useSelect)(function(e){var t,a=e(d.store),n=a.getMedia,o=a.getPostType,r=a.getEditedEntityRecord;return{media:ke&&n(ke,{context:"view"}),postType:ye&&o(ye),postPermalink:null===(t=r("postType",ye,fe))||void 0===t?void 0:t.link}},[ke,ye,fe]),_e=Re.media,Ce=(Re.postType,Re.postPermalink),Ee=function(e,t){var a;return(null==e||null===(a=e.media_details)||void 0===a||null===(a=a.sizes)||void 0===a||null===(a=a[t])||void 0===a?void 0:a.source_url)||(null==e?void 0:e.source_url)}(_e,x);if(ue=ke?_e?function(e,t){return React.createElement("img",{src:e,alt:null!=t&&t.alt_text?(0,n.sprintf)((0,n.__)("Featured image: %s"),null==t?void 0:t.alt_text):(0,n.__)("Featured image")})}(Ee,_e):React.createElement(s.Placeholder,{className:g()("block-editor-media-placeholder"),withIllustration:!0},undefined):(0,n.__)("Seems like you haven't added a Featured Image for this post. Please make sure to add a Featured Image and try again.","essential-blocks"),"featured-img"===S&&!_e&&0==ue.length)return React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(ge=EssentialBlocksLocalize)||void 0===ge?void 0:ge.image_url,"/ajax-loader.gif"),alt:"Loading..."}));var xe="\n img-style-".concat(R,"\n ").concat(_,"\n caption-horizontal-").concat(v,"\n caption-vertical-").concat(w,"\n ").concat(k,"\n ").concat(C,"\n").replace(/\s+/g," ").trim();return React.createElement(React.Fragment,null,u&&S&&React.createElement(D,{attributes:l,setAttributes:c,media:_e,prevImageSize:J,oldImageData:j,context:f}),React.createElement(N.BlockProps.Edit,O,!S&&!L&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-adv-img-editor-source-select"},React.createElement("h2",null,"Please Select an Image Source"),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return c({imgSource:"custom"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(G,null)),React.createElement("span",null,"Custom Image")),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return c({imgSource:"site-logo",displayCaption:!1,enableLink:!0,widthRange:120,widthUnit:"px",imgBorderShadowborderStyle:"none",imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",hoverEffect:"no-effect"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(q,null)),React.createElement("span",null,"Site Logo")),React.createElement("div",{className:"eb-adv-img-editor-source-item",onClick:function(){return c({imgSource:"featured-img",displayCaption:!1,enableLink:!0,hoverEffect:"no-effect"})}},React.createElement("div",{className:"eb-adv-img-editor-source-icon"},React.createElement(W,null)),React.createElement("span",null,"Featured Image")))),S&&React.createElement(React.Fragment,null,"custom"===S&&(!P||""===P)&&React.createElement(React.Fragment,null,React.createElement(N.ImageComponent.Upload,{labels:{title:(0,n.__)("Advanced Image","essential-blocks"),instructions:(0,n.__)("Drag media file, upload or select image from your library.","essential-blocks")},icon:Z})),"site-logo"===S&&React.createElement(React.Fragment,null,de,!!se&&F,!se&&!!me&&React.createElement(s.Placeholder,{className:"eb-adv-img-site-logo-placeholder"},V()),!se&&!me&&React.createElement(React.Fragment,null,React.createElement(N.ImageComponent.Upload,{labels:{title:(0,n.__)("Advanced Image","essential-blocks"),instructions:(0,n.__)("Drag media file, upload or select image from your library.","essential-blocks")}}))),("custom"===S&&P&&void 0!==P&&""!==P||"featured-img"===S&&0!=ke)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(y," ").concat(E)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(y).concat("custom"!==S?" "+xe:""," ").concat("custom"===S?C:""),"data-id":y},"custom"===S&&React.createElement(N.ImageComponent,null),"featured-img"===S&&"edit-site"!==eb_conditional_localize.editor_type&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-wrapper"},React.createElement(React.Fragment,null,T?React.createElement("a",(0,o.A)({href:Ce},U),ue):ue)))))),"featured-img"===S&&"edit-post"===eb_conditional_localize.editor_type&&!ke&&React.createElement(React.Fragment,null,L&&null!==(t=EssentialBlocksLocalize)&&void 0!==t&&t.placeholder_image?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(y," ").concat(E)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(y)},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:EssentialBlocksLocalize.placeholder_image,alt:(0,n.__)("Placeholder image for Loop Builder","essential-blocks")})))):React.createElement(N.NoticeComponent,{Icon:Z,title:"Advanced Image",description:ue})),"featured-img"===S&&"edit-site"===eb_conditional_localize.editor_type&&React.createElement("div",{className:"feature-image-placeholder"},React.createElement("img",{src:(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.eb_plugins_url)+"assets/images/user.jpg",alt:"featured image"})))))}));var X;const $={attributes:{image:{url:(null===(X=EssentialBlocksLocalize)||void 0===X?void 0:X.image_url)+"/gallery-images/hongkong.jpg"},displayCaption:!0,imageCaption:"Style images in Gutenberg with advanced options.",captionColor:"#000000",widthRange:"100",widthUnit:"%",heightRange:"340"}};function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var te=lodash.omit;const ae=[{attributes:ee({},I),migrate:function(e){var t=e.image,a=ee({},e);return ee(ee({},a),{},{imageUrl:null==t?void 0:t.url,imageId:null==t?void 0:t.id,imageAlt:null==t?void 0:t.alt})},supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,l=t.verticalAlign,c=t.verticalAlignCap2,s=t.stylePreset,p=t.captionStyle,b=t.hoverEffect,d=t.openInNewTab,m=t.imageLink,u=t.enableLink,g=t.classHook;if("custom"!==t.imgSource)return null;var f=n.url,y=d?"_blank":void 0;return""===f?null:React.createElement(N.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(s," ").concat(p," caption-horizontal-").concat(r," caption-vertical-").concat(l," ").concat(c," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},u&&React.createElement("a",{className:"eb-advimg-link",href:(0,N.sanitizeURL)(m),target:y,rel:"_blank"===y?"noopener":void 0}),React.createElement("img",{src:f,alt:n.alt}),!i.RichText.isEmpty(o)&&"caption-style-2"!=p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o})),!i.RichText.isEmpty(o)&&"caption-style-2"==p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o}))))}},{attributes:ee({},I),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,l=t.verticalAlign,c=t.verticalAlignCap2,s=t.stylePreset,p=t.captionStyle,b=t.hoverEffect,d=t.openInNewTab,m=t.imageLink,u=t.enableLink,g=t.classHook;if("custom"!==t.imgSource)return null;var f=n.url,y=d?"_blank":void 0;return""===f?null:React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(s," ").concat(p," caption-horizontal-").concat(r," caption-vertical-").concat(l," ").concat(c," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},u&&React.createElement("a",{className:"eb-advimg-link",href:m,target:y,rel:"_blank"===y?"noopener":void 0}),React.createElement("img",{src:f,alt:n.alt}),!i.RichText.isEmpty(o)&&"caption-style-2"!=p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o})),!i.RichText.isEmpty(o)&&"caption-style-2"==p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o}))))}},{attributes:ee({},te(ee({},I),["imgSource"])),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,l=t.verticalAlign,c=t.verticalAlignCap2,s=t.stylePreset,p=t.captionStyle,b=t.hoverEffect,d=t.openInNewTab,m=t.imageLink,u=t.enableLink,g=t.classHook,f=n.url,y=d?"_blank":void 0;return""===f?null:React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(s," ").concat(p," caption-horizontal-").concat(r," caption-vertical-").concat(l," ").concat(c," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},u&&React.createElement("a",{className:"eb-advimg-link",href:(0,N.sanitizeURL)(m),target:y,rel:"_blank"===y?"noopener":void 0}),React.createElement("img",{src:f,alt:n.alt}),!i.RichText.isEmpty(o)&&"caption-style-2"!=p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o})),!i.RichText.isEmpty(o)&&"caption-style-2"==p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o}))))}},{attributes:ee({},I),supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1}},save:function(e){var t=e.attributes,a=t.blockId,n=t.image,o=t.imageCaption,r=t.horizontalAlign,l=t.verticalAlign,c=t.verticalAlignCap2,s=t.stylePreset,p=t.captionStyle,b=t.hoverEffect,d=t.openInNewTab,m=t.imageLink,u=t.enableLink,g=n.url,f=d?"_blank":void 0;return""===g?null:React.createElement("div",i.useBlockProps.save(),React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," img-style-").concat(s," ").concat(p," caption-horizontal-").concat(r," caption-vertical-").concat(l," ").concat(c," ").concat(b),"data-id":a},React.createElement("div",{className:"image-wrapper"},u&&React.createElement("a",{className:"eb-advimg-link",href:(0,N.sanitizeURL)(m),target:f,rel:"_blank"===f?"noopener":void 0}),React.createElement("img",{src:g,alt:n.alt}),!i.RichText.isEmpty(o)&&"caption-style-2"!=p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o})),!i.RichText.isEmpty(o)&&"caption-style-2"==p&&React.createElement(i.RichText.Content,{tagName:"figcaption",value:o})))}}],ne=JSON.parse('{"title":"Advanced Image","name":"essential-blocks/advanced-image","category":"essential-blocks","description":"Customise images in Gutenberg to fit your exact needs.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"],"color":{"__experimentalDuotone":"img","text":false,"background":false}},"editorScript":"essential-blocks-editor-script","usesContext":["postId","postType","essential-blocks/postId","essential-blocks/postType","essential-blocks/queryId","essential-blocks/isLoopBuilder","essential-blocks/query"]}');var oe;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},re.apply(null,arguments)}(0,N.ebConditionalRegisterBlockType)(ne,{keywords:[(0,n.__)("Image","essential-blocks"),(0,n.__)("Image block","essential-blocks"),(0,n.__)("Advanced Image","essential-blocks"),(0,n.__)("Single image","essential-blocks"),(0,n.__)("Site Logo","essential-blocks"),(0,n.__)("Featued image","essential-blocks"),(0,n.__)("custom image","essential-blocks")],icon:function(e){return c.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),oe||(oe=c.createElement("g",{fill:"#6C3BFF"},c.createElement("path",{d:"M30.384 22.561a6.12 6.12 0 1 0 0 12.24 6.12 6.12 0 0 0 0-12.24m0 9.326a3.206 3.206 0 1 1 0-6.412 3.206 3.206 0 0 1 0 6.412"}),c.createElement("path",{d:"M54.793 8.572 15.011 4.054a5.46 5.46 0 0 0-4.298 1.24A5.54 5.54 0 0 0 8.6 9.081l-.729 5.974H5.612c-3.206 0-5.61 2.842-5.61 6.048v29.8a5.54 5.54 0 0 0 5.61 5.683h40c3.207 0 6.121-2.477 6.121-5.683v-1.166a7.3 7.3 0 0 0 2.769-1.166 6.05 6.05 0 0 0 2.113-3.934l3.351-29.582a5.9 5.9 0 0 0-5.173-6.484zM48.82 50.904c0 1.603-1.603 2.768-3.206 2.768h-40a2.623 2.623 0 0 1-2.697-2.768v-5.392l11.294-8.306a3.5 3.5 0 0 1 4.517.219l7.942 6.994a6.85 6.85 0 0 0 4.299 1.603 6.63 6.63 0 0 0 3.497-.947l14.354-8.306zm0-17.56-15.884 9.254a3.72 3.72 0 0 1-4.299-.365l-8.014-7.067a6.485 6.485 0 0 0-8.088-.292L2.916 41.87V21.104c0-1.603 1.093-3.133 2.696-3.133h40a3.35 3.35 0 0 1 3.207 3.133zm8.236-18.681-.003.029-3.425 29.581a2.48 2.48 0 0 1-.947 1.968c-.291.291-.947.437-.947.583v-25.72a6.266 6.266 0 0 0-6.12-6.048H10.785l.656-5.683a3.35 3.35 0 0 1 1.093-1.894 3.35 3.35 0 0 1 2.186-.583l39.71 4.59a2.914 2.914 0 0 1 2.625 3.177z"}))))},attributes:I,edit:Q,save:function(e){var t=e.attributes,a=t.blockId,n=(t.image,t.imageCaption,t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.stylePreset,t.captionStyle,t.hoverEffect),o=(t.openInNewTab,t.imageLink,t.enableLink,t.classHook);return"custom"!==t.imgSource?null:React.createElement(N.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(o)},React.createElement("figure",{className:"eb-advanced-image-wrapper ".concat(a," ").concat(n),"data-id":a},React.createElement(N.ImageComponent.Content,{attributes:t}))))},example:$,deprecated:ae})},3582:e=>{e.exports=window.wp.coreData},3619:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(4467),i=a(8468),s=a(7143),p=a(5694),b=a(6427),d="wrprBg",m="wrpMargin",u="wrpPadding",g="wrpBorderShadow",f="labelMargin",y="checkboxSize",h="checkboxSpacing",v=((0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Normal"),(0,o.__)("Advanced"),[{label:(0,o.__)("Normal"),value:"normal"},{label:(0,o.__)("Checked"),value:"checked"}]),w="label_",k="checkboxText_";function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_(_(_(_(_({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},dynamicValue:{type:"string"},dynamicOptionType:{type:"string",default:"normal"},dynamicValueLoader:{type:"boolean",default:!1},options:{type:"array",default:[{name:"Option 1",value:"checkbox_1"},{name:"Option 2",value:"checkbox_2"},{name:"Option 3",value:"checkbox_3"}]},fieldName:{type:"string"},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},checkboxType:{type:"string",default:"normal"},checkboxColor:{type:"string"},checkboxBgColor:{type:"string"},checkboxBrColor:{type:"string"},checkboxBrCheckedColor:{type:"string"},checkboxBorder:{type:"number"}},(0,p.generateTypographyAttributes)(w)),(0,p.generateTypographyAttributes)(k)),(0,p.generateDimensionsAttributes)(m)),(0,p.generateDimensionsAttributes)(u)),(0,p.generateBackgroundAttributes)(d)),(0,p.generateBorderShadowAttributes)(g)),(0,p.generateDimensionsAttributes)(f)),(0,p.generateResponsiveRangeAttributes)(y)),(0,p.generateResponsiveRangeAttributes)(h)),E=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=(t.resOption,t.showLabel),l=t.labelText,c=t.options,i=t.fieldName,s=t.defaultValue,R=t.isRequired,_=t.validationMessage,C=t.labelColor,E=t.requiredColor,x=t.checkboxType,S=t.checkboxColor,B=t.checkboxBgColor,T=t.checkboxBrColor,N=t.checkboxBrCheckedColor,P=t.checkboxBorder,O=t.dynamicValue,I=t.dynamicOptionType,D=t.dynamicValueLoader,A=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:d,borderPrefix:g,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(b.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(p.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(p.DynamicFormFieldControl,{type:"checkbox",options:c,dynamicValue:O,dynamicOptionType:I,dynamicValueLoader:D,setAttributes:a}),React.createElement(b.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:R,onChange:function(){return a({isRequired:!R})}})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:s,onChange:function(e){return a({defaultValue:e})},enableAi:!0,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(p.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:i,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),R&&React.createElement(p.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:_,onChange:function(e){return a({validationMessage:e})},enableAi:!0})),React.createElement(p.FormConditionalLogics,{clientId:n,parentBlockId:A})),React.createElement(p.InspectorPanel.Style,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:C,attributeName:"labelColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:E,attributeName:"requiredColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Checkbox","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:S,attributeName:"checkboxColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:B,attributeName:"checkboxBgColor"}),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:y,min:1,max:100,step:1,noUnits:!0}),React.createElement(b.RangeControl,{label:(0,o.__)("Border Width","essential-blocks"),value:P,onChange:function(e){return a({checkboxBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(b.ButtonGroup,{className:"eb-inspector-btn-group"},v.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({checkboxType:e.value})}},e.label)})),"normal"===x&&React.createElement(React.Fragment,null,React.createElement(p.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:T,attributeName:"checkboxBrColor"})),"checked"===x&&React.createElement(React.Fragment,null,React.createElement(p.ColorControl,{label:(0,o.__)("Border Color","essential-blocks"),color:N,attributeName:"checkboxBrCheckedColor"})),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Spacing (PX)","essential-blocks"),controlName:h,min:1,max:100,step:1,noUnits:!0}))))))};function x(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.parentBlockId,r=t.blockId,l=(t.blockMeta,t.resOption,t.labelColor),c=t.requiredColor,i=t.checkboxColor,s=t.checkboxBgColor,b=t.checkboxBrColor,v=t.checkboxBrCheckedColor,R=t.checkboxSizeRange,_=t.TABcheckboxSizeRange,C=t.MOBcheckboxSizeRange,E=(t.checkboxBorderborderColor,t.checkboxBorder),x=(0,p.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=(0,p.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,I=N.dimensionStylesMobile,D=(0,p.generateBorderShadowStyles)({controlName:g,attributes:t}),A=D.styesDesktop,M=D.styesTab,L=D.styesMobile,F=D.stylesHoverDesktop,j=D.stylesHoverTab,H=D.stylesHoverMobile,z=D.transitionStyle,U=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),V=U.backgroundStylesDesktop,G=U.hoverBackgroundStylesDesktop,q=U.backgroundStylesTab,W=U.hoverBackgroundStylesTab,Z=U.backgroundStylesMobile,J=U.hoverBackgroundStylesMobile,Y=U.bgTransitionStyle,Q=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:w}),X=Q.typoStylesDesktop,$=Q.typoStylesTab,K=Q.typoStylesMobile,ee=(0,p.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),te=ee.dimensionStylesDesktop,ae=ee.dimensionStylesTab,ne=ee.dimensionStylesMobile,oe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:k}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,p.generateResponsiveRangeStyles)({controlName:y,property:"Width",attributes:t,customUnit:"px"}),se=ie.rangeStylesDesktop,pe=ie.rangeStylesTab,be=ie.rangeStylesMobile,de=(0,p.generateResponsiveRangeStyles)({controlName:h,property:"margin-bottom",attributes:t,customUnit:"px"}),me=de.rangeStylesDesktop,ue=de.rangeStylesTab,ge=de.rangeStylesMobile,fe="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(V,"\n\t\t\t").concat(A,"\n\t\t\ttransition: ").concat(Y,", ").concat(z,";\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(F,"\n\t\t}\n\t"),ye="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(q,"\n\t\t\t").concat(M,"\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t"),he="\n\t\t.eb-checkbox-field-wrapper.".concat(r,"{\n\t\t\t").concat(T,"\n\t\t\t").concat(I,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(L,"\n\t\t}\n\t\t.eb-checkbox-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(J,"\n\t\t\t").concat(H,"\n\t\t}\n\n\t"),ve="\n .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(X,"\n ").concat(te,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-required{\n color: ").concat(c,";\n }\n\t"),we="\n .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n\t\t\t").concat($,"\n ").concat(ae,"\n\t\t}\n\t"),ke="\n\t\t.eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," > label {\n ").concat(K,"\n ").concat(ne,"\n\t\t}\n\t"),Re="\n .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n\t\t\tbackground-color: ").concat(s,";\n\t\t\tborder-color: ").concat(b,";\n\t\t\tborder-width: ").concat(E,"px;\n height: ").concat(R,"px;\n ").concat(se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]:checked {\n\t\t\tborder-color: ").concat(v,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n ").concat(re,"\n color: ").concat(i,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n ").concat(me,"\n }\n\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n color: ").concat(v,";\n font-size: calc(").concat(R,"px /2);\n }\n\t"),_e="\n .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n height: ").concat(_,"px;\n ").concat(pe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n ").concat(le,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n ").concat(ue,"\n }\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n font-size: calc(").concat(_,"px /2);\n }\n\t"),Ce="\n .eb-form-wrapper.".concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox] {\n height: ").concat(C,"px;\n ").concat(be,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea label {\n ").concat(ce,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," .eb-checkbox-inputarea {\n ").concat(ge,"\n }\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper.").concat(r," input[type=checkbox]::before {\n font-size: calc(").concat(C,"px /2);\n }\n\t"),Ee=(0,p.softMinifyCssStrings)("\n\t\t".concat(fe,"\n\t\t").concat(ve,"\n\t\t").concat(Re,"\n\t")),xe=(0,p.softMinifyCssStrings)("\n\t\t".concat(ye,"\n\t\t").concat(we,"\n\t\t").concat(_e,"\n\t")),Se=(0,p.softMinifyCssStrings)("\n\t\t".concat(he,"\n\t\t").concat(ke,"\n\t\t").concat(Ce,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ee,tabAllStyles:xe,mobileAllStyles:Se,blockName:n}))}function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const T=(0,i.memo)((0,p.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,b=t.classHook,d=t.showLabel,m=t.labelText,u=t.options,g=t.fieldName,f=t.defaultValue,y=t.isRequired,h=(t.validationRules,t.validationMessage),v=t.dynamicValue,w=t.dynamicOptionType,k=t.dynamicValueLoader,R=B(B({},e),{},{blockPrefix:"eb-checkbox-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(x,e)});return(0,i.useEffect)(function(){var e,t,n,l=(0,p.getBlockParentClientId)(o,"essential-blocks/form"),c=(0,s.select)("core/block-editor").getBlock(l),i=null==c||null===(e=c.attributes)||void 0===e?void 0:e.blockId;i&&a({parentBlockId:i});var b=(0,s.select)("core/block-editor").wasBlockJustInserted(o),d=null==c||null===(t=c.attributes)||void 0===t?void 0:t.showLabel,m=null==c||null===(n=c.attributes)||void 0===n?void 0:n.showInputIcon;if(b&&void 0!==d&&void 0!==m&&a({showLabel:d,isIcon:m}),b&&l){var u=(0,s.select)("core/block-editor").getBlocksByClientId(l),g=(0,p.filterBlocksByName)(u,r),f=g.indexOf(o);-1!==f&&(1===g.length?a({fieldName:"checkbox-field"}):a({fieldName:"checkbox-field-".concat(f+1),options:[{name:"Option 1",value:"checkbox_".concat(f,"_1")},{name:"Option 2",value:"checkbox_".concat(f,"_2")},{name:"Option 3",value:"checkbox_".concat(f,"_3")}]}))}},[]),(0,i.useEffect)(function(){var e=(0,c.A)({},g,{isRequired:{status:y,message:h}});a({validationRules:e})},[y,g,h]),React.createElement(React.Fragment,null,n&&React.createElement(E,{clientId:o,attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,R,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(b)},React.createElement("div",{className:"".concat(l," eb-checkbox-field-wrapper eb-field-wrapper")},d&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g,className:"eb-field-label"},React.createElement(p.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",y&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement(p.DynamicFormFieldValueHandler,{type:"checkbox",fieldName:g,defaultValue:f,options:u,dynamicValue:v,dynamicOptionType:w,dynamicValueLoader:k,setAttributes:a}),y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(g)},React.createElement(p.DynamicInputValueHandler,{value:h,onChange:function(e){return a({validationMessage:e})},readOnly:!0})))))))}));var N=a(4715);function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const O=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},C),supports:{anchor:!0},save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,p=t.validationMessage,b=N.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",b,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-checkbox-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),l.length>0&&l.map(function(e){return React.createElement("div",{className:"eb-checkbox-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:c,value:e.value,checked:i===e.value,type:"checkbox"})," ",e.name))}),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},p)))))}}],I=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Checkbox Field","apiVersion":2,"name":"essential-blocks/form-checkbox-field","description":"Form Block Checkbox Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,p.ebConditionalRegisterBlockType)(I,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 26 27"},e),n||(n=r.createElement("path",{fill:"#6C3BFF",d:"M2.057 27C.924 27 0 26.04 0 24.864V2.136C0 .959.924 0 2.057 0H23.93c1.133 0 2.057.96 2.057 2.136V24.85c0 1.177-.924 2.136-2.057 2.136H2.057zm-.37-1.752H24.3V1.752H1.687zM11 20.643a.82.82 0 0 1-.653-.32l-4.533-5.678a.92.92 0 0 1 .111-1.228.84.84 0 0 1 .542-.205c.246 0 .493.115.653.307l3.818 4.784 7.291-11.025a.835.835 0 0 1 1.183-.23c.381.268.48.818.221 1.227l-7.92 11.985a1 1 0 0 1-.16.179.84.84 0 0 1-.541.204z"})))},attributes:C,edit:T,save:function(e){var t=e.attributes,a=(t.resOption,t.blockMeta,t.blockId),n=t.classHook,o=t.showLabel,r=t.labelText,l=t.options,c=t.fieldName,i=t.defaultValue,s=t.isRequired,b=t.validationMessage;return React.createElement(p.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-checkbox-field-wrapper eb-field-wrapper")},o&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:c,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),l.length>0&&l.map(function(e){return React.createElement("div",{className:"eb-checkbox-inputarea"},React.createElement("label",{htmlFor:e.value},React.createElement("input",{id:e.value,name:c,value:e.value,checked:i===e.value,type:"checkbox"})," ",e.name))}),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(c)},b)))))},deprecated:O,example:{}})},3840:(e,t,a)=>{var n,o,r,l,c,i=a(7723),s=a(1609);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},p.apply(null,arguments)}var b=a(9394),d=a(2284),m=a(467),u=a(4467),g=a(3453),f=a(9280),y=a.n(f),h=a(4715),v=a(6427),w=a(2404),k=a.n(w),R=a(8468),_=a(7143),C=a(2619),E=a(4997);function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function B(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return T(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?T(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}var N=function(e){var t,a={};if(null!=e&&e.attributes&&null!=e&&null!==(t=e.attributes)&&void 0!==t&&t.validationRules){var n=Object.keys(e.attributes.validationRules)[0];a[n]=e.attributes.validationRules[n]}if(null!=e&&e.innerBlocks&&(null==e?void 0:e.innerBlocks.length)>0){var o,r=B(e.innerBlocks);try{for(r.s();!(o=r.n()).done;){var l=o.value,c=N(l);"object"===(0,d.A)(c)&&Object.keys(c).length>0&&(a=S(S({},a),c))}}catch(e){r.e(e)}finally{r.f()}}return a["g-recaptcha-response"]&&delete a["g-recaptcha-response"],a},P=function(e){var t,a,n,o,r={};if(null!=e&&e.attributes&&null!=e&&null!==(t=e.attributes)&&void 0!==t&&t.fieldName&&(r[e.attributes.fieldName]=S({type:O(e.name),label:(null==e||null===(a=e.attributes)||void 0===a?void 0:a.labelText)||(null==e||null===(n=e.attributes)||void 0===n?void 0:n.fieldName)},(null==e||null===(o=e.attributes)||void 0===o?void 0:o.options)&&{options:e.attributes.options})),null!=e&&e.innerBlocks&&(null==e?void 0:e.innerBlocks.length)>0){var l,c=B(e.innerBlocks);try{for(c.s();!(l=c.n()).done;){var i=l.value,s=P(i);"object"===(0,d.A)(s)&&Object.keys(s).length>0&&(r=S(S({},r),s))}}catch(e){c.e(e)}finally{c.f()}}return r["g-recaptcha-response"]&&delete r["g-recaptcha-response"],r},O=function(e){switch(e){case"essential-blocks/form-text-field":return"text";case"essential-blocks/form-textarea-field":return"textarea";case"essential-blocks/form-email-field":return"email";case"essential-blocks/form-number-field":return"number";case"essential-blocks/form-select-field":return"select";case"essential-blocks/form-checkbox-field":return"checkbox";case"essential-blocks/form-radio-field":return"radio";case"essential-blocks/pro-form-datetime-picker":return"datetime";case"essential-blocks/pro-form-recaptcha":return"recaptcha";default:return"input"}},I=function(e,t){return Object.entries(e).filter(function(e){var a=(0,g.A)(e,2);return a[0],a[1].type===t}).map(function(e){var t=(0,g.A)(e,2),a=t[0];return{label:t[1].label,value:a}})},D={formStyle:"form-style-classic",formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!0,labelColor:"#1D2939",requiredColor:"#D92D20",showInputIcon:!0,inputIconColor:"#CBCBCB",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:14,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"15",fieldsPaddingRight:"15",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingisLinked:!1,buttonText:"Submit",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"",btnText_FontSize:16,btnText_FontWeight:"400",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"4",btnBorderRds_Left:"4",btnBorderRds_Right:"4",btnBorderRds_Top:"4",btnBorderBdr_Bottom:"0",btnBorderBdr_Left:"0",btnBorderBdr_Right:"0",btnBorderBdr_Top:"0",btnTopSpecingRange:"20",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.00)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},A={formLayout:"block",formStyle:"form-style-modern",inlineFormWidthRange:100,rowsGapRange:"15",showLabel:!0,labelColor:"#C2C6C8",requiredColor:"#6E6C6C",fieldAlign:"left",fieldsBorderRds_Bottom:"0",fieldsBorderRds_Left:"0",fieldsBorderRds_Right:"0",fieldsBorderRds_Top:"0",fieldsBorderRds_Unit:"px",buttonText:"Send",btnText_FontFamily:"Manrope",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnAddIcon:!1,iconSize:"12px",btnBorderRds_Bottom:"0",btnBorderRds_Left:"0",btnBorderRds_Right:"0",btnBorderRds_Top:"0",btnBorderRds_Unit:"px",btnTopSpecingRange:"20",wrpPaddingisLinked:!1,wrpPaddingUnit:"px",wrpPaddingTop:"30",wrpPaddingBottom:"30",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#fff",wrprBgbackgroundType:"classic"},M={formStyle:"form-style-classic",formLayout:"inline",inlineFormWidthRange:100,showInputIcon:!1,showLabel:!1,fieldAlign:"left",requiredColor:"#D92D20",fieldsBgColor:"#fff",fieldsColor:"#787878",fields_FontFamily:"Manrope",fields_FontSize:18,fields_FontStyle:"normal",fields_FontWeight:"400",fields_LineHeight:1.2,fields_LineHeightUnit:"em",fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,buttonText:"Subscribe",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"Manrope",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",btnBorderRds_Top:"4",btnBorderRds_Left:"4",btnBorderRds_Bottom:"4",btnBorderRds_Right:"4",btnBorderRds_isLinked:!0,buttonWidth:"fixed",btnWidthRange:"200",btnHorizontalPositionRange:210,btnVerticalPositionRange:10,btnAddIcon:!1,iconSize:"12px",btnTopSpecingRange:"",rowsGapRange:"30",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#eaeaea",wrprBgbackgroundType:"classic"},L={formStyle:"form-style-classic",formLayout:"block",inlineFormWidthRange:80,showLabel:!1,requiredColor:"#D92D20",fieldAlign:"center",fields_FontFamily:"Poppins",fields_FontSize:20,fields_FontStyle:"normal",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,buttonText:"Subscribe",btnText_FontFamily:"Poppins",btnText_FontSize:24,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"uppercase",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnTopSpecingRange:"25",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"20",wrpPaddingRight:"20",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:45,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},F={formStyle:"form-style-classic",showInputIcon:!1,formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!1,requiredColor:"#D92D20",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:20,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"0",fieldsBorderRds_Left:"0",fieldsBorderRds_Bottom:"0",fieldsBorderRds_Right:"0",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"0",fieldsBorderBdr_Left:"0",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"0",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"0",fieldsPaddingRight:"0",fieldsPaddingisLinked:!1,buttonText:"Send RSVP",btnColor:"#475467",btnBgColor:"#fff",btnText_FontFamily:"Poppins",btnText_FontSize:18,btnText_FontWeight:"500",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"uppercase",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"0",btnBorderRds_Left:"0",btnBorderRds_Right:"0",btnBorderRds_Top:"0",btnBorderBdr_Bottom:"1",btnBorderBdr_Left:"1",btnBorderBdr_Right:"1",btnBorderBdr_Top:"1",btnTopSpecingRange:"40",wrpPaddingisLinked:!1,wrpPaddingUnit:"%",wrpPaddingTop:"10",wrpPaddingBottom:"10",wrpPaddingLeft:"20",wrpPaddingRight:"20",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:45,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.09)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},j={formStyle:"form-style-classic",showInputIcon:!1,formLayout:"block",inlineFormWidthRange:80,rowsGapRange:"15",showLabel:!0,labelColor:"#1D2939",requiredColor:"#D92D20",fieldAlign:"left",fields_FontFamily:"Poppins",fields_FontSize:14,fields_FontStyle:"normal",fields_FontTransform:"uppercase",fields_FontWeight:"400",fields_LetterSpacingUnit:"px",fields_LineHeightUnit:"em",fields_SizeUnit:"px",fieldsBorderRds_Top:"4",fieldsBorderRds_Left:"4",fieldsBorderRds_Bottom:"4",fieldsBorderRds_Right:"4",fieldsBorderRds_isLinked:!0,fieldsBorderBdr_Top:"1",fieldsBorderBdr_Left:"1",fieldsBorderBdr_Bottom:"1",fieldsBorderBdr_Right:"1",fieldsBorderBdr_isLinked:!1,fieldsPaddingLeft:"15",fieldsPaddingRight:"15",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingisLinked:!1,buttonText:"Submit",btnColor:"#fff",btnBgColor:"#475467",btnText_FontFamily:"",btnText_FontSize:16,btnText_FontWeight:"400",btnText_LetterSpacingUnit:"px",btnText_LineHeightUnit:"em",btnText_SizeUnit:"px",btnText_TextTransform:"capitalize",buttonWidth:"full",btnHorizontalPositionRange:"",btnVerticalPositionRange:"",btnAddIcon:!1,btnBorderRds_Bottom:"4",btnBorderRds_Left:"4",btnBorderRds_Right:"4",btnBorderRds_Top:"4",btnBorderBdr_Bottom:"0",btnBorderBdr_Left:"0",btnBorderBdr_Right:"0",btnBorderBdr_Top:"0",btnTopSpecingRange:"20",wrpPaddingisLinked:!0,wrpPaddingUnit:"px",wrpPaddingTop:"0",wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpBorderShadowblur:0,wrpBorderShadowvOffset:0,wrpBorderShadowhOffset:0,wrpBorderShadowshadowColor:"rgba(111, 159, 140, 0.00)",wrprBgbackgroundColor:"#FFFFFF",wrprBgbackgroundType:"classic"},H=a(5694),z=[["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"First Name",fieldName:"first-name",placeholderText:"Enter your first name here..."}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Last Name",fieldName:"last-name",placeholderText:"Enter your last name here..."}]]]]],["essential-blocks/form-text-field",{labelText:"Subject",fieldName:"subject",placeholderText:"Enter your subject here..."}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}],["essential-blocks/form-textarea-field",{labelText:"Message",fieldName:"message"}]],U=[["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"First Name",fieldName:"first-name",placeholderText:"Enter your first name here..."}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Last Name",fieldName:"last-name",placeholderText:"Enter your last name here..."}]]]]],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}],["essential-blocks/form-number-field",{labelText:"Phone",fieldName:"phone"}],["essential-blocks/form-textarea-field",{labelText:"Describe Your Issue",fieldName:"message"}]],V=[["essential-blocks/advanced-heading",{preset:"preset-2",align:"center",displaySubtitle:!0,displaySeperator:!1,subtitleTagName:"h3",subtitleText:"Through Our Newsletter",subtitleColor:"#000",subtitleFontFamily:"Manrope",subtitleFontSize:40,subtitleFontStyle:"normal",subtitleFontWeight:"600",subtitleLineHeight:1.2,subtitleLineHeightUnit:"em",tagName:"p",titleText:"Get The Latest Updates",titleColor:"#6b6b6b",titleFontFamily:"Manrope",titleFontSize:32,titleFontStyle:"normal",titleFontWeight:"500",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email",placeholderText:"email@example.com"}]],G=[["essential-blocks/advanced-heading",{titleText:"Subscribe To Our Newsletters",titleColor:"#4D3E81",tagName:"h3",align:"center",titleFontFamily:"Playfair Display",titleFontSize:50,titleFontStyle:"normal",titleFontWeight:"600",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-email-field",{labelText:"Email",fieldName:"email"}]],q=[["essential-blocks/advanced-heading",{preset:"preset-2",align:"center",displaySubtitle:!0,displaySeperator:!1,subtitleTagName:"h3",subtitleText:"AUG 20, 2023",subtitleColor:"#000",subtitleFontFamily:"Abhaya Libre",subtitleFontSize:60,subtitleFontStyle:"normal",subtitleFontTransform:"uppercase",subtitleFontWeight:"600",subtitleLineHeight:1.2,subtitleLineHeightUnit:"em",subtitleMarginLeft:"0",subtitleMarginTop:"0",subtitleMarginRight:"0",subtitleMarginBottom:"0",tagName:"p",titleText:"Save the date and RSVP",titleColor:"#6b6b6b",titleFontFamily:"Manrope",titleFontTransform:"uppercase",titleFontSize:15,titleFontStyle:"normal",titleFontWeight:"700",titleLineHeight:1.2,titleLineHeightUnit:"em"}],["essential-blocks/form-text-field",{labelText:"Full Name",fieldName:"full-name",placeholderText:"Full Name",showLabel:!1,isIcon:!1}],["essential-blocks/form-email-field",{labelText:"Email Address",fieldName:"email",isIcon:!1,showLabel:!1,placeholderText:"Email Address"}],["essential-blocks/row",{isLayoutSelected:!0,rowWidthName:"full"},[["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-number-field",{labelText:"# of Guests",fieldName:"guests",placeholderText:"# of Guests",isIcon:!1,showLabel:!1}]]],["essential-blocks/column",{cw_Range:50},[["essential-blocks/form-text-field",{labelText:"Suggest a song",fieldName:"suggest-song",placeholderText:"Suggest a song",isIcon:!1,showLabel:!1}]]]]]],W="wrprBg",Z="wrpMargin",J="wrpPadding",Y="wrpBorderShadow",Q="rowsGap",X="labelMargin",$="btnPadding",K="btnBorder",ee="btnTopSpecing",te="inputWidth",ae="fieldsBorder",ne="fieldsPadding",oe="messageBorder",re="messagePadding",le="errorBorder",ce="errorPadding",ie="radioSize",se="radioSpacing",pe="checkboxSize",be="checkboxSpacing",de="btnWidth",me="iconSize",ue="iconGap",ge="formWidth",fe="inlineFormWidth",ye="btnVerticalPosition",he="btnHorizontalPosition",ve="inputIconSize",we=[{label:(0,i.__)("Contact Form"),value:"contact_form"},{label:(0,i.__)("Subscription Form"),value:"subscription_form"},{label:(0,i.__)("RSVP Form"),value:"rsvp_form"},{label:(0,i.__)("Blank"),value:"blank"},{label:(0,i.__)("Multi Step Form"),value:"multistep_form",isPro:!0}],ke=[{label:(0,i.__)("Contact Form (Basic)"),value:"contact_form_1"},{label:(0,i.__)("Contact From Modern"),value:"contact_form_2"}],Re=[{label:(0,i.__)("Subscription Form 1"),value:"subscription_form_1"},{label:(0,i.__)("Subscription From 2"),value:"subscription_form_2"}],_e=[{label:(0,i.__)("None"),value:""},{label:(0,i.__)("MailChimp (Pro)"),value:"mailchimp",isPro:!0}],Ce=[{label:(0,i.__)("Send Email"),value:"email"},{label:(0,i.__)("Send Email & Save Response (Pro)"),value:"emailsave",isPro:!0},{label:(0,i.__)("Only Save Response (Pro)"),value:"save",isPro:!0}],Ee=[{label:(0,i.__)("Message in the Same Page"),value:"message"},{label:(0,i.__)("Redirect (Pro)"),value:"redirect",isPro:!0}],xe=[{label:(0,i.__)("Left"),value:"left"},{label:(0,i.__)("Center"),value:"center"},{label:(0,i.__)("Right"),value:"right"}],Se=[{label:(0,i.__)("px"),value:"px"},{label:(0,i.__)("%"),value:"%"},{label:(0,i.__)("em"),value:"em"}],Be=[{label:(0,i.__)("Normal"),value:"normal"},{label:(0,i.__)("Hover"),value:"hover"}],Te=[{label:(0,i.__)("Normal"),value:"normal"},{label:(0,i.__)("Checked"),value:"checked"}],Ne=[{label:(0,i.__)("Full"),value:"full"},{label:(0,i.__)("Fixed"),value:"fixed"}],Pe=[{label:(0,i.__)("Auto"),value:"auto"},{label:(0,i.__)("Full"),value:"full"},{label:(0,i.__)("Fixed"),value:"fixed"}],Oe=[{label:(0,i.__)(React.createElement(v.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,i.__)(React.createElement(v.Dashicon,{icon:"editor-alignright"})),value:"right"}],Ie=[{label:(0,i.__)("Success"),value:"success"},{label:(0,i.__)("Error"),value:"error"}],De=[{label:(0,i.__)("Block"),value:"block"},{label:(0,i.__)("Inline with Input Field"),value:"inline"}],Ae=[{label:(0,i.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,i.__)("Middle","essential-blocks"),value:"center"},{label:(0,i.__)("Bottom","essential-blocks"),value:"flex-end"}],Me=[{label:(0,i.__)("Classic","essential-blocks"),value:"form-style-classic"},{label:(0,i.__)("Modern","essential-blocks"),value:"form-style-modern"}],Le="fields_",Fe="label_",je="btnText_",He="successText_",ze="errorText_",Ue="radioText_",Ve="checkboxText_",Ge="validationText_";function qe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function We(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Ze=function(e){var t,a,n,o=e.attributes,r=e.setAttributes,l=e.formSettings,c=e.setFormSettings,s=e.allFormFields,p=o.resOption,b=o.formTitle,d=o.formType,m=o.template,f=o.integrations,y=o.notificationType,h=o.confirmationType,w=o.successMessage,k=o.errorMessage,E=o.validationErrorMessage,x=o.labelColor,S=o.buttonType,B=o.btnColor,T=o.btnHvColor,N=o.btnBgColor,P=o.btnBgHvColor,O=o.formWidth,z=o.formAlign,U=o.fieldsColor,V=o.fieldsPlaceholderColor,G=o.fieldsBgColor,q=o.messageType,qe=o.messageAlign,Ze=o.successColor,Je=o.successBgColor,Ye=o.errorColor,Qe=o.errorBgColor,Xe=o.radioType,$e=o.radioColor,Ke=o.radioBgColor,et=o.radioBrColor,tt=o.radioBrCheckedColor,at=o.radioBorder,nt=o.checkboxType,ot=o.checkboxColor,rt=o.checkboxBgColor,lt=o.checkboxBrColor,ct=o.checkboxBrCheckedColor,it=o.checkboxBorder,st=o.dateBgColor,pt=o.dateSelectedColor,bt=o.fieldsValidationBorderColor,dt=o.fieldsValidationColor,mt=o.requiredColor,ut=o.buttonAlign,gt=o.buttonText,ft=o.buttonWidth,yt=o.btnAddIcon,ht=o.icon,vt=o.iconPosition,wt=o.labelAlign,kt=o.validationAlign,Rt=o.fieldAlign,_t=o.formLayout,Ct=o.btnVerticalAlign,Et=o.showInputIcon,xt=o.showLabel,St=o.inputIconColor,Bt=o.formStyle,Tt=(0,R.useState)([]),Nt=(0,g.A)(Tt,2),Pt=Nt[0],Ot=Nt[1],It=(0,R.useRef)(d);(0,R.useEffect)(function(){"contact_form"===d?Ot(ke):"subscription_form"===d&&Ot(Re)},[]),(0,R.useEffect)(function(){It.current!==d&&(It.current=d,"contact_form"===d?(Ot(ke),r({template:"contact_form_1"})):"subscription_form"===d&&(Ot(Re),r({template:"subscription_form_1"})))},[d]);var Dt=function(e,t){var a;return"contact_form"===e?"contact_form_1"===t?a=D:"contact_form_2"===t&&(a=A):"subscription_form"===e?"subscription_form_1"===t?a=M:"subscription_form_2"===t&&(a=L):"rsvp_form"===e?a=F:"blank"===e&&(a=j),a};return React.createElement(H.InspectorPanel,{advancedControlProps:{marginPrefix:Z,paddingPrefix:J,backgroundPrefix:W,borderPrefix:Y,hasMargin:!0}},React.createElement(H.InspectorPanel.General,null,React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("General","essential-blocks"),initialOpen:!0},React.createElement(H.DynamicInputControl,{label:(0,i.__)("Form Title","essential-blocks"),help:(0,i.__)("Use Title to recognize in Form Response","essential-blocks"),attrName:"formTitle",inputValue:b,setAttributes:r,onChange:function(e){return r({formTitle:e})}}),React.createElement(H.ProSelectControl,{label:(0,i.__)("Form Type","essential-blocks"),value:d,options:we,onChange:function(e){return function(e){r({formType:e}),r(Dt(d,m))}(e)}}),["contact_form","subscription_form"].includes(d)&&React.createElement(H.ProSelectControl,{label:(0,i.__)("Template","essential-blocks"),value:m,options:Pt,onChange:function(e){return function(e){r({template:e}),r(Dt(d,m))}(e)}}),"Desktop"===p&&React.createElement(React.Fragment,null,React.createElement(H.ProSelectControl,{label:(0,i.__)("Form Styles","essential-blocks"),value:Bt,options:Me,onChange:function(e){return function(e){r({formStyle:e}),"form-style-modern"===e?(r({inputIconSizeRange:"20",fieldsBorderHBdr_Bottom:"1",fieldsBorderHBdr_Left:"1",fieldsBorderHBdr_Right:"1",fieldsBorderHBdr_Top:"1",fieldsBorderHBdr_Unit:"px",fieldsBorderHborderColor:"#000",fieldsBorderHborderStyle:"solid",fieldsPaddingisLinked:!1,fieldsPaddingUnit:"px",fieldsPaddingTop:"25",fieldsPaddingBottom:"15",fieldsPaddingLeft:"15",fieldsPaddingRight:"15"}),"subscription_form"===d&&"subscription_form_1"===m&&r({inputIconSizeRange:"15",fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1}),(0,C.applyFilters)("eb_form_style_modern_multistep","",o,r)):"form-style-classic"===e&&(r({inputIconSizeRange:"15",fieldsBorderHBdr_Bottom:"1",fieldsBorderHBdr_Left:"1",fieldsBorderHBdr_Right:"1",fieldsBorderHBdr_Top:"1",fieldsBorderHBdr_Unit:"px",fieldsBorderHborderColor:"",fieldsBorderHborderStyle:"none"}),r("subscription_form"===d&&"subscription_form_1"===m?{fieldsPaddingLeft:"20",fieldsPaddingRight:"220",fieldsPaddingTop:"25",fieldsPaddingBottom:"25",fieldsPaddingisLinked:!1}:{fieldsPaddingisLinked:!0,fieldsPaddingUnit:"px",fieldsPaddingTop:"15",fieldsPaddingBottom:"15",fieldsPaddingLeft:"15",fieldsPaddingRight:"15"}))}(e)}})),React.createElement(v.ToggleControl,{label:(0,i.__)("Show Field Labels?","essential-blocks"),checked:xt,onChange:function(){return r({showLabel:!xt})}}),React.createElement(v.ToggleControl,{label:(0,i.__)("Show Field Icons?","essential-blocks"),checked:Et,onChange:function(){return r({showInputIcon:!Et})}}),React.createElement(H.ProSelectControl,{label:(0,i.__)("Integrations","essential-blocks"),value:Object.keys(f)[0],options:_e,onChange:function(e){return function(e){e&&e.length>0?r({integrations:(0,u.A)({},e,!0)}):r({integrations:{}})}(e)}}),(0,C.applyFilters)("eb_form_block_control_after_form_type","",o,r)),(0,C.applyFilters)("eb_from_pro_multistep_settings","",o,r),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Form Settings","essential-blocks"),initialOpen:!0},React.createElement(H.ProSelectControl,{label:(0,i.__)("Notification Type","essential-blocks"),value:y,options:Ce,onChange:function(e){return r({notificationType:e})}}),React.createElement(H.EBTextControlWithDropdown,{label:(0,i.__)("Email To","essential-blocks"),value:l.mailTo,placeholder:(null===(t=(0,_.select)("core"))||void 0===t||null===(t=t.getSite())||void 0===t?void 0:t.email)||(0,i.__)("Default is to Admin Email","essential-blocks"),onChange:function(e){c(We(We({},l),{},{mailTo:e}))},help:(0,i.__)("Use commas to separate emails","essential-blocks"),menuItems:I(s,"email"),insertMode:"append",updateValueOnSelect:!0}),React.createElement(H.EBTextControlWithDropdown,{label:(0,i.__)("Reply To","essential-blocks"),value:l.replyTo,placeholder:(null===(a=(0,_.select)("core"))||void 0===a||null===(a=a.getSite())||void 0===a?void 0:a.email)||(0,i.__)("Default is to Admin Email","essential-blocks"),onChange:function(e){c(We(We({},l),{},{replyTo:e}))},menuItems:I(s,"email"),insertMode:"append",updateValueOnSelect:!0,help:(0,i.__)("Use commas to separate emails","essential-blocks")}),React.createElement(H.EBTextControlWithDropdown,{label:(0,i.__)("Email Cc (Optional)","essential-blocks"),placeholder:(0,i.__)("Recipient Email Address","essential-blocks"),value:l.mailCc,onChange:function(e){return c(We(We({},l),{},{mailCc:e}))},help:(0,i.__)("Use commas to separate emails","essential-blocks"),menuItems:I(s,"email"),insertMode:"append",updateValueOnSelect:!0}),React.createElement(H.EBTextControlWithDropdown,{label:(0,i.__)("Email Bcc (Optional)","essential-blocks"),value:l.mailBcc,placeholder:(0,i.__)("Recipient Email Address","essential-blocks"),onChange:function(e){return c(We(We({},l),{},{mailBcc:e}))},help:(0,i.__)("Use commas to separate emails","essential-blocks"),menuItems:I(s,"email"),insertMode:"append",updateValueOnSelect:!0}),React.createElement(v.TextControl,{label:(0,i.__)("Email Subject","essential-blocks"),attrName:"mailSubject",value:l.mailSubject,placeholder:"New Form Submission ["+(null===(n=(0,_.select)("core"))||void 0===n||null===(n=n.getSite())||void 0===n?void 0:n.url)+"]",onChange:function(e){return c(We(We({},l),{},{mailSubject:e}))}})),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Confirmation Settings","essential-blocks"),initialOpen:!0},React.createElement(H.ProSelectControl,{label:(0,i.__)("Confirmation Type","essential-blocks"),value:h,options:Ee,onChange:function(e){return r({confirmationType:e})}}),(0,C.applyFilters)("eb_form_block_control_after_confirmation_type","",o,r),"message"===h&&React.createElement(React.Fragment,null,React.createElement(H.DynamicInputControl,{label:(0,i.__)("Success Message","essential-blocks"),attrName:"successMessage",inputValue:w,setAttributes:r,onChange:function(e){return r({successMessage:e})},isTextarea:!0}),React.createElement(H.DynamicInputControl,{label:(0,i.__)("Default Error Message","essential-blocks"),attrName:"errorMessage",inputValue:k,setAttributes:r,onChange:function(e){return r({errorMessage:e})},isTextarea:!0})),React.createElement(H.DynamicInputControl,{label:(0,i.__)("Validation Error Message","essential-blocks"),attrName:"validationErrorMessage",inputValue:E,setAttributes:r,onChange:function(e){return r({validationErrorMessage:e})},isTextarea:!0})),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(H.ProSelectControl,{label:(0,i.__)("Button Type","essential-blocks"),value:_t,options:De,onChange:function(e){return function(e){switch(r({formLayout:e}),e){case"inline":r({buttonAlign:"right"});break;case"block":r({buttonAlign:"left"});break;default:return!1}}(e)}}),"inline"==_t&&React.createElement(React.Fragment,null,React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Fields Width (%)","essential-blocks"),controlName:fe,min:1,max:100,step:1,noUnits:!0})),React.createElement(H.DynamicInputControl,{label:(0,i.__)("Text","essential-blocks"),attrName:"buttonText",inputValue:gt,setAttributes:r,onChange:function(e){return r({buttonText:e})}}),React.createElement(v.ToggleControl,{label:(0,i.__)("Add icon","essential-blocks"),checked:yt,onChange:function(){return r({btnAddIcon:!yt})}}),yt&&React.createElement(React.Fragment,null,React.createElement(H.EBIconPicker,{value:ht,onChange:function(e){return r({icon:e})}})),(0,C.applyFilters)("eb_from_pro_multistep_button_settings","",o,r)))),React.createElement(H.InspectorPanel.Style,null,React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Form","essential-blocks"),initialOpen:!0},React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Fields Gap (PX)","essential-blocks"),controlName:Q,min:0,max:100,step:1,noUnits:!0}),React.createElement(v.BaseControl,{label:(0,i.__)("Width","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},Ne.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:O===e.value,isSecondary:O!==e.value,onClick:function(){return r({formWidth:e.value})}},e.label)}))),"fixed"===O&&React.createElement(React.Fragment,null,React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Fixed Width","essential-blocks"),controlName:ge,min:200,max:2e3,step:10}),React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:z===e.value,isSecondary:z!==e.value,onClick:function(){return r({formAlign:e.value})}},e.label)}))))),(0,C.applyFilters)("eb_from_pro_multistep_styles","",o,r),xt&&React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Labels","essential-blocks"),initialOpen:!1},React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:Fe}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:x,onChange:function(e){return r({labelColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Requied Color","essential-blocks"),color:mt,onChange:function(e){return r({requiredColor:e})}}),React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:wt===e.value,isSecondary:wt!==e.value,onClick:function(){return r({labelAlign:e.value})}},e.label)}))),React.createElement(H.ResponsiveDimensionsControl,{controlName:X,baseLabel:(0,i.__)("Margin","essential-blocks")})),Et&&React.createElement(React.Fragment,null,React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Fields Icon","essential-blocks"),initialOpen:!1},React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:St,onChange:function(e){return r({inputIconColor:e})}}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Size (PX)","essential-blocks"),controlName:ve,min:1,max:100,step:1,noUnits:!0}))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Input Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:Le}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:U,onChange:function(e){return r({fieldsColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Placeholder Color","essential-blocks"),color:V,onChange:function(e){return r({fieldsPlaceholderColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:G,onChange:function(e){return r({fieldsBgColor:e})}}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Width (%)","essential-blocks"),controlName:te,min:1,max:100,step:1,units:Se}),React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:Rt===e.value,isSecondary:Rt!==e.value,onClick:function(){return r({fieldAlign:e.value})}},e.label)}))),React.createElement(H.ResponsiveDimensionsControl,{controlName:ne,baseLabel:(0,i.__)("Padding","essential-blocks")}),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(H.BorderShadowControl,{controlName:ae})))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Checkbox Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:Ve}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:ot,onChange:function(e){return r({checkboxColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:rt,onChange:function(e){return r({checkboxBgColor:e})}}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Size (PX)","essential-blocks"),controlName:pe,min:1,max:100,step:1,noUnits:!0}),React.createElement(v.RangeControl,{label:(0,i.__)("Border Width","essential-blocks"),value:it,onChange:function(e){return r({checkboxBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(v.ButtonGroup,{className:"eb-inspector-btn-group"},Te.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:nt===e.value,isSecondary:nt!==e.value,onClick:function(){return r({checkboxType:e.value})}},e.label)})),"normal"===nt&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Border Color","essential-blocks"),color:lt,onChange:function(e){return r({checkboxBrColor:e})}})),"checked"===nt&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Border Color","essential-blocks"),color:ct,onChange:function(e){return r({checkboxBrCheckedColor:e})}})),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Spacing (PX)","essential-blocks"),controlName:be,min:1,max:100,step:1,noUnits:!0}))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Radio Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:Ue}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:$e,onChange:function(e){return r({radioColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:Ke,onChange:function(e){return r({radioBgColor:e})}}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Size (PX)","essential-blocks"),controlName:ie,min:1,max:100,step:1,noUnits:!0}),React.createElement(v.RangeControl,{label:(0,i.__)("Border Width","essential-blocks"),value:at,onChange:function(e){return r({radioBorder:e})},min:1,max:5,step:1,allowReset:!0}),React.createElement(v.ButtonGroup,{className:"eb-inspector-btn-group"},Te.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:Xe===e.value,isSecondary:Xe!==e.value,onClick:function(){return r({radioType:e.value})}},e.label)})),"normal"===Xe&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Border Color","essential-blocks"),color:et,onChange:function(e){return r({radioBrColor:e})}})),"checked"===Xe&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Border Color","essential-blocks"),color:tt,onChange:function(e){return r({radioBrCheckedColor:e})}})),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Spacing (PX)","essential-blocks"),controlName:se,min:1,max:100,step:1,noUnits:!0}))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Date Fields","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Selected Color","essential-blocks"),color:pt,onChange:function(e){return r({dateSelectedColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Selected Background","essential-blocks"),color:st,onChange:function(e){return r({dateBgColor:e})}}))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:ut===e.value,isSecondary:ut!==e.value,onClick:function(){return r({buttonAlign:e.value})}},e.label)}))),"inline"==_t&&React.createElement(React.Fragment,null,React.createElement(v.BaseControl,{label:(0,i.__)("Vertical Align","essential-blocks")},React.createElement(v.ButtonGroup,null,Ae.map(function(e){return React.createElement(v.Button,{isPrimary:Ct===e.value,isSecondary:Ct!==e.value,onClick:function(){return r({btnVerticalAlign:e.value})}},e.label)}))),React.createElement(v.__experimentalDivider,null),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Vertical Position","essential-blocks"),controlName:ye,min:-500,max:500,step:1}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Horizontal Position","essential-blocks"),controlName:he,min:0,max:500,step:1})),React.createElement(v.BaseControl,{label:(0,i.__)("Width","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},Pe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:ft===e.value,isSecondary:ft!==e.value,onClick:function(){return r({buttonWidth:e.value})}},e.label)}))),"fixed"===ft&&React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Fixed Width","essential-blocks"),controlName:de,min:100,max:900,step:1}),React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:je}),React.createElement(v.ButtonGroup,{className:"eb-inspector-btn-group"},Be.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:S===e.value,isSecondary:S!==e.value,onClick:function(){return r({buttonType:e.value})}},e.label)})),"normal"===S&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:B,onChange:function(e){return r({btnColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:N,onChange:function(e){return r({btnBgColor:e})}})),"hover"===S&&React.createElement(React.Fragment,null,React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:T,onChange:function(e){return r({btnHvColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:P,onChange:function(e){return r({btnBgHvColor:e})}})),React.createElement(H.ResponsiveDimensionsControl,{controlName:$,baseLabel:(0,i.__)("Padding","essential-blocks")}),"block"==_t&&React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Margin Top (PX)","essential-blocks"),controlName:ee,min:0,max:500,step:1,noUnits:!0}),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(H.BorderShadowControl,{controlName:K}))),yt&&React.createElement(React.Fragment,null,React.createElement(v.__experimentalDivider,null),React.createElement(v.BaseControl,{label:(0,i.__)("Icon Postion","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},Oe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:vt===e.value,isSecondary:vt!==e.value,onClick:function(){return r({iconPosition:e.value})}},e.label)}))),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Size","essential-blocks"),controlName:me,noUnits:!0}),React.createElement(H.ResponsiveRangeController,{baseLabel:(0,i.__)("Gap","essential-blocks"),controlName:ue,noUnits:!0}))),(0,C.applyFilters)("eb_from_pro_multistep_button_styles","",o,r),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:Ge}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:dt,onChange:function(e){return r({fieldsValidationColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Fields Border Color","essential-blocks"),color:bt,onChange:function(e){return r({fieldsValidationBorderColor:e})}}),React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:kt===e.value,isSecondary:kt!==e.value,onClick:function(){return r({validationAlign:e.value})}},e.label)})))),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Message","essential-blocks"),initialOpen:!1},React.createElement(v.BaseControl,{label:(0,i.__)("Alignment","essential-blocks")},React.createElement(v.ButtonGroup,{id:"eb-button-group-alignment"},xe.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:qe===e.value,isSecondary:qe!==e.value,onClick:function(){return r({messageAlign:e.value})}},e.label)}))),React.createElement(v.ButtonGroup,{className:"eb-inspector-btn-group"},Ie.map(function(e,t){return React.createElement(v.Button,{key:t,isPrimary:q===e.value,isSecondary:q!==e.value,onClick:function(){return r({messageType:e.value})}},e.label)})),"success"==q&&React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:He}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:Ze,onChange:function(e){return r({successColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:Je,onChange:function(e){return r({successBgColor:e})}}),React.createElement(H.ResponsiveDimensionsControl,{controlName:re,baseLabel:(0,i.__)("Padding","essential-blocks")}),React.createElement(H.InspectorPanel.PanelBody,{title:(0,i.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(H.BorderShadowControl,{controlName:oe}))),"error"==q&&React.createElement(React.Fragment,null,React.createElement(H.TypographyDropdown,{baseLabel:(0,i.__)("Typography","essential-blocks"),typographyPrefixConstant:ze}),React.createElement(H.ColorControl,{label:(0,i.__)("Color","essential-blocks"),color:Ye,onChange:function(e){return r({errorColor:e})}}),React.createElement(H.ColorControl,{label:(0,i.__)("Background","essential-blocks"),color:Qe,onChange:function(e){return r({errorBgColor:e})}}),React.createElement(H.ResponsiveDimensionsControl,{controlName:ce,baseLabel:(0,i.__)("Padding","essential-blocks")}),React.createElement(v.PanelBody,{title:(0,i.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(H.BorderShadowControl,{controlName:le}))))))};var Je;function Ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Qe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ye(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Xe=Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe(Qe({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},formType:{type:"string"},formStyle:{type:"string",default:"form-style-classic"},template:{type:"string",default:"contact_form_1"},formId:{type:"string"},formTitle:{type:"string"},integrations:{type:"object",default:{}},mailTo:{type:"string"},mailCc:{type:"string"},mailBcc:{type:"string"},mailSubject:{type:"string"},mailBody:{type:"string"},notificationType:{type:"string",default:"true"===(null===(Je=EssentialBlocksLocalize)||void 0===Je?void 0:Je.is_pro_active)?"emailsave":"email"},confirmationType:{type:"string",default:"message"},redirectUrl:{type:"string"},successMessage:{type:"string",default:"Your form has been submitted Successfully!"},errorMessage:{type:"string",default:"Your form couldn't been submitted! Please try again."},validationErrorMessage:{type:"string",default:"Validation Failed! Please check the error messages."},formWidth:{type:"string",default:"full"},formAlign:{type:"string",default:"left"},labelColor:{type:"string",default:"var(--eb-global-heading-color)"},labelAlign:{type:"string",default:"left"},requiredColor:{type:"string",default:"#D92D20"},fieldsColor:{type:"string",default:"var(--eb-global-text-color)"},fieldsPlaceholderColor:{type:"string",default:"var(--eb-global-tertiary-color)"},fieldsBgColor:{type:"string",default:"var(--eb-global-background-color)"},buttonType:{type:"string",default:"normal"},btnColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHvColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},btnBgHvColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonText:{type:"string",default:"Submit"},buttonAlign:{type:"string",default:"left"},btnVerticalAlign:{type:"string",default:"flex-end"},buttonWidth:{type:"string",default:"full"},btnAddIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-chevron-right"},iconPosition:{type:"string",default:"right"},iconSize:{type:"string"},iconSpace:{type:"string",default:"5px"},messageAlign:{type:"string",default:"left"},messageType:{type:"string",default:"success"},successColor:{type:"string",default:"#4E4E4E"},successBgColor:{type:"string",default:"#EDFFF5"},errorColor:{type:"string",default:"#4E4E4E"},errorBgColor:{type:"string",default:"var(--eb-global-background-color)"},radioType:{type:"string",default:"normal"},radioColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBgColor:{type:"string",default:""},radioBrColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBrCheckedColor:{type:"string",default:"var(--eb-global-primary-color)"},radioBorder:{type:"number",default:1},checkboxType:{type:"string",default:"normal"},checkboxColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBgColor:{type:"string",default:""},checkboxBrColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBrCheckedColor:{type:"string",default:"var(--eb-global-primary-color)"},checkboxBorder:{type:"number",default:1},dateBgColor:{type:"string",default:"var(--eb-global-background-color)"},dateSelectedColor:{type:"string",default:"#fff"},fieldAlign:{type:"string",default:"left"},fieldsValidationColor:{type:"string",default:"var(--eb-global-secondary-color)"},fieldsValidationBorderColor:{type:"string",default:"#dc072f"},validationAlign:{type:"string",default:"left"},formLayout:{type:"string",default:"block"},showLabel:{type:"boolean",default:!0},showInputIcon:{type:"boolean",default:!1},inputIconColor:{type:"string",default:"var(--eb-global-primary-color)"},enableMultistepForm:{type:"boolean",default:!1},stepIndecator:{type:"boolean",default:!0},stepNavigationStyle:{type:"string",default:"progress-bar"},multistepdata:{type:"array",default:[]},enableStepCount:{type:"boolean",default:!1},enableStepIcon:{type:"boolean",default:!1},enableStepSubtitle:{type:"boolean",default:!1}},(0,H.generateTypographyAttributes)(Le,{fontSize:14})),(0,H.generateTypographyAttributes)(Fe,{fontSize:15})),(0,H.generateTypographyAttributes)(je,{fontSize:16})),(0,H.generateTypographyAttributes)(He,{fontSize:20})),(0,H.generateTypographyAttributes)(ze,{fontSize:20})),(0,H.generateTypographyAttributes)(Ue,{fontSize:14})),(0,H.generateTypographyAttributes)(Ve,{fontSize:14})),(0,H.generateTypographyAttributes)(Ge,{fontSize:14})),(0,H.generateDimensionsAttributes)(Z)),(0,H.generateDimensionsAttributes)(J,{top:30,bottom:30,right:0,left:0,isLinked:!1})),(0,H.generateBackgroundAttributes)(W)),(0,H.generateBorderShadowAttributes)(Y)),(0,H.generateDimensionsAttributes)($)),(0,H.generateBorderShadowAttributes)(K,{defaultBdrColor:"var(--eb-global-tertiary-color)",defaultBdrStyle:"solid",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:4,bottom:4,right:4,left:4}})),(0,H.generateResponsiveRangeAttributes)(de,{defaultRange:200})),(0,H.generateResponsiveRangeAttributes)(ge,{defaultRange:500})),(0,H.generateResponsiveRangeAttributes)(te,{defaultRange:100,defaultUnit:"%"})),(0,H.generateResponsiveRangeAttributes)(me,{noUnits:!0})),(0,H.generateResponsiveRangeAttributes)(ue,{defaultRange:8,noUnits:!0})),(0,H.generateResponsiveRangeAttributes)(Q,{defaultRange:15})),(0,H.generateDimensionsAttributes)(X,{top:0,bottom:10,left:0,right:0,isLinked:!1})),(0,H.generateDimensionsAttributes)(ne,{top:15,bottom:15,left:15,right:15,isLinked:!0})),(0,H.generateBorderShadowAttributes)(ae,{defaultBdrColor:"var(--eb-global-tertiary-color)",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:4,bottom:4,right:4,left:4}})),(0,H.generateDimensionsAttributes)(re)),(0,H.generateBorderShadowAttributes)(oe)),(0,H.generateDimensionsAttributes)(ce)),(0,H.generateBorderShadowAttributes)(le)),(0,H.generateResponsiveRangeAttributes)(ie,{defaultRange:16})),(0,H.generateResponsiveRangeAttributes)(se,{defaultRange:10})),(0,H.generateResponsiveRangeAttributes)(pe,{defaultRange:18})),(0,H.generateResponsiveRangeAttributes)(be,{defaultRange:10})),(0,H.generateResponsiveRangeAttributes)(he,{defaultRange:0})),(0,H.generateResponsiveRangeAttributes)(ye,{defaultRange:0})),(0,H.generateResponsiveRangeAttributes)(ee,{defaultRange:20})),(0,H.generateResponsiveRangeAttributes)(fe,{defaultRange:80})),(0,H.generateResponsiveRangeAttributes)(ve,{defaultRange:15}));function $e(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.btnColor),l=t.btnHvColor,c=t.btnBgColor,i=t.btnBgHvColor,s=t.labelColor,p=t.fieldsColor,b=t.fieldsPlaceholderColor,d=t.fieldsBgColor,m=t.successColor,u=t.successBgColor,g=t.errorColor,f=t.errorBgColor,y=t.radioColor,h=t.radioBgColor,v=t.radioBrColor,w=t.radioBrCheckedColor,k=t.radioSizeRange,R=t.TABradioSizeRange,_=t.MOBradioSizeRange,C=(t.radioBorderborderColor,t.radioBorder),E=t.checkboxColor,x=t.checkboxBgColor,S=t.checkboxBrColor,B=t.checkboxBrCheckedColor,T=t.checkboxSizeRange,N=t.TABcheckboxSizeRange,P=t.MOBcheckboxSizeRange,O=(t.checkboxBorderborderColor,t.checkboxBorder),I=t.dateSelectedColor,D=t.dateBgColor,A=t.fieldsValidationBorderColor,M=t.fieldsValidationColor,L=t.requiredColor,F=t.buttonAlign,j=t.buttonWidth,z=t.btnAddIcon,U=t.iconPosition,V=t.formWidth,G=t.formAlign,q=t.labelAlign,fe=t.validationAlign,we=t.messageAlign,ke=t.fieldAlign,Re=t.btnVerticalAlign,_e=t.formLayout,Ce=t.btnHorizontalPositionRange,Ee=(t.TABbtnHorizontalPositionRange,t.MOBbtnHorizontalPositionRange,t.btnHorizontalPositionUnit),xe=t.btnVerticalPositionRange,Se=t.btnVerticalPositionUnit,Be=t.inlineFormWidthRange,Te=t.TABinlineFormWidthRange,Ne=(t.MOBinlineFormWidthRange,t.inputIconColor),Pe=t.fieldsPaddingLeft,Oe=(t.TABfieldsPaddingLeft,t.MOBfieldsPaddingLeft,t.fieldsPaddingUnit),Ie=t.inputIconSizeRange,De=(t.TABinputIconSizeRange,t.MOBinputIconSizeRange,t.showInputIcon),Ae=t.fieldsPaddingTop,Me=t.formStyle,qe=(0,H.generateDimensionsControlStyles)({controlName:Z,styleFor:"margin",attributes:t}),We=qe.dimensionStylesDesktop,Ze=qe.dimensionStylesTab,Je=qe.dimensionStylesMobile,Ye=(0,H.generateDimensionsControlStyles)({controlName:J,styleFor:"padding",attributes:t}),Qe=Ye.dimensionStylesDesktop,Xe=Ye.dimensionStylesTab,$e=Ye.dimensionStylesMobile,Ke=(0,H.generateBorderShadowStyles)({controlName:Y,attributes:t}),et=Ke.styesDesktop,tt=Ke.styesTab,at=Ke.styesMobile,nt=Ke.stylesHoverDesktop,ot=Ke.stylesHoverTab,rt=Ke.stylesHoverMobile,lt=Ke.transitionStyle,ct=(0,H.generateBackgroundControlStyles)({attributes:t,controlName:W,noOverlay:!0}),it=ct.backgroundStylesDesktop,st=ct.hoverBackgroundStylesDesktop,pt=ct.backgroundStylesTab,bt=ct.hoverBackgroundStylesTab,dt=ct.backgroundStylesMobile,mt=ct.hoverBackgroundStylesMobile,ut=ct.bgTransitionStyle,gt=(0,H.generateResponsiveRangeStyles)({controlName:Q,property:"gap",attributes:t,customUnit:"px"}),ft=gt.rangeStylesDesktop,yt=gt.rangeStylesTab,ht=gt.rangeStylesMobile,vt=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:je}),wt=vt.typoStylesDesktop,kt=vt.typoStylesTab,Rt=vt.typoStylesMobile,_t=(0,H.generateDimensionsControlStyles)({controlName:$,styleFor:"padding",attributes:t}),Ct=_t.dimensionStylesDesktop,Et=_t.dimensionStylesTab,xt=_t.dimensionStylesMobile,St=(0,H.generateBorderShadowStyles)({controlName:K,attributes:t}),Bt=St.styesDesktop,Tt=St.styesTab,Nt=St.styesMobile,Pt=St.stylesHoverDesktop,Ot=St.stylesHoverTab,It=St.stylesHoverMobile,Dt=(St.transitionStyle,(0,H.generateResponsiveRangeStyles)({controlName:ge,property:"width",attributes:t})),At=Dt.rangeStylesDesktop,Mt=Dt.rangeStylesTab,Lt=Dt.rangeStylesMobile,Ft=(0,H.generateResponsiveRangeStyles)({controlName:te,property:"width",attributes:t}),jt=Ft.rangeStylesDesktop,Ht=Ft.rangeStylesTab,zt=Ft.rangeStylesMobile,Ut=(0,H.generateResponsiveRangeStyles)({controlName:de,property:"width",attributes:t}),Vt=Ut.rangeStylesDesktop,Gt=Ut.rangeStylesTab,qt=Ut.rangeStylesMobile,Wt=(0,H.generateResponsiveRangeStyles)({controlName:me,property:"font-size",attributes:t,customUnit:"px"}),Zt=Wt.rangeStylesDesktop,Jt=Wt.rangeStylesTab,Yt=Wt.rangeStylesMobile,Qt=(0,H.generateResponsiveRangeStyles)({controlName:ee,property:"margin-top",attributes:t,customUnit:"px"}),Xt=Qt.rangeStylesDesktop,$t=Qt.rangeStylesTab,Kt=Qt.rangeStylesMobile,ea=(0,H.generateResponsiveRangeStyles)({controlName:he,property:"right",attributes:t}),ta=(ea.rangeStylesDesktop,ea.rangeStylesTab,ea.rangeStylesMobile,(0,H.generateResponsiveRangeStyles)({controlName:ye,property:"marign-top",attributes:t})),aa=(ta.rangeStylesDesktop,ta.rangeStylesTab,ta.rangeStylesMobile,(0,H.generateResponsiveRangeStyles)({controlName:ue,property:"margin-left",attributes:t,customUnit:"px"})),na=aa.rangeStylesDesktop,oa=aa.rangeStylesTab,ra=aa.rangeStylesMobile,la=(0,H.generateResponsiveRangeStyles)({controlName:ue,property:"margin-right",attributes:t,customUnit:"px"}),ca=la.rangeStylesDesktop,ia=la.rangeStylesTab,sa=la.rangeStylesMobile,pa=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:Fe}),ba=pa.typoStylesDesktop,da=pa.typoStylesTab,ma=pa.typoStylesMobile,ua=(0,H.generateDimensionsControlStyles)({controlName:X,styleFor:"margin",attributes:t}),ga=ua.dimensionStylesDesktop,fa=ua.dimensionStylesTab,ya=ua.dimensionStylesMobile,ha=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:He}),va=ha.typoStylesDesktop,wa=ha.typoStylesTab,ka=ha.typoStylesMobile,Ra=(0,H.generateDimensionsControlStyles)({controlName:re,styleFor:"padding",attributes:t}),_a=Ra.dimensionStylesDesktop,Ca=Ra.dimensionStylesTab,Ea=Ra.dimensionStylesMobile,xa=(0,H.generateBorderShadowStyles)({controlName:oe,attributes:t}),Sa=xa.styesDesktop,Ba=xa.styesTab,Ta=xa.styesMobile,Na=xa.stylesHoverDesktop,Pa=xa.stylesHoverTab,Oa=xa.stylesHoverMobile,Ia=xa.transitionStyle,Da=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:ze}),Aa=Da.typoStylesDesktop,Ma=Da.typoStylesTab,La=Da.typoStylesMobile,Fa=(0,H.generateDimensionsControlStyles)({controlName:ce,styleFor:"padding",attributes:t}),ja=Fa.dimensionStylesDesktop,Ha=Fa.dimensionStylesTab,za=Fa.dimensionStylesMobile,Ua=(0,H.generateBorderShadowStyles)({controlName:le,attributes:t}),Va=Ua.styesDesktop,Ga=Ua.styesTab,qa=Ua.styesMobile,Wa=Ua.stylesHoverDesktop,Za=Ua.stylesHoverTab,Ja=Ua.stylesHoverMobile,Ya=Ua.transitionStyle,Qa=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:Le}),Xa=Qa.typoStylesDesktop,$a=Qa.typoStylesTab,Ka=Qa.typoStylesMobile,en=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:Ge}),tn=en.typoStylesDesktop,an=en.typoStylesTab,nn=en.typoStylesMobile,on=(0,H.generateDimensionsControlStyles)({controlName:ne,styleFor:"padding",attributes:t}),rn=on.dimensionStylesDesktop,ln=on.dimensionStylesTab,cn=on.dimensionStylesMobile,sn=(0,H.generateBorderShadowStyles)({controlName:ae,attributes:t}),pn=sn.styesDesktop,bn=sn.styesTab,dn=sn.styesMobile,mn=sn.stylesHoverDesktop,un=(sn.stylesHoverTab,sn.stylesHoverMobile,sn.transitionStyle,(0,H.generateTypographyStyles)({attributes:t,prefixConstant:Ue})),gn=un.typoStylesDesktop,fn=un.typoStylesTab,yn=un.typoStylesMobile,hn=(0,H.generateResponsiveRangeStyles)({controlName:ie,property:"Width",attributes:t,customUnit:"px"}),vn=hn.rangeStylesDesktop,wn=hn.rangeStylesTab,kn=hn.rangeStylesMobile,Rn=(0,H.generateResponsiveRangeStyles)({controlName:se,property:"margin-bottom",attributes:t,customUnit:"px"}),_n=Rn.rangeStylesDesktop,Cn=Rn.rangeStylesTab,En=Rn.rangeStylesMobile,xn=(0,H.generateTypographyStyles)({attributes:t,prefixConstant:Ve}),Sn=xn.typoStylesDesktop,Bn=xn.typoStylesTab,Tn=xn.typoStylesMobile,Nn=(0,H.generateResponsiveRangeStyles)({controlName:pe,property:"Width",attributes:t,customUnit:"px"}),Pn=Nn.rangeStylesDesktop,On=Nn.rangeStylesTab,In=Nn.rangeStylesMobile,Dn=(0,H.generateResponsiveRangeStyles)({controlName:be,property:"margin-bottom",attributes:t,customUnit:"px"}),An=Dn.rangeStylesDesktop,Mn=Dn.rangeStylesTab,Ln=Dn.rangeStylesMobile,Fn=(0,H.generateResponsiveRangeStyles)({controlName:ve,property:"font-size",attributes:t,customUnit:"px"}),jn=Fn.rangeStylesDesktop,Hn=(Fn.rangeStylesTab,Fn.rangeStylesMobile,"\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(We,"\n\t\t\t").concat(Qe,"\n\t\t\t").concat(it,"\n\t\t\t").concat(et,"\n\t\t\ttransition: ").concat(ut,", ").concat(lt,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(st,"\n\t\t\t").concat(nt,"\n\t\t}\n\t")),zn="\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(Ze,"\n\t\t\t").concat(Xe,"\n\t\t\t").concat(pt,"\n\t\t\t").concat(tt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(bt,"\n\t\t\t").concat(ot,"\n\t\t}\n\n\t"),Un="\n\t\t.eb-form-wrapper.".concat(o,"{\n\t\t\t").concat(Je,"\n\t\t\t").concat($e,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(at,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o,":hover {\n\t\t\t").concat(mt,"\n\t\t\t").concat(rt,"\n\t\t}\n\n\t"),Vn="\n ".concat("full"===V?"\n .eb-parent-".concat(o," {\n width: 100%;\n }"):".eb-parent-".concat(o," {\n ").concat(At,"\n }"),"\n\n ").concat("left"===G?".eb-parent-".concat(o,"{\n justify-content: left;\n }"):"","\n ").concat("center"===G?".eb-parent-".concat(o,"{\n justify-content: center;\n }"):"","\n ").concat("right"===G?".eb-parent-".concat(o,"{\n justify-content: right;\n }"):"","\n\t"),Gn="\n\n ".concat("full"===V?"\n .eb-form-wrapper.".concat(o," {\n width: 100%;\n }"):".eb-form-wrapper.".concat(o," {\n ").concat(Mt,"\n }"),"\n\t"),qn="\n\n ".concat("full"===V?"\n .eb-form-wrapper.".concat(o," {\n width: 100%;\n }"):".eb-form-wrapper.".concat(o," {\n ").concat(Lt,"\n }"),"\n\t"),Wn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label,\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper label,\n .eb-form-wrapper.").concat(o," .eb-radio-inputarea,\n .eb-form-wrapper.").concat(o," .eb-field-wrapper input ~ label,\n .eb-form-wrapper.").concat(o," .eb-field-wrapper textarea ~ label {\n\t\t\tcolor: ").concat(s,";\n text-align: ").concat(q,";\n ").concat(ba,"\n ").concat(ga,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n margin-bottom: 0;\n }\n .eb-form-wrapper.").concat(o," .eb-required{\n color: ").concat(L,";\n }\n\n ").concat("form-style-modern"==Me?"\n .eb-form-wrapper.".concat(o," .eb-field-input-wrap label,\n .eb-form-wrapper.").concat(o," .eb-form.form-style-modern input:focus ~ label,\n .eb-form-wrapper.").concat(o," .eb-form.form-style-modern input:valid ~ label,\n .eb-form-wrapper.").concat(o," .eb-form.form-style-modern textarea:focus ~ label {\n left: calc( ").concat(De?Ie:0,"px + (").concat(Pe).concat(Oe," * ").concat(De?1.6:.999,"));\n }\n\n .eb-form-wrapper.").concat(o," .eb-form.form-style-modern .eb-field-input-wrap textarea ~ label {\n top: calc(").concat(Ae).concat(Oe," + 7px);\n }\n\n "):"","\n\t"),Zn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label,\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper label {\n ").concat(da,"\n ").concat(fa,"\n\t\t}\n\t"),Jn="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper > label,\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper label {\n ").concat(ma,"\n ").concat(ya,"\n\t\t}\n\t"),Yn="\n .eb-form-wrapper.".concat(o," .eb-multistep-form .eb-form-multistep-wrapper,\n .wp-admin .eb-form-wrapper.").concat(o," .block-editor-block-list__layout,\n .eb-form-wrapper.").concat(o," .eb-form-fields {\n ").concat(ft,"\n }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n\t\t\tcolor: ").concat(p,";\n\t\t\tbackground-color: ").concat(d,";\n text-align: ").concat(ke,";\n ").concat(Xa,"\n ").concat(rn,"\n ").concat(pn,"\n ").concat(jt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input:hover,\n .eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input:focus {\n ").concat(mn,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(b,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-validation-error .eb-form-validation {\n ").concat(tn,"\n\t\t\tcolor: ").concat(M,";\n text-align: ").concat(fe,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(A,";\n\t\t}\n\n\n\n ").concat(De?"\n .eb-form-wrapper.".concat(o," .eb-field-wrapper .eb-input-icon {\n ").concat(jn,"\n color: ").concat(Ne,";\n left: ").concat(Pe).concat(Oe,";\n }\n .eb-form-wrapper.").concat(o," .eb-field-wrapper.eb-textarea-field-wrapper .eb-input-icon {top: ").concat(Ae).concat(Oe,";}\n .eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n padding-left: calc(").concat(Ie,"px + (").concat(Pe).concat(Oe," * 1.6));\n }"):"","\n\n\n\t"),Qn="\n .wp-admin .eb-form-wrapper.".concat(o," .block-editor-block-list__layout,\n .eb-form-wrapper.").concat(o," .eb-form-fields {\n ").concat(yt||ft,"\n }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n ").concat($a,"\n ").concat(ln,"\n ").concat(bn,"\n ").concat(Ht,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-form-validation {\n ").concat(an,"\n\t\t}\n\t"),Xn="\n .wp-admin .eb-form-wrapper.".concat(o," .block-editor-block-list__layout,\n .eb-form-wrapper.").concat(o," .eb-form-fields {\n ").concat(ht||ft,"\n }\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper .eb-field-input {\n ").concat(Ka,"\n ").concat(cn,"\n ").concat(dn,"\n ").concat(zt,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-form-validation {\n ").concat(nn,"\n\t\t}\n\t"),$n="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n\t\t\tbackground-color: ").concat(h,";\n\t\t\tborder-color: ").concat(v,";\n\t\t\tborder-width: ").concat(C,"px;\n height: ").concat(k,"px;\n ").concat(vn,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]:checked {\n\t\t\tborder-color: ").concat(w,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(gn,"\n color: ").concat(y,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n ").concat(_n,"\n }\n\n .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n width: calc(").concat(k,"px / 2);\n height: calc(").concat(k,"px / 2);\n background-color: ").concat(w,";\n }\n\t"),Kn="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n height: ").concat(R,"px;\n ").concat(wn,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(fn,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n ").concat(Cn,"\n }\n .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n width: calc(").concat(R,"px / 2);\n height: calc(").concat(R,"px / 2);\n }\n\t"),eo="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=radio] {\n height: ").concat(_,"px;\n ").concat(kn,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-radio-inputarea label {\n ").concat(yn,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-radio-field-wrapper .eb-radio-inputarea {\n ").concat(En,"\n }\n .eb-form-wrapper.").concat(o," .eb-form-field input[type=radio]::before {\n width: calc(").concat(_,"px / 2);\n height: calc(").concat(_,"px / 2);\n }\n\t"),to="\n\t\t.eb-form-wrapper.".concat(o," .eb-field-wrapper input[type=checkbox] {\n\t\t\tbackground-color: ").concat(x,";\n\t\t\tborder-color: ").concat(S,";\n\t\t\tborder-width: ").concat(O,"px;\n height: ").concat(T,"px;\n ").concat(Pn,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]:checked {\n\t\t\tborder-color: ").concat(B,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n ").concat(Sn,"\n color: ").concat(E,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n ").concat(An,"\n }\n .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n color: ").concat(B,";\n font-size: calc(").concat(T,"px /2);\n }\n\t"),ao="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=checkbox] {\n height: ").concat(N,"px;\n ").concat(On,"\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n ").concat(Bn,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n ").concat(Mn,"\n }\n .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n font-size: calc(").concat(N,"px /1.4);\n }\n\t"),no="\n\t\t.eb-form-wrapper.".concat(o," .eb-form-field input[type=checkbox] {\n height: ").concat(P,"px;\n ").concat(In,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-checkbox-inputarea label {\n ").concat(Tn,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-checkbox-field-wrapper .eb-checkbox-inputarea {\n ").concat(Ln,"\n }\n .eb-form-wrapper.").concat(o," .eb-field-wrapper input[type=checkbox]::before {\n font-size: calc(").concat(P,"px /1.4);\n }\n\t"),oo="\n\t\t.eb-form-wrapper.".concat(o," .eb-datetime-field-wrapper .react-datepicker .react-datepicker__day--selected {\n\t\t\tbackground-color: ").concat(D,";\n\t\t\tcolor: ").concat(I,";\n\t\t}\n\t"),ro="\n ".concat("left"===F?".eb-form-wrapper.".concat(o," .eb-form-submit {\n justify-content: left;\n }"):"","\n ").concat("center"===F?".eb-form-wrapper.".concat(o," .eb-form-submit {\n justify-content: center;\n }"):"","\n ").concat("right"===F?".eb-form-wrapper.".concat(o," .eb-form-submit {\n justify-content: right;\n }"):"","\n ").concat("inline"===_e?".eb-form-wrapper.".concat(o," .eb-form-submit {\n align-items: ").concat(Re,";\n }\n .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-fields {\n flex-basis: ").concat(Be,"%;\n }\n .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-submit {\n flex-basis: calc(100% - ").concat(Be,"%);\n }\n\n ").concat("undefined"!==Ce?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n position: relative;\n right: ").concat(Ce).concat(Ee,";\n }"):"","\n ").concat("flex-start"===Re?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n margin-top: ").concat(xe).concat(Se,";\n }"):"","\n ").concat("flex-end"===Re?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n margin-bottom: ").concat(xe).concat(Se,";\n }"):"","\n "):"","\n ").concat("block"===_e?".eb-form-wrapper.".concat(o," .eb-form-submit{\n ").concat(Xt,";\n }\n .eb-form-wrapper.").concat(o,"{\n flex-direction: column;\n }\n "):"","\n\n\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(c,";\n ").concat(wt,"\n ").concat(Ct,"\n ").concat(Bt,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n\t\t\tcolor: ").concat(l,";\n\t\t\tbackground-color: ").concat(i,";\n ").concat(Pt,"\n\t\t}\n\n ").concat("auto"!==j?"full"===j?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(Vt,"\n\t\t\t\t\t\t}"):"","\n\n ").concat(z?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(Zt,"\n\t\t\t\t\t").concat("left"===U?ca:na,"\n\t\t\t\t}"):"","\n\n\t"),lo="\n ".concat("inline"===_e?"\n .eb-form-wrapper.".concat(o," .eb-form.form-layout-inline .eb-form-fields {\n flex-basis: ").concat(Te,"%;\n }\n .eb-form-wrapper.").concat(o," .eb-form.form-layout-inline .eb-form-submit {\n flex-basis: calc(100% - ").concat(Te,"%);\n }\n\n ").concat("undefined"!==Ce?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n position: relative;\n right: ").concat(Ce).concat(Ee,";\n }"):"","\n ").concat("flex-start"===Re?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n margin-top: ").concat(xe).concat(Se,";\n }"):"","\n ").concat("flex-end"===Re?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n margin-bottom: ").concat(xe).concat(Se,";\n }"):"","\n "):"","\n ").concat("block"===_e?".eb-form-wrapper.".concat(o," .eb-form-submit {\n ").concat($t,";\n }\n "):"","\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n ").concat(kt,"\n ").concat(Et,"\n ").concat(Tt,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n ").concat(Ot,"\n\t\t}\n\n ").concat("auto"!==j?"full"===j?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(Gt,"\n\t\t\t\t\t\t}"):"","\n\n ").concat(z?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(Jt,"\n\t\t\t\t\t").concat("left"===U?ia:oa,"\n\t\t\t\t}"):"","\n\t"),co="\n ".concat("block"===_e?".eb-form-wrapper.".concat(o," .eb-form-submit {\n ").concat(Kt,";\n }\n "):"","\n\t\t.eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button {\n ").concat(Rt,"\n ").concat(xt,"\n ").concat(Nt,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-form-submit .eb-form-submit-button:hover {\n ").concat(It,"\n\t\t}\n\n ").concat("auto"!==j?"full"===j?"\n\t\t\t\t\t.eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button {\n\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t}"):".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button{\n\t\t\t\t\t\t\t").concat(qt,"\n\t\t\t\t\t\t}"):"","\n\n ").concat(z?".eb-form-wrapper.".concat(o," .eb-form-submit .eb-form-submit-button .eb-button-icon {\n\t\t\t\t\t").concat(Yt,"\n\t\t\t\t\t").concat("left"===U?sa:ra,"\n\t\t\t\t}"):"","\n\t"),io="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response {\n text-align: ").concat(we,";\n }\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.success {\n\t\t\tcolor: ").concat(m,";\n\t\t\tbackground-color: ").concat(u,";\n ").concat(va,"\n ").concat(_a,"\n ").concat(Sa,"\n ").concat(Ia,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n ").concat(Na,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.error,\n .eb-form-wrapper.").concat(o," .eb-form-multistep-validation {\n\t\t\tcolor: ").concat(g,";\n\t\t\tbackground-color: ").concat(f,";\n ").concat(Aa,"\n ").concat(ja,"\n ").concat(Va,"\n ").concat(Ya,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover,\n .eb-form-wrapper.").concat(o," .eb-form-multistep-validation:hover {\n ").concat(Wa,"\n\t\t}\n\t"),so="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response.success {\n ").concat(wa,"\n ").concat(Ca,"\n ").concat(Ba,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n ").concat(Pa,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.error {\n ").concat(Ma,"\n ").concat(Ha,"\n ").concat(Ga,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover {\n ").concat(Za,"\n\t\t}\n\t"),po="\n\t\t.eb-form-wrapper.".concat(o," .eb_form_submit_response.success {\n ").concat(ka,"\n ").concat(Ea,"\n ").concat(Ta,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.success:hover {\n ").concat(Oa,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.error {\n ").concat(La,"\n ").concat(za,"\n ").concat(qa,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb_form_submit_response.error:hover {\n ").concat(Ja,"\n\t\t}\n\t"),bo=(0,H.softMinifyCssStrings)("\n\t\t".concat(Hn,"\n\t\t").concat(Vn,"\n\t\t").concat(Wn,"\n\t\t").concat(Yn,"\n\t\t").concat($n,"\n\t\t").concat(to,"\n\t\t").concat(oo,"\n\t\t").concat(ro,"\n\t\t").concat(io,"\n\t")),mo=(0,H.softMinifyCssStrings)("\n\t\t".concat(zn,"\n\t\t").concat(Gn,"\n\t\t").concat(Zn,"\n ").concat(Qn,"\n\t\t").concat(Kn,"\n\t\t").concat(ao,"\n\t\t").concat(lo,"\n\t\t").concat(so,"\n\t")),uo=(0,H.softMinifyCssStrings)("\n\t\t".concat(Un,"\n\t\t").concat(Jn,"\n\t\t").concat(qn,"\n\t\t").concat(Xn,"\n\t\t").concat(eo,"\n\t\t").concat(no,"\n\t\t").concat(co,"\n\t\t").concat(po,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(H.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:bo,tabAllStyles:mo,mobileAllStyles:uo,blockName:n}))}const Ke=a.p+"images/loading.gif";function et(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return tt(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?tt(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}function tt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function at(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function nt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?at(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):at(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ot=(0,R.memo)((0,H.withBlockContext)(Xe)(function(e){var t,a,n=e.attributes,o=e.setAttributes,r=e.clientId,l=e.isSelected,c=n.resOption,s=n.cover,p=n.blockId,u=n.classHook,f=n.formId,w=n.notificationType,x=n.formTitle,S=n.formType,B=n.template,T=n.integrations,O=n.buttonText,I=n.btnAddIcon,D=n.icon,A=n.iconPosition,M=n.formLayout,L=n.showLabel,F=n.showInputIcon,j=n.successMessage,W=n.errorMessage,Z=n.validationErrorMessage,J=n.formStyle,Y=n.multistepdata,Q=n.stepIndecator,X=n.enableMultistepForm,$=(n.enableStepCount,n.enableStepIcon),K=n.enableStepSubtitle,ee=(n.nextBtnText,n.prevBtnText,(0,R.useState)({})),te=(0,g.A)(ee,2),ae=te[0],ne=te[1],oe=(0,R.useState)({}),re=(0,g.A)(oe,2),le=re[0],ce=re[1],ie=(0,R.useState)(!1),se=(0,g.A)(ie,2),pe=se[0],be=se[1],de=(0,_.useDispatch)(h.store).replaceInnerBlocks,me=(0,R.useRef)(L),ue=(0,R.useRef)(F),ge=(0,R.useRef)(J),fe=(0,R.useRef)(S),ye=(0,R.useRef)(B),he=(0,C.applyFilters)("eb-form-block-allowed-blocks",["essential-blocks/form-text-field","essential-blocks/form-textarea-field","essential-blocks/form-email-field","essential-blocks/form-number-field","essential-blocks/form-select-field","essential-blocks/form-checkbox-field","essential-blocks/form-radio-field","essential-blocks/advanced-heading","essential-blocks/advanced-image","essential-blocks/row","core/image","core/heading","core/paragraph"]),ve="eb-form",we=nt(nt({},e),{},{blockPrefix:ve,style:React.createElement($e,e)}),ke=null===(t=(0,_.select)("core/block-editor").getBlock(r))||void 0===t?void 0:t.innerBlocks,Re=(0,R.useRef)(ke);(0,R.useEffect)(function(){if((0,H.getAllBlockClientIds)().includes(r)){var e=(0,_.select)("core/block-editor").getBlock(r),t=P(e);ce(t)}},[ke]),(0,R.useEffect)(function(){var e=r.substr(r.length-6);if(p&&p.startsWith(ve)&&(e=p.replace(ve+"-","")),f&&0!==f.length||o({formId:"ebf-".concat(e)}),0===Y.length){var t,a=(null==Re||null===(t=Re.current)||void 0===t?void 0:t.length)>0?Re.current.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name}):[];o({multistepdata:a})}var n=function(){var e=(0,m.A)(y().mark(function e(){return y().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,H.fetchFormBlockData)(p,"form_options");case 1:return e.abrupt("return",e.sent);case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();n().then(function(e){var t=null==e?void 0:e.form_options;!t||"object"===(0,d.A)(t)&&0===Object.keys(t).length?ne({mailTo:"",replyTo:"",mailCc:"",mailBcc:"",mailSubject:""}):(ne(t),t.notification&&o({notificationType:t.notification}))})},[]),(0,R.useEffect)(function(){var e;if((null==Re||null===(e=Re.current)||void 0===e?void 0:e.length)===(null==ke?void 0:ke.length)){if(k()(Re.current,ke))return;Re.current=ke;var t=Re.current.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name});o({multistepdata:t})}if(null==Re.current||ke.length>Re.current.length){Re.current=ke;var a=Re.current.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name});o({multistepdata:a})}if(ke.length<Re.current.length){var n=Re.current.filter(function(e){return!ke.some(function(t){return t.attributes.blockId===e.attributes.blockId})});if(1===n.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name}).length){var r,l=null===(r=n[0])||void 0===r||null===(r=r.attributes)||void 0===r?void 0:r.blockId,c=Y.filter(function(e){var t;return(null===(t=e.attributes)||void 0===t?void 0:t.blockId)!==l});o({multistepdata:c})}Re.current=ke}},[ke]);var _e=function(e,t){if("object"!==(0,d.A)(e)||"object"!==(0,d.A)(t))return[];if(e.length>0&&Object.keys(t).length>0){var a,n=et(e);try{for(n.s();!(a=n.n()).done;){var o=a.value;o.attributes&&"object"===(0,d.A)(o.attributes)&&(o.attributes=nt(nt({},o.attributes),t)),o.innerBlocks&&_e(o.innerBlocks,t)}}catch(e){n.e(e)}finally{n.f()}}};(0,R.useEffect)(function(){if(L!==me.current||F!==ue.current||J!==ge.current){me.current=L,ue.current=F,ge.current=J;var e=(0,_.select)("core/block-editor").getBlock(r).innerBlocks;_e(e,{showLabel:L,isIcon:F,formStyle:J}),de(r,e)}},[L,F,J]),(0,R.useEffect)(function(){if("Desktop"===c&&"form-style-modern"===J){var e=document.querySelector(".".concat(p));if(e){var t,a=et(e.getElementsByClassName("eb-field-input"));try{var n=function(){var e,a=t.value;a.value&&(null===(e=a.nextSibling)||void 0===e||e.classList.add("active")),a.addEventListener("focus",function(e){var t,n;null!==(t=a.nextSibling)&&void 0!==t&&t.classList.contains("active")||null===(n=a.nextSibling)||void 0===n||n.classList.add("active")}),a.addEventListener("blur",function(){var e;a.value||null===(e=a.nextSibling)||void 0===e||e.classList.remove("active")})};for(a.s();!(t=a.n()).done;)n()}catch(e){a.e(e)}finally{a.f()}}}},[J]),(0,R.useEffect)(function(){fe.current===S&&ye.current===B||(be(!0),fe.current=S,ye.current=B,setTimeout(function(){(0,C.applyFilters)("eb_form_type_selected",null,n,o),"contact_form"===S?(x||o({formTitle:"Contact Form"}),"contact_form_1"===B?(de(r,(0,E.createBlocksFromInnerBlocksTemplate)(z)),o({showInputIcon:!0})):"contact_form_2"===B&&de(r,(0,E.createBlocksFromInnerBlocksTemplate)(U))):"subscription_form"===S?(x||o({formTitle:"Subscription Form"}),"subscription_form_1"===B?(de(r,(0,E.createBlocksFromInnerBlocksTemplate)(V)),o({showInputIcon:!1})):"subscription_form_2"===B&&de(r,(0,E.createBlocksFromInnerBlocksTemplate)(G))):"rsvp_form"===S?(x||o({formTitle:"RSVP Form"}),de(r,(0,E.createBlocksFromInnerBlocksTemplate)(q)),o({showInputIcon:!1})):"blank"===S&&(x||o({formTitle:"New Form"}),de(r,[]),o({showInputIcon:!1})),be(!1)},50))},[S,B]),(0,R.useEffect)(function(){var e=(0,_.select)("core/editor").isEditedPostPublishable();void 0!==e&&!1===e&&(0,_.dispatch)("core/editor").editPost({isPublishable:!0})},[ae]);var Ce,Ee=(0,R.useCallback)(function(){var e=(0,_.select)("core/editor").isSavingPost(),t=(0,_.select)("core/editor").isAutosavingPost(),a=(0,_.select)("core/editor").isSavingNonPostEntityChanges();if((e&&!t||a)&&(0,H.getAllBlockClientIds)().includes(r)&&"object"===(0,d.A)(ae)&&Object.keys(ae).length>0){var n=(0,_.select)("core/block-editor").getBlock(r),o=N(n),l=P(n),c={validationRules:nt({},o),messages:{success:j,error:W,validationError:Z}};Object.keys(T).length>0&&(c.integrations=T),c=(0,C.applyFilters)("eb_form_other_settings",c,{blockId:p,formTitle:x,blockObj:n,fields:l});var i=nt(nt({},ae),{},{notification:w});(0,H.saveFormBlockData)(p,x||"Form ID: "+p,l,i,c)}},[p,x,w,ae,j,W,Z,T]);return Ce=(0,R.useRef)(!1),(0,R.useEffect)(function(){var e=(0,_.subscribe)(function(){var e=(0,_.select)("core/editor").isSavingPost(),t=(0,_.select)("core/editor").isAutosavingPost(),a=(0,_.select)("core/editor").isSavingNonPostEntityChanges(),n=e&&!t||a;n&&!Ce.current?(Ce.current=!0,Ee()):n||(Ce.current=!1)});return function(){e()}},[Ee]),(0,R.useEffect)(function(){if(Y&&0!==Y.length){var e=Y.map(function(e){return e.clientId}),t=(0,_.subscribe)(function(){if((0,_.select)("core/block-editor").getBlock(r)){var t=(0,_.select)("core/block-editor").getBlocks(r).filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name}),a=t.map(function(e){return e.clientId});e.some(function(e){return!a.includes(e)})&&t.length<Y.length&&(0,_.dispatch)("core/block-editor").selectBlock(r)}});return function(){return t()}}},[Y]),s.length?React.createElement("div",null,React.createElement("img",{src:s,alt:"data table",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,l&&React.createElement(Ze,{clientId:r,attributes:n,setAttributes:o,formSettings:ae,setFormSettings:ne,allFormFields:le}),React.createElement(H.BlockProps.Edit,we,(null===(a=EssentialBlocksLocalize)||void 0===a?void 0:a.unfilter_capability)&&"false"===EssentialBlocksLocalize.unfilter_capability&&React.createElement("div",{style:{marginLeft:"0",marginRight:"0"},className:"notice notice-error"},React.createElement("p",null,"You don't have permission to add/edit the Form Block. Any changes you make won't work in the frontend properly.")),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(p," ").concat(u)},React.createElement("div",{id:p,className:"".concat(p," eb-form-wrapper")},!S&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-editor-formtype-select"},React.createElement("h2",null,"Please Select a Form Type"),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){be(!0),o({formType:"contact_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF8xNykiPgo8cGF0aCBkPSJNOTIuNDYxMiA1SDcuMjA1NDRDNC45MTE1NiA1IDMgNi45MTE1NiAzIDkuMjA1NDRWMTYuMjc4MkMzIDE4LjU3MjEgNC45MTE1NiAyMC40ODM3IDcuMjA1NDQgMjAuNDgzN0g5Mi40NjEyQzk0Ljc1NTEgMjAuNDgzNyA5Ni42NjY3IDE4LjU3MjEgOTYuNjY2NyAxNi4yNzgyVjkuMjA1NDRDOTYuNjY2NyA2LjkxMTU2IDk0Ljc1NTEgNSA5Mi40NjEyIDVaIiBmaWxsPSIjRUFFQUVFIi8+CjxwYXRoIGQ9Ik05Mi40NjEyIDc4Ljk3NzZINjQuNjA5N0M2Mi4zMTU5IDc4Ljk3NzYgNjAuNDA0MyA4MC44ODkxIDYwLjQwNDMgODMuMTgzVjkwLjI1NThDNjAuNDA0MyA5Mi41NDk3IDYyLjMxNTkgOTQuNDYxMiA2NC42MDk3IDk0LjQ2MTJIOTIuNDYxMkM5NC43NTUxIDk0LjQ2MTIgOTYuNjY2NyA5Mi41NDk3IDk2LjY2NjcgOTAuMjU1OFY4My4xODNDOTYuNjY2NyA4MC44ODkxIDk0Ljc1NTEgNzguOTc3NiA5Mi40NjEyIDc4Ljk3NzZaIiBmaWxsPSIjRTZFNkU4Ii8+CjxwYXRoIGQ9Ik05Mi40NjEyIDQ1LjUyNTJINy4yMDU0NEM0LjkxMTU2IDQ1LjUyNTIgMyA0Ny40MzY4IDMgNDkuNzMwNlY2OS45OTMyQzMgNzIuMjg3MSA0LjkxMTU2IDc0LjE5ODcgNy4yMDU0NCA3NC4xOTg3SDkyLjQ2MTJDOTQuNzU1MSA3NC4xOTg3IDk2LjY2NjcgNzIuMjg3MSA5Ni42NjY3IDY5Ljk5MzJWNDkuNzMwNkM5Ni42NjY3IDQ3LjQzNjggOTQuNzU1MSA0NS41MjUyIDkyLjQ2MTIgNDUuNTI1MloiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTkyLjQ2MTIgMjUuMjYyNkg3LjIwNTQ0QzQuODgyODQgMjUuMjYyNiAzIDI3LjE0NTQgMyAyOS40NjhWMzYuNTQwOEMzIDM4Ljg2MzQgNC44ODI4NCA0MC43NDYyIDcuMjA1NDQgNDAuNzQ2Mkg5Mi40NjEyQzk0Ljc4MzggNDAuNzQ2MiA5Ni42NjY3IDM4Ljg2MzQgOTYuNjY2NyAzNi41NDA4VjI5LjQ2OEM5Ni42NjY3IDI3LjE0NTQgOTQuNzgzOCAyNS4yNjI2IDkyLjQ2MTIgMjUuMjYyNloiIGZpbGw9IiNFQUVBRUUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNjhfMTciPgo8cmVjdCB3aWR0aD0iOTMuNjY2NyIgaGVpZ2h0PSI4OS40NjEyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMyA1KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"conact form icon"})),React.createElement("span",null,"Contact Form")),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){be(!0),o({formType:"subscription_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF8xMCkiPgo8cGF0aCBkPSJNNjcuODE1MyA0Mi4yMzg3SDQuMzQxOTRDMi43OTIzOSA0Mi4yMzg3IDEuNTMzMzkgNDMuNDk3NyAxLjUzMzM5IDQ1LjA0NzNWNTUuMTE5M0MxLjUzMzM5IDU2LjY2ODkgMi43OTIzOSA1Ny45Mjc5IDQuMzQxOTQgNTcuOTI3OUg2Ny44MTUzVjQyLjIzODdaIiBmaWxsPSIjRUFFQUVFIi8+CjxwYXRoIGQ9Ik05Ni4xOTE0IDQyLjIzODdINzAuOTMzN1Y1Ny45Mjc5SDk2LjE5MTRDOTcuNzQwOSA1Ny45Mjc5IDk4Ljk5OTkgNTYuNjY4OSA5OC45OTk5IDU1LjExOTRWNDUuMDQ3M0M5OC45OTk5IDQzLjQ5NzcgOTcuNzQwOSA0Mi4yMzg3IDk2LjE5MTQgNDIuMjM4N1oiIGZpbGw9IiNFNkU2RTgiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNjhfMTAiPgo8cmVjdCB3aWR0aD0iOTcuNDY2NiIgaGVpZ2h0PSIxNS42ODkyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS41MzMzOSA0Mi4yMzg3KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"subscription form icon"})),React.createElement("span",null,"Subscription Form")),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){be(!0),o({formType:"rsvp_form"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI3Ml8xMikiPgo8cGF0aCBkPSJNODggMy4zMzMzNEgxMy42NjY3QzExLjY2NjcgMy4zMzMzNCAxMCA1IDEwIDdWMTMuMTY2N0MxMCAxNS4xNjY3IDExLjY2NjcgMTYuODMzMyAxMy42NjY3IDE2LjgzMzNIODhDOTAgMTYuODMzMyA5MS42NjY3IDE1LjE2NjcgOTEuNjY2NyAxMy4xNjY3VjdDOTEuNjY2NyA1IDkwIDMuMzMzMzQgODggMy4zMzMzNFoiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTg4IDIyLjgxNjdIMTMuNjY2N0MxMS42NDE2IDIyLjgxNjcgMTAgMjQuNDU4MyAxMCAyNi40ODMzVjMyLjY1QzEwIDM0LjY3NSAxMS42NDE2IDM2LjMxNjcgMTMuNjY2NyAzNi4zMTY3SDg4QzkwLjAyNSAzNi4zMTY3IDkxLjY2NjcgMzQuNjc1IDkxLjY2NjcgMzIuNjVWMjYuNDgzM0M5MS42NjY3IDI0LjQ1ODMgOTAuMDI1IDIyLjgxNjcgODggMjIuODE2N1oiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTQ0LjMzMzMgODcuMTgzM0gxMy42NjY3QzExLjY0MTYgODcuMTgzMyAxMCA4OC44MjUgMTAgOTAuODVWOTUuMjgzM0MxMCA5Ny4zMDg0IDExLjY0MTYgOTguOTUgMTMuNjY2NyA5OC45NUg0NC4zMzMzQzQ2LjM1ODQgOTguOTUgNDggOTcuMzA4NCA0OCA5NS4yODMzVjkwLjg1QzQ4IDg4LjgyNSA0Ni4zNTg0IDg3LjE4MzMgNDQuMzMzMyA4Ny4xODMzWiIgZmlsbD0iI0VBRUFFRSIvPgo8cGF0aCBkPSJNMTQuOTMzMyA1MS41QzE3LjY1NzkgNTEuNSAxOS44NjY3IDQ5LjI5MTIgMTkuODY2NyA0Ni41NjY2QzE5Ljg2NjcgNDMuODQyIDE3LjY1NzkgNDEuNjMzMyAxNC45MzMzIDQxLjYzMzNDMTIuMjA4NyA0MS42MzMzIDEwIDQzLjg0MiAxMCA0Ni41NjY2QzEwIDQ5LjI5MTIgMTIuMjA4NyA1MS41IDE0LjkzMzMgNTEuNVoiIGZpbGw9IiNFNkU2RTgiLz4KPHBhdGggZD0iTTE1LjE2NjcgNjYuNkMxMi4zMTY3IDY2LjYgMTAgNjQuMjgzNCAxMCA2MS40MzM0QzEwIDU4LjU4MzQgMTIuMzE2NyA1Ni4yNjY3IDE1LjE2NjcgNTYuMjY2N0MxOC4wMTY3IDU2LjI2NjcgMjAuMzMzMyA1OC41ODM0IDIwLjMzMzMgNjEuNDMzNEMyMC4zMzMzIDY0LjI4MzQgMTguMDE2NyA2Ni42IDE1LjE2NjcgNjYuNlpNMTUuMTY2NyA1Ny45MzM0QzEzLjIzMzMgNTcuOTMzNCAxMS42NjY3IDU5LjUgMTEuNjY2NyA2MS40MzM0QzExLjY2NjcgNjMuMzY2NyAxMy4yMzMzIDY0LjkzMzQgMTUuMTY2NyA2NC45MzM0QzE3LjEgNjQuOTMzNCAxOC42NjY3IDYzLjM2NjcgMTguNjY2NyA2MS40MzM0QzE4LjY2NjcgNTkuNSAxNy4xIDU3LjkzMzQgMTUuMTY2NyA1Ny45MzM0WiIgZmlsbD0iI0U2RTZFOCIvPgo8cGF0aCBkPSJNMTUuMTY2NyA4MS40NjY3QzEyLjMxNjcgODEuNDY2NyAxMCA3OS4xNSAxMCA3Ni4zQzEwIDczLjQ1IDEyLjMxNjcgNzEuMTMzMyAxNS4xNjY3IDcxLjEzMzNDMTguMDE2NyA3MS4xMzMzIDIwLjMzMzMgNzMuNDUgMjAuMzMzMyA3Ni4zQzIwLjMzMzMgNzkuMTUgMTguMDE2NyA4MS40NjY3IDE1LjE2NjcgODEuNDY2N1pNMTUuMTY2NyA3Mi44QzEzLjIzMzMgNzIuOCAxMS42NjY3IDc0LjM2NjcgMTEuNjY2NyA3Ni4zQzExLjY2NjcgNzguMjMzMyAxMy4yMzMzIDc5LjggMTUuMTY2NyA3OS44QzE3LjEgNzkuOCAxOC42NjY3IDc4LjIzMzMgMTguNjY2NyA3Ni4zQzE4LjY2NjcgNzQuMzY2NyAxNy4xIDcyLjggMTUuMTY2NyA3Mi44WiIgZmlsbD0iI0U2RTZFOCIvPgo8cGF0aCBkPSJNNTkuOTMzNCA0Ny42SDI2LjA2NjdDMjUuMDUwMSA0Ny42IDI0LjIzMzQgNDYuNzgzMyAyNC4yMzM0IDQ1Ljc2NjZDMjQuMjMzNCA0NC43NSAyNS4wNTAxIDQzLjkzMzMgMjYuMDY2NyA0My45MzMzSDU5LjkzMzRDNjAuOTUwMSA0My45MzMzIDYxLjc2NjcgNDQuNzUgNjEuNzY2NyA0NS43NjY2QzYxLjc2NjcgNDYuNzgzMyA2MC45NTAxIDQ3LjYgNTkuOTMzNCA0Ny42WiIgZmlsbD0iI0VBRUFFRSIvPgo8cGF0aCBkPSJNNTkuOTMzNCA2Mi42MTY3SDI2LjA2NjdDMjUuMDUwMSA2Mi42MTY3IDI0LjIzMzQgNjEuOCAyNC4yMzM0IDYwLjc4MzNDMjQuMjMzNCA1OS43NjY3IDI1LjA1MDEgNTguOTUgMjYuMDY2NyA1OC45NUg1OS45MzM0QzYwLjk1MDEgNTguOTUgNjEuNzY2NyA1OS43NjY3IDYxLjc2NjcgNjAuNzgzM0M2MS43NjY3IDYxLjggNjAuOTUwMSA2Mi42MTY3IDU5LjkzMzQgNjIuNjE2N1oiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTU5LjkzMzQgNzcuNjMzM0gyNi4wNjY3QzI1LjA1MDEgNzcuNjMzMyAyNC4yMzM0IDc2LjgxNjcgMjQuMjMzNCA3NS44QzI0LjIzMzQgNzQuNzgzMyAyNS4wNTAxIDczLjk2NjcgMjYuMDY2NyA3My45NjY3SDU5LjkzMzRDNjAuOTUwMSA3My45NjY3IDYxLjc2NjcgNzQuNzgzMyA2MS43NjY3IDc1LjhDNjEuNzY2NyA3Ni44MTY3IDYwLjk1MDEgNzcuNjMzMyA1OS45MzM0IDc3LjYzMzNaIiBmaWxsPSIjRUFFQUVFIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjcyXzEyIj4KPHJlY3Qgd2lkdGg9IjgxLjY2NjciIGhlaWdodD0iOTUiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCAzLjMzMzM0KSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"rsvp form icon"})),React.createElement("span",null,"RSVP Form")),(0,C.applyFilters)("eb_pro_form_type_selector","",n,o,be),React.createElement("div",{className:"eb-form-editor-formtype-item",onClick:function(){return o({formType:"blank"})}},React.createElement("div",{className:"eb-form-editor-formtype-icon"},React.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXBQYXRoPSJ1cmwoI2NsaXAwXzI2OF82KSI+CjxwYXRoIGQ9Ik05MS44MjYxIDc1Ljc1ODRINi45ODE0QzQuOTY5MzQgNzUuNzU4NCAzLjMzMzM3IDc3LjM5NDMgMy4zMzMzNyA3OS40MDY0Vjg1LjM4NjFDMy4zMzMzNyA4Ny4zOTgyIDQuOTY5MzQgODkuMDM0MiA2Ljk4MTQgODkuMDM0Mkg5MS44MjYxQzkzLjgzODIgODkuMDM0MiA5NS40NzQyIDg3LjM5ODIgOTUuNDc0MiA4NS4zODYxVjc5LjQwNjRDOTUuNDc0MiA3Ny4zOTQzIDkzLjgzODIgNzUuNzU4NCA5MS44MjYxIDc1Ljc1ODRaIiBmaWxsPSIjRTZFNkU4Ii8+CjxwYXRoIGQ9Ik05MS44MDczIDEwSDcuMDAwMkM0Ljk4ODE1IDEwIDMuMzMzMzcgMTEuNjU0OCAzLjMzMzM3IDEzLjY2NjhWNjcuNzI5QzMuMzMzMzcgNjkuNzQxMSA0Ljk4ODE1IDcxLjM5NTkgNy4wMDAyIDcxLjM5NTlIOTEuODA3M0M5My44MTk0IDcxLjM5NTkgOTUuNDc0MiA2OS43NDExIDk1LjQ3NDIgNjcuNzI5VjEzLjY2NjhDOTUuNDc0MiAxMS42NTQ4IDkzLjgxOTQgMTAgOTEuODA3MyAxMFoiIGZpbGw9IiNFQUVBRUUiLz4KPHBhdGggZD0iTTQ3LjUyMzQgMzguODI2OVYyNy41NDQzSDUxLjI4NDJWMzguODI2OUg2Mi41NjY4VjQyLjU4NzdINTEuMjg0MlY1My44NzAzSDQ3LjUyMzRWNDIuNTg3N0gzNi4yNDA4VjM4LjgyNjlINDcuNTIzNFoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjY4XzYiPgo8cmVjdCB3aWR0aD0iOTIuMTQwOCIgaGVpZ2h0PSI3OS4wNTMiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjMzMzM3IDEwKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",alt:"blank form icon"})),React.createElement("span",null,"Blank")))),S&&S.length>0&&React.createElement(React.Fragment,null,pe?React.createElement("div",{className:"eb-form-template-loading"},React.createElement("img",{src:Ke}),React.createElement("p",null,"Loading template...")):React.createElement(React.Fragment,null,ke&&0===ke.length&&React.createElement("div",{className:"eb-popup-before-content"},React.createElement("p",null,React.createElement("strong",null,"Add Form ","multistep_form"===S?"Step":"Field"))),React.createElement("form",{id:f,className:"eb-form form-layout-".concat(M," ").concat(J," ").concat(X?"eb-multistep-form":""),action:""},"multistep_form"===S&&X&&Q&&Y.length>0&&React.createElement(React.Fragment,null,(0,C.applyFilters)("eb_form_step_indicator_html","",n)),React.createElement("div",{className:"eb-form-fields"},React.createElement(h.InnerBlocks,{template:[],renderAppender:(0,_.select)("core/block-editor").getBlockOrder(r).length>0||"multistep_form"===S?void 0:h.InnerBlocks.ButtonBlockAppender,allowedBlocks:"multistep_form"===S?["essential-blocks/pro-form-multistep-wrapper"]:he}),"multistep_form"===S&&X&&React.createElement(v.Button,{className:"is-default eb-form-add-step-button",label:(0,i.__)("Add a New Step","essential-blocks"),icon:"plus-alt2",onClick:function(e){return function(e){e&&(e.preventDefault(),e.stopPropagation());var t=(0,_.select)("core/block-editor").getBlocks(r),a=(0,E.createBlock)("essential-blocks/pro-form-multistep-wrapper",{stepName:"Step ".concat(t.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name}).length+1),enableStepIcon:$,enableSubtitle:K,stepIcon:"fas fa-check"}),n=a.clientId,l=[].concat((0,b.A)(t),[a]);(0,_.dispatch)("core/block-editor").replaceInnerBlocks(r,l),(0,_.dispatch)("core/block-editor").selectBlock(r),setTimeout(function(){(0,_.dispatch)("core/block-editor").selectBlock(n);var e=l.filter(function(e){return"essential-blocks/pro-form-multistep-wrapper"===e.name});o({multistepdata:e}),setTimeout(function(){(0,_.dispatch)("core/block-editor").selectBlock(r)},100)},50)}(e)}},React.createElement("span",{className:"eb-form-add-step-button-label"},(0,i.__)("Add a New Step","essential-blocks")))),(null==ke?void 0:ke.length)>0&&"multistep_form"!==S&&React.createElement("div",{className:"eb-form-submit"},(0,C.applyFilters)("eb_form_step_buttons_html","",n),React.createElement("button",{"data-id":p,type:"button",className:"btn btn-primary eb-form-submit-button"},I&&"left"===A?React.createElement(H.EBDisplayIcon,{className:"eb-button-icon",icon:D}):"",React.createElement(H.DynamicInputValueHandler,{value:O,onChange:function(e){return o({buttonText:e})},readOnly:!0}),I&&"right"===A?React.createElement(H.EBDisplayIcon,{className:"eb-button-icon",icon:D}):"")))))))))})),rt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Form","apiVersion":2,"name":"essential-blocks/form","description":"Create Beautiful and Professional Contact, Subscription or any other custom Forms easily with a few clicks.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var lt;eb_conditional_localize&&"edit-widgets"!==eb_conditional_localize.editor_type&&(0,H.ebConditionalRegisterBlockType)(rt,{keywords:[(0,i.__)("EB Form","essential-blocks"),(0,i.__)("Form Block","essential-blocks"),(0,i.__)("Contact Form","essential-blocks"),(0,i.__)("Subscription Form","essential-blocks")],icon:function(e){return s.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),n||(n=s.createElement("path",{fill:"#6C3BFF",d:"M28.617 30H3.383C2.613 30 2 29.359 2 28.582v-5.164C2 22.63 2.625 22 3.383 22h25.234c.77 0 1.383.641 1.383 1.418v5.164C30 29.37 29.375 30 28.617 30M3.383 22.945a.474.474 0 0 0-.457.484v5.165c0 .27.2.483.457.483h25.234a.474.474 0 0 0 .457-.484V23.43c0-.27-.2-.484-.457-.484z"})),o||(o=s.createElement("path",{fill:"#6C3BFF",d:"M15.519 26.992a.7.7 0 0 1-.37-.099l-1-.655c-.198-.131-.198-.353 0-.484a.72.72 0 0 1 .728 0l.63.418 1.617-1.074a.72.72 0 0 1 .728 0c.197.132.197.353 0 .484l-1.988 1.32a.7.7 0 0 1-.37.098zM28.617 10H3.383A1.38 1.38 0 0 1 2 8.616V3.384C2 2.619 2.625 2 3.383 2h25.234C29.387 2 30 2.619 30 3.384v5.232C30 9.381 29.375 10 28.617 10M3.383 2.945a.46.46 0 0 0-.457.45v5.232c0 .248.2.45.457.45h25.234a.46.46 0 0 0 .457-.45V3.384c0-.248-.2-.45-.457-.45H3.383z"})),r||(r=s.createElement("path",{fill:"#6C3BFF",d:"M25.519 5H9.48A.494.494 0 0 1 9 4.5c0-.274.218-.5.481-.5H25.52c.263 0 .481.226.481.5s-.218.5-.481.5M19.512 8H9.488A.497.497 0 0 1 9 7.5c0-.274.22-.5.488-.5h10.024c.267 0 .488.226.488.5s-.22.5-.488.5M25.519 15H9.48A.494.494 0 0 1 9 14.5c0-.274.218-.5.481-.5H25.52c.263 0 .481.226.481.5s-.218.5-.481.5M19.512 18H9.488A.497.497 0 0 1 9 17.5c0-.274.22-.5.488-.5h10.024c.267 0 .488.226.488.5s-.22.5-.488.5"})),l||(l=s.createElement("path",{fill:"#6C3BFF",d:"M28.617 20H3.383A1.38 1.38 0 0 1 2 18.616v-5.232C2 12.619 2.625 12 3.383 12h25.234c.77 0 1.383.619 1.383 1.384v5.232c0 .765-.625 1.384-1.383 1.384M3.383 12.934a.46.46 0 0 0-.457.45v5.232c0 .248.2.45.457.45h25.234a.46.46 0 0 0 .457-.45v-5.232c0-.248-.2-.45-.457-.45zM6.801 4H5.2C4.53 4 4 4.541 4 5.199V6.8C4 7.47 4.541 8 5.199 8H6.8C7.47 8 8 7.459 8 6.801V5.2C8 4.53 7.459 4 6.801 4m.403 2.812c0 .222-.18.403-.403.403H5.2a.403.403 0 0 1-.403-.403V5.21c0-.223.18-.404.403-.404H6.8c.223 0 .403.18.403.404z"})),c||(c=s.createElement("path",{fill:"#6C3BFF",d:"M6.801 14H5.2C4.53 14 4 14.541 4 15.199V16.8C4 17.47 4.541 18 5.199 18H6.8C7.47 18 8 17.459 8 16.801V15.2C8 14.53 7.459 14 6.801 14m.403 2.812c0 .223-.18.403-.403.403H5.2a.403.403 0 0 1-.403-.403v-1.603c0-.222.18-.403.403-.403H6.8c.223 0 .403.18.403.404z"})))},attributes:Xe,edit:ot,save:function(e){var t=e.attributes;return t.blockId,t.classHook,React.createElement(React.Fragment,null,React.createElement(h.InnerBlocks.Content,null))},example:{attributes:{cover:"".concat(null===(lt=EssentialBlocksLocalize)||void 0===lt?void 0:lt.image_url,"/block-preview/form-block.jpeg")}}})},3889:(e,t,a)=>{var n={};a.r(n),a.d(n,{META_LABEL:()=>x,META_VALUE:()=>S});var o=a(7723),r=a(8168),l=a(4467),c=a(9394),i=a(3453),s=a(1609),p=a(8468),b=a(7143),d=a(9491),m=a(3582),u=a(8443),g=a(6427),f="wrpMargin",y="wrpPadding",h="wrpBorderShadow",v="wrpBG",w="metaAlign",k="metaGap",R="authorPictureBorder",_="authorPictureSize",C=[{label:"Inline",value:"inline"},{label:"Stacked",value:"stacked"}],E=[{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],x="meta_label",S="meta_value",B=a(5694);function T(e){var t=e.attributes,a=e.setAttributes,n=t.resOption,r=t.enableContents,l=t.metaDisplay,i=t.showAuthor,s=t.showDate,p=t.showProductSku,b=t.authorLabel,d=t.dateLabel,m=t.productSkuLabel,u=t.type,T=t.metaLabelColor,N=t.metaValueColor,P=t.authorIcon,O=t.dateIcon,I=t.skuIcon,D=t.showMetaIcon,A=t.metaIconColor,M=t.metaIconSize,L=t.showAuthorPicture,F=t.authorPictureLink,j=t.authorPictureBorderRadius,H=function(e,t){var n=(0,c.A)(r);if(t)n.includes(e)||n.push(e);else{var o=n.indexOf(e);-1!==o&&n.splice(o,1)}a({enableContents:n})};return React.createElement(B.InspectorPanel,{advancedControlProps:{marginPrefix:f,paddingPrefix:y,backgroundPrefix:v,borderPrefix:h,hasMargin:!0}},React.createElement(B.InspectorPanel.General,null,React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(B.ResponsiveAlignControl,{baseLabel:(0,o.__)("Alignment","essential-blocks"),controlName:w,options:E,resOption:n}),React.createElement(g.BaseControl,{label:(0,o.__)("Meta Display","essential-blocks")},React.createElement(g.ButtonGroup,null,C.map(function(e,t){return React.createElement(g.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({metaDisplay:e.value})}},e.label)}))),React.createElement(g.ToggleControl,{label:(0,o.__)("Author","essential-blocks"),checked:i,onChange:function(){a({showAuthor:!i}),H("author",!i)}}),React.createElement(g.ToggleControl,{label:(0,o.__)("Published Date","essential-blocks"),checked:s,onChange:function(){a({showDate:!s}),H("date",!s)}}),"product"===u&&React.createElement(g.ToggleControl,{label:(0,o.__)("Product SKU","essential-blocks"),checked:p,onChange:function(){a({showProductSku:!p}),H("product_sku",!p)}})),React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("Meta Content","essential-blocks"),initialOpen:!1},React.createElement(g.ToggleControl,{label:(0,o.__)("Show Meta Icon","essential-blocks"),checked:D,onChange:function(){a({showMetaIcon:!D})}}),i&&React.createElement(React.Fragment,null,React.createElement(B.EBTextControl,{label:(0,o.__)("Author Label"),value:b,onChange:function(e){return a({authorLabel:e})}}),1==D&&React.createElement(B.EBIconPicker,{value:P,attributeName:"authorIcon"}),React.createElement(g.ToggleControl,{label:(0,o.__)("Show Author Picture","essential-blocks"),checked:L,onChange:function(){a({showAuthorPicture:!L})}}),L&&React.createElement(g.ToggleControl,{label:(0,o.__)("Link Author Picture","essential-blocks"),checked:F,onChange:function(){a({authorPictureLink:!F})}})),s&&React.createElement(React.Fragment,null,React.createElement(B.EBTextControl,{label:(0,o.__)("Date Label"),value:d,onChange:function(e){return a({dateLabel:e})}}),1==D&&React.createElement(B.EBIconPicker,{value:O,attributeName:"dateIcon"})),"product"===u&&p&&React.createElement(React.Fragment,null,React.createElement(g.TextControl,{label:(0,o.__)("Product SKU Label"),value:m,onChange:function(e){return a({productSkuLabel:e})}}),1==D&&React.createElement(B.EBIconPicker,{value:I,attributeName:"skuIcon"}))),React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("Sortable Content","essential-blocks-pro"),initialOpen:!1},React.createElement(B.SortControl,{items:r,labelKey:"",onSortEnd:function(e){return a({enableContents:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1}))),React.createElement(B.InspectorPanel.Style,null,React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(B.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,o.__)("Label Gap","essential-blocks"),controlName:k,min:0,max:100,step:1})),React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("Meta Label","essential-blocks"),initialOpen:!0},React.createElement(B.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:x}),React.createElement(B.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:T,attributeName:"metaLabelColor"}),1==D&&React.createElement(React.Fragment,null,React.createElement(B.ColorControl,{label:(0,o.__)("Icon Color","essential-blocks"),color:A,attributeName:"metaIconColor"}),React.createElement(g.RangeControl,{label:(0,o.__)("Icon Size","essential-blocks"),value:M,onChange:function(e){return a({metaIconSize:e})},min:0,max:300,step:1,allowReset:!0}))),React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("Meta Value","essential-blocks"),initialOpen:!0},React.createElement(B.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(B.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:N,attributeName:"metaValueColor"})),L&&React.createElement(B.InspectorPanel.PanelBody,{title:(0,o.__)("Author Picture","essential-blocks"),initialOpen:!1},React.createElement(B.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,o.__)("Size","essential-blocks"),controlName:_,min:20,max:200,step:1}),React.createElement(g.RangeControl,{label:(0,o.__)("Border Radius","essential-blocks"),value:j,onChange:function(e){return a({authorPictureBorderRadius:e})},min:0,max:100,step:1,allowReset:!0}),React.createElement(B.BorderShadowControl,{controlName:R,noShadow:!0}))))}function N(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isContentEnabled,r=t.blockId,l=t.metaLabelColor,c=t.metaValueColor,i=t.enableContents,s=t.metaIconColor,p=t.metaIconSize,b=t.showAuthorPicture,d=t.authorPictureBorderRadius,m=(0,B.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),u=m.dimensionStylesDesktop,g=m.dimensionStylesTab,C=m.dimensionStylesMobile,E=(0,B.generateDimensionsControlStyles)({controlName:y,styleFor:"padding",attributes:t}),T=E.dimensionStylesDesktop,N=E.dimensionStylesTab,P=E.dimensionStylesMobile,O=(0,B.generateBorderShadowStyles)({controlName:h,attributes:t}),I=O.styesDesktop,D=O.styesTab,A=O.styesMobile,M=O.stylesHoverDesktop,L=O.stylesHoverTab,F=O.stylesHoverMobile,j=O.transitionStyle,H=(0,B.generateBackgroundControlStyles)({attributes:t,controlName:v,noOverlay:!0}),z=H.backgroundStylesDesktop,U=H.hoverBackgroundStylesDesktop,V=H.backgroundStylesTab,G=H.hoverBackgroundStylesTab,q=H.backgroundStylesMobile,W=H.hoverBackgroundStylesMobile,Z=H.bgTransitionStyle,J=(0,B.generateTypographyStyles)({attributes:t,prefixConstant:x,defaultFontSize:18}),Y=J.typoStylesDesktop,Q=J.typoStylesTab,X=J.typoStylesMobile,$=(0,B.generateTypographyStyles)({attributes:t,prefixConstant:S,defaultFontSize:18}),K=$.typoStylesDesktop,ee=$.typoStylesTab,te=$.typoStylesMobile,ae=(0,B.generateResponsiveAlignStyles)({controlName:w,property:"justify-content",attributes:t}),ne=ae.alignStylesDesktop,oe=ae.alignStylesTab,re=ae.alignStylesMobile,le=(0,B.generateResponsiveAlignStyles)({controlName:w,property:"align-items",attributes:t}),ce=le.alignStylesDesktop,ie=le.alignStylesTab,se=le.alignStylesMobile,pe=(0,B.generateResponsiveRangeStyles)({controlName:k,property:"margin-right",attributes:t,noUnits:!0}),be=pe.rangeStylesDesktop,de=pe.rangeStylesTab,me=pe.rangeStylesMobile,ue=(0,B.generateResponsiveRangeStyles)({controlName:k,property:"margin-bottom",attributes:t,noUnits:!0}),ge=ue.rangeStylesDesktop,fe=ue.rangeStylesTab,ye=ue.rangeStylesMobile,he=(0,B.generateBorderShadowStyles)({controlName:R,attributes:t}),ve=he.stylesDesktop,we=he.stylesTab,ke=he.stylesMobile,Re=he.stylesHoverDesktop,_e=he.stylesHoverTab,Ce=he.stylesHoverMobile,Ee=he.transitionStyle,xe=(0,B.generateResponsiveRangeStyles)({controlName:_,property:"width",attributes:t}),Se=xe.rangeStylesDesktop,Be=xe.rangeStylesTab,Te=xe.rangeStylesMobile,Ne=(0,B.generateResponsiveRangeStyles)({controlName:_,property:"height",attributes:t}),Pe=Ne.rangeStylesDesktop,Oe=Ne.rangeStylesTab,Ie=Ne.rangeStylesMobile,De="\n\t\t.eb-post-meta-wrapper.".concat(r,"{\n\t\t\t").concat(u,"\n\t\t\t").concat(T,"\n\t\t\t").concat(z,"\n\t\t\t").concat(I,"\n\t\t\ttransition: ").concat(Z,", ").concat(j,";\n\t\t}\n\t\t.eb-post-meta-wrapper.").concat(r,":hover {\n\t\t\t").concat(U,"\n\t\t\t").concat(M,"\n\t\t}\n\t"),Ae="\n\t\t.eb-post-meta-wrapper.".concat(r,"{\n\t\t\t").concat(g,"\n\t\t\t").concat(N,"\n\t\t\t").concat(V,"\n\t\t\t").concat(D,"\n\t\t}\n\t\t.eb-post-meta-wrapper.").concat(r,":hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(L,"\n\t\t}\n\t"),Me="\n\t\t.eb-post-meta-wrapper.".concat(r," {\n\t\t\t").concat(C,"\n\t\t\t").concat(P,"\n\t\t\t").concat(q,"\n\t\t\t").concat(A,"\n\t\t}\n\t\t.eb-post-meta-wrapper.").concat(r,":hover {\n\t\t\t").concat(W,"\n\t\t\t").concat(F,"\n\t\t}\n\t"),Le=i.map(function(e){return".eb-post-meta-wrapper.".concat(r," .eb-post-metadata-").concat(e," {\n ").concat(o(e)&&"order: ".concat(i.indexOf(e)+1),";\n }")}),Fe="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-label {\n color: ").concat(l,";\n ").concat(Y,"\n }\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata .eb-post-metadata-icon {\n color: ").concat(s,";\n font-size: ").concat(p,"px;\n margin-right: 5px;\n }\n "),je="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-label {\n ").concat(Q,"\n }\n "),He="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-label {\n ").concat(X,"\n }\n "),ze="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-value {\n color: ").concat(c,";\n ").concat(K,"\n }\n "),Ue="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-value {\n ").concat(ee,"\n }\n "),Ve="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata .eb-post-metadata-value {\n ").concat(te,"\n }\n "),Ge="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata.eb-post-meta-inline {\n ").concat(ne,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked {\n ").concat(ce,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-inline > div {\n ").concat(be.replace(/(\d+);/,"$1px;"),"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked > div {\n ").concat(ge.replace(/(\d+);/,"$1px;"),"\n }\n "),qe=b?"\n .eb-post-meta-wrapper.".concat(r," .eb-author-avatar {\n ").concat(Se.replace(/(\d+);/,"$1px;"),"\n ").concat(Pe.replace(/(\d+);/,"$1px;"),"\n border-radius: ").concat(d,"%;\n object-fit: cover;\n ").concat(ve,"\n transition: ").concat(Ee,";\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-avatar:hover {\n ").concat(Re,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-stacked-layout {\n display: flex;\n align-items: center;\n gap: 10px;\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-stacked-layout .eb-author-picture {\n flex-shrink: 0;\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-stacked-layout .eb-author-meta-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 2px;\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-stacked-layout .eb-author-info {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-inline-layout {\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-inline-layout .eb-author-picture {\n display: inline-flex;\n align-items: center;\n }\n "):"",We="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata.eb-post-meta-inline {\n ").concat(oe,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked {\n ").concat(ie,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-inline > div {\n ").concat(de.replace(/(\d+);/,"$1px;"),"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked > div {\n ").concat(fe.replace(/(\d+);/,"$1px;"),"\n }\n "),Ze=b?"\n .eb-post-meta-wrapper.".concat(r," .eb-author-avatar {\n ").concat(Be.replace(/(\d+);/,"$1px;"),"\n ").concat(Oe.replace(/(\d+);/,"$1px;"),"\n ").concat(we,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-avatar:hover {\n ").concat(_e,"\n }\n "):"",Je="\n .eb-post-meta-wrapper.".concat(r," .eb-post-metadata.eb-post-meta-inline {\n ").concat(re,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked {\n ").concat(se,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-inline > div {\n ").concat(me.replace(/(\d+);/,"$1px;"),"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-post-metadata.eb-post-meta-stacked > div {\n ").concat(ye.replace(/(\d+);/,"$1px;"),"\n }\n "),Ye=b?"\n .eb-post-meta-wrapper.".concat(r," .eb-author-avatar {\n ").concat(Te.replace(/(\d+);/,"$1px;"),"\n ").concat(Ie.replace(/(\d+);/,"$1px;"),"\n ").concat(ke,"\n }\n\n .eb-post-meta-wrapper.").concat(r," .eb-author-avatar:hover {\n ").concat(Ce,"\n }\n "):"",Qe=(0,B.softMinifyCssStrings)("\n ".concat(Le.join("\n"),"\n ").concat(De,"\n ").concat(Fe,"\n ").concat(ze,"\n ").concat(Ge,"\n ").concat(qe,"\n\t")),Xe=(0,B.softMinifyCssStrings)("\n\t\t".concat(Ae,"\n ").concat(je,"\n ").concat(Ue,"\n ").concat(We,"\n ").concat(Ze,"\n\t")),$e=(0,B.softMinifyCssStrings)("\n\t\t".concat(Me,"\n ").concat(He,"\n ").concat(Ve,"\n ").concat(Je,"\n ").concat(Ye,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(B.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Qe,tabAllStyles:Xe,mobileAllStyles:$e,blockName:n}))}function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=O(O(O(O(O(O(O(O(O({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},metaLabelColor:{type:"string",default:""},metaValueColor:{type:"string",default:""},metaDisplay:{type:"string",default:"inline"},showAuthor:{type:"boolean",default:!0},showProductSku:{type:"boolean",default:!0},authorLabel:{type:"string",default:"Author: "},showDate:{type:"boolean",default:!0},dateLabel:{type:"string",default:"Published Date: "},productSkuLabel:{type:"string",default:"SKU: "},contentLists:{type:"array",default:["author","date","product_sku"]},enableContents:{type:"array",default:["author","date","product_sku"]},type:{type:"string",default:null},authorIcon:{type:"string",default:"far fa-circle-user"},dateIcon:{type:"string",default:"far fa-calendar-days"},skuIcon:{type:"string",default:"fas fa-barcode"},showMetaIcon:{type:"boolean",default:!0},metaIconColor:{type:"string",default:""},metaIconSize:{type:"number",default:20},hasLoopBuilderDefaults:{type:"boolean",default:!1},showAuthorPicture:{type:"boolean",default:!1},authorPictureLink:{type:"boolean",default:!0},authorPictureBorderRadius:{type:"number",default:50}},(0,B.generateTypographyAttributes)(Object.values(n))),(0,B.generateDimensionsAttributes)(f)),(0,B.generateDimensionsAttributes)(y)),(0,B.generateBorderShadowAttributes)(h,{})),(0,B.generateBackgroundAttributes)(v,{noOverlay:!0})),(0,B.generateResponsiveAlignAttributes)(w,{defaultAlign:"flex-start",defaultTabAlign:"flex-start",defaultMobileAlign:"flext-start"})),(0,B.generateResponsiveRangeAttributes)(k,{defaultRange:10})),(0,B.generateBorderShadowAttributes)(R,{noShadow:!0})),(0,B.generateResponsiveRangeAttributes)(_,{defaultRange:40}));function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=(0,p.memo)((0,d.compose)([(0,b.withSelect)(function(e){return{selectPostType:e("core/editor")?e("core/editor").getCurrentPostType():""}}),(0,B.withBlockContext)(I)])(function(e){var t,a=e.attributes,n=e.setAttributes,l=e.isSelected,s=e.selectPostType,d=e.context,g=a.blockId,f=a.type,y=a.enableContents,h=a.authorLabel,v=a.dateLabel,w=a.productSkuLabel,k=a.metaDisplay,R=a.classHook,_=a.authorIcon,C=a.dateIcon,E=a.skuIcon,x=a.showMetaIcon,S=a.showAuthor,P=a.showAuthorPicture,O=a.authorPictureLink,I=null==d?void 0:d["essential-blocks/postId"],D=null==d?void 0:d["essential-blocks/postType"],M=Boolean(d&&(!0===d["essential-blocks/isLoopBuilder"]||d.hasOwnProperty("essential-blocks/postId")&&d.hasOwnProperty("essential-blocks/postType"))),L=(0,b.select)("core/editor").getCurrentPostType(),F=function(e){return y.includes(e)};(0,p.useEffect)(function(){M&&!a.hasLoopBuilderDefaults&&n({showAuthor:!1,showMetaIcon:!1,dateLabel:"",hasLoopBuilderDefaults:!0})},[M]);var j=null===(t=(0,b.select)("core/editor"))||void 0===t?void 0:t.getCurrentPostId(),H=M?D||"post":L,z=M?I||0:j,U=(0,m.useEntityProp)("postType",H,"author",z),V=(0,i.A)(U,1)[0],G=(0,m.useEntityProp)("root","user","name",V),q=(0,i.A)(G,1)[0],W=(0,m.useEntityProp)("root","user","avatar_urls",V),Z=(0,i.A)(W,1)[0],J=(0,m.useEntityProp)("postType",H,"date",z),Y=(0,i.A)(J,1)[0];(0,p.useEffect)(function(){if("templately_library"===L){var e="post",t=(0,b.select)("core/editor").getEditedPostAttribute("templately_type");t&&(["product_archive","product_single"].includes(t)&&(e="product"),["course_archive","course_single"].includes(t)&&(e="sfwd-courses")),n({type:e})}else if("wp_template"===L){var a=(0,b.select)("core/editor").getEditedPostAttribute("slug").split("-"),o="post";a.length>1&&(o=a[1]),1===a.length&&"page"===a[0]&&(o="page"),n({type:o})}else n({type:s});if(null!==f&&"product"!==f){var r=(0,c.A)(y),l=r.indexOf("product_sku");-1!==l&&r.splice(l,1),n({enableContents:r})}},[]),(0,p.useEffect)(function(){M&&!a.hasLoopBuilderDefaults&&n({showAuthor:!1,showMetaIcon:!1,authorLabel:"",dateLabel:"",showAuthorPicture:!0,hasLoopBuilderDefaults:!0})},[M,a.hasLoopBuilderDefaults]);var Q=A(A({},e),{},{blockPrefix:"eb-post-meta",style:React.createElement(N,(0,r.A)({},e,{isContentEnabled:F}))}),X=function(){var e;if(Y){var t,a=(null===(t=(0,b.select)("core").getEntityRecord("root","site"))||void 0===t?void 0:t.date_format)||"F j, Y";return(0,u.dateI18n)(a,Y)}var n=(null===(e=(0,b.select)("core").getEntityRecord("root","site"))||void 0===e?void 0:e.date_format)||"F j, Y";return(0,u.dateI18n)(n,new Date)},$=function(){return q||(0,o.__)("Author","essential-blocks")},K=function(){return Z&&Z[96]?Z[96]:"https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y&s=96"},ee=function(){return V?"#author-".concat(V):"#"},te=function(){return!(M&&!a.hasLoopBuilderDefaults)&&S},ae=function(){return!(M&&!a.hasLoopBuilderDefaults)&&x},ne=function(){return M&&!a.hasLoopBuilderDefaults?"":v},oe=function(e){switch(e){case"author":return F("author")&&te()?"stacked"===k?React.createElement("div",{key:"author",className:"eb-author-info"},ae()&&_&&React.createElement(B.EBDisplayIcon,{icon:_,className:"eb-post-metadata-icon"}),React.createElement("span",{className:"eb-post-metadata-label"},h," "),React.createElement("span",{className:"eb-post-metadata-value"},$())):React.createElement("div",{key:"author",className:"eb-post-metadata-item eb-post-metadata-author eb-author-inline-layout"},ae()&&_&&React.createElement(B.EBDisplayIcon,{icon:_,className:"eb-post-metadata-icon"}),P&&React.createElement("div",{className:"eb-author-picture"},O?React.createElement("a",{href:ee()},React.createElement("img",{src:K(),alt:$(),className:"eb-author-avatar"})):React.createElement("img",{src:K(),alt:$(),className:"eb-author-avatar"})),React.createElement("span",{className:"eb-post-metadata-label"},h," "),React.createElement("span",{className:"eb-post-metadata-value"},$())):null;case"date":return F("date")?"stacked"===k?React.createElement("div",{key:"date",className:"eb-date-info"},ae()&&C&&React.createElement(B.EBDisplayIcon,{icon:C,className:"eb-post-metadata-icon"}),React.createElement("span",{className:"eb-post-metadata-label"},ne()," "),React.createElement("span",{className:"eb-post-metadata-value"},X())):React.createElement("div",{key:"date",className:"eb-post-metadata-item eb-post-metadata-date"},ae()&&C&&React.createElement(B.EBDisplayIcon,{icon:C,className:"eb-post-metadata-icon"}),React.createElement("span",{className:"eb-post-metadata-label"},ne()," "),React.createElement("span",{className:"eb-post-metadata-value"},X())):null;case"product_sku":return F("product_sku")&&"product"===f?React.createElement("div",{key:"product_sku",className:"eb-post-metadata-item eb-post-metadata-product_sku"},1==x&&E&&React.createElement(B.EBDisplayIcon,{icon:E,className:"eb-post-metadata-icon"}),React.createElement("span",{className:"eb-post-metadata-label"},w," "),React.createElement("span",{className:"eb-post-metadata-value"},(0,o.__)("Product SKU","essential-blocks"))):null;default:return null}},re=F("author")&&te(),le=F("date"),ce="stacked"===k&&(re||le);return React.createElement(React.Fragment,null,l&&React.createElement(T,e),React.createElement(B.BlockProps.Edit,Q,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(g," ").concat(R)},React.createElement("div",{className:"eb-post-meta-wrapper ".concat(g),"data-id":g},React.createElement("div",{className:"eb-post-metadata eb-post-meta-".concat(k)},ce?React.createElement("div",{className:"eb-post-metadata-item eb-post-metadata-author eb-author-stacked-layout"},re&&P&&React.createElement("div",{className:"eb-author-picture"},O?React.createElement("a",{href:ee()},React.createElement("img",{src:K(),alt:$(),className:"eb-author-avatar"})):React.createElement("img",{src:K(),alt:$(),className:"eb-author-avatar"})),React.createElement("div",{className:"eb-author-meta-content"},y.map(function(e){return oe(e)}).filter(Boolean))):y.map(function(e){return oe(e)}).filter(Boolean))))))})),L=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Post Meta","name":"essential-blocks/post-meta","description":"Attractively showcase your current post metadata like author, date, excerpt & more.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"usesContext":["postId","postType","essential-blocks/postId","essential-blocks/postType","essential-blocks/queryId","essential-blocks/isLoopBuilder","essential-blocks/query"],"editorScript":"essential-blocks-editor-script"}');var F,j,H,z,U,V,G,q,W,Z,J;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Y.apply(null,arguments)}(0,B.ebConditionalRegisterBlockType)(L,{keywords:[(0,o.__)("meta","essential-blocks"),(0,o.__)("post meta","essential-blocks"),(0,o.__)("product meta","essential-blocks")],icon:function(e){return s.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),F||(F=s.createElement("path",{fill:"#6C3BFF",d:"M2 50.71C2 53.132 3.892 55 6.345 55h47.31C56.108 55 58 53.132 58 50.71V8.29C58 5.868 56.108 4 53.655 4H6.345C3.892 4 2 5.868 2 8.29zM4.313 8.29c0-1.107.981-2.283 2.313-2.283h47.239c1.121 0 2.313.969 2.313 2.283v42.42c0 1.107-.981 2.283-2.313 2.283H6.345c-1.121 0-2.312-.969-2.312-2.283z"})),j||(j=s.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeWidth:2,d:"M50 47h-6"})),H||(H=s.createElement("g",{clipPath:"url(#icon_svg__a)"},s.createElement("path",{fill:"#6C3BFF",d:"M38 44c-1.654 0-3 1.346-3 3s1.346 3 3 3 3-1.346 3-3-1.346-3-3-3m1.427 4.552a.25.25 0 0 1-.354 0l-1.25-1.25a.25.25 0 0 1-.073-.177V45.5a.25.25 0 1 1 .5 0v1.522l1.177 1.176a.25.25 0 0 1 0 .354"}))),z||(z=s.createElement("path",{fill:"#6C3BFF",d:"M12 44a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 .897a.992.992 0 1 1 0 1.985.992.992 0 0 1 0-1.985m0 4.319c-.547 0-1.048-.2-1.434-.53a.42.42 0 0 1-.149-.32 1 1 0 0 1 1.006-1.001h1.155a1 1 0 0 1 1.004 1 .42.42 0 0 1-.149.322c-.386.33-.887.529-1.434.529"})),U||(U=s.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeWidth:2,d:"M28 47H18"})),V||(V=s.createElement("path",{fill:"#6C3BFF",d:"M47.98 11H12.02c-1.197 0-2.02.83-2.02 2.038v18.924C10 33.17 10.823 34 12.02 34H47.98C49.177 34 50 33.17 50 31.962V13.038C50 11.83 49.177 11 47.98 11m0 20.962H12.02V13.038h35.962z"})),G||(G=s.createElement("path",{fill:"#6C3BFF",d:"M34 17a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 4.571a1.572 1.572 0 1 1 0-3.143 1.572 1.572 0 0 1 0 3.143"})),q||(q=s.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m11.5 32.5 14-9.5 10 9.5 13-13"})),W||(W=s.createElement("path",{fill:"#6C3BFF",d:"M56.49 38.2H3.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H56.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1z"})),Z||(Z=s.createElement("defs",null,s.createElement("clipPath",{id:"icon_svg__a"},s.createElement("path",{fill:"#fff",d:"M35 44h6v6h-6z"})))))},attributes:I,edit:M,save:function(){return null},example:{attributes:{cover:"".concat(null===(J=EssentialBlocksLocalize)||void 0===J?void 0:J.image_url,"/block-preview/post-grid.jpeg")}}})},4144:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(9394),l=a(4467),c=a(1609),i=a(8468),s=a(4715),p=a(6427),b=a(7143),d=a(4997),m=a(5694),u=a(3453),g=[{label:(0,n.__)("Accordion","essential-blocks"),value:"accordion"},{label:(0,n.__)("Toggle","essential-blocks"),value:"toggle"},{label:(0,n.__)("Accordion With Image","essential-blocks"),value:"image"},{label:(0,n.__)("Horizontal Accordion","essential-blocks"),value:"horizontal"}],f=((0,n.__)("Material","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("Dark","essential-blocks"),(0,n.__)("Royal","essential-blocks"),(0,n.__)("Custom","essential-blocks"),(0,n.__)("Fill","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("Image","essential-blocks"),(0,n.__)("Fill","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("Border Box","essential-blocks"),(0,n.__)("Padding Box","essential-blocks"),(0,n.__)("Content Box","essential-blocks"),(0,n.__)("Material","essential-blocks"),(0,n.__)("Ghost","essential-blocks"),(0,n.__)("Rounded","essential-blocks"),(0,n.__)("Custom","essential-blocks"),(0,n.__)("Auto","essential-blocks"),(0,n.__)("Cover","essential-blocks"),(0,n.__)("Container","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("No Repeat","essential-blocks"),(0,n.__)("Repeat","essential-blocks"),(0,n.__)("Repeat X","essential-blocks"),(0,n.__)("Repeat Y","essential-blocks"),(0,n.__)("Space","essential-blocks"),(0,n.__)("Round","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Scroll","essential-blocks"),(0,n.__)("Fixed","essential-blocks"),(0,n.__)("Local","essential-blocks"),(0,n.__)("Dashed","essential-blocks"),(0,n.__)("Solid","essential-blocks"),(0,n.__)("Dotted","essential-blocks"),(0,n.__)("Double","essential-blocks"),(0,n.__)("Groove","essential-blocks"),(0,n.__)("Inset","essential-blocks"),(0,n.__)("Outset","essential-blocks"),(0,n.__)("Ridge","essential-blocks"),(0,n.__)("H1","essential-blocks"),(0,n.__)("H2","essential-blocks"),(0,n.__)("H3","essential-blocks"),(0,n.__)("H4","essential-blocks"),(0,n.__)("H5","essential-blocks"),(0,n.__)("H6","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}]),y=((0,n.__)("Liner","essential-blocks"),(0,n.__)("Ease","essential-blocks"),(0,n.__)("Ease In","essential-blocks"),(0,n.__)("Ease Out","essential-blocks"),(0,n.__)("Ease In Out","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}]),h=[{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignright"})),value:"right"}],v=((0,n.__)("Fill","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Lighter","essential-blocks"),(0,n.__)("Normal","essential-blocks"),(0,n.__)("Bold","essential-blocks"),(0,n.__)("Bolder","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"},{label:(0,n.__)("P","essential-blocks"),value:"p"}]),w=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],k=[{label:(0,n.__)("image","essential-blocks"),value:"image"},{label:(0,n.__)("icon","essential-blocks"),value:"icon"},{label:(0,n.__)("Text","essential-blocks"),value:"text"},{label:(0,n.__)("none","essential-blocks"),value:"none"}],R=[{label:(0,n.__)("Bottom To Top","essential-blocks"),value:"bottom-top"},{label:(0,n.__)("Top To Bottom","essential-blocks"),value:"top-bottom"}],_=lodash.times,C="typTl_",E="typCn_",x="titlePrefixText_",S="titleSuffixText_",B="icnZ_",T="acGp_",N="titlePrefixIconSize_",P="titleSuffixIconSize_",O="titlePrefixGap_",I="titlePrefixImgWidth_",D="titleSuffixImgWidth_",A="imageWidth",M="imageHeight",L="horizontalHeight",F="wrpMrg_",j="wrpPad_",H="icnMrg_",z="icnPad_",U="tabMrg_",V="tabPad_",G="conMrg_",q="conPad_",W="imgContainerPadding",Z="imgContainerMargin",J="accordionMargin",Y="accordionPadding",Q="titlePrefixPadding",X="titleSuffixPadding",$="titlePrefixMargin",K="titleSuffixMargin",ee="WrpBg_",te="icnBg_",ae="tabBg_",ne="conBg_",oe="accordionBackground",re="accordionExpandedBackground",le="titlePrefixBG",ce="titleSuffixBG",ie="wrpBdSd_",se="icnBdSd_",pe="tabBdSd_",be="conBdSd_",de="accordionBorder",me="accordionExpandedBorder",ue="titlePrefixBorder",ge="titleSuffixBorder";function fe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}lodash.times;const ye=function(e){var t=e.attributes,a=e.setAttributes,o=e.clientId,c=e.addAccordion,s=(t.resOption,t.accordionType),d=t.displayIcon,ye=t.transitionDuration,he=t.tabIcon,ve=t.expandedIcon,we=t.titleColor,ke=t.contentAlign,Re=t.contentColor,_e=t.iconColor,Ce=t.iconPosition,Ee=t.titleAlignment,xe=t.hoverTitleColor,Se=t.activeBgColor,Be=t.activeTitleColor,Te=t.activeIconColor,Ne=t.tagName,Pe=t.faqSchema,Oe=t.titlePrefixColor,Ie=t.titleSuffixColor,De=t.accordionLists,Ae=t.imageContainerWidth,Me=t.titleOrientation,Le=t.activeAccordionIndex,Fe=(0,i.useState)(null),je=(0,u.A)(Fe,2),He=je[0],ze=je[1];(0,i.useEffect)(function(){if(Le&&De.length>0){var e=De.findIndex(function(e){return e.id===Le});ze(-1!==e?e+1:null)}else ze(null)},[Le,De]);var Ue,Ve,Ge=(0,b.useSelect)(function(e){return e("core/block-editor").getBlocksByClientId(o)[0]}).innerBlocks,qe=(0,b.dispatch)("core/block-editor").replaceInnerBlocks,We=(0,i.useCallback)(function(e){var t=e.map(function(e){return e.id.toString()}),n=Ge.sort(function(e,a){return t.indexOf(e.attributes.itemId.toString())-t.indexOf(a.attributes.itemId.toString())});qe(o,n),a({accordionLists:e})},[Ge,qe]);return React.createElement(m.InspectorPanel,{advancedControlProps:{marginPrefix:F,paddingPrefix:j,backgroundPrefix:ee,borderPrefix:ie,hasMargin:!0}},React.createElement(m.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(p.SelectControl,{label:(0,n.__)("Accordion Types","essential-blocks"),value:s,options:g,onChange:function(e){return a({accordionType:e})}}),React.createElement(p.BaseControl,{label:(0,n.__)("Title HTML Tag","essential-blocks"),id:"eb-accordion-heading-alignment"},React.createElement(p.ButtonGroup,{className:"eb-accordion-heading-alignment eb-html-tag-buttongroup"},v.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:Ne===e.value,isSecondary:Ne!==e.value,onClick:function(){return a({tagName:e.value})}},e.label)}))),"horizontal"===s&&React.createElement(React.Fragment,null,React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Horizontal Height","essential-blocks"),controlName:L,min:0,max:2e3,step:1}),React.createElement(p.SelectControl,{label:(0,n.__)("Title Orientation","essential-blocks"),value:Me,options:R,onChange:function(e){return a({titleOrientation:e})}})),React.createElement(p.ToggleControl,{label:(0,n.__)("Enable FAQ Schema","essential-blocks"),checked:Pe,onChange:function(){return a({faqSchema:!Pe})}}),Pe&&React.createElement(p.PanelRow,null,React.createElement("div",{className:"eb-instruction"},(0,n.__)("Let Google know that this section contains an FAQ. Make sure to only use it only once per page.","essential-blocks")))),"image"===s&&React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Image Container","essential-blocks"),initialOpen:!0},React.createElement(p.RangeControl,{label:(0,n.__)("Container Width(%)","essential-blocks"),value:Ae,onChange:function(e){return a({imageContainerWidth:e})},min:0,max:100,step:1,allowReset:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Individual Accordion Item","essential-blocks"),initialOpen:!1},React.createElement(m.SortControl,{items:t.accordionLists,labelKey:"title",onSortEnd:function(e){return We(e)},onDeleteItem:function(e){return function(e){var t;!function(e,t,a,n){var o,r=(0,b.dispatch)("core/block-editor"),l=r.removeBlock,c=r.updateBlockAttributes,i=r.selectBlock,s=(0,b.select)("core/block-editor").getBlocks(e),p=(null===(o=s[n])||void 0===o?void 0:o.clientId)||!1,d=s.filter(function(e,t){return t!==n});_(d.length,function(e){c(d[e].clientId)}),p&&(c(p,{lock:{move:!1,remove:!1}}),l(p),i(e));var m=a.filter(function(e,t){return t!==n});t({accordionLists:m,accordionChildCount:m?m.length:0})}(o,a,De,e);var n=De.filter(function(t,a){return a!==e});a({activeAccordionIndex:n.length>0?null===(t=n[0])||void 0===t?void 0:t.id:null})}(e)},hasSettings:!0,settingsComponents:(Ve=function(e,n,o){var c=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},t.accordionLists[o]),i=(0,r.A)(t.accordionLists);i[o]=c,Array.isArray(e)?e.map(function(e,t){i[o][e]=n[t]}):i[o][e]=n,a({accordionLists:i})},null===(Ue=t.accordionLists)||void 0===Ue?void 0:Ue.map(function(e,t){return React.createElement(React.Fragment,null,React.createElement("div",{key:t},React.createElement(p.ToggleControl,{label:(0,n.__)("Keep it Open by Default","essential-blocks"),checked:e.clickable,onChange:function(){var t,n;t=e.id,n=null==De?void 0:De.map(function(e){return e.id===t?e.clickable=!e.clickable:e.clickable=!1,e}),a({accordionLists:n})}}),React.createElement(m.DynamicInputControl,{label:(0,n.__)("Title Text","essential-blocks"),attrName:"title",inputValue:e.title,setAttributes:a,onChange:function(e){return Ve("title",e,t)},keyName:"accordionLists",index:t,isObject:!0}),React.createElement(p.PanelRow,null,(0,n.__)("Title Prefix","essential-blocks")),React.createElement(p.BaseControl,{id:"eb-accordion-image-icon"},React.createElement(p.ButtonGroup,{id:"eb-accordion-image-icon"},k.map(function(a,n){var o=a.label,r=a.value;return React.createElement(p.Button,{key:n,isSecondary:e.titlePrefixType!==r,isPrimary:e.titlePrefixType===r,onClick:function(){return Ve("titlePrefixType",r,t)}},o)}))),"none"!==e.titlePrefixType&&React.createElement(React.Fragment,null,"icon"===e.titlePrefixType&&React.createElement(m.EBIconPicker,{value:e.titlePrefixIcon,onChange:function(e){return Ve("titlePrefixIcon",e,t)},title:""}),"text"===e.titlePrefixType&&React.createElement(React.Fragment,null,React.createElement(m.DynamicInputControl,{label:(0,n.__)("Prefix Text","essential-blocks"),attrName:"titlePrefixText",inputValue:e.titlePrefixText,setAttributes:a,onChange:function(e){return Ve("titlePrefixText",e,t)},keyName:"accordionLists",index:t,isObject:!0})),("text"===e.titlePrefixType||"icon"===e.titlePrefixType)&&React.createElement(React.Fragment,null,React.createElement(m.ColorControl,{label:(0,n.__)("Prefix Color","essential-blocks"),color:e.titlePrefixColor,onChange:function(e){return Ve("titlePrefixColor",e,t)}}),React.createElement(m.ColorControl,{label:(0,n.__)("Prefix Background Color","essential-blocks"),color:e.titlePrefixBGColor,onChange:function(e){return Ve("titlePrefixBGColor",e,t)},isGradient:!0})),"image"===e.titlePrefixType&&React.createElement(m.ImageComponent.GeneralTab,{onSelect:function(e){var a=e.id,n=e.url,o=e.alt;Ve(["titlePrefixImgUrl","titlePrefixImgId","titlePrefixImgAlt"],[n,a,o],t)},value:e.titlePrefixImgUrl,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1})),React.createElement("hr",null),React.createElement(p.PanelRow,null,(0,n.__)("Title Suffix","essential-blocks")),React.createElement(p.BaseControl,{id:"eb-accordion-image-icon"},React.createElement(p.ButtonGroup,{id:"eb-accordion-image-icon"},k.map(function(a,n){var o=a.label,r=a.value;return React.createElement(p.Button,{key:n,isSecondary:e.titleSuffixType!==r,isPrimary:e.titleSuffixType===r,onClick:function(){return Ve("titleSuffixType",r,t)}},o)}))),"none"!==e.titleSuffixType&&React.createElement(React.Fragment,null,"icon"===e.titleSuffixType&&React.createElement(m.EBIconPicker,{value:e.titleSuffixIcon,onChange:function(e){return Ve("titleSuffixIcon",e,t)},title:""}),"text"===e.titleSuffixType&&React.createElement(React.Fragment,null,React.createElement(m.DynamicInputControl,{label:(0,n.__)("Suffix Text","essential-blocks"),attrName:"titleSuffixText",inputValue:e.titleSuffixText,setAttributes:a,onChange:function(e){return Ve("titleSuffixText",e,t)},keyName:"accordionLists",index:t,isObject:!0})),("text"===e.titleSuffixType||"icon"===e.titleSuffixType)&&React.createElement(React.Fragment,null,React.createElement(m.ColorControl,{label:(0,n.__)("Suffix Color","essential-blocks"),color:e.titleSuffixIconColor,onChange:function(e){return Ve("titleSuffixIconColor",e,t)}}),React.createElement(m.ColorControl,{label:(0,n.__)("Suffix Background Color","essential-blocks"),color:e.titleSuffixBGColor,onChange:function(e){return Ve("titleSuffixBGColor",e,t)},isGradient:!0})),"image"===e.titleSuffixType&&React.createElement(m.ImageComponent.GeneralTab,{onSelect:function(e){var a=e.id,n=e.url,o=e.alt;Ve(["titleSuffixImgUrl","titleSuffixImgId","titleSuffixImgAlt"],[n,a,o],t)},value:e.titleSuffixImgUrl,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1})),"image"===s&&React.createElement(React.Fragment,null,React.createElement(p.PanelRow,null,(0,n.__)("Accordion Image","essential-blocks")),React.createElement(m.ImageComponent.GeneralTab,{onSelect:function(e){var a=e.id,n=e.url,o=e.alt;Ve(["imageUrl","imageId","imageAlt"],[n,a,o],t)},value:e.imageUrl,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1})),React.createElement("hr",null),React.createElement(m.ColorControl,{label:(0,n.__)("Title Background Color","essential-blocks"),color:e.accordionColor,onChange:function(e){return Ve("accordionColor",e,t)},isGradient:!0}),React.createElement(m.ColorControl,{label:(0,n.__)("Title Color","essential-blocks"),color:e.titleColor,onChange:function(e){return Ve("titleColor",e,t)}}),React.createElement(m.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.iconColor,onChange:function(e){return Ve("iconColor",e,t)}})))})),hasAddButton:!0,onAddItem:function(){c()},defaultShowItemId:He,addButtonText:(0,n.__)("Add a New Accordion Item","essential-blocks")})))),React.createElement(m.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(p.RangeControl,{label:(0,n.__)("Toggle Speed","essential-blocks"),value:ye,onChange:function(e){return a({transitionDuration:e})},min:0,max:5,step:.1,allowReset:!0}),React.createElement(m.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Accordions Gap","essential-blocks"),controlName:T,min:0,max:100,step:1})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(p.ToggleControl,{label:(0,n.__)("Display Icon","essential-blocks"),checked:d,onChange:function(){return a({displayIcon:!d})}}),d&&React.createElement(React.Fragment,null,React.createElement(m.EBIconPicker,{title:(0,n.__)("Tab Icon","essential-blocks"),value:he,attributeName:"tabIcon"}),React.createElement(m.EBIconPicker,{title:(0,n.__)("Expanded Icon","essential-blocks"),value:ve,attributeName:"expandedIcon"}),React.createElement(p.BaseControl,{label:(0,n.__)("Icon Position","essential-blocks")},React.createElement(p.ButtonGroup,{id:"eb-icon-pos-btgrp"},f.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:Ce!==e.value,isPrimary:Ce===e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)}))),React.createElement(m.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:B,min:0,max:200,step:1}),React.createElement(m.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:_e,attributeName:"iconColor"}),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding")},React.createElement(m.ResponsiveDimensionsControl,{controlName:H,baseLabel:"Margin"}),React.createElement(m.ResponsiveDimensionsControl,{controlName:z,baseLabel:"Padding"})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks")},React.createElement(m.BackgroundControl,{controlName:te,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow")},React.createElement(m.BorderShadowControl,{controlName:se,defaultBdrColor:"#aaaaaa",defaultBdrStyle:"solid"})))),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Tab","essential-blocks"),initialOpen:!1},React.createElement(p.BaseControl,{label:(0,n.__)("Title Align ","essential-blocks"),id:"eb-accoridon-title-align"},React.createElement(p.ButtonGroup,null,y.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:Ee!==e.value,isPrimary:Ee===e.value,onClick:function(){return a({titleAlignment:e.value})}},e.label)}))),React.createElement(m.TypographyDropdown,{baseLabel:(0,n.__)("Title Typography","essential-blocks"),typographyPrefixConstant:C}),React.createElement(m.ColorControl,{label:(0,n.__)("Title Color","essential-blocks"),color:we,attributeName:"titleColor"}),React.createElement(m.ColorControl,{label:(0,n.__)("Title hover Color","essential-blocks"),color:xe,attributeName:"hoverTitleColor"}),React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Prefix Suffix Spacing","essential-blocks"),controlName:O,min:0,max:500,step:1,noUnits:!0}),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Title Prefix","essential-blocks"),initialOpen:!1},React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:N,min:8,max:200,step:1}),React.createElement(m.TypographyDropdown,{baseLabel:(0,n.__)("Text Typography","essential-blocks"),typographyPrefixConstant:x}),React.createElement(m.ColorControl,{label:(0,n.__)("Text / Icon Color","essential-blocks"),color:Oe,attributeName:"titlePrefixColor"}),React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:I,units:w,min:0,max:500,step:1}),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(m.BackgroundControl,{controlName:le,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks")},React.createElement(m.ResponsiveDimensionsControl,{controlName:$,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(m.ResponsiveDimensionsControl,{controlName:Q,baseLabel:(0,n.__)("Padding","essential-blocks")})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(m.BorderShadowControl,{controlName:ue}))),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Title Suffix","essential-blocks"),initialOpen:!1},React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:P,min:8,max:200,step:1}),React.createElement(m.TypographyDropdown,{baseLabel:(0,n.__)("Text Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(m.ColorControl,{label:(0,n.__)("Text / Icon Color","essential-blocks"),color:Ie,attributeName:"titleSuffixColor"}),React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:D,units:w,min:0,max:500,step:1}),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(m.BackgroundControl,{controlName:ce,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks")},React.createElement(m.ResponsiveDimensionsControl,{controlName:K,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(m.ResponsiveDimensionsControl,{controlName:X,baseLabel:(0,n.__)("Padding","essential-blocks")})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(m.BorderShadowControl,{controlName:ge}))),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks"),initialOpen:!1},React.createElement(m.ResponsiveDimensionsControl,{controlName:U,baseLabel:"Margin"}),React.createElement(m.ResponsiveDimensionsControl,{controlName:V,baseLabel:"Padding"})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks")},React.createElement(m.BackgroundControl,{controlName:ae,noMainBgi:!0,noOverlay:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Expanded Tab Colors","essential-blocks")},React.createElement(m.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Se,attributeName:"activeBgColor"}),React.createElement(m.ColorControl,{label:(0,n.__)("Title Color","essential-blocks"),color:Be,attributeName:"activeTitleColor"}),React.createElement(m.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:Te,attributeName:"activeIconColor"}),React.createElement("span",null,React.createElement("i",null,(0,n.__)("To see the changes, go to frontend page","essential-blocks")))),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks")},React.createElement(m.BorderShadowControl,{controlName:pe}))),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Content ","essential-blocks"),initialOpen:!1},React.createElement(p.BaseControl,{label:(0,n.__)("Alignment","essential-blocks")},React.createElement(p.ButtonGroup,null,h.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:ke!==e.value,isPrimary:ke===e.value,onClick:function(){return a({contentAlign:e.value})}},e.label)}))),React.createElement(m.TypographyDropdown,{baseLabel:(0,n.__)("Content Typography","essential-blocks"),typographyPrefixConstant:E}),React.createElement(m.ColorControl,{label:(0,n.__)("Content Color","essential-blocks"),color:Re,attributeName:"contentColor"}),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks")},React.createElement(m.ResponsiveDimensionsControl,{controlName:G,baseLabel:"Margin"}),React.createElement(m.ResponsiveDimensionsControl,{controlName:q,baseLabel:"Padding"})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks")},React.createElement(m.BackgroundControl,{controlName:ne,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks")},React.createElement(m.BorderShadowControl,{controlName:be}))),"image"===s&&React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Image Container","essential-blocks"),initialOpen:!1},React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:A,min:0,max:2e3,step:1}),React.createElement(m.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Height","essential-blocks"),controlName:M,min:0,max:2e3,step:1}),React.createElement(m.ResponsiveDimensionsControl,{controlName:Z,baseLabel:"Margin"}),React.createElement(m.ResponsiveDimensionsControl,{controlName:W,baseLabel:"Padding"})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Individual Accordion Item","essential-blocks"),initialOpen:!1},React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks")},React.createElement(m.ResponsiveDimensionsControl,{controlName:J,baseLabel:"Margin"}),React.createElement(m.ResponsiveDimensionsControl,{controlName:Y,baseLabel:"Padding"})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(m.BackgroundControl,{controlName:oe,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(m.BorderShadowControl,{controlName:de})),React.createElement(p.PanelRow,null,(0,n.__)("Expanded Accordion","essential-blocks")),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(m.BackgroundControl,{controlName:re,noOverlay:!0,noMainBgi:!0})),React.createElement(m.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(m.BorderShadowControl,{controlName:me}))))))};var he=a(6087);function ve(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.displayIcon,l=t.titleColor,c=void 0===l?"#fff":l,i=t.contentColor,s=void 0===i?"#555":i,p=t.contentAlign,b=void 0===p?"left":p,d=t.iconColor,u=t.iconPosition,g=t.titleAlignment,f=t.hoverTitleColor,y=t.activeBgColor,h=t.activeTitleColor,v=t.activeIconColor,w=t.icnZ_Range,k=t.TABicnZ_Range,R=t.MOBicnZ_Range,_=t.titlePrefixColor,fe=t.titleSuffixColor,ye=t.imageContainerWidth,he=t.transitionDuration,ve=(0,m.generateTypographyStyles)({attributes:t,prefixConstant:C}),we=ve.typoStylesDesktop,ke=ve.typoStylesTab,Re=ve.typoStylesMobile,_e=(0,m.generateTypographyStyles)({attributes:t,prefixConstant:E,defaultFontSize:14}),Ce=_e.typoStylesDesktop,Ee=_e.typoStylesTab,xe=_e.typoStylesMobile,Se=(0,m.generateTypographyStyles)({attributes:t,prefixConstant:x,defaultFontSize:14}),Be=Se.typoStylesDesktop,Te=Se.typoStylesTab,Ne=Se.typoStylesMobile,Pe=(0,m.generateTypographyStyles)({attributes:t,prefixConstant:S,defaultFontSize:14}),Oe=Pe.typoStylesDesktop,Ie=Pe.typoStylesTab,De=Pe.typoStylesMobile,Ae=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:ee}),Me=Ae.backgroundStylesDesktop,Le=Ae.hoverBackgroundStylesDesktop,Fe=Ae.backgroundStylesTab,je=Ae.hoverBackgroundStylesTab,He=Ae.backgroundStylesMobile,ze=Ae.hoverBackgroundStylesMobile,Ue=Ae.overlayStylesDesktop,Ve=Ae.hoverOverlayStylesDesktop,Ge=Ae.overlayStylesTab,qe=Ae.hoverOverlayStylesTab,We=Ae.overlayStylesMobile,Ze=Ae.hoverOverlayStylesMobile,Je=Ae.bgTransitionStyle,Ye=Ae.ovlTransitionStyle,Qe=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:te,noOverlay:!0,noMainBgi:!0}),Xe=Qe.backgroundStylesDesktop,$e=Qe.hoverBackgroundStylesDesktop,Ke=Qe.bgTransitionStyle,et=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:ae,noOverlay:!0,noMainBgi:!0}),tt=et.backgroundStylesDesktop,at=et.hoverBackgroundStylesDesktop,nt=et.bgTransitionStyle,ot=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:ne,noOverlay:!0,noMainBgi:!0}),rt=ot.backgroundStylesDesktop,lt=ot.hoverBackgroundStylesDesktop,ct=ot.bgTransitionStyle,it=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:F,styleFor:"margin"}),st=it.dimensionStylesDesktop,pt=it.dimensionStylesTab,bt=it.dimensionStylesMobile,dt=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:j,styleFor:"padding"}),mt=dt.dimensionStylesDesktop,ut=dt.dimensionStylesTab,gt=dt.dimensionStylesMobile,ft=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:H,styleFor:"margin"}),yt=ft.dimensionStylesDesktop,ht=ft.dimensionStylesTab,vt=ft.dimensionStylesMobile,wt=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:z,styleFor:"padding"}),kt=wt.dimensionStylesDesktop,Rt=wt.dimensionStylesTab,_t=wt.dimensionStylesMobile,Ct=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:U,styleFor:"margin"}),Et=Ct.dimensionStylesDesktop,xt=Ct.dimensionStylesTab,St=Ct.dimensionStylesMobile,Bt=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:V,styleFor:"padding"}),Tt=Bt.dimensionStylesDesktop,Nt=Bt.dimensionStylesTab,Pt=Bt.dimensionStylesMobile,Ot=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:G,styleFor:"margin"}),It=Ot.dimensionStylesDesktop,Dt=Ot.dimensionStylesTab,At=Ot.dimensionStylesMobile,Mt=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:q,styleFor:"padding"}),Lt=Mt.dimensionStylesDesktop,Ft=Mt.dimensionStylesTab,jt=Mt.dimensionStylesMobile,Ht=(0,m.generateBorderShadowStyles)({controlName:ie,attributes:t}),zt=Ht.styesDesktop,Ut=Ht.styesTab,Vt=Ht.styesMobile,Gt=Ht.stylesHoverDesktop,qt=Ht.stylesHoverTab,Wt=Ht.stylesHoverMobile,Zt=Ht.transitionStyle,Jt=(0,m.generateBorderShadowStyles)({controlName:se,attributes:t}),Yt=Jt.styesDesktop,Qt=Jt.styesTab,Xt=Jt.styesMobile,$t=Jt.stylesHoverDesktop,Kt=Jt.stylesHoverTab,ea=Jt.stylesHoverMobile,ta=Jt.transitionStyle,aa=(0,m.generateBorderShadowStyles)({controlName:pe,attributes:t}),na=aa.styesDesktop,oa=aa.styesTab,ra=aa.styesMobile,la=aa.stylesHoverDesktop,ca=aa.stylesHoverTab,ia=aa.stylesHoverMobile,sa=aa.transitionStyle,pa=(0,m.generateBorderShadowStyles)({controlName:be,attributes:t}),ba=pa.styesDesktop,da=pa.styesTab,ma=pa.styesMobile,ua=pa.stylesHoverDesktop,ga=pa.stylesHoverTab,fa=pa.stylesHoverMobile,ya=pa.transitionStyle,ha=(0,m.generateResponsiveRangeStyles)({controlName:B,customUnit:"px",property:"font-size",attributes:t}),va=ha.rangeStylesDesktop,wa=ha.rangeStylesTab,ka=ha.rangeStylesMobile,Ra=(0,m.generateResponsiveRangeStyles)({controlName:T,customUnit:"px",property:"margin-top",attributes:t}),_a=Ra.rangeStylesDesktop,Ca=Ra.rangeStylesTab,Ea=Ra.rangeStylesMobile,xa=(0,m.generateResponsiveRangeStyles)({controlName:T,customUnit:"px",property:"margin-left",attributes:t}),Sa=xa.rangeStylesDesktop,Ba=xa.rangeStylesTab,Ta=xa.rangeStylesMobile,Na=(0,m.generateResponsiveRangeStyles)({controlName:N,customUnit:"px",property:"width",attributes:t}),Pa=Na.rangeStylesDesktop,Oa=Na.rangeStylesTab,Ia=Na.rangeStylesMobile,Da=(0,m.generateResponsiveRangeStyles)({controlName:N,customUnit:"px",property:"height",attributes:t}),Aa=Da.rangeStylesDesktop,Ma=Da.rangeStylesTab,La=Da.rangeStylesMobile,Fa=(0,m.generateResponsiveRangeStyles)({controlName:N,customUnit:"px",property:"font-size",attributes:t}),ja=Fa.rangeStylesDesktop,Ha=Fa.rangeStylesTab,za=Fa.rangeStylesMobile,Ua=(0,m.generateResponsiveRangeStyles)({controlName:I,customUnit:"px",property:"width",attributes:t}),Va=Ua.rangeStylesDesktop,Ga=Ua.rangeStylesTab,qa=Ua.rangeStylesMobile,Wa=(0,m.generateResponsiveRangeStyles)({controlName:O,customUnit:"px",property:"gap",attributes:t}),Za=Wa.rangeStylesDesktop,Ja=(Wa.rangeStylesTab,Wa.rangeStylesMobile,(0,m.generateResponsiveRangeStyles)({controlName:P,customUnit:"px",property:"width",attributes:t})),Ya=Ja.rangeStylesDesktop,Qa=Ja.rangeStylesTab,Xa=Ja.rangeStylesMobile,$a=(0,m.generateResponsiveRangeStyles)({controlName:P,customUnit:"px",property:"height",attributes:t}),Ka=$a.rangeStylesDesktop,en=$a.rangeStylesTab,tn=$a.rangeStylesMobile,an=(0,m.generateResponsiveRangeStyles)({controlName:P,customUnit:"px",property:"font-size",attributes:t}),nn=an.rangeStylesDesktop,on=an.rangeStylesTab,rn=an.rangeStylesMobile,ln=(0,m.generateResponsiveRangeStyles)({controlName:D,customUnit:"px",property:"width",attributes:t}),cn=ln.rangeStylesDesktop,sn=ln.rangeStylesTab,pn=ln.rangeStylesMobile,bn=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:W,styleFor:"padding"}),dn=bn.dimensionStylesDesktop,mn=bn.dimensionStylesTab,un=bn.dimensionStylesMobile,gn=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:Z,styleFor:"margin"}),fn=gn.dimensionStylesDesktop,yn=gn.dimensionStylesTab,hn=gn.dimensionStylesMobile,vn=(0,m.generateResponsiveRangeStyles)({controlName:A,property:"width",attributes:t}),wn=vn.rangeStylesDesktop,kn=vn.rangeStylesTab,Rn=vn.rangeStylesMobile,_n=(0,m.generateResponsiveRangeStyles)({controlName:M,property:"height",attributes:t}),Cn=_n.rangeStylesDesktop,En=_n.rangeStylesTab,xn=_n.rangeStylesMobile,Sn=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:J,styleFor:"margin"}),Bn=Sn.dimensionStylesDesktop,Tn=Sn.dimensionStylesTab,Nn=Sn.dimensionStylesMobile,Pn=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:Y,styleFor:"padding"}),On=Pn.dimensionStylesDesktop,In=Pn.dimensionStylesTab,Dn=Pn.dimensionStylesMobile,An=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:oe,noOverlay:!0,noMainBgi:!0}),Mn=An.backgroundStylesDesktop,Ln=An.hoverBackgroundStylesDesktop,Fn=An.bgTransitionStyle,jn=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:re,noOverlay:!0,noMainBgi:!0}),Hn=jn.backgroundStylesDesktop,zn=jn.hoverBackgroundStylesDesktop,Un=jn.bgTransitionStyle,Vn=(0,m.generateBorderShadowStyles)({controlName:de,attributes:t}),Gn=Vn.styesDesktop,qn=Vn.styesTab,Wn=Vn.styesMobile,Zn=Vn.stylesHoverDesktop,Jn=Vn.stylesHoverTab,Yn=Vn.stylesHoverMobile,Qn=Vn.transitionStyle,Xn=(0,m.generateBorderShadowStyles)({controlName:me,attributes:t}),$n=Xn.styesDesktop,Kn=Xn.styesTab,eo=Xn.styesMobile,to=Xn.stylesHoverDesktop,ao=Xn.stylesHoverTab,no=Xn.stylesHoverMobile,oo=Xn.transitionStyle,ro=(0,m.generateResponsiveRangeStyles)({controlName:L,property:"",attributes:t}),lo=ro.rangeStylesDesktop,co=ro.rangeStylesTab,io=ro.rangeStylesMobile,so=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:le,noOverlay:!0,noMainBgi:!0}),po=so.backgroundStylesDesktop,bo=so.hoverBackgroundStylesDesktop,mo=so.bgTransitionStyle,uo=(0,m.generateBackgroundControlStyles)({attributes:t,controlName:ce,noOverlay:!0,noMainBgi:!0}),go=uo.backgroundStylesDesktop,fo=uo.hoverBackgroundStylesDesktop,yo=uo.bgTransitionStyle,ho=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:Q,styleFor:"padding"}),vo=ho.dimensionStylesDesktop,wo=ho.dimensionStylesTab,ko=ho.dimensionStylesMobile,Ro=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:$,styleFor:"margin"}),_o=Ro.dimensionStylesDesktop,Co=Ro.dimensionStylesTab,Eo=Ro.dimensionStylesMobile,xo=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:X,styleFor:"padding"}),So=xo.dimensionStylesDesktop,Bo=xo.dimensionStylesTab,To=xo.dimensionStylesMobile,No=(0,m.generateDimensionsControlStyles)({attributes:t,controlName:K,styleFor:"margin"}),Po=No.dimensionStylesDesktop,Oo=No.dimensionStylesTab,Io=No.dimensionStylesMobile,Do=(0,m.generateBorderShadowStyles)({controlName:ue,attributes:t}),Ao=Do.styesDesktop,Mo=Do.styesTab,Lo=Do.styesMobile,Fo=Do.stylesHoverDesktop,jo=Do.stylesHoverTab,Ho=Do.stylesHoverMobile,zo=Do.transitionStyle,Uo=(0,m.generateBorderShadowStyles)({controlName:ge,attributes:t}),Vo=Uo.styesDesktop,Go=Uo.styesTab,qo=Uo.styesMobile,Wo=Uo.stylesHoverDesktop,Zo=Uo.stylesHoverTab,Jo=Uo.stylesHoverMobile,Yo=Uo.transitionStyle,Qo="\n\n\t.eb-accordion-item.is-selected .eb-accordion-content-wrapper-".concat(o," {\n\t\theight:auto;\n\t\topacity: 0;\n\t\toverflow: visible;\n\t}\n\n\t.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-").concat(o,"{\n\t\tvisibility:visible;\n\t\tposition:static;\n\t}\n\n\t.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-").concat(o,"{\n\t\tvisibility:hidden;\n\t\tposition:absolute;\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-inner{\n\t\tposition:relative;\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h1,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h2,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h3,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h4,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h5,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper h6,\n\t.").concat(o,".eb-accordion-container .eb-accordion-wrapper p{\n\t\tmargin:0;\n\t\tpadding:0;\n\t}\n\n\n\t.").concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item {\n\t\t").concat(_a,"\n\t}\n\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item {\n ").concat(Sa,"\n }\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(st,"\n\t\t").concat(mt,"\n\t\t").concat(Me,"\n\t\t").concat(zt,"\n\t\ttransition:").concat(Je,", ").concat(Zt,";\n\t\toverflow:hidden;\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(Le,"\n\t\t").concat(Gt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(Ue,"\n\t\ttransition:").concat(Ye,";\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(Ve,"\n\t}\n\n\n").concat(r?"\n\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\t\t\talign-items: center;\n\t\t\t").concat(yt,"\n\t\t\t").concat(kt,"\n\t\t\t").concat(Xe,"\n\t\t\t").concat(Yt,"\n\t\t\ttransition:").concat(Ke,", ").concat(ta,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t").concat($e,"\n\t\t\t").concat($t,"\n\t\t}\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\ttext-align:center;\n\t\t\tcolor: ").concat(d,";\n\t\t\t").concat(va,"\n\t\t\t").concat(w?"width:".concat(w,"px;"):"","\n\t\t\t").concat(w?"height:".concat(w,"px;"):"","\n\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,"\n {\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tflex-direction: ").concat("right"===u&&r?"row-reverse":"row",";\n\t\t").concat(tt,"\n\t\t").concat(Et,"\n\t\t").concat(Tt,"\n\t\t").concat(na,"\n\t\ttransition:").concat(nt,", ").concat(sa,";\n\t}\n\n .").concat(o,".eb-accordion-container .eb-accordion-content .title-content-").concat(o," {\n\t\t").concat(tt,"\n\t\t").concat(Et,"\n\t\t").concat(Tt,"\n\t\t").concat(na,"\n\t\ttransition:").concat(nt,", ").concat(sa,";\n }\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(at,"\n\t\t").concat(la,"\n\t}\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o,"{\n\t\tjustify-content:").concat(g||"left",";\n\t\tflex:1;\n ").concat(Za,"\n\t}\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n color:").concat(c,";\n\t\t").concat(we,"\n }\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-text {\n\t\tcolor:").concat(_,";\n ").concat(po,"\n\t\t").concat(Be,"\n ").concat(_o,"\n ").concat(vo,"\n ").concat(Ao,"\n transition: ").concat(mo,", ").concat(zo,";\n\t}\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-icon {\n\t\tcolor:").concat(_,";\n ").concat(po,"\n\t\t").concat(Pa,"\n\t\t").concat(Aa,"\n\t\t").concat(ja,"\n ").concat(_o,"\n ").concat(vo,"\n ").concat(Ao,"\n transition: ").concat(mo,", ").concat(zo,";\n\t}\n \n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-icon {\n ").concat(bo,"\n ").concat(Fo,"\n }\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-img{\n\t\t").concat(Va,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-text {\n\t\tcolor:").concat(fe,";\n ").concat(go,"\n\t\t").concat(Oe,"\n ").concat(So,"\n ").concat(Po,"\n ").concat(Vo,"\n transition: ").concat(yo,", ").concat(Yo,";\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-icon {\n\t\tcolor:").concat(fe,";\n ").concat(go,"\n\t\t").concat(Ya,"\n\t\t").concat(Ka,"\n\t\t").concat(nn,"\n ").concat(So,"\n ").concat(Po,"\n ").concat(Vo,"\n transition: ").concat(yo,", ").concat(Yo,";\n\t}\n\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-icon {\n ").concat(fo,"\n ").concat(Wo,"\n }\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-img{\n\t\t").concat(cn,"\n\t}\n\n ").concat(v?"\n .".concat(o,".eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden,.for_edit_page) .eb-accordion-title-wrapper-").concat(o," .eb-accordion-icon {\n\t\t").concat(v?"color: ".concat(v," !important;"):"","\n\t}\n "):"","\n\n\n").concat(h?"\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden,.for_edit_page) .eb-accordion-title-wrapper-").concat(o," .eb-accordion-title {\n\t\t").concat(h?"color: ".concat(h," !important;"):"","\n\t}\n\t"):"","\n\n").concat(y?"\n\t.".concat(o,".eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden,.for_edit_page) .eb-accordion-title-wrapper-").concat(o," {\n\t\t").concat(y?"background: ".concat(y," !important;"):"","\n\t}\n\t"):"","\n\n\t").concat(f?"\n\t\t\t.".concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title{\n\t\t\t\tcolor:").concat(f,";\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," > .eb-accordion-content {\n\t\tcolor:").concat(s,";\n\t\ttext-align:").concat(b,";\n\t\t").concat(rt,"\n\t\t").concat(Ce,"\n\t\t").concat(It,"\n\t\t").concat(Lt,"\n\t\t").concat(ba,"\n\t\ttransition:").concat(ya,", ").concat(ct,";\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover > .eb-accordion-content{\n\t\t").concat(lt,"\n\t\t").concat(ua,"\n\t}\n\n\t"),Xo="\n\n\t.".concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item {\n\t\t").concat(Ca,"\n\t}\n\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item {\n ").concat(Ba,"\n }\n\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(pt,"\n\t\t").concat(ut,"\n\t\t").concat(Fe,"\n\t\t").concat(Ut,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(je,"\n\t\t").concat(qt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(Ge,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(qe,"\n\t}\n\n\n\n").concat(r?"\n\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\t").concat(ht,"\n\t\t\t").concat(Rt,"\n\t\t\t").concat(Qt,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t").concat(Kt,"\n\t\t}\n\n\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\t").concat(wa,"\n\t\t\t").concat(k?"width:".concat(k,"px;"):"","\n\t\t\t").concat(k?"height:".concat(k,"px;"):"","\n\t\t}\n\n\t\t"):"","\n\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o," {\n\t\t").concat(xt,"\n\t\t").concat(Nt,"\n\t\t").concat(oa,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(ca,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n\t\t").concat(ke,"\n\t}\n\n\n.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-text{\n\t\t").concat(Te,"\n ").concat(Co,"\n ").concat(wo,"\n ").concat(Mo,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-icon{\n\t\t").concat(Oa,"\n\t\t").concat(Ma,"\n\t\t").concat(Ha,"\n ").concat(Co,"\n ").concat(wo,"\n ").concat(Mo,"\n\t}\n\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-icon {\n ").concat(jo,"\n }\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-img{\n\t\t").concat(Ga,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-text{\n\t\t").concat(Ie,"\n ").concat(Bo,"\n ").concat(Oo,"\n ").concat(Go,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-icon{\n\t\t").concat(Qa,"\n\t\t").concat(en,"\n\t\t").concat(on,"\n ").concat(Bo,"\n ").concat(Oo,"\n ").concat(Go,"\n\t}\n\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-icon {\n ").concat(Zo,"\n }\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-img{\n\t\t").concat(sn,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," > .eb-accordion-content{\n\t\t").concat(Ee,"\n\t\t").concat(Dt,"\n\t\t").concat(Ft,"\n\t\t").concat(da,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover > .eb-accordion-content{\n\t\t").concat(ga,"\n\t}\n\t"),$o="\n\n\t.".concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item {\n\t\t").concat(Ea,"\n\t}\n\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal > .eb-accordion-inner > .eb-accordion-wrapper + .eb-accordion-wrapper, \n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item {\n ").concat(Ta,"\n }\n\n\t.").concat(o,".eb-accordion-container{\n\t\t").concat(bt,"\n\t\t").concat(gt,"\n\t\t").concat(He,"\n\t\t").concat(Vt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover{\n\t\t").concat(ze,"\n\t\t").concat(Wt,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:before{\n\t\t").concat(We,"\n\t}\n\n\t.").concat(o,".eb-accordion-container:hover:before{\n\t\t").concat(Ze,"\n\t}\n\n\n\n\t").concat(r?"\n\t\t\t.".concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,"{\n\t\t\t\t").concat(vt,"\n\t\t\t\t").concat(_t,"\n\t\t\t\t").concat(Xt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o,":hover{\n\t\t\t\t").concat(ea,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-accordion-container .eb-accordion-icon-wrapper-").concat(o," .eb-accordion-icon{\n\t\t\t\t").concat(ka,"\n\t\t\t\t").concat(R?"width:".concat(R,"px;"):"","\n\t\t\t\t").concat(R?"height:".concat(R,"px;"):"","\n\t\t\t}\n\t\t\t"):"","\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o," {\n\t\t").concat(St,"\n\t\t").concat(Pt,"\n\t\t").concat(ra,"\n\t}\n\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-title-wrapper-").concat(o,":hover{\n\t\t").concat(ia,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title{\n\t\t").concat(Re,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o," > .eb-accordion-content{\n\t\t").concat(xe,"\n\t\t").concat(At,"\n\t\t").concat(jt,"\n\t\t").concat(ma,"\n\t}\n\n\t.").concat(o,".eb-accordion-container .eb-accordion-content-wrapper-").concat(o,":hover > .eb-accordion-content{\n\t\t").concat(fa,"\n\t}\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-text{\n\t\t").concat(Ne,"\n ").concat(Eo,"\n ").concat(ko,"\n ").concat(Lo,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-icon{\n\t\t").concat(Ia,"\n\t\t").concat(La,"\n\t\t").concat(za,"\n ").concat(Eo,"\n ").concat(ko,"\n ").concat(Lo,"\n\t}\n \n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-prefix-icon {\n ").concat(Ho,"\n }\n \n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-prefix-img{\n\t\t").concat(qa,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-text{\n\t\t").concat(De,"\n ").concat(To,"\n ").concat(Io,"\n ").concat(qo,"\n\t}\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-icon{\n\t\t").concat(Xa,"\n\t\t").concat(tn,"\n\t\t").concat(rn,"\n ").concat(To,"\n ").concat(Io,"\n ").concat(qo,"\n\t}\n \n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-text,\n .").concat(o,".eb-accordion-container .eb-accordion-title-wrapper:hover .title-content-").concat(o," .eb-accordion-title-suffix-icon {\n ").concat(Jo,"\n }\n\n .").concat(o,".eb-accordion-container .title-content-").concat(o," .eb-accordion-title-suffix-img{\n\t\t").concat(pn,"\n\t}\n\t"),Ko="\n\t .".concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container {\n width: ").concat(ye,"%;\n ").concat(fn,"\n ").concat(dn,"\n }\n \n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-inner {\n width: ").concat(100-ye,"%;\n }\n\n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container img,\n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-wrapper-mobile img {\n ").concat(wn,"\n ").concat(Cn,"\n }\n "),er="\n .".concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-content .eb-accordion-image-wrapper-mobile {\n ").concat(mn,"\n ").concat(yn,"\n }\n \n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container img,\n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-wrapper-mobile img {\n ").concat(kn,"\n ").concat(En,"\n }\n "),tr="\n .".concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-content .eb-accordion-image-wrapper-mobile {\n ").concat(un,"\n ").concat(hn,"\n }\n\n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container img,\n .").concat(o,".eb-accordion-container.eb-accordion-type-image .eb-accordion-image-wrapper-mobile img {\n ").concat(Rn,"\n ").concat(xn,"\n }\n "),ar="\n .".concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper {\n ").concat(Bn,"\n ").concat(On,"\n ").concat(Gn,"\n ").concat(Mn,"\n transition: ").concat(Fn,", ").concat(Qn,";\n }\n\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:hover {\n ").concat(Ln,"\n ").concat(Zn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:not(.eb-accordion-hidden) {\n ").concat(Hn,"\n ").concat($n,"\n transition: ").concat(Un,", ").concat(oo,";\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:hover:not(.eb-accordion-hidden) {\n ").concat(zn,"\n ").concat(to,"\n }\n "),nr="\n .".concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper {\n ").concat(Tn,"\n ").concat(In,"\n ").concat(qn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:hover {\n ").concat(Jn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:not(.eb-accordion-hidden) {\n ").concat(Kn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:not(.eb-accordion-hidden) {\n ").concat(ao,"\n }\n "),or="\n .".concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper {\n ").concat(Nn,"\n ").concat(Dn,"\n ").concat(Wn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover,\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:hover {\n ").concat(Yn,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:not(.eb-accordion-hidden) {\n ").concat(eo,"\n }\n .").concat(o,".eb-accordion-container > .eb-accordion-inner > .eb-accordion-wrapper:hover:not(.eb-accordion-hidden),\n .").concat(o,".eb-accordion-container .eb-accordion-wrapper-").concat(o,".eb-accordion-wrapper:hover:not(.eb-accordion-hidden) {\n ").concat(no,"\n }\n "),rr="\n .".concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout {\n min-height: ").concat(lo.replace(/[:;]/g,""),";\n max-height: ").concat(lo.replace(/[:;]/g,""),";\n }\n \n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner .eb-accordion-wrapper:not(.for_edit_page) {\n transition: all ").concat(1e3*Number(he),"ms ease;\n }\n "),lr="\n .".concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout {\n min-height: ").concat(co.replace(/[:;]/g,""),"\n max-height: ").concat(co.replace(/[:;]/g,""),"\n }\n "),cr="\n .".concat(o,".eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,\n .").concat(o,".eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout {\n min-height: ").concat(io.replace(/[:;]/g,""),"\n max-height: ").concat(io.replace(/[:;]/g,""),"\n }\n "),ir=(0,m.softMinifyCssStrings)("\n\t\t".concat(Qo,"\n ").concat(Ko,"\n ").concat(ar,"\n ").concat(rr,"\n\t")),sr=(0,m.softMinifyCssStrings)("\n\t\t".concat(Xo,"\n ").concat(er,"\n ").concat(nr,"\n ").concat(lr,"\n\t")),pr=(0,m.softMinifyCssStrings)("\n\t\t".concat($o,"\n ").concat(tr,"\n ").concat(or,"\n ").concat(cr,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(m.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ir,tabAllStyles:sr,mobileAllStyles:pr,blockName:n}))}function we(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ke(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?we(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):we(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Re=ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},accordionType:{type:"string",source:"attribute",selector:".eb-accordion-container",attribute:"data-accordion-type",default:"accordion"},displayIcon:{type:"boolean",default:!0},tabIcon:{type:"string",default:"dashicons-plus-alt2"},expandedIcon:{type:"string",default:"dashicons-minus"},transitionDuration:{type:"number",default:.5},contentAlign:{type:"string",default:"left"},titleAlignment:{type:"string",default:"left"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},contentColor:{type:"string",default:"var(--eb-global-text-color)"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},iconPosition:{type:"string",default:"right"},hoverTitleColor:{type:"string"},activeBgColor:{type:"string",default:""},activeTitleColor:{type:"string",default:""},activeIconColor:{type:"string",default:""},tagName:{type:"string",default:"h3"},accordionChildCount:{type:"number",default:3},faqSchema:{type:"boolean",default:!1},titlePrefixColor:{type:"string",default:"#000"},titleSuffixColor:{type:"string",default:"#000"},accordionLists:{type:"array",default:[]},imageContainerWidth:{type:"number",default:50},titleOrientation:{type:"string",default:"bottom-top"},activeAccordionIndex:{type:"number",default:null},nextItemId:{type:"number",default:1}},(0,m.generateResponsiveRangeAttributes)(N,{defaultRange:20})),(0,m.generateResponsiveRangeAttributes)(I,{defaultRange:30})),(0,m.generateResponsiveRangeAttributes)(O,{defaultRange:15})),(0,m.generateResponsiveRangeAttributes)(P,{defaultRange:20})),(0,m.generateResponsiveRangeAttributes)(D,{defaultRange:30})),(0,m.generateResponsiveRangeAttributes)("titleSuffixGap_",{defaultRange:15})),(0,m.generateTypographyAttributes)(C,{fontSize:18})),(0,m.generateTypographyAttributes)(E,{fontSize:14})),(0,m.generateTypographyAttributes)(x,{fontSize:14})),(0,m.generateTypographyAttributes)(S,{fontSize:14})),(0,m.generateResponsiveRangeAttributes)(B,{noUnits:!0,defaultRange:20})),(0,m.generateResponsiveRangeAttributes)(T,{noUnits:!0,defaultRange:15})),(0,m.generateResponsiveRangeAttributes)(A)),(0,m.generateResponsiveRangeAttributes)(M)),(0,m.generateResponsiveRangeAttributes)(L,{defaultRange:450})),(0,m.generateBackgroundAttributes)(ee,{})),(0,m.generateBackgroundAttributes)(te,{noOverlay:!0,noMainBgi:!0})),(0,m.generateBackgroundAttributes)(ae,{noMainBgi:!0,defaultFillColor:"#FFFFFF00",noOverlay:!0})),(0,m.generateBackgroundAttributes)(ne,{noMainBgi:!0,noOverlay:!0})),(0,m.generateBackgroundAttributes)(oe,{noOverlay:!0,noMainBgi:!0})),(0,m.generateBackgroundAttributes)(re,{noOverlay:!0,noMainBgi:!0})),(0,m.generateBackgroundAttributes)(le,{noOverlay:!0,noMainBgi:!0})),(0,m.generateBackgroundAttributes)(ce,{noOverlay:!0,noMainBgi:!0})),(0,m.generateBorderShadowAttributes)(ie)),(0,m.generateBorderShadowAttributes)(se)),(0,m.generateBorderShadowAttributes)(pe)),(0,m.generateBorderShadowAttributes)(be,{defaultBdrColor:"#aaaaaa",defaultBdrStyle:"solid"})),(0,m.generateBorderShadowAttributes)(de)),(0,m.generateBorderShadowAttributes)(me)),(0,m.generateBorderShadowAttributes)(ue)),(0,m.generateBorderShadowAttributes)(ge)),(0,m.generateDimensionsAttributes)(F)),(0,m.generateDimensionsAttributes)(j)),(0,m.generateDimensionsAttributes)(H)),(0,m.generateDimensionsAttributes)(z)),(0,m.generateDimensionsAttributes)(W)),(0,m.generateDimensionsAttributes)(Z)),(0,m.generateDimensionsAttributes)(U)),(0,m.generateDimensionsAttributes)(V,{top:15,bottom:15,left:20,right:20,isLinked:!1})),(0,m.generateDimensionsAttributes)(G)),(0,m.generateDimensionsAttributes)(q,{top:10,bottom:10,left:15,right:15})),(0,m.generateDimensionsAttributes)(J)),(0,m.generateDimensionsAttributes)(Y)),(0,m.generateDimensionsAttributes)($)),(0,m.generateDimensionsAttributes)(Q)),(0,m.generateDimensionsAttributes)(K)),(0,m.generateDimensionsAttributes)(X)),_e=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"49",fill:"none",viewBox:"0 0 60 49"},React.createElement("path",{fill:"#6C3BFF",d:"M13.507 17.273c0-.468-.286-.91-.91-.91h-6.39c-.649 0-.908.468-.908.91 0 .467.467.909.909.909h6.39c.623 0 .909-.442.909-.91zM8.026 39.532H5.195v-2.83c0-.468-.286-.832-.831-.832-.468 0-.832.286-.832.831v2.831h-2.7c-.468 0-.832.26-.832.806 0 .467.286.83.831.83h2.727v2.728c0 .468.286.831.832.831.545.104.83-.363.83-.83v-2.728h2.832c.467 0 .831-.286.831-.831-.026-.546-.415-.806-.857-.806zM59.09.78H17.689c-.649 0-.909.467-.909.908v30.364h-3.09c-.65 0-.91.468-.91.91v14.674c-.182.468.286.91.91.91h37.74c.649 0 .909-.468.909-.91V33.87h6.753c.65 0 .909-.467.909-.909V1.688c0-.649-.468-.909-.91-.909zm-8.752 45.584H14.779V33.87h35.559v12.494zm7.558-14.676H18.597V2.494h39.3v29.194z"}),React.createElement("path",{fill:"#6C3BFF",d:"M26.623 14.182h7.845c.83 0 1.272-.468 1.272-.91 0-.649-.65-.908-1.273-.908h-7.844c-.83 0-1.272.467-1.272.909 0 .441.649.909 1.272.909zM29.714 17.273c0 .467.468 1.09.91 1.09H47.48c.649 0 .909-.467.909-.908 0-.468-.468-1.091-.91-1.091H30.65c-.65 0-.936.467-.936.909zM26.442 18.364c.363 0 .649-.182.83-.286.183-.104.286-.468.286-.831 0-.286-.181-.65-.285-.831-.364-.182-1.091-.182-1.637.104-.181.181-.285.467-.285.83 0 .286.181.65.285.832.182.182.442.182.806.182zM47.507 21.117H30.649c-.649 0-.909.467-.909.909 0 .65.468.91.91.91h16.857c.649 0 .909-.468.909-.91 0-.468-.442-.91-.91-.91zM26.442 23.117c.363 0 .649-.182.83-.286.183-.182.286-.467.286-.831 0-.364-.181-.65-.285-.831-.364-.286-1.091-.286-1.637 0-.104.182-.285.467-.285.831 0 .364.181.65.285.831.182.182.442.286.806.286zM25.61 41.169h16.858c.649 0 .909-.468.909-.91.181-.467-.286-.908-.91-.908H25.61c-.649 0-.909.467-.909.909 0 .623.468.909.91.909zM21.61 41.532c.286 0 .65-.181.832-.285.181-.182.285-.468.285-.831 0-.364-.181-.65-.285-.832-.546-.467-1.273-.467-1.637 0-.182.182-.285.468-.285.832 0 .363.181.649.285.83.156.183.442.286.805.286z"}))};var Ce,Ee=[{title:(0,n.__)("Classic Accordion","essential-blocks"),content:'\x3c!-- wp:essential-blocks/accordion {"blockId":"eb-accordion-j5qsb","blockMeta":{"desktop":".eb-accordion-item.is-selected .eb-accordion-content-wrapper-eb-accordion-j5qsb{height:auto;opacity:0;overflow:visible}.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-j5qsb{visibility:visible;position:static}.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-j5qsb{visibility:hidden;position:absolute}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-inner{position:relative}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h1,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h2,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h3,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h4,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h5,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper h6,.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper p{margin:0;padding:0}.eb-accordion-j5qsb.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-j5qsb.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item,.eb-accordion-j5qsb.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item{margin-top:15px}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item,.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item{margin-left:15px}.eb-accordion-j5qsb.eb-accordion-container{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-accordion-j5qsb.eb-accordion-container:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-j5qsb{display:flex;justify-content:center;align-items:center;padding:5px;border-width:1px;border-color:rgba(184,194,210,1);border-style:solid;border-radius:50%;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-j5qsb .eb-accordion-icon{text-align:center;color:rgba(184,194,210,1);font-size:20px;width:20px;height:20px}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-title-wrapper-eb-accordion-j5qsb{cursor:pointer;display:flex;align-items:center;flex-direction:row-reverse;background-color:rgba(255,255,255,0);transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb{justify-content:left;flex:1;gap:15px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title{color:rgba(0,0,0,1);font-family:\\u0022Inter\\u0022,sans-serif;font-size:24px;line-height:28px;font-weight:500}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-prefix-text{color:#000;font-size:14px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-prefix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-prefix-img{width:30px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-suffix-text{color:#000;font-size:14px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-suffix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title-suffix-img{width:30px}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-j5qsb .eb-accordion-content{color:rgba(68,79,98,1);text-align:left;background-color:rgba(0,0,0,0);font-family:\\u0022Inter\\u0022,sans-serif;font-size:18px;line-height:28px;font-weight:400;margin-top:24px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container{width:50%}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-image .eb-accordion-inner{width:50%}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper{padding-top:28px;padding-right:40px;padding-left:40px;padding-bottom:28px;border-width:1px;border-color:rgba(213,220,232,1);border-style:solid;border-radius:24px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden){background-color:rgba(248,249,252,1);transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:450px;max-height:450px}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner .eb-accordion-wrapper:not(.for_edit_page){transition:500ms}","tab":".eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title{font-size:20px}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}","mobile":".eb-accordion-j5qsb.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-j5qsb{margin-left:8px}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-j5qsb .eb-accordion-icon{font-size:16px;width:16px;height:16px}.eb-accordion-j5qsb.eb-accordion-container .title-content-eb-accordion-j5qsb .eb-accordion-title{font-size:18px;line-height:26px}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-j5qsb .eb-accordion-content{font-size:15px}.eb-accordion-j5qsb.eb-accordion-container .eb-accordion-wrapper{padding-top:20px;padding-right:30px;padding-left:30px;padding-bottom:20px}.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-j5qsb.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}"},"titleColor":"rgba(0,0,0,1)","contentColor":"rgba(68,79,98,1)","iconColor":"rgba(184,194,210,1)","accordionLists":[{"id":1,"title":"What Destinations Do You Offer?","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"How Can I Book a Trip?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"What’s Included in Your Packages?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"typTl_FontFamily":"Inter","typTl_FontSource":"custom","typTl_FontSize":24,"typTl_FontWeight":"500","typTl_LineHeightUnit":"px","typTl_LineHeight":28,"TABtypTl_FontSize":20,"MOBtypTl_FontSize":18,"MOBtypTl_LineHeightUnit":"px","MOBtypTl_LineHeight":26,"typCn_FontFamily":"Inter","typCn_FontSource":"custom","typCn_FontSize":18,"typCn_FontWeight":"400","typCn_LineHeightUnit":"px","typCn_LineHeight":28,"MOBtypCn_FontSize":15,"titlePrefixText_FontSource":"custom","titleSuffixText_FontSource":"custom","MOBicnZ_Range":16,"tabBg_backgroundColor":"rgba(255,255,255,0)","conBg_backgroundColor":"rgba(0,0,0,0)","accordionExpandedBackgroundbackgroundColor":"rgba(248,249,252,1)","icnBdSd_borderColor":"rgba(184,194,210,1)","icnBdSd_borderStyle":"solid","icnBdSd_Rds_Unit":"%","icnBdSd_Rds_Top":"50","icnBdSd_Rds_Right":"50","icnBdSd_Rds_Bottom":"50","icnBdSd_Rds_Left":"50","tabBdSd_Rds_Top":"","tabBdSd_Rds_Right":"","tabBdSd_Rds_Bottom":"","tabBdSd_Rds_Left":"","conBdSd_borderColor":"#FFEE58","conBdSd_borderStyle":"none","conBdSd_Bdr_Top":"","conBdSd_Bdr_Right":"","conBdSd_Bdr_Bottom":"","conBdSd_Bdr_Left":"","conBdSd_Rds_Top":"","conBdSd_Rds_Right":"","conBdSd_Rds_Bottom":"","conBdSd_Rds_Left":"","accordionBorderborderColor":"rgba(213,220,232,1)","accordionBorderborderStyle":"solid","accordionBorderRds_Top":"24","accordionBorderRds_Right":"24","accordionBorderRds_Bottom":"24","accordionBorderRds_Left":"24","accordionExpandedBorderRds_Top":"","accordionExpandedBorderRds_Right":"","accordionExpandedBorderRds_Bottom":"","accordionExpandedBorderRds_Left":"","TABwrpMrg_Top":"","TABwrpMrg_Right":"","TABwrpMrg_Bottom":"","TABwrpMrg_Left":"","TABwrpPad_Top":"","TABwrpPad_Right":"","TABwrpPad_Bottom":"","TABwrpPad_Left":"","icnMrg_isLinked":false,"icnMrg_Top":"","icnMrg_Right":"","icnMrg_Bottom":"","icnMrg_Left":"","MOBicnMrg_Top":"","MOBicnMrg_Right":"","MOBicnMrg_Bottom":"","MOBicnMrg_Left":"8","icnPad_Top":"5","icnPad_Right":"5","icnPad_Bottom":"5","icnPad_Left":"5","MOBicnPad_Top":"","MOBicnPad_Right":"","MOBicnPad_Bottom":"","MOBicnPad_Left":"","tabMrg_Top":"","tabMrg_Right":"","tabMrg_Bottom":"","tabMrg_Left":"","MOBtabMrg_Top":"","MOBtabMrg_Right":"","MOBtabMrg_Bottom":"","MOBtabMrg_Left":"","tabPad_Top":"","tabPad_Right":"","tabPad_Bottom":"","tabPad_Left":"","MOBtabPad_Top":"","MOBtabPad_Right":"","MOBtabPad_Bottom":"","MOBtabPad_Left":"","conMrg_isLinked":false,"conMrg_Top":"24","conMrg_Right":"","conMrg_Bottom":"","conMrg_Left":"","conPad_Top":"","conPad_Right":"","conPad_Bottom":"","conPad_Left":"","accordionMarginisLinked":false,"accordionMarginTop":"","accordionMarginRight":"","accordionMarginBottom":"","accordionMarginLeft":"","TABaccordionMarginTop":"","TABaccordionMarginRight":"","TABaccordionMarginBottom":"","TABaccordionMarginLeft":"","MOBaccordionMarginTop":"","MOBaccordionMarginRight":"","MOBaccordionMarginBottom":"","MOBaccordionMarginLeft":"","accordionPaddingisLinked":false,"accordionPaddingTop":"28","accordionPaddingRight":"40","accordionPaddingBottom":"28","accordionPaddingLeft":"40","TABaccordionPaddingTop":"","TABaccordionPaddingRight":"","TABaccordionPaddingBottom":"","TABaccordionPaddingLeft":"","MOBaccordionPaddingTop":"20","MOBaccordionPaddingRight":"30","MOBaccordionPaddingBottom":"20","MOBaccordionPaddingLeft":"30","commonStyles":{"desktop":".eb-parent-eb-accordion-j5qsb{display:block}.root-eb-accordion-j5qsb{position:relative}","tab":".eb-parent-eb-accordion-j5qsb{display:block}","mobile":".eb-parent-eb-accordion-j5qsb{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion root-eb-accordion-j5qsb"><div class="eb-parent-wrapper eb-parent-eb-accordion-j5qsb "><div class="eb-accordion-container eb-accordion-j5qsb" data-accordion-type="accordion" data-tab-icon="dashicons-plus-alt2" data-expanded-icon="dashicons-minus" data-transition-duration="500"><div class="eb-accordion-inner">\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-jbbes","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":1,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-j5qsb","accordionLists":[{"id":1,"title":"What Destinations Do You Offer?","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"How Can I Book a Trip?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"What’s Included in Your Packages?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-jbbes{display:block}.root-eb-accordion-item-jbbes{position:relative}","tab":".eb-parent-eb-accordion-item-jbbes{display:block}","mobile":".eb-parent-eb-accordion-item-jbbes{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-jbbes eb-accordion-wrapper" data-clickable="true"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-j5qsb" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-j5qsb"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-j5qsb"><h3 class="eb-accordion-title">What Destinations Do You Offer?</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-j5qsb"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Discover a wide range of travel destinations, from serene beaches to bustling cityscapes, with packages designed to suit every traveler’s needs.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-xfxnw","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":2,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-j5qsb","accordionLists":[{"id":1,"title":"What Destinations Do You Offer?","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"How Can I Book a Trip?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"What’s Included in Your Packages?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-xfxnw{display:block}.root-eb-accordion-item-xfxnw{position:relative}","tab":".eb-parent-eb-accordion-item-xfxnw{display:block}","mobile":".eb-parent-eb-accordion-item-xfxnw{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-xfxnw eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-j5qsb" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-j5qsb"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-j5qsb"><h3 class="eb-accordion-title">How Can I Book a Trip?</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-j5qsb"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Booking your dream vacation is simple! Learn how to select destinations, customize your itinerary, and secure your booking through our easy process.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-7e36t","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":3,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-j5qsb","accordionLists":[{"id":1,"title":"What Destinations Do You Offer?","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"How Can I Book a Trip?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"What’s Included in Your Packages?","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-7e36t{display:block}.root-eb-accordion-item-7e36t{position:relative}","tab":".eb-parent-eb-accordion-item-7e36t{display:block}","mobile":".eb-parent-eb-accordion-item-7e36t{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-7e36t eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-j5qsb" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-j5qsb"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-j5qsb"><h3 class="eb-accordion-title">What’s Included in Your Packages?</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-j5qsb"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Our travel packages typically include accommodation, transportation, and some guided tours. Check the details to see what\'s specifically covered for each package.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e</div></div></div></div>\n\x3c!-- /wp:essential-blocks/accordion --\x3e'},{title:(0,n.__)("Iconic Accordion","essential-blocks"),content:'\x3c!-- wp:essential-blocks/accordion {"blockId":"eb-accordion-hdqb3","blockMeta":{"desktop":".eb-accordion-item.is-selected .eb-accordion-content-wrapper-eb-accordion-hdqb3{height:auto;opacity:0;overflow:visible}.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-hdqb3{visibility:visible;position:static}.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-hdqb3{visibility:hidden;position:absolute}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-inner{position:relative}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h1,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h2,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h3,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h4,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h5,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper h6,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper p{margin:0;padding:0}.eb-accordion-hdqb3.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-hdqb3.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item,.eb-accordion-hdqb3.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item{margin-top:24px}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item,.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item{margin-left:24px}.eb-accordion-hdqb3.eb-accordion-container{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-accordion-hdqb3.eb-accordion-container:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-hdqb3{display:flex;justify-content:center;align-items:center;padding:8px;border-width:1px;border-color:rgba(176,187,207,1);border-style:solid;border-radius:50%;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-hdqb3 .eb-accordion-icon{text-align:center;color:rgba(118,126,139,1);font-size:20px;width:20px;height:20px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-title-wrapper-eb-accordion-hdqb3{cursor:pointer;display:flex;align-items:center;flex-direction:row-reverse;padding-top:5px;padding-right:5px;padding-left:5px;padding-bottom:24px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3{justify-content:left;flex:1;gap:24px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title{color:rgba(57,64,78,1);font-family:\\u0022Inter\\u0022,sans-serif;font-size:32px;line-height:38px;font-weight:600}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-prefix-text{color:#000;font-size:14px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{color:#000;width:48px;height:48px;font-size:48px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-prefix-img{width:30px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-suffix-text{color:#000;font-size:14px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-suffix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-suffix-img{width:30px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-hdqb3 .eb-accordion-content{color:rgba(68,79,98,1);text-align:left;font-family:\\u0022Inter\\u0022,sans-serif;font-size:18px;line-height:27px;font-weight:400;margin-left:50px;padding-top:10px;padding-right:10px;padding-left:10px;padding-bottom:10px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container{width:50%}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-image .eb-accordion-inner{width:50%}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper{border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-width:1px;border-color:rgba(215,223,236,1);border-style:solid;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper:hover{border-radius:0px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden){border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-width:0px;border-color:var(\\u002d\\u002deb-global-tertiary-color);border-style:solid;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:450px;max-height:450px}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner .eb-accordion-wrapper:not(.for_edit_page){transition:500ms}","tab":".eb-accordion-hdqb3.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-hdqb3 .eb-accordion-icon{font-size:20px;width:20px;height:20px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title{font-size:30px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{width:42px;height:42px;font-size:42px}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}","mobile":".eb-accordion-hdqb3.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-hdqb3{padding:6px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-hdqb3 .eb-accordion-icon{font-size:15px;width:15px;height:15px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-title-wrapper-eb-accordion-hdqb3{padding-bottom:10px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title{font-size:18px;line-height:25px}.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-hdqb3 .eb-accordion-content{font-size:15px}.eb-accordion-hdqb3.eb-accordion-container .title-content-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{width:40px;height:40px;font-size:40px}.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-hdqb3.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}"},"titleColor":"rgba(57,64,78,1)","contentColor":"rgba(68,79,98,1)","iconColor":"rgba(118,126,139,1)","accordionLists":[{"id":1,"title":"Check Payment Methods","clickable":true,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-money-check","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Set Payment Gateways","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-diagram-project","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Refunds and Disputes","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-circle-dollar-to-slot","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"titlePrefixIconSize_Range":48,"TABtitlePrefixIconSize_Range":42,"MOBtitlePrefixIconSize_Range":40,"titlePrefixGap_Range":24,"typTl_FontFamily":"Inter","typTl_FontSource":"custom","typTl_FontSize":32,"typTl_FontWeight":"600","typTl_LineHeightUnit":"px","typTl_LineHeight":38,"TABtypTl_FontSize":30,"MOBtypTl_FontSize":18,"MOBtypTl_LineHeightUnit":"px","MOBtypTl_LineHeight":25,"typCn_FontFamily":"Inter","typCn_FontSource":"custom","typCn_FontSize":18,"typCn_FontWeight":"400","typCn_LineHeightUnit":"px","typCn_LineHeight":27,"MOBtypCn_FontSize":15,"titlePrefixText_FontSource":"custom","TABicnZ_Range":20,"MOBicnZ_Range":15,"acGp_Range":24,"tabBg_backgroundColor":"","accordionExpandedBackgroundbackgroundColor":"","icnBdSd_borderColor":"rgba(176,187,207,1)","icnBdSd_borderStyle":"solid","icnBdSd_Rds_Unit":"%","icnBdSd_Rds_Top":"50","icnBdSd_Rds_Right":"50","icnBdSd_Rds_Bottom":"50","icnBdSd_Rds_Left":"50","tabBdSd_borderColor":"rgba(215,223,236,1)","tabBdSd_Bdr_isLinked":false,"tabBdSd_Bdr_Top":"0","tabBdSd_Bdr_Right":"0","tabBdSd_Bdr_Left":"0","tabBdSd_Rds_Top":"","tabBdSd_Rds_Right":"","tabBdSd_Rds_Bottom":"","tabBdSd_Rds_Left":"","conBdSd_borderStyle":"none","conBdSd_Rds_Top":"","conBdSd_Rds_Right":"","conBdSd_Rds_Bottom":"","conBdSd_Rds_Left":"","conBdSd_HRds_Top":"","conBdSd_HRds_Right":"","conBdSd_HRds_Bottom":"","conBdSd_HRds_Left":"","accordionBorderborderColor":"rgba(215,223,236,1)","accordionBorderborderStyle":"solid","accordionBorderBdr_isLinked":false,"accordionBorderBdr_Top":"0","accordionBorderBdr_Right":"0","accordionBorderBdr_Left":"0","accordionBorderRds_Top":"","accordionBorderRds_Right":"","accordionBorderRds_Bottom":"","accordionBorderRds_Left":"","accordionBorderHRds_Top":"0","accordionBorderHRds_Right":"0","accordionBorderHRds_Bottom":"0","accordionBorderHRds_Left":"0","accordionExpandedBorderborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","accordionExpandedBorderborderStyle":"solid","accordionExpandedBorderBdr_isLinked":false,"accordionExpandedBorderBdr_Top":"0","accordionExpandedBorderBdr_Right":"0","accordionExpandedBorderBdr_Bottom":"0","accordionExpandedBorderBdr_Left":"0","accordionExpandedBorderRds_Top":"","accordionExpandedBorderRds_Right":"","accordionExpandedBorderRds_Bottom":"","accordionExpandedBorderRds_Left":"","accordionExpandedBorderHRds_Top":"","accordionExpandedBorderHRds_Right":"","accordionExpandedBorderHRds_Bottom":"","accordionExpandedBorderHRds_Left":"","icnMrg_Top":"","icnMrg_Right":"","icnMrg_Bottom":"","icnMrg_Left":"","MOBicnMrg_Top":"","MOBicnMrg_Right":"","MOBicnMrg_Bottom":"","MOBicnMrg_Left":"","icnPad_Top":"8","icnPad_Right":"8","icnPad_Bottom":"8","icnPad_Left":"8","MOBicnPad_Top":"6","MOBicnPad_Right":"6","MOBicnPad_Bottom":"6","MOBicnPad_Left":"6","tabMrg_isLinked":false,"tabMrg_Top":"","tabMrg_Right":"","tabMrg_Bottom":"","tabMrg_Left":"","MOBtabMrg_Top":"","MOBtabMrg_Right":"","MOBtabMrg_Bottom":"","MOBtabMrg_Left":"","tabPad_Top":"5","tabPad_Right":"5","tabPad_Bottom":"24","tabPad_Left":"5","MOBtabPad_Top":"","MOBtabPad_Right":"","MOBtabPad_Bottom":"10","MOBtabPad_Left":"","conMrg_isLinked":false,"conMrg_Top":"","conMrg_Right":"","conMrg_Bottom":"","conMrg_Left":"50","MOBconMrg_Top":"","MOBconMrg_Right":"","MOBconMrg_Bottom":"","MOBconMrg_Left":"","conPad_isLinked":false,"conPad_Right":"10","conPad_Left":"10","MOBconPad_Top":"","MOBconPad_Right":"","MOBconPad_Bottom":"","MOBconPad_Left":"","accordionMarginTop":"","accordionMarginRight":"","accordionMarginBottom":"","accordionMarginLeft":"","MOBaccordionMarginTop":"","MOBaccordionMarginRight":"","MOBaccordionMarginBottom":"","MOBaccordionMarginLeft":"","accordionPaddingTop":"","accordionPaddingRight":"","accordionPaddingBottom":"","accordionPaddingLeft":"","MOBaccordionPaddingTop":"","MOBaccordionPaddingRight":"","MOBaccordionPaddingBottom":"","MOBaccordionPaddingLeft":"","commonStyles":{"desktop":".eb-parent-eb-accordion-hdqb3{display:block}.root-eb-accordion-hdqb3{position:relative}","tab":".eb-parent-eb-accordion-hdqb3{display:block}","mobile":".eb-parent-eb-accordion-hdqb3{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion root-eb-accordion-hdqb3"><div class="eb-parent-wrapper eb-parent-eb-accordion-hdqb3 "><div class="eb-accordion-container eb-accordion-hdqb3" data-accordion-type="accordion" data-tab-icon="dashicons-plus-alt2" data-expanded-icon="dashicons-minus" data-transition-duration="500"><div class="eb-accordion-inner">\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-cm5fy","blockMeta":{"desktop":".eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-cm5fy.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-text,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-cm5fy.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{color:rgba(118,126,139,1)}","tab":"","mobile":""},"itemId":1,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-hdqb3","accordionLists":[{"id":1,"title":"Check Payment Methods","clickable":true,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-money-check","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Set Payment Gateways","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-diagram-project","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Refunds and Disputes","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-circle-dollar-to-slot","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-cm5fy{display:block}.root-eb-accordion-item-cm5fy{position:relative}","tab":".eb-parent-eb-accordion-item-cm5fy{display:block}","mobile":".eb-parent-eb-accordion-item-cm5fy{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-cm5fy eb-accordion-wrapper" data-clickable="true"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-hdqb3" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-hdqb3"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-hdqb3"><i icon="fas fa-money-check" class="fas fa-money-check eb-accordion-title-prefix-icon"></i><h3 class="eb-accordion-title">Check Payment Methods</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-hdqb3"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Explore the variety of payment methods available, from credit cards to digital wallets, ensuring secure and convenient transactions.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-amkit","blockMeta":{"desktop":".eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-amkit.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-text,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-amkit.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{color:rgba(118,126,139,1)}","tab":"","mobile":""},"itemId":2,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-hdqb3","accordionLists":[{"id":1,"title":"Check Payment Methods","clickable":true,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-money-check","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Set Payment Gateways","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-diagram-project","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Refunds and Disputes","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-circle-dollar-to-slot","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-amkit{display:block}.root-eb-accordion-item-amkit{position:relative}","tab":".eb-parent-eb-accordion-item-amkit{display:block}","mobile":".eb-parent-eb-accordion-item-amkit{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-amkit eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-hdqb3" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-hdqb3"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-hdqb3"><i icon="fas fa-diagram-project" class="fas fa-diagram-project eb-accordion-title-prefix-icon"></i><h3 class="eb-accordion-title">Set Payment Gateways</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-hdqb3"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Learn how to configure payment gateways to process online transactions efficiently and provide a seamless checkout experience.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-26bq4","blockMeta":{"desktop":".eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-26bq4.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-text,.eb-accordion-hdqb3.eb-accordion-container .eb-accordion-item-26bq4.eb-accordion-wrapper .eb-accordion-title-wrapper-eb-accordion-hdqb3 .eb-accordion-title-prefix-icon{color:rgba(118,126,139,1)}","tab":"","mobile":""},"itemId":3,"inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-hdqb3","accordionLists":[{"id":1,"title":"Check Payment Methods","clickable":true,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-money-check","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Set Payment Gateways","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-diagram-project","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Refunds and Disputes","clickable":false,"titlePrefixType":"icon","titlePrefixIcon":"fas fa-circle-dollar-to-slot","titlePrefixText":"Prefix","titlePrefixColor":"rgba(118,126,139,1)","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"","imageId":"","imageAlt":"","isBlockSelected":false}],"commonStyles":{"desktop":".eb-parent-eb-accordion-item-26bq4{display:block}.root-eb-accordion-item-26bq4{position:relative}","tab":".eb-parent-eb-accordion-item-26bq4{display:block}","mobile":".eb-parent-eb-accordion-item-26bq4{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-26bq4 eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-hdqb3" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-hdqb3"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-hdqb3"><i icon="fas fa-circle-dollar-to-slot" class="fas fa-circle-dollar-to-slot eb-accordion-title-prefix-icon"></i><h3 class="eb-accordion-title">Refunds and Disputes</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-hdqb3"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Understand how to handle refunds, manage disputes, and maintain positive customer relationships during payment issues.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e</div></div></div></div>\n\x3c!-- /wp:essential-blocks/accordion --\x3e'},{title:(0,n.__)("Storyboard Accordion","essential-blocks"),content:'\x3c!-- wp:essential-blocks/accordion {"blockId":"eb-accordion-cyebt","blockMeta":{"desktop":".eb-accordion-item.is-selected .eb-accordion-content-wrapper-eb-accordion-cyebt{height:auto;opacity:0;overflow:visible}.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-cyebt{visibility:visible;position:static}.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-cyebt{visibility:hidden;position:absolute}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-inner{position:relative}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h1,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h2,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h3,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h4,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h5,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper h6,.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper p{margin:0;padding:0}.eb-accordion-cyebt.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-cyebt.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item,.eb-accordion-cyebt.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item{margin-top:32px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item{margin-left:32px}.eb-accordion-cyebt.eb-accordion-container{padding-top:80px;padding-right:48px;padding-left:48px;padding-bottom:80px;background-color:rgba(240,244,252,1);transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-accordion-cyebt.eb-accordion-container:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-cyebt{display:flex;justify-content:center;align-items:center;padding:5px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-cyebt .eb-accordion-icon{text-align:center;color:rgba(0,0,0,1);font-size:32px;width:32px;height:32px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-title-wrapper-eb-accordion-cyebt{cursor:pointer;display:flex;align-items:center;flex-direction:row-reverse;margin-bottom:16px;padding-top:15px;padding-right:5px;padding-left:5px;padding-bottom:15px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt{justify-content:left;flex:1;gap:15px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title{color:rgba(57,64,78,1);font-family:\\u0022Inter\\u0022,sans-serif;font-size:32px;line-height:38px;font-weight:600}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-prefix-text{color:#000;font-size:14px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-prefix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-prefix-img{width:30px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-suffix-text{color:#000;font-size:14px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-suffix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title-suffix-img{width:30px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-cyebt .eb-accordion-content{color:rgba(68,79,98,1);text-align:left;font-family:\\u0022Inter\\u0022,sans-serif;font-size:18px;line-height:27px;font-weight:400;padding:10px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container{width:50%}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-inner{width:50%}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container img,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-wrapper-mobile img{width:400px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper{margin-bottom:20px;padding:0px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-width:1px;border-color:rgba(0,0,0,1);border-style:solid;border-radius:0px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper:hover{border-radius:0px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden){border-width:0px;border-color:rgba(0,0,0,1);border-style:solid;border-radius:0px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-wrapper:hover:not(.eb-accordion-hidden){border-radius:0px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:450px;max-height:450px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner .eb-accordion-wrapper:not(.for_edit_page){transition:500ms}","tab":".eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}","mobile":".eb-accordion-cyebt.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-cyebt.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item{margin-top:10px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item{margin-left:10px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-cyebt .eb-accordion-icon{font-size:24px;width:24px;height:24px}.eb-accordion-cyebt.eb-accordion-container .title-content-eb-accordion-cyebt .eb-accordion-title{font-size:18px;line-height:22px}.eb-accordion-cyebt.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-cyebt .eb-accordion-content{font-size:15px;line-height:20px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-content .eb-accordion-image-wrapper-mobile{padding:0px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container img,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-wrapper-mobile img{width:200px}.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-cyebt.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}"},"titleColor":"rgba(57,64,78,1)","contentColor":"rgba(68,79,98,1)","iconColor":"rgba(0,0,0,1)","accordionLists":[{"id":1,"title":"Introduction to Creative Design","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":37400,"imageAlt":"","isBlockSelected":false},{"id":2,"title":"Explore Elemental Color Theory","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Learn Typography Essentials","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":36504,"imageAlt":"","isBlockSelected":false}],"typTl_FontFamily":"Inter","typTl_FontSource":"custom","typTl_FontSize":32,"typTl_FontWeight":"600","typTl_LineHeightUnit":"px","typTl_LineHeight":38,"MOBtypTl_FontSize":18,"MOBtypTl_LineHeightUnit":"px","MOBtypTl_LineHeight":22,"typCn_FontFamily":"Inter","typCn_FontSource":"custom","typCn_FontSize":18,"typCn_FontWeight":"400","typCn_LineHeightUnit":"px","typCn_LineHeight":27,"MOBtypCn_FontSize":15,"MOBtypCn_LineHeightUnit":"px","MOBtypCn_LineHeight":20,"icnZ_Range":32,"MOBicnZ_Range":24,"acGp_Range":32,"MOBacGp_Range":10,"imageWidthRange":400,"MOBimageWidthRange":200,"WrpBg_backgroundColor":"rgba(240,244,252,1)","icnBdSd_Rds_Top":"","icnBdSd_Rds_Right":"","icnBdSd_Rds_Bottom":"","icnBdSd_Rds_Left":"","tabBdSd_Rds_Top":"","tabBdSd_Rds_Right":"","tabBdSd_Rds_Bottom":"","tabBdSd_Rds_Left":"","conBdSd_borderStyle":"none","conBdSd_Rds_Top":"","conBdSd_Rds_Right":"","conBdSd_Rds_Bottom":"","conBdSd_Rds_Left":"","accordionBorderborderColor":"rgba(0,0,0,1)","accordionBorderborderStyle":"solid","accordionBorderBdr_isLinked":false,"accordionBorderBdr_Top":"0","accordionBorderBdr_Right":"0","accordionBorderBdr_Left":"0","accordionBorderRds_Top":"0","accordionBorderRds_Right":"0","accordionBorderRds_Bottom":"0","accordionBorderRds_Left":"0","accordionBorderHRds_Top":"0","accordionBorderHRds_Right":"0","accordionBorderHRds_Bottom":"0","accordionBorderHRds_Left":"0","accordionExpandedBorderborderColor":"rgba(0,0,0,1)","accordionExpandedBorderborderStyle":"solid","accordionExpandedBorderBdr_Top":"0","accordionExpandedBorderBdr_Right":"0","accordionExpandedBorderBdr_Bottom":"0","accordionExpandedBorderBdr_Left":"0","accordionExpandedBorderRds_Top":"0","accordionExpandedBorderRds_Right":"0","accordionExpandedBorderRds_Bottom":"0","accordionExpandedBorderRds_Left":"0","accordionExpandedBorderHRds_Top":"0","accordionExpandedBorderHRds_Right":"0","accordionExpandedBorderHRds_Bottom":"0","accordionExpandedBorderHRds_Left":"0","wrpMrg_Top":"","wrpMrg_Right":"","wrpMrg_Bottom":"","wrpMrg_Left":"","wrpPad_isLinked":false,"wrpPad_Top":"80","wrpPad_Right":"48","wrpPad_Bottom":"80","wrpPad_Left":"48","icnMrg_Top":"","icnMrg_Right":"","icnMrg_Bottom":"","icnMrg_Left":"","icnPad_Top":"5","icnPad_Right":"5","icnPad_Bottom":"5","icnPad_Left":"5","imgContainerPaddingTop":"","imgContainerPaddingRight":"","imgContainerPaddingBottom":"","imgContainerPaddingLeft":"","MOBimgContainerPaddingTop":"0","MOBimgContainerPaddingRight":"0","MOBimgContainerPaddingBottom":"0","MOBimgContainerPaddingLeft":"0","imgContainerMarginTop":"","imgContainerMarginRight":"","imgContainerMarginBottom":"","imgContainerMarginLeft":"","MOBimgContainerMarginTop":"","MOBimgContainerMarginRight":"","MOBimgContainerMarginBottom":"","MOBimgContainerMarginLeft":"","tabMrg_isLinked":false,"tabMrg_Top":"","tabMrg_Right":"","tabMrg_Bottom":"16","tabMrg_Left":"","tabPad_Right":"5","tabPad_Left":"5","conMrg_Top":"","conMrg_Right":"","conMrg_Bottom":"","conMrg_Left":"","conPad_Right":"10","conPad_Left":"10","accordionMarginisLinked":false,"accordionMarginTop":"","accordionMarginRight":"","accordionMarginBottom":"20","accordionMarginLeft":"","accordionPaddingTop":"0","accordionPaddingRight":"0","accordionPaddingBottom":"0","accordionPaddingLeft":"0","commonStyles":{"desktop":".eb-parent-eb-accordion-cyebt{display:block}.root-eb-accordion-cyebt{position:relative}","tab":".eb-parent-eb-accordion-cyebt{display:block}","mobile":".eb-parent-eb-accordion-cyebt{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion root-eb-accordion-cyebt"><div class="eb-parent-wrapper eb-parent-eb-accordion-cyebt "><div class="eb-accordion-container eb-accordion-cyebt eb-accordion-type-image" data-accordion-type="image" data-tab-icon="dashicons-plus-alt2" data-expanded-icon="dashicons-minus" data-transition-duration="500"><div class="eb-accordion-inner">\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-7gl41","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":1,"inheritedAccordionType":"image","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-cyebt","accordionLists":[{"id":1,"title":"Introduction to Creative Design","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":37400,"imageAlt":"","isBlockSelected":false},{"id":2,"title":"Explore Elemental Color Theory","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Learn Typography Essentials","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":36504,"imageAlt":"","isBlockSelected":false}],"accordionType":"image","commonStyles":{"desktop":".eb-parent-eb-accordion-item-7gl41{display:block}.root-eb-accordion-item-7gl41{position:relative}","tab":".eb-parent-eb-accordion-item-7gl41{display:block}","mobile":".eb-parent-eb-accordion-item-7gl41{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-7gl41 eb-accordion-wrapper" data-clickable="true"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-cyebt" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-cyebt"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-cyebt"><h3 class="eb-accordion-title">Introduction to Creative Design</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-cyebt"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Start your journey into visual storytelling, exploring foundational design principles and techniques that inspire creativity in every project.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-twdhz","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":2,"inheritedAccordionType":"image","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-cyebt","accordionLists":[{"id":1,"title":"Introduction to Creative Design","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":37400,"imageAlt":"","isBlockSelected":false},{"id":2,"title":"Explore Elemental Color Theory","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Learn Typography Essentials","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":36504,"imageAlt":"","isBlockSelected":false}],"accordionType":"image","commonStyles":{"desktop":".eb-parent-eb-accordion-item-twdhz{display:block}.root-eb-accordion-item-twdhz{position:relative}","tab":".eb-parent-eb-accordion-item-twdhz{display:block}","mobile":".eb-parent-eb-accordion-item-twdhz{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-twdhz eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-cyebt" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-cyebt"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-cyebt"><h3 class="eb-accordion-title">Explore Elemental Color Theory</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-cyebt"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Dive into the essentials of color combinations, learning how to craft palettes that evoke emotion and create impactful, balanced visuals.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-bqkpm","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":3,"inheritedAccordionType":"image","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-cyebt","accordionLists":[{"id":1,"title":"Introduction to Creative Design","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":37400,"imageAlt":"","isBlockSelected":false},{"id":2,"title":"Explore Elemental Color Theory","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Learn Typography Essentials","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":null,"imageId":36504,"imageAlt":"","isBlockSelected":false}],"accordionType":"image","commonStyles":{"desktop":".eb-parent-eb-accordion-item-bqkpm{display:block}.root-eb-accordion-item-bqkpm{position:relative}","tab":".eb-parent-eb-accordion-item-bqkpm{display:block}","mobile":".eb-parent-eb-accordion-item-bqkpm{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-bqkpm eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-cyebt" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-cyebt"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-cyebt"><h3 class="eb-accordion-title">Learn Typography Essentials</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-cyebt"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Combine key design elements, including layout, color, and typography, to create cohesive, visually stunning compositions.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e</div><div class="eb-accordion-image-container"><img src="" alt=""/></div></div></div></div>\n\x3c!-- /wp:essential-blocks/accordion --\x3e'},{title:(0,n.__)("Horizontal Accordion","essential-blocks"),templatePreview:!0,preview:"".concat(null===(Ce=EssentialBlocksLocalize)||void 0===Ce?void 0:Ce.image_url,"/templates/accordion/horizontal-accordion.png"),content:'\x3c!-- wp:essential-blocks/accordion {"blockId":"eb-accordion-p69c8","blockMeta":{"desktop":".eb-accordion-item.is-selected .eb-accordion-content-wrapper-eb-accordion-p69c8{height:auto;opacity:0;overflow:visible}.eb-accordion-container.eb_accdn_loaded .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-p69c8{visibility:visible;position:static}.eb-accordion-container .eb-accordion-wrapper:not(.for_edit_page) .eb-accordion-content-wrapper-eb-accordion-p69c8{visibility:hidden;position:absolute}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-inner{position:relative}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h1,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h2,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h3,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h4,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h5,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper h6,.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper p{margin:0;padding:0}.eb-accordion-p69c8.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-p69c8.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item,.eb-accordion-p69c8.eb-accordion-container:not(.eb-accordion-type-horizontal) .eb-accordion-item{margin-top:15px}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-wrapper + .eb-accordion-wrapper,.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item,.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-item{margin-left:15px}.eb-accordion-p69c8.eb-accordion-container{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s;overflow:hidden}.eb-accordion-p69c8.eb-accordion-container:before{transition:background 0.5s,opacity 0.5s,filter 0.5s}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-p69c8{display:flex;justify-content:center;align-items:center;margin:0px;padding:0px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-p69c8 .eb-accordion-icon{text-align:center;color:rgba(57,64,78,1);font-size:48px;width:48px;height:48px}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-title-wrapper-eb-accordion-p69c8{cursor:pointer;display:flex;align-items:center;flex-direction:row-reverse;margin:0px;padding-top:0px;padding-right:0px;padding-left:0px;padding-bottom:0px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8{justify-content:left;flex:1;gap:15px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title{color:rgba(57,64,78,1);font-family:\\u0022Inter\\u0022,sans-serif;font-size:40px;line-height:48px;font-weight:600}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-prefix-text{color:#000;font-size:14px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-prefix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-prefix-img{width:30px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-suffix-text{color:#000;font-size:14px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-suffix-icon{color:#000;width:20px;height:20px;font-size:20px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title-suffix-img{width:30px}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-p69c8 .eb-accordion-content{color:var(\\u002d\\u002deb-global-text-color);text-align:left;font-family:\\u0022Inter\\u0022,sans-serif;font-size:18px;line-height:27px;font-weight:400;padding:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s,background 0.5s}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-image .eb-accordion-image-container{width:50%}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-image .eb-accordion-inner{width:50%}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper{padding-top:32px;padding-right:36px;padding-left:36px;padding-bottom:32px;border-width:1px;border-color:rgba(0,0,0,1);border-style:solid;border-radius:0px;transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper:hover{border-radius:0px}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper:not(.eb-accordion-hidden){transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper:hover:not(.eb-accordion-hidden){border-radius:0px}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:500px;max-height:500px}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner .eb-accordion-wrapper:not(.for_edit_page){transition:500ms}","tab":".eb-accordion-p69c8.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-p69c8 .eb-accordion-icon{font-size:32px;width:32px;height:32px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title{font-size:32px;line-height:38px}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-wrapper{padding-top:20px;padding-right:25px;padding-left:25px;padding-bottom:20px}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}","mobile":".eb-accordion-p69c8.eb-accordion-container .eb-accordion-icon-wrapper-eb-accordion-p69c8 .eb-accordion-icon{font-size:15px;width:15px;height:15px}.eb-accordion-p69c8.eb-accordion-container .title-content-eb-accordion-p69c8 .eb-accordion-title{font-size:18px;line-height:26px}.eb-accordion-p69c8.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-p69c8 .eb-accordion-content{font-size:15px;line-height:20px}.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .eb-accordion-inner,.eb-accordion-p69c8.eb-accordion-container.eb-accordion-type-horizontal .block-editor-block-list__layout{min-height:max-height:}"},"titleColor":"rgba(57,64,78,1)","iconColor":"rgba(57,64,78,1)","accordionLists":[{"id":1,"title":"Initiation","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Planning","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Execution","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false}],"typTl_FontFamily":"Inter","typTl_FontSource":"custom","typTl_FontSize":40,"typTl_FontWeight":"600","typTl_LineHeightUnit":"px","typTl_LineHeight":48,"TABtypTl_FontSize":32,"TABtypTl_LineHeightUnit":"px","TABtypTl_LineHeight":38,"MOBtypTl_FontSize":18,"MOBtypTl_LineHeightUnit":"px","MOBtypTl_LineHeight":26,"typCn_FontFamily":"Inter","typCn_FontSource":"custom","typCn_FontSize":18,"typCn_FontWeight":"400","typCn_LineHeightUnit":"px","typCn_LineHeight":27,"MOBtypCn_FontSize":15,"MOBtypCn_LineHeightUnit":"px","MOBtypCn_LineHeight":20,"icnZ_Range":48,"TABicnZ_Range":32,"MOBicnZ_Range":15,"horizontalHeightRange":500,"icnBdSd_Rds_Top":"","icnBdSd_Rds_Right":"","icnBdSd_Rds_Bottom":"","icnBdSd_Rds_Left":"","tabBdSd_Rds_Top":"","tabBdSd_Rds_Right":"","tabBdSd_Rds_Bottom":"","tabBdSd_Rds_Left":"","conBdSd_borderStyle":"none","conBdSd_Rds_Top":"","conBdSd_Rds_Right":"","conBdSd_Rds_Bottom":"","conBdSd_Rds_Left":"","accordionBorderborderColor":"rgba(0,0,0,1)","accordionBorderborderStyle":"solid","accordionBorderRds_Top":"0","accordionBorderRds_Right":"0","accordionBorderRds_Bottom":"0","accordionBorderRds_Left":"0","accordionBorderHRds_Top":"0","accordionBorderHRds_Right":"0","accordionBorderHRds_Bottom":"0","accordionBorderHRds_Left":"0","accordionExpandedBorderRds_Top":"","accordionExpandedBorderRds_Right":"","accordionExpandedBorderRds_Bottom":"","accordionExpandedBorderRds_Left":"","accordionExpandedBorderHRds_Top":"0","accordionExpandedBorderHRds_Right":"0","accordionExpandedBorderHRds_Bottom":"0","accordionExpandedBorderHRds_Left":"0","icnMrg_Top":"0","icnMrg_Right":"0","icnMrg_Bottom":"0","icnMrg_Left":"0","icnPad_Top":"0","icnPad_Right":"0","icnPad_Bottom":"0","icnPad_Left":"0","tabMrg_Top":"0","tabMrg_Right":"0","tabMrg_Bottom":"0","tabMrg_Left":"0","TABtabMrg_Top":"","TABtabMrg_Right":"","TABtabMrg_Bottom":"","TABtabMrg_Left":"","tabPad_Top":"0","tabPad_Right":"0","tabPad_Bottom":"0","tabPad_Left":"0","TABtabPad_Top":"","TABtabPad_Right":"","TABtabPad_Bottom":"","TABtabPad_Left":"","conMrg_Top":"","conMrg_Right":"","conMrg_Bottom":"","conMrg_Left":"","conPad_Top":"0","conPad_Right":"0","conPad_Bottom":"0","conPad_Left":"0","accordionMarginTop":"","accordionMarginRight":"","accordionMarginBottom":"","accordionMarginLeft":"","TABaccordionMarginTop":"","TABaccordionMarginRight":"","TABaccordionMarginBottom":"","TABaccordionMarginLeft":"","MOBaccordionMarginTop":"","MOBaccordionMarginRight":"","MOBaccordionMarginBottom":"","MOBaccordionMarginLeft":"","accordionPaddingisLinked":false,"accordionPaddingTop":"32","accordionPaddingRight":"36","accordionPaddingBottom":"32","accordionPaddingLeft":"36","TABaccordionPaddingTop":"20","TABaccordionPaddingRight":"25","TABaccordionPaddingBottom":"20","TABaccordionPaddingLeft":"25","MOBaccordionPaddingTop":"","MOBaccordionPaddingRight":"","MOBaccordionPaddingBottom":"","MOBaccordionPaddingLeft":"","commonStyles":{"desktop":".eb-parent-eb-accordion-p69c8{display:block}.root-eb-accordion-p69c8{position:relative}","tab":".eb-parent-eb-accordion-p69c8{display:block}","mobile":".eb-parent-eb-accordion-p69c8{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion root-eb-accordion-p69c8"><div class="eb-parent-wrapper eb-parent-eb-accordion-p69c8 "><div class="eb-accordion-container eb-accordion-p69c8 eb-accordion-type-horizontal eb-accordion-bottom-top" data-accordion-type="horizontal" data-tab-icon="dashicons-plus-alt2" data-expanded-icon="dashicons-minus" data-transition-duration="500"><div class="eb-accordion-inner">\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-2e8vx","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":1,"inheritedAccordionType":"horizontal","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-p69c8","accordionLists":[{"id":1,"title":"Initiation","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Planning","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Execution","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false}],"accordionType":"horizontal","commonStyles":{"desktop":".eb-parent-eb-accordion-item-2e8vx{display:block}.root-eb-accordion-item-2e8vx{position:relative}","tab":".eb-parent-eb-accordion-item-2e8vx{display:block}","mobile":".eb-parent-eb-accordion-item-2e8vx{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-2e8vx eb-accordion-wrapper" data-clickable="true"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-p69c8" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-p69c8"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-p69c8"><h3 class="eb-accordion-title">Initiation</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-p69c8"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Define the project\'s objectives, scope, and feasibility. Then develop a project charter or plan to establish a clear starting point.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-a6dmj","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":2,"inheritedAccordionType":"horizontal","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-p69c8","accordionLists":[{"id":1,"title":"Initiation","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Planning","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Execution","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false}],"accordionType":"horizontal","commonStyles":{"desktop":".eb-parent-eb-accordion-item-a6dmj{display:block}.root-eb-accordion-item-a6dmj{position:relative}","tab":".eb-parent-eb-accordion-item-a6dmj{display:block}","mobile":".eb-parent-eb-accordion-item-a6dmj{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-a6dmj eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-p69c8" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-p69c8"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-p69c8"><h3 class="eb-accordion-title">Planning</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-p69c8"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Create project roadmap, including timelines, milestones & resource allocation. Develop risk management, communication & QA plans.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e\n\n\x3c!-- wp:essential-blocks/accordion-item {"blockId":"eb-accordion-item-1gbny","blockMeta":{"desktop":"","tab":"","mobile":""},"itemId":3,"inheritedAccordionType":"horizontal","inheritedTabIcon":"dashicons-plus-alt2","inheritedExpandedIcon":"dashicons-minus","parentBlockId":"eb-accordion-p69c8","accordionLists":[{"id":1,"title":"Initiation","clickable":true,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":2,"title":"Planning","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false},{"id":3,"title":"Execution","clickable":false,"titlePrefixType":"none","titlePrefixIcon":"dashicon dashicons dashicons-admin-users","titlePrefixText":"Prefix","titlePrefixColor":"","titlePrefixImgUrl":"","titlePrefixImgId":"","titlePrefixImgAlt":"","titleSuffixType":"none","titleSuffixIcon":"dashicon dashicons dashicons-admin-site","titleSuffixIconColor":"","titleSuffixText":"Suffix","titleSuffixImgUrl":"","titleSuffixImgId":"","titleSuffixImgAlt":"","accordionColor":"","titleColor":"","imageUrl":"http://essential-blocks.test/wp-content/plugins/essential-blocks/assets/images/image-placeholder.jpg","imageId":"","imageAlt":"","isBlockSelected":false}],"accordionType":"horizontal","commonStyles":{"desktop":".eb-parent-eb-accordion-item-1gbny{display:block}.root-eb-accordion-item-1gbny{position:relative}","tab":".eb-parent-eb-accordion-item-1gbny{display:block}","mobile":".eb-parent-eb-accordion-item-1gbny{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-accordion-item eb-accordion-item-1gbny eb-accordion-wrapper" data-clickable="false"><div class="eb-accordion-title-wrapper eb-accordion-title-wrapper-eb-accordion-p69c8" tabindex="0"><span class="eb-accordion-icon-wrapper eb-accordion-icon-wrapper-eb-accordion-p69c8"><span class="dashicon dashicons dashicons-plus-alt2 eb-accordion-icon"></span></span><div class="eb-accordion-title-content-wrap title-content-eb-accordion-p69c8"><h3 class="eb-accordion-title">Execution</h3></div></div><div class="eb-accordion-content-wrapper eb-accordion-content-wrapper-eb-accordion-p69c8"><div class="eb-accordion-content">\x3c!-- wp:paragraph --\x3e\n<p>Implement the project plan by coordinating team activities. Monitor progress, manage workflows, and address issues as they arise.</p>\n\x3c!-- /wp:paragraph --\x3e</div></div></div>\n\x3c!-- /wp:essential-blocks/accordion-item --\x3e</div></div></div></div>\n\x3c!-- /wp:essential-blocks/accordion --\x3e'}];function xe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):xe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var Be=["essential-blocks/accordion-item"];const Te=(0,i.memo)((0,m.withBlockContext)(Re)(function(e){var t,a=e.attributes,l=e.setAttributes,c=e.isSelected,u=e.clientId,g=a.blockId,f=a.classHook,y=a.accordionType,h=a.displayIcon,v=a.tabIcon,w=a.expandedIcon,k=a.tagName,R=a.faqSchema,_=a.accordionChildCount,C=a.accordionLists,E=a.showBlockContent,x=a.titleOrientation,S=a.activeAccordionIndex,B=a.nextItemId,T=Se(Se({},e),{},{blockPrefix:"eb-accordion",style:React.createElement(ve,e)}),N=(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url)+"/image-placeholder.jpg",P=(0,b.useSelect)(function(e){return e("core/block-editor").getBlocksByClientId(u)[0]}).innerBlocks,O=(0,i.useRef)(P),I=function(){var e=B||1,t=(0,d.createBlock)("essential-blocks/accordion-item",{itemId:e,title:(0,n.__)("Accordion title ".concat(e),"essential-blocks"),inheritedAccordionType:y,inheritedTagName:k,inheritedDisplayIcon:h,inheritedTabIcon:v,inheritedExpandedIcon:w,parentBlockId:g}),a=[].concat((0,r.A)(P),[t]);(0,b.dispatch)("core/block-editor").replaceInnerBlocks(u,a).then(function(){l({accordionLists:[].concat((0,r.A)(C),[{id:e,title:(0,n.__)("Accordion title ".concat(e),"essential-blocks"),clickable:!1,titlePrefixType:"none",titlePrefixIcon:"dashicon dashicons dashicons-admin-users",titlePrefixText:"Prefix",titlePrefixColor:"",titlePrefixBGColor:"",titlePrefixImgUrl:"",titlePrefixImgId:"",titlePrefixImgAlt:"",titleSuffixType:"none",titleSuffixIcon:"dashicon dashicons dashicons-admin-site",titleSuffixIconColor:"",titleSuffixBgColor:"",titleSuffixImgUrl:"",titleSuffixImgId:"",titleSuffixImgAlt:"",accordionColor:"",titleColor:"",iconColor:"",imageUrl:N,imageId:"",imageAlt:"",isBlockSelected:!1}]),accordionChildCount:(P?P.length:0)+1,nextItemId:e+1}),l({activeAccordionIndex:e})})},D=(0,b.dispatch)("core/block-editor").updateBlockAttributes;(0,i.useEffect)(function(){v||l({tabIcon:"fas fa-angle-right"}),w||l({expandedIcon:"fas fa-angle-down"}),0===C.length&&0===P.length&&l({accordionLists:[{id:1,title:"Accordion title 1",clickable:!0,titlePrefixType:"none",titlePrefixIcon:"dashicon dashicons dashicons-admin-users",titlePrefixText:"Prefix",titlePrefixColor:"",titlePrefixBGColor:"",titlePrefixImgUrl:"",titlePrefixImgId:"",titlePrefixImgAlt:"",titleSuffixType:"none",titleSuffixIcon:"dashicon dashicons dashicons-admin-site",titleSuffixIconColor:"",titleSuffixBgColor:"",titleSuffixText:"Suffix",titleSuffixImgUrl:"",titleSuffixImgId:"",titleSuffixImgAlt:"",accordionColor:"",titleColor:"",iconColor:"",imageUrl:N,imageId:"",imageAlt:"",isBlockSelected:!1},{id:2,title:"Accordion title 2",clickable:!1,titlePrefixType:"none",titlePrefixIcon:"dashicon dashicons dashicons-admin-users",titlePrefixText:"Prefix",titlePrefixColor:"",titlePrefixBGColor:"",titlePrefixImgUrl:"",titlePrefixImgId:"",titlePrefixImgAlt:"",titleSuffixType:"none",titleSuffixIcon:"dashicon dashicons dashicons-admin-site",titleSuffixIconColor:"",titleSuffixBgColor:"",titleSuffixText:"Suffix",titleSuffixImgUrl:"",titleSuffixImgId:"",titleSuffixImgAlt:"",accordionColor:"",titleColor:"",iconColor:"",imageUrl:N,imageId:"",imageAlt:"",isBlockSelected:!1},{id:3,title:"Accordion title 3",clickable:!1,titlePrefixType:"none",titlePrefixIcon:"dashicon dashicons dashicons-admin-users",titlePrefixText:"Prefix",titlePrefixColor:"",titlePrefixBGColor:"",titlePrefixImgUrl:"",titlePrefixImgId:"",titlePrefixImgAlt:"",titleSuffixType:"none",titleSuffixIcon:"dashicon dashicons dashicons-admin-site",titleSuffixIconColor:"",titleSuffixBgColor:"",titleSuffixText:"Suffix",titleSuffixImgUrl:"",titleSuffixImgId:"",titleSuffixImgAlt:"",accordionColor:"",titleColor:"",iconColor:"",imageUrl:N,imageId:"",imageAlt:"",isBlockSelected:!1}],nextItemId:4});var e=C.every(function(e){return 1===Object.keys(e).length&&e.hasOwnProperty("id")});if((0===C.length||e)&&P.length>0){(0,he.times)(P.length,function(e){D(P[e].clientId,{itemId:e+1})});var t=P.map(function(e,t){return{id:t+1,title:e.attributes.title,clickable:e.attributes.clickable,titlePrefixType:e.attributes.titlePrefixType,titlePrefixIcon:e.attributes.titlePrefixIcon,titlePrefixText:e.attributes.titlePrefixText,titlePrefixColor:e.attributes.titlePrefixColor,titlePrefixBgColor:e.attributes.titlePrefixBgColor,titlePrefixImgUrl:e.attributes.titlePrefixImgUrl,titlePrefixImgId:e.attributes.titlePrefixImgId,titlePrefixImgAlt:e.attributes.titlePrefixImgAlt,titleSuffixType:e.attributes.titleSuffixType,titleSuffixIcon:e.attributes.titleSuffixIcon,titleSuffixIconColor:e.attributes.titleSuffixIconColor,titleSuffixBgColor:e.attributes.titleSuffixBgColor,titleSuffixText:e.attributes.titleSuffixText,titleSuffixImgUrl:e.attributes.titleSuffixImgUrl,titleSuffixImgId:e.attributes.titleSuffixImgId,titleSuffixImgAlt:e.attributes.titleSuffixImgAlt,accordionColor:e.attributes.accordionColor,titleColor:e.attributes.titleColor,iconColor:e.attributes.iconColor,imageUrl:e.attributes.imageUrl,imageId:e.attributes.imageId,imageAlt:e.attributes.imageAlt,isBlockSelected:e.attributes.isSelected}});l({accordionLists:t,nextItemId:P.length+1})}},[]),(0,i.useEffect)(function(){if(P.length>0&&(!B||1===B)){var e=Math.max.apply(Math,(0,r.A)(P.map(function(e){return e.attributes.itemId||0})));e>0&&l({nextItemId:e+1})}},[P,B]),(0,i.useEffect)(function(){if(O.current.length!==P.length&&((null==O.current||P.length>O.current.length)&&(O.current=P),P.length<O.current.length)){var e=O.current.filter(function(e){return!P.some(function(t){return t.clientId===e.clientId})});if(1===e.length){var t,a=null===(t=e[0])||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.itemId,n=C.filter(function(e){return parseInt(e.id)!==a});l({accordionLists:n,accordionChildCount:n.length})}O.current=P}},[P]);var A=function(e,t,n){var o=Se({},a.accordionLists[n]),c=(0,r.A)(a.accordionLists);c[n]=o,Array.isArray(e)?e.map(function(e,a){c[n][e]=t[a]}):c[n][e]=t,l({accordionLists:c})},M=(0,i.useCallback)(function(e,t){if(!e)return null;var a=e.find(function(e){return e.id===t});return a?React.createElement("div",{className:"eb-accordion-image-editor"},a.imageUrl?React.createElement(React.Fragment,null,React.createElement(s.MediaUpload,{onSelect:function(a){var n=a.id,o=a.url,r=a.alt;return A(["imageUrl","imageId","imageAlt"],[o,n,r],e.findIndex(function(e){return e.id===t}))},type:"image",value:a.imageId,render:function(e){var t=e.open;return React.createElement(React.Fragment,null,React.createElement("img",{src:a.imageUrl,alt:a.imageAlt||""}),React.createElement(p.Button,{className:"components-button eb-replace-img-button",label:(0,n.__)("Replace Image","essential-blocks"),icon:"format-image",onClick:t}))}})):React.createElement(React.Fragment,null,React.createElement(s.MediaUpload,{onSelect:function(a){var n=a.id,o=a.url,r=a.alt;return A(["imageUrl","imageId","imageAlt"],[o,n,r],e.findIndex(function(e){return e.id===t}))},type:"image",value:a.imageId,render:function(e){var t,a=e.open;return React.createElement(React.Fragment,null,React.createElement("img",{src:(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url)+"/image-placeholder.jpg"}),React.createElement(p.Button,{className:"components-button eb-replace-img-button",label:(0,n.__)("Replace Image","essential-blocks"),icon:"format-image",onClick:a}))}}))):null},[C,S]),L=(0,b.useSelect)(function(e){return e("core/block-editor").getBlockSelectionStart()}),F=P.find(function(e){return e.clientId===L});(0,i.useEffect)(function(){if(F){var e,t=null==F||null===(e=F.attributes)||void 0===e?void 0:e.itemId;l({activeAccordionIndex:t})}},[F]);var j="image"===y?" eb-accordion-type-image":"horizontal"===y?" eb-accordion-type-horizontal":"",H="horizontal"===y?"bottom-top"===x?" eb-accordion-bottom-top":" eb-accordion-top-bottom":"";return React.createElement(React.Fragment,null,c&&React.createElement(ye,(0,o.A)({},e,{addAccordion:I})),React.createElement(m.BlockProps.Edit,T,React.createElement(m.BrowseTemplate,(0,o.A)({},e,{Icon:_e,title:(0,n.__)("Accordion","essential-blocks"),description:(0,n.__)("Choose a template for the Accordion or start blank.","essential-blocks"),patterns:Ee,startTempateIndex:0})),E&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(g," ").concat(f)},React.createElement("div",{className:"".concat(g," eb-accordion-container").concat(j).concat(H)},React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-accordion-inner"},React.createElement(s.InnerBlocks,{template:function(e){return(0,he.times)(e,function(e){return["essential-blocks/accordion-item",{itemId:e+1,title:(0,n.__)("Accordion title ".concat(e+1),"essential-blocks"),inheritedAccordionType:y,inheritedDisplayIcon:h,inheritedTabIcon:"fas fa-angle-right",inheritedExpandedIcon:"fas fa-angle-down",inheritedTagName:k,faqSchema:R,parentBlockId:g}]})}(_),templateLock:"insert",allowedBlocks:Be})),"image"===y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-accordion-image-container"},M(C,S))))),React.createElement(p.Button,{className:"is-default eb-accordion-add-button",label:(0,n.__)("Add a New Accordion Item","essential-blocks"),icon:"plus-alt2",onClick:I},React.createElement("span",{className:"eb-accordion-add-button-label"},(0,n.__)("Add a New Accordion Item","essential-blocks")))))))})),Ne=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Accordion","apiVersion":2,"name":"essential-blocks/accordion","category":"essential-blocks","description":"Display your FAQs & improve user experience with Accordion/Toggle block","textdomain":"essential-blocks","supports":{"anchor":true,"html":false,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script","providesContext":{"eb/accordionParentBlockId":"blockId","eb/accordionInheritedAccordionType":"accordionType","eb/accordionInheritedDisplayIcon":"displayIcon","eb/accordionInheritedTabIcon":"tabIcon","eb/accordionInheritedExpandedIcon":"expandedIcon","eb/accordionInheritedTagName":"tagName","eb/accordionFaqSchema":"faqSchema","eb/accordionLists":"accordionLists","eb/accordionType":"accordionType"}}'),Pe=function(e){var t=e.icon;return React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(t," eb-accordion-icon")}))};function Oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var De=lodash.omit;const Ae=[{attributes:Ie({},Re),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,l=t.tabIcon,c=t.expandedIcon,i=t.transitionDuration;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?l:"","data-expanded-icon":r?c:"","data-transition-duration":i?1e3*Number(i):500},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(s.InnerBlocks.Content,null)))))}},{attributes:Ie({},Re),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,l=t.tabIcon,c=t.expandedIcon;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?l:"","data-expanded-icon":r?c:""},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(s.InnerBlocks.Content,null)))))}},{attributes:Ie(Ie({},De(Ie({},Re),["tabIcon","expandedIcon"])),{},{accordions:{type:"array",selector:".eb-accordion-wrapper",source:"query",default:[],query:{title:{type:"string",selector:".eb-accordion-title",source:"html"},content:{type:"string",selector:".eb-accordion-content",source:"html"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}}},selectedTab:{type:"string",default:""},expandedTabs:{type:"array",default:[]},tabIcon:{type:"string",default:"fas fa-angle-right"},expandedIcon:{type:"string",default:"fas fa-angle-down"}}),supports:{align:["wide","full"]},migrate:function(e){var t=e.accordions.map(function(e){return(0,d.createBlock)("essential-blocks/accordion-item",{title:e.title},[(0,d.createBlock)("core/paragraph",{content:e.content})])});return[De(e,["accordions"]),t]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.accordionType,r=t.displayIcon,l=t.accordions,c=t.tabIcon,i=t.expandedIcon,p=t.tagName;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":o||"toggle","data-tab-icon":r?c:"","data-expanded-icon":r?i:""},React.createElement("div",{className:"eb-accordion-inner"},l.map(function(e,t){return React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":"".concat(e.clickable),key:t},React.createElement("div",{className:"eb-accordion-title-wrapper"},r&&React.createElement(Pe,{icon:c}),React.createElement(s.RichText.Content,{tagName:p,className:"eb-accordion-title",value:e.title})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-accordion-content",value:e.content})))})))))}},{attributes:Ie(Ie({},Re),{},{accordions:{type:"array",selector:".eb-accordion-wrapper",source:"query",default:[],query:{title:{type:"string",selector:".eb-accordion-title",source:"html"},content:{type:"string",selector:".eb-accordion-content",source:"html"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}}},selectedTab:{type:"string",default:""},expandedTabs:{type:"array",default:[]}}),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.accordionType,o=t.displayIcon,r=t.accordions,l=t.tabIcon,c=t.expandedIcon;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-accordion-container ".concat(a),"data-accordion-type":n||"toggle","data-tab-icon":o?l:"","data-expanded-icon":o?c:""},React.createElement("div",{className:"eb-accordion-inner"},r.map(function(e,t){return React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":"".concat(e.clickable),key:t},React.createElement("div",{className:"eb-accordion-title-wrapper"},o&&React.createElement(Pe,{icon:l}),React.createElement(s.RichText.Content,{tagName:"h3",className:"eb-accordion-title",value:e.title})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement(s.RichText.Content,{tagName:"p",className:"eb-accordion-content",value:e.content})))}))))}}];var Me,Le;function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Fe.apply(null,arguments)}(0,m.ebConditionalRegisterBlockType)(Ne,{icon:function(e){return c.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 49"},e),Me||(Me=c.createElement("path",{fill:"#6C3BFF",d:"M13.507 17.273c0-.468-.286-.91-.91-.91h-6.39c-.649 0-.908.468-.908.91 0 .467.467.909.909.909h6.39c.623 0 .909-.442.909-.91zM8.026 39.532H5.195v-2.83c0-.468-.286-.832-.831-.832-.468 0-.832.286-.832.831v2.831h-2.7c-.468 0-.832.26-.832.806 0 .467.286.83.831.83h2.727v2.728c0 .468.286.831.832.831.545.104.83-.363.83-.83v-2.728h2.832c.467 0 .831-.286.831-.831-.026-.546-.415-.806-.857-.806M59.09.78H17.689c-.649 0-.909.467-.909.908v30.364h-3.09c-.65 0-.91.468-.91.91v14.674c-.182.468.286.91.91.91h37.74c.649 0 .909-.468.909-.91V33.87h6.753c.65 0 .909-.467.909-.909V1.688c0-.649-.468-.909-.91-.909zm-8.752 45.584H14.779V33.87h35.559zm7.558-14.676H18.597V2.494h39.3z"})),Le||(Le=c.createElement("path",{fill:"#6C3BFF",d:"M26.623 14.182h7.845c.83 0 1.272-.468 1.272-.91 0-.649-.65-.908-1.273-.908h-7.844c-.83 0-1.272.467-1.272.909 0 .441.649.909 1.272.909m3.091 3.091c0 .467.468 1.09.91 1.09H47.48c.649 0 .909-.467.909-.908 0-.468-.468-1.091-.91-1.091H30.65c-.65 0-.936.467-.936.909m-3.272 1.091c.363 0 .649-.182.83-.286.183-.104.286-.468.286-.831 0-.286-.181-.65-.285-.831-.364-.182-1.091-.182-1.637.104-.181.181-.285.467-.285.83 0 .286.181.65.285.832.182.182.442.182.806.182m21.065 2.753H30.649c-.649 0-.909.467-.909.909 0 .65.468.91.91.91h16.857c.649 0 .909-.468.909-.91 0-.468-.442-.91-.91-.91zm-21.065 2c.363 0 .649-.182.83-.286.183-.182.286-.467.286-.831s-.181-.65-.285-.831c-.364-.286-1.091-.286-1.637 0-.104.182-.285.467-.285.831s.181.65.285.831c.182.182.442.286.806.286m-.832 18.052h16.858c.649 0 .909-.468.909-.91.181-.467-.286-.908-.91-.908H25.61c-.649 0-.909.467-.909.909 0 .623.468.909.91.909zm-4 .363c.286 0 .65-.181.832-.285.181-.182.285-.468.285-.831 0-.364-.181-.65-.285-.832-.546-.467-1.273-.467-1.637 0-.182.182-.285.468-.285.832s.181.649.285.83c.156.183.442.286.805.286"})))},attributes:Re,keywords:[(0,n.__)("accordion","essential-blocks"),(0,n.__)("toggle","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:Te,save:function(e){var t,a,n,o=e.attributes,r=o.blockId,l=o.classHook,c=o.accordionType,i=o.displayIcon,p=o.tabIcon,b=o.expandedIcon,d=o.transitionDuration,u=o.accordionLists,g=o.titleOrientation,f=null==u?void 0:u.every(function(e){return!1===e.clickable}),y=(null===(t=EssentialBlocksLocalize)||void 0===t||t.image_url,"image"===c?" eb-accordion-type-image":"horizontal"===c?" eb-accordion-type-horizontal":""),h="horizontal"===c?"bottom-top"===g?" eb-accordion-bottom-top":" eb-accordion-top-bottom":"";return React.createElement(m.BlockProps.Save,{attributes:o},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(l)},React.createElement("div",{className:"eb-accordion-container ".concat(r).concat(y).concat(h),"data-accordion-type":c||"toggle","data-tab-icon":i?p:"","data-expanded-icon":i?b:"","data-transition-duration":d?1e3*Number(d):500},React.createElement("div",{className:"eb-accordion-inner"},React.createElement(s.InnerBlocks.Content,null)),"image"===c&&React.createElement("div",{className:"eb-accordion-image-container"},React.createElement("img",{src:f&&(null===(a=u[0])||void 0===a?void 0:a.imageUrl)||"",alt:f&&(null===(n=u[0])||void 0===n?void 0:n.imageAlt)||""})))))},example:{attributes:{accordions:[{title:"Accordion Tab Title 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},{title:"Accordion Tab Title 2",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}],displayIcon:!0,tabIcon:"fas fa-angle-right"}},deprecated:Ae})},4366:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(4715),c=a(6427),i=a(8468),s=[{label:(0,n.__)("Apollo","essential-blocks"),value:"apollo"},{label:(0,n.__)("Bubba","essential-blocks"),value:"bubba"},{label:(0,n.__)("Chico","essential-blocks"),value:"chico"},{label:(0,n.__)("Dexter","essential-blocks"),value:"dexter"},{label:(0,n.__)("Duke","essential-blocks"),value:"duke"},{label:(0,n.__)("Goliath","essential-blocks"),value:"goliath"},{label:(0,n.__)("Jazz","essential-blocks"),value:"jazz"},{label:(0,n.__)("Julia","essential-blocks"),value:"julia"},{label:(0,n.__)("Layla","essential-blocks"),value:"layla"},{label:(0,n.__)("Lexi","essential-blocks"),value:"lexi"},{label:(0,n.__)("Lily","essential-blocks"),value:"lily"},{label:(0,n.__)("Marley","essential-blocks"),value:"marley"},{label:(0,n.__)("Milo","essential-blocks"),value:"milo"},{label:(0,n.__)("Ming","essential-blocks"),value:"ming"},{label:(0,n.__)("Moses","essential-blocks"),value:"moses"},{label:(0,n.__)("Oscar","essential-blocks"),value:"oscar"},{label:(0,n.__)("Ruby","essential-blocks"),value:"ruby"},{label:(0,n.__)("Roxy","essential-blocks"),value:"roxy"},{label:(0,n.__)("Romeo","essential-blocks"),value:"romeo"},{label:(0,n.__)("Sadie","essential-blocks"),value:"sadie"},{label:(0,n.__)("Selena","essential-blocks"),value:"selena"},{label:(0,n.__)("Sarah","essential-blocks"),value:"sarah"}],p=[{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),value:"right"}],b=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"}],d="imgHeight",m="imgWidth",u="wrpMargin",g="wrpPadding",f="imgBrdShdw",y="headerText",h="contentText",v=a(5694);function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function k(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const R=k(k(k(k(k(k(k({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},header:{type:"string",source:"text",selector:"h2",default:"Header"},content:{type:"string",source:"text",selector:".eb-interactive-promo-content",default:"Content Text"},effectName:{type:"string",selector:".eb-interactive-promo-container",source:"attribute",attribute:"data-effect",default:"apollo"},imageURL:{type:"string",selector:"img",source:"attribute",attribute:"src"},imageID:{type:"string",default:null},imageAltTag:{type:"string",selector:"img",source:"attribute",attribute:"alt",default:"image"},newWindow:{type:"boolean",default:!1},headerColor:{type:"string",default:"var(--eb-global-primary-color)"},contentColor:{type:"string",default:"var(--eb-global-heading-color)"},link:{type:"string"},imageAlignment:{type:"string",default:"center"},isBackgroundGradient:{type:"boolean",default:!1},backgroundColor:{type:"string",default:"var(--eb-global-background-color)"},backgroundGradient:{type:"string"},titleTag:{type:"string",default:"h2"}},(0,v.generateTypographyAttributes)(y)),(0,v.generateTypographyAttributes)(h)),(0,v.generateResponsiveRangeAttributes)(d,{noUnits:!0})),(0,v.generateResponsiveRangeAttributes)(m,{noUnits:!0})),(0,v.generateDimensionsAttributes)(u,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,v.generateDimensionsAttributes)(g)),(0,v.generateBorderShadowAttributes)(f)),_=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.effectName),r=t.header,i=t.content,w=t.link,k=t.imageURL,R=t.imageAltTag,_=t.newWindow,C=t.headerColor,E=t.contentColor,x=t.imageAlignment,S=t.isBackgroundGradient,B=t.backgroundColor,T=t.backgroundGradient,N=t.titleTag;return React.createElement(v.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,borderPrefix:f,hasMargin:!0,hasBackground:!1}},React.createElement(v.InspectorPanel.General,null,React.createElement(v.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(c.BaseControl,{label:(0,n.__)("Background Image","essential-blocks")},React.createElement(l.MediaUpload,{onSelect:function(e){return a({imageURL:e.url})},type:"image",value:k,render:function(e){var t=e.open;return!k&&React.createElement(c.Button,{className:"eb-cia-upload-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),k&&React.createElement(v.ImageAvatar,{imageUrl:k,onDeleteImage:function(){return a({imageURL:null})}})),React.createElement(v.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:d,min:200,max:1e3,step:1,noUnits:!0}),React.createElement(v.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:m,min:0,max:1e3,step:1,noUnits:!0}),React.createElement(v.EBTextControl,{label:(0,n.__)("Image alt tag","essential-blocks"),value:R,onChange:function(e){return a({imageAltTag:e})}}),React.createElement(v.EBTextControl,{label:(0,n.__)("Header","essential-blocks"),value:r,onChange:function(e){return a({header:e})}}),React.createElement(c.BaseControl,{label:(0,n.__)("Header Tag","essential-blocks")},React.createElement(c.ButtonGroup,null,b.map(function(e,t){return React.createElement(c.Button,{key:t,isSecondary:N!==e.value,isPrimary:N===e.value,onClick:function(){return a({titleTag:e.value})}},e.label)}))),React.createElement(v.EBTextareaControl,{label:(0,n.__)("Content","essential-blocks"),value:i,onChange:function(e){return a({content:e})}}),React.createElement(v.EBTextControl,{label:(0,n.__)("Link","essential-blocks"),fieldType:"url",value:w,onChange:function(e){return a({link:e})},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(c.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:_,onChange:function(){return a({newWindow:!_})}}),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(c.ButtonGroup,null,p.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({imageAlignment:e.value})}},e.label)}))),React.createElement(c.SelectControl,{label:(0,n.__)("Promo Effect","essential-blocks"),value:o,options:s,onChange:function(e){return a({effectName:e})}}))),React.createElement(v.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(v.InspectorPanel.PanelBody,{title:(0,n.__)("Background Color","essential-blocks"),initialOpen:!0},React.createElement(c.ToggleControl,{label:(0,n.__)("Show Gradient Color","essential-blocks"),checked:S,onChange:function(){a({isBackgroundGradient:!S})}}),S||React.createElement(v.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:B,attributeName:"backgroundColor"}),S&&React.createElement(React.Fragment,null,React.createElement(v.GradientColorControl,{label:(0,n.__)("Gradient Color","essential-blocks"),gradientColor:T,onChange:function(e){return a({backgroundGradient:e})}}))),React.createElement(v.InspectorPanel.PanelBody,{title:(0,n.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(v.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:y}),React.createElement(v.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:C,attributeName:"headerColor"}))),React.createElement(v.InspectorPanel.PanelBody,{title:(0,n.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(v.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:h}),React.createElement(v.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:E,attributeName:"contentColor"}))))))};function C(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.blockMeta,t.blockId),r=(t.resOption,t.headerColor),l=t.contentColor,c=t.imageAlignment,i=t.isBackgroundGradient,s=t.backgroundColor,p=t.backgroundGradient,b=(t.classHook,(0,v.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t})),w=b.dimensionStylesDesktop,k=b.dimensionStylesTab,R=b.dimensionStylesMobile,_=(0,v.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=(0,v.generateTypographyStyles)({attributes:t,prefixConstant:y}),B=S.typoStylesDesktop,T=S.typoStylesTab,N=S.typoStylesMobile,P=(0,v.generateTypographyStyles)({attributes:t,prefixConstant:h}),O=P.typoStylesDesktop,I=P.typoStylesTab,D=P.typoStylesMobile,A=(0,v.generateResponsiveRangeStyles)({controlName:d,property:"height",attributes:t,customUnit:"px"}),M=A.rangeStylesDesktop,L=A.rangeStylesTab,F=A.rangeStylesMobile,j=(0,v.generateResponsiveRangeStyles)({controlName:m,property:"max-width",attributes:t,customUnit:"px"}),H=j.rangeStylesDesktop,z=j.rangeStylesTab,U=j.rangeStylesMobile,V=(0,v.generateBorderShadowStyles)({controlName:f,attributes:t}),G=V.styesDesktop,q=V.styesTab,W=V.styesMobile,Z=V.stylesHoverDesktop,J=V.stylesHoverTab,Y=V.stylesHoverMobile,Q=V.transitionStyle,X="left"===c?"margin: 0;":"right"===c?"margin: 0 0 0 auto;":"margin: 0 auto;",$="\n\t\t.eb-interactive-promo-wrapper figure > figcaption {\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(w,"\n\t\t\t").concat(C,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(B,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(O,"\n\t\t\tcolor: ").concat(l,";\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(M.replace(/\D/g,"")?M:"height: 100%;","\n\t\t\t").concat(H.replace(/\D/g,"")?H:"max-width: 100%;","\n\t\t\t").concat(G,"\n\t\t\t").concat(X,"\n\t\t\t").concat(i?"background: ".concat(p,";"):s?"background: ".concat(s,";"):"","\n\t\t\twidth: 100%;\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\t\t\ttransition: ").concat(Q,";\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(Z,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure img {\n\t\t\tmin-width: 100%;\n\t\t\tobject-fit: cover;\n\t\t}\n\t"),K="\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(k,"\n\t\t\t").concat(E,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(I,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(L.replace(/\D/g,"")?L:"height: 100%;","\n\t\t\t").concat(z.replace(/\D/g,"")?z:"max-width: 100%;","\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(J,"\n\t\t}\n\t"),ee="\n\t\t.eb-interactive-promo-wrapper.".concat(o," {\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-header {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo-content {\n\t\t\t").concat(D,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo figure {\n\t\t\t").concat(F.replace(/\D/g,"")?F:"height: 100%;","\n\t\t\t").concat(U.replace(/\D/g,"")?U:"max-width: 100%;","\n\t\t\t").concat(W,"\n\t\t}\n\n\t\t.eb-interactive-promo-wrapper.").concat(o," .eb-interactive-promo:hover figure {\n\t\t\t").concat(Y,"\n\t\t}\n\t"),te=(0,v.softMinifyCssStrings)("\n\t\t".concat($,"\n\t")),ae=(0,v.softMinifyCssStrings)("\n\t\t".concat(K,"\n\t")),ne=(0,v.softMinifyCssStrings)("\n\t\t".concat(ee,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(v.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:te,tabAllStyles:ae,mobileAllStyles:ne,blockName:n}))}var E=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M58.727.343H1.455C.636.343 0 .943 0 1.714v56.657c0 .772.636 1.372 1.455 1.372h57.09c.819 0 1.455-.6 1.455-1.372V1.714c.09-.771-.545-1.371-1.273-1.371zm-1.454 56.571H3.09v-54h54.182v54z"}),React.createElement("path",{fill:"#6C3BFF",d:"M14.818 12.343v13.543c0 1.371 1 2.314 2.455 2.314h27.909c1.454 0 2.454-.943 2.454-2.314V12.343c0-1.372-1-2.314-2.454-2.314H17c-1.182.085-2.182 1.028-2.182 2.314zM44.91 25.886H17V12.343h27.91v13.543z"}),React.createElement("path",{fill:"#6C3BFF",d:"M21.818 17.914h6.455c.363 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.364 0-.818.343-.818.771v.772c.09.343.273.771.818.771zM32.545 17.914h6.546c.364 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.363 0-.818.343-.818.771v.772c0 .343.364.771.727.771zM44.909 31.8H17c-1.455 0-2.455.943-2.455 2.314v13.543c0 1.372 1 2.314 2.455 2.314h27.909c1.455 0 2.455-.942 2.455-2.314V34.114c0-1.371-1-2.314-2.455-2.314zm0 15.857H17V34.114h27.909v13.543z"}))};function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const B=(0,i.memo)((0,v.withBlockContext)(R)(function(e){var t=e.isSelected,a=e.attributes,o=e.setAttributes,r=(a.blockMeta,a.blockId),i=(a.resOption,a.header),s=a.content,p=a.effectName,b=a.imageURL,d=a.imageID,m=a.imageAltTag,u=a.newWindow,g=a.link,f=a.classHook,y=a.titleTag;if(!b)return React.createElement(React.Fragment,null,React.createElement(v.EBMediaPlaceholder,{onSelect:function(e){return o({imageURL:e.url,imageID:e.id})},allowTypes:["image"],labels:{title:(0,n.__)("Interactive Promo","essential-blocks"),instructions:"Drag media file, upload or select files from your library."},icon:E}));var h=S(S({},e),{},{blockPrefix:"eb-interactive-promo",style:React.createElement(C,e)});return React.createElement(React.Fragment,null,t&&React.createElement(_,{attributes:a,setAttributes:o}),React.createElement(l.BlockControls,null,React.createElement(c.ToolbarGroup,null,React.createElement(c.ToolbarItem,null,function(){return React.createElement(l.MediaUpload,{onSelect:function(e){return o({imageURL:e.url,imageID:e.id})},allowedTypes:["image"],value:d,render:function(e){var t=e.open;return React.createElement(c.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Edit Image","essential-blocks"),icon:"edit",onClick:t})}})}))),React.createElement(v.BlockProps.Edit,h,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(f)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(r)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":p},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(p)},React.createElement("img",{src:b,alt:m}),React.createElement("figcaption",null,React.createElement(y,{className:"eb-interactive-promo-header"},i),React.createElement("p",{className:"eb-interactive-promo-content"},s),g&&React.createElement("a",{href:(0,v.sanitizeURL)(g),target:u?"_blank":"_self",rel:"noopener noreferrer"})))))))))}));var T;const N={attributes:{imageURL:(null===(T=EssentialBlocksLocalize)||void 0===T?void 0:T.image_url)+"/gallery-images/china.jpg"}};function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=[{attributes:(0,a(6087).omit)(O({},R),["titleTag"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,l=t.imageURL,c=t.imageAltTag,i=t.newWindow,s=t.link,p=t.classHook;return React.createElement(v.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:l,alt:c}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),s&&React.createElement("a",{href:(0,v.sanitizeURL)(s),target:i?"_blank":"_self",rel:"noopener noreferrer"}))))))))}},{attributes:O({},R),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,c=t.imageURL,i=t.imageAltTag,s=t.newWindow,p=t.link,b=t.classHook;return React.createElement("div",l.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(b)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:c,alt:i}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),p&&React.createElement("a",{href:p,target:s?"_blank":"_self",rel:"noopener noreferrer"}))))))))}},{attributes:O({},R),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,c=t.imageURL,i=t.imageAltTag,s=t.newWindow,p=t.link;return React.createElement("div",l.useBlockProps.save(),React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:c,alt:i}),React.createElement("figcaption",null,React.createElement("h2",{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),p&&React.createElement("a",{href:(0,v.sanitizeURL)(p),target:s?"_blank":"_self",rel:"noopener noreferrer"})))))))}}],D=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Interactive Promo","name":"essential-blocks/interactive-promo","description":"EB Interactive Promo lets you decorate your website outlook with its amazing Promo effects","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var A,M,L;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F.apply(null,arguments)}(0,v.ebConditionalRegisterBlockType)(D,{icon:function(e){return r.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),A||(A=r.createElement("path",{fill:"#6C3BFF",d:"M58.727.343H1.455C.636.343 0 .943 0 1.714v56.657c0 .772.636 1.372 1.455 1.372h57.09c.819 0 1.455-.6 1.455-1.372V1.714c.09-.771-.545-1.371-1.273-1.371m-1.454 56.571H3.09v-54h54.182z"})),M||(M=r.createElement("path",{fill:"#6C3BFF",d:"M14.818 12.343v13.543c0 1.371 1 2.314 2.455 2.314h27.909c1.454 0 2.454-.943 2.454-2.314V12.343c0-1.372-1-2.314-2.454-2.314H17c-1.182.085-2.182 1.028-2.182 2.314M44.91 25.886H17V12.343h27.91z"})),L||(L=r.createElement("path",{fill:"#6C3BFF",d:"M21.818 17.914h6.455c.363 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.364 0-.818.343-.818.771v.772c.09.343.273.771.818.771m10.727 0h6.546c.364 0 .818-.343.818-.771v-.772c0-.342-.364-.771-.818-.771h-6.455c-.363 0-.818.343-.818.771v.772c0 .343.364.771.727.771M44.909 31.8H17c-1.455 0-2.455.943-2.455 2.314v13.543c0 1.372 1 2.314 2.455 2.314h27.909c1.455 0 2.455-.942 2.455-2.314V34.114c0-1.371-1-2.314-2.455-2.314m0 15.857H17V34.114h27.909z"})))},attributes:R,keywords:[(0,n.__)("promo","essential-blocks"),(0,n.__)("message","essential-blocks"),(0,n.__)("eb essential","essential-blocks"),(0,n.__)("interactive","essential-blocks")],edit:B,save:function(e){var t=e.attributes,a=t.blockId,n=t.header,o=t.content,r=t.effectName,l=t.imageURL,c=t.imageAltTag,i=t.newWindow,s=t.link,p=t.classHook,b=t.titleTag;return React.createElement(v.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"eb-interactive-promo-wrapper ".concat(a)},React.createElement("div",{className:"eb-interactive-promo-container","data-effect":r},React.createElement("div",{className:"eb-interactive-promo hover-effect"},React.createElement("figure",{className:"effect-".concat(r)},React.createElement("img",{src:l,alt:c}),React.createElement("figcaption",null,React.createElement(b,{className:"eb-interactive-promo-header"},n),React.createElement("p",{className:"eb-interactive-promo-content"},o),s&&React.createElement("a",{href:(0,v.sanitizeURL)(s),target:i?"_blank":"_self",rel:"noopener noreferrer"}))))))))},example:N,deprecated:I})},4386:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(5694);function i(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"eb-socials"},t.map(function(e,t){var n=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:"#"===n?"":(0,c.sanitizeURL)(n),target:r?"_blank":"_self",rel:"noopener","aria-label":"social link"},React.createElement("i",{className:"hvr-icon eb-social-icon ".concat(o)})))}))}var s=a(9394),p=a(6427),b="wrpMrg_",d="wrpPad_",m="WrpBg_",u="wrpBdSd_",g="sclBdSd_",f="wrpW_",y="icnZ_",h="icnPd_",v="icnSp_",w="icnRg_",k="sdpr_";function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_(_(_(_(_(_(_({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},socialDetails:{type:"array",default:[]},profilesOnly:{type:"array"},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},icnEffect:{type:"string"},textShadowColor:{type:"string"},textHOffset:{type:"number"},textVOffset:{type:"number"},blurRadius:{type:"number"},showLinkNewTab:{type:"boolean",default:!0}},(0,c.generateResponsiveRangeAttributes)(y,{defaultRange:35,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(h,{defaultRange:1,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(v,{defaultRange:20,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(w,{noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(f,{defaultUnit:"%",defaultRange:100})),(0,c.generateResponsiveRangeAttributes)(k,{defaultRange:23})),(0,c.generateBackgroundAttributes)(m,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,c.generateBorderShadowAttributes)(u,{})),(0,c.generateBorderShadowAttributes)(g,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,c.generateDimensionsAttributes)(b)),(0,c.generateDimensionsAttributes)(d,{top:20,bottom:20,left:20,right:20}));var E=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],x=[{label:(0,n.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,n.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,n.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,n.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,n.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,n.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,n.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,n.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,n.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,n.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,n.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,n.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,n.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,n.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,n.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,n.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,n.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,n.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,n.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,n.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,n.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,n.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,n.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,n.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,n.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,n.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,n.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,n.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,n.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,n.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,n.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,n.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,n.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,n.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,n.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,n.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,n.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,n.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,n.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,n.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,n.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,n.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,n.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,n.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,n.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,n.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,n.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,n.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,n.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,n.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,n.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,n.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,n.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,n.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,n.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,n.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,n.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,n.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,n.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,n.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,n.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,n.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,n.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,n.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,n.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,n.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,n.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,n.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,n.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,n.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,n.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,n.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,n.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,n.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,n.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,n.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,n.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,n.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],S=[{label:(0,n.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,n.__)("Circular","essential-blocks"),value:"circular"},{label:(0,n.__)("Square","essential-blocks"),value:"square"}];function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=function(e){var t,a=e.attributes,o=e.setAttributes,r=(a.resOption,a.socialDetails),i=a.iconsJustify,f=a.isIconsDevider,R=a.icnsDevideColor,_=a.icnSepW,C=a.icnSepH,B=a.hvIcnColor,N=a.hvIcnBgc,P=a.icnEffect,O=a.iconShape,I=a.textShadowColor,D=a.textHOffset,A=a.textVOffset,M=a.blurRadius,L=a.showLinkNewTab;return(0,l.useEffect)(function(){var e=r.map(function(e){return T(T({},e),{},{isExpanded:!1})});o({socialDetails:e})},[]),React.createElement(c.InspectorPanel,{advancedControlProps:{marginPrefix:b,paddingPrefix:d,backgroundPrefix:m,borderPrefix:u,hasMargin:!0}},React.createElement(c.InspectorPanel.General,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Social Profiles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,n.__)("Show link in new tab","essential-blocks"),checked:L,onChange:function(){return o({showLinkNewTab:!L,socialDetails:(0,s.A)(r)})}}),React.createElement(c.SortControl,{items:r.map(function(e,t){return T(T({},e),{},{label:(a=(e.icon||" ").replace(/^fa[bsr] fa-|^dashicons-/i,""),a.split("_").map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" "))});var a}),labelKey:"label",onSortEnd:function(e){return o({socialDetails:e})},onDeleteItem:function(e){o({socialDetails:a.socialDetails.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:(t=function(e,t,n){var r=T({},a.socialDetails[n]),l=(0,s.A)(a.socialDetails);l[n]=r,Array.isArray(e)?e.map(function(e,a){l[n][e]=t[a]}):l[n][e]=t,o({socialDetails:l})},a.socialDetails.map(function(e,a){return React.createElement("div",{key:a},React.createElement(c.EBIconPicker,{title:(0,n.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return t("icon",e,a)}}),React.createElement(c.EBTextControl,{label:(0,n.__)("Title","essential-blocks"),value:e.title,onChange:function(e){return t("title",e,a)},enableAi:!0}),React.createElement(c.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return t("color",e,a)}}),React.createElement(c.ColorControl,{label:(0,n.__)("Icon Background","essential-blocks"),color:e.bgColor,onChange:function(e){return t("bgColor",e,a)}}),React.createElement(c.EBTextControl,{label:(0,n.__)("URL","essential-blocks"),fieldType:"url",value:e.link,onChange:function(e){return t("link",e,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),L&&React.createElement(p.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.linkOpenNewTab,onChange:function(e){return t("linkOpenNewTab",e,a)}}))})),hasAddButton:!0,onAddItem:function(){var e=[].concat((0,s.A)(a.socialDetails),[{title:"Behance",icon:"fab fa-behance",color:"",bgColor:"",link:"",linkOpenNewTab:!1,isExpanded:!1}]);o({socialDetails:e})},addButtonText:(0,n.__)("Add Social Profile","essential-blocks")})))),React.createElement(c.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Styles","essential-blocks"),initialOpen:!0},React.createElement(p.BaseControl,{label:(0,n.__)("Icon Shape","essential-blocks")},React.createElement(p.ButtonGroup,null,S.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:O!==e.value,isPrimary:O===e.value,onClick:function(){return function(e){switch(e){case"rounded":o({iconShape:e,sclBdSd_Rds_Bottom:"10",sclBdSd_Rds_Left:"10",sclBdSd_Rds_Right:"10",sclBdSd_Rds_Top:"10",sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0});break;case"circular":o({iconShape:e,sclBdSd_Rds_Bottom:"50",sclBdSd_Rds_Left:"50",sclBdSd_Rds_Right:"50",sclBdSd_Rds_Top:"50",sclBdSd_Rds_Unit:"%",sclBdSd_Rds_isLinked:!0});break;case"square":o({iconShape:e,sclBdSd_Rds_Bottom:void 0,sclBdSd_Rds_Left:void 0,sclBdSd_Rds_Right:void 0,sclBdSd_Rds_Top:void 0,sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0})}}(e.value)}},e.label)}))),React.createElement(p.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(p.SelectControl,{value:i,options:E,onChange:function(e){return o({iconsJustify:e})}})),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Size","essential-blocks"),controlName:y,min:5,max:300,step:1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Padding","essential-blocks"),controlName:h,min:0,max:6,step:.1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Spacing","essential-blocks"),controlName:v,min:0,max:100,step:1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Rows Gap","essential-blocks"),controlName:w,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed")),React.createElement(p.ToggleControl,{label:(0,n.__)("Icons Devider","essential-blocks"),checked:f,onChange:function(){return o({isIconsDevider:!f})}}),f&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:R,attributeName:"icnsDevideColor"}),React.createElement(p.RangeControl,{label:(0,n.__)("Width","essential-blocks"),value:_,onChange:function(e){return o({icnSepW:e})},step:1,min:1,max:50}),React.createElement(p.RangeControl,{label:(0,n.__)("Height","essential-blocks"),value:C,onChange:function(e){return o({icnSepH:e})},step:1,min:1,max:300}),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Position From Right","essential-blocks"),controlName:k,min:0,max:80,step:1})),React.createElement(c.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:B,attributeName:"hvIcnColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Hover Background","essential-blocks"),color:N,attributeName:"hvIcnBgc"}),React.createElement(p.SelectControl,{label:(0,n.__)("Icon Hover Effect","essential-blocks"),value:P,options:x,onChange:function(e){o({icnEffect:e})}})),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Border & Box-Shadow"),initialOpen:!1},React.createElement(c.BorderShadowControl,{controlName:g})),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Shadow","essential-blocks"),initialOpen:!1},React.createElement(c.ColorControl,{label:(0,n.__)("Shadow Color","essential-blocks"),color:I,attributeName:"textShadowColor"}),React.createElement(c.ResetControl,{onReset:function(){return o({textHOffset:void 0})}},React.createElement(p.RangeControl,{label:(0,n.__)("Horizontal Offset","essential-blocks"),value:D,onChange:function(e){return o({textHOffset:e})},min:0,max:100})),React.createElement(c.ResetControl,{onReset:function(){return o({textVOffset:void 0})}},React.createElement(p.RangeControl,{label:(0,n.__)("Vertical Offset","essential-blocks"),value:A,onChange:function(e){return o({textVOffset:e})},min:0,max:100})),React.createElement(c.ResetControl,{onReset:function(){return o({blurRadius:void 0})}},React.createElement(p.RangeControl,{label:(0,n.__)("Blur Radius","essential-blocks"),value:M,onChange:function(e){return o({blurRadius:e})},min:0,max:100}))))))};function P(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),l=t.iconsJustify,i=t.iconsVAlign,s=t.isIconsDevider,p=t.icnsDevideColor,R=void 0===p?"#cacaca":p,_=t.icnSepW,C=void 0===_?1:_,E=t.icnSepH,x=void 0===E?30:E,S=t.hvIcnColor,B=t.hvIcnBgc,T=t.textShadowColor,N=t.textHOffset,P=t.textVOffset,O=t.blurRadius,I=(t.classHook,(0,c.generateResponsiveRangeStyles)({controlName:f,property:"max-width",attributes:t})),D=I.rangeStylesDesktop,A=I.rangeStylesTab,M=I.rangeStylesMobile,L=(0,c.generateResponsiveRangeStyles)({controlName:y,customUnit:"px",property:"font-size",attributes:t}),F=L.rangeStylesDesktop,j=L.rangeStylesTab,H=L.rangeStylesMobile,z=(0,c.generateResponsiveRangeStyles)({controlName:h,customUnit:"em",property:"padding",attributes:t}),U=z.rangeStylesDesktop,V=z.rangeStylesTab,G=z.rangeStylesMobile,q=(0,c.generateResponsiveRangeStyles)({controlName:v,customUnit:"px",property:"column-gap",attributes:t}),W=q.rangeStylesDesktop,Z=q.rangeStylesTab,J=q.rangeStylesMobile,Y=(0,c.generateResponsiveRangeStyles)({controlName:w,customUnit:"px",property:"row-gap",attributes:t}),Q=Y.rangeStylesDesktop,X=Y.rangeStylesTab,$=Y.rangeStylesMobile,K=(0,c.generateResponsiveRangeStyles)({controlName:k,property:"margin-right",attributes:t}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=(0,c.generateBackgroundControlStyles)({attributes:t,controlName:m}),oe=ne.backgroundStylesDesktop,re=ne.hoverBackgroundStylesDesktop,le=ne.backgroundStylesTab,ce=ne.hoverBackgroundStylesTab,ie=ne.backgroundStylesMobile,se=ne.hoverBackgroundStylesMobile,pe=ne.overlayStylesDesktop,be=ne.hoverOverlayStylesDesktop,de=ne.overlayStylesTab,me=ne.hoverOverlayStylesTab,ue=ne.overlayStylesMobile,ge=ne.hoverOverlayStylesMobile,fe=ne.bgTransitionStyle,ye=ne.ovlTransitionStyle,he=(0,c.generateDimensionsControlStyles)({attributes:t,controlName:b,styleFor:"margin"}),ve=he.dimensionStylesDesktop,we=he.dimensionStylesTab,ke=he.dimensionStylesMobile,Re=(0,c.generateDimensionsControlStyles)({attributes:t,controlName:d,styleFor:"padding"}),_e=Re.dimensionStylesDesktop,Ce=Re.dimensionStylesTab,Ee=Re.dimensionStylesMobile,xe=(0,c.generateBorderShadowStyles)({controlName:u,attributes:t}),Se=xe.styesDesktop,Be=xe.styesTab,Te=xe.styesMobile,Ne=xe.stylesHoverDesktop,Pe=xe.stylesHoverTab,Oe=xe.stylesHoverMobile,Ie=xe.transitionStyle,De=(0,c.generateBorderShadowStyles)({controlName:g,attributes:t}),Ae=De.styesDesktop,Me=De.styesTab,Le=De.styesMobile,Fe=De.stylesHoverDesktop,je=De.stylesHoverTab,He=De.stylesHoverMobile,ze=De.transitionStyle,Ue=r.reduce(function(e,t,a){var n=t.bgColor,r=t.color;return"\n\t\t".concat(e,"\n\n\t\t").concat(n||r?"\n\t\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li:nth-child(").concat(a+1,") a {\n\t\t\t\t\t").concat(n?"background: ".concat(n,";"):"","\n\t\t\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t\t\t}\n\t\t\t\t"):"","\n\t\t")},""),Ve="\n\tdiv.eb-social-links-wrapper ul {\n\t\tmargin: 0;\n\t\tpadding:0;\n\t}\n\n\t.".concat(o,".eb-social-links-wrapper {\n\t\tposition:relative;\n\t\tmargin:auto;\n\t\t").concat(D,"\n\t\t").concat(oe,"\n\t\t").concat(ve,"\n\t\t").concat(_e,"\n\t\t").concat(Se,"\n\t\ttransition: ").concat(fe,", ").concat(Ie,";\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\n\t\t").concat(re,"\n\t\t").concat(Ne,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat(pe,"\n\t\ttransition: ").concat(ye,";\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(be,"\n\n\t}\n\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\tlist-style: none;\n\t\tflex-wrap: wrap;\n\t\talign-items: ").concat(i||"center",";\n\t\tjustify-content: ").concat(l,";\n\t\t").concat(W,"\n\t\t").concat(Q,"\n\t\tdisplay: flex;\n\t}\n\n\n\t").concat(Ue,"\n\n\n\t").concat(s?"\n\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,'.eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\tcontent: "";\n\t\t\tbackground-color: ').concat(R,";\n\t\t\theight: ").concat(x,"px;\n\t\t\twidth: ").concat(C,"px;\n\t\t\tposition: absolute;\n\t\t\ttop: 2px;\n\t\t\tright: 100%;\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\tbox-sizing:content-box;\n\t\ttext-decoration: none;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\theight: 0;\n\t\twidth: 0;\n\t\t").concat(N||P||O||T?"text-shadow: ".concat(N||0,"px ").concat(P||0,"px ").concat(O||0,"px ").concat(T||"rgba(0,0,0,.5)",";"):"","\n\t\t").concat(F,"\n\t\t").concat(U,"\n\t\t").concat(Ae,"\n\t\ttransition: color 0.5s, background-color 0.5s, ").concat(ze,";\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\tbackground:").concat(B,";\n\t\tcolor:").concat(S,";\n\t\t").concat(Fe,"\n\t}\n\n"),Ge="\n\t.".concat(o,".eb-social-links-wrapper {\n\t\t").concat(A,"\n\t\t").concat(le,"\n\t\t").concat(we,"\n\t\t").concat(Ce,"\n\t\t").concat(Be,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\t\t").concat(ce,"\n\t\t").concat(Pe,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat(de,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(me,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\t").concat(Z,"\n\t\t").concat(X,"\n\t}\n\n\t").concat(s?"\n\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\t\t").concat(te,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\t").concat(j,"\n\t\t").concat(V,"\n\t\t").concat(Me,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\t").concat(je,"\n\t}\n\n\t"),qe="\n\t.".concat(o,".eb-social-links-wrapper {\n\t\t").concat(M,"\n\t\t").concat(ie,"\n\t\t").concat(ke,"\n\t\t").concat(Ee,"\n\t\t").concat(Te,"\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover{\n\t\t").concat(se,"\n\t\t").concat(Oe,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:before{\n\t\t").concat(ue,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper:hover:before{\n\t\t").concat(ge,"\n\n\t}\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials {\n\t\t").concat(J,"\n\t\t").concat($,"\n\t}\n\n\n\t").concat(s?"\n\t\t\t.".concat(o,".eb-social-links-wrapper ul.eb-socials li + li:before {\n\t\t\t\t").concat(ae,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li a {\n\t\t").concat(H,"\n\t\t").concat(G,"\n\t\t").concat(Le,"\n\t}\n\n\n\t.").concat(o,".eb-social-links-wrapper ul.eb-socials li:hover a {\n\t\t").concat(He,"\n\t}\n\n\t"),We=(0,c.softMinifyCssStrings)("\n\t\t".concat(Ve,"\n\t")),Ze=(0,c.softMinifyCssStrings)("\n\t\t".concat(Ge,"\n\t")),Je=(0,c.softMinifyCssStrings)("\n\t\t".concat(qe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(c.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:We,tabAllStyles:Ze,mobileAllStyles:Je,blockName:n}))}function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=(0,l.memo)((0,c.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),s=t.profilesOnly,p=void 0===s?[]:s,b=t.icnEffect,d=t.classHook;(0,l.useEffect)(function(){var e=r.map(function(e){return{icon:e.icon,link:e.link,linkOpenNewTab:e.linkOpenNewTab}});a({profilesOnly:e})},[r]);var m=I(I({},e),{},{blockPrefix:"eb-social-links",style:React.createElement(P,e)});return m.onMount=function(){if(0===r.length)a({socialDetails:[].concat([{icon:"fab fa-facebook-f",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-x-twitter",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-instagram",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-youtube",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-linkedin-in",link:"#",linkOpenNewTab:!1,isExpanded:!1}])});else{var e=r.map(function(e){return I(I({},e),{},{isExpanded:!1})});a({socialDetails:e})}},React.createElement(React.Fragment,null,n&&React.createElement(N,{attributes:t,setAttributes:a}),React.createElement(c.BlockProps.Edit,m,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(d)},React.createElement("div",{className:"".concat(o," eb-social-links-wrapper")},React.createElement(i,{profilesOnly:p,icnEffect:b})))))}));var A=a(4715);function M(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"socials"},t.map(function(e,t){var n=e.link,o=e.icon;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:(0,c.sanitizeURL)(n)},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))}))}function L(e){var t=e.profilesOnly,a=e.icnEffect;return React.createElement("ul",{className:"socials"},t.map(function(e,t){var n=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((o||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:(0,c.sanitizeURL)(n),target:r?"_blank":"_self",rel:"noopener"},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))}))}function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=[{attributes:j({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,l=t.classHook;return React.createElement("div",A.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(i,{profilesOnly:o,icnEffect:r}))))}},{attributes:j({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,l=t.classHook;return React.createElement("div",A.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(L,{profilesOnly:o,icnEffect:r}))))}},{attributes:j({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,l=t.classHook;return React.createElement("div",A.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(M,{profilesOnly:o,icnEffect:r}))))}},{attributes:j({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect;return React.createElement("div",A.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(i,{profilesOnly:o,icnEffect:r})))}}],z=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Social Icons","name":"essential-blocks/social","category":"essential-blocks","description":"Add icon links to your social media profiles and grow your audience with animated social icons","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var U;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},V.apply(null,arguments)}(0,c.ebConditionalRegisterBlockType)(z,{icon:function(e){return r.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 57"},e),U||(U=r.createElement("path",{fill:"#6C3BFF",d:"M3.182 56.857c-1.727 0-3.182-1.371-3.182-3V3.286c0-1.629 1.455-3 3.182-3h53.545c1.819 0 3.273 1.371 3.273 3v50.571c0 1.629-1.455 3-3.182 3zM5.545 3.114C4.182 3.114 3 4.143 3 5.514v46.543c0 1.114.91 1.972 2.09 1.972h49.364c1.364 0 2.546-1.029 2.546-2.4V5.257c0-1.2-1-2.143-2.273-2.143zM23.273 33h-6.455a.93.93 0 0 0-.635.243c-.15.141-.183.273-.183.357v6.086c0 .084.034.216.183.356.15.142.374.244.635.244h6.455c.26 0 .484-.102.635-.244.149-.14.183-.272.183-.356v-5.998a.72.72 0 0 0-.217-.477c-.117-.11-.309-.211-.601-.211m3.818.6v6.086c0 1.971-1.727 3.6-3.818 3.6h-6.455c-2.09 0-3.818-1.629-3.818-3.6V33.6c0-1.971 1.727-3.6 3.818-3.6h6.455c2.09 0 3.727 1.543 3.818 3.6M16.818 17h6.455c.292 0 .484.102.6.211a.72.72 0 0 1 .218.477v5.998c0 .084-.034.216-.183.356a.93.93 0 0 1-.635.244h-6.455a.93.93 0 0 1-.635-.244c-.15-.14-.183-.272-.183-.356V17.6c0-.084.034-.216.183-.357a.93.93 0 0 1 .635-.243m10.273 6.686V17.6C27 15.543 25.364 14 23.273 14h-6.455C14.728 14 13 15.629 13 17.6v6.086c0 1.971 1.727 3.6 3.818 3.6h6.455c2.09 0 3.818-1.629 3.818-3.6M42.273 33h-6.455a.93.93 0 0 0-.635.243c-.15.141-.183.273-.183.357v6.086c0 .084.034.216.183.356.15.142.374.244.635.244h6.455c.26 0 .484-.102.635-.244.149-.14.183-.272.183-.356v-5.998a.72.72 0 0 0-.217-.477c-.117-.11-.309-.211-.601-.211m3.818.6v6.086c0 1.971-1.727 3.6-3.818 3.6h-6.455c-2.09 0-3.818-1.629-3.818-3.6V33.6c0-1.971 1.727-3.6 3.818-3.6h6.455c2.09 0 3.727 1.543 3.818 3.6M35.818 17h6.455c.292 0 .484.102.6.211a.72.72 0 0 1 .218.477v5.998c0 .084-.034.216-.183.356a.93.93 0 0 1-.635.244h-6.455a.93.93 0 0 1-.635-.244c-.15-.14-.183-.272-.183-.356V17.6c0-.084.034-.216.183-.357a.93.93 0 0 1 .635-.243m10.273 6.686V17.6C46 15.543 44.364 14 42.273 14h-6.455C33.728 14 32 15.629 32 17.6v6.086c0 1.971 1.727 3.6 3.818 3.6h6.455c2.09 0 3.818-1.629 3.818-3.6"})))},attributes:C,keywords:[(0,n.__)("social","essential-blocks"),(0,n.__)("icons","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:D,save:function(e){var t=e.attributes,a=t.blockId,n=t.profilesOnly,o=void 0===n?[]:n,r=t.icnEffect,l=t.classHook;return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-social-links-wrapper")},React.createElement(i,{profilesOnly:o,icnEffect:r}))))},example:{attributes:{socialDetails:[{icon:"fab fa-facebook-f",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-x-twitter",link:"#",linkOpenNewTab:!1,isExpanded:!1},{icon:"fab fa-instagram",link:"#",linkOpenNewTab:!1,isExpanded:!1}]}},deprecated:H})},4464:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(9394),i=a(6427),s=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"},{label:(0,n.__)("div","essential-blocks"),value:"div"},{label:(0,n.__)("span","essential-blocks"),value:"span"},{label:(0,n.__)("p","essential-blocks"),value:"p"}],p=[{label:(0,n.__)("Style 1","essential-blocks"),value:"style-1"},{label:(0,n.__)("Style 2","essential-blocks"),value:"style-2"}],b=[{label:(0,n.__)("Solid","essential-blocks"),value:"solid"},{label:(0,n.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,n.__)("Dashed","essential-blocks"),value:"dashed"}],d=[{label:(0,n.__)("None","essential-blocks"),value:"none"},{label:(0,n.__)("Circle","essential-blocks"),value:"circle"},{label:(0,n.__)("Square","essential-blocks"),value:"square"},{label:(0,n.__)("Rhombus","essential-blocks"),value:"rhombus"}],m=[{label:(0,n.__)("Framed","essential-blocks"),value:"framed"},{label:(0,n.__)("Stacked","essential-blocks"),value:"stacked"}],u=[{label:(0,n.__)("None","essential-blocks"),value:"none"},{label:(0,n.__)("Icon","essential-blocks"),value:"icon"},{label:(0,n.__)("Image","essential-blocks"),value:"image"}],g=[{label:React.createElement(i.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(i.Dashicon,{icon:"editor-aligncenter"}),value:"top"},{label:React.createElement(i.Dashicon,{icon:"editor-alignright"}),value:"right"}],f=[{label:React.createElement(i.Dashicon,{icon:"editor-alignleft"}),value:"left"},{label:React.createElement(i.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(i.Dashicon,{icon:"editor-alignright"}),value:"right"}],y="connWidth",h="listSpace",v="rowSpace",w="iconBgSize",k="iconSize",R="iconSpace",_="titleSpace",C="iconPadding",E="boxPadding",x="badgePadding",S="wrapperMargin",B="wrapperPadding",T="iconBg",N="boxBg",P="wrapperBg",O="iconBrdSdw",I="boxBrdSdw",D="wrapperBrdSdw",A="badgeBrdSdw",M="listBg",L="listBrdSdw",F="listPadding",j="titleText",H="contentText",z="badgeText",U=a(5694);function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const G=function(e){var t,a=e.attributes,r=e.setAttributes,l=(a.resOption,a.titleTag),G=a.iconShape,q=a.shapeView,W=a.iconPosition,Z=a.iconGlobalColor,J=a.titleTextColor,Y=a.descTextColor,Q=a.showContentVertical,X=a.showConnector,$=a.connectorStyle,K=a.connectorType,ee=a.connectorColor,te=a.titleTextHoverColor,ae=a.useInlineDesign,ne=a.featureListAlign,oe=a.designItemBox,re=a.badgeTextColor,le=a.badgeBackgroundColor,ce=a.badgeGap;return React.createElement(U.InspectorPanel,{advancedControlProps:{marginPrefix:S,paddingPrefix:B,backgroundPrefix:P,borderPrefix:D,hasMargin:!0}},React.createElement(U.InspectorPanel.General,null,React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(U.SortControl,{items:a.features,labelKey:"title",onSortEnd:function(e){return r({features:e})},onDeleteItem:function(e){r({features:a.features.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:(t=function(e,t,n){var l=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},a.features[n]),i=(0,c.A)(a.features);i[n]=l,Array.isArray(e)?e.map(function(e,a){i[n][e]=t[a]}):i[n][e]=t,r({features:i})},a.features.map(function(e,a){return React.createElement("div",{key:a},React.createElement(U.EBTextControl,{onChange:function(e){return t("title",e,a)},label:(0,n.__)("Text","essential-blocks"),value:e.title,enableAi:!0}),!ae&&React.createElement(U.EBTextControl,{label:(0,n.__)("Content","essential-blocks"),value:e.content,onChange:function(e){return t("content",e,a)},enableAi:!0,isTextarea:!0}),React.createElement(i.BaseControl,{label:(0,n.__)("Icon Type","essential-blocks")},React.createElement(i.ButtonGroup,{className:"eb-featurelist-icon-type"},u.map(function(n,o){return React.createElement(i.Button,{key:o,isPrimary:e.iconType===n.value,isSecondary:e.iconType!==n.value,onClick:function(){return t("iconType",n.value,a)}},n.label)}))),"none"!==e.iconType&&React.createElement(React.Fragment,null,"icon"===e.iconType&&React.createElement(U.EBIconPicker,{value:e.icon,onChange:function(e){return t("icon",e,a)}}),"image"===e.iconType&&React.createElement(U.ImageComponent.GeneralTab,{onSelect:function(e){var n=e.id,o=e.url,r=e.alt,l=e.title;t(["featureImageId","featureImage","featureImageAlt","featureImageTitle"],[n,o,r,l],a)},value:e.featureImage,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),"icon"===e.iconType&&e.icon&&React.createElement(U.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.iconColor,onChange:function(e){return t("iconColor",e,a)}}),React.createElement(U.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:e.iconBackgroundColor,onChange:function(e){return t("iconBackgroundColor",e,a)}})),React.createElement(U.EBTextControl,{label:(0,n.__)("Link","essential-blocks"),fieldType:"url",value:e.link,onChange:function(e){return t("link",e,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(i.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:"false"!=e.linkOpenNewTab,onChange:function(e){return t("linkOpenNewTab",e.toString(),a)}}))})),hasAddButton:!0,onAddItem:function(){var e=a.features.length+1,t=[].concat((0,c.A)(a.features),[{iconType:"icon",featuresImage:"",featuresImageId:"",icon:"fas fa-check",title:"Feature Item ".concat(e),content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",iconBackgroundColor:"",link:"",linkOpenNewTab:"false",showBadge:"false",badgeText:"New",badgeTextColor:"",badgeBackgroundColor:""}]);r({features:t})},addButtonText:(0,n.__)("Add Feature","essential-blocks")}),React.createElement(i.__experimentalDivider,null),React.createElement(i.SelectControl,{label:(0,n.__)("Title HTML Tag","essential-blocks"),value:l,options:s,onChange:function(e){return r({titleTag:e})}}),React.createElement(i.SelectControl,{label:(0,n.__)("Icon Shape","essential-blocks"),value:G,options:d,onChange:function(e){return r({iconShape:e})}}),"none"!==G&&React.createElement(i.SelectControl,{label:(0,n.__)("Shape View","essential-blocks"),value:q,options:m,onChange:function(e){return r({shapeView:e})}}),React.createElement(i.BaseControl,{label:(0,n.__)("Feature Item Position","essential-blocks")},React.createElement(i.ButtonGroup,{className:"eb-featurelist-item-align"},f.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:ne===e.value,isSecondary:ne!==e.value,onClick:function(){return r({featureListAlign:e.value})}},e.label)}))),React.createElement(i.BaseControl,{label:(0,n.__)("Icon Position","essential-blocks")},React.createElement(i.ButtonGroup,{className:"eb-featurelist-icon-align"},g.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:W===e.value,isSecondary:W!==e.value,onClick:function(){return r({iconPosition:e.value})}},e.label)}))),React.createElement(i.ToggleControl,{label:(0,n.__)("Content Vertically Center","essentail-blocks"),checked:Q,onChange:function(){r({showContentVertical:!Q})}}),!ae&&"top"!=W&&React.createElement(i.ToggleControl,{label:(0,n.__)("Show Connector","essentail-blocks"),checked:X,onChange:function(){r({showConnector:!X})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Use Inline Feature Lists","essentail-blocks"),checked:ae,onChange:function(){r({useInlineDesign:!ae})}}),!X&&React.createElement(i.ToggleControl,{label:(0,n.__)("Design Item Box","essentail-blocks"),checked:oe,onChange:function(){r({designItemBox:!oe})}}))),React.createElement(U.InspectorPanel.Style,null,React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("List","essential-blocks"),initialOpen:!0},React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Space Between (PX)","essential-blocks"),controlName:h,min:0,max:300,step:1,noUnits:!0}),ae&&React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Row Space(PX)","essential-blocks"),controlName:v,min:0,max:300,step:1,noUnits:!0}),oe&&!X&&React.createElement(React.Fragment,null,React.createElement(i.__experimentalDivider,null),React.createElement(U.ResponsiveDimensionsControl,{controlName:F,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(i.PanelBody,{title:"Background"},React.createElement(U.BackgroundControl,{controlName:M,noOverlay:!0,noMainBgi:!0})),React.createElement(i.PanelBody,{title:"Border"},React.createElement(U.BorderShadowControl,{controlName:L,noShadow:!0})))),React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("Icon","essential-blocks"),initialOpen:!1},"none"!==G&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Background","essential-blocks"))),React.createElement(U.BackgroundControl,{controlName:T,noOverlay:!0,noMainBgi:!0}),React.createElement(i.__experimentalDivider,null)),React.createElement(U.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Z,attributeName:"iconGlobalColor"}),"none"!==G&&React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Size","essential-blocks"),controlName:w,min:0,max:300,step:1,noUnits:!0}),React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:k,min:6,max:150,step:1,noUnits:!0}),React.createElement(U.ResponsiveDimensionsControl,{controlName:C,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Spacing","essential-blocks"),controlName:R,min:0,max:100,step:1,noUnits:!0}),"none"!==G&&"framed"===q&&React.createElement(U.BorderShadowControl,{controlName:O,noShadow:!0})),React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Title","essential-blocks"))),React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Title Bottom Space","essential-blocks"),controlName:_,min:0,max:100,step:1,noUnits:!0}),React.createElement(U.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:J,attributeName:"titleTextColor"}),React.createElement(U.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:te,attributeName:"titleTextHoverColor"}),React.createElement(U.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:j,defaultFontSize:32}),!ae&&React.createElement(React.Fragment,null,React.createElement(i.__experimentalDivider,null),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Description","essential-blocks"))),React.createElement(U.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Y,attributeName:"descTextColor"}),React.createElement(U.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:H}),React.createElement(i.__experimentalDivider,null),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Content Box","essential-blocks"))),React.createElement(U.ResponsiveDimensionsControl,{controlName:E,baseLabel:(0,n.__)("Box Padding","essential-blocks")}),React.createElement(i.PanelBody,{title:"Background"},React.createElement(U.BackgroundControl,{controlName:N,noOverlay:!0,noMainBgi:!0})),React.createElement(i.PanelBody,{title:"Border"},React.createElement(U.BorderShadowControl,{controlName:I}))),React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("Badge","essential-blocks"),initialOpen:!1},React.createElement(U.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:z}),React.createElement(U.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:re,attributeName:"badgeTextColor"}),React.createElement(U.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:le,attributeName:"badgeBackgroundColor"}),React.createElement(U.ResponsiveDimensionsControl,{controlName:x,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(i.RangeControl,{label:(0,n.__)("Gap from Title","essential-blocks"),value:ce,onChange:function(e){return r({badgeGap:e})},min:0,max:100,step:1}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border & Shadow","essential-blocks"))),React.createElement(U.BorderShadowControl,{controlName:A}))),!ae&&X&&"top"!=W&&React.createElement(React.Fragment,null,React.createElement(U.InspectorPanel.PanelBody,{title:(0,n.__)("Connector Style","essential-blocks"),initialOpen:!1},React.createElement(i.SelectControl,{label:(0,n.__)("Connector Style","essential-blocks"),value:$,options:p,onChange:function(e){return r({connectorStyle:e})}}),React.createElement(i.SelectControl,{label:(0,n.__)("Connector Type","essential-blocks"),value:K,options:b,onChange:function(e){return r({connectorType:e})}}),React.createElement(U.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ee,attributeName:"connectorColor"}),React.createElement(U.ResponsiveRangeController,{baseLabel:(0,n.__)("Connector Width (PX)","essential-blocks"),controlName:y,min:0,max:20,step:1,noUnits:!0})))))};function q(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.featureListAlign,t.features,t.iconPosition,t.iconShape),l=t.shapeView,c=(t.titleTag,t.titleTextColor),i=t.titleTextHoverColor,s=t.descTextColor,p=t.iconGlobalColor,b=t.showContentVertical,d=t.showConnector,m=(t.connectorStyle,t.connectorType),u=t.connectorColor,g=(t.classHook,t.useInlineDesign),f=t.designItemBox,V=t.badgeTextColor,G=t.badgeBackgroundColor,q=t.badgeGap,W=(0,U.generateResponsiveRangeStyles)({controlName:_,property:"margin-bottom",attributes:t,customUnit:"px"}),Z=W.rangeStylesDesktop,J=W.rangeStylesTab,Y=W.rangeStylesMobile,Q=(0,U.generateResponsiveRangeStyles)({controlName:y,property:"border-width",attributes:t,customUnit:"px"}),X=Q.rangeStylesDesktop,$=Q.rangeStylesTab,K=Q.rangeStylesMobile,ee=(0,U.generateResponsiveRangeStyles)({controlName:k,property:"font-size",attributes:t,customUnit:"px"}),te=ee.rangeStylesDesktop,ae=ee.rangeStylesTab,ne=ee.rangeStylesMobile,oe=(0,U.generateResponsiveRangeStyles)({controlName:h,property:"padding-bottom",attributes:t,customUnit:"px"}),re=oe.rangeStylesDesktop,le=oe.rangeStylesTab,ce=oe.rangeStylesMobile,ie=(0,U.generateResponsiveRangeStyles)({controlName:v,property:"padding-bottom",attributes:t,customUnit:"px"}),se=ie.rangeStylesDesktop,pe=ie.rangeStylesTab,be=ie.rangeStylesMobile,de=(0,U.generateResponsiveRangeStyles)({controlName:w,property:"",attributes:t,customUnit:"px"}),me=de.rangeStylesDesktop,ue=de.rangeStylesTab,ge=de.rangeStylesMobile,fe=(0,U.generateDimensionsControlStyles)({controlName:C,styleFor:"padding",attributes:t}),ye=fe.dimensionStylesDesktop,he=fe.dimensionStylesTab,ve=fe.dimensionStylesMobile,we=(0,U.generateResponsiveRangeStyles)({controlName:R,property:"",attributes:t,customUnit:"px"}),ke=we.rangeStylesDesktop,Re=we.rangeStylesTab,_e=we.rangeStylesMobile,Ce=(0,U.generateTypographyStyles)({attributes:t,prefixConstant:j}),Ee=Ce.typoStylesDesktop,xe=Ce.typoStylesTab,Se=Ce.typoStylesMobile,Be=(0,U.generateTypographyStyles)({attributes:t,prefixConstant:H}),Te=Be.typoStylesDesktop,Ne=Be.typoStylesTab,Pe=Be.typoStylesMobile,Oe=(0,U.generateBackgroundControlStyles)({attributes:t,controlName:T,noOverlay:!0,noMainBgi:!0}),Ie=Oe.backgroundStylesDesktop,De=Oe.hoverBackgroundStylesDesktop,Ae=(Oe.bgTransitionStyle,(0,U.generateBorderShadowStyles)({controlName:O,attributes:t})),Me=Ae.styesDesktop,Le=Ae.styesTab,Fe=Ae.styesMobile,je=Ae.stylesHoverDesktop,He=Ae.stylesHoverTab,ze=Ae.stylesHoverMobile,Ue=Ae.transitionStyle,Ve=(0,U.generateDimensionsControlStyles)({controlName:S,styleFor:"margin",attributes:t}),Ge=Ve.dimensionStylesDesktop,qe=Ve.dimensionStylesTab,We=Ve.dimensionStylesMobile,Ze=(0,U.generateDimensionsControlStyles)({controlName:B,styleFor:"padding",attributes:t}),Je=Ze.dimensionStylesDesktop,Ye=Ze.dimensionStylesTab,Qe=Ze.dimensionStylesMobile,Xe=(0,U.generateDimensionsControlStyles)({controlName:E,styleFor:"padding",attributes:t}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=(0,U.generateBackgroundControlStyles)({attributes:t,controlName:N,noOverlay:!0,noMainBgi:!0}),at=tt.backgroundStylesDesktop,nt=tt.hoverBackgroundStylesDesktop,ot=tt.bgTransitionStyle,rt=(0,U.generateBorderShadowStyles)({controlName:I,attributes:t}),lt=rt.styesDesktop,ct=rt.styesTab,it=rt.styesMobile,st=rt.stylesHoverDesktop,pt=rt.stylesHoverTab,bt=rt.stylesHoverMobile,dt=rt.transitionStyle,mt=(0,U.generateBackgroundControlStyles)({attributes:t,controlName:P}),ut=mt.backgroundStylesDesktop,gt=mt.hoverBackgroundStylesDesktop,ft=mt.backgroundStylesTab,yt=mt.hoverBackgroundStylesTab,ht=mt.backgroundStylesMobile,vt=mt.hoverBackgroundStylesMobile,wt=mt.overlayStylesDesktop,kt=mt.hoverOverlayStylesDesktop,Rt=mt.overlayStylesTab,_t=mt.hoverOverlayStylesTab,Ct=mt.overlayStylesMobile,Et=mt.hoverOverlayStylesMobile,xt=mt.bgTransitionStyle,St=mt.ovlTransitionStyle,Bt=(0,U.generateBorderShadowStyles)({controlName:D,attributes:t}),Tt=Bt.styesDesktop,Nt=Bt.styesTab,Pt=Bt.styesMobile,Ot=Bt.stylesHoverDesktop,It=Bt.stylesHoverTab,Dt=Bt.stylesHoverMobile,At=Bt.transitionStyle,Mt=(0,U.generateDimensionsControlStyles)({controlName:F,styleFor:"padding",attributes:t}),Lt=Mt.dimensionStylesDesktop,Ft=Mt.dimensionStylesTab,jt=Mt.dimensionStylesMobile,Ht=(0,U.generateBackgroundControlStyles)({attributes:t,controlName:M,noOverlay:!0,noMainBgi:!0}),zt=Ht.backgroundStylesDesktop,Ut=Ht.hoverBackgroundStylesDesktop,Vt=(Ht.bgTransitionStyle,Ht.backgroundStylesTab),Gt=Ht.hoverBackgroundStylesTab,qt=Ht.backgroundStylesMobile,Wt=Ht.hoverBackgroundStylesMobile,Zt=(0,U.generateBorderShadowStyles)({controlName:L,attributes:t}),Jt=Zt.styesDesktop,Yt=Zt.styesTab,Qt=Zt.styesMobile,Xt=Zt.stylesHoverDesktop,$t=Zt.stylesHoverTab,Kt=Zt.stylesHoverMobile,ea=Zt.transitionStyle,ta=(0,U.generateDimensionsControlStyles)({controlName:x,styleFor:"padding",attributes:t}),aa=ta.dimensionStylesDesktop,na=(ta.dimensionStylesTab,ta.dimensionStylesMobile,(0,U.generateBorderShadowStyles)({controlName:A,attributes:t})),oa=na.styesDesktop,ra=(na.styesTab,na.styesMobile,na.transitionStyle,na.stylesHoverDesktop,na.stylesHoverTab,na.stylesHoverMobile,(0,U.generateTypographyStyles)({attributes:t,prefixConstant:z})),la=ra.typoStylesDesktop,ca=(ra.typoStylesTab,ra.typoStylesMobile,"\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(Ge,"\n\t\t\t ").concat(Je,"\n\t\t\t ").concat(ut,"\n\t\t\t ").concat(Tt,"\n\t\t\t transition: all 0.3s, ").concat(xt,", ").concat(At,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(gt,"\n\t\t\t").concat(Ot,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(wt,"\n\t\t\ttransition: all 0.3s, ").concat(St,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(kt,"\n\t\t }\n\n ").concat(f&&!d?"\n .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item {\n ").concat(Lt,"\n ").concat(zt,"\n ").concat(Jt,"\n transition: all 0.3s, ").concat(ea,";\n }\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:hover {\n ").concat(Ut,"\n ").concat(Xt,"\n }\n\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box{\n display: flex;\n }\n "):"","\n\n\t\t ").concat(b?"\n\t\t .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item {\n\t\t\t align-items: center;\n\t\t }\n\t\t "):"","\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(Z,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(me.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(me.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(te,"\n\t\t\t ").concat(ye,"\n\t\t\t color: ").concat(p,";\n\t\t }\n ").concat(te&&".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(te.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(te.replace(/\D/g,""),"px;\n\t\t }"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-items .eb-feature-list-icon svg {\n\t\t\t color: ").concat(p,";\n\t\t }\n\n\t\t ").concat(g?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n\t\t\t").concat(d?"padding-bottom: calc(".concat(re.replace(/\D/g,"")/2,"px);"):"margin-bottom: calc(".concat(re.replace(/\D/g,"")/2,"px);"),"\n }\n\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n ").concat(d?"padding-top: calc(".concat(re.replace(/\D/g,"")/2,"px);"):"margin-top: calc(".concat(re.replace(/\D/g,"")/2,"px);"),"\n }"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t").concat($e,"\n\t\t\t").concat(at,"\n\t\t\t").concat(lt,"\n\t\t\t margin: ").concat(ke.replace(/\D/g,""),"px;\n\t\t\t transition: all 0.3s, ").concat(ot,", ").concat(dt,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover {\n\t\t\t").concat(nt,"\n\t\t\t").concat(st,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(ke.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(ke.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title > a,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:visited {\n\t\t\t color: ").concat(c,";\n\t\t }\n\t\t ").concat(i?" .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:hover,\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title:hover > a {\n\t\t\t\tcolor: ").concat(i,";\n\t\t }"):"","\n\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(Ee,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t color: ").concat(s,";\n\t\t\t ").concat(Te,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat(Ie,"\n\t\t\t ").concat("framed"===l?Me:"","\n\t\t\t transition: ").concat(Ue,";\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-item:hover .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat(De,"\n\t\t\t ").concat("framed"===l?je:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\tborder-left: ").concat(m+" "+u,";\n\t\t\t").concat(X,"\n\t\t\ttop: ").concat(2*parseInt(t.iconPaddingTop),"px;\n\t\t\theight: calc(100% + ").concat(parseInt(t.listSpaceRange),"px);\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\tborder-left: ").concat(m+" "+u,";\n\t\t\t").concat(X,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\tborder-top: ").concat(m+" "+u,";\n\t\t\t").concat(X,"\n\t\t }\n\n\t\t ").concat(g?"\n\n\t\t \t.".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tflex-wrap: wrap;\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li .eb-feature-list-title {\n\t\t\t\tmargin: 0 !important;\n\t\t\t}\n\n\n\t\t\t.").concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n\t\t\t\tmargin-right: ").concat(re.replace(/\D/g,""),"px;\n\t\t\t\tmargin-bottom: ").concat(se.replace(/\D/g,""),"px;\n\t\t\t}\n\t\t "):"","\n\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-badge {\n color: ").concat(V,";\n background-color: ").concat(G,";\n ").concat(la,"\n ").concat(oa,"\n ").concat(aa,"\n margin-left: ").concat(q,"px;\n\t\t}\n\t")),ia="\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(qe,"\n\t\t\t ").concat(Ye,"\n\t\t\t ").concat(ft,"\n\t\t\t ").concat(Nt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(yt,"\n\t\t\t").concat(It,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(Rt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(_t,"\n\t\t }\n\n ").concat(f&&!d?"\n .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item {\n ").concat(Ft,"\n ").concat(Vt,"\n ").concat(Yt,"\n transition: ").concat(ea,";\n }\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:hover {\n ").concat(Gt,"\n ").concat($t,"\n }\n "):"","\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(J,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(ue.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(ue.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(ae,"\n\t\t\t ").concat(he,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(ae.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(ae.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t ").concat(g?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n ").concat(d?"padding-bottom: calc(".concat(le.replace(/\D/g,"")/2,"px);"):"margin-bottom: calc(".concat(le.replace(/\D/g,"")/2,"px);"),"\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n ").concat(d?"padding-top: calc(".concat(le.replace(/\D/g,"")/2,"px);"):"margin-top: calc(".concat(le.replace(/\D/g,"")/2,"px);"),"\n\t\t}"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box{\n\t\t\t").concat(Ke,"\n\t\t\t").concat(ct,"\n\t\t\t margin: ").concat(Re.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover{\n\t\t\t").concat(pt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(Re.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(Re.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(xe,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t ").concat(Ne,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===l?Le:"","\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===l?He:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\t").concat($,"\n\t\t\theight: calc(100% + ").concat(parseInt(t.TABlistSpaceRange?t.TABlistSpaceRange:t.listSpaceRange),"px);\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\t").concat($,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\t").concat($,"\n\t\t }\n\n\t\t ").concat(g?"\n\t\t.".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n\t\t\tmargin-right: ").concat(le.replace(/\D/g,""),"px;\n\t\t\tmargin-bottom: ").concat(pe.replace(/\D/g,""),"px;\n\t\t}\n\t "):"","\n\t "),sa="\n\t\t .".concat(o,".eb-feature-list-wrapper {\n\t\t\t ").concat(We,"\n\t\t\t ").concat(Qe,"\n\t\t\t ").concat(ht,"\n\t\t\t ").concat(Pt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover {\n\t\t\t").concat(vt,"\n\t\t\t").concat(Dt,"\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper:before {\n\t\t\t").concat(Ct,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:before:hover {\n\t\t\t").concat(Et,"\n\t\t }\n\n ").concat(f&&!d?"\n .".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item {\n ").concat(jt,"\n ").concat(qt,"\n ").concat(Qt,"\n transition: ").concat(ea,";\n }\n .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:hover {\n ").concat(Wt,"\n ").concat(Kt,"\n }\n "):"","\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item .eb-feature-list-title {\n\t\t\t ").concat(Y,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon {\n\t\t\t ").concat("none"!==r?"\n\t\t\t\t height: ".concat(ge.replace(/\D/g,""),"px;\n\t\t\t\t width:").concat(ge.replace(/\D/g,""),"px;\n\t\t\t\t "):"","\n\t\t\t ").concat(ne,"\n\t\t\t ").concat(ve,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon img {\n\t\t\t height: ").concat(ne.replace(/\D/g,""),"px;\n\t\t\t width: ").concat(ne.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t ").concat(g?"":".".concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:last-child) {\n ").concat(d?"padding-bottom: calc(".concat(ce.replace(/\D/g,"")/2,"px);"):"margin-bottom: calc(".concat(ce.replace(/\D/g,"")/2,"px);"),"\n\t\t}\n\n\t\t.").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-item:not(:first-child) {\n ").concat(d?"padding-top: calc(".concat(ce.replace(/\D/g,"")/2,"px);"):"margin-top: calc(".concat(ce.replace(/\D/g,"")/2,"px);"),"\n\t\t}"),"\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t").concat(et,"\n\t\t\t").concat(it,"\n\t\t\t margin: ").concat(_e.replace(/\D/g,""),"px;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-icon-position-left .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-right .eb-feature-list-items .eb-feature-list-content-box:hover, .").concat(o,".eb-feature-list-wrapper.eb-icon-position-top .eb-feature-list-items .eb-feature-list-content-box:hover{\n\t\t\t").concat(bt,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-left .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 0 0 ").concat(_e.replace(/\D/g,""),"px !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper.eb-mobile-icon-position-right .eb-feature-list-items .eb-feature-list-content-box {\n\t\t\t margin: 0 ").concat(_e.replace(/\D/g,""),"px 0 0 !important;\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title, .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-title a {\n\t\t\t ").concat(Se,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-content-box .eb-feature-list-content {\n\t\t\t ").concat(Pe,"\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===l?Fe:"","\n\t\t }\n\n\t\t .").concat(o,".eb-feature-list-wrapper:hover .eb-feature-list-items .eb-feature-list-icon-box .eb-feature-list-icon-inner {\n\t\t\t ").concat("framed"===l?ze:"","\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-1 .eb-feature-list-items .eb-feature-list-item .eb-feature-list-icon-box:before {\n\t\t\t").concat(K,"\n\t\t\theight: calc(100% + ").concat(parseInt(t.MOBlistSpaceRange?t.MOBlistSpaceRange:t.listSpaceRange),"px);\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-item:before {\n\t\t\t").concat(K,"\n\t\t }\n\t\t .").concat(o,".eb-feature-list-wrapper.connector-style-2 .eb-feature-list-items .eb-feature-list-icon-box:before {\n\t\t\t").concat(K,"\n\t\t }\n\t\t ").concat(g?"\n .".concat(o,".eb-feature-list-wrapper .eb-inline-feature-list li {\n margin-right: ").concat(ce.replace(/\D/g,""),"px;\n margin-bottom: ").concat(be.replace(/\D/g,""),"px;\n }\n "):"","\n\t "),pa=(0,U.softMinifyCssStrings)("\n\t\t ".concat(ca,"\n\t ")),ba=(0,U.softMinifyCssStrings)("\n\t\t ".concat(ia,"\n\t ")),da=(0,U.softMinifyCssStrings)("\n\t\t ".concat(sa,"\n\t "));return React.createElement(React.Fragment,null,React.createElement(U.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:pa,tabAllStyles:ba,mobileAllStyles:da,blockName:n}))}function W(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const J=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},featureListAlign:{type:"string"},features:{type:"array",source:"query",selector:".eb-feature-list-wrapper .eb-feature-list-items li",query:{title:{type:"string",source:"text",selector:".eb-feature-list-title"},iconType:{type:"string",source:"attribute",attribute:"data-icon-type"},featureImageId:{type:"string",source:"attribute",attribute:"data-image-id"},featureImage:{type:"string",source:"attribute",attribute:"data-image"},featureImageAlt:{type:"string",source:"attribute",attribute:"data-alt"},featureImageTitle:{type:"string",source:"attribute",attribute:"data-title"},icon:{type:"string",source:"attribute",attribute:"data-icon"},iconColor:{type:"string",source:"attribute",attribute:"data-icon-color"},iconBackgroundColor:{type:"string",source:"attribute",attribute:"data-icon-background-color"},content:{type:"string",source:"text",selector:".eb-feature-list-content"},link:{type:"string",source:"attribute",attribute:"data-link"},linkOpenNewTab:{type:"string",source:"attribute",attribute:"data-new-tab"},showBadge:{type:"string",source:"attribute",attribute:"data-show-badge"},badgeText:{type:"string",source:"attribute",attribute:"data-badge-text"},badgeTextColor:{type:"string",source:"attribute",attribute:"data-badge-text-color"},badgeBackgroundColor:{type:"string",source:"attribute",attribute:"data-badge-background-color"}},default:[{iconType:"icon",icon:"fas fa-check",title:"Feature Item 1",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:"",showBadge:"false",badgeText:"New",badgeTextColor:"",badgeBackgroundColor:""},{iconType:"icon",icon:"fas fa-times",title:"Feature Item 2",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:"",showBadge:"false",badgeText:"New",badgeTextColor:"",badgeBackgroundColor:""},{iconType:"icon",icon:"fas fa-anchor",title:"Feature Item 3",content:"Lorem ipsum dolor sit amet, consectetur adipisi cing elit, sed do eiusmod tempor incididunt ut abore et dolore magna",iconColor:"",link:"",linkOpenNewTab:"false",iconBackgroundColor:"",showBadge:"false",badgeText:"New",badgeTextColor:"",badgeBackgroundColor:""}]},iconGlobalColor:{type:"string",default:"var(--eb-global-background-color)"},titleTag:{type:"string",default:"h3"},iconShape:{type:"string",default:"circle"},shapeView:{type:"string",default:"stacked"},iconPosition:{type:"string",default:"left"},titleTextColor:{type:"string",default:"var(--eb-global-heading-color)"},titleTextHoverColor:{type:"string"},descTextColor:{type:"string",default:"var(--eb-global-text-color)"},showContentVertical:{type:"boolean",default:!1},showConnector:{type:"boolean",default:!1},connectorStyle:{type:"string",default:"style-1"},connectorType:{type:"string",default:"solid"},connectorColor:{type:"string",default:"var(--eb-global-primary-color)"},useInlineDesign:{type:"boolean",default:!1},designItemBox:{type:"boolean",default:!1},badgeTextColor:{type:"string",default:"#fff"},badgeBackgroundColor:{type:"string",default:"var(--eb-global-primary-color)"},badgeGap:{type:"number",default:5}},(0,U.generateResponsiveRangeAttributes)(y,{defaultRange:2,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(h,{defaultRange:20,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(v,{defaultRange:10,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(w,{defaultRange:60,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(k,{defaultRange:21,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(R,{defaultRange:20,noUnits:!0})),(0,U.generateResponsiveRangeAttributes)(_,{defaultRange:5,noUnits:!0})),(0,U.generateTypographyAttributes)(j,{fontSize:18})),(0,U.generateTypographyAttributes)(H,{fontSize:14})),(0,U.generateTypographyAttributes)(z,{fontSize:12})),(0,U.generateBackgroundAttributes)(T,{defaultFillColor:"var(--eb-global-primary-color)",noOverlay:!0,noMainBgi:!0})),(0,U.generateBackgroundAttributes)(N,{noOverlay:!0,noMainBgi:!0})),(0,U.generateBackgroundAttributes)(P)),(0,U.generateDimensionsAttributes)(C,{top:15,right:15,bottom:15,left:15,isLinked:!1})),(0,U.generateDimensionsAttributes)(E)),(0,U.generateDimensionsAttributes)(S,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,U.generateDimensionsAttributes)(B,{top:10,right:10,bottom:10,left:10,isLinked:!0})),(0,U.generateDimensionsAttributes)(x,{top:2,right:10,bottom:2,left:10,isLinked:!1})),(0,U.generateBorderShadowAttributes)(O,{bdrDefaults:{top:2,right:2,bottom:2,left:2},noShadow:!0,defaultBdrColor:"#6e2d8d",defaultBdrStyle:"solid"})),(0,U.generateBorderShadowAttributes)(I)),(0,U.generateBorderShadowAttributes)(D)),(0,U.generateBorderShadowAttributes)(A,{rdsDefaults:{top:10,right:10,bottom:10,left:10}})),(0,U.generateBackgroundAttributes)(M,{noOverlay:!0,noMainBgi:!0})),(0,U.generateBorderShadowAttributes)(L,{noShadow:!0})),(0,U.generateDimensionsAttributes)(F));function Y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var X=function(e){var t=e.attributes,a=e.isSelected,n=e.setAttributes,o=t.blockId,r=t.featureListAlign,l=t.features,c=t.iconPosition,i=t.iconShape,s=t.shapeView,p=t.showConnector,b=t.connectorStyle,d=t.classHook,m=t.useInlineDesign,u="center"===r?" eb-feature-list-center":"right"===r?" eb-feature-list-right":" eb-feature-list-left",g=Q(Q({},e),{},{blockPrefix:"eb-feature-list",style:React.createElement(q,e)}),f="none"!==i?" ".concat(i," ").concat(s):" none",y=m?" eb-inline-feature-list":"",h={},v={};return React.createElement(React.Fragment,null,a&&React.createElement(G,{attributes:t,setAttributes:n}),React.createElement(U.BlockProps.Edit,g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(d)},React.createElement("div",{className:"".concat(o," eb-feature-list-wrapper eb-icon-position-").concat(c," eb-tablet-icon-position-").concat(c," eb-mobile-icon-position-").concat(c).concat(u," ").concat(!m&&p?"connector-"+b:"")},React.createElement("ul",{className:"eb-feature-list-items ".concat(f," ").concat(y)},l.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,p=e.iconColor,b=e.iconBackgroundColor,d=e.content,u=e.link,g=e.linkOpenNewTab,f=e.showBadge,y=e.badgeText,w=e.badgeBackgroundColor,k=e.badgeTextColor;return h={color:p,backgroundColor:b},v={color:k,backgroundColor:w},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":g?g.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":l,"data-alt":c,"data-title":i,"data-icon":s,"data-icon-color":p,"data-icon-background-color":b,"data-link":u,"data-show-badge":f?f.toString():"false","data-badge-text":y,"data-badge-text-color":k,"data-badge-background-color":w},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:h},"icon"===o&&React.createElement(U.EBDisplayIcon,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:c||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},React.createElement("div",{className:"eb-feature-list-title-wrapper"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(u)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),"true"==f&&y&&React.createElement("span",{className:"eb-feature-list-badge",style:v},y)),!m&&React.createElement("p",{className:"eb-feature-list-content"},d)))}))))))};X.displayName="FeatureListEdit";const $=(0,l.memo)((0,U.withBlockContext)(J)(X));var K=a(4715),ee=a(6087);function te(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?te(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):te(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ne=[{attributes:ae({},J),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.showConnector,s=t.connectorStyle,p=t.classHook,b=t.useInlineDesign,d="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",m="none"!==l?" ".concat(l," ").concat(c):" none",u=b?" eb-inline-feature-list":"",g={};return React.createElement(U.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(d).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(m).concat(u)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,p=e.iconColor,d=e.iconBackgroundColor,m=e.content,u=e.link,f=e.linkOpenNewTab;return g={color:p,backgroundColor:d},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":s,"data-icon-color":p,"data-icon-background-color":d,"data-link":u,"data-alt":c,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement(U.EBDisplayIcon,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:c||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(u),target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!b&&React.createElement("p",{className:"eb-feature-list-content"},m)))})))))}},{attributes:ae({},J),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.showConnector,s=t.connectorStyle,p=t.classHook,b=t.useInlineDesign,d="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",m="none"!==l?" ".concat(l," ").concat(c):" none",u=b?" eb-inline-feature-list":"",g={};return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper -icon-position-").concat(r," -tablet-icon-position-").concat(r," -mobile-icon-position-").concat(r).concat(d).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(m).concat(u)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,p=e.iconColor,d=e.iconBackgroundColor,m=e.content,u=e.link,f=e.linkOpenNewTab;return g={color:p,backgroundColor:d},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":s,"data-icon-color":p,"data-icon-background-color":d,"data-link":u,"data-alt":c,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement(U.EBDisplayIcon,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:c||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:u,target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!b&&React.createElement("p",{className:"eb-feature-list-content"},m)))})))))}},{attributes:ae({},J),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.showConnector,s=t.connectorStyle,p=t.classHook,b=t.useInlineDesign,d="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",m="none"!==l?" ".concat(l," ").concat(c):" none",u=b?" eb-inline-feature-list":"",g={};return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(d).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(m).concat(u)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,p=e.iconColor,d=e.iconBackgroundColor,m=e.content,u=e.link,f=e.linkOpenNewTab;return g={color:p,backgroundColor:d},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":f?f.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":s,"data-icon-color":p,"data-icon-background-color":d,"data-link":u,"data-alt":c,"data-title":i},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:c||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(u),target:"true"==f?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),!b&&React.createElement("p",{className:"eb-feature-list-content"},m)))})))))}},{attributes:ae({},(0,ee.omit)(ae({},J),["inlineDesignClass"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.classHook,s="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",p="none"!==l?" ".concat(l," ").concat(c):" none",b={};return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(s)},React.createElement("ul",{className:"eb-feature-list-items".concat(p)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.icon,i=e.iconColor,s=e.iconBackgroundColor,p=e.content,d=e.link;return b={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":c,"data-icon-color":i,"data-icon-background-color":s,"data-link":d},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:b},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:c}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},d?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(d)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},p)))})))))}},{attributes:ae({},J),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.classHook,s="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",p="none"!==l?" ".concat(l," ").concat(c):" none",b={};return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(s)},React.createElement("ul",{className:"eb-feature-list-items".concat(p)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.icon,i=e.iconColor,s=e.iconBackgroundColor,p=e.content,d=e.link;return b={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":c,"data-icon-color":i,"data-icon-background-color":s,"data-link":d},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:b},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:c}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},d?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(d)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},p)))})))))}},{attributes:ae({},J),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",s="none"!==l?" ".concat(l," ").concat(c):" none",p={};return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(i)},React.createElement("ul",{className:"eb-feature-list-items".concat(s)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.icon,i=e.iconColor,s=e.iconBackgroundColor,b=e.content,d=e.link;return p={color:i,backgroundColor:s},React.createElement("li",{key:a,className:"eb-feature-list-item","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":c,"data-icon-color":i,"data-icon-background-color":s,"data-link":d},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:p},"icon"===o&&React.createElement("i",{"aria-hidden":"true",className:c}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r})))),React.createElement("div",{className:"eb-feature-list-content-box"},d?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(d)},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),React.createElement("p",{className:"eb-feature-list-content"},b)))}))))}}];var oe,re;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},le.apply(null,arguments)}const ce=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Feature List","name":"essential-blocks/feature-list","category":"essential-blocks","description":"Make your website interactive with feature list.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,U.ebConditionalRegisterBlockType)(ce,{icon:function(e){return r.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),oe||(oe=r.createElement("path",{fill:"#6C3BFF",d:"M27.9 19.125h11.775c.6 0 1.05-.375 1.05-1.05 0-.6-.375-1.05-1.05-1.05H27.9c-.6 0-1.05.375-1.05 1.05 0 .6.6 1.05 1.05 1.05M47.4 22.125H31.725c-.6 0-1.05.375-1.05 1.05 0 .6.375 1.05 1.05 1.05H47.4c.6 0 1.05-.375 1.05-1.05-.075-.6-.45-1.05-1.05-1.05M27.225 22.35c-.225.375-.225.6-.225.825s.225.375.225.6c.225.225.375.225.6.225s.375-.225.6-.225c.225-.225.225-.375.225-.6s-.225-.375-.225-.6c-.15-.45-.75-.45-1.2-.225M17.1 16.275c-2.625 0-4.875 2.25-4.875 4.875s2.25 4.875 4.875 4.875 4.875-2.25 4.875-4.875c.225-2.7-2.025-4.875-4.875-4.875m0 7.875c-1.65 0-2.85-1.2-2.85-2.85s1.2-2.85 2.85-2.85 2.85 1.2 2.85 2.85c.15 1.425-1.275 2.85-2.85 2.85M27.9 38.025h10.575c.6 0 1.05-.375 1.05-1.05 0-.6-.375-1.05-1.05-1.05H27.9c-.6 0-1.05.375-1.05 1.05 0 .6.6 1.05 1.05 1.05M47.4 41.025H31.725c-.6 0-1.05.375-1.05 1.05s.375 1.05 1.05 1.05H47.4c.6 0 1.05-.375 1.05-1.05s-.45-1.05-1.05-1.05M27.225 41.25c-.225.375-.225.6-.225.825s.225.375.225.6c.225.225.375.225.6.225s.375-.225.6-.225c.225-.225.225-.375.225-.6s-.15-.375-.15-.6c-.225-.45-.825-.45-1.275-.225M17.1 35.175c-2.625 0-4.875 2.25-4.875 4.875s2.25 4.875 4.875 4.875 4.875-2.25 4.875-4.875-2.025-4.875-4.875-4.875m0 7.95c-1.65 0-2.85-1.2-2.85-2.85s1.2-2.85 2.85-2.85 2.85 1.2 2.85 2.85c.15 1.425-1.275 2.85-2.85 2.85"})),re||(re=r.createElement("path",{fill:"#6C3BFF",d:"M0 52.425c0 2.625 2.025 4.65 4.65 4.65h50.625c2.625 0 4.65-2.025 4.65-4.65V6.45c0-2.625-2.025-4.65-4.65-4.65H4.65C2.025 1.8 0 3.825 0 6.45zM2.475 6.45c0-1.2 1.05-2.475 2.475-2.475H55.5c1.2 0 2.475 1.05 2.475 2.475v45.975c0 1.2-1.05 2.475-2.475 2.475H4.65c-1.2 0-2.475-1.05-2.475-2.475z"})))},keywords:[(0,n.__)("Feature list","essential-blocks"),(0,n.__)("Feature box","essential-blocks"),(0,n.__)("eb feature","essential-blocks")],attributes:J,edit:$,save:function(e){var t=e.attributes,a=t.blockId,n=t.featureListAlign,o=t.features,r=t.iconPosition,l=t.iconShape,c=t.shapeView,i=t.showConnector,s=t.connectorStyle,p=t.classHook,b=t.useInlineDesign,d="center"===n?" eb-feature-list-center":"right"===n?" eb-feature-list-right":" eb-feature-list-left",m="none"!==l?" ".concat(l," ").concat(c):" none",u=b?" eb-inline-feature-list":"",g={},f={};return React.createElement(U.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(p)},React.createElement("div",{className:"".concat(a," eb-feature-list-wrapper eb-icon-position-").concat(r," eb-tablet-icon-position-").concat(r," eb-mobile-icon-position-").concat(r).concat(d).concat(i?" connector-"+s:"")},React.createElement("ul",{className:"eb-feature-list-items".concat(m).concat(u)},o.map(function(e,a){var n=e.title,o=e.iconType,r=e.featureImage,l=e.featureImageId,c=e.featureImageAlt,i=e.featureImageTitle,s=e.icon,p=e.iconColor,d=e.iconBackgroundColor,m=e.content,u=e.link,y=e.linkOpenNewTab,h=e.showBadge,v=e.badgeText,w=e.badgeTextColor,k=e.badgeBackgroundColor;return g={color:p,backgroundColor:d},f={color:w,backgroundColor:k},React.createElement("li",{key:a,className:"eb-feature-list-item","data-new-tab":y?y.toString():"false","data-icon-type":o,"data-image":r,"data-image-id":l,"data-icon":s,"data-icon-color":p,"data-icon-background-color":d,"data-link":u,"data-alt":c,"data-title":i,"data-show-badge":h?h.toString():"false","data-badge-text":v,"data-badge-text-color":w,"data-badge-background-color":k},"none"!==o&&React.createElement("div",{className:"eb-feature-list-icon-box"},React.createElement("div",{className:"eb-feature-list-icon-inner"},React.createElement("span",{className:"eb-feature-list-icon",style:g},"icon"===o&&React.createElement(U.EBDisplayIcon,{icon:s}),"image"===o&&React.createElement("img",{className:"eb-feature-list-img",src:r,alt:c||i})))),React.createElement("div",{className:"eb-feature-list-content-box"},React.createElement("div",{className:"eb-feature-list-title-wrapper"},u?React.createElement(t.titleTag,{className:"eb-feature-list-title"},React.createElement("a",{href:(0,U.sanitizeURL)(u),target:"true"==y?"_blank":"_self",rel:"noopener"},n)):React.createElement(t.titleTag,{className:"eb-feature-list-title"},n),"true"==h&&v&&React.createElement("span",{className:"eb-feature-list-badge",style:f},v)),!b&&React.createElement("p",{className:"eb-feature-list-content"},m)))})))))},example:{attributes:{}},deprecated:ne})},4715:e=>{e.exports=window.wp.blockEditor},4727:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(6427),i="wrprBg",s="wrpMargin",p="wrpPadding",b="wrpBorderShadow",d="iconBrd",m="iconBrdWidth",u="iconSize",g=[{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),value:"right"}],f=[{label:(0,n.__)("Circle","essential-blocks"),value:"circle"},{label:(0,n.__)("Square","essential-blocks"),value:"square"}],y=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Framed","essential-blocks"),value:"framed"},{label:(0,n.__)("Stacked","essential-blocks"),value:"stacked"}],h=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],v=a(5694);function w(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.iconAlign,l=t.iconPadding,c=t.iconPrimaryColor,g=t.iconPrimaryHoverColor,f=t.iconSecondaryColor,y=t.iconSecondaryHoverColor,h=(0,v.generateDimensionsControlStyles)({controlName:s,styleFor:"margin",attributes:t}),w=h.dimensionStylesDesktop,k=h.dimensionStylesTab,R=h.dimensionStylesMobile,_=(0,v.generateDimensionsControlStyles)({controlName:p,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=(0,v.generateBackgroundControlStyles)({attributes:t,controlName:i}),B=S.backgroundStylesDesktop,T=(S.hoverBackgroundStylesDesktop,S.backgroundStylesTab),N=(S.hoverBackgroundStylesTab,S.backgroundStylesMobile),P=(S.hoverBackgroundStylesMobile,S.overlayStylesDesktop,S.hoverOverlayStylesDesktop,S.overlayStylesTab,S.hoverOverlayStylesTab,S.overlayStylesMobile,S.hoverOverlayStylesMobile,S.bgTransitionStyle),O=(S.ovlTransitionStyle,(0,v.generateBorderShadowStyles)({controlName:b,attributes:t})),I=O.styesDesktop,D=O.styesTab,A=O.styesMobile,M=O.stylesHoverDesktop,L=O.stylesHoverTab,F=O.stylesHoverMobile,j=O.transitionStyle,H=(0,v.generateResponsiveRangeStyles)({controlName:u,property:"font-size",attributes:t}),z=H.rangeStylesDesktop,U=H.rangeStylesTab,V=H.rangeStylesMobile,G=(0,v.generateDimensionsControlStyles)({controlName:d,styleFor:"border-radius",attributes:t}),q=G.dimensionStylesDesktop,W=G.dimensionStylesTab,Z=G.dimensionStylesMobile,J=(0,v.generateDimensionsControlStyles)({controlName:m,styleFor:"border",attributes:t}),Y=J.dimensionStylesDesktop,Q=J.dimensionStylesTab,X=J.dimensionStylesMobile,$="\n\t\t.".concat(o,".eb-icon-wrapper {\n text-align: ").concat(r,";\n\t\t\t").concat(w,"\n\t\t\t").concat(C,"\n\t\t\t").concat(I,"\n\t\t\t").concat(B,"\n\t\t\ttransition:").concat(P,", ").concat(j,";\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(M,"\n\t\t}\n\t"),K="\n .".concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container,\n .").concat(o,".eb-icon-wrapper.eb-icon-view-default .eb-icon-container {\n ").concat(c?"color: ".concat(c,";"):"","\n\n }\n .").concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container {\n ").concat(f?"background-color: ".concat(f,";"):"","\n ").concat(c?"border-color: ".concat(c,";"):"","\n }\n .").concat(o,".eb-icon-wrapper.eb-icon-view-framed .eb-icon-container:hover {\n ").concat(g?"color: ".concat(g,";"):"","\n ").concat(g?"border-color: ".concat(g,";"):"","\n ").concat(y?"background-color: ".concat(y,";"):"","\n }\n .").concat(o,".eb-icon-wrapper.eb-icon-view-stacked .eb-icon-container {\n ").concat(c?"background-color: ".concat(c,";"):"","\n ").concat(f?"color: ".concat(f,";"):"","\n }\n\n .").concat(o,".eb-icon-wrapper.eb-icon-view-stacked .eb-icon-container:hover {\n ").concat(g?"background-color: ".concat(g,";"):"","\n ").concat(y?"color: ".concat(y,";"):"","\n }\n\n .").concat(o,".eb-icon-wrapper .eb-icon-container {\n ").concat(z,"\n ").concat(l?"padding: ".concat(l,"px;"):"","\n ").concat(q,"\n ").concat(Y,"\n }\n "),ee="\n\t\t.".concat(o,".eb-icon-wrapper{\n\t\t\t").concat(k,"\n\t\t\t").concat(E,"\n\t\t\t").concat(D,"\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(L,"\n\t\t}\n\t"),te="\n .".concat(o,".eb-icon-wrapper .eb-icon-container {\n ").concat(U,"\n ").concat(W,"\n ").concat(Q,"\n }\n "),ae="\n .eb-parent-".concat(o," {\n line-height: 0;\n }\n\n\t\t.").concat(o,".eb-icon-wrapper {\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(A,"\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(F,"\n\t\t}\n\t"),ne="\n .".concat(o,".eb-icon-wrapper .eb-icon-container {\n ").concat(V,"\n ").concat(Z,"\n ").concat(X,"\n }\n "),oe=(0,v.softMinifyCssStrings)("\n\t\t".concat($,"\n ").concat(K,"\n\t")),re=(0,v.softMinifyCssStrings)("\n\t\t".concat(ee,"\n ").concat(te,"\n\t")),le=(0,v.softMinifyCssStrings)("\n\t\t".concat(ae,"\n ").concat(ne,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(v.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:oe,tabAllStyles:re,mobileAllStyles:le,blockName:n}))}var k=a(4715);function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_(_(_(_({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},iconAlign:{type:"string",default:"center"},icon:{type:"string",default:"far fa-check-circle"},iconPrimaryColor:{type:"string",default:"var(--eb-global-primary-color)"},iconPrimaryHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},iconSecondaryColor:{type:"string",default:"var(--eb-global-secondary-color)"},iconSecondaryHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},iconView:{type:"string",default:"default"},iconShape:{type:"string",default:"circle"},iconLink:{type:"string"},linkNewTab:{type:"boolean",default:!1},linkNoFollow:{type:"boolean",default:!1},iconPadding:{type:"number"},iconColorType:{type:"string",default:"normal"}},(0,v.generateDimensionsAttributes)(s)),(0,v.generateDimensionsAttributes)(p)),(0,v.generateDimensionsAttributes)(d,{styleFor:"border-radius"})),(0,v.generateDimensionsAttributes)(m)),(0,v.generateBorderShadowAttributes)(b,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,v.generateBackgroundAttributes)(i,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,v.generateBackgroundAttributes)("iconBg",{noOverlay:!0,noMainBgi:!0})),(0,v.generateResponsiveRangeAttributes)(u,{defaultRange:32})),E=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.icon),r=t.iconAlign,l=t.iconPrimaryColor,w=t.iconPrimaryHoverColor,k=t.iconSecondaryColor,R=t.iconSecondaryHoverColor,_=t.iconShape,C=t.iconView,E=t.iconPadding,x=t.iconColorType;return React.createElement(v.InspectorPanel,{advancedControlProps:{marginPrefix:s,paddingPrefix:p,backgroundPrefix:i,borderPrefix:b,hasMargin:!0}},React.createElement(v.InspectorPanel.General,null,React.createElement(v.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(v.EBIconPicker,{value:o,attributeName:"icon"}),React.createElement(c.SelectControl,{label:(0,n.__)("Icon View","essential-blocks"),value:C,options:y,onChange:function(e){return a({iconView:e})}}),"default"!==C&&React.createElement(c.SelectControl,{label:(0,n.__)("Icon Shape","essential-blocks"),value:_,options:f,onChange:function(e){return a({iconShape:e})}}),React.createElement(c.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(c.ButtonGroup,{id:"eb-advance-heading-alignment"},g.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({iconAlign:e.value})}},e.label)}))))),React.createElement(v.InspectorPanel.Style,null,React.createElement(v.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(c.ButtonGroup,{className:"eb-inspector-btn-group"},h.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:x===e.value,isSecondary:x!==e.value,onClick:function(){return a({iconColorType:e.value})}},e.label)})),"normal"===x&&React.createElement(React.Fragment,null,React.createElement(v.ColorControl,{label:(0,n.__)("Primary Color","essential-blocks"),color:l,attributeName:"iconPrimaryColor"}),"default"!=C&&React.createElement(v.ColorControl,{label:(0,n.__)("Secondary Color","essential-blocks"),color:k,attributeName:"iconSecondaryColor"})),"hover"===x&&React.createElement(React.Fragment,null,React.createElement(v.ColorControl,{label:(0,n.__)("Primary Color","essential-blocks"),color:w,attributeName:"iconPrimaryHoverColor"}),"default"!=C&&React.createElement(v.ColorControl,{label:(0,n.__)("Secondary Color","essential-blocks"),color:R,attributeName:"iconSecondaryHoverColor"})),React.createElement(v.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:u,min:10,max:400,step:1}),React.createElement(c.RangeControl,{label:(0,n.__)("Padding","essential-blocks"),value:E,onChange:function(e){return a({iconPadding:e})},min:0,max:100,step:1,allowReset:!0}),"framed"===C&&React.createElement(v.ResponsiveDimensionsControl,{controlName:m,baseLabel:(0,n.__)("Border Width","essential-blocks")}),React.createElement(v.ResponsiveDimensionsControl,{forBorderRadius:!0,controlName:d,baseLabel:(0,n.__)("Border Radius","essential-blocks")}))))};function x(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function S(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const B=(0,l.memo)((0,v.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=(t.resOption,t.blockId),r=t.icon,l=t.iconView,c=t.iconShape,i=t.classHook,s=S(S({},e),{},{blockPrefix:"eb-icon",style:React.createElement(w,e)}),p="default"!==l?" eb-icon-shape-"+c:"";return React.createElement(React.Fragment,null,n&&React.createElement(React.Fragment,null,React.createElement(E,{attributes:t,setAttributes:a})),React.createElement(v.BlockProps.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(i)},React.createElement("div",{className:"eb-icon-wrapper ".concat(o," eb-icon-view-".concat(l)).concat(p),"data-id":o},React.createElement("div",{className:"eb-icon-container"},React.createElement(v.EBDisplayIcon,{icon:r}))))))}));function T(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?T(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const P=[{attributes:N({},C),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,l=t.classHook,c="default"!==o?" eb-icon-shape-"+r:"";return React.createElement("div",k.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(c),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement(v.EBDisplayIcon,{icon:n})))))}},{attributes:N({},C),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,l=t.classHook,c="default"!==o?" eb-icon-shape-"+r:"";return React.createElement("div",k.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(c),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement("i",{className:n})))))}}],O=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Icon Picker","name":"essential-blocks/icon","category":"essential-blocks","description":"Icon Picker Block lets you choose any Font Awesome icon to customize your design as per your preference.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var I;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},D.apply(null,arguments)}(0,v.ebConditionalRegisterBlockType)(O,{keywords:[(0,n.__)("Icon","essential-blocks"),(0,n.__)("eb icon","essential-blocks")],icon:function(e){return r.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),I||(I=r.createElement("path",{fill:"#6C3BFF",d:"M59.397 45.985c-1.329-4.835-2.659-9.671-3.977-14.51-.917-3.366-1.787-6.742-3.313-9.91-.97-2.013-2.834-3.29-4.945-3.16-1.714.106-2.999.978-3.955 2.442-2.893-1.846-4.922-1.482-7.44 1.292-2.515-1.687-4.845-1.432-7.002.751-.12-.267-.217-.472-.306-.68-1.293-3.017-2.573-6.039-3.88-9.05a5.46 5.46 0 0 0-1.883-2.323v-9.37A.466.466 0 0 0 22.23 1H7.976a.466.466 0 0 0-.466.466v5.121a8.138 8.138 0 1 0 8.703 11.99c2.752 6.455 5.517 12.905 8.276 19.357.092.215.17.437.292.751-1.756-.515-3.36-1.026-4.989-1.454-2.62-.69-5.298.744-6.134 3.237-.85 2.532.394 5.183 2.911 6.286 4.064 1.78 8.07 3.701 12.192 5.334 2.736 1.084 4.937 2.638 6.669 5.023 1.52 2.095 3.828 2.4 6.228 1.148 4.67-2.436 9.539-4.449 14.504-6.209 2.82-1 4.005-3.269 3.237-6.063zM10.145 3.17h9.916c.257 0 .466.208.466.466v6.358a4.7 4.7 0 0 0-1.887.143 5 5 0 0 0-2.054 1.158 8.14 8.14 0 0 0-6.91-4.852V3.637c0-.257.21-.466.466-.466zM9.136 20.527a5.968 5.968 0 0 1 0-11.934c3.296 0 5.822 2.528 5.96 5.701q-.045.41-.02.832a5.967 5.967 0 0 1-5.94 5.401m46.518 29.036c-4.615 1.965-9.22 3.948-13.831 5.924q-.86.372-1.724.73c-1.144.476-1.93.299-2.722-.63-.752-.88-1.431-1.832-2.25-2.642-.678-.668-1.441-1.336-2.294-1.723-5.03-2.284-10.096-4.486-15.15-6.716-1.472-.648-2.112-1.943-1.629-3.294.463-1.297 1.872-1.933 3.382-1.496q3.462 1.002 6.913 2.044c.596.18 1.148.223 1.596-.282.45-.505.34-1.058.098-1.624-3.362-7.842-6.724-15.682-10.067-23.532-.221-.52-.413-1.112-.388-1.66.047-1.036.647-1.773 1.651-2.092 1.016-.323 1.878.018 2.557.79.253.288.427.659.58 1.016 2.463 5.737 4.917 11.477 7.373 17.216q.107.256.226.506c.36.762 1.015 1.05 1.688.748.672-.302.91-.976.584-1.758-.578-1.387-1.195-2.758-1.763-4.15-.604-1.48.186-3.001 1.704-3.345 1.09-.248 2.263.4 2.79 1.584.59 1.331 1.138 2.681 1.72 4.016.292.666.81.964 1.42.858.771-.133 1.223-.92.926-1.696-.35-.906-.76-1.787-1.128-2.686-.54-1.327-.057-2.669 1.151-3.231 1.205-.56 2.632-.008 3.252 1.295.387.814.71 1.658 1.073 2.483.378.859 1.051 1.177 1.765.849.675-.31.878-1.005.533-1.838-.114-.279-.243-.55-.358-.828-.565-1.364-.087-2.727 1.15-3.291 1.247-.57 2.691-.02 3.256 1.37.816 2.008 1.662 4.02 2.257 6.1 1.729 6.021 3.339 12.078 4.994 18.121.072.266.118.54.154.706-.03 1.135-.568 1.763-1.492 2.157z"})))},attributes:C,edit:B,save:function(e){var t=e.attributes,a=t.blockId,n=t.icon,o=t.iconView,r=t.iconShape,l=t.classHook,c="default"!==o?" eb-icon-shape-"+r:"";return React.createElement(v.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"eb-icon-wrapper ".concat(a," eb-icon-view-".concat(o)).concat(c),"data-id":a},React.createElement("div",{className:"eb-icon-container"},React.createElement(v.EBDisplayIcon,{icon:n})))))},example:{attributes:{}},deprecated:P})},4871:e=>{e.exports=window.wp.serverSideRender},4937:(e,t,a)=>{a(7723);var n=a(4467),o=a(1609),r=a(4715),l=a(7143),c=a(8468),i=a(5694);const s={blockId:{type:"string"},tabId:{type:"string"},tabParentId:{type:"string"},align:{type:"string",default:"full"}};function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function b(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach(function(t){(0,n.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const d=(0,c.memo)((0,i.withBlockContext)(s)(function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=e.context,s=t.tabId,p=t.tabParentId,d=b(b({},e),{},{blockPrefix:"eb-tab",rootClass:"eb-guten-block-main-parent-wrapper eb-tab-editor-wrap"}),m=(0,l.useSelect)(function(e){return{blocks:e("core/block-editor").getBlockOrder(n)}},[]).blocks;return(0,c.useEffect)(function(){a({tabParentId:o["eb/tabParentId"]})},[o["eb/tabParentId"]]),React.createElement(i.BlockProps.Edit,d,React.createElement("div",{className:"eb-tab-wrapper eb-tab-wrapper-editor","data-tab-id":s,"data-tab-parent-id":p},React.createElement("div",{className:"eb-tab-inner"},React.createElement(r.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:m.length>0?void 0:r.InnerBlocks.ButtonBlockAppender}))))}));var m,u;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},g.apply(null,arguments)}const f=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Tab","name":"essential-blocks/tab","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"inserter":false,"reusable":false,"html":false,"align":["full"]},"parent":["essential-blocks/advanced-tabs"],"usesContext":["eb/tabParentId"]}');(0,i.ebConditionalRegisterBlockType)(f,{icon:function(e){return o.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 70 70"},e),m||(m=o.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},o.createElement("path",{d:"M70 11.6c-.7-2.4-2.2-3.5-4.7-3.5H24.1c-.3 0-.7.1-.9-.4-.8-1.7-2.2-2.6-4.1-2.6H4.7c-.4 0-.7 0-1.1.1C1.4 5.7 0 7.4 0 9.8v46.8c0 2.9 2 5 5 5 16.7-.1 33.4 0 50.1 0h10.7c1.9 0 3.2-1 4-2.7l.3-.9V11.8s0-.1-.1-.2m-30.8-.7h12.7v5.8H39.2zm-15.5 0h12.7v5.8H23.7zm43.7 9.5v36.2c0 1.7-.5 2.2-2.2 2.2H5c-1.7 0-2.2-.5-2.2-2.2V10c0-1.7.5-2.2 2.2-2.2h13.8c1.5 0 2.1.5 2.1 2.1v7.7c0 1.5.4 1.9 1.9 1.9h44.7c-.1.4-.1.6-.1.9m0-3.7H54.7v-5.9h10.7c1.4 0 2 .6 2 2z"}),o.createElement("path",{d:"M40.6 25.7H9.2c-1.4 0-1.8.4-1.8 1.8v23.3c0 1.4.4 1.8 1.8 1.8h31.3c1.1 0 1.6-.5 1.6-1.6V27.3c0-1-.5-1.6-1.5-1.6M11.3 49.9c2.7-4.3 5.4-8.6 8.2-13 2.8 4.4 5.5 8.6 8.2 13zm23.6 0h-3.5c-.3 0-.6-.2-.8-.4-.8-1.1-1.5-2.3-2.2-3.5-.1-.2-.2-.5-.1-.6 1.1-1.8 2.3-3.6 3.5-5.5 2.1 3.3 4.2 6.6 6.3 10zm4.4-3.4c-.3-.5-.6-.9-.8-1.3-1.8-2.8-3.5-5.6-5.3-8.4-.7-1.1-1.8-1.1-2.6 0-.1.2-.2.3-.3.5L26.7 43c-.2-.3-.3-.5-.4-.7l-5.4-8.4c-.8-1.3-1.9-1.3-2.7 0-2.5 3.9-5 7.8-7.4 11.7-.1.2-.3.4-.5.7V28.4h29.1c-.1 6.1-.1 12-.1 18.1M48.4 28.5h13.2c.7 0 1.2-.6 1.2-1.3s-.4-1.2-1.1-1.4h-13c-.3 0-.6 0-.9.1-.9.2-1.2 1.2-.8 2 .3.4.8.6 1.4.6M48.4 36.4h12.8c.3 0 .7-.1 1-.2.5-.3.7-.9.6-1.5-.2-.7-.7-1-1.5-1H48.5c-1 0-1.7.5-1.6 1.4-.1.8.5 1.3 1.5 1.3M61.2 41.6H48.5c-1 0-1.7.5-1.7 1.4 0 .8.6 1.3 1.6 1.3h12.8c1 0 1.7-.5 1.7-1.4-.1-.8-.7-1.3-1.7-1.3M61.2 49.5c-2.1-.1-4.2 0-6.4 0H48c-.7 0-1.2.5-1.3 1.2 0 .7.4 1.3 1.1 1.4.2.1.5.1.7.1h12.3c.3 0 .6 0 .9-.1.9-.3 1.2-1.4.6-2.1-.1-.3-.6-.5-1.1-.5M11.8 13.7H16c.6 0 1-.1 1.3-.6.6-1-.1-2.1-1.3-2.1H7.5c-1 0-1.6.5-1.6 1.4 0 .8.6 1.3 1.6 1.3z"}))),u||(u=o.createElement("defs",null,o.createElement("clipPath",{id:"icon_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h70v70H0z"})))))},attributes:s,edit:d,save:function(e){var t=e.attributes,a=t.tabId,n=t.tabParentId;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-tab-wrapper","data-tab-id":a,"data-tab-parent-id":n},React.createElement("div",{className:"eb-tab-inner"},React.createElement(r.InnerBlocks.Content,null))))}})},4983:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(3453),l=a(1609),c=a(8468),i=a(4715),s=a(4997),p=a(7143),b=[["essential-blocks/wrapper",{}],["essential-blocks/wrapper",{}]],d=[{label:(0,n.__)("Primary","essential-blocks"),value:"primary"},{label:(0,n.__)("Secondary","essential-blocks"),value:"secondary"}],m=[{label:(0,n.__)("Rectangle","essential-blocks"),value:"rectangle"},{label:(0,n.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,n.__)("Toggle","essential-blocks"),value:"toggle"}],u=[{label:(0,n.__)("None","essential-blocks"),value:"none"},{label:(0,n.__)("Circle","essential-blocks"),value:"circle"},{label:(0,n.__)("Diamond","essential-blocks"),value:"diamond"}],g=[{label:(0,n.__)("Small","essential-blocks"),value:"s"},{label:(0,n.__)("Medium","essential-blocks"),value:"m"},{label:(0,n.__)("Large","essential-blocks"),value:"l"},{label:(0,n.__)("Extra Large","essential-blocks"),value:"xl"}],f=((0,n.__)("Left","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("Right","essential-blocks"),[{label:(0,n.__)("None","essential-blocks"),value:"none"},{label:(0,n.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,n.__)("Solid","essential-blocks"),value:"solid"},{label:(0,n.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,n.__)("Double","essential-blocks"),value:"double"},{label:(0,n.__)("Groove","essential-blocks"),value:"groove"},{label:(0,n.__)("Inset","essential-blocks"),value:"inset"},{label:(0,n.__)("Outset","essential-blocks"),value:"outset"},{label:(0,n.__)("Ridge","essential-blocks"),value:"ridge"}]),y=((0,n.__)("Solid","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),"#3074ff"),h="#0f52ba",v="btnW_",w="btnH_",k="hSpc_",R="WrpBg_",_="wrpBdSd_",C="tglC_",E="wrpMrg_",x="wrpPad_",S=a(5694);function B(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),l=(t.blockMeta,t.classHook,t.switchStyle),i=t.seperatorType,s=t.alignment,p=t.activeColor,b=t.activeBg,d=t.primaryLabelColor,m=t.secondaryLabelColor,u=t.labelSpace,g=t.labelSpaceUnit,f=(t.backgroundType,t.backgroundColor),B=(t.backgroundGradient,t.controllerType,t.controllerColor),T=(t.controllerGradient,t.borderStyle),N=t.borderWidth,P=t.borderColor,O=t.borderRadius,I=t.shadowColor,D=t.hOffset,A=t.vOffset,M=t.blur,L=t.spread,F=t.inset,j=t.initialContent,H=t.switchSize,z=t["".concat(C,"FontSize")],U=t["".concat(C,"SizeUnit")],V=t.backgroundColorSecondary,G=t.controllerColorSecondary,q=(0,c.useState)("primary"===j),W=(0,r.A)(q,2),Z=W[0],J=(W[1],(0,S.generateTypographyStyles)({attributes:t,prefixConstant:C})),Y=J.typoStylesDesktop,Q=J.typoStylesTab,X=J.typoStylesMobile,$=(0,S.generateResponsiveRangeStyles)({controlName:w,customUnit:"px",property:"height",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=(0,S.generateResponsiveRangeStyles)({controlName:v,property:"width",attributes:t}),ne=ae.rangeStylesDesktop,oe=ae.rangeStylesTab,re=ae.rangeStylesMobile,le=(0,S.generateResponsiveRangeStyles)({controlName:k,property:"margin-bottom",attributes:t}),ce=le.rangeStylesDesktop,ie=le.rangeStylesTab,se=le.rangeStylesMobile,pe=(0,S.generateDimensionsControlStyles)({attributes:t,controlName:E,styleFor:"margin"}),be=pe.dimensionStylesDesktop,de=pe.dimensionStylesTab,me=pe.dimensionStylesMobile,ue=(0,S.generateDimensionsControlStyles)({attributes:t,controlName:x,styleFor:"padding"}),ge=ue.dimensionStylesDesktop,fe=ue.dimensionStylesTab,ye=ue.dimensionStylesMobile,he=(0,S.generateBackgroundControlStyles)({attributes:t,controlName:R}),ve=he.backgroundStylesDesktop,we=he.hoverBackgroundStylesDesktop,ke=he.backgroundStylesTab,Re=he.hoverBackgroundStylesTab,_e=he.backgroundStylesMobile,Ce=he.hoverBackgroundStylesMobile,Ee=he.overlayStylesDesktop,xe=he.hoverOverlayStylesDesktop,Se=he.overlayStylesTab,Be=he.hoverOverlayStylesTab,Te=he.overlayStylesMobile,Ne=he.hoverOverlayStylesMobile,Pe=he.bgTransitionStyle,Oe=he.ovlTransitionStyle,Ie=(0,S.generateBorderShadowStyles)({controlName:_,attributes:t}),De=Ie.styesDesktop,Ae=Ie.styesTab,Me=Ie.styesMobile,Le=Ie.stylesHoverDesktop,Fe=Ie.stylesHoverTab,je=Ie.stylesHoverMobile,He=Ie.transitionStyle,ze="\n\t.".concat(o,".eb-toggle-wrapper{\n\t\t").concat(be,"\n\t\t").concat(ge,"\n\t\t").concat(ve,"\n\t\t").concat(De,"\n\t\ttransition: all 0.5s, ").concat(Pe,", ").concat(He,";\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover{\n\t\t").concat(we,"\n\t\t").concat(Le,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:before{\n\t\t").concat(Ee,"\n\t\ttransition: all 0.5s, ").concat(Oe,";\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover:before{\n\t\t").concat(xe,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label,\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-primary-label\n\t{\n\t\tz-index:2;\n\t}\n\n\n\t.").concat(o,".eb-toggle-wrapper .eb-text-switch-toggle{\n\t\tz-index:0;\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(o,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(ne,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-toggle-wrapper .eb-text-switch-toggle,\n\t.").concat(o,'.eb-toggle-wrapper .eb-toggle-controller\n\t{\n\t\tposition:absolute;\n\t\tcontent:"";\n\t\tz-index:1;\n\t\tbackground: ').concat(B||"white",";\n\t\ttransition:0.4s;\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-heading{\n\t\ttext-align: ").concat(s||"center",";\n\t\t").concat(Y,"\n\t\t").concat(ce,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-text-switch-label,\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t").concat("toggle"===l?"".concat(K):"","\n\t\tbackground:").concat(f||y,";\n\t\t").concat("rounded"===l?"border-radius:21px;":"","\n\t\tborder: ").concat(N||0,"px ").concat(T||"none"," ").concat(P||"#00000000",";\n\t\tbox-shadow: ").concat(D||0,"px ").concat(A||0,"px ").concat(M||0,"px ").concat(L||0,"px ").concat(I||"#00000000"," ").concat(F?"inset":"",";\n\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-switch{\n\t\tmargin: 0 ").concat(u||10).concat(g||px,";\n\t\t").concat("text"===l?"display:none":"","\n\t}\n\n\t").concat("text"===l?"\n\t\t\t.".concat(o,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-primary-label\n\t\t\t{\n\t\t\t\t").concat("none"!==i?"margin:0 -10px 0 10px;":"","\n\t\t\t\tpadding:10px 20px;\n\t\t\t\tborder:").concat(N||0,"px ").concat(T||"none"," ").concat(P||"#00000000",";\n\t\t\t\tborder-right:none;\n\t\t\t\tborder-top-left-radius: ").concat(O||0,"px;\n\t\t\t\tborder-bottom-left-radius: ").concat(O||0,"px;\n\t\t\t}\n\n\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label\n\t\t\t{\n\t\t\t\t").concat("none"!==i?"margin:0 10px 0 -10px;":"","\n\t\t\t\tpadding:10px 20px;\n\t\t\t\tborder:").concat(N||0,"px ").concat(T||"none"," ").concat(P||"#00000000",";\n\t\t\t\tborder-left:none;\n\t\t\t\tborder-top-right-radius: ").concat(O||0,"px;\n\t\t\t\tborder-bottom-right-radius: ").concat(O||0,"px;\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-seperator{\n\t\tdisplay: ").concat("text"===l?"inline-block":"none",";\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-switch-names{\n\t\t").concat(z?"font-size:".concat(z).concat(U||"px",";"):"","\n\t}\n\n .").concat(o,".eb-toggle-wrapper.eb-toggle-secondary .eb-toggle-slider{\n background:").concat(V||f," !important;\n }\n .").concat(o,".eb-toggle-wrapper.eb-toggle-secondary .eb-toggle-controller{\n background:").concat(G||B," !important;\n }\n\n\t"),Ue="\n\t.".concat(o,".eb-toggle-wrapper{\n\t\t").concat(de,"\n\t\t").concat(fe,"\n\t\t").concat(ke,"\n\t\t").concat(Ae,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover{\n\t\t").concat(Re,"\n\t\t").concat(Fe,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:before{\n\t\t").concat(Se,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover:before{\n\t\t").concat(Be,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-heading{\n\t\t").concat(Q,"\n\t\t").concat(ie,"\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(o,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(oe,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-text-switch-label,\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t\t\t").concat(ee,"\n\t\t\t}\n\t\t\t"):"","\n\n\n\t"),Ve="\n\t.".concat(o,".eb-toggle-wrapper{\n\t\t").concat(me,"\n\t\t").concat(ye,"\n\t\t").concat(_e,"\n\t\t").concat(Me,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover{\n\t\t").concat(Ce,"\n\t\t").concat(je,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:before{\n\t\t").concat(Te,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper:hover:before{\n\t\t").concat(Ne,"\n\t}\n\n\t.").concat(o,".eb-toggle-wrapper .eb-toggle-heading{\n\t\t").concat(X,"\n\t\t").concat(se,"\n\t}\n\n\t").concat("toggle"===l?"\n\t\t\t.".concat(o,".eb-toggle-wrapper .eb-text-switch-content{\n\t\t\t\t").concat(re,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-text-switch-label,\n\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-slider{\n\t\t\t\t").concat(te,"\n\t\t\t}\n\t\t\t"):"","\n\n\t"),Ge=(0,S.softMinifyCssStrings)("\n\t\t".concat(ze,"\n\n\n\t")),qe=(0,S.softMinifyCssStrings)("\n\t\t".concat(Ue,"\n\n\n\t")),We=(0,S.softMinifyCssStrings)("\n\t\t".concat(Ve,"\n\n\n\t"));return React.createElement(React.Fragment,null,React.createElement("style",null,"\n\t\t\t\t\t.eb-toggle-content .block-editor-block-list__layout > p:nth-child(2) > span {\n\t\t\t\t\t\topacity: 1 !important;\n\t\t\t\t\t}\n\t\t\t\t\t".concat(Z?"":"\n\t\t\t\t\t\t\t.".concat(o,".eb-toggle-wrapper .eb-text-switch-toggle{\n\t\t\t\t\t\t\t\tmargin-left: 50%;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t"),"\n\n\t\t\t\t\t").concat("toggle"!==l?"\n\t\t\t\t\t\t.".concat(o,".eb-toggle-wrapper .eb-text-switch-toggle,\n\t\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-controller{\n\t\t\t\t\t\t\ttransform: ").concat(function(){if(Z)return"translateX(0px)";switch(H){case"s":return"translateX(22px)";case"m":return"translateX(26px)";case"l":return"translateX(36px)";case"xl":return"translateX(42px)"}}(),";\n\t\t\t\t\t\t\tborder-radius: ").concat(function(){if("rectangle"===l)return"0px";switch(H){case"s":return"10px";case"m":return"13px";case"l":return"16px";case"xl":return"21px"}}(),";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t"):"","\n\n\n\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-primary-label-text,\n\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-primary-label\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor: ").concat(Z?p||d||"inherit":d||"inherit",";\n\t\t\t\t\t\t").concat("text"===l?"background: ".concat(Z?b||h:f||y,";"):"","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label-text,\n\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-secondary-label\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor: ").concat(Z?m||"inherit":p||m||"inherit",";\n\t\t\t\t\t\t").concat("text"===l?"background: ".concat(Z?f||y:b||h,";"):"","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(o,".eb-toggle-wrapper .eb-toggle-seperator{\n\t\t\t\t\t\tbackground:").concat(f||y,";\n\t\t\t\t\t}\n\n\t\t\t\t")),React.createElement(S.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ge,tabAllStyles:qe,mobileAllStyles:We,blockName:n}))}var T=a(6427);function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=P(P(P(P(P(P(P(P({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},id:{type:"string"},initialContent:{type:"string",default:"primary"},switchStyle:{type:"string",default:"rounded"},alignment:{type:"string",default:"center"},switchSize:{type:"string",default:"m"},switchSizeUnit:{type:"string",default:"px"},seperatorType:{type:"string",default:"none"},activeColor:{type:"string",default:"var(--eb-global-heading-color)"},labelSpace:{type:"number"},labelSpaceUnit:{type:"string",default:"px"},backgroundType:{type:"string",default:"solid"},backgroundColor:{type:"string",default:"var(--eb-global-primary-color)"},backgroundGradient:{type:"string",default:"linear-gradient(45deg,#00F260,#0575E6)"},controllerType:{type:"string",default:"solid"},controllerColor:{type:"string",default:"var(--eb-global-background-color)"},controllerGradient:{type:"string"},borderStyle:{type:"string"},borderWidth:{type:"number"},borderColor:{type:"string"},borderRadius:{type:"number"},primaryLabelText:{type:"string"},secondaryLabelText:{type:"string"},primaryLabelColor:{type:"string",default:"var(--eb-global-text-color)"},secondaryLabelColor:{type:"string",default:"var(--eb-global-text-color)"},activeBg:{type:"string"},contentStyles:{type:"string",default:"primary"},shadowColor:{type:"string"},hOffset:{type:"number"},vOffset:{type:"number"},blur:{type:"number"},spread:{type:"number"},inset:{type:"boolean",default:!1},backgroundColorSecondary:{type:"string"},controllerColorSecondary:{type:"string"}},(0,S.generateTypographyAttributes)(C)),(0,S.generateDimensionsAttributes)(E)),(0,S.generateDimensionsAttributes)(x)),(0,S.generateBorderShadowAttributes)(_,{})),(0,S.generateBackgroundAttributes)(R,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,S.generateResponsiveRangeAttributes)(v,{defaultUnit:"%"})),(0,S.generateResponsiveRangeAttributes)(w,{noUnits:!0})),(0,S.generateResponsiveRangeAttributes)(k,{})),I=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.initialContent),r=t.switchStyle,l=t.switchSize,c=(t.buttonHeight,t.buttonWidth,t.seperatorType),i=t.activeColor,s=t.activeBg,p=t.primaryLabelColor,b=t.secondaryLabelColor,y=t.labelSpace,h=t.labelSpaceUnit,B=(t.backgroundType,t.backgroundColor),N=(t.backgroundGradient,t.controllerType,t.controllerColor),P=(t.controllerGradient,t.borderStyle),O=t.borderWidth,I=t.borderColor,D=t.borderRadius,A=t.shadowColor,M=t.hOffset,L=t.vOffset,F=t.blur,j=t.spread,H=t.inset,z=t.contentStyles,U=t.controllerColorSecondary,V=t.backgroundColorSecondary;return React.createElement(S.InspectorPanel,{advancedControlProps:{marginPrefix:E,paddingPrefix:x,backgroundPrefix:R,borderPrefix:_,hasMargin:!0}},React.createElement(S.InspectorPanel.General,null,React.createElement(S.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(T.RadioControl,{label:(0,n.__)("Initial Content","essential-blocks"),selected:o,onChange:function(e){return a({initialContent:e})},options:d}),React.createElement(T.SelectControl,{label:(0,n.__)("Switch Type","essential-blocks"),value:r,onChange:function(e){return a({switchStyle:e})},options:m}),("rounded"===r||"reactangle"===r)&&React.createElement(T.SelectControl,{label:(0,n.__)("Switch Size","essential-blocks"),value:l,options:g,onChange:function(e){return a({switchSize:e})}}),"toggle"===r&&React.createElement(React.Fragment,null,React.createElement(S.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Button Height","essential-blocks"),controlName:w,min:10,max:200,step:1}),React.createElement(S.ResponsiveRangeController,{baseLabel:(0,n.__)("Button Width","essential-blocks"),controlName:v,min:10,max:100,step:1})),"text"===r&&React.createElement(T.SelectControl,{label:(0,n.__)("Sepetator Type","essential-blocks"),value:c,options:u,onChange:function(e){return a({seperatorType:e})}}),React.createElement(S.ResponsiveRangeController,{baseLabel:(0,n.__)("Heading Space","essential-blocks"),controlName:k,min:10,max:100,step:1}),("rectangle"===r||"rounded"===r)&&React.createElement(React.Fragment,null,React.createElement(S.UnitControl,{selectedUnit:h,unitTypes:[{label:"px",value:"px"},{label:"%",value:"%"}],onClick:function(e){return a({labelSpaceUnit:e})}}),React.createElement(T.RangeControl,{label:(0,n.__)("Label Space","essential-blocks"),value:y,onChange:function(e){return a({labelSpace:e})}})),React.createElement(S.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:C}))),React.createElement(S.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(S.InspectorPanel.PanelBody,{title:(0,n.__)("".concat("text"===r?"Colors":"Label Colors"),"essential-blocks"),initialOpen:!0},React.createElement(S.ColorControl,{label:(0,n.__)("Primary Text","essential-blocks"),color:p,attributeName:"primaryLabelColor"}),React.createElement(S.ColorControl,{label:(0,n.__)("Secondary Text","essential-blocks"),color:b,attributeName:"secondaryLabelColor"}),React.createElement(S.ColorControl,{label:(0,n.__)("Active Text Color","essential-blocks"),color:i,attributeName:"activeColor"}),"text"===r&&React.createElement(React.Fragment,null,React.createElement(S.ColorControl,{label:(0,n.__)("Background","essential-blocks"),color:B,attributeName:"backgroundColor"}),React.createElement(S.ColorControl,{label:(0,n.__)("Active Background","essential-blocks"),color:s,attributeName:"activeBg"}))),"text"!==r&&React.createElement(S.InspectorPanel.PanelBody,{title:(0,n.__)("Switcher Controller","essential-blocks"),initialOpen:!1},React.createElement(S.ButtonGroupControl,{label:(0,n.__)("Styles","essential-blocks"),attrName:"contentStyles",options:d,currentValue:z}),"primary"===z&&React.createElement(React.Fragment,null,React.createElement(S.ColorControl,{label:(0,n.__)("Switch Background Color","essential-blocks"),color:B,attributeName:"backgroundColor",isGradient:!0}),React.createElement(S.ColorControl,{label:(0,n.__)("Controller Background Color","essential-blocks"),color:N,attributeName:"controllerColor",isGradient:!0})),"secondary"===z&&React.createElement(React.Fragment,null,React.createElement(S.ColorControl,{label:(0,n.__)("Switch Background Color","essential-blocks"),color:V,attributeName:"backgroundColorSecondary",isGradient:!0}),React.createElement(S.ColorControl,{label:(0,n.__)("Controller Background Color","essential-blocks"),color:U,attributeName:"controllerColorSecondary",isGradient:!0}))),React.createElement(S.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(T.SelectControl,{label:(0,n.__)("Border Style","essential-blocks"),value:P,options:f,onChange:function(e){return a({borderStyle:e})}}),React.createElement(S.ColorControl,{label:(0,n.__)("Border Color","essential-blocks"),color:I,attributeName:"borderColor"}),React.createElement(T.RangeControl,{label:(0,n.__)("Border Width","essential-blocks"),value:O,onChange:function(e){return a({borderWidth:e})},min:0,max:17}),"text"===r&&React.createElement(T.RangeControl,{label:(0,n.__)("Border Radius","essential-blocks"),value:D,onChange:function(e){return a({borderRadius:e})},min:0,max:100})),"text"!==r&&React.createElement(S.InspectorPanel.PanelBody,{title:(0,n.__)("Shadow","essential-blocks"),initialOpen:!1},React.createElement(S.ColorControl,{label:(0,n.__)("Shadow Color","essential-blocks"),color:A,attributeName:"shadowColor"}),React.createElement(S.ResetControl,{onReset:function(){return a({hOffset:void 0})}},React.createElement(T.RangeControl,{label:(0,n.__)("Horizontal Offset","essential-blocks"),value:M,onChange:function(e){return a({hOffset:e})},min:0,max:10})),React.createElement(S.ResetControl,{onReset:function(){return a({vOffset:void 0})}},React.createElement(T.RangeControl,{label:(0,n.__)("Vertical Offset","essential-blocks"),value:L,onChange:function(e){return a({vOffset:e})},min:0,max:10})),React.createElement(S.ResetControl,{onReset:function(){return a({blur:void 0})}},React.createElement(T.RangeControl,{label:(0,n.__)("Blur","essential-blocks"),value:F,onChange:function(e){return a({blur:e})},min:0,max:10})),React.createElement(S.ResetControl,{onReset:function(){return a({spread:void 0})}},React.createElement(T.RangeControl,{label:(0,n.__)(" Spread","essential-blocks"),value:j,onChange:function(e){return a({spread:e})},min:0,max:10})),React.createElement(T.ToggleControl,{label:(0,n.__)("Inset","essential-blocks"),checked:H,onChange:function(){return a({inset:!H})}})))))};function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=(0,c.memo)((0,S.withBlockContext)(O)(function(e){var t=e.clientId,a=e.isSelected,o=e.attributes,l=e.setAttributes,d=(e.className,e.name,o.resOption,o.blockId),m=(o.blockMeta,o.classHook),u=o.initialContent,g=o.switchStyle,f=o.switchSize,y=o.seperatorType,h=o.primaryLabelText,v=void 0===h?"First":h,w=o.secondaryLabelText,k=void 0===w?"Second":w,R=o.alignment,_=(o["".concat(C,"FontSize")],o["".concat(C,"SizeUnit")],o.backgroundType),E=o.backgroundColor,x=o.backgroundGradient,T=o.controllerType,N=o.controllerColor,P=o.controllerGradient,O=(o.controllerColorSecondary,(0,c.useState)("primary"===u)),D=(0,r.A)(O,2),M=D[0],L=D[1],F=(0,c.useState)(!1),j=(0,r.A)(F,2),H=j[0],z=j[1],U=(0,c.useRef)(null),V=(0,c.useRef)(null),G=(0,c.useRef)(null),q=(0,c.useRef)(null),W=(0,c.useRef)(null),Z=A(A({},e),{},{blockPrefix:"eb-toggle",style:React.createElement(B,e)});(0,c.useEffect)(function(){setTimeout(function(){if(U.current){var e=U.current.querySelector(".block-editor-block-list__layout");if(!e)return;for(var t=[],a=e.children,n=0;n<a.length;n++){var o;null!==(o=a[n].classList)&&void 0!==o&&o.contains("block-editor-block-list__block")&&t.push(a[n])}if(2===t.length){var r=t[0],l=t[1];M?(r.classList.add("active"),r.classList.remove("inactive"),r.dataset.activeTab="active",l.classList.add("inactive"),l.classList.remove("active"),l.dataset.activeTab="inactive"):(r.classList.add("inactive"),r.classList.remove("active"),r.dataset.activeTab="inactive",l.classList.add("active"),l.classList.remove("inactive"),l.dataset.activeTab="active")}}},0)},[M,q.current,W.current]);var J=(0,p.useSelect)(function(e){return e("core/block-editor").getBlocksByClientId(t)[0]}).innerBlocks;(0,c.useEffect)(function(){(0,p.select)("core/block-editor").wasBlockJustInserted(t)||(J&&2===J.length?z(!1):z(!0))},[J]),(0,c.useEffect)(function(){l({id:t}),Y(),l("solid"===_?{backgroundColor:E}:{backgroundColor:x}),l("solid"===T?{controllerColor:N}:{controllerColor:P})},[]),(0,c.useEffect)(function(){if(H){var e=(0,p.dispatch)("core/block-editor").replaceInnerBlocks,a=(0,s.createBlock)("essential-blocks/wrapper",{}),n=J[0]?J[0]:(0,s.createBlock)("essential-blocks/wrapper",{});e(t,M?[a,n]:[n,a])}},[H]);var Y=function(){q.current&&q.current.addEventListener("click",function(){return L(!0)}),W.current&&W.current.addEventListener("click",function(){return L(!1)}),V.current&&V.current.addEventListener("click",function(){return L(!0)}),G.current&&G.current.addEventListener("click",function(){return L(!1)})};return React.createElement(React.Fragment,null,a&&React.createElement(I,{attributes:o,setAttributes:l}),React.createElement(i.BlockControls,null,React.createElement(i.AlignmentToolbar,{value:R,onChange:function(e){return l({alignment:e})}})),React.createElement(S.BlockProps.Edit,Z,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(d," ").concat(m)},React.createElement("div",{className:"".concat(d," eb-toggle-wrapper ").concat(M?"eb-toggle-primary":"eb-toggle-secondary")},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===g?"block":"none"}},React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:A({},function(){switch(R){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label"},React.createElement("div",{className:"eb-text-switch-toggle",style:{marginLeft:!M&&"50%"}}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText,{tagName:"span",className:"eb-toggle-primary-label-text",ref:V,value:v,onChange:function(e){return l({primaryLabelText:e})}}),React.createElement(i.RichText,{tagName:"span",className:"eb-toggle-secondary-label-text",ref:G,value:k,onChange:function(e){return l({secondaryLabelText:e})}})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==g?"block":"none"}},React.createElement(i.RichText,{tagName:"span",className:"eb-toggle-primary-label",ref:q,placeholder:(0,n.__)("First","essential-blocks"),value:v,onChange:function(e){return l({primaryLabelText:e})}}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(f)},React.createElement("input",{type:"checkbox",checked:M,onChange:function(e){return function(e){L(e.target.checked)}(e)}}),React.createElement("span",{className:"eb-toggle-controller",style:{transform:function(){if(M)return"translateX(0px)";switch(f){case"s":return"translateX(22px)";case"m":return"translateX(26px)";case"l":return"translateX(36px)";case"xl":return"translateX(42px)"}}(),borderRadius:function(){if("rectangle"===g)return"0px";switch(f){case"s":return"10px";case"m":return"13px";case"l":return"16px";case"xl":return"21px"}}()}}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-seperator eb-toggle-".concat(y)}),React.createElement(i.RichText,{tagName:"span",ref:W,className:"eb-toggle-secondary-label",placeholder:(0,n.__)("Second","essential-blocks"),value:k,onChange:function(e){return l({secondaryLabelText:e})}})),React.createElement("div",{className:"eb-toggle-content eb-toggle-content-editor",ref:U},React.createElement(i.InnerBlocks,{templateLock:"insert",template:b}))))))}));function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function F(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?L(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var j=a(6087);function H(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?H(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):H(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const U=[{attributes:z({},(0,j.omit)(z({},O),["contentStyles","backgroundColorSecondary","controllerColorSecondary"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,l=t.switchSize,c=t.seperatorType,s=t.activeColor,p=t.activeBg,b=t.primaryLabelText,d=void 0===b?"First":b,m=t.secondaryLabelText,u=void 0===m?"Second":m,g=t.alignment,f=t.primaryLabelColor,y=t.secondaryLabelColor,h=t.backgroundType,v=t.backgroundColor,w=t.backgroundGradient,k=t.classHook;return React.createElement(S.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":l,"data-switch-style":r,"data-bg-type":h,"data-bg-color":v,"data-bg-gradient":w||"none","data-primary-color":f||"inherit","data-secondary-color":y||"inherit","data-active-color":s||"inherit","data-active-bg":p},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:z({},function(){switch(g){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:d}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:u})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:d}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(l)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(c," eb-toggle-seperator")}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:u})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(i.InnerBlocks.Content,null)))))}},{attributes:z({},O),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,l=t.switchSize,c=t.seperatorType,s=t.activeColor,p=t.activeBg,b=t.primaryLabelText,d=void 0===b?"First":b,m=t.secondaryLabelText,u=void 0===m?"Second":m,g=t.alignment,f=t.primaryLabelColor,y=t.secondaryLabelColor,h=t.backgroundType,v=t.backgroundColor,w=t.backgroundGradient,k=t.classHook;return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":l,"data-switch-style":r,"data-bg-type":h,"data-bg-color":v,"data-bg-gradient":w||"none","data-primary-color":f||"inherit","data-secondary-color":y||"inherit","data-active-color":s||"inherit","data-active-bg":p},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:z({},function(){switch(g){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:d}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:u})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:d}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(l)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(c," eb-toggle-seperator")}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:u})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(i.InnerBlocks.Content,null)))))}},{attributes:z({},O),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,l=t.switchSize,c=t.seperatorType,s=t.activeColor,p=t.activeBg,b=t.primaryLabelText,d=void 0===b?"First":b,m=t.secondaryLabelText,u=void 0===m?"Second":m,g=t.alignment,f=t.primaryLabelColor,y=t.secondaryLabelColor,h=t.backgroundType,v=t.backgroundColor,w=t.backgroundGradient;return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":l,"data-switch-style":r,"data-bg-type":h,"data-bg-color":v,"data-bg-gradient":w||"none","data-primary-color":f||"inherit","data-secondary-color":y||"inherit","data-active-color":s||"inherit","data-active-bg":p},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:z({},function(){switch(g){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:d}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:u})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:d}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(l)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(c," eb-toggle-seperator")}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:u})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(i.InnerBlocks.Content,null))))}},{attributes:(0,j.omit)(z(z({},O),{},{buttonHeight:{type:"number"},buttonWidth:{type:"number"},headingSpace:{type:"number"},headingSpaceUnit:{type:"string",default:"px"}}),["MOBWrpBg_backgroundSize","MOBWrpBg_bgImgCustomSize","MOBWrpBg_bgImgCustomSizeUnit","MOBWrpBg_bgImgPos","MOBWrpBg_bgImgRepeat","MOBWrpBg_bgImgcustomPosX","MOBWrpBg_bgImgcustomPosXUnit","MOBWrpBg_bgImgcustomPosY","MOBWrpBg_bgImgcustomPosYUnit","MOBWrpBg_ovl_backgroundSize","MOBWrpBg_ovl_bgImgCustomSize","MOBWrpBg_ovl_bgImgCustomSizeUnit","MOBWrpBg_ovl_bgImgPos","MOBWrpBg_ovl_bgImgRepeat","MOBWrpBg_ovl_bgImgcustomPosX","MOBWrpBg_ovl_bgImgcustomPosXUnit","MOBWrpBg_ovl_bgImgcustomPosY","MOBWrpBg_ovl_bgImgcustomPosYUnit","MOBbtnH_Range","MOBbtnW_Range","MOBbtnW_Unit","MOBhSpc_Range","MOBhSpc_Unit","MOBwrpBdSd_Bdr_Bottom","MOBwrpBdSd_Bdr_Left","MOBwrpBdSd_Bdr_Right","MOBwrpBdSd_Bdr_Top","MOBwrpBdSd_Bdr_Unit","MOBwrpBdSd_HBdr_Bottom","MOBwrpBdSd_HBdr_Left","MOBwrpBdSd_HBdr_Right","MOBwrpBdSd_HBdr_Top","MOBwrpBdSd_HBdr_Unit","MOBwrpBdSd_HRds_Bottom","MOBwrpBdSd_HRds_Left","MOBwrpBdSd_HRds_Right","MOBwrpBdSd_HRds_Top","MOBwrpBdSd_HRds_Unit","MOBwrpBdSd_Rds_Bottom","MOBwrpBdSd_Rds_Left","MOBwrpBdSd_Rds_Right","MOBwrpBdSd_Rds_Top","MOBwrpBdSd_Rds_Unit","TABWrpBg_backgroundSize","TABWrpBg_bgImgCustomSize","TABWrpBg_bgImgCustomSizeUnit","TABWrpBg_bgImgPos","TABWrpBg_bgImgRepeat","TABWrpBg_bgImgcustomPosX","TABWrpBg_bgImgcustomPosXUnit","TABWrpBg_bgImgcustomPosY","TABWrpBg_bgImgcustomPosYUnit","TABWrpBg_ovl_backgroundSize","TABWrpBg_ovl_bgImgCustomSize","TABWrpBg_ovl_bgImgCustomSizeUnit","TABWrpBg_ovl_bgImgPos","TABWrpBg_ovl_bgImgRepeat","TABWrpBg_ovl_bgImgcustomPosX","TABWrpBg_ovl_bgImgcustomPosXUnit","TABWrpBg_ovl_bgImgcustomPosY","TABWrpBg_ovl_bgImgcustomPosYUnit","TABbtnH_Range","TABbtnW_Range","TABbtnW_Unit","TABhSpc_Range","TABhSpc_Unit","TABwrpBdSd_Bdr_Bottom","TABwrpBdSd_Bdr_Left","TABwrpBdSd_Bdr_Right","TABwrpBdSd_Bdr_Top","TABwrpBdSd_Bdr_Unit","TABwrpBdSd_HBdr_Bottom","TABwrpBdSd_HBdr_Left","TABwrpBdSd_HBdr_Right","TABwrpBdSd_HBdr_Top","TABwrpBdSd_HBdr_Unit","TABwrpBdSd_HRds_Bottom","TABwrpBdSd_HRds_Left","TABwrpBdSd_HRds_Right","TABwrpBdSd_HRds_Top","TABwrpBdSd_HRds_Unit","TABwrpBdSd_Rds_Bottom","TABwrpBdSd_Rds_Left","TABwrpBdSd_Rds_Right","TABwrpBdSd_Rds_Top","TABwrpBdSd_Rds_Unit","WrpBg_backgroundColor","WrpBg_backgroundSize","WrpBg_backgroundType","WrpBg_bgImageID","WrpBg_bgImageURL","WrpBg_bgImgAttachment","WrpBg_bgImgCustomSize","WrpBg_bgImgCustomSizeUnit","WrpBg_bgImgPos","WrpBg_bgImgRepeat","WrpBg_bgImgcustomPosX","WrpBg_bgImgcustomPosXUnit","WrpBg_bgImgcustomPosY","WrpBg_bgImgcustomPosYUnit","WrpBg_bg_hoverType","WrpBg_bg_transition","WrpBg_gradientColor","WrpBg_isBgOverlay","WrpBg_overlayColor","WrpBg_overlayGradient","WrpBg_overlayType","WrpBg_ovl_allowFilters","WrpBg_ovl_backgroundSize","WrpBg_ovl_bgImageID","WrpBg_ovl_bgImageURL","WrpBg_ovl_bgImgAttachment","WrpBg_ovl_bgImgCustomSize","WrpBg_ovl_bgImgCustomSizeUnit","WrpBg_ovl_bgImgPos","WrpBg_ovl_bgImgRepeat","WrpBg_ovl_bgImgcustomPosX","WrpBg_ovl_bgImgcustomPosXUnit","WrpBg_ovl_bgImgcustomPosY","WrpBg_ovl_bgImgcustomPosYUnit","WrpBg_ovl_bg_transition","WrpBg_ovl_blendMode","WrpBg_ovl_filtersTransition","WrpBg_ovl_fltrBlur","WrpBg_ovl_fltrBrightness","WrpBg_ovl_fltrContrast","WrpBg_ovl_fltrHue","WrpBg_ovl_fltrSaturation","WrpBg_ovl_hoverType","WrpBg_ovl_opacity","WrpBg_ovl_opacityTransition","btnH_Range","btnW_Range","btnW_Unit","hSpc_Range","hSpc_Unit","hov_MOBWrpBg_backgroundSize","hov_MOBWrpBg_bgImgCustomSize","hov_MOBWrpBg_bgImgCustomSizeUnit","hov_MOBWrpBg_bgImgPos","hov_MOBWrpBg_bgImgRepeat","hov_MOBWrpBg_bgImgcustomPosX","hov_MOBWrpBg_bgImgcustomPosXUnit","hov_MOBWrpBg_bgImgcustomPosY","hov_MOBWrpBg_bgImgcustomPosYUnit","hov_MOBWrpBg_ovl_backgroundSize","hov_MOBWrpBg_ovl_bgImgCustomSize","hov_MOBWrpBg_ovl_bgImgCustomSizeUnit","hov_MOBWrpBg_ovl_bgImgPos","hov_MOBWrpBg_ovl_bgImgRepeat","hov_MOBWrpBg_ovl_bgImgcustomPosX","hov_MOBWrpBg_ovl_bgImgcustomPosXUnit","hov_MOBWrpBg_ovl_bgImgcustomPosY","hov_MOBWrpBg_ovl_bgImgcustomPosYUnit","hov_TABWrpBg_backgroundSize","hov_TABWrpBg_bgImgCustomSize","hov_TABWrpBg_bgImgCustomSizeUnit","hov_TABWrpBg_bgImgPos","hov_TABWrpBg_bgImgRepeat","hov_TABWrpBg_bgImgcustomPosX","hov_TABWrpBg_bgImgcustomPosXUnit","hov_TABWrpBg_bgImgcustomPosY","hov_TABWrpBg_bgImgcustomPosYUnit","hov_TABWrpBg_ovl_backgroundSize","hov_TABWrpBg_ovl_bgImgCustomSize","hov_TABWrpBg_ovl_bgImgCustomSizeUnit","hov_TABWrpBg_ovl_bgImgPos","hov_TABWrpBg_ovl_bgImgRepeat","hov_TABWrpBg_ovl_bgImgcustomPosX","hov_TABWrpBg_ovl_bgImgcustomPosXUnit","hov_TABWrpBg_ovl_bgImgcustomPosY","hov_TABWrpBg_ovl_bgImgcustomPosYUnit","hov_WrpBg_backgroundColor","hov_WrpBg_backgroundSize","hov_WrpBg_backgroundType","hov_WrpBg_bgImageID","hov_WrpBg_bgImageURL","hov_WrpBg_bgImgAttachment","hov_WrpBg_bgImgCustomSize","hov_WrpBg_bgImgCustomSizeUnit","hov_WrpBg_bgImgPos","hov_WrpBg_bgImgRepeat","hov_WrpBg_bgImgcustomPosX","hov_WrpBg_bgImgcustomPosXUnit","hov_WrpBg_bgImgcustomPosY","hov_WrpBg_bgImgcustomPosYUnit","hov_WrpBg_gradientColor","hov_WrpBg_overlayColor","hov_WrpBg_overlayGradient","hov_WrpBg_overlayType","hov_WrpBg_ovl_allowFilters","hov_WrpBg_ovl_backgroundSize","hov_WrpBg_ovl_bgImageID","hov_WrpBg_ovl_bgImageURL","hov_WrpBg_ovl_bgImgAttachment","hov_WrpBg_ovl_bgImgCustomSize","hov_WrpBg_ovl_bgImgCustomSizeUnit","hov_WrpBg_ovl_bgImgPos","hov_WrpBg_ovl_bgImgRepeat","hov_WrpBg_ovl_bgImgcustomPosX","hov_WrpBg_ovl_bgImgcustomPosXUnit","hov_WrpBg_ovl_bgImgcustomPosY","hov_WrpBg_ovl_bgImgcustomPosYUnit","hov_WrpBg_ovl_blendMode","hov_WrpBg_ovl_fltrBlur","hov_WrpBg_ovl_fltrBrightness","hov_WrpBg_ovl_fltrContrast","hov_WrpBg_ovl_fltrHue","hov_WrpBg_ovl_fltrSaturation","hov_WrpBg_ovl_opacity","wrpBdSd_Bdr_Bottom","wrpBdSd_Bdr_Left","wrpBdSd_Bdr_Right","wrpBdSd_Bdr_Top","wrpBdSd_Bdr_Unit","wrpBdSd_Bdr_isLinked","wrpBdSd_BorderType","wrpBdSd_HBdr_Bottom","wrpBdSd_HBdr_Left","wrpBdSd_HBdr_Right","wrpBdSd_HBdr_Top","wrpBdSd_HBdr_Unit","wrpBdSd_HBdr_isLinked","wrpBdSd_HRds_Bottom","wrpBdSd_HRds_Left","wrpBdSd_HRds_Right","wrpBdSd_HRds_Top","wrpBdSd_HRds_Unit","wrpBdSd_HRds_isLinked","wrpBdSd_HborderColor","wrpBdSd_HborderStyle","wrpBdSd_Rds_Bottom","wrpBdSd_Rds_Left","wrpBdSd_Rds_Right","wrpBdSd_Rds_Top","wrpBdSd_Rds_Unit","wrpBdSd_Rds_isLinked","wrpBdSd_blur","wrpBdSd_borderColor","wrpBdSd_borderStyle","wrpBdSd_borderTransition","wrpBdSd_hOffset","wrpBdSd_hoverBlur","wrpBdSd_hoverHOffset","wrpBdSd_hoverInset","wrpBdSd_hoverShadowColor","wrpBdSd_hoverSpread","wrpBdSd_hoverVOffset","wrpBdSd_inset","wrpBdSd_radiusTransition","wrpBdSd_shadowColor","wrpBdSd_shadowTransition","wrpBdSd_shadowType","wrpBdSd_spread","wrpBdSd_vOffset"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,l=t.switchSize,c=t.buttonWidth,s=t.seperatorType,p=t.activeColor,b=t.activeBg,d=t.primaryLabelText,m=t.secondaryLabelText,u=t.alignment,g=t.primaryLabelColor,f=t.secondaryLabelColor,y=t.backgroundType,h=t.backgroundColor,v=t.backgroundGradient;return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-toggle-wrapper"),"data-init-content":o,"data-size":l,"data-switch-style":r,"data-bg-type":y,"data-bg-color":h,"data-bg-gradient":v||"none","data-primary-color":g||"inherit","data-secondary-color":f||"inherit","data-active-color":p||"inherit","data-active-bg":b},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:{width:"".concat(c,"%"),marginLeft:function(){var e=c||30;switch(u){case"center":return"".concat((100-e)/2,"%");case"right":return"".concat(100-e,"%");case"left":return"0%"}}()}},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:d}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:m})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:d}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(l)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(s," eb-toggle-seperator")}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:m})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(i.InnerBlocks.Content,null))))}}],V=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Toggle Content","name":"essential-blocks/toggle-content","category":"essential-blocks","description":"Toggle Contents or blocks with a beautiful switcher.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}(0,S.ebConditionalRegisterBlockType)(V,{icon:function(e){return l.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),G||(G=l.createElement("g",{fill:"#6C3BFF"},l.createElement("path",{d:"M22.714 20.743H3.943c-1.8 0-3.172 1.371-3.172 3.171v33C.771 58.63 2.143 60 3.943 60h18.771c1.8 0 3.172-1.371 3.172-3.171V24.086c-.086-1.972-1.457-3.343-3.172-3.343m.772 36.086c0 .428-.429.771-.772.771H3.943c-.429 0-.772-.429-.772-.771V24.086c0-.429.429-.772.772-.772h18.771c.429 0 .772.429.772.772zm29.228-36.086H33.943c-1.8 0-3.172 1.371-3.172 3.171v33c0 1.8 1.372 3.172 3.172 3.172h18.771c1.8 0 3.172-1.372 3.172-3.172V24.086c.171-1.972-1.457-3.343-3.172-3.343m.772 36.086c0 .428-.429.771-.772.771H33.943c-.429 0-.772-.429-.772-.771V24.086c0-.429.429-.772.772-.772h18.771c.429 0 .772.429.772.772zM21.257 12.857h16.2c1.8 0 3.343-1.371 3.343-3.343V3.343C40.8 1.543 39.429 0 37.457 0h-16.2c-1.714 0-3.343 1.371-3.343 3.343v6.086c0 2.057 1.372 3.428 3.343 3.428m-.943-9.343c0-.428.429-.771.772-.771h16.2c.428 0 .771.428.771.771V9.6c0 .429-.428.771-.771.771h-16.2c-.429 0-.772-.428-.772-.771z"}),l.createElement("path",{d:"M31.543 8.914h4.714v-4.8h-4.714zm16.971 21.257H38.057v2.4h10.457zm0 5.743H38.057v2.4h10.457zm0 5.743H38.057v2.314h10.457zM18.343 30.171H7.886v2.4h10.628v-2.4zm0 5.743H7.886v2.4h10.628v-2.4zm0 5.743H7.886v2.314h10.628v-2.314z"}))))},attributes:O,edit:M,save:function(e){var t=e.attributes,a=t.blockId,n=t.id,o=t.initialContent,r=t.switchStyle,l=t.switchSize,c=t.seperatorType,s=t.activeColor,p=t.activeBg,b=t.primaryLabelText,d=void 0===b?"First":b,m=t.secondaryLabelText,u=void 0===m?"Second":m,g=t.alignment,f=t.primaryLabelColor,y=t.secondaryLabelColor,h=t.backgroundType,v=t.backgroundColor,w=t.backgroundGradient,k=t.classHook;return React.createElement(S.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-toggle-wrapper eb-toggle-primary"),"data-init-content":o,"data-size":l,"data-switch-style":r,"data-bg-type":h,"data-bg-color":v,"data-bg-gradient":w||"none","data-primary-color":f||"inherit","data-secondary-color":y||"inherit","data-active-color":s||"inherit","data-active-bg":p},React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"===r?"block":"none"}},React.createElement("input",{type:"checkbox",className:"eb-text-switch-checkbox",id:"eb-".concat(n),style:{display:"none"}}),React.createElement("div",{className:"eb-text-switch-wrapper"},React.createElement("div",{className:"eb-text-switch-content",style:F({},function(){switch(g){case"center":return{marginLeft:"auto",marginRight:"auto"};case"right":return{marginLeft:"auto",marginRight:"0px"};case"left":return{marginLeft:"0px",marginRight:"auto"}}return{marginLeft:"auto",marginRight:"auto"}}())},React.createElement("label",{className:"eb-text-switch-label",for:"eb-".concat(n)},React.createElement("div",{className:"eb-text-switch-toggle"}),React.createElement("div",{className:"eb-switch-names"},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label-text",value:d}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label-text",value:u})))))),React.createElement("div",{className:"eb-toggle-heading",style:{display:"toggle"!==r?"block":"none"}},React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-primary-label",value:d}),React.createElement("label",{className:"eb-toggle-switch toggle-".concat(l)},React.createElement("input",{className:"eb-toggle-input",type:"checkbox"}),React.createElement("span",{className:"eb-toggle-controller"}),React.createElement("span",{className:"eb-toggle-slider"})),React.createElement("span",{className:"eb-toggle-".concat(c," eb-toggle-seperator")}),React.createElement(i.RichText.Content,{tagName:"span",className:"eb-toggle-secondary-label",value:u})),React.createElement("div",{className:"eb-toggle-content"},React.createElement(i.InnerBlocks.Content,null)))))},keywords:[(0,n.__)("Toggle","essential-blocks"),(0,n.__)("eb Toggle Content","essential-blocks")],example:{attributes:{}},deprecated:U})},4997:e=>{e.exports=window.wp.blocks},5050:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(5694),i=a(2619),s=a(6427),p="wrprBg",b="wrpMargin",d="wrpPadding",m="wrpBorderShadow",u="columns",g="imageGap",f="imgBorderShadow",y="captionMargin",h="captionPadding",v="captionWidth",w="imageWidth",k="imageHeight",R="imageMaxWidth",_="imageMaxHeight",C="filterMargin",E="filterPadding",x="filterBorderShadow",S="filterWrapBS",B="loadmorePadding",T="loadmoreBorderShadow",N="descPadding",P="descMargin",O="iconBorderShadow",I="overlayPadding",D="contentMargin",A="contentPadding",M="contentBorderShadow",L={buttonText:"loadmoreBtnText",textColor:"loadmoreColor",hoverTextColor:"loadmoreHvColor"},F=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Middle","essential-blocks"),value:"middle"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],j=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],H=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Justify","essential-blocks"),value:"justify"}],z=((0,n.__)("Left","essential-blocks"),(0,n.__)("Right","essential-blocks"),(0,n.__)("Center","essential-blocks"),[{label:"px",value:"px"},{label:"%",value:"%"}]),U=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],V=[{label:(0,n.__)("Grid Layout","essential-blocks"),value:"grid"},{label:(0,n.__)("Masonry Layout","essential-blocks"),value:"masonry"}],G=[{label:(0,n.__)("Fixed","essential-blocks"),value:"fixed"},{label:(0,n.__)("Adaptive","essential-blocks"),value:"adaptive"}],q=[{label:(0,n.__)("None","essential-blocks"),value:"0"},{label:(0,n.__)("Black & White"),value:"1"},{label:(0,n.__)("Color Overlay","essential-blocks"),value:"2"}],W=[{label:(0,n.__)("From Top","essential-blocks"),value:"overlay-top"},{label:(0,n.__)("From Bottom","essential-blocks"),value:"overlay-bottom"},{label:(0,n.__)("From Left","essential-blocks"),value:"overlay-left"},{label:(0,n.__)("From Right","essential-blocks"),value:"overlay-right"},{label:(0,n.__)("Zoom In Out","essential-blocks"),value:"zoom"}],Z=[{label:React.createElement(s.Dashicon,{icon:"editor-alignleft"}),value:"flex-start"},{label:React.createElement(s.Dashicon,{icon:"editor-aligncenter"}),value:"center"},{label:React.createElement(s.Dashicon,{icon:"editor-alignright"}),value:"flex-end"}],J=[{label:(0,n.__)("Normal","essential-blocks"),value:"normal"},{label:(0,n.__)("Hover","essential-blocks"),value:"hover"}],Y=[{label:(0,n.__)("Normal","essential-blocks"),value:"normal"},{label:(0,n.__)("Hover","essential-blocks"),value:"hover"},{label:(0,n.__)("Active","essential-blocks"),value:"active"}],Q=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Bento Gallery","essential-blocks"),value:"preset-2"},{label:(0,n.__)("Flipbook Gallery","essential-blocks"),value:"preset-3"},{label:(0,n.__)("Mosaic Gallery","essential-blocks"),value:"preset-4"},{label:(0,n.__)("Classic Gallery","essential-blocks"),value:"pro-preset-4",isPro:!0},{label:(0,n.__)("Harmonic Gallery","essential-blocks"),value:"pro-preset-5",isPro:!0},{label:(0,n.__)("GridFlow Gallery","essential-blocks"),value:"pro-preset-6",isPro:!0}],X=a(9394);function $(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ee=function(e,t,a,n,o){o({sources:n.map(function(n){return n.id==a?K(K({},n),{},(0,r.A)({},e,t)):n})})},te=function(){return React.createElement("svg",{width:"72",height:"73",viewBox:"0 0 72 73",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("rect",{x:"1.64053",y:"1.82071",width:"68.7189",height:"68.7189",rx:"14.3595",fill:"url(#paint0_linear_2906_31)"}),React.createElement("rect",{x:"1.64053",y:"1.82071",width:"68.7189",height:"68.7189",rx:"14.3595",stroke:"white",strokeWidth:"3.28107"}),React.createElement("path",{d:"M49.3953 27.2499C49.3953 29.716 47.3962 31.7151 44.9302 31.7151C42.4642 31.7151 40.4651 29.716 40.4651 27.2499C40.4651 24.7839 42.4642 22.7848 44.9302 22.7848C47.3962 22.7848 49.3953 24.7839 49.3953 27.2499Z",fill:"white"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.8719 12.1802H36.1281C41.2817 12.1801 45.3205 12.1801 48.4717 12.6038C51.6972 13.0374 54.2423 13.9424 56.2401 15.9401C58.2378 17.9378 59.1427 20.483 59.5764 23.7084C60 26.8597 60 30.8985 60 36.0521V36.2492C60 40.5107 60 43.9992 59.7686 46.8396C59.536 49.694 59.0594 52.0792 57.9927 54.0601C57.5222 54.9339 56.944 55.7163 56.2401 56.4202C54.2423 58.418 51.6972 59.3229 48.4717 59.7566C45.3205 60.1802 41.2817 60.1802 36.1281 60.1802H35.8719C30.7183 60.1802 26.6795 60.1802 23.5283 59.7566C20.3028 59.3229 17.7576 58.418 15.7599 56.4202C13.9889 54.6492 13.0743 52.4449 12.5879 49.7104C12.1102 47.0243 12.0228 43.6823 12.0046 39.5323C12 38.4767 12 37.3603 12 36.1824V36.0521C12 30.8985 12 26.8597 12.4236 23.7084C12.8573 20.483 13.7622 17.9378 15.7599 15.9401C17.7576 13.9424 20.3028 13.0374 23.5283 12.6038C26.6795 12.1801 30.7183 12.1801 35.8719 12.1802ZM23.9745 15.9228C21.1204 16.3065 19.3997 17.0363 18.1279 18.3081C16.8561 19.5799 16.1263 21.3006 15.7426 24.1547C15.3524 27.057 15.3488 30.8707 15.3488 36.1802C15.3488 36.8288 15.3488 37.456 15.3496 38.0633L17.5847 36.1076C19.6192 34.3275 22.6854 34.4296 24.5969 36.3411L34.174 45.9182C35.7083 47.4525 38.1235 47.6617 39.8987 46.4141L40.5644 45.9462C43.119 44.1509 46.5752 44.3589 48.8961 46.4476L55.2152 52.1348C55.8513 50.799 56.229 49.0438 56.4308 46.5676C56.6499 43.8786 56.6512 40.5244 56.6512 36.1802C56.6512 30.8707 56.6476 27.057 56.2574 24.1547C55.8737 21.3006 55.1439 19.5799 53.8721 18.3081C52.6003 17.0363 50.8796 16.3065 48.0255 15.9228C45.1232 15.5326 41.3095 15.529 36 15.529C30.6905 15.529 26.8768 15.5326 23.9745 15.9228Z",fill:"white"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_2906_31",x1:"50.8401",y1:"5.70096",x2:"36",y2:"72.1802",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#D8E1ED"}),React.createElement("stop",{offset:"1",stopColor:"#C0CAD8"}))))},ae=function(e,t,a){return 3===t||4===t||5===t||7===t?e%7==1||e%7==4||e%7==5||e%7==6||e===a.length-1:6===t||8===t?e%3==0||e%3==2:e%1==0};function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function oe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ne(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var re=a(2284),le=a(3453),ce=a(4715),ie=a(8468),se=a(7143),pe=a(6005),be="captionTypo",de="filterTypo",me="filterTypo",ue="descTypo",ge="notFoundTypo";function fe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ye(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const he=function(e){var t=e.attributes,a=e.setAttributes,o=e.onImageChange,r=t.layouts,l=t.displayCaption,$=t.captionOnHover,te=t.captionColor,ae=t.overlayColor,ne=t.captionBGColor,oe=t.horizontalAlign,ce=t.verticalAlign,fe=t.textAlign,he=t.styleNumber,ve=t.overlayStyle,we=t.disableLightBox,ke=t.imageSizeType,Re=t.imageSize,_e=t.imageAlignment,Ce=t.enableFilter,Ee=t.enableFilterAll,xe=t.filterAllTitle,Se=t.sources,Be=t.filterItems,Te=t.defaultFilter,Ne=t.filterColorType,Pe=t.filterColor,Oe=t.filterHoverColor,Ie=t.filterBGColor,De=t.filterHoverBGColor,Ae=t.filterActColor,Me=t.filterActBGColor,Le=t.addCustomLink,Fe=t.enableIsotope,je=t.enableLoadMore,He=(t.loadmoreBtnText,t.enableInfiniteScroll),ze=t.imagesPerPageCount,Ue=t.displayDescription,Ve=t.presets,Ge=t.lightboxIcon,qe=t.linkIcon,We=t.descriptionColor,Ze=t.descriptionBGColor,Je=t.iconType,Ye=t.iconColor,Qe=t.iconHoverColor,Xe=t.iconBGColor,$e=t.iconHoverBGColor,Ke=t.iconWidth,et=t.iconSize,tt=t.contentAlign,at=t.contentBGColor,nt=t.maskColor,ot=t.enableSearch,rt=t.filterWrapperBGColor,lt=t.unevenWidth,ct=t.notFoundColor,it=t.notFoundText,st=t.version,pt=t.columnsRange,bt=t.disableIsotope,dt=(0,ie.useState)(""),mt=(0,le.A)(dt,2),ut=mt[0],gt=mt[1],ft=(0,ie.useState)([]),yt=(0,le.A)(ft,2),ht=(yt[0],yt[1]);return(0,ie.useEffect)(function(){var e=(0,se.select)("core/block-editor").getSettings().imageSizes;if("object"===(0,re.A)(e)&&e.length>0){var t=[{label:"Default",value:""}];e.map(function(e,a){t.push({label:e.name,value:e.slug})}),ht(t)}},[]),(0,ie.useEffect)(function(){if(Ce){var e=[];Ee&&e.push({label:xe,value:"*"}),Be.length>0&&(e=[].concat((0,X.A)(e),(0,X.A)(Be))),gt((0,X.A)(e))}},[Be,Ce,Ee]),(0,ie.useEffect)(function(){void 0===Te&&ut.length>0&&a({defaultFilter:ut[0].value}),!Ee&&"*"===Te&&ut.length>0&&a({defaultFilter:ut[0].value})},[Te,ut]),(0,ie.useEffect)(function(){!0===Ce&&a({enableIsotope:!1})},[Ce]),(0,ie.useEffect)(function(){!1===Fe&&a({enableLoadMore:!1})},[Fe]),(0,ie.useEffect)(function(){pt<=2&&a({enableEmptyGrid:!1})},[pt]),(0,ie.useEffect)(function(){a(He?{loadmoreBtnText:"Loading ..."}:{loadmoreBtnText:"Load More"})},[He]),(0,ie.useEffect)(function(){Se.length>0&&Se&&void 0!==Re&&o(Se)},[Re]),React.createElement(c.InspectorPanel,{advancedControlProps:{marginPrefix:b,paddingPrefix:d,backgroundPrefix:p,borderPrefix:m,hasMargin:!0}},React.createElement(c.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},"pro-preset-5"!==Ve&&"pro-preset-6"!==Ve&&React.createElement(React.Fragment,null,React.createElement(s.SelectControl,{label:(0,n.__)("Layouts","essential-blocks"),value:r,options:V,onChange:function(e){return a({layouts:e,disableIsotope:"masonry"!==e&&bt})}}),"masonry"==r&&React.createElement(s.ToggleControl,{label:(0,n.__)("Uneven Width","essential-blocks"),checked:lt,onChange:function(){return a({unevenWidth:!lt})}})),React.createElement(c.ProSelectControl,{label:(0,n.__)("Presets","essential-blocks"),value:Ve,options:(0,i.applyFilters)("eb_post_grid_preset",Q),onChange:function(e){return function(e){switch(a({presets:e}),(0,i.applyFilters)("eb_image_gallery_preset_change",e,t,a),e){case"default":a({disableIsotope:!1,displayCaption:!1,displayDescription:!1,disableLightBox:!1,addCustomLink:!1,enableFilter:!1,enableSearch:!1,layouts:"grid",unevenWidth:!1,columnsRange:3,TABcolumnsRange:2,align:void 0,imageGapRange:10,imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Unit:"px",imgBorderShadowRds_isLinked:!0,contentBGColor:"var(--eb-global-secondary-color)",captionColor:"var(--eb-global-button-text-color)",captionBGColor:"var(--eb-global-secondary-color)",captionTypoFontSize:13,captionPaddingBottom:"5",captionPaddingLeft:"10",captionPaddingRight:"10",captionPaddingTop:"5",captionPaddingUnit:"px",captionPaddingisLinked:!1,descriptionColor:"var(--eb-global-button-text-color)",descTypoFontSize:13,descPaddingBottom:"5",descPaddingLeft:"10",descPaddingRight:"10",descPaddingTop:"5",descPaddingUnit:"px",descPaddingisLinked:!1,filterWrapperBGColor:"",filterWrapBSRds_Bottom:"0",filterWrapBSRds_Left:"0",filterWrapBSRds_Right:"0",filterWrapBSRds_Top:"0",filterWrapBSRds_Unit:"px",filterWrapBSRds_isLinked:!0,filterWrapBSborderStyle:"none",filterColor:"var(--eb-global-text-color)",filterBGColor:"var(--eb-global-tertiary-color)",filterHoverColor:"var(--eb-global-button-text-color)",filterHoverBGColor:"var(--eb-global-primary-color)",filterActColor:"var(--eb-global-button-text-color)",filterActBGColor:"var(--eb-global-primary-color)",filterTypoFontSize:16,filterTypoTextTransform:"uppercase",filterPaddingBottom:"05",filterPaddingLeft:"10",filterPaddingRight:"10",filterPaddingTop:"05",filterPaddingUnit:"px",filterPaddingisLinked:!1,filterMarginBottom:"0",filterMarginLeft:"5",filterMarginRight:"5",filterMarginTop:"0",filterMarginUnit:"px",filterMarginisLinked:!1,filterBorderShadowRds_Bottom:"0",filterBorderShadowRds_Left:"0",filterBorderShadowRds_Right:"0",filterBorderShadowRds_Top:"0",filterBorderShadowRds_Unit:"px",filterBorderShadowRds_isLinked:!0,filterBorderShadowborderStyle:"none",filterBorderShadowHborderStyle:"none"});break;case"preset-2":a({disableIsotope:!1,displayCaption:!0,displayDescription:!0,disableLightBox:!1,addCustomLink:!0,enableFilter:!0,enableSearch:!1,layouts:"grid",unevenWidth:!1,columnsRange:3,TABcolumnsRange:2,align:void 0,imageGapRange:25,imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Unit:"px",imgBorderShadowRds_isLinked:!0,overlayColor:"#525A66",overlayPaddingBottom:"0",overlayPaddingLeft:"0",overlayPaddingRight:"0",overlayPaddingTop:"0",overlayPaddingUnit:"px",overlayPaddingisLinked:!0,contentBGColor:"",contentAlign:"left",contentPaddingBottom:"0",contentPaddingLeft:"0",contentPaddingRight:"0",contentPaddingTop:"0",contentPaddingUnit:"px",contentPaddingisLinked:!0,contentMarginBottom:"0",contentMarginLeft:"0",contentMarginRight:"0",contentMarginTop:"0",contentMarginUnit:"px",contentMarginisLinked:!0,contentBorderShadowRds_Bottom:"0",contentBorderShadowRds_Left:"0",contentBorderShadowRds_Right:"0",contentBorderShadowRds_Top:"0",contentBorderShadowRds_Unit:"px",contentBorderShadowRds_isLinked:!0,contentBorderShadowborderStyle:"none",captionColor:"#ffffff",captionBGColor:"",descriptionColor:"#ffffff",descriptionBGColor:"",captionTypoFontSize:20,descTypoFontSize:14,captionPaddingBottom:"0",captionPaddingLeft:"0",captionPaddingRight:"0",captionPaddingTop:"0",captionPaddingUnit:"px",captionPaddingisLinked:!1,descPaddingBottom:"0",descPaddingLeft:"0",descPaddingRight:"0",descPaddingTop:"10",descPaddingUnit:"px",descPaddingisLinked:!1,iconColor:"#000000",iconHoverColor:"#2673FF",iconBGColor:"#ffffff",iconHoverBGColor:"",iconWidth:40,iconSize:16,iconBorderShadowRds_Bottom:"0",iconBorderShadowRds_Left:"0",iconBorderShadowRds_Right:"0",iconBorderShadowRds_Top:"0",iconBorderShadowRds_Unit:"px",iconBorderShadowRds_isLinked:!0,iconBorderShadowborderStyle:"none",filterWrapperBGColor:"",filterWrapBSRds_Bottom:"0",filterWrapBSRds_Left:"0",filterWrapBSRds_Right:"0",filterWrapBSRds_Top:"0",filterWrapBSRds_Unit:"px",filterWrapBSRds_isLinked:!0,filterWrapBSborderStyle:"none",filterColor:"#444F62",filterBGColor:"",filterHoverColor:"#444F62",filterHoverBGColor:"",filterActColor:"#FFFFFF",filterActBGColor:"#000000",filterTypoFontSize:16,filterTypoTextTransform:"capitalize",filterPaddingBottom:"05",filterPaddingLeft:"20",filterPaddingRight:"20",filterPaddingTop:"05",filterPaddingUnit:"px",filterPaddingisLinked:!1,filterMarginBottom:"0",filterMarginLeft:"10",filterMarginRight:"10",filterMarginTop:"0",filterMarginUnit:"px",filterMarginisLinked:!1,filterBorderShadowRds_Bottom:"4",filterBorderShadowRds_Left:"4",filterBorderShadowRds_Right:"4",filterBorderShadowRds_Top:"4",filterBorderShadowRds_Unit:"px",filterBorderShadowRds_isLinked:!0,filterBorderShadowBdr_Bottom:"1",filterBorderShadowBdr_Left:"1",filterBorderShadowBdr_Right:"1",filterBorderShadowBdr_Top:"1",filterBorderShadowBdr_Unit:"px",filterBorderShadowBdr_isLinked:!0,filterBorderShadowborderColor:"#A9A9A9",filterBorderShadowborderStyle:"dashed",filterBorderShadowHborderColor:"rgba(4,4,4,1)",filterBorderShadowHborderStyle:"dashed"});break;case"preset-3":a({disableIsotope:!1,displayCaption:!0,displayDescription:!0,disableLightBox:!1,addCustomLink:!0,enableFilter:!0,enableSearch:!1,layouts:"grid",unevenWidth:!1,columnsRange:3,TABcolumnsRange:2,align:void 0,imageGapRange:25,imgBorderShadowRds_Bottom:"8",imgBorderShadowRds_Left:"8",imgBorderShadowRds_Right:"8",imgBorderShadowRds_Top:"8",imgBorderShadowRds_Unit:"px",imgBorderShadowRds_isLinked:!0,maskColor:"#fff",overlayColor:"#525A66",overlayPaddingBottom:"24",overlayPaddingLeft:"24",overlayPaddingRight:"24",overlayPaddingTop:"24",overlayPaddingUnit:"px",overlayPaddingisLinked:!0,contentBGColor:"",contentAlign:"left",contentPaddingBottom:"0",contentPaddingLeft:"0",contentPaddingRight:"0",contentPaddingTop:"0",contentPaddingUnit:"px",contentPaddingisLinked:!0,contentMarginBottom:"0",contentMarginLeft:"0",contentMarginRight:"0",contentMarginTop:"0",contentMarginUnit:"px",contentMarginisLinked:!0,contentBorderShadowRds_Bottom:"0",contentBorderShadowRds_Left:"0",contentBorderShadowRds_Right:"0",contentBorderShadowRds_Top:"0",contentBorderShadowRds_Unit:"px",contentBorderShadowRds_isLinked:!0,contentBorderShadowborderStyle:"none",captionColor:"#ffffff",captionBGColor:"",descriptionColor:"#ffffff",descriptionBGColor:"",captionTypoFontSize:18,descTypoFontSize:14,captionPaddingBottom:"0",captionPaddingLeft:"0",captionPaddingRight:"0",captionPaddingTop:"0",captionPaddingUnit:"px",captionPaddingisLinked:!1,descPaddingBottom:"0",descPaddingLeft:"0",descPaddingRight:"0",descPaddingTop:"10",descPaddingUnit:"px",descPaddingisLinked:!1,iconColor:"#ffffff",iconHoverColor:"#2673FF",iconBGColor:"#525A66",iconHoverBGColor:"",iconWidth:40,iconSize:16,iconBorderShadowRds_Bottom:"8",iconBorderShadowRds_Left:"8",iconBorderShadowRds_Right:"8",iconBorderShadowRds_Top:"8",iconBorderShadowRds_Unit:"px",iconBorderShadowRds_isLinked:!0,iconBorderShadowborderStyle:"none",filterWrapperBGColor:"",filterWrapBSRds_Bottom:"0",filterWrapBSRds_Left:"0",filterWrapBSRds_Right:"0",filterWrapBSRds_Top:"0",filterWrapBSRds_Unit:"px",filterWrapBSRds_isLinked:!0,filterWrapBSborderStyle:"none",filterColor:"#444F62",filterBGColor:"",filterHoverColor:"#444F62",filterHoverBGColor:"",filterActColor:"#FFFFFF",filterActBGColor:"#606977",filterTypoFontSize:16,filterTypoTextTransform:"capitalize",filterPaddingBottom:"05",filterPaddingLeft:"20",filterPaddingRight:"20",filterPaddingTop:"05",filterPaddingUnit:"px",filterPaddingisLinked:!1,filterMarginBottom:"0",filterMarginLeft:"10",filterMarginRight:"10",filterMarginTop:"0",filterMarginUnit:"px",filterMarginisLinked:!1,filterBorderShadowRds_Bottom:"20",filterBorderShadowRds_Left:"20",filterBorderShadowRds_Right:"20",filterBorderShadowRds_Top:"20",filterBorderShadowRds_Unit:"px",filterBorderShadowRds_isLinked:!0,filterBorderShadowBdr_Bottom:"1",filterBorderShadowBdr_Left:"1",filterBorderShadowBdr_Right:"1",filterBorderShadowBdr_Top:"1",filterBorderShadowBdr_Unit:"px",filterBorderShadowBdr_isLinked:!0,filterBorderShadowborderColor:"#A9A9A9",filterBorderShadowborderStyle:"solid",filterBorderShadowHborderColor:"#606977",filterBorderShadowHborderStyle:"solid"});break;case"preset-4":a({disableIsotope:!1,displayCaption:!0,displayDescription:!0,disableLightBox:!1,addCustomLink:!0,enableFilter:!0,enableSearch:!1,layouts:"grid",unevenWidth:!1,columnsRange:3,TABcolumnsRange:2,align:void 0,imageGapRange:25,imgBorderShadowRds_Bottom:"8",imgBorderShadowRds_Left:"8",imgBorderShadowRds_Right:"8",imgBorderShadowRds_Top:"8",imgBorderShadowRds_Unit:"px",imgBorderShadowRds_isLinked:!0,overlayColor:"",overlayPaddingBottom:"24",overlayPaddingLeft:"24",overlayPaddingRight:"24",overlayPaddingTop:"24",overlayPaddingUnit:"px",overlayPaddingisLinked:!0,contentBGColor:"#fff",contentAlign:"left",contentPaddingBottom:"16",contentPaddingLeft:"16",contentPaddingRight:"16",contentPaddingTop:"16",contentPaddingUnit:"px",contentPaddingisLinked:!0,contentMarginBottom:"0",contentMarginLeft:"0",contentMarginRight:"0",contentMarginTop:"0",contentMarginUnit:"px",contentMarginisLinked:!0,contentBorderShadowRds_Bottom:"8",contentBorderShadowRds_Left:"8",contentBorderShadowRds_Right:"8",contentBorderShadowRds_Top:"8",contentBorderShadowRds_Unit:"px",contentBorderShadowRds_isLinked:!0,contentBorderShadowBdr_Bottom:"1",contentBorderShadowBdr_Left:"1",contentBorderShadowBdr_Right:"1",contentBorderShadowBdr_Top:"1",contentBorderShadowBdr_Unit:"px",contentBorderShadowBdr_isLinked:!0,contentBorderShadowborderColor:"#DAE0EE",contentBorderShadowborderStyle:"solid",captionColor:"#2D323A",captionBGColor:"",descriptionColor:"#7F8794",descriptionBGColor:"",captionTypoFontSize:20,descTypoFontSize:14,captionPaddingBottom:"0",captionPaddingLeft:"0",captionPaddingRight:"0",captionPaddingTop:"0",captionPaddingUnit:"px",captionPaddingisLinked:!1,descPaddingBottom:"0",descPaddingLeft:"0",descPaddingRight:"0",descPaddingTop:"10",descPaddingUnit:"px",descPaddingisLinked:!1,iconColor:"#444F62",iconHoverColor:"#2673FF",iconBGColor:"#ffffff",iconHoverBGColor:"",iconWidth:40,iconSize:16,iconBorderShadowRds_Bottom:"8",iconBorderShadowRds_Left:"8",iconBorderShadowRds_Right:"8",iconBorderShadowRds_Top:"8",iconBorderShadowRds_Unit:"px",iconBorderShadowRds_isLinked:!0,iconBorderShadowBdr_Bottom:"1",iconBorderShadowBdr_Left:"1",iconBorderShadowBdr_Right:"1",iconBorderShadowBdr_Top:"1",iconBorderShadowBdr_Unit:"px",iconBorderShadowBdr_isLinked:!0,iconBorderShadowborderColor:"#DAE0EE",iconBorderShadowborderStyle:"solid",filterWrapperBGColor:"#EFF2F9",filterWrapBSRds_Bottom:"8",filterWrapBSRds_Left:"8",filterWrapBSRds_Right:"8",filterWrapBSRds_Top:"8",filterWrapBSRds_Unit:"px",filterWrapBSRds_isLinked:!0,filterWrapBSBdr_Bottom:"5",filterWrapBSBdr_Left:"5",filterWrapBSBdr_Right:"5",filterWrapBSBdr_Top:"5",filterWrapBSBdr_Unit:"px",filterWrapBSBdr_isLinked:!0,filterWrapBSborderColor:"#EFF2F9",filterWrapBSborderStyle:"solid",filterColor:"#444F62",filterBGColor:"",filterHoverColor:"#2D323A",filterHoverBGColor:"",filterActColor:"#2D323A",filterActBGColor:"",filterTypoFontSize:16,filterTypoTextTransform:"capitalize",filterPaddingBottom:"15",filterPaddingLeft:"22",filterPaddingRight:"22",filterPaddingTop:"15",filterPaddingUnit:"px",filterPaddingisLinked:!1,filterMarginBottom:"0",filterMarginLeft:"0",filterMarginRight:"0",filterMarginTop:"0",filterMarginUnit:"px",filterMarginisLinked:!1,filterBorderShadowRds_Bottom:"0",filterBorderShadowRds_Left:"0",filterBorderShadowRds_Right:"0",filterBorderShadowRds_Top:"0",filterBorderShadowRds_Unit:"px",filterBorderShadowRds_isLinked:!0,filterBorderShadowborderStyle:"none",filterBorderShadowHborderStyle:"none"});break;default:return!1}}(e)}}),"default"===Ve&&React.createElement(React.Fragment,null,React.createElement(s.SelectControl,{label:(0,n.__)("Styles","essential-blocks"),value:he,options:q,onChange:function(e){return function(e){switch(a({styleNumber:e}),e){case"0":case"1":a({});break;case"2":a({displayCaption:!0});break;default:return!1}}(e)}}),"2"===he&&React.createElement(s.SelectControl,{label:(0,n.__)("Overlay Styles","essential-blocks"),value:ve,options:W,onChange:function(e){return a({overlayStyle:e})}})),React.createElement(c.EbImageSizeSelector,{attrName:"imageSize",label:(0,n.__)("Image Size","essential-blocks")}),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Columns","essential-blocks"),controlName:u,units:[],min:1,max:"pro-preset-5"===Ve?5:8,step:1}),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Gap (px)","essential-blocks"),controlName:g,units:[],min:0,max:100,step:1}),React.createElement(s.ToggleControl,{label:(0,n.__)("Display Caption","essential-blocks"),checked:l,onChange:function(){return a({displayCaption:!l})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Display Description","essential-blocks"),checked:Ue,onChange:function(){return a({displayDescription:!Ue})}}),"default"==Ve&&l&&"0"===he&&React.createElement(s.ToggleControl,{label:(0,n.__)("Display Caption on Hover","essential-blocks"),checked:$,onChange:function(){return a({captionOnHover:!$})}}),"pro-preset-5"!==Ve&&"pro-preset-6"!==Ve&&React.createElement(React.Fragment,null,React.createElement(s.ToggleControl,{label:(0,n.__)("Disable Light Box","essential-blocks"),checked:we,onChange:function(){return a({disableLightBox:!we})}}),"default"!==Ve&&!we&&React.createElement(c.EBIconPicker,{title:(0,n.__)("Lightbox Icon","essential-blocks"),value:Ge,attributeName:"lightboxIcon"})),"default"===Ve&&we||"default"!==Ve&&React.createElement(React.Fragment,null,React.createElement(s.ToggleControl,{label:(0,n.__)("Add custom link?","essential-blocks"),checked:Le,onChange:function(){return a({addCustomLink:!Le})}}),"default"!==Ve&&Le&&React.createElement(c.EBIconPicker,{title:(0,n.__)("Link Icon","essential-blocks"),value:qe,attributeName:"linkIcon"})),"default"===Ve&&"grid"===r&&React.createElement(s.ToggleControl,{label:(0,n.__)("Disable Isotope","essential-blocks"),checked:bt,onChange:function(){return a({disableIsotope:!bt})},help:(0,n.__)("Some of the functions will not work if you disable Isotope, such as load more, filter, and search.","essential-blocks")}),(0,i.applyFilters)("eb_filterable_gallery_pro_settings_tab","",t,a)),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Filter","essential-blocks"),initialOpen:!1},React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Filter","essential-blocks"),checked:Ce,onChange:function(){return a({enableFilter:!Ce})}}),(0,i.applyFilters)("eb_filterable_gallery_pro_general_tab","",t,a),Ce&&React.createElement(s.ToggleControl,{label:(0,n.__)('Enable "All"',"essential-blocks"),checked:Ee,onChange:function(){return a({enableFilterAll:!Ee})}}),Ce&&Ee&&React.createElement(s.TextControl,{label:(0,n.__)('"ALL" Text',"essential-blocks"),value:xe,onChange:function(e){return a({filterAllTitle:e})}}),Ce&&React.createElement(React.Fragment,null,React.createElement(s.SelectControl,{label:(0,n.__)("Default Selected Filter","essential-blocks"),value:Te,options:ut,onChange:function(e){return a({defaultFilter:e})}}),React.createElement(s.TextControl,{label:(0,n.__)("Not Found Content","essential-blocks"),value:it,onChange:function(e){return a({notFoundText:e})}}),React.createElement(s.__experimentalDivider,null),React.createElement(s.PanelRow,null,(0,n.__)("Filter Items","essential-blocks")),React.createElement(c.SortControl,{items:t.filterItems,labelKey:"label",onSortEnd:function(e){return a({filterItems:e})},onDeleteItem:function(e){a({filterItems:t.filterItems.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:t.filterItems.map(function(e,o){return React.createElement("div",{key:o},React.createElement(s.TextControl,{label:(0,n.__)("Text","essential-blocks"),value:e.label,onChange:function(e){return function(e,n,o){var r=(0,X.A)(t.filterItems);r[o].label=n;var l=n.toLowerCase();l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=(l=l.replaceAll(" ","-")).replaceAll(",-"," eb-filter-img-")).replaceAll(",","comma")).replaceAll("&","and")).replaceAll("+","plus")).replaceAll("amp;","")).replaceAll("/","slash")).replaceAll("'","apostrophe")).replaceAll('"',"apostrophe")).replaceAll(".","-")).replaceAll("~","tilde")).replaceAll("!","exclamation")).replaceAll("@","at")).replaceAll("#","hash")).replaceAll("(","parenthesis")).replaceAll(")","parenthesis")).replaceAll("=","equal")).replaceAll(";","semicolon")).replaceAll(":","colon")).replaceAll("<","lessthan")).replaceAll(">","greaterthan")).replaceAll("|","pipe")).replaceAll("\\","backslash")).replaceAll("^","caret")).replaceAll("*","asterisk")).replaceAll("$","dollar")).replaceAll("`","backtick")).replaceAll("[","bracket")).replaceAll("]","bracket")).replaceAll("{","curlybracket")).replaceAll("}","curlybracket")).replaceAll("?","questionmark"),r[o].value=l,a({filterItems:r})}(0,e,o)}}))}),hasAddButton:!0,onAddItem:function(){var e=t.filterItems.length+1,n=[].concat((0,X.A)(t.filterItems),[{value:"filter-item-".concat(e),label:"Filter Item ".concat(e)}]);a({filterItems:n})},addButtonText:(0,n.__)("Add Filter","essential-blocks")}))),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Gallery Items","essential-blocks"),initialOpen:!1},React.createElement(c.SortControl,{items:t.sources,onSortEnd:function(e){var t=e.reduce(function(e,t,a){return e[t.id]=a,e},{});e.sort(function(e,a){return t[e.id]-t[a.id]}),a({sources:e})},onDeleteItem:function(e){a({sources:t.sources.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:t.sources.map(function(e,t){return React.createElement("div",{key:t},React.createElement(s.PanelRow,null,(0,n.__)("Image","essential-blocks")),React.createElement(c.ImageComponent.GeneralTab,{onSelect:function(e){return function(e,t,a,n){var o=K({},a[t]),r=(0,X.A)(a);r[t]=o,r[t].id=e.id,r[t].url=e.url,r[t].alt=e.alt,r[t].caption=e.caption,r[t].content=e.description,n({sources:r})}(e,t,Se,a)},value:!e.url||e.url.startsWith("data:image/")?e.id:e.url,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),Ce&&React.createElement(React.Fragment,null,React.createElement(s.PanelRow,null,(0,n.__)("Filter","essential-blocks")),React.createElement(pe.Ay,{name:"select-gallery-item",value:e.filter?JSON.parse(e.filter):"",onChange:function(e){return n=e,o=t,r=JSON.stringify(n),l=Se.map(function(e,t){if(o===t){var a=ye({},e);return a.filter=r,a}return e}),void a({sources:l});var n,o,r,l},options:Be,isMulti:"true",Placeholder:"Select Filter"})),React.createElement(s.__experimentalDivider,null),l&&React.createElement(s.TextControl,{label:(0,n.__)("Caption","essential-blocks"),value:e.caption,onChange:function(t){return ee("caption",t,e.id,Se,a)}}),Ue&&React.createElement(s.TextControl,{label:(0,n.__)("Description","essential-blocks"),value:e.content,onChange:function(t){return ee("content",t,e.id,Se,a)}}),("default"==Ve&&we&&Le||"default"!==Ve&&Le)&&React.createElement(React.Fragment,null,React.createElement(s.TextControl,{label:(0,n.__)("URL","essential-blocks"),value:e.customLink,onChange:function(t){return function(e,t,a,n){var o,r=e.length>0&&(o=e,!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(o));n({sources:a.map(function(a){return a.id==t?K(K({},a),{},{customLink:e,isValidUrl:r}):a})})}(t,e.id,Se,a)}}),e.url&&e.url.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"}," URL is not valid "),React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return function(e,t,a,n){n({sources:a.map(function(a){return a.id==t?K(K({},a),{},{openNewTab:!0===e}):a})})}(!e.openNewTab,e.id,Se,a)}})))}),preserveLabels:!0,hasAddButton:!1})),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Load More Button","essential-blocks"),initialOpen:!1},React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Load More Button","essential-blocks"),checked:je,onChange:function(e){return function(e){var t={enableLoadMore:e};Ce||Fe||(t=ye(ye({},t),{},{enableIsotope:!0})),a(t)}(e)}}),je&&React.createElement(React.Fragment,null,React.createElement(s.RangeControl,{label:(0,n.__)("Images Per Page","essential-blocks"),value:ze,onChange:function(e){return a({imagesPerPageCount:e})},min:1,max:(null==Se?void 0:Se.length)-1,allowReset:!0}),React.createElement(c.EBButton.GeneralTab,{label:(0,n.__)("Button","essential-blocks"),type:"button",buttonAttrProps:L,hasIcon:!1,hasAlignment:!1,hasWidth:!1}))))),React.createElement(c.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Image Settings","essential-blocks"),initialOpen:!0},"grid"===r&&React.createElement(React.Fragment,null,!Ce&&React.createElement(s.BaseControl,{label:(0,n.__)("Alignment","essential-blocks")},React.createElement(s.ButtonGroup,null,Z.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:_e===e.value,isSecondary:_e!==e.value,onClick:function(){return a({imageAlignment:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("Image Size","essential-blocks")},React.createElement(s.ButtonGroup,null,G.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({imageSizeType:e.value})}},e.label)}))),"fixed"===ke&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Height","essential-blocks"),controlName:k,units:U,min:0,max:1e3,step:1}),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:w,units:U,min:0,max:500,step:1})),"adaptive"===ke&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Max Height","essential-blocks"),controlName:_,units:U,min:0,max:1e3,step:1}),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Max Width","essential-blocks"),controlName:R,units:U,min:0,max:500,step:1}))),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!0},React.createElement(c.BorderShadowControl,{controlName:f,noShadow:!0}))),"default"==Ve&&"2"===he&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Overlay Styles","essential-blocks")},React.createElement(c.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:ae,attributeName:"overlayColor"})),"default"!==Ve&&"pro-preset-5"!==Ve&&"pro-preset-6"!==Ve&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Action Styles","essential-blocks"),initialOpen:!1},"preset-3"==Ve&&React.createElement(c.ColorControl,{label:(0,n.__)("Mask Color","essential-blocks"),color:nt,attributeName:"maskColor"}),React.createElement(s.BaseControl,null,React.createElement(s.ButtonGroup,null,J.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:Je===e.value,isSecondary:Je!==e.value,onClick:function(){return a({iconType:e.value})}},e.label)})),"normal"===Je&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ye,attributeName:"iconColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Xe,attributeName:"iconBGColor"})),"hover"===Je&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Qe,attributeName:"iconHoverColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:$e,attributeName:"iconHoverBGColor"}))),React.createElement(s.RangeControl,{label:(0,n.__)("Icon Width","essential-blocks"),value:Ke,onChange:function(e){return a({iconWidth:e})},min:10,max:200,allowReset:!0}),React.createElement(s.RangeControl,{label:(0,n.__)("Icon Size","essential-blocks"),value:et,onChange:function(e){return a({iconSize:e})},min:5,max:100,allowReset:!0}),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(c.BorderShadowControl,{controlName:O}))),(l||Ue)&&"pro-preset-5"!==Ve&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Content Styles","essential-blocks"),initialOpen:!1},(0,i.applyFilters)("eb_filterable_gallery_pro_style_tab_content","",t,a),void 0!==st&&"pro-preset-6"!==Ve&&React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:at,attributeName:"contentBGColor"}),"default"==Ve&&void 0!==st&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:v,units:z,min:0,max:300,step:1}),React.createElement(s.BaseControl,{label:(0,n.__)("Text Align","essential-blocks")},React.createElement(s.ButtonGroup,null,H.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:fe===e.value,isSecondary:fe!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("Horizontal Align","essential-blocks")},React.createElement(s.ButtonGroup,null,j.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:oe===e.value,isSecondary:oe!==e.value,onClick:function(){return a({horizontalAlign:e.value})}},e.label)}))),React.createElement(s.BaseControl,{label:(0,n.__)("Vertical Align","essential-blocks")},React.createElement(s.ButtonGroup,null,F.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:ce===e.value,isSecondary:ce!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)})))),"default"!==Ve&&"pro-preset-6"!==Ve&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Alignment","essential-blocks")},React.createElement(s.ButtonGroup,null,j.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:tt===e.value,isSecondary:tt!==e.value,onClick:function(){return a({contentAlign:e.value})}},e.label)}))),React.createElement(c.ResponsiveDimensionsControl,{controlName:A,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(c.ResponsiveDimensionsControl,{controlName:D,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(c.BorderShadowControl,{controlName:M})),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Overalay Styles","essential-blocks"),initialOpen:!1},React.createElement(c.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:ae,attributeName:"overlayColor"}),React.createElement(c.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,n.__)("Padding","essential-blocks")}))),l&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Caption Styles","essential-blocks")},React.createElement(c.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:te,attributeName:"captionColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ne,attributeName:"captionBGColor"}),React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:be}),React.createElement(c.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(c.ResponsiveDimensionsControl,{controlName:y,baseLabel:(0,n.__)("Margin","essential-blocks")})),Ue&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Description Styles","essential-blocks")},React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ue}),React.createElement(c.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:We,attributeName:"descriptionColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Ze,attributeName:"descriptionBGColor"}),React.createElement(c.ResponsiveDimensionsControl,{controlName:N,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(c.ResponsiveDimensionsControl,{controlName:P,baseLabel:(0,n.__)("Margin","essential-blocks")}))),Ce&&!ot&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Filter","essential-blocks"),initialOpen:!1},React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:rt,attributeName:"filterWrapperBGColor"}),React.createElement(s.PanelRow,null,"Border & Shadow"),React.createElement(c.BorderShadowControl,{controlName:S}),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Filter Item","essential-blocks"),initialOpen:!1},React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:de}),React.createElement(s.BaseControl,null,React.createElement(s.ButtonGroup,null,Y.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:Ne===e.value,isSecondary:Ne!==e.value,onClick:function(){return a({filterColorType:e.value})}},e.label)})),"normal"===Ne&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Pe,attributeName:"filterColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Ie,attributeName:"filterBGColor"})),"hover"===Ne&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Oe,attributeName:"filterHoverColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:De,attributeName:"filterHoverBGColor"})),"active"===Ne&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ae,attributeName:"filterActColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Me,attributeName:"filterActBGColor"}))),React.createElement(c.ResponsiveDimensionsControl,{controlName:E,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(c.ResponsiveDimensionsControl,{controlName:C,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(s.PanelRow,null,"Border & Shadow"),React.createElement(c.BorderShadowControl,{controlName:x}))),(0,i.applyFilters)("eb_filterable_gallery_pro_style_tab","",t,a),(Ce||Fe)&&je&&React.createElement(c.EBButton.StyleTab,{label:(0,n.__)("Load More Button","essential-blocks"),buttonAttrProps:L,hasTypography:!0,typography:me,border:T,hasPadding:!0,padding:B,hasHoverEffect:!1}),Ce&&""!==it&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Not Found Styles","essential-blocks"),initialOpen:!1},React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ct,attributeName:"notFoundColor"}),React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ge})))))};function ve(e){var t=e.setAttributes,a=e.name,n=(0,c.useBlockAttributes)(),o=n.blockId,r=n.captionColor,l=n.captionBGColor,i=n.descriptionColor,s=n.descriptionBGColor,F=n.overlayColor,j=n.textAlign,H=n.imageSizeType,z=n.imageAlignment,U=n.filterColor,V=n.filterHoverColor,G=n.filterBGColor,q=n.filterHoverBGColor,W=n.filterActColor,Z=n.filterActBGColor,J=n.imageGapRange,Y=n.TABimageGapRange,Q=n.MOBimageGapRange,X=n.loadmoreBGColor,$=n.loadmoreHvBGColor,K=(n.enableFilter,n.iconColor),ee=n.iconHoverColor,te=n.iconBGColor,ae=n.iconHoverBGColor,ne=n.iconWidth,oe=n.iconSize,re=n.imgBorderShadowRds_Top,le=n.imgBorderShadowRds_Bottom,ce=n.imgBorderShadowRds_Left,ie=n.imgBorderShadowRds_Right,se=n.imgBorderShadowRds_Unit,pe=n.TABimgBorderShadowRds_Top,fe=n.TABimgBorderShadowRds_Bottom,ye=n.TABimgBorderShadowRds_Left,he=n.TABimgBorderShadowRds_Right,ve=n.TABimgBorderShadowRds_Unit,we=n.MOBimgBorderShadowRds_Top,ke=n.MOBimgBorderShadowRds_Bottom,Re=n.MOBimgBorderShadowRds_Left,_e=n.MOBimgBorderShadowRds_Right,Ce=n.MOBimgBorderShadowRds_Unit,Ee=n.contentAlign,xe=n.presets,Se=n.maskColor,Be=n.filterWrapperBGColor,Te=n.notFoundColor,Ne=n.contentBGColor,Pe=n.version,Oe=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:ge,defaultFontSize:14}),Ie=Oe.typoStylesDesktop,De=Oe.typoStylesTab,Ae=Oe.typoStylesMobile,Me=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:be,defaultFontSize:13}),Le=Me.typoStylesDesktop,Fe=Me.typoStylesTab,je=Me.typoStylesMobile,He=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:ue,defaultFontSize:13}),ze=He.typoStylesDesktop,Ue=He.typoStylesTab,Ve=He.typoStylesMobile,Ge=(0,c.generateDimensionsControlStyles)({controlName:b,styleFor:"margin",attributes:n}),qe=Ge.dimensionStylesDesktop,We=Ge.dimensionStylesTab,Ze=Ge.dimensionStylesMobile,Je=(0,c.generateDimensionsControlStyles)({controlName:d,styleFor:"padding",attributes:n}),Ye=Je.dimensionStylesDesktop,Qe=Je.dimensionStylesTab,Xe=Je.dimensionStylesMobile,$e=(0,c.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:n}),Ke=$e.dimensionStylesDesktop,et=$e.dimensionStylesTab,tt=$e.dimensionStylesMobile,at=(0,c.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:n}),nt=at.dimensionStylesDesktop,ot=at.dimensionStylesTab,rt=at.dimensionStylesMobile,lt=(0,c.generateDimensionsControlStyles)({controlName:P,styleFor:"margin",attributes:n}),ct=lt.dimensionStylesDesktop,it=lt.dimensionStylesTab,st=lt.dimensionStylesMobile,pt=(0,c.generateDimensionsControlStyles)({controlName:N,styleFor:"padding",attributes:n}),bt=pt.dimensionStylesDesktop,dt=pt.dimensionStylesTab,mt=pt.dimensionStylesMobile,ut=(0,c.generateResponsiveRangeStyles)({controlName:u,property:null,noUnits:!0,attributes:n}),gt=ut.rangeStylesDesktop,ft=ut.rangeStylesTab,yt=ut.rangeStylesMobile,ht=(0,c.generateResponsiveRangeStyles)({controlName:v,property:"width",attributes:n}),vt=ht.rangeStylesDesktop,wt=ht.rangeStylesTab,kt=ht.rangeStylesMobile,Rt=(0,c.generateResponsiveRangeStyles)({controlName:g,property:"gap",attributes:n}),_t=Rt.rangeStylesDesktop,Ct=Rt.rangeStylesTab,Et=Rt.rangeStylesMobile,xt=(0,c.generateResponsiveRangeStyles)({controlName:g,property:null,noUnits:!0,attributes:n}),St=xt.rangeStylesDesktop,Bt=xt.rangeStylesTab,Tt=xt.rangeStylesMobile,Nt=(0,c.generateResponsiveRangeStyles)({controlName:k,property:"height",attributes:n}),Pt=Nt.rangeStylesDesktop,Ot=Nt.rangeStylesTab,It=Nt.rangeStylesMobile,Dt=(0,c.generateResponsiveRangeStyles)({controlName:w,property:"width",attributes:n}),At=Dt.rangeStylesDesktop,Mt=Dt.rangeStylesTab,Lt=Dt.rangeStylesMobile,Ft=(0,c.generateResponsiveRangeStyles)({controlName:_,property:"max-height",attributes:n}),jt=Ft.rangeStylesDesktop,Ht=Ft.rangeStylesTab,zt=Ft.rangeStylesMobile,Ut=(0,c.generateResponsiveRangeStyles)({controlName:R,property:"max-width",attributes:n}),Vt=Ut.rangeStylesDesktop,Gt=Ut.rangeStylesTab,qt=Ut.rangeStylesMobile,Wt=(0,c.generateBackgroundControlStyles)({attributes:n,controlName:p,noOverlay:!0}),Zt=Wt.backgroundStylesDesktop,Jt=Wt.hoverBackgroundStylesDesktop,Yt=Wt.backgroundStylesTab,Qt=Wt.hoverBackgroundStylesTab,Xt=Wt.backgroundStylesMobile,$t=Wt.hoverBackgroundStylesMobile,Kt=Wt.bgTransitionStyle,ea=(0,c.generateBorderShadowStyles)({controlName:m,attributes:n}),ta=ea.styesDesktop,aa=ea.styesTab,na=ea.styesMobile,oa=ea.stylesHoverDesktop,ra=ea.stylesHoverTab,la=ea.stylesHoverMobile,ca=ea.transitionStyle,ia=(0,c.generateBorderShadowStyles)({controlName:f,attributes:n,noShadow:!0}),sa=ia.styesDesktop,pa=ia.styesTab,ba=ia.styesMobile,da=ia.stylesHoverDesktop,ma=ia.stylesHoverTab,ua=ia.stylesHoverMobile,ga=ia.transitionStyle,fa=(0,c.generateDimensionsControlStyles)({controlName:C,styleFor:"margin",attributes:n}),ya=fa.dimensionStylesDesktop,ha=fa.dimensionStylesTab,va=fa.dimensionStylesMobile,wa=(0,c.generateDimensionsControlStyles)({controlName:E,styleFor:"padding",attributes:n}),ka=wa.dimensionStylesDesktop,Ra=wa.dimensionStylesTab,_a=wa.dimensionStylesMobile,Ca=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:de}),Ea=Ca.typoStylesDesktop,xa=Ca.typoStylesTab,Sa=Ca.typoStylesMobile,Ba=(0,c.generateBorderShadowStyles)({controlName:x,attributes:n}),Ta=Ba.styesDesktop,Na=Ba.styesTab,Pa=Ba.styesMobile,Oa=Ba.stylesHoverDesktop,Ia=Ba.stylesHoverTab,Da=Ba.stylesHoverMobile,Aa=Ba.transitionStyle,Ma=(0,c.generateBorderShadowStyles)({controlName:O,attributes:n}),La=Ma.styesDesktop,Fa=Ma.styesTab,ja=Ma.styesMobile,Ha=Ma.stylesHoverDesktop,za=Ma.stylesHoverTab,Ua=Ma.stylesHoverMobile,Va=Ma.transitionStyle,Ga=(0,c.generateBorderShadowStyles)({controlName:M,attributes:n,noShadow:!0}),qa=Ga.styesDesktop,Wa=Ga.styesTab,Za=Ga.styesMobile,Ja=Ga.stylesHoverDesktop,Ya=Ga.stylesHoverTab,Qa=Ga.stylesHoverMobile,Xa=Ga.transitionStyle,$a=(0,c.generateBorderShadowStyles)({controlName:S,attributes:n,noShadow:!0}),Ka=$a.styesDesktop,en=$a.styesTab,tn=$a.styesMobile,an=$a.stylesHoverDesktop,nn=$a.stylesHoverTab,on=$a.stylesHoverMobile,rn=$a.transitionStyle,ln=(0,c.generateDimensionsControlStyles)({controlName:D,styleFor:"margin",attributes:n}),cn=ln.dimensionStylesDesktop,sn=ln.dimensionStylesTab,pn=ln.dimensionStylesMobile,bn=(0,c.generateDimensionsControlStyles)({controlName:A,styleFor:"padding",attributes:n}),dn=bn.dimensionStylesDesktop,mn=bn.dimensionStylesTab,un=bn.dimensionStylesMobile,gn=(0,c.generateDimensionsControlStyles)({controlName:I,styleFor:"padding",attributes:n}),fn=gn.dimensionStylesDesktop,yn=gn.dimensionStylesTab,hn=gn.dimensionStylesMobile,vn=function(e,t){var a=t/e;return"calc((100% / ".concat(e,") - ").concat(a*(e-1),"px)")},wn="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ye,"\n\t\t\t").concat(ta,"\n\t\t\t").concat(Zt,"\n\t\t\ttransition:").concat(Kt,", ").concat(ca,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n ").concat(_t,"\n }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(oa,"\n\t\t\t").concat(Jt,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid{\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tjustify-content: ").concat(z,";\n min-width: 1px;\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(vn(gt,St),";\n box-sizing: border-box;\n min-width: 1px;\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(St,"px;\n\t\t}\n\t"),kn="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(We,"\n\t\t\t").concat(Qe,"\n\t\t\t").concat(aa,"\n\t\t\t").concat(Yt,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n ").concat(Ct,"\n }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(ra,"\n\t\t\t").concat(Qt,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(vn(ft||gt,Bt||St),";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(Bt,"px;\n\t\t}\n\t"),Rn="\n\t\t.eb-gallery-img-wrapper.".concat(o,"{\n\t\t\t").concat(Ze,"\n\t\t\t").concat(Xe,"\n\t\t\t").concat(na,"\n\t\t\t").concat(Xt,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".no-isotope{\n ").concat(Et,"\n }\n\t\t.eb-gallery-img-wrapper.").concat(o,":hover {\n\t\t\t").concat(la,"\n\t\t\t").concat($t,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".grid .eb-gallery-img-content {\n\t\t\twidth: ").concat(vn(yt||gt,Tt||St),";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".masonry .eb-gallery-img-content{\n\t\t\tmargin-bottom: ").concat(Tt,"px;\n\t\t}\n\t"),_n="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===H?"\n\t\t\t\t".concat(Pt,"\n\t\t\t\t").concat(At,"\n\t\t\t"):"\n\t\t\t\t".concat(jt,"\n\t\t\t\t").concat(Vt,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,":not(.pro-preset-5) .eb-gallery-img-content img {\n\t\t\t").concat(sa,"\n\t\t\ttransition:").concat(ga,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,":not(.pro-preset-5) .eb-gallery-img-content:hover img {\n\t\t\t").concat(da,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".pro-preset-5 .eb-gallery-img-content .eb-gallery-link-wrapper {\n\t\t\t").concat(sa,"\n\t\t\ttransition:").concat(ga,";\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".pro-preset-5 .eb-gallery-img-content:hover .eb-gallery-link-wrapper {\n\t\t\t").concat(da,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\tcolor: ").concat(r,";\n\t\t\tbackground-color: ").concat(l,";\n\t\t\t").concat(Ke,"\n\t\t\t").concat(nt,"\n\t\t\t").concat(Le,"\n ").concat("default"==xe?"text-align: ".concat(j,"; ").concat(vt):"","\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".caption-style-2 .eb-gallery-link-wrapper:after {\n\t\t\tbackground-color: ").concat(F,";\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content {\n background: ").concat(Ne,";\n ").concat("default"==xe&&void 0!==Pe?"".concat(vt):"text-align: ".concat(Ee,";\n ").concat(cn,"\n\t\t\t").concat(dn,"\n ").concat(qa,"\n transition: ").concat(Xa,";"),"\n\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content:hover {\n ").concat(Ja,"\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .grid-sizer,\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(J,"px / 2);\n width: calc(100% / ").concat(gt," - ").concat(St,"px);\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content.wide {\n\t\t\tmargin: calc(").concat(J,"px / 2);\n width: calc(100% *2/ ").concat(gt," - ").concat(St,"px);\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-description {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(s,";\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(ze,"\n\n ").concat("default"==xe&&void 0!==Pe?"text-align: ".concat(j,";"):"","\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action {\n\t\t\tcolor: ").concat(K,";\n\t\t\tbackground-color: ").concat(te,";\n\t\t\tfont-size: ").concat(oe,"px;\n\t\t\twidth: ").concat(ne,"px;\n\t\t\theight: ").concat(ne,"px;\n\t\t\tline-height: ").concat(ne,"px;\n\t\t\t").concat(La,"\n\t\t\ttransition: ").concat(Va,";\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action:hover {\n\t\t\tcolor: ").concat(ee,";\n\t\t\tbackground-color: ").concat(ae,";\n\t\t\t").concat(Ha,"\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-link-wrapper:before,\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay {\n\t\t\tbackground-color: ").concat(F,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-link-wrapper .eb-img-gallery-overlay {\n\t\t\t").concat(fn,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".pro-preset-4 .eb-gallery-link-wrapper::before {\n\t\t\tbackground: linear-gradient(to bottom, transparent 0, ").concat(F," 100%);\n border-radius: ").concat(re).concat(se," ").concat(ce).concat(se," ").concat(le).concat(se," ").concat(ie).concat(se,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container {\n border-radius: ").concat(re).concat(se," ").concat(ce).concat(se," ").concat(le).concat(se," ").concat(ie).concat(se,";\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions {\n border-radius: ").concat(re).concat(se," 0;\n background: ").concat(Se,";\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before {\n top: calc(-").concat(re,"px * 2);\n height: calc(").concat(re,"px * 2);\n width: ").concat(re,"px;\n border-bottom-right-radius: ").concat(re,"px;\n box-shadow: 0px ").concat(re,"px 0 0 ").concat(Se,";\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after {\n bottom: 0;\n left: calc(-").concat(re,"px * 2);\n width: calc(").concat(re,"px * 2);\n height: ").concat(re,"px;\n border-bottom-right-radius: ").concat(re,"px;\n box-shadow: ").concat(re,"px 0px 0 0 ").concat(Se,";\n }\n\t"),Cn="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===H?"\n\t\t\t\t".concat(Ot,"\n\t\t\t\t").concat(Mt,"\n\t\t\t"):"\n\t\t\t\t".concat(Ht,"\n\t\t\t\t").concat(Gt,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content img {\n\t\t\t").concat(pa,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content:hover img {\n\t\t\t").concat(ma,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\t").concat(et,"\n\t\t\t").concat(ot,"\n\t\t\t").concat(Fe,"\n ").concat("default"==xe&&void 0===Pe?"".concat(j,"; ").concat(wt):"","\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content {\n ").concat(sn,"\n\t\t\t").concat(mn,"\n ").concat(Wa,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content:hover {\n ").concat(Ya,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .grid-sizer,\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n margin: calc(").concat(Y,"px / 2);\n width: calc(100% / ").concat(ft," - ").concat(Bt,"px);\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content.wide {\n\t\t\tmargin: calc(").concat(Y,"px / 2);\n width: calc(100% *2/ ").concat(ft," - ").concat(Bt,"px);\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-description {\n\t\t\t").concat(it,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(Ue,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action {\n\t\t\t").concat(Fa,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action:hover {\n\t\t\t").concat(za,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-link-wrapper .eb-img-gallery-overlay {\n\t\t\t").concat(yn,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".pro-preset-4 .eb-gallery-link-wrapper::before {\n border-radius: ").concat(pe).concat(ve," ").concat(ye).concat(ve," ").concat(fe).concat(ve," ").concat(he).concat(ve,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container {\n border-radius: ").concat(pe).concat(ve," ").concat(ye).concat(ve," ").concat(fe).concat(ve," ").concat(he).concat(ve,";\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions {\n border-radius: ").concat(pe).concat(ve," 0;\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before {\n top: calc(-").concat(pe,"px * 2);\n height: calc(").concat(pe,"px * 2);\n width: ").concat(pe,"px;\n border-bottom-right-radius: ").concat(pe,"px;\n box-shadow: 0px ").concat(pe,"px 0 0 ").concat(Se,";\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after {\n bottom: 0;\n left: calc(-").concat(pe,"px * 2);\n width: calc(").concat(pe,"px * 2);\n height: ").concat(pe,"px;\n border-bottom-right-radius: ").concat(pe,"px;\n box-shadow: ").concat(pe,"px 0px 0 0 ").concat(Se,";\n }\n\t"),En="\n\t\t.eb-gallery-img-wrapper.".concat(o,".grid .eb-gallery-img-content img {\n\t\t\t").concat("fixed"===H?"\n\t\t\t\t".concat(It,"\n\t\t\t\t").concat(Lt,"\n\t\t\t"):"\n\t\t\t\t".concat(zt,"\n\t\t\t\t").concat(qt,"\n\t\t\t"),"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content img {\n\t\t\t").concat(ba,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content:hover img {\n\t\t\t").concat(ua,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-caption {\n\t\t\t").concat(tt,"\n\t\t\t").concat(rt,"\n\t\t\t").concat(je,"\n ").concat("default"==xe&&void 0===Pe?"".concat(j,"; ").concat(kt):"","\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content {\n ").concat(pn,"\n\t\t\t").concat(un,"\n ").concat(Za,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-content:hover {\n ").concat(Qa,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .grid-sizer,\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content {\n margin: calc(").concat(Q,"px / 2);\n width: calc(100% / ").concat(yt," - ").concat(Tt,"px);\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".enable-isotope .eb-gallery-img-content.wide {\n\t\t\tmargin: calc(").concat(Y,"px / 2);\n width: calc(100% *2/ ").concat(ft," - ").concat(Bt,"px);\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-gallery-img-description {\n\t\t\t").concat(st,"\n\t\t\t").concat(mt,"\n\t\t\t").concat(Ve,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action {\n\t\t\t").concat(ja,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-img-content .eb-img-gallery-action:hover {\n\t\t\t").concat(Ua,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o," .eb-gallery-link-wrapper .eb-img-gallery-overlay {\n\t\t\t").concat(hn,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".pro-preset-4 .eb-gallery-link-wrapper::before {\n border-radius: ").concat(we).concat(Ce," ").concat(Re).concat(Ce," ").concat(ke).concat(Ce," ").concat(_e).concat(Ce,";\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container {\n border-radius: ").concat(we).concat(Ce," ").concat(Re).concat(Ce," ").concat(ke).concat(Ce," ").concat(_e).concat(Ce,";\n\t\t}\n\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions {\n border-radius: ").concat(we).concat(Ce," 0;\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before {\n top: calc(-").concat(we,"px * 2);\n height: calc(").concat(we,"px * 2);\n width: ").concat(we,"px;\n border-bottom-right-radius: ").concat(we,"px;\n box-shadow: 0px ").concat(we,"px 0 0 ").concat(Se,";\n }\n .eb-gallery-img-wrapper.").concat(o,".preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after {\n bottom: 0;\n left: calc(-").concat(we,"px * 2);\n width: calc(").concat(we,"px * 2);\n height: ").concat(we,"px;\n border-bottom-right-radius: ").concat(we,"px;\n box-shadow: ").concat(we,"px 0px 0 0 ").concat(Se,";\n }\n\t"),xn="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-filter-wrapper {\n\t\t\t").concat(Ka,"\n\t\t\ttransition:").concat(rn,";\n\t\t\tbackground-color: ").concat(Be,";\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-wrapper:hover {\n\t\t\t").concat(an,"\n\t\t}\n .eb-parent-").concat(o," .eb-img-gallery-filter-wrapper.preset-4 .is-checked:after {\n background-color: ").concat(W,";\n }\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(ya,"\n\t\t\t").concat(ka,"\n\t\t\t").concat(Ea,"\n\t\t\t").concat(Ta,"\n\t\t\ttransition:").concat(Aa,";\n\t\t\tcolor: ").concat(U,";\n\t\t\tbackground-color: ").concat(G,";\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(Oa,"\n\t\t\tcolor: ").concat(V,";\n\t\t\tbackground-color: ").concat(q,";\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item.is-checked {\n\t\t\tcolor: ").concat(W,";\n\t\t\tbackground-color: ").concat(Z,";\n ").concat(Oa,"\n\t\t}\n\t\t.eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(J,"px / 2);\n width: calc(99.99% / ").concat(gt," - ").concat(St,"px);\n\t\t}\n\t"),Sn="\n .eb-parent-".concat(o," .eb-img-gallery-filter-wrapper {\n\t\t\t").concat(en,"\n\t\t}\n .eb-parent-").concat(o," .eb-img-gallery-filter-wrapper:hover {\n\t\t\t").concat(nn,"\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(ha,"\n\t\t\t").concat(Ra,"\n\t\t\t").concat(xa,"\n\t\t\t").concat(Na,"\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(Ia,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(Y||J,"px / 2);\n width: calc(95% / ").concat(ft," - ").concat(Bt||St,"px);\n\t\t}\n\t"),Bn="\n .eb-parent-".concat(o," .eb-img-gallery-filter-wrapper {\n\t\t\t").concat(tn,"\n\t\t}\n .eb-parent-").concat(o," .eb-img-gallery-filter-wrapper:hover {\n\t\t\t").concat(on,"\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item {\n\t\t\t").concat(va,"\n\t\t\t").concat(_a,"\n\t\t\t").concat(Sa,"\n\t\t\t").concat(Pa,"\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-filter-item:hover {\n\t\t\t").concat(Da,"\n\t\t}\n .eb-gallery-img-wrapper.").concat(o,".eb-filterable-img-gallery .eb-gallery-img-content {\n\t\t\tmargin: calc(").concat(Q||J,"px / 2);\n width: calc(99.99% / ").concat(yt||gt," - ").concat(Tt||St,"px);\n\t\t}\n\t"),Tn="\n\t\t.eb-parent-".concat(o," .eb-img-gallery-loadmore {\n\t\t\tbackground-color: ").concat(X,";\n\t\t}\n\t\t.eb-parent-").concat(o," .eb-img-gallery-loadmore:hover {\n\t\t\tbackground-color: ").concat($,";\n\t\t}\n\t"),Nn="\n .eb-parent-".concat(o," #eb-img-gallery-not-found {\n\t\t\t").concat(Ie,"\n\t\t\tcolor: ").concat(Te,";\n\t\t}\n "),Pn="\n .eb-parent-".concat(o," #eb-img-gallery-not-found {\n\t\t\t").concat(De,"\n\t\t}\n "),On="\n .eb-parent-".concat(o," #eb-img-gallery-not-found {\n\t\t\t").concat(Ae,"\n\t\t}\n "),In=c.EBButton.Style(o,"eb-parent",L,"","eb-img-gallery-loadmore",me,"",T,B),Dn=In.btnDesktopStyle,An=In.btnTabStyle,Mn=In.btnMobileStyle,Ln=(0,c.softMinifyCssStrings)("\n\t\t".concat(wn,"\n\t\t").concat(_n,"\n\t\t").concat(xn,"\n\t\t").concat(Tn,"\n\t\t").concat(Dn,"\n\t\t").concat(Nn,"\n\t")),Fn=(0,c.softMinifyCssStrings)("\n\t\t".concat(kn,"\n\t\t").concat(Cn,"\n\t\t").concat(Sn,"\n\t\t").concat(An,"\n\t\t").concat(Pn,"\n\t")),jn=(0,c.softMinifyCssStrings)("\n\t\t".concat(Rn,"\n\t\t").concat(En,"\n\t\t").concat(Bn,"\n\t\t").concat(Mn,"\n\t\t").concat(On,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(c.StyleComponent,{attributes:n,setAttributes:t,desktopAllStyles:Ln,tabAllStyles:Fn,mobileAllStyles:jn,blockName:a}),React.createElement("style",null,"\n @media (max-width: 1024px) {\n .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry {\n // display: block;\n }\n .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry .eb-gallery-img-content {\n // break-inside: avoid;\n // display: initial;\n }\n .eb-gallery-img-wrapper.eb-filterable-img-gallery.masonry .eb-gallery-img-content img {\n display: block;\n height: auto;\n max-width: 100%;\n box-sizing: border-box;\n }\n }\n "))}function we(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ke(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?we(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):we(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Re=ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke(ke({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},sources:{type:"array",default:[]},imageSize:{type:"string"},selectedImgIndex:{type:"number"},layouts:{type:"string",default:"grid"},displayCaption:{type:"boolean",default:!1},displayDescription:{type:"boolean",default:!1},captionOnHover:{type:"boolean",default:!1},newImage:{type:"string"},captionColor:{type:"string",default:"var(--eb-global-button-text-color)"},captionBGColor:{type:"string",default:"var(--eb-global-secondary-color)"},overlayColor:{type:"string",default:"rgba(0 0 0 / 0.7)"},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},textAlign:{type:"string",default:"center"},styleNumber:{type:"string",default:"0"},overlayStyle:{type:"string",default:"overlay-bottom"},disableLightBox:{type:"boolean",default:!1},addCustomLink:{type:"boolean",default:!1},imageSizeType:{type:"string",default:"fixed"},imageAlignment:{type:"string",default:"flex-start"},enableFilter:{type:"boolean",default:!1},filterItems:{type:"array",default:[{value:"filter-item-1",label:(0,n.__)("Filter Item 1","essential-blocks")}]},enableFilterAll:{type:"boolean",default:!0},filterAllTitle:{type:"string",default:"All"},defaultFilter:{type:"string"},filterColorType:{type:"string",default:"normal"},filterColor:{type:"string",default:"var(--eb-global-text-color)"},filterActColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},filterActBGColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverBGColor:{type:"string",default:"var(--eb-global-primary-color)"},select2Options:{type:"string",default:""},enableIsotope:{type:"boolean",default:!1},disableIsotope:{type:"boolean",default:!1},enableLoadMore:{type:"boolean",default:!1},imagesPerPage:{type:"number",default:1},imagesPerPageCount:{type:"number",default:3},enableInfiniteScroll:{type:"boolean",default:!1},presets:{type:"string",default:"default"},lightboxIcon:{type:"string",default:"fas fa-plus"},linkIcon:{type:"string",default:"fas fa-link"},imageClickable:{type:"boolean",default:!0},descriptionColor:{type:"string",default:"var(--eb-global-button-text-color)"},descriptionBGColor:{type:"string"},iconType:{type:"string",default:"normal"},iconColor:{type:"string",default:"#444F62"},iconHoverColor:{type:"string",default:"#2673FF"},iconBGColor:{type:"string",default:"#ffffff"},iconHoverBGColor:{type:"string",default:""},iconWidth:{type:"number",default:40},iconSize:{type:"number",default:16},contentAlign:{type:"string",default:"center"},contentBGColor:{type:"string",default:"var(--eb-global-secondary-color)"},maskColor:{type:"string",default:"#fff"},filterWrapperBGColor:{type:"string"},enableSearch:{type:"boolean",default:!1},unevenWidth:{type:"boolean",default:!1},notFoundColor:{type:"string",default:"var(--eb-global-text-color)"},notFoundText:{type:"string",default:"Image Not Found! Try Again"},version:{type:"string"},enableEmptyGrid:{type:"boolean",default:!0},cover:{type:"string",default:""}},(0,c.generateTypographyAttributes)(ge,{fontSize:14})),(0,c.generateTypographyAttributes)(de,{fontSize:13})),(0,c.generateTypographyAttributes)(me,{fontSize:16})),(0,c.generateTypographyAttributes)(be,{fontSize:13})),(0,c.generateTypographyAttributes)(ue,{fontSize:13})),(0,c.generateDimensionsAttributes)(b)),(0,c.generateDimensionsAttributes)(d)),(0,c.generateDimensionsAttributes)(y,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,c.generateDimensionsAttributes)(h,{top:5,bottom:5,right:10,left:10,isLinked:!1})),(0,c.generateDimensionsAttributes)(P,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,c.generateDimensionsAttributes)(N,{top:5,bottom:5,right:10,left:10,isLinked:!1})),(0,c.generateBorderShadowAttributes)(m,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,c.generateBorderShadowAttributes)(f,{bdrDefaults:{top:0,bottom:0,right:0,left:0},noShadow:!0})),(0,c.generateBackgroundAttributes)(p,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),(0,c.generateResponsiveRangeAttributes)(u,{defaultRange:3,defaultRangeTAB:2,defaultRangeMOB:1})),(0,c.generateResponsiveRangeAttributes)(g,{defaultRange:10,defaultRangeTAB:10,defaultRangeMOB:10})),(0,c.generateResponsiveRangeAttributes)(v)),(0,c.generateResponsiveRangeAttributes)(k,{defaultRange:300})),(0,c.generateResponsiveRangeAttributes)(w,{defaultRange:100,defaultUnit:"%"})),(0,c.generateResponsiveRangeAttributes)(_)),(0,c.generateResponsiveRangeAttributes)(R,{defaultRange:100,defaultUnit:"%"})),(0,c.generateDimensionsAttributes)(C,{top:0,bottom:0,right:5,left:5,isLinked:!1})),(0,c.generateDimensionsAttributes)(E,{top:5,bottom:5,right:10,left:10,isLinked:!1})),(0,c.generateBorderShadowAttributes)(S)),(0,c.generateBorderShadowAttributes)(x,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,c.generateDimensionsAttributes)(I)),(0,c.generateDimensionsAttributes)(D)),(0,c.generateDimensionsAttributes)(A)),(0,c.generateBorderShadowAttributes)(M)),(0,c.generateBorderShadowAttributes)(O)),null===c.EBButton||void 0===c.EBButton?void 0:c.EBButton.addAttributes(L,"",!0,{key:me,default:{fontSize:16}},!0,"",!0,{key:T,default:{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:0,bottom:0,right:0,left:0,isLinked:!1}}},!0,{key:B,default:{top:14,bottom:14,right:14,left:14,isLinked:!0}}));var _e,Ce,Ee,xe,Se,Be,Te,Ne,Pe,Oe="data:image/svg+xml,%3Csvg width='700' height='700' viewBox='0 0 700 700' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='700' height='700' fill='%23EAEEF9'/%3E%3Cpath d='M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z' fill='%23CAD2DF'/%3E%3C/svg%3E%0A",Ie=[{title:"Bento Gallery",templatePreview:!0,preview:"".concat(null===(_e=EssentialBlocksLocalize)||void 0===_e?void 0:_e.image_url,"/templates/image-gallery/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/image-gallery {"blockId":"eb-image-gallery-5bx7v","blockMeta":{"desktop":".eb-gallery-img-wrapper.eb-image-gallery-5bx7v{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.grid{display:flex;flex-wrap:wrap;justify-content:flex-start;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.grid .eb-gallery-img-content{width:calc((100% / 3) - 16.666666666666668px);box-sizing:border-box;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.masonry .eb-gallery-img-content{margin-bottom:25px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.grid .eb-gallery-img-content img{height:300px;width:100%}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content img{border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-gallery-img-caption{color:#ffffff;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:20px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.caption-style-2 .eb-gallery-link-wrapper:after{background-color:#525A66}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-img-gallery-content{text-align:left;margin:0px;padding:0px;border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content{margin:calc(25px / 2);width:calc(100% / 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content.wide{margin:calc(25px / 2);width:calc(100% *2/ 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-gallery-img-description{color:#ffffff;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:10px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:14px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-img-gallery-action{color:#000000;background-color:#ffffff;font-size:16px;width:40px;height:40px;line-height:40px;border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-img-gallery-action:hover{color:#2673FF}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-link-wrapper:before,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay{background-color:#525A66}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-link-wrapper .eb-img-gallery-overlay{padding:0px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.pro-preset-4 .eb-gallery-link-wrapper::before{background:linear-gradient(to bottom,transparent 0,#525A66 100%);border-radius:0px 0px 0px 0px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:0px 0px 0px 0px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:0px 0;background:#fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-0px * 2);height:calc(0px * 2);width:0px;border-bottom-right-radius:0px;box-shadow:0px 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-0px * 2);width:calc(0px * 2);height:0px;border-bottom-right-radius:0px;box-shadow:0px 0px 0 0 #fff}.eb-parent-eb-image-gallery-5bx7v .eb-img-gallery-filter-wrapper{border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-5bx7v .eb-img-gallery-filter-wrapper.preset-4 .is-checked:after{background-color:#FFFFFF}.eb-parent-eb-image-gallery-5bx7v .eb-img-gallery-filter-item{margin-top:0px;margin-right:10px;margin-left:10px;margin-bottom:0px;padding-top:05px;padding-right:20px;padding-left:20px;padding-bottom:05px;font-size:16px;text-transform:capitalize;border-width:1px;border-color:#A9A9A9;border-style:dashed;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;color:#444F62}.eb-parent-eb-image-gallery-5bx7v .eb-img-gallery-filter-item:hover{border-color:rgba(4,4,4,1);color:#444F62}.eb-parent-eb-image-gallery-5bx7v .eb-img-gallery-filter-item.is-checked{color:#FFFFFF;background-color:#000000;border-color:rgba(4,4,4,1)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(25px / 2);width:calc(99.99% / 3 - 25px)}.eb-parent.eb-image-gallery-5bx7v .eb-button-inner-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:center}.eb-parent.eb-image-gallery-5bx7v .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent-eb-image-gallery-5bx7v .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent.eb-image-gallery-5bx7v .eb-button-anchor.eb-img-gallery-loadmore{background-color:var(\\u002d\\u002deb-global-button-background-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;font-size:16px;text-transform:capitalize;padding:14px;color:var(\\u002d\\u002deb-global-button-text-color);transition:all 0.3s,background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent.eb-image-gallery-5bx7v .eb-button-anchor.eb-img-gallery-loadmore:hover,.eb-parent-eb-image-gallery-5bx7v .eb-button-loadmore.eb-img-gallery-loadmore:hover,.eb-parent.eb-image-gallery-5bx7v .eb-button-loadmore.eb-img-gallery-loadmore:hover{background-color:var(\\u002d\\u002deb-global-tertiary-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;color:var(\\u002d\\u002deb-global-button-text-color)}.eb-parent-eb-image-gallery-5bx7v #eb-img-gallery-not-found{font-size:14px;color:var(\\u002d\\u002deb-global-text-color)}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper{margin-top:0px;margin-right:13px;margin-left:13px;margin-bottom:12px;gap:25px}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .search-wrapper{width:65%;height:55px}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .search-wrapper .searchIcon{stroke:#A1A8B3}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-search-gallery-input{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-search-gallery-input:hover{border-radius:4px}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .filter-wrapper{width:calc(100% - 65%);height:55px}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .filter-wrapper button .filterIcon path,.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .filter-wrapper button .filterArrowIcon path{stroke:#444F62}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .filter-wrapper button{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .filter-wrapper button:hover{border-radius:4px}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-img-gallery-filter-wrapper{background-color:#fff;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-img-gallery-filter-item{color:#444F62;background-color:#fff;font-size:16px;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-img-gallery-filter-item:hover{border-radius:4px;color:#444F62;background-color:#F5F8FF}.eb-parent-eb-image-gallery-5bx7v .search-filter-wrappper .eb-img-gallery-filter-item.is-checked{color:#444F62;background-color:#F5F8FF;border-radius:4px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v .eb-gallery-img-content .eb-gallery-img-shadow{background:#C2D0FF}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup.pro-preset-5.eb-popup-open{background:#f9f9f9}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup.pro-preset-6 .content__reveal{background:#000}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup.pro-preset-6 .eb-popup-item{background:#f9f9f9}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-heading{color:#000;font-size:50px;margin-bottom:20px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-text{color:#000;font-size:24px;margin-bottom:20px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-link{color:#000;font-size:20px;margin-bottom:30px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .action{width:50px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup.pro-preset-5 .action svg{stroke:#000}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup.pro-preset-6 .action path{fill:#000}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-gallery-img{border-radius:0px 0px 0px 0px}","tab":".eb-gallery-img-wrapper.eb-image-gallery-5bx7v.grid .eb-gallery-img-content{width:calc((100% / 2) - 5px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(95% / 2 - 10px)}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .action{width:30px}","mobile":".eb-gallery-img-wrapper.eb-image-gallery-5bx7v.grid .eb-gallery-img-content{width:calc((100% / 1) - 0px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 1 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-5bx7v.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(99.99% / 1 - 10px)}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-5bx7v #eb-image-gallery-5bx7v-popup .action{width:30px}"},"sources":[{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Double Exposure","content":"Create surreal, artistic effect in frames","id":1,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Golden Hour Tone","content":"Light is soft, warm, and ideal to capture ","id":2},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Perspective Playing","content":"Alter angles, viewpoints for compositions","id":3,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Candid Moments","content":"Instant shots of live objects\' inner beauty","id":4},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Rule of Thirds","content":"Place your key elements along the lines","id":5,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Depth of Field","content":"Range of distance in a photo to emphasize","id":6,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Shutter Speed","content":"Length of time shutter remains open","id":7},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Retro Vibes","content":"Refer to a nostalgic style that mimics","id":8,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Minimalist Shot","content":"Focuses on simplicity, clean compositions","id":9}],"displayCaption":true,"displayDescription":true,"captionColor":"#ffffff","captionBGColor":"","overlayColor":"#525A66","addCustomLink":true,"enableFilter":true,"defaultFilter":"*","filterColor":"#444F62","filterActColor":"#FFFFFF","filterHoverColor":"#444F62","filterBGColor":"","filterActBGColor":"#000000","filterHoverBGColor":"","presets":"preset-2","descriptionColor":"#ffffff","descriptionBGColor":"","iconColor":"#000000","iconSize":16,"contentAlign":"left","contentBGColor":"","filterWrapperBGColor":"","version":"v2","filterTypoTextTransform":"capitalize","captionTypoFontSize":20,"descTypoFontSize":14,"captionPaddingTop":"0","captionPaddingRight":"0","captionPaddingBottom":"0","captionPaddingLeft":"0","descPaddingTop":"10","descPaddingRight":"0","descPaddingBottom":"0","descPaddingLeft":"0","imgBorderShadowRds_Top":"0","imgBorderShadowRds_Right":"0","imgBorderShadowRds_Bottom":"0","imgBorderShadowRds_Left":"0","imageGapRange":25,"filterMarginRight":"10","filterMarginLeft":"10","filterPaddingTop":"05","filterPaddingRight":"20","filterPaddingBottom":"05","filterPaddingLeft":"20","filterWrapBSRds_Top":"0","filterWrapBSRds_Right":"0","filterWrapBSRds_Bottom":"0","filterWrapBSRds_Left":"0","filterBorderShadowborderColor":"#A9A9A9","filterBorderShadowborderStyle":"dashed","filterBorderShadowBdr_Top":"1","filterBorderShadowBdr_Right":"1","filterBorderShadowBdr_Bottom":"1","filterBorderShadowBdr_Left":"1","filterBorderShadowHborderColor":"rgba(4,4,4,1)","filterBorderShadowHborderStyle":"dashed","filterBorderShadowRds_Top":"4","filterBorderShadowRds_Right":"4","filterBorderShadowRds_Bottom":"4","filterBorderShadowRds_Left":"4","overlayPaddingTop":"0","overlayPaddingRight":"0","overlayPaddingBottom":"0","overlayPaddingLeft":"0","contentMarginTop":"0","contentMarginRight":"0","contentMarginBottom":"0","contentMarginLeft":"0","contentPaddingTop":"0","contentPaddingRight":"0","contentPaddingBottom":"0","contentPaddingLeft":"0","contentBorderShadowRds_Top":"0","contentBorderShadowRds_Right":"0","contentBorderShadowRds_Bottom":"0","contentBorderShadowRds_Left":"0","iconBorderShadowRds_Top":"0","iconBorderShadowRds_Right":"0","iconBorderShadowRds_Bottom":"0","iconBorderShadowRds_Left":"0","loadmoreBtnText":"Load More","commonStyles":{"desktop":".eb-parent-eb-image-gallery-5bx7v{display:block}.root-eb-image-gallery-5bx7v{position:relative}","tab":".eb-parent-eb-image-gallery-5bx7v{display:block}","mobile":".eb-parent-eb-image-gallery-5bx7v{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-image-gallery root-eb-image-gallery-5bx7v"><div class="eb-parent-wrapper eb-parent-eb-image-gallery-5bx7v "><ul class="eb-img-gallery-filter-wrapper filter-wrapper-eb-image-gallery-5bx7v preset-2" data-id="eb-image-gallery-5bx7v"><li class="eb-img-gallery-filter-item" data-filter="*" data-id="eb-image-gallery-5bx7v">All</li><li class="eb-img-gallery-filter-item" data-filter=".eb-filter-img-filter-item-1" data-id="eb-image-gallery-5bx7v">Filter Item 1</li></ul><div class="eb-gallery-img-wrapper eb-image-gallery-5bx7v preset-2 v2 grid null enable-isotope eb-filterable-img-gallery " data-id="eb-image-gallery-5bx7v" data-default-filter="*" data-searchfilter="false"><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="1"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Double Exposure</div><div class="eb-gallery-img-description">Create surreal, artistic effect in frames</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="2"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Golden Hour Tone</div><div class="eb-gallery-img-description">Light is soft, warm, and ideal to capture </div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="3"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Perspective Playing</div><div class="eb-gallery-img-description">Alter angles, viewpoints for compositions</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="4"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Candid Moments</div><div class="eb-gallery-img-description">Instant shots of live objects\' inner beauty</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="5"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Rule of Thirds</div><div class="eb-gallery-img-description">Place your key elements along the lines</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="6"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Depth of Field</div><div class="eb-gallery-img-description">Range of distance in a photo to emphasize</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="7"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Shutter Speed</div><div class="eb-gallery-img-description">Length of time shutter remains open</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="8"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Retro Vibes</div><div class="eb-gallery-img-description">Refer to a nostalgic style that mimics</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="9"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Minimalist Shot</div><div class="eb-gallery-img-description">Focuses on simplicity, clean compositions</div></div></div></div></div></div><div id="eb-img-gallery-not-found"><svg width="72" height="73" viewBox="0 0 72 73" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" fill="url(#paint0_linear_2906_31)"></rect><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" stroke="white" stroke-width="3.28107"></rect><path d="M49.3953 27.2499C49.3953 29.716 47.3962 31.7151 44.9302 31.7151C42.4642 31.7151 40.4651 29.716 40.4651 27.2499C40.4651 24.7839 42.4642 22.7848 44.9302 22.7848C47.3962 22.7848 49.3953 24.7839 49.3953 27.2499Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M35.8719 12.1802H36.1281C41.2817 12.1801 45.3205 12.1801 48.4717 12.6038C51.6972 13.0374 54.2423 13.9424 56.2401 15.9401C58.2378 17.9378 59.1427 20.483 59.5764 23.7084C60 26.8597 60 30.8985 60 36.0521V36.2492C60 40.5107 60 43.9992 59.7686 46.8396C59.536 49.694 59.0594 52.0792 57.9927 54.0601C57.5222 54.9339 56.944 55.7163 56.2401 56.4202C54.2423 58.418 51.6972 59.3229 48.4717 59.7566C45.3205 60.1802 41.2817 60.1802 36.1281 60.1802H35.8719C30.7183 60.1802 26.6795 60.1802 23.5283 59.7566C20.3028 59.3229 17.7576 58.418 15.7599 56.4202C13.9889 54.6492 13.0743 52.4449 12.5879 49.7104C12.1102 47.0243 12.0228 43.6823 12.0046 39.5323C12 38.4767 12 37.3603 12 36.1824V36.0521C12 30.8985 12 26.8597 12.4236 23.7084C12.8573 20.483 13.7622 17.9378 15.7599 15.9401C17.7576 13.9424 20.3028 13.0374 23.5283 12.6038C26.6795 12.1801 30.7183 12.1801 35.8719 12.1802ZM23.9745 15.9228C21.1204 16.3065 19.3997 17.0363 18.1279 18.3081C16.8561 19.5799 16.1263 21.3006 15.7426 24.1547C15.3524 27.057 15.3488 30.8707 15.3488 36.1802C15.3488 36.8288 15.3488 37.456 15.3496 38.0633L17.5847 36.1076C19.6192 34.3275 22.6854 34.4296 24.5969 36.3411L34.174 45.9182C35.7083 47.4525 38.1235 47.6617 39.8987 46.4141L40.5644 45.9462C43.119 44.1509 46.5752 44.3589 48.8961 46.4476L55.2152 52.1348C55.8513 50.799 56.229 49.0438 56.4308 46.5676C56.6499 43.8786 56.6512 40.5244 56.6512 36.1802C56.6512 30.8707 56.6476 27.057 56.2574 24.1547C55.8737 21.3006 55.1439 19.5799 53.8721 18.3081C52.6003 17.0363 50.8796 16.3065 48.0255 15.9228C45.1232 15.5326 41.3095 15.529 36 15.529C30.6905 15.529 26.8768 15.5326 23.9745 15.9228Z" fill="white"></path><defs><linearGradient id="paint0_linear_2906_31" x1="50.8401" y1="5.70096" x2="36" y2="72.1802" gradientUnits="userSpaceOnUse"><stop stop-color="#D8E1ED"></stop><stop offset="1" stop-color="#C0CAD8"></stop></linearGradient></defs></svg><p>Image Not Found! Try Again</p></div></div></div>\n\x3c!-- /wp:essential-blocks/image-gallery --\x3e'},{title:"Flipbook Gallery",templatePreview:!0,preview:"".concat(null===(Ce=EssentialBlocksLocalize)||void 0===Ce?void 0:Ce.image_url,"/templates/image-gallery/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/image-gallery {"blockId":"eb-image-gallery-yop8d","blockMeta":{"desktop":".eb-gallery-img-wrapper.eb-image-gallery-yop8d{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.grid{display:flex;flex-wrap:wrap;justify-content:flex-start;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.grid .eb-gallery-img-content{width:calc((100% / 3) - 16.666666666666668px);box-sizing:border-box;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.masonry .eb-gallery-img-content{margin-bottom:25px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.grid .eb-gallery-img-content img{height:300px;width:100%}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content img{border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-gallery-img-caption{color:#ffffff;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:18px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.caption-style-2 .eb-gallery-link-wrapper:after{background-color:#525A66}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-img-gallery-content{text-align:left;margin:0px;padding:0px;border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content{margin:calc(25px / 2);width:calc(100% / 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content.wide{margin:calc(25px / 2);width:calc(100% *2/ 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-gallery-img-description{color:#ffffff;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:10px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:14px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-img-gallery-action{color:#ffffff;background-color:#525A66;font-size:16px;width:40px;height:40px;line-height:40px;border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-img-gallery-action:hover{color:#2673FF}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-link-wrapper:before,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay{background-color:#525A66}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-link-wrapper .eb-img-gallery-overlay{padding:24px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.pro-preset-4 .eb-gallery-link-wrapper::before{background:linear-gradient(to bottom,transparent 0,#525A66 100%);border-radius:8px 8px 8px 8px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:8px 8px 8px 8px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:8px 0;background:#fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-8px * 2);height:calc(8px * 2);width:8px;border-bottom-right-radius:8px;box-shadow:0px 8px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-8px * 2);width:calc(8px * 2);height:8px;border-bottom-right-radius:8px;box-shadow:8px 0px 0 0 #fff}.eb-parent-eb-image-gallery-yop8d .eb-img-gallery-filter-wrapper{border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-yop8d .eb-img-gallery-filter-wrapper.preset-4 .is-checked:after{background-color:#FFFFFF}.eb-parent-eb-image-gallery-yop8d .eb-img-gallery-filter-item{margin-top:0px;margin-right:10px;margin-left:10px;margin-bottom:0px;padding-top:05px;padding-right:20px;padding-left:20px;padding-bottom:05px;font-size:16px;text-transform:capitalize;border-width:1px;border-color:#A9A9A9;border-style:solid;border-radius:20px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;color:#444F62}.eb-parent-eb-image-gallery-yop8d .eb-img-gallery-filter-item:hover{border-color:#606977;color:#444F62}.eb-parent-eb-image-gallery-yop8d .eb-img-gallery-filter-item.is-checked{color:#FFFFFF;background-color:#606977;border-color:#606977}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(25px / 2);width:calc(99.99% / 3 - 25px)}.eb-parent.eb-image-gallery-yop8d .eb-button-inner-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:center}.eb-parent.eb-image-gallery-yop8d .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent-eb-image-gallery-yop8d .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent.eb-image-gallery-yop8d .eb-button-anchor.eb-img-gallery-loadmore{background-color:var(\\u002d\\u002deb-global-button-background-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;font-size:16px;text-transform:capitalize;padding:14px;color:var(\\u002d\\u002deb-global-button-text-color);transition:all 0.3s,background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent.eb-image-gallery-yop8d .eb-button-anchor.eb-img-gallery-loadmore:hover,.eb-parent-eb-image-gallery-yop8d .eb-button-loadmore.eb-img-gallery-loadmore:hover,.eb-parent.eb-image-gallery-yop8d .eb-button-loadmore.eb-img-gallery-loadmore:hover{background-color:var(\\u002d\\u002deb-global-tertiary-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;color:var(\\u002d\\u002deb-global-button-text-color)}.eb-parent-eb-image-gallery-yop8d #eb-img-gallery-not-found{font-size:14px;color:var(\\u002d\\u002deb-global-text-color)}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper{margin-top:0px;margin-right:13px;margin-left:13px;margin-bottom:12px;gap:25px}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .search-wrapper{width:65%;height:55px}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .search-wrapper .searchIcon{stroke:#A1A8B3}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-search-gallery-input{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-search-gallery-input:hover{border-radius:4px}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .filter-wrapper{width:calc(100% - 65%);height:55px}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .filter-wrapper button .filterIcon path,.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .filter-wrapper button .filterArrowIcon path{stroke:#444F62}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .filter-wrapper button{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .filter-wrapper button:hover{border-radius:4px}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-img-gallery-filter-wrapper{background-color:#fff;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-img-gallery-filter-item{color:#444F62;background-color:#fff;font-size:16px;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-img-gallery-filter-item:hover{border-radius:4px;color:#444F62;background-color:#F5F8FF}.eb-parent-eb-image-gallery-yop8d .search-filter-wrappper .eb-img-gallery-filter-item.is-checked{color:#444F62;background-color:#F5F8FF;border-radius:4px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d .eb-gallery-img-content .eb-gallery-img-shadow{background:#C2D0FF}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup.pro-preset-5.eb-popup-open{background:#f9f9f9}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup.pro-preset-6 .content__reveal{background:#000}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup.pro-preset-6 .eb-popup-item{background:#f9f9f9}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-heading{color:#000;font-size:50px;margin-bottom:20px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-text{color:#000;font-size:24px;margin-bottom:20px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-link{color:#000;font-size:20px;margin-bottom:30px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .action{width:50px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup.pro-preset-5 .action svg{stroke:#000}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup.pro-preset-6 .action path{fill:#000}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-gallery-img{border-radius:8px 8px 8px 8px}","tab":".eb-gallery-img-wrapper.eb-image-gallery-yop8d.grid .eb-gallery-img-content{width:calc((100% / 2) - 5px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(95% / 2 - 10px)}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .action{width:30px}","mobile":".eb-gallery-img-wrapper.eb-image-gallery-yop8d.grid .eb-gallery-img-content{width:calc((100% / 1) - 0px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 1 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-yop8d.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(99.99% / 1 - 10px)}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-yop8d #eb-image-gallery-yop8d-popup .action{width:30px}"},"sources":[{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Double Exposure","content":"Create surreal, artistic effect in frames","id":1,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Golden Hour Tone","content":"Light is soft, warm, and ideal to capture ","id":2},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Perspective Playing","content":"Alter angles, viewpoints for compositions","id":3,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Candid Moments","content":"Instant shots of live objects\' inner beauty","id":4},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Rule of Thirds","content":"Place your key elements along the lines","id":5,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Depth of Field","content":"Range of distance in a photo to emphasize","id":6,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Shutter Speed","content":"Length of time shutter remains open","id":7},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Retro Vibes","content":"Refer to a nostalgic style that mimics","id":8,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Minimalist Shot","content":"Focuses on simplicity, clean compositions","id":9}],"displayCaption":true,"displayDescription":true,"captionColor":"#ffffff","captionBGColor":"","overlayColor":"#525A66","addCustomLink":true,"enableFilter":true,"defaultFilter":"*","filterColor":"#444F62","filterActColor":"#FFFFFF","filterHoverColor":"#444F62","filterBGColor":"","filterActBGColor":"#606977","filterHoverBGColor":"","presets":"preset-3","descriptionColor":"#ffffff","descriptionBGColor":"","iconColor":"#ffffff","iconBGColor":"#525A66","iconSize":16,"contentAlign":"left","contentBGColor":"","filterWrapperBGColor":"","version":"v2","filterTypoTextTransform":"capitalize","captionTypoFontSize":18,"descTypoFontSize":14,"captionPaddingTop":"0","captionPaddingRight":"0","captionPaddingBottom":"0","captionPaddingLeft":"0","descPaddingTop":"10","descPaddingRight":"0","descPaddingBottom":"0","descPaddingLeft":"0","imgBorderShadowRds_Top":"8","imgBorderShadowRds_Right":"8","imgBorderShadowRds_Bottom":"8","imgBorderShadowRds_Left":"8","imageGapRange":25,"filterMarginRight":"10","filterMarginLeft":"10","filterPaddingTop":"05","filterPaddingRight":"20","filterPaddingBottom":"05","filterPaddingLeft":"20","filterWrapBSRds_Top":"0","filterWrapBSRds_Right":"0","filterWrapBSRds_Bottom":"0","filterWrapBSRds_Left":"0","filterBorderShadowborderColor":"#A9A9A9","filterBorderShadowborderStyle":"solid","filterBorderShadowBdr_Top":"1","filterBorderShadowBdr_Right":"1","filterBorderShadowBdr_Bottom":"1","filterBorderShadowBdr_Left":"1","filterBorderShadowHborderColor":"#606977","filterBorderShadowHborderStyle":"solid","filterBorderShadowRds_Top":"20","filterBorderShadowRds_Right":"20","filterBorderShadowRds_Bottom":"20","filterBorderShadowRds_Left":"20","overlayPaddingTop":"24","overlayPaddingRight":"24","overlayPaddingBottom":"24","overlayPaddingLeft":"24","contentMarginTop":"0","contentMarginRight":"0","contentMarginBottom":"0","contentMarginLeft":"0","contentPaddingTop":"0","contentPaddingRight":"0","contentPaddingBottom":"0","contentPaddingLeft":"0","contentBorderShadowRds_Top":"0","contentBorderShadowRds_Right":"0","contentBorderShadowRds_Bottom":"0","contentBorderShadowRds_Left":"0","iconBorderShadowRds_Top":"8","iconBorderShadowRds_Right":"8","iconBorderShadowRds_Bottom":"8","iconBorderShadowRds_Left":"8","loadmoreBtnText":"Load More","commonStyles":{"desktop":".eb-parent-eb-image-gallery-yop8d{display:block}.root-eb-image-gallery-yop8d{position:relative}","tab":".eb-parent-eb-image-gallery-yop8d{display:block}","mobile":".eb-parent-eb-image-gallery-yop8d{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-image-gallery root-eb-image-gallery-yop8d"><div class="eb-parent-wrapper eb-parent-eb-image-gallery-yop8d "><ul class="eb-img-gallery-filter-wrapper filter-wrapper-eb-image-gallery-yop8d preset-3" data-id="eb-image-gallery-yop8d"><li class="eb-img-gallery-filter-item" data-filter="*" data-id="eb-image-gallery-yop8d">All</li><li class="eb-img-gallery-filter-item" data-filter=".eb-filter-img-filter-item-1" data-id="eb-image-gallery-yop8d">Filter Item 1</li></ul><div class="eb-gallery-img-wrapper eb-image-gallery-yop8d preset-3 v2 grid null enable-isotope eb-filterable-img-gallery " data-id="eb-image-gallery-yop8d" data-default-filter="*" data-searchfilter="false"><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="1"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Double Exposure</div><div class="eb-gallery-img-description">Create surreal, artistic effect in frames</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="2"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Golden Hour Tone</div><div class="eb-gallery-img-description">Light is soft, warm, and ideal to capture </div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="3"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Perspective Playing</div><div class="eb-gallery-img-description">Alter angles, viewpoints for compositions</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="4"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Candid Moments</div><div class="eb-gallery-img-description">Instant shots of live objects\' inner beauty</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="5"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Rule of Thirds</div><div class="eb-gallery-img-description">Place your key elements along the lines</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="6"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Depth of Field</div><div class="eb-gallery-img-description">Range of distance in a photo to emphasize</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="7"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Shutter Speed</div><div class="eb-gallery-img-description">Length of time shutter remains open</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="8"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Retro Vibes</div><div class="eb-gallery-img-description">Refer to a nostalgic style that mimics</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><div class="eb-gallery-img-container"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="9"/><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div></div><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Minimalist Shot</div><div class="eb-gallery-img-description">Focuses on simplicity, clean compositions</div></div></div></div></div></div><div id="eb-img-gallery-not-found"><svg width="72" height="73" viewBox="0 0 72 73" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" fill="url(#paint0_linear_2906_31)"></rect><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" stroke="white" stroke-width="3.28107"></rect><path d="M49.3953 27.2499C49.3953 29.716 47.3962 31.7151 44.9302 31.7151C42.4642 31.7151 40.4651 29.716 40.4651 27.2499C40.4651 24.7839 42.4642 22.7848 44.9302 22.7848C47.3962 22.7848 49.3953 24.7839 49.3953 27.2499Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M35.8719 12.1802H36.1281C41.2817 12.1801 45.3205 12.1801 48.4717 12.6038C51.6972 13.0374 54.2423 13.9424 56.2401 15.9401C58.2378 17.9378 59.1427 20.483 59.5764 23.7084C60 26.8597 60 30.8985 60 36.0521V36.2492C60 40.5107 60 43.9992 59.7686 46.8396C59.536 49.694 59.0594 52.0792 57.9927 54.0601C57.5222 54.9339 56.944 55.7163 56.2401 56.4202C54.2423 58.418 51.6972 59.3229 48.4717 59.7566C45.3205 60.1802 41.2817 60.1802 36.1281 60.1802H35.8719C30.7183 60.1802 26.6795 60.1802 23.5283 59.7566C20.3028 59.3229 17.7576 58.418 15.7599 56.4202C13.9889 54.6492 13.0743 52.4449 12.5879 49.7104C12.1102 47.0243 12.0228 43.6823 12.0046 39.5323C12 38.4767 12 37.3603 12 36.1824V36.0521C12 30.8985 12 26.8597 12.4236 23.7084C12.8573 20.483 13.7622 17.9378 15.7599 15.9401C17.7576 13.9424 20.3028 13.0374 23.5283 12.6038C26.6795 12.1801 30.7183 12.1801 35.8719 12.1802ZM23.9745 15.9228C21.1204 16.3065 19.3997 17.0363 18.1279 18.3081C16.8561 19.5799 16.1263 21.3006 15.7426 24.1547C15.3524 27.057 15.3488 30.8707 15.3488 36.1802C15.3488 36.8288 15.3488 37.456 15.3496 38.0633L17.5847 36.1076C19.6192 34.3275 22.6854 34.4296 24.5969 36.3411L34.174 45.9182C35.7083 47.4525 38.1235 47.6617 39.8987 46.4141L40.5644 45.9462C43.119 44.1509 46.5752 44.3589 48.8961 46.4476L55.2152 52.1348C55.8513 50.799 56.229 49.0438 56.4308 46.5676C56.6499 43.8786 56.6512 40.5244 56.6512 36.1802C56.6512 30.8707 56.6476 27.057 56.2574 24.1547C55.8737 21.3006 55.1439 19.5799 53.8721 18.3081C52.6003 17.0363 50.8796 16.3065 48.0255 15.9228C45.1232 15.5326 41.3095 15.529 36 15.529C30.6905 15.529 26.8768 15.5326 23.9745 15.9228Z" fill="white"></path><defs><linearGradient id="paint0_linear_2906_31" x1="50.8401" y1="5.70096" x2="36" y2="72.1802" gradientUnits="userSpaceOnUse"><stop stop-color="#D8E1ED"></stop><stop offset="1" stop-color="#C0CAD8"></stop></linearGradient></defs></svg><p>Image Not Found! Try Again</p></div></div></div>\n\x3c!-- /wp:essential-blocks/image-gallery --\x3e'},{title:"Mosaic Gallery",templatePreview:!0,preview:"".concat(null===(Ee=EssentialBlocksLocalize)||void 0===Ee?void 0:Ee.image_url,"/templates/image-gallery/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/image-gallery {"blockId":"eb-image-gallery-ww8gl","blockMeta":{"desktop":".eb-gallery-img-wrapper.eb-image-gallery-ww8gl{transition:background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.grid{display:flex;flex-wrap:wrap;justify-content:flex-start;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.grid .eb-gallery-img-content{width:calc((100% / 3) - 16.666666666666668px);box-sizing:border-box;min-width:1px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.masonry .eb-gallery-img-content{margin-bottom:25px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.grid .eb-gallery-img-content img{height:300px;width:100%}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content img{border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-gallery-img-caption{color:#2D323A;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:20px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-img-gallery-content{background:#fff;text-align:left;margin:0px;padding:16px;border-width:1px;border-color:#DAE0EE;border-style:solid;border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content{margin:calc(25px / 2);width:calc(100% / 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content.wide{margin:calc(25px / 2);width:calc(100% *2/ 3 - 25px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-gallery-img-description{color:#7F8794;margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:10px;padding-right:0px;padding-left:0px;padding-bottom:0px;font-size:14px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-img-gallery-action{color:#444F62;background-color:#ffffff;font-size:16px;width:40px;height:40px;line-height:40px;border-width:1px;border-color:#DAE0EE;border-style:solid;border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-img-gallery-action:hover{color:#2673FF}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-link-wrapper .eb-img-gallery-overlay{padding:24px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.pro-preset-4 .eb-gallery-link-wrapper::before{background:linear-gradient(to bottom,transparent 0,100%);border-radius:8px 8px 8px 8px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:8px 8px 8px 8px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:8px 0;background:#fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-8px * 2);height:calc(8px * 2);width:8px;border-bottom-right-radius:8px;box-shadow:0px 8px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-8px * 2);width:calc(8px * 2);height:8px;border-bottom-right-radius:8px;box-shadow:8px 0px 0 0 #fff}.eb-parent-eb-image-gallery-ww8gl .eb-img-gallery-filter-wrapper{border-width:5px;border-color:#EFF2F9;border-style:solid;border-radius:8px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;background-color:#EFF2F9}.eb-parent-eb-image-gallery-ww8gl .eb-img-gallery-filter-wrapper.preset-4 .is-checked:after{background-color:#2D323A}.eb-parent-eb-image-gallery-ww8gl .eb-img-gallery-filter-item{margin-top:0px;margin-right:0px;margin-left:0px;margin-bottom:0px;padding-top:15px;padding-right:22px;padding-left:22px;padding-bottom:15px;font-size:16px;text-transform:capitalize;border-radius:0px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s;color:#444F62}.eb-parent-eb-image-gallery-ww8gl .eb-img-gallery-filter-item:hover{color:#2D323A}.eb-parent-eb-image-gallery-ww8gl .eb-img-gallery-filter-item.is-checked{color:#2D323A}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(25px / 2);width:calc(99.99% / 3 - 25px)}.eb-parent.eb-image-gallery-ww8gl .eb-button-inner-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:center}.eb-parent.eb-image-gallery-ww8gl .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent-eb-image-gallery-ww8gl .eb-button-loadmore.eb-img-gallery-loadmore,.eb-parent.eb-image-gallery-ww8gl .eb-button-anchor.eb-img-gallery-loadmore{background-color:var(\\u002d\\u002deb-global-button-background-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;font-size:16px;text-transform:capitalize;padding:14px;color:var(\\u002d\\u002deb-global-button-text-color);transition:all 0.3s,background 0.5s,border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent.eb-image-gallery-ww8gl .eb-button-anchor.eb-img-gallery-loadmore:hover,.eb-parent-eb-image-gallery-ww8gl .eb-button-loadmore.eb-img-gallery-loadmore:hover,.eb-parent.eb-image-gallery-ww8gl .eb-button-loadmore.eb-img-gallery-loadmore:hover{background-color:var(\\u002d\\u002deb-global-tertiary-color);border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;color:var(\\u002d\\u002deb-global-button-text-color)}.eb-parent-eb-image-gallery-ww8gl #eb-img-gallery-not-found{font-size:14px;color:var(\\u002d\\u002deb-global-text-color)}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper{margin-top:0px;margin-right:13px;margin-left:13px;margin-bottom:12px;gap:25px}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .search-wrapper{width:65%;height:55px}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .search-wrapper .searchIcon{stroke:#A1A8B3}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-search-gallery-input{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-search-gallery-input:hover{border-radius:4px}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .filter-wrapper{width:calc(100% - 65%);height:55px}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .filter-wrapper button .filterIcon path,.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .filter-wrapper button .filterArrowIcon path{stroke:#444F62}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .filter-wrapper button{color:#444F62;background-color:#fff;font-size:16px;border-width:1px;border-color:#D4DBE5;border-style:solid;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .filter-wrapper button:hover{border-radius:4px}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-img-gallery-filter-wrapper{background-color:#fff;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-img-gallery-filter-item{color:#444F62;background-color:#fff;font-size:16px;border-radius:4px;transition:border 0.5s,border-radius 0.5s,box-shadow 0.5s}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-img-gallery-filter-item:hover{border-radius:4px;color:#444F62;background-color:#F5F8FF}.eb-parent-eb-image-gallery-ww8gl .search-filter-wrappper .eb-img-gallery-filter-item.is-checked{color:#444F62;background-color:#F5F8FF;border-radius:4px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl .eb-gallery-img-content .eb-gallery-img-shadow{background:#C2D0FF}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup.pro-preset-5.eb-popup-open{background:#f9f9f9}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup.pro-preset-6 .content__reveal{background:#000}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup.pro-preset-6 .eb-popup-item{background:#f9f9f9}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-heading{color:#000;font-size:50px;margin-bottom:20px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-text{color:#000;font-size:24px;margin-bottom:20px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-link{color:#000;font-size:20px;margin-bottom:30px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .action{width:50px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup.pro-preset-5 .action svg{stroke:#000}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup.pro-preset-6 .action path{fill:#000}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-gallery-img{border-radius:8px 8px 8px 8px}","tab":".eb-gallery-img-wrapper.eb-image-gallery-ww8gl.grid .eb-gallery-img-content{width:calc((100% / 2) - 5px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(95% / 2 - 10px)}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .action{width:30px}","mobile":".eb-gallery-img-wrapper.eb-image-gallery-ww8gl.grid .eb-gallery-img-content{width:calc((100% / 1) - 0px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.masonry .eb-gallery-img-content{margin-bottom:10px}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .grid-sizer,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content{margin:calc(10px / 2);width:calc(100% / 1 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.enable-isotope .eb-gallery-img-content.wide{margin:calc(10px / 2);width:calc(100% *2/ 2 - 10px)}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.pro-preset-4 .eb-gallery-link-wrapper::before{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-overlay,.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-gallery-img-container{border-radius:undefinedpx undefinedpx undefinedpx undefinedpx}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions{border-radius:undefinedpx 0}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::before{top:calc(-undefinedpx * 2);height:calc(undefinedpx * 2);box-shadow:0px undefinedpx 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.preset-3 .eb-gallery-link-wrapper .eb-img-gallery-actions::after{bottom:0;left:calc(-undefinedpx * 2);width:calc(undefinedpx * 2);box-shadow:undefinedpx 0px 0 0 #fff}.eb-gallery-img-wrapper.eb-image-gallery-ww8gl.eb-filterable-img-gallery .eb-gallery-img-content{margin:calc(10px / 2);width:calc(99.99% / 1 - 10px)}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-heading{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-text{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .eb-popup-item-link{margin-bottom:10px}.eb-parent-eb-image-gallery-ww8gl #eb-image-gallery-ww8gl-popup .action{width:30px}"},"sources":[{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Double Exposure","content":"Create surreal, artistic effect in frames","id":1,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Golden Hour Tone","content":"Light is soft, warm, and ideal to capture ","id":2},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Perspective Playing","content":"Alter angles, viewpoints for compositions","id":3,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Candid Moments","content":"Instant shots of live objects\' inner beauty","id":4},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Rule of Thirds","content":"Place your key elements along the lines","id":5,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Depth of Field","content":"Range of distance in a photo to emphasize","id":6,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Shutter Speed","content":"Length of time shutter remains open","id":7},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Retro Vibes","content":"Refer to a nostalgic style that mimics","id":8,"filter":"[{\\u0022value\\u0022:\\u0022filter-item-1\\u0022,\\u0022label\\u0022:\\u0022Filter Item 1\\u0022}]"},{"url":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","caption":"Minimalist Shot","content":"Focuses on simplicity, clean compositions","id":9}],"displayCaption":true,"displayDescription":true,"captionColor":"#2D323A","captionBGColor":"","overlayColor":"","addCustomLink":true,"enableFilter":true,"defaultFilter":"*","filterColor":"#444F62","filterActColor":"#2D323A","filterHoverColor":"#2D323A","filterBGColor":"","filterActBGColor":"","filterHoverBGColor":"","presets":"preset-4","descriptionColor":"#7F8794","descriptionBGColor":"","iconSize":16,"contentAlign":"left","contentBGColor":"#fff","filterWrapperBGColor":"#EFF2F9","version":"v2","filterTypoTextTransform":"capitalize","captionTypoFontSize":20,"descTypoFontSize":14,"captionPaddingTop":"0","captionPaddingRight":"0","captionPaddingBottom":"0","captionPaddingLeft":"0","descPaddingTop":"10","descPaddingRight":"0","descPaddingBottom":"0","descPaddingLeft":"0","imgBorderShadowRds_Top":"8","imgBorderShadowRds_Right":"8","imgBorderShadowRds_Bottom":"8","imgBorderShadowRds_Left":"8","imageGapRange":25,"filterMarginRight":"0","filterMarginLeft":"0","filterPaddingTop":"15","filterPaddingRight":"22","filterPaddingBottom":"15","filterPaddingLeft":"22","filterWrapBSborderColor":"#EFF2F9","filterWrapBSborderStyle":"solid","filterWrapBSBdr_Top":"5","filterWrapBSBdr_Right":"5","filterWrapBSBdr_Bottom":"5","filterWrapBSBdr_Left":"5","filterWrapBSRds_Top":"8","filterWrapBSRds_Right":"8","filterWrapBSRds_Bottom":"8","filterWrapBSRds_Left":"8","filterBorderShadowRds_Top":"0","filterBorderShadowRds_Right":"0","filterBorderShadowRds_Bottom":"0","filterBorderShadowRds_Left":"0","overlayPaddingTop":"24","overlayPaddingRight":"24","overlayPaddingBottom":"24","overlayPaddingLeft":"24","contentMarginTop":"0","contentMarginRight":"0","contentMarginBottom":"0","contentMarginLeft":"0","contentPaddingTop":"16","contentPaddingRight":"16","contentPaddingBottom":"16","contentPaddingLeft":"16","contentBorderShadowborderColor":"#DAE0EE","contentBorderShadowborderStyle":"solid","contentBorderShadowRds_Top":"8","contentBorderShadowRds_Right":"8","contentBorderShadowRds_Bottom":"8","contentBorderShadowRds_Left":"8","iconBorderShadowborderColor":"#DAE0EE","iconBorderShadowborderStyle":"solid","iconBorderShadowRds_Top":"8","iconBorderShadowRds_Right":"8","iconBorderShadowRds_Bottom":"8","iconBorderShadowRds_Left":"8","loadmoreBtnText":"Load More","commonStyles":{"desktop":".eb-parent-eb-image-gallery-ww8gl{display:block}.root-eb-image-gallery-ww8gl{position:relative}","tab":".eb-parent-eb-image-gallery-ww8gl{display:block}","mobile":".eb-parent-eb-image-gallery-ww8gl{display:block}"}} --\x3e\n<div class="wp-block-essential-blocks-image-gallery root-eb-image-gallery-ww8gl"><div class="eb-parent-wrapper eb-parent-eb-image-gallery-ww8gl "><ul class="eb-img-gallery-filter-wrapper filter-wrapper-eb-image-gallery-ww8gl preset-4" data-id="eb-image-gallery-ww8gl"><li class="eb-img-gallery-filter-item" data-filter="*" data-id="eb-image-gallery-ww8gl">All</li><li class="eb-img-gallery-filter-item" data-filter=".eb-filter-img-filter-item-1" data-id="eb-image-gallery-ww8gl">Filter Item 1</li></ul><div class="eb-gallery-img-wrapper eb-image-gallery-ww8gl preset-4 v2 grid null enable-isotope eb-filterable-img-gallery " data-id="eb-image-gallery-ww8gl" data-default-filter="*" data-searchfilter="false"><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="1"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Double Exposure</div><div class="eb-gallery-img-description">Create surreal, artistic effect in frames</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="2"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Golden Hour Tone</div><div class="eb-gallery-img-description">Light is soft, warm, and ideal to capture </div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="3"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Perspective Playing</div><div class="eb-gallery-img-description">Alter angles, viewpoints for compositions</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="4"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Candid Moments</div><div class="eb-gallery-img-description">Instant shots of live objects\' inner beauty</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="5"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Rule of Thirds</div><div class="eb-gallery-img-description">Place your key elements along the lines</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="6"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Depth of Field</div><div class="eb-gallery-img-description">Range of distance in a photo to emphasize</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="7"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Shutter Speed</div><div class="eb-gallery-img-description">Length of time shutter remains open</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-filter-item-1"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="8"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Retro Vibes</div><div class="eb-gallery-img-description">Refer to a nostalgic style that mimics</div></div></div></div></div><div data-type="image" class="eb-gallery-img-content eb-filter-img-"><div class="eb-gallery-link-wrapper"><img class="eb-gallery-img" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" image-index="9"/><div class="eb-img-gallery-overlay"><div class="eb-img-gallery-actions"><a href="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" data-fslightbox="gallery" class="eb-img-gallery-action"><i icon="fas fa-plus" class="fas fa-plus "></i></a><a href="#" target="_self" rel="noopener" class="eb-img-gallery-action"><i icon="fas fa-link" class="fas fa-link "></i></a></div><div class="eb-img-gallery-content"><div class="eb-gallery-img-caption">Minimalist Shot</div><div class="eb-gallery-img-description">Focuses on simplicity, clean compositions</div></div></div></div></div></div><div id="eb-img-gallery-not-found"><svg width="72" height="73" viewBox="0 0 72 73" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" fill="url(#paint0_linear_2906_31)"></rect><rect x="1.64053" y="1.82071" width="68.7189" height="68.7189" rx="14.3595" stroke="white" stroke-width="3.28107"></rect><path d="M49.3953 27.2499C49.3953 29.716 47.3962 31.7151 44.9302 31.7151C42.4642 31.7151 40.4651 29.716 40.4651 27.2499C40.4651 24.7839 42.4642 22.7848 44.9302 22.7848C47.3962 22.7848 49.3953 24.7839 49.3953 27.2499Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M35.8719 12.1802H36.1281C41.2817 12.1801 45.3205 12.1801 48.4717 12.6038C51.6972 13.0374 54.2423 13.9424 56.2401 15.9401C58.2378 17.9378 59.1427 20.483 59.5764 23.7084C60 26.8597 60 30.8985 60 36.0521V36.2492C60 40.5107 60 43.9992 59.7686 46.8396C59.536 49.694 59.0594 52.0792 57.9927 54.0601C57.5222 54.9339 56.944 55.7163 56.2401 56.4202C54.2423 58.418 51.6972 59.3229 48.4717 59.7566C45.3205 60.1802 41.2817 60.1802 36.1281 60.1802H35.8719C30.7183 60.1802 26.6795 60.1802 23.5283 59.7566C20.3028 59.3229 17.7576 58.418 15.7599 56.4202C13.9889 54.6492 13.0743 52.4449 12.5879 49.7104C12.1102 47.0243 12.0228 43.6823 12.0046 39.5323C12 38.4767 12 37.3603 12 36.1824V36.0521C12 30.8985 12 26.8597 12.4236 23.7084C12.8573 20.483 13.7622 17.9378 15.7599 15.9401C17.7576 13.9424 20.3028 13.0374 23.5283 12.6038C26.6795 12.1801 30.7183 12.1801 35.8719 12.1802ZM23.9745 15.9228C21.1204 16.3065 19.3997 17.0363 18.1279 18.3081C16.8561 19.5799 16.1263 21.3006 15.7426 24.1547C15.3524 27.057 15.3488 30.8707 15.3488 36.1802C15.3488 36.8288 15.3488 37.456 15.3496 38.0633L17.5847 36.1076C19.6192 34.3275 22.6854 34.4296 24.5969 36.3411L34.174 45.9182C35.7083 47.4525 38.1235 47.6617 39.8987 46.4141L40.5644 45.9462C43.119 44.1509 46.5752 44.3589 48.8961 46.4476L55.2152 52.1348C55.8513 50.799 56.229 49.0438 56.4308 46.5676C56.6499 43.8786 56.6512 40.5244 56.6512 36.1802C56.6512 30.8707 56.6476 27.057 56.2574 24.1547C55.8737 21.3006 55.1439 19.5799 53.8721 18.3081C52.6003 17.0363 50.8796 16.3065 48.0255 15.9228C45.1232 15.5326 41.3095 15.529 36 15.529C30.6905 15.529 26.8768 15.5326 23.9745 15.9228Z" fill="white"></path><defs><linearGradient id="paint0_linear_2906_31" x1="50.8401" y1="5.70096" x2="36" y2="72.1802" gradientUnits="userSpaceOnUse"><stop stop-color="#D8E1ED"></stop><stop offset="1" stop-color="#C0CAD8"></stop></linearGradient></defs></svg><p>Image Not Found! Try Again</p></div></div></div>\n\x3c!-- /wp:essential-blocks/image-gallery --\x3e'},{title:"Classic Gallery",templatePreview:!0,preview:"".concat(null===(xe=EssentialBlocksLocalize)||void 0===xe?void 0:xe.image_url,"/templates/image-gallery/pro-preset-4.svg"),pro:!0},{title:"Harmonic Gallery",templatePreview:!0,preview:"".concat(null===(Se=EssentialBlocksLocalize)||void 0===Se?void 0:Se.image_url,"/templates/image-gallery/pro-preset-5.svg"),pro:!0},{title:"GridFlow Gallery",templatePreview:!0,preview:"".concat(null===(Be=EssentialBlocksLocalize)||void 0===Be?void 0:Be.image_url,"/templates/image-gallery/pro-preset-6.svg"),pro:!0}];function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},De.apply(null,arguments)}var Ae=function(e){return l.createElement("svg",De({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 50"},e),Te||(Te=l.createElement("path",{fill:"#6C3BFF",d:"M55.91.143H4.181C1.818.143 0 2.029 0 4.086v41.828c0 2.229 2 3.943 4.182 3.943h51.545c2.364 0 4.182-1.886 4.182-3.943V4.086c.273-2.229-1.727-3.943-4-3.943zM2.363 4.086c0-1.029.909-1.715 1.818-1.715h51.545c1.091 0 1.819.858 1.819 1.715v41.828c0 1.029-.91 1.715-1.819 1.715H4.182c-1.091 0-1.818-.858-1.818-1.715V4.086z"})),Ne||(Ne=l.createElement("path",{fill:"#6C3BFF",d:"M24.364 38.886h11c.545 0 1.09-.343 1.09-1.029V27.143c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714q.272 1.029 1.09 1.029zm10.09-10.543v8.828h-9v-8.828zM8.455 38.886h10.09c.546 0 1.091-.343 1.091-1.029V27.143c0-.514-.363-1.029-1.09-1.029H8.455c-.546 0-1.091.343-1.091 1.029v10.714q0 1.029 1.09 1.029zm9-10.543v8.828H9.364v-8.828zm6.909-5.057h11c.545 0 1.09-.343 1.09-1.029V11.543c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c.181.514.545 1.029 1.09 1.029zm10.09-10.715v8.486c-.909-.857-2.727-2.4-2.727-2.4h-.363l-1.455 1.2-2-2.228-.182-.172h-.363s-1.273 1.714-2.182 3.086V12.4h9.363zm6.091 26.315h11c.546 0 1.091-.343 1.091-1.029V27.143c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c0 .686.545 1.029 1.09 1.029m9.91-10.543v8.828h-9v-8.828zm-9.91-5.057h11c.546 0 1.091-.343 1.091-1.029V11.543c0-.514-.363-1.029-1.09-1.029h-11c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.545 1.029 1.09 1.029m9.91-10.715V21.4h-9v-8.829zm-42 10.715h10.09c.546 0 1.091-.343 1.091-1.029V11.543c0-.514-.363-1.029-1.09-1.029H8.455c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.363 1.029 1.09 1.029zm9-10.715V21.4H9.364v-8.829z"})),Pe||(Pe=l.createElement("path",{fill:"#6C3BFF",d:"M31.546 17.8c.652 0 1.181-.499 1.181-1.114s-.529-1.115-1.181-1.115c-.653 0-1.182.5-1.182 1.115s.529 1.114 1.181 1.114z"})))};function Me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Le(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Me(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Fe=(0,ie.memo)((0,c.withBlockContext)(Re)(function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.isSelected),l=(t.resOption,t.blockId),p=(t.blockMeta,t.layouts),b=t.sources,d=t.displayCaption,m=t.captionOnHover,u=t.newImage,g=t.horizontalAlign,f=t.verticalAlign,y=t.styleNumber,h=t.overlayStyle,v=t.imageSize,w=t.classHook,k=t.filterItems,R=t.enableFilter,_=t.enableFilterAll,C=t.filterAllTitle,E=t.defaultFilter,x=t.imageGapRange,S=t.columnsRange,B=t.imageHeightRange,T=t.imageWidthRange,N=t.imageMaxHeightRange,P=t.imageMaxWidthRange,O=t.imgBorderShadowborderStyle,I=t.imgBorderShadowborderColor,D=t.imgBorderShadowBdr_Bottom,A=t.imgBorderShadowBdr_Left,M=t.imgBorderShadowBdr_Right,F=t.imgBorderShadowBdr_Top,j=t.imgBorderShadowRds_Bottom,H=t.imgBorderShadowRds_Left,z=t.imgBorderShadowRds_Right,U=t.imgBorderShadowRds_Top,V=t.enableIsotope,G=t.enableLoadMore,q=t.enableInfiniteScroll,W=t.presets,Z=t.displayDescription,J=t.lightboxIcon,Y=t.linkIcon,Q=t.disableLightBox,$=t.addCustomLink,K=t.enableSearch,ee=t.unevenWidth,ne=t.align,oe=t.notFoundText,se=t.iconType,pe=t.version,be=t.showBlockContent,de=t.enableEmptyGrid,me=t.imageSizeType,ue=t.cover,ge=t.disableIsotope,fe=Le(Le({},e),{},{blockPrefix:"eb-image-gallery",style:React.createElement(ve,e)}),ye=function(e){var t=[];(e=e||b).map(function(e){var t=b.find(function(t){return t.id===e.id});return t&&Object.keys(t).forEach(function(a){a in e||(e[a]=t[a])}),e}).map(function(e){var a={};a.caption=e.caption,a.id=e.id,a.alt=e.alt,a.content=e.content?e.content:"",a.customLink=e.customLink?e.customLink:"",a.openNewTab=!!e.openNewTab&&e.openNewTab,a.isValidUrl=!e.isValidUrl||e.isValidUrl,a.sizes=e.sizes?e.sizes:null,e.sizes&&v&&v.length>0?a.url=e.sizes[v]?e.sizes[v].url:e.url:a.url=e.url,b.length>0&&b.map(function(t){t.id===e.id&&(a.filter=t.filter)}),t.push(a)}),a({sources:t})},we=[];b.map(function(e){return we.push(e.url)}),(0,ie.useEffect)(function(){a({enableIsotope:!0}),null==R&&a({enableFilter:!1}),null==k&&a({filterItems:[{value:"filter-item-1",label:(0,n.__)("Filter Item 1","essential-blocks")}]}),null==_&&a({enableFilterAll:!0}),null==C&&a({filterAllTitle:(0,n.__)("All","essential-blocks")}),void 0===W&&a({presets:"default"}),void 0===pe&&a({version:"v2"}),0==b.length&&a({sources:[{url:Oe,caption:"Double Exposure",content:"Create surreal, artistic effect in frames",id:1,filter:'[{"value":"filter-item-1","label":"Filter Item 1"}]'},{url:Oe,caption:"Golden Hour Tone",content:"Light is soft, warm, and ideal to capture ",id:2},{url:Oe,caption:"Perspective Playing",content:"Alter angles, viewpoints for compositions",id:3,filter:'[{"value":"filter-item-1","label":"Filter Item 1"}]'},{url:Oe,caption:"Candid Moments",content:"Instant shots of live objects' inner beauty",id:4},{url:Oe,caption:"Rule of Thirds",content:"Place your key elements along the lines",id:5,filter:'[{"value":"filter-item-1","label":"Filter Item 1"}]'},{url:Oe,caption:"Depth of Field",content:"Range of distance in a photo to emphasize",id:6,filter:'[{"value":"filter-item-1","label":"Filter Item 1"}]'},{url:Oe,caption:"Shutter Speed",content:"Length of time shutter remains open",id:7},{url:Oe,caption:"Retro Vibes",content:"Refer to a nostalgic style that mimics",id:8,filter:'[{"value":"filter-item-1","label":"Filter Item 1"}]'},{url:Oe,caption:"Minimalist Shot",content:"Focuses on simplicity, clean compositions",id:9}],filterItems:[{value:"filter-item-1",label:(0,n.__)("Filter Item 1","essential-blocks")}]}),void 0===J&&a({lightboxIcon:"fas fa-plus"}),void 0===Y&&a({linkIcon:"fas fa-link"}),void 0===Z&&a({displayDescription:!1}),void 0===ge&&a({disableIsotope:!1}),void 0===de&&a({enableEmptyGrid:!0}),void 0===se&&a({iconType:"normal"}),void 0===oe&&a({notFoundText:"Image Not Found! Try Again"})},[]);var ke=(0,ie.useRef)(null),Re=(0,ie.useState)("*"),_e=(0,le.A)(Re,2),Ce=_e[0],Ee=_e[1];(0,ie.useEffect)(function(){var e;if(!ke.current||"object"!==(0,re.A)(ke.current)||0!==Object.keys(ke.current).length)return ge?null!==(e=ke.current)&&void 0!==e&&e.destroy&&(ke.current.destroy(),ke.current=null):setTimeout(function(){var e;(e=document.querySelector(".".concat(l,".enable-isotope")))&&imagesLoaded(e,function(){var t;null!==(t=ke.current)&&void 0!==t&&t.destroy&&(ke.current.destroy(),ke.current=null);var a="grid"===p?"fitRows":"masonry";ke.current=new Isotope(e,{itemSelector:".eb-gallery-img-content",layoutMode:a,transitionDuration:"0.5s",percentPosition:"fitRows"!==a,masonry:"fitRows"!==a?{columnWidth:ee?".grid-sizer":".eb-gallery-img-content"}:null})})},500),function(){var e;null!==(e=ke.current)&&void 0!==e&&e.destroy&&(ke.current.destroy(),ke.current=null)}},[me,ne,V,R,p,ee,de,v,_,k,b,S,x,B,T,N,P,O,I,D,A,M,F,j,H,z,U,ge]),(0,ie.useEffect)(function(){if(ke.current&&"object"===(0,re.A)(ke.current)&&0!==Object.keys(ke.current).length&&R){var e=document.querySelector(".".concat(l,".enable-isotope")),t=null==e?void 0:e.closest(".eb-parent-wrapper"),a=null==t?void 0:t.querySelector("#eb-img-gallery-not-found");e&&ke.current&&imagesLoaded(e,function(){var e,t,n,o,r;ke.current.arrange&&(null===(r=ke.current)||void 0===r||r.arrange({filter:"*"===Ce?"*":".".concat(Ce)})),null===(e=(t=ke.current).off)||void 0===e||e.call(t,"arrangeComplete"),null===(n=(o=ke.current).on)||void 0===n||n.call(o,"arrangeComplete",function(e){a&&(0===e.length?a.classList.add("show"):a.classList.remove("show"))})})}},[R,Ce]),(0,ie.useEffect)(function(){E&&E.length>0&&Ee("*"===E?"*":"eb-filter-img-".concat(E))},[E]);var xe=function(e,t){Ee(t),e.target.closest(".eb-img-gallery-filter-wrapper").querySelector(".is-checked").classList.remove("is-checked"),e.target.classList.add("is-checked")},Se=function(e){return(3===S?(e+1)%4==0||(e+1)%7==0:e%3==0)?"wide":""};return ue.length?React.createElement("div",null,React.createElement("img",{src:ue,alt:"filterable gallery",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,r&&be&&b.length>0&&React.createElement(he,{attributes:t,setAttributes:a,onImageChange:ye}),React.createElement(c.BlockProps.Edit,fe,React.createElement(c.BrowseTemplate,(0,o.A)({},e,{Icon:Ae,title:"Filterable Gallery",description:"Choose a template for the Filterable Gallery or start blank.",patterns:(0,i.applyFilters)("eb_pro_templates_image_gallery",Ie)})),be&&React.createElement(React.Fragment,null,b.length>0&&React.createElement(React.Fragment,null,React.createElement(ce.BlockControls,null,React.createElement(s.ToolbarGroup,null,React.createElement(s.ToolbarItem,null,function(){return React.createElement(ce.MediaUpload,{value:b.map(function(e){return e.id}),onSelect:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var n=t[0],o=new Map(t.map(function(e){return[e.id,e]}));n.forEach(function(e){var t=o.get(e.id);t&&Object.assign(e,t)}),ye(n)},allowedTypes:["image"],multiple:!0,gallery:!0,render:function(e){var t=e.open;return React.createElement(s.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})}))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(w),ref:ke},R&&!K&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper ".concat(W)},_&&React.createElement("li",{className:"eb-img-gallery-filter-item ".concat("*"===Ce?"is-checked":""),"data-filter":"*",onClick:function(e){return xe(e,"*")}},""!==C?C:(0,n.__)("All","essential-blocks")),k.map(function(e,t){var a=e.value,n=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item ".concat(Ce==="eb-filter-img-".concat(a)?"is-checked":""),"data-filter":".eb-filter-img-".concat(a),onClick:function(e){return xe(e,"eb-filter-img-".concat(a))}},n)})),R&&K&&(0,i.applyFilters)("eb_filterable_gallery_pro_search_html","",t),React.createElement("div",{"data-id":l,className:"eb-gallery-img-wrapper ".concat(l," ").concat(W," ").concat(pe," ").concat(p," ").concat(ge?"no-isotope":"enable-isotope"," ").concat(R?"eb-filterable-img-gallery":""," ").concat(G?"show-loadmore":""," ").concat("default"===W?"".concat(h," caption-style-").concat(y," ").concat(m?"caption-on-hover":""):"")},"masonry"==p&&React.createElement("div",{class:"grid-sizer"}),b.map(function(e,a){var n,o;o=e.hasOwnProperty("filter")&&(null==e||null===(n=e.filter)||void 0===n?void 0:n.length)>0?(o=(o=(o=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var r=ae(a+=1,S,b);return React.createElement(React.Fragment,null,"default"==W&&React.createElement(React.Fragment,null,void 0===pe&&React.createElement("a",{key:a,className:"eb-gallery-img-content ".concat("masonry"==p&&ee&&Se(a)?"wide":""," eb-filter-img-").concat(o)},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),d&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption ".concat(g," ").concat(f),dangerouslySetInnerHTML:{__html:e.caption}})))),"v2"===pe&&React.createElement("a",{key:a,className:"eb-gallery-img-content ".concat("masonry"==p&&ee&&Se(a)?"wide":""," eb-filter-img-").concat(o)},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("span",{className:"eb-img-gallery-content ".concat(g," ").concat(f)},d&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),Z&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))))),"default"!==W&&"pro-preset-5"!==W&&"pro-preset-6"!==W&&React.createElement("div",{key:a,className:"eb-gallery-img-content ".concat("masonry"==p&&ee?Se(a):""," eb-filter-img-").concat(o)},React.createElement("div",{className:"eb-gallery-link-wrapper"},"preset-3"==W&&React.createElement("div",{className:"eb-gallery-img-container"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),(!Q||$)&&React.createElement("div",{className:"eb-img-gallery-actions"},!Q&&React.createElement("a",{href:"",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:J})),$&&React.createElement("a",{href:"",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:Y})))),"preset-3"!==W&&React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("div",{className:"eb-img-gallery-overlay"},"preset-3"!==W&&(!Q||$)&&React.createElement("div",{className:"eb-img-gallery-actions"},!Q&&React.createElement("a",{href:"",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:J})),$&&React.createElement("a",{href:"",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:Y}))),(d&&e.caption||Z&&e.content)&&React.createElement("div",{className:"eb-img-gallery-content"},d&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),Z&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))))),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_markup","",t,e,a,o,r))})),R&&""!==oe&&React.createElement("div",{id:"eb-img-gallery-not-found"},React.createElement(te,null),React.createElement("p",null,oe)),G&&React.createElement(React.Fragment,null,React.createElement(c.EBButton,{isSelected:r,type:"button",btnWrapperClassName:"eb-img-gallery-loadmore-container",className:"eb-img-gallery-loadmore ".concat(q?"loadmore-disable":""),buttonAttrProps:L,disable:!!q,loadingIcon:!!q}))),React.createElement(ce.MediaUpload,{onSelect:function(e){var t=[].concat((0,X.A)(b),(0,X.A)(e)),n=[];t.map(function(e){var t={};t.url=e.url,t.caption=e.caption,t.content=e.content,t.id=e.id,t.alt=e.alt,b.length>0&&b.map(function(a){a.filter&&a.id===e.id&&(t.filter=a.filter)}),n.push(t)}),a({sources:n})},accept:"image/*",allowedTypes:["image"],multiple:"add",value:u,render:function(e){var t=e.open;return!u&&React.createElement(s.Button,{className:"eb-gallery-upload-button",label:(0,n.__)("Add Image","essential-blocks"),onClick:t},React.createElement("span",{className:"addIcon"},React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{clipPath:"url(#clip0_2005_6307)"},React.createElement("path",{d:"M12 5V19",stroke:"#444F62",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M5 12H19",stroke:"#444F62",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2005_6307"},React.createElement("rect",{width:"24",height:"24",fill:"white"}))))),"Add More Images")}})))))}));var je=a(6087);function He(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ze(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?He(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):He(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Ue=[{attributes:(0,je.omit)(ze({},Re),["disableIsotope"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,s=t.displayCaption,p=t.captionOnHover,b=t.styleNumber,d=t.overlayStyle,m=t.horizontalAlign,u=t.verticalAlign,g=t.disableLightBox,f=t.classHook,y=t.filterItems,h=t.enableFilter,v=t.enableFilterAll,w=t.filterAllTitle,k=t.addCustomLink,R=t.defaultFilter,_=(t.enableIsotope,t.enableLoadMore),C=(t.loadmoreBtnText,t.imagesPerPageCount),E=t.enableInfiniteScroll,x=t.presets,S=t.displayDescription,B=t.lightboxIcon,T=t.linkIcon,N=t.enableSearch,P=t.unevenWidth,O=t.columnsRange,I=t.notFoundText,D=t.version;if(t.showBlockContent){if(0===l.length)return null;var A={rel:"noopener"};g||(A=ze(ze({},A),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image")));var M={imagesPerPage:C,loadmore:_,infiniteScroll:E},F=function(e){return(3===O?(e+1)%4==0||(e+1)%7==0:e%3==0)?"wide":""};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},h&&!N&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a," ").concat(x),"data-id":a},v&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==w?w:__("All","essential-blocks")),y.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),h&&N&&(0,i.applyFilters)("eb_filterable_gallery_pro_search_html","",t),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(x," ").concat(D," ").concat(n," ").concat("masonry"===n&!0===P?"masonry-uneven":null," enable-isotope ").concat(h?"eb-filterable-img-gallery":""," ").concat(_?"show-loadmore":""," ").concat("default"===x?"".concat(d," caption-style-").concat(b," ").concat(p?"caption-on-hover":""):""," "),"data-id":a,"data-default-filter":R,"data-searchFilter":!(!h||!N)},"masonry"==n&&React.createElement("div",{class:"grid-sizer"}),l.map(function(e,a){var r,p;p=e.hasOwnProperty("filter")&&(null==e||null===(r=e.filter)||void 0===r?void 0:r.length)>0?(p=(p=(p=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var b=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption ".concat(m," ").concat(u),dangerouslySetInnerHTML:{__html:e.caption}}))),d=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("span",{className:"eb-img-gallery-content ".concat(m," ").concat(u)},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))),f=ae(a+=1,O,l);return React.createElement(React.Fragment,null,"default"==x&&React.createElement(React.Fragment,null,void 0===D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},A,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),b),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},A,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),b)),void 0!==D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},A,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),d),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},A,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),d))),"default"!==x&&"pro-preset-5"!==x&&"pro-preset-6"!==x&&React.createElement("div",{key:a,"data-type":"image",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)},React.createElement("div",{className:"eb-gallery-link-wrapper"},"preset-3"==x&&React.createElement("div",{className:"eb-gallery-img-container"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T})))),"preset-3"!==x&&React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("div",{className:"eb-img-gallery-overlay"},"preset-3"!==x&&(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T}))),(s&&e.caption||S&&e.content)&&React.createElement("div",{className:"eb-img-gallery-content"},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))))),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_markup","",t,e,a,p,f))})),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_popup","",t),h&&""!==I&&React.createElement("div",{id:"eb-img-gallery-not-found"},React.createElement(te,null),React.createElement("p",null,I)),_&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.Content,{attributes:t,type:"button",btnWrapperClassName:"eb-img-gallery-loadmore-container",className:"eb-img-gallery-loadmore ".concat(E?"loadmore-disable":""),buttonAttrProps:L,buttonData:M,disable:!1,loadingIcon:!!E}))))}}},{attributes:(0,je.omit)(ze(ze({},Re),{},{images:{type:"array",default:[]}}),["cover"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,s=t.displayCaption,p=t.captionOnHover,b=t.styleNumber,d=t.overlayStyle,m=t.horizontalAlign,u=t.verticalAlign,g=t.disableLightBox,f=t.classHook,y=t.filterItems,h=t.enableFilter,v=t.enableFilterAll,w=t.filterAllTitle,k=t.addCustomLink,R=t.defaultFilter,_=(t.enableIsotope,t.enableLoadMore),C=(t.loadmoreBtnText,t.imagesPerPageCount),E=t.enableInfiniteScroll,x=t.presets,S=t.displayDescription,B=t.lightboxIcon,T=t.linkIcon,N=t.enableSearch,P=t.unevenWidth,O=t.columnsRange,I=t.notFoundText,D=t.version;if(t.showBlockContent){if(0===l.length)return null;var A={rel:"noopener"};g||(A=ze(ze({},A),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image")));var M={imagesPerPage:C,loadmore:_,infiniteScroll:E},F=function(e){return(3===O?(e+1)%4==0||(e+1)%7==0:e%3==0)?"wide":""};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},h&&!N&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a," ").concat(x),"data-id":a},v&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==w?w:__("All","essential-blocks")),y.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),h&&N&&(0,i.applyFilters)("eb_filterable_gallery_pro_search_html","",t),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(x," ").concat(D," ").concat(n," ").concat("masonry"===n&!0===P?"masonry-uneven":null," enable-isotope ").concat(h?"eb-filterable-img-gallery":""," ").concat(_?"show-loadmore":""," ").concat("default"===x?"".concat(d," caption-style-").concat(b," ").concat(p?"caption-on-hover":""):""," "),"data-id":a,"data-default-filter":R,"data-searchFilter":!(!h||!N)},"masonry"==n&&React.createElement("div",{class:"grid-sizer"}),l.map(function(e,a){var r,p;p=e.hasOwnProperty("filter")&&(null==e||null===(r=e.filter)||void 0===r?void 0:r.length)>0?(p=(p=(p=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var b=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption ".concat(m," ").concat(u),dangerouslySetInnerHTML:{__html:e.caption}}))),d=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("span",{className:"eb-img-gallery-content ".concat(m," ").concat(u)},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))),f=ae(a+=1,O,l);return React.createElement(React.Fragment,null,"default"==x&&React.createElement(React.Fragment,null,void 0===D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},A,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),b),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},A,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),b)),void 0!==D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},A,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),d),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},A,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)}),d))),"default"!==x&&"pro-preset-5"!==x&&"pro-preset-6"!==x&&React.createElement("div",{key:a,"data-type":"image",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&F(a)?"wide":""," eb-filter-img-").concat(p)},React.createElement("div",{className:"eb-gallery-link-wrapper"},"preset-3"==x&&React.createElement("div",{className:"eb-gallery-img-container"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T})))),"preset-3"!==x&&React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("div",{className:"eb-img-gallery-overlay"},"preset-3"!==x&&(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T}))),(s&&e.caption||S&&e.content)&&React.createElement("div",{className:"eb-img-gallery-content"},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))))),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_markup","",t,e,a,p,f))})),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_popup","",t),h&&""!==I&&React.createElement("div",{id:"eb-img-gallery-not-found"},React.createElement(te,null),React.createElement("p",null,I)),_&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.Content,{attributes:t,type:"button",btnWrapperClassName:"eb-img-gallery-loadmore-container",className:"eb-img-gallery-loadmore ".concat(E?"loadmore-disable":""),buttonAttrProps:L,buttonData:M,disable:!1,loadingIcon:!!E}))))}}},{attributes:(0,je.omit)(ze({},Re),["version","displayDescription","presets","lightboxIcon","linkIcon","imageClickable","descriptionColor","descriptionBGColor","iconType","iconColor","iconHoverColor","iconWidth","iconSize","contentAlign","contentBGColor","maskColor","filterWrapperBGColor","enableSearch","unevenWidth","notFoundColor","notFoundText","enableEmptyGrid"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,i=t.displayCaption,s=t.captionOnHover,p=t.styleNumber,b=t.overlayStyle,d=t.horizontalAlign,m=t.verticalAlign,u=t.disableLightBox,g=t.classHook,f=t.filterItems,y=t.enableFilter,h=t.enableFilterAll,v=t.filterAllTitle,w=t.addCustomLink,k=t.defaultFilter,R=t.enableIsotope,_=t.enableLoadMore,C=(t.loadmoreBtnText,t.imagesPerPageCount),E=t.enableInfiniteScroll;if(0===l.length)return null;var x={rel:"noopener"};u||(x=ze(ze({},x),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image")));var S={imagesPerPage:C,loadmore:_,infiniteScroll:E};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},y&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},h&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==v?v:__("All","essential-blocks")),f.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(b," caption-style-").concat(p," ").concat(s?"caption-on-hover":""," ").concat(y?"eb-filterable-img-gallery":""," ").concat(R?"enable-isotope":"no-isotope"," ").concat(_?"show-loadmore":""),"data-id":a,"data-default-filter":k},l.map(function(e,t){var a,n;n=e.hasOwnProperty("filter")&&(null==e||null===(a=e.filter)||void 0===a?void 0:a.length)>0?(n=(n=(n=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var r=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),i&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption ".concat(d," ").concat(m),dangerouslySetInnerHTML:{__html:e.caption}})));return w?w?React.createElement("a",(0,o.A)({key:t,href:u?w&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},x,{target:u&&w&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(n)}),r):void 0:React.createElement("a",(0,o.A)({key:t,href:u?"javascript:void(0)":e.url},x,{className:"eb-gallery-img-content eb-filter-img-".concat(n)}),r)})),_&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.Content,{attributes:t,type:"button",className:"eb-img-gallery-loadmore ".concat(E?"loadmore-disable":""),buttonAttrProps:L,buttonData:S,disable:!1,loadingIcon:!!E}))))}},{attributes:(0,je.omit)(ze({},Re),["enableInfiniteScroll","imagesPerPageCount"]),migrate:function(e){var t=e.imagesPerPage,a=ze({},e);return delete a.imagesPerPage,ze(ze({},a),{},{imagesPerPageCount:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,c=t.displayCaption,i=t.captionOnHover,s=t.styleNumber,p=t.overlayStyle,b=t.horizontalAlign,d=t.verticalAlign,m=t.disableLightBox,u=t.classHook,g=t.filterItems,f=t.enableFilter,y=t.enableFilterAll,h=t.filterAllTitle,v=t.addCustomLink,w=t.defaultFilter,k=t.enableIsotope,R=t.enableLoadMore,_=t.loadmoreBtnText,C=t.imagesPerPage;if(0===l.length)return null;var E={rel:"noopener"};return m||(E=ze(ze({},E),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},f&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},y&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==h?h:"All"),g.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(p," caption-style-").concat(s," ").concat(i?"caption-on-hover":""," ").concat(f?"eb-filterable-img-gallery":""," ").concat(k?"enable-isotope":"no-isotope"," ").concat(R?"show-loadmore":""),"data-id":a,"data-default-filter":w},l.map(function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),c&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(b," ").concat(d)},e.caption));return v?v?React.createElement("a",(0,o.A)({key:t,href:m?v&&e.customLink&&e.isValidUrl?e.customLink:"#":e.url},E,{target:m&&v&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n):void 0:React.createElement("a",(0,o.A)({key:t,href:m?"javascript:void(0)":e.url},E,{className:"eb-gallery-img-content eb-filter-img-".concat(a)}),n)})),R&&React.createElement("button",{"data-images-per-page":C,"data-loadmore":R,className:"eb-img-gallery-loadmore"},_)))}},{attributes:ze({},Re),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,i=t.displayCaption,s=t.captionOnHover,p=t.styleNumber,b=t.overlayStyle,d=t.horizontalAlign,m=t.verticalAlign,u=t.disableLightBox,g=t.classHook,f=t.filterItems,y=t.enableFilter,h=t.enableFilterAll,v=t.filterAllTitle,w=t.addCustomLink,k=t.defaultFilter,R=t.enableIsotope,_=t.enableLoadMore,C=t.loadmoreBtnText,E=t.imagesPerPage;if(0===l.length)return null;var x={id:"eb-gallery-img-content"};return u||(x=ze(ze({},x),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},y&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},h&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==v?v:"All"),f.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(b," caption-style-").concat(p," ").concat(s?"caption-on-hover":""," ").concat(y?"eb-filterable-img-gallery":""," ").concat(R?"enable-isotope":"no-isotope"," ").concat(_?"show-loadmore":""),"data-id":a,"data-default-filter":k},l.map(function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),i&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(d," ").concat(m)},e.caption));return w?w?React.createElement("a",(0,o.A)({key:t,href:u?w&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},x,{target:u&&w&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",(0,o.A)({key:t,href:u?"javascript:void(0)":e.url},x,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)})),_&&React.createElement("button",{"data-images-per-page":E,"data-loadmore":_,className:"eb-img-gallery-loadmore"},C)))}},{attributes:(0,je.omit)(ze({},Re),["enableLoadmore","loadmoreBtnText","enableIsotope"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,i=t.displayCaption,s=t.captionOnHover,p=t.styleNumber,b=t.overlayStyle,d=t.horizontalAlign,m=t.verticalAlign,u=t.disableLightBox,g=t.classHook,f=t.filterItems,y=t.enableFilter,h=t.enableFilterAll,v=t.filterAllTitle,w=t.addCustomLink,k=t.defaultFilter;if(0===l.length)return null;var R={id:"eb-gallery-img-content"};return u||(R=ze(ze({},R),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},y&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},h&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==v?v:"All"),f.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(b," caption-style-").concat(p," ").concat(s?"caption-on-hover":""," ").concat(y?"eb-filterable-img-gallery":""),"data-id":a,"data-default-filter":k},l.map(function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),i&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(d," ").concat(m)},e.caption));return w?w?React.createElement("a",(0,o.A)({key:t,href:u?w&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},R,{target:u&&w&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",(0,o.A)({key:t,href:u?"javascript:void(0)":e.url},R,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)}))))}},{attributes:(0,je.omit)(ze({},Re),["defaultFilter"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,i=t.displayCaption,s=t.captionOnHover,p=t.styleNumber,b=t.overlayStyle,d=t.horizontalAlign,m=t.verticalAlign,u=t.disableLightBox,g=t.classHook,f=t.filterItems,y=t.enableFilter,h=t.enableFilterAll,v=t.filterAllTitle,w=t.addCustomLink;if(l&&0===l.length)return null;var k={id:"eb-gallery-img-content"};return u||(k=ze(ze({},k),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},y&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},h&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==v?v:"All"),f.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(b," caption-style-").concat(p," ").concat(s?"caption-on-hover":""," ").concat(y?"eb-filterable-img-gallery":""),"data-id":a},l&&l.map(function(e,t){var a;a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var n=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),i&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(d," ").concat(m)},e.caption));return w?w?React.createElement("a",(0,o.A)({key:t,href:u?w&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},k,{target:u&&w&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n):void 0:React.createElement("a",(0,o.A)({key:t,href:u?"javascript:void(0)":e.url},k,{className:"eb-gallery-img-content eb-filter-img-".concat(a),rel:"noopener"}),n)}))))}},{attributes:(0,je.omit)(ze({},Re),["addCustomLink"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,c=t.displayCaption,i=t.captionOnHover,s=t.styleNumber,p=t.overlayStyle,b=t.horizontalAlign,d=t.verticalAlign,m=t.disableLightBox,u=t.classHook,g=t.filterItems,f=t.enableFilter,y=t.enableFilterAll,h=t.filterAllTitle;if(0===l.length)return null;var v={id:"eb-gallery-img-content"};return m||(v=ze(ze({},v),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},f&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a),"data-id":a},y&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==h?h:"All"),g.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(p," caption-style-").concat(s," ").concat(i?"caption-on-hover":""," ").concat(f?"eb-filterable-img-gallery":""),"data-id":a},l.map(function(e,t){var a;return a=e.hasOwnProperty("filter")&&e.filter.length>0?(a=(a=(a=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"",React.createElement("a",(0,o.A)({key:t,href:m?"#":e.url},v,{className:"eb-gallery-img-content eb-filter-img-".concat(a)}),React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t,alt:e.alt}),c&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(b," ").concat(d)},e.caption)))}))))}},{attributes:(0,je.omit)(ze({},Re),["filterItems","enableFilter","enableFilterAll","filterAllTitle"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,c=t.displayCaption,i=t.captionOnHover,s=t.styleNumber,p=t.overlayStyle,b=t.horizontalAlign,d=t.verticalAlign,m=t.disableLightBox,u=t.classHook;if(0===l.length)return null;var g={class:"eb-gallery-img-content"};return m||(g=ze(ze({},g),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image"))),React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(p," caption-style-").concat(s," ").concat(i?"caption-on-hover":""),"data-id":a},l.map(function(e,t){return React.createElement("a",(0,o.A)({key:t,href:m?"javascript:void(0)":e.url},g),React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),c&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(b," ").concat(d)},e.caption)))}))))}},{attributes:ze({},Re),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,l=t.captionOnHover,c=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,p=t.verticalAlign,b=t.disableLightBox,d=t.classHook;return 0===o.length?null:React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(c," ").concat(l?"caption-on-hover":""),"data-id":a},o.map(function(e,t){return React.createElement("a",{key:t,"data-fslightbox":"gallery",href:b?"javascript:void(0)":e.url,className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(p)},e.caption)))}))))}},{attributes:ze({},Re),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,l=t.captionOnHover,c=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,p=t.verticalAlign,b=t.disableLightBox;return 0===o.length?null:React.createElement("div",ce.useBlockProps.save(),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(c," ").concat(l?"caption-on-hover":""),"data-id":a},o.map(function(e,t){return React.createElement("a",{key:t,"data-fslightbox":"gallery",href:b?"javascript:void(0)":e.url,className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(p)},e.caption)))})))}},{attributes:ze({},Re),save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,o=t.sources,r=t.displayCaption,l=t.captionOnHover,c=t.styleNumber,i=t.overlayStyle,s=t.horizontalAlign,p=t.verticalAlign;return 0===o.length?null:React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(n," ").concat(i," caption-style-").concat(c," ").concat(l?"caption-on-hover":""),"data-id":a},o.map(function(e,t){return React.createElement("a",{className:"eb-gallery-img-content"},React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":t}),r&&e.caption&&e.caption.length>0&&React.createElement("span",{className:"eb-gallery-img-caption ".concat(s," ").concat(p)},e.caption)))}))}}],Ve=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Filterable Gallery","name":"essential-blocks/image-gallery","description":"Impress your audience with high-resolution images","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var Ge;(0,c.ebConditionalRegisterBlockType)(Ve,{icon:Ae,attributes:Re,keywords:[(0,n.__)("images","essential-blocks"),(0,n.__)("filter","essential-blocks"),(0,n.__)("photos","essential-blocks"),(0,n.__)("eb image gallery","essential-blocks"),(0,n.__)("filterable gallery","essential-blocks")],edit:Fe,save:function(e){var t=e.attributes,a=t.blockId,n=t.layouts,l=t.sources,s=t.displayCaption,p=t.captionOnHover,b=t.styleNumber,d=t.overlayStyle,m=t.horizontalAlign,u=t.verticalAlign,g=t.disableLightBox,f=t.classHook,y=t.filterItems,h=t.enableFilter,v=t.enableFilterAll,w=t.filterAllTitle,k=t.addCustomLink,R=t.defaultFilter,_=(t.enableIsotope,t.enableLoadMore),C=(t.loadmoreBtnText,t.imagesPerPageCount),E=t.enableInfiniteScroll,x=t.presets,S=t.displayDescription,B=t.lightboxIcon,T=t.linkIcon,N=t.enableSearch,P=t.unevenWidth,O=t.columnsRange,I=t.notFoundText,D=t.version,A=t.showBlockContent,M=t.disableIsotope;if(A){if(0===l.length)return null;var F={rel:"noopener"};g||(F=oe(oe({},F),{},(0,r.A)((0,r.A)({},"data-fslightbox","gallery"),"data-type","image")));var j={imagesPerPage:C,loadmore:_,infiniteScroll:E},H=function(e){return(3===O?(e+1)%4==0||(e+1)%7==0:e%3==0)?"wide":""};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},h&&!N&&React.createElement("ul",{className:"eb-img-gallery-filter-wrapper filter-wrapper-".concat(a," ").concat(x),"data-id":a},v&&React.createElement("li",{className:"eb-img-gallery-filter-item","data-filter":"*","data-id":a},""!==w?w:__("All","essential-blocks")),y.map(function(e,t){var n=e.value,o=e.label;return React.createElement("li",{key:t,className:"eb-img-gallery-filter-item","data-filter":".eb-filter-img-".concat(n),"data-id":a},o)})),h&&N&&(0,i.applyFilters)("eb_filterable_gallery_pro_search_html","",t),React.createElement("div",{className:"eb-gallery-img-wrapper ".concat(a," ").concat(x," ").concat(D," ").concat(n," ").concat("masonry"===n&!0===P?"masonry-uneven":null," ").concat(M?"no-isotope":"enable-isotope"," ").concat(h?"eb-filterable-img-gallery":""," ").concat(_?"show-loadmore":""," ").concat("default"===x?"".concat(d," caption-style-").concat(b," ").concat(p?"caption-on-hover":""):""," "),"data-id":a,"data-default-filter":R,"data-searchFilter":!(!h||!N)},"masonry"==n&&React.createElement("div",{class:"grid-sizer"}),l.map(function(e,a){var r,p;p=e.hasOwnProperty("filter")&&(null==e||null===(r=e.filter)||void 0===r?void 0:r.length)>0?(p=(p=(p=JSON.parse(e.filter)).map(function(e){return e.value})).toString()).replaceAll(","," eb-filter-img-"):"";var b=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption ".concat(m," ").concat(u),dangerouslySetInnerHTML:{__html:e.caption}}))),d=React.createElement("span",{className:"eb-gallery-link-wrapper"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("span",{className:"eb-img-gallery-content ".concat(m," ").concat(u)},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))),f=ae(a+=1,O,l);return React.createElement(React.Fragment,null,"default"==x&&React.createElement(React.Fragment,null,void 0===D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},F,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&H(a)?"wide":""," eb-filter-img-").concat(p)}),b),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},F,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&H(a)?"wide":""," eb-filter-img-").concat(p)}),b)),void 0!==D&&React.createElement(React.Fragment,null,!k&&React.createElement("a",(0,o.A)({key:a,href:g?"javascript:void(0)":e.url},F,{className:"eb-gallery-img-content ".concat("masonry"==n&&P&&H(a)?"wide":""," eb-filter-img-").concat(p)}),d),k&&React.createElement("a",(0,o.A)({key:a,href:g?k&&e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#":e.url},F,{target:g&&k&&e.openNewTab?"_blank":"_self",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&H(a)?"wide":""," eb-filter-img-").concat(p)}),d))),"default"!==x&&"pro-preset-5"!==x&&"pro-preset-6"!==x&&React.createElement("div",{key:a,"data-type":"image",className:"eb-gallery-img-content ".concat("masonry"==n&&P&&H(a)?"wide":""," eb-filter-img-").concat(p)},React.createElement("div",{className:"eb-gallery-link-wrapper"},"preset-3"==x&&React.createElement("div",{className:"eb-gallery-img-container"},React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T})))),"preset-3"!==x&&React.createElement("img",{className:"eb-gallery-img",src:e.url,"image-index":a,alt:e.alt}),React.createElement("div",{className:"eb-img-gallery-overlay"},"preset-3"!==x&&(!g||k)&&React.createElement("div",{className:"eb-img-gallery-actions"},!g&&React.createElement("a",{href:e.url,"data-fslightbox":"gallery",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:B})),k&&React.createElement("a",{href:e.customLink&&e.isValidUrl?(0,c.sanitizeURL)(e.customLink):"#",target:e.openNewTab?"_blank":"_self",rel:"noopener",className:"eb-img-gallery-action"},React.createElement(c.EBDisplayIcon,{icon:T}))),(s&&e.caption||S&&e.content)&&React.createElement("div",{className:"eb-img-gallery-content"},s&&e.caption&&e.caption.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-caption",dangerouslySetInnerHTML:{__html:e.caption}})),S&&e.content&&e.content.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-gallery-img-description",dangerouslySetInnerHTML:{__html:e.content}})))))),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_markup","",t,e,a,p,f))})),(0,i.applyFilters)("eb_filterable_gallery_pro_presets_popup","",t),h&&""!==I&&React.createElement("div",{id:"eb-img-gallery-not-found"},React.createElement(te,null),React.createElement("p",null,I)),_&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.Content,{attributes:t,type:"button",btnWrapperClassName:"eb-img-gallery-loadmore-container",className:"eb-img-gallery-loadmore ".concat(E?"loadmore-disable":""),buttonAttrProps:L,buttonData:j,disable:!1,loadingIcon:!!E}))))}},deprecated:Ue,example:{attributes:{cover:"".concat(null===(Ge=EssentialBlocksLocalize)||void 0===Ge?void 0:Ge.image_url,"/block-preview/image-gallery.jpg")}}})},5071:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(5694),i=a(4715),s=a(6427),p={buttonText:"buttonText",textColor:"buttonTextColor",hoverTextColor:"buttonHvrTextColor",buttonURL:"infoboxLink",newWindow:"linkNewTab",hoverEffect:"btnEffect",buttonAlign:"btnAlign"},b=[{label:(0,n.__)("Preset 1","essential-blocks"),value:"preset1"},{label:(0,n.__)("Preset 2","essential-blocks"),value:"preset2"},{label:(0,n.__)("Preset 3","essential-blocks"),value:"preset3"},{label:(0,n.__)("Preset 4","essential-blocks"),value:"preset4"}],d=[{label:(0,n.__)("image","essential-blocks"),value:"image"},{label:(0,n.__)("icon","essential-blocks"),value:"icon"},{label:(0,n.__)("Text","essential-blocks"),value:"number"}],m=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],u=[{label:(0,n.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"flex-end"}],g=[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}],f=[{label:"Fill",value:"fill"},{label:"Gradient",value:"gradient"}],y=["h1","h2","h3","h4","h5","h6"],h=((0,n.__)("Fill","essential-blocks"),(0,n.__)("Gradient","essential-blocks"),(0,n.__)("Image","essential-blocks"),(0,n.__)("Auto","essential-blocks"),(0,n.__)("Cover","essential-blocks"),(0,n.__)("Contain","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Dashed","essential-blocks"),(0,n.__)("Solid","essential-blocks"),(0,n.__)("Dotted","essential-blocks"),(0,n.__)("Double","essential-blocks"),(0,n.__)("Groove","essential-blocks"),(0,n.__)("Inset","essential-blocks"),(0,n.__)("Outset","essential-blocks"),(0,n.__)("Ridge","essential-blocks"),(0,n.__)("Select Hover Effect","essential-blocks"),(0,n.__)("Grow","essential-blocks"),(0,n.__)("Shrink","essential-blocks"),(0,n.__)("Pulse","essential-blocks"),(0,n.__)("Pulse Grow","essential-blocks"),(0,n.__)("Pulse Shrink","essential-blocks"),(0,n.__)("Push","essential-blocks"),(0,n.__)("Pop","essential-blocks"),(0,n.__)("Bounce In","essential-blocks"),(0,n.__)("Bounce Out","essential-blocks"),(0,n.__)("Rotate","essential-blocks"),(0,n.__)("Grow Rotate","essential-blocks"),(0,n.__)("Float","essential-blocks"),(0,n.__)("Sink","essential-blocks"),(0,n.__)("Bob","essential-blocks"),(0,n.__)("Hang","essential-blocks"),(0,n.__)("Skew","essential-blocks"),(0,n.__)("Skew Forward","essential-blocks"),(0,n.__)("Skew Backward","essential-blocks"),(0,n.__)("Wobble Horizontal","essential-blocks"),(0,n.__)("Wobble Vertical","essential-blocks"),(0,n.__)("Wobble To Bottom Right","essential-blocks"),(0,n.__)("Wobble To Top Right","essential-blocks"),(0,n.__)("Wobble Top","essential-blocks"),(0,n.__)("Wobble Bottom","essential-blocks"),(0,n.__)("Wobble Skew","essential-blocks"),(0,n.__)("Buzz","essential-blocks"),(0,n.__)("Buzz Out","essential-blocks"),(0,n.__)("Forward","essential-blocks"),(0,n.__)("Fade","essential-blocks"),(0,n.__)("Back Pulse","essential-blocks"),(0,n.__)("Sweep To Right","essential-blocks"),(0,n.__)("Sweep To Left","essential-blocks"),(0,n.__)("Sweep To Bottom","essential-blocks"),(0,n.__)("Sweep To Top","essential-blocks"),(0,n.__)("Bounce To Right","essential-blocks"),(0,n.__)("Bounce To Left","essential-blocks"),(0,n.__)("Bounce To Bottom","essential-blocks"),(0,n.__)("Bounce To Top","essential-blocks"),(0,n.__)("Radial Out","essential-blocks"),(0,n.__)("Radial In","essential-blocks"),(0,n.__)("Rectangle In","essential-blocks"),(0,n.__)("Rectangle Out","essential-blocks"),(0,n.__)("Shutter In Horizontal","essential-blocks"),(0,n.__)("Shutter Out Horizontal","essential-blocks"),(0,n.__)("Shutter In Vertical","essential-blocks"),(0,n.__)("Shutter Out Vertical","essential-blocks"),(0,n.__)("Curl Top Left","essential-blocks"),(0,n.__)("Curl Top Right","essential-blocks"),(0,n.__)("Curl Bottom Right","essential-blocks"),(0,n.__)("Curl Bottom Left","essential-blocks"),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignleft"})),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignright"})),[{label:(0,n.__)("Circle","essential-blocks"),value:"circle"},{label:(0,n.__)("Square","essential-blocks"),value:"square"}]),v=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Framed","essential-blocks"),value:"framed"},{label:(0,n.__)("Stacked","essential-blocks"),value:"stacked"}];function w(e){var t=e.attributes,a=e.setAttributes,n=t.blockId,o=t.media,r=t.infoboxIcon,l=t.number,i=t.imageUrl,s=t.titleTag,b=t.title,d=t.enableSubTitle,m=t.subTitleTag,u=t.subTitle,g=t.enableDescription,f=t.description,y=t.enableButton,h=t.isInfoClick,v=t.btnEffect,w=t.classHook,k=t.showMedia,R=t.enableTitle;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(w)},React.createElement("div",{className:"".concat(n," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},k&&React.createElement(React.Fragment,null,"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:r,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},l))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},i&&React.createElement(c.ImageComponent,{hasStyle:!1}))):null),React.createElement("div",{className:"contents-wrapper"},R&&React.createElement(React.Fragment,null,React.createElement(c.DynamicInputValueHandler,{tagName:s,className:"title",value:b,onChange:function(e){return a({title:e})}}),d?React.createElement(c.DynamicInputValueHandler,{tagName:m,className:"subtitle",value:u,onChange:function(e){return a({subTitle:e})}}):null),g?React.createElement(c.DynamicInputValueHandler,{tagName:"p",className:"description",value:f,onChange:function(e){return a({description:e})}}):null,y&&!h?React.createElement(c.EBButton,{className:"infobox-btn ".concat(v||" "),buttonAttrProps:p,urlInput:!1,btnWrapperClassName:"eb-infobox-btn-wrapper"}):null))))}var k="wrp_",R="btbg_",_="wrp_",C="btbds_",E="mediaBdShd_",x="number",S="title",B="subTitle",T="content",N="buttonText",P="mediaBgSize",O="mediaBgRadius",I="mediaBgMargin",D="buttonPadding",A="titlePadding",M="subTitlePadding",L="contentPadding",F="wrapperMargin",j="wrapperPadding",H="mIconZ",z="mImgW",U="mImgH",V="mcSp";function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const W=q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},version:{type:"string",default:"1"},blockMeta:{type:"object"},isOverlay:{type:"boolean",default:!1},layoutPreset:{type:"string",default:"preset1"},media:{type:"string",default:"icon"},numIconColor:{type:"string",default:"var(--eb-global-background-color)"},useNumIconBg:{type:"boolean",default:!0},numIconBgType:{type:"string",default:"fill"},numIconBgColor:{type:"string",default:"var(--eb-global-primary-color)"},numIconBgGradient:{type:"string",default:"var(--eb-global-background-color)"},imageUrlOld:{source:"attribute",selector:".eb-infobox-image",attribute:"src"},mediaImgWidthUnit:{type:"string",default:"px"},mediaImgWidth:{type:"number",default:300},TABmediaImgWidth:{type:"number"},MOBmediaImgWidth:{type:"number"},isMediaImgHeightAuto:{type:"boolean",default:!0},mediaImgHeightUnit:{type:"string",default:"px"},mediaImgHeight:{type:"number"},TABmediaImgHeight:{type:"number"},MOBmediaImgHeight:{type:"number"},selectedIcon:{type:"string",source:"attribute",selector:".eb-infobox-icon-data-selector",attribute:"data-icon",default:"far fa-gem"},infoboxIcon:{type:"string",default:"far fa-gem"},number:{type:"string"},enableSubTitle:{type:"boolean",default:!1},enableDescription:{type:"boolean",default:!0},enableButton:{type:"boolean",default:!0},isInfoClick:{type:"boolean",default:!1},title:{type:"text",selector:".title",default:"This is an info box"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},subTitle:{type:"text",selector:".subtitle",default:"This is a Sub title"},subTitleColor:{type:"string",default:"var(--eb-global-text-color)"},description:{type:"text",selector:".description",default:"Write a short description, that will describe the title or something informational and useful"},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},iconSize:{type:"number",default:50},TABiconSize:{type:"number"},MOBiconSize:{type:"number"},flexDirection:{type:"string"},mediaAlignSelf:{type:"string"},contentAlignment:{type:"string"},titleTag:{type:"string",default:"h2"},subTitleTag:{type:"string",default:"h3"},mediaAlignment:{type:"string",default:"center"},contentsAlignment:{type:"string",default:"center"},enableTitle:{type:"boolean",default:!0},showMedia:{type:"boolean",default:!0},iconView:{type:"string",default:"default"},iconShape:{type:"string",default:"circle"}},(0,c.generateResponsiveRangeAttributes)(H,{defaultRange:50})),(0,c.generateResponsiveRangeAttributes)(V,{defaultRange:20,noUnits:!0})),(0,c.generateTypographyAttributes)(x,{fontSize:28})),(0,c.generateTypographyAttributes)(S,{fontSize:26})),(0,c.generateTypographyAttributes)(B,{fontSize:22})),(0,c.generateTypographyAttributes)(T,{fontSize:20})),(0,c.generateTypographyAttributes)(N,{fontSize:20})),(0,c.generateDimensionsAttributes)(P,{top:20,bottom:20,right:20,left:20})),(0,c.generateDimensionsAttributes)(O,{top:20,bottom:20,isLinked:!1})),(0,c.generateDimensionsAttributes)(A,{top:10,bottom:10,isLinked:!1})),(0,c.generateDimensionsAttributes)(M,{top:10,bottom:10,isLinked:!1})),(0,c.generateDimensionsAttributes)(L,{top:10,bottom:50,isLinked:!1})),(0,c.generateDimensionsAttributes)(F)),(0,c.generateDimensionsAttributes)(j,{top:50,bottom:70,right:30,left:30,isLinked:!1})),(0,c.generateBorderShadowAttributes)(_,{})),(0,c.generateBackgroundAttributes)(k,{isBgDefaultGradient:!0,defaultBgGradient:"linear-gradient(90deg, rgba(249,250,251,1) 0% , rgba(250,250,250,1) 100%)"})),null===c.EBButton||void 0===c.EBButton?void 0:c.EBButton.addAttributes(p,"",!1,"",!0,{key:R,default:{noOverlay:!0,noMainBgi:!0,defaultFillColor:"var(--eb-global-button-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)"}},!0,{key:C,default:{bdrDefaults:{top:2,bottom:2,right:2,left:2},rdsDefaults:{top:10,bottom:10,right:10,left:10}}},!0,{key:D,default:{top:15,bottom:15,right:30,left:30,isLinked:!1}})),null===c.ImageComponent||void 0===c.ImageComponent?void 0:c.ImageComponent.addAttributes({border:{key:E},margin:{key:I,default:{top:15,isLinked:!1}},width:{key:z,default:{defaultRange:300}},height:{key:U}})),Z=function(e){var t=e.attributes,a=e.setAttributes,o=(t.blockId,t.resOption,t.layoutPreset),r=t.media,i=t.enableSubTitle,w=t.number,G=(t.imageUrl,t.imageAlt,t.infoboxIcon),q=t.flexDirection,W=t.enableDescription,Z=t.useNumIconBg,J=t.numIconColor,Y=t.numIconBgType,Q=t.numIconBgColor,X=t.numIconBgGradient,$=(t.imageId,t.isMediaImgHeightAuto,t.title),K=t.titleTag,ee=t.subTitle,te=t.subTitleTag,ae=t.enableButton,ne=t.isInfoClick,oe=(t.buttonText,t.infoboxLink),re=(t.buttonTextColor,t.buttonHvrTextColor,t.titleColor),le=t.subTitleColor,ce=t.description,ie=t.descriptionColor,se=t.mediaAlignment,pe=t.contentsAlignment,be=(t.btnAlignment,t.btnEffect,t.linkNewTab),de=t.showMedia,me=t.enableTitle,ue=(t.addBtnIcon,t.btnIcon,t.btnIconPosition,t.iconView),ge=t.iconShape;(0,l.useEffect)(function(){"none"==r&&a({showMedia:!1,media:"icon"})},[r]);var fe=function(e,t,n){"icon"===e&&("default"!==t?("framed"==t?a({mediaBdShd_BorderType:"normal",mediaBdShd_borderColor:"rgba(0,0,0,1)",mediaBdShd_borderStyle:"solid",mediaBdShd_Bdr_Bottom:"6",mediaBdShd_Bdr_Left:"6",mediaBdShd_Bdr_Right:"6",mediaBdShd_Bdr_Top:"6",mediaBdShd_Bdr_Unit:"px",mediaBdShd_Bdr_isLinked:!0,numIconBgType:"fill",numIconBgColor:"",numIconColor:"var(--eb-global-primary-color)"}):"stacked"==t&&a({mediaBdShd_BorderType:"normal",mediaBdShd_borderColor:"var(--eb-global-primary-color)",mediaBdShd_borderStyle:"none",mediaBdShd_Bdr_Bottom:"6",mediaBdShd_Bdr_Left:"6",mediaBdShd_Bdr_Right:"6",mediaBdShd_Bdr_Top:"6",mediaBdShd_Bdr_Unit:"px",mediaBdShd_Bdr_isLinked:!0,numIconBgType:"fill",numIconBgColor:"var(--eb-global-primary-color)",numIconColor:"var(--eb-global-background-color)"}),a("circle"==n?{mediaBgRadiusBottom:"50",mediaBgRadiusLeft:"50",mediaBgRadiusRight:"50",mediaBgRadiusTop:"50",mediaBgRadiusUnit:"%",mediaBgRadiusisLinked:!0}:{mediaBgRadiusBottom:"0",mediaBgRadiusLeft:"0",mediaBgRadiusRight:"0",mediaBgRadiusTop:"0",mediaBgRadiusUnit:"px",mediaBgRadiusisLinked:!0})):a({mediaBgRadiusBottom:"20",mediaBgRadiusLeft:"0",mediaBgRadiusRight:"0",mediaBgRadiusTop:"20",mediaBgRadiusUnit:"px",mediaBgRadiusisLinked:!1,numIconBgType:"fill",numIconBgColor:"var(--eb-global-primary-color)",numIconColor:"var(--eb-global-background-color)"}))};return React.createElement(c.InspectorPanel,{advancedControlProps:{marginPrefix:F,paddingPrefix:j,backgroundPrefix:k,borderPrefix:_,hasMargin:!0}},React.createElement(c.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Infobox Settings","essential-blocks"),initialOpen:!0},React.createElement(s.SelectControl,{label:(0,n.__)("Layout Preset ","essential-blocks"),value:o,options:b,onChange:function(e){return function(e){switch(a({layoutPreset:e}),e){case"preset1":a({flexDirection:"column",contentAlignment:"center",mediaAlignSelf:"center",contentsAlignment:"center",mediaAlignment:"center",btnAlign:"center"});break;case"preset2":a({flexDirection:"column-reverse",contentAlignment:"center",mediaAlignSelf:"center",contentsAlignment:"center",mediaAlignment:"center",btnAlign:"center"});break;case"preset3":a({flexDirection:"row",contentAlignment:"left",mediaAlignSelf:"flex-start",contentsAlignment:"left",mediaAlignment:"flex-start",btnAlign:"flex-start"});break;case"preset4":a({flexDirection:"row-reverse",contentAlignment:"right",mediaAlignSelf:"flex-start",contentsAlignment:"right",mediaAlignment:"flex-start",btnAlign:"flex-end"})}}(e)}}),React.createElement(s.__experimentalDivider,null),React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Title","essential-blocks"),checked:me,onChange:function(){return a({enableTitle:!me})}}),me&&React.createElement(React.Fragment,null,React.createElement(c.DynamicInputControl,{label:(0,n.__)("Title Text","essential-blocks"),attrName:"title",inputValue:$||"",setAttributes:a,onChange:function(e){return a({title:e})}}),React.createElement(s.BaseControl,{label:(0,n.__)("Title Tag","essential-blocks")},React.createElement(s.ButtonGroup,{className:"infobox-button-group"},y.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:K!==e,isPrimary:K===e,onClick:function(){return a({titleTag:e})}},e.toUpperCase())}))),React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Subtitle","essential-blocks"),checked:i,onChange:function(){return a({enableSubTitle:!i})}}),i&&React.createElement(React.Fragment,null,React.createElement(c.DynamicInputControl,{label:(0,n.__)("Subtitle Text","essential-blocks"),attrName:"subTitle",inputValue:ee||"",setAttributes:a,onChange:function(e){return a({subTitle:e})}}),React.createElement(s.BaseControl,{label:(0,n.__)("Subtitle Tag","essential-blocks")},React.createElement(s.ButtonGroup,{className:"infobox-button-group"},y.map(function(e,t){return React.createElement(s.Button,{key:t,isSecondary:te!==e,isPrimary:te===e,onClick:function(){return a({subTitleTag:e})}},e.toUpperCase())}))))),React.createElement(s.ToggleControl,{label:(0,n.__)("Enable content","essential-blocks"),checked:W,onChange:function(){return a({enableDescription:!W})}}),W&&React.createElement(c.DynamicInputControl,{label:(0,n.__)("Content","essential-blocks"),attrName:"description",inputValue:ce||"",setAttributes:a,onChange:function(e){return a({description:e})},isTextarea:!0}),React.createElement(s.ToggleControl,{label:(0,n.__)("Enable Media","essential-blocks"),checked:de,onChange:function(){return a({showMedia:!de})}}),de&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{id:"eb-infobox-image-icon"},React.createElement(s.ButtonGroup,{id:"eb-infobox-image-icon"},d.map(function(e,t){var n=e.label,o=e.value;return React.createElement(s.Button,{key:t,isSecondary:r!==o,isPrimary:r===o,onClick:function(){a({media:o}),fe(r,ue,ge)}},n)}))),"icon"===r&&React.createElement(React.Fragment,null,React.createElement(c.EBIconPicker,{value:G,attributeName:"infoboxIcon"}),React.createElement(s.SelectControl,{label:(0,n.__)("Icon View","essential-blocks"),value:ue,options:v,onChange:function(e){a({iconView:e}),fe(r,e,ge)}}),"default"!==ue&&React.createElement(s.SelectControl,{label:(0,n.__)("Icon Shape","essential-blocks"),value:ge,options:h,onChange:function(e){a({iconShape:e}),fe(r,ue,e)}})),"number"===r&&React.createElement(React.Fragment,null,React.createElement(c.DynamicInputControl,{label:(0,n.__)("Text","essential-blocks"),attrName:"number",inputValue:w||"",setAttributes:a,onChange:function(e){return a({number:e})}})),"image"===r&&React.createElement(c.ImageComponent.GeneralTab,{hasStyle:!1})),React.createElement(s.__experimentalDivider,null),React.createElement(s.ToggleControl,{label:(0,n.__)("Clickable Infobox","essential-blocks"),checked:ne,onChange:function(){return a({isInfoClick:!ne})}}),ne&&React.createElement(React.Fragment,null,React.createElement(c.EBTextControl,{label:(0,n.__)("Infobox Link","essential-blocks"),fieldType:"url",value:oe||"",onChange:function(e){return a({infoboxLink:e})},placeholder:"https://your-link.com",help:(0,n.__)("Enter the URL for the clickable infobox.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:be,onChange:function(){return a({linkNewTab:!be})}})),!ne&&React.createElement(s.ToggleControl,{label:(0,n.__)("Show button","essential-blocks"),checked:ae,onChange:function(){return a({enableButton:!ae})}})),ae&&!ne&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.GeneralTab,{label:(0,n.__)("Button","essential-blocks"),buttonAttrProps:p,hasIcon:!0,hasAlignment:!0,hasWidth:!1})))),React.createElement(c.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Alignments","essential-blocks"),initialOpen:!0},de&&React.createElement(React.Fragment,null,("row"===q||"row-reverse"===q)&&React.createElement(s.BaseControl,{id:"eb-infobox-alignments",label:(0,n.__)("Media alignments","essential-blocks")},React.createElement(s.ButtonGroup,{id:"eb-infobox-alignments"},g.map(function(e,t){var n=e.value,o=e.label;return React.createElement(s.Button,{key:t,isSecondary:se!==n,isPrimary:se===n,onClick:function(){return a({mediaAlignment:n})}},o)}))),("column"===q||"column-reverse"===q)&&React.createElement(s.BaseControl,{id:"eb-infobox-alignments",label:(0,n.__)("Media alignments","essential-blocks")},React.createElement(s.ButtonGroup,{id:"eb-infobox-alignments"},u.map(function(e,t){var n=e.value,o=e.label;return React.createElement(s.Button,{key:t,isSecondary:se!==n,isPrimary:se===n,onClick:function(){return a({mediaAlignment:n})}},o)})))),React.createElement(s.BaseControl,{id:"eb-infobox-alignments",label:(0,n.__)("Contents alignments","essential-blocks")},React.createElement(s.ButtonGroup,{id:"eb-infobox-alignments"},m.map(function(e,t){var n=e.value,o=e.label;return React.createElement(s.Button,{key:t,isSecondary:pe!==n,isPrimary:pe===n,onClick:function(){return a({contentsAlignment:n})}},o)})))),de&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Media","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,"icon"===r&&G&&React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:H,min:8,max:200,step:1}),"number"===r&&React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Text Typography","essential-blocks"),typographyPrefixConstant:x}),("number"===r||"icon"===r)&&React.createElement(React.Fragment,null,React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:J,attributeName:"numIconColor"}),React.createElement(c.ResponsiveDimensionsControl,{controlName:P,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(s.ToggleControl,{label:(0,n.__)("Use Background","essential-blocks"),checked:Z,onChange:function(){return a({useNumIconBg:!Z})}}),Z&&React.createElement(React.Fragment,null,React.createElement(s.BaseControl,{label:(0,n.__)("Background Type","essential-blocks")},React.createElement(s.ButtonGroup,{id:"eb-infobox-infobox-background"},f.map(function(e,t){var n=e.value,o=e.label;return React.createElement(s.Button,{key:t,isPrimary:Y===n,isSecondary:Y!==n,onClick:function(){return a({numIconBgType:n})}},o)}))),"fill"===Y&&React.createElement(c.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Q,attributeName:"numIconBgColor"}),"gradient"===Y&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Gradient","essential-blocks")},React.createElement(c.GradientColorControl,{gradientColor:X,onChange:function(e){return a({numIconBgGradient:e})}})))),React.createElement(c.ResponsiveRangeController,{baseLabel:(0,n.__)("Media & content spacing","Infobox"),controlName:V,min:0,max:500,step:1,noUnits:!0}),React.createElement(c.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!0},React.createElement(c.BorderShadowControl,{controlName:E,noBorderRadius:!0,noBorderRadiusHover:!0}),React.createElement(c.ResponsiveDimensionsControl,{forBorderRadius:!0,controlName:O,baseLabel:(0,n.__)("Border Radius","essential-blocks")})))),me&&React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(c.ResponsiveDimensionsControl,{controlName:A,baseLabel:(0,n.__)("Title Padding","essential-blocks")}),React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:re,attributeName:"titleColor"})),i&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:B}),React.createElement(c.ResponsiveDimensionsControl,{controlName:M,baseLabel:(0,n.__)("Subtitle Padding","essential-blocks")}),React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:le,attributeName:"subTitleColor"})))),W&&React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:T}),React.createElement(c.ResponsiveDimensionsControl,{controlName:L,baseLabel:(0,n.__)("Content Padding","essential-blocks")}),React.createElement(c.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ie,attributeName:"descriptionColor"}))),ae&&!ne&&React.createElement(React.Fragment,null,React.createElement(c.EBButton.StyleTab,{label:(0,n.__)("Button","essential-blocks"),buttonAttrProps:p,hasTypography:!0,typography:N,hasPadding:!0,padding:D,background:R,border:C,hasHoverEffect:!0})),React.createElement(c.ImageComponent.StyleTab,{border:E,margin:I,width:z,height:U,hasRadius:!1,hasAutoHeight:!0}))))};function J(e){var t=e.setAttributes,a=e.name,n=(0,c.useBlockAttributes)(),o=(n.resOption,n.blockMeta,n.blockId),r=n.media,l=(n.imageUrl,n.enableSubTitle),i=n.enableDescription,s=n.flexDirection,b=n.mediaAlignSelf,d=n.contentAlignment,m=n.useNumIconBg,u=n.numIconColor,g=n.numIconBgType,f=n.numIconBgColor,y=n.numIconBgGradient,h=(n["".concat(z,"Unit")],n["TAB".concat(z,"Unit")]),v=n["MOB".concat(z,"Unit")],w=n.isMediaImgHeightAuto,G=(n.buttonTextColor,n.buttonHvrTextColor,n.titleColor),q=void 0===G?"#fff":G,W=n.subTitleColor,Z=void 0===W?"#fff":W,J=n.descriptionColor,Y=void 0===J?"#fff":J,Q=n.mediaAlignment,X=n.contentsAlignment,$=(n.btnAlignment,n.numberFontSize),K=n.TABnumberFontSize,ee=n.MOBnumberFontSize,te=n.mIconZRange,ae=n.TABmIconZRange,ne=n.MOBmIconZRange,oe=n.mIconZUnit,re=n.TABmIconZUnit,le=n.MOBmIconZUnit,ce=n.numberSizeUnit,ie=n.TABnumberSizeUnit,se=n.MOBnumberSizeUnit,pe=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:S}),be=pe.typoStylesDesktop,de=pe.typoStylesTab,me=pe.typoStylesMobile,ue=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:B}),ge=ue.typoStylesDesktop,fe=ue.typoStylesTab,ye=ue.typoStylesMobile,he=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:T}),ve=he.typoStylesDesktop,we=he.typoStylesTab,ke=he.typoStylesMobile,Re=(0,c.generateTypographyStyles)({attributes:n,prefixConstant:x}),_e=Re.typoStylesDesktop,Ce=Re.typoStylesTab,Ee=Re.typoStylesMobile,xe=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:P,styleFor:"padding"}),Se=xe.dimensionStylesDesktop,Be=xe.dimensionStylesTab,Te=xe.dimensionStylesMobile,Ne=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:O,styleFor:"border-radius"}),Pe=Ne.dimensionStylesDesktop,Oe=Ne.dimensionStylesTab,Ie=Ne.dimensionStylesMobile,De=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:I,styleFor:"margin"}),Ae=De.dimensionStylesDesktop,Me=De.dimensionStylesTab,Le=De.dimensionStylesMobile,Fe=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:A,styleFor:"padding"}),je=Fe.dimensionStylesDesktop,He=Fe.dimensionStylesTab,ze=Fe.dimensionStylesMobile,Ue=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:M,styleFor:"padding"}),Ve=Ue.dimensionStylesDesktop,Ge=Ue.dimensionStylesTab,qe=Ue.dimensionStylesMobile,We=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:L,styleFor:"padding"}),Ze=We.dimensionStylesDesktop,Je=We.dimensionStylesTab,Ye=We.dimensionStylesMobile,Qe=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:j,styleFor:"padding"}),Xe=Qe.dimensionStylesDesktop,$e=Qe.dimensionStylesTab,Ke=Qe.dimensionStylesMobile,et=(0,c.generateDimensionsControlStyles)({attributes:n,controlName:F,styleFor:"margin"}),tt=et.dimensionStylesDesktop,at=et.dimensionStylesTab,nt=et.dimensionStylesMobile,ot=(0,c.generateBackgroundControlStyles)({attributes:n,controlName:k}),rt=ot.backgroundStylesDesktop,lt=ot.hoverBackgroundStylesDesktop,ct=ot.backgroundStylesTab,it=ot.hoverBackgroundStylesTab,st=ot.backgroundStylesMobile,pt=ot.hoverBackgroundStylesMobile,bt=ot.overlayStylesDesktop,dt=ot.hoverOverlayStylesDesktop,mt=ot.overlayStylesTab,ut=ot.hoverOverlayStylesTab,gt=ot.overlayStylesMobile,ft=ot.hoverOverlayStylesMobile,yt=ot.bgTransitionStyle,ht=ot.ovlTransitionStyle,vt=(0,c.generateBorderShadowStyles)({controlName:_,attributes:n}),wt=vt.styesDesktop,kt=vt.styesTab,Rt=vt.styesMobile,_t=vt.stylesHoverDesktop,Ct=vt.stylesHoverTab,Et=vt.stylesHoverMobile,xt=vt.transitionStyle,St=(0,c.generateBorderShadowStyles)({controlName:E,attributes:n}),Bt=St.styesDesktop,Tt=St.styesTab,Nt=St.styesMobile,Pt=St.stylesHoverDesktop,Ot=St.stylesHoverTab,It=St.stylesHoverMobile,Dt=St.transitionStyle,At=(0,c.generateResponsiveRangeStyles)({controlName:H,customUnit:"px",property:"font-size",attributes:n}),Mt=At.rangeStylesDesktop,Lt=At.rangeStylesTab,Ft=At.rangeStylesMobile,jt=(0,c.generateResponsiveRangeStyles)({controlName:V,customUnit:"px",property:"gap",attributes:n}),Ht=jt.rangeStylesDesktop,zt=jt.rangeStylesTab,Ut=jt.rangeStylesMobile,Vt=(0,c.generateResponsiveRangeStyles)({controlName:U,property:"height",attributes:n}),Gt=(Vt.rangeStylesDesktop,Vt.rangeStylesTab,Vt.rangeStylesMobile),qt=(0,c.generateResponsiveRangeStyles)({controlName:z,property:"width",attributes:n}),Wt=(qt.rangeStylesDesktop,qt.rangeStylesTab,qt.rangeStylesMobile),Zt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(tt,"\n\t\t\t").concat(Xe,"\n\t\t\t").concat(wt,"\n\t\t\t").concat(rt,"\n\t\t\ttransition: ").concat(yt,", ").concat(xt,";\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat(lt,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(bt,"\n\t\t\ttransition: ").concat(ht,";\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(dt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat(s?"flex-direction: ".concat(s,";"):" ","\n\t\t\t").concat("none"!==r?"".concat(Ht):"","\n\t\t}\n\n ").concat("image"===r?"\n .eb-infobox-wrapper.".concat(o," .eb-infobox-image-wrapper img {\n ").concat(Pe,"\n }\n "):" ","\n\n\t\t").concat("none"!==r?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\t\t\t\t\t").concat("align-self: ".concat(Q||b||"center",";"),"\n\n\t\t\t\t\t").concat(Ae,"\n\n\t\t\t\t}\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\t\t\t\t\t\t\t").concat(Se,"\n\t\t\t\t\t\t\t").concat(Pe,"\n\n ").concat(Bt,"\n transition: ").concat(Dt,";\n\n\t\t\t\t\t\t\t").concat(m?"".concat("fill"===g?"background-color: ".concat(f,";"):"gradient"===g?"background-image: ".concat(y,";"):" "):" ","\n\n\t\t\t\t\t\t}\n\n .eb-infobox-wrapper.").concat(o," .number-or-icon:hover {\n ").concat(Pt,"\n }\n\n\t\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .number-or-icon > * {\n\t\t\t\t\t\t\tcolor: ").concat(u||"#fff",";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t").concat(_e,"\n\t\t\t\t\t\theight:").concat($||28).concat(ce,";\n\t\t\t\t\t\twidth:").concat($||28).concat(ce,";\n\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\tjustify-content:center;\n\t\t\t\t\t\talign-items:center;\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(Mt,"\n\t\t\t\t\t\t\theight:").concat(te).concat(oe,";\n\t\t\t\t\t\t\twidth:").concat(te).concat(oe,";\n\t\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\t\tjustify-content:center;\n\t\t\t\t\t\t\talign-items:center;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"):" ","\n\n\t\t\t"):" ","\n\n\t\t.eb-infobox-wrapper.").concat(o," .contents-wrapper {\n\t\t\tflex: 1;\n\t\t\t").concat(d?"text-align: ".concat(d,";"):" ","\n\n\t\t\t").concat("text-align: ".concat(X||d,";"),"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat(be,"\n\t\t\t").concat(je,"\n\t\t\t").concat(q?"color: ".concat(q,";"):" ","\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(ge,"\n\t\t\t\t\t").concat(Ve,"\n\t\t\t\t\t").concat(Z?"color: ".concat(Z,";"):" ","\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\n\t\t\t\t\t").concat(ve,"\n\t\t\t\t\t").concat(Ze,"\n\t\t\t\t\t").concat(Y?"color: ".concat(Y,";"):" ","\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\t\t"),Jt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(at,"\n\t\t\t").concat($e,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(kt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat(it,"\n\t\t\t").concat(Ct,"\n\t\t}\n\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(mt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ut,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat("none"!==r?"".concat(zt):"","\n\t\t}\n\n\t\t").concat("none"!==r?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\n\t\t\t\t\t").concat(Me,"\n\t\t\t\t}\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\t\t\t\t\t\t\t").concat(Oe,"\n\t\t\t\t\t\t\t").concat(Be,"\n ").concat(Tt,"\n\t\t\t\t\t\t}\n\n .eb-infobox-wrapper.").concat(o," .number-or-icon:hover {\n ").concat(Ot,"\n }\n\n\t\t\t\t\t\t"):" ","\n\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t\t").concat(Ce,"\n\t\t\t\t\t\t\t").concat(K?"height:".concat(K).concat(ie,";"):"","\n\t\t\t\t\t\t\t").concat(K?"width:".concat(K).concat(ie,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(Lt,"\n\t\t\t\t\t\t\t").concat(ae?"height:".concat(ae).concat(re,";"):"","\n\t\t\t\t\t\t\t").concat(ae?"width:".concat(ae).concat(re,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\t\t\t"):" ","\n\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat(de,"\n\t\t\t").concat(He,"\n\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(fe,"\n\t\t\t\t\t").concat(Ge,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\t\t\t\t\t").concat(we,"\n\t\t\t\t\t").concat(Je,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t"),Yt="\n\t\t.eb-infobox-wrapper.".concat(o," {\n\t\t\t").concat(nt,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(st,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover{\n\t\t\t").concat(pt,"\n\t\t\t").concat(Et,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o,":before{\n\t\t\t").concat(gt,"\n\t\t}\n\n\n\t\t.eb-infobox-wrapper.").concat(o,":hover:before{\n\t\t\t").concat(ft,"\n\t\t}\n\n\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner {\n\t\t\t").concat("none"!==r?"".concat(Ut):"","\n\t\t}\n\n\t\t").concat("none"!==r?"\n\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper {\n\n\t\t\t\t\t").concat(Le,"\n\t\t\t\t}\n\n\t\t\t\t").concat("number"===r||"icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .number-or-icon {\n\t\t\t\t\t\t\t").concat(Ie,"\n\t\t\t\t\t\t\t").concat(Te,"\n ").concat(Nt,"\n\t\t\t\t\t\t}\n\n .eb-infobox-wrapper.").concat(o," .number-or-icon:hover {\n ").concat(It,"\n }\n\n\t\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("number"===r?"\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," span.eb-infobox-number{\n\t\t\t\t\t\t").concat(Ee,"\n\t\t\t\t\t\t").concat(ee?"height:".concat(ee).concat(se,";"):"","\n\t\t\t\t\t\t").concat(ee?"width:".concat(ee).concat(se,";"):"","\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("icon"===r?"\n\n\t\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .icon-img-wrapper .eb-infobox-icon-data-selector {\n\t\t\t\t\t\t\t").concat(Ft,"\n\t\t\t\t\t\t\t").concat(ne?"height:".concat(ne).concat(le,";"):"","\n\t\t\t\t\t\t\t").concat(ne?"width:".concat(ne).concat(le,";"):"","\n\t\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\t\t\t\t").concat("image"===r?"\n\n\n\t\t\t\t\t.eb-infobox-wrapper.".concat(o," .infobox-wrapper-inner .icon-img-wrapper{\n\t\t\t\t\t\t").concat("%"===v?Wt:"%"===h?"width: auto;":" ","\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner img {\n ").concat(Nt,"\n\n\t\t\t\t\t\t").concat("%"===v?"%"===h?" ":"width: 100%;":Wt,"\n\n\t\t\t\t\t\t").concat(w?"":Gt,"\n\n\t\t\t\t\t}\n\n\n .eb-infobox-wrapper.").concat(o," .infobox-wrapper-inner img:hover {\n ").concat(It,"\n }\n\t\t\t\t\t.eb-infobox-wrapper.").concat(o," .eb-infobox-image-wrapper{\n\t\t\t\t\t\t").concat(Ie,"\n\t\t\t\t\t}\n\n\t\t\t\t\t"):" ","\n\n\n\n\t\t\t"):" ","\n\n\t\t.eb-infobox-wrapper.").concat(o," .title {\n\t\t\t").concat(me,"\n\t\t\t").concat(ze,"\n\n\t\t}\n\n\t\t").concat(l?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .subtitle {\n\t\t\t\t\t").concat(ye,"\n\t\t\t\t\t").concat(qe,"\n\n\t\t\t\t}\n\t\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t\t.eb-infobox-wrapper.".concat(o," .description {\n\t\t\t\t\t").concat(ke,"\n\t\t\t\t\t").concat(Ye,"\n\n\t\t\t\t}\n\n\t\t\t\t"):" ","\n\n\t"),Qt="eb-infobox-wrapper",Xt=c.EBButton.Style(o,Qt,p,"","infobox-btn",N,R,C,D,!0),$t=Xt.btnDesktopStyle,Kt=(Xt.btnTabStyle,Xt.btnMobileStyle,c.ImageComponent.Style({blockId:o,wrapperClass:Qt,width:z,height:U,border:E,margin:I})),ea=Kt.imgDesktopStyle,ta=Kt.imgTabStyle,aa=Kt.imgMobileStyle,na=(0,c.softMinifyCssStrings)("\n\t\t".concat(Zt,"\n\t\t").concat($t,"\n ").concat(ea,"\n\t")),oa=(0,c.softMinifyCssStrings)("\n\t\t".concat(Jt,"\n ").concat(ta,"\n\t")),ra=(0,c.softMinifyCssStrings)("\n\t\t".concat(Yt,"\n ").concat(aa,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(c.StyleComponent,{attributes:n,setAttributes:t,desktopAllStyles:na,tabAllStyles:oa,mobileAllStyles:ra,blockName:a}))}function Y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const X=(0,l.memo)((0,c.withBlockContext)(W)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.enableTitle,l=t.showMedia,i=t.iconView,s=t.iconShape,p=(t.layoutPreset,t.flexDirection),b=t.contentAlignment,d=t.mediaAlignSelf,m=t.contentsAlignment,u=t.mediaAlignment,g=t.btnAlign,f=t.version,y=t.imageUrl,h=t.imageUrlOld,v=t.imageAlt,k=t.imageAltOld,R=h||y,_=k||v,C=Q(Q({},t),{},{imageUrl:R,imageAlt:_}),E=Q(Q({},e),{},{blockPrefix:"eb-infobox",style:React.createElement(J,e)});return(0,r.useEffect)(function(){void 0===o&&a({enableTitle:!0}),void 0===l&&a({showMedia:!0}),void 0===i&&a({iconView:"default"}),void 0===s&&a({iconShape:"circle"}),void 0===p&&a({flexDirection:"column"}),void 0===b&&a({contentAlignment:"center"}),void 0===d&&a({mediaAlignSelf:"center"}),void 0===m&&a({contentsAlignment:"center"}),void 0===u&&a({mediaAlignment:"center"}),void 0===g&&a({btnAlign:"center"}),f&&"1"!=f||a({version:"2"}),!h||y&&""!==y||a({imageUrl:h})},[]),React.createElement(React.Fragment,null,n&&React.createElement(Z,{attributes:C,setAttributes:a}),React.createElement(c.BlockProps.Edit,E,React.createElement(w,{setAttributes:a,attributes:C})))}));var $=a(8168);function K(e){var t=e.requiredProps,a=e.attributes,n=t.blockId,o=t.infoboxIcon,r=t.media,l=t.number,s=t.imageUrl,b=t.infoboxLink,d=t.linkNewTab,m=t.enableSubTitle,u=t.enableDescription,g=t.enableButton,f=t.isInfoClick,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook,C=t.showMedia,E=t.enableTitle;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(_)},React.createElement("div",(0,$.A)({className:"".concat(n," eb-infobox-wrapper")},f&&{"data-clickable":"true","data-href":null==b?"":(0,c.sanitizeURL)(b),"data-target":d?"_blank":"_self"}),React.createElement("div",{className:"infobox-wrapper-inner"},C&&React.createElement(React.Fragment,null,"icon"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:o,className:"eb-infobox-icon-data-selector"}))):null,"number"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},l))):null,"image"===r&&s?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement(c.ImageComponent.Content,{attributes:a,className:"eb-infobox-image",hasStyle:!1}))):null),React.createElement("div",{className:"contents-wrapper"},E&&React.createElement(React.Fragment,null,React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),m?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null),u?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,g&&!f?React.createElement(c.EBButton.Content,{attributes:a,className:"infobox-btn ".concat(R||" "),buttonAttrProps:p,btnWrapperClassName:"eb-infobox-btn-wrapper"}):null))))}function ee(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.infoboxLink,p=t.enableSubTitle,b=t.enableDescription,d=t.enableButton,m=t.isInfoClick,u=t.buttonText,g=t.title,f=t.subTitle,y=t.description,h=t.titleTag,v=t.subTitleTag,w=t.btnEffect;return React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:h,className:"title",value:g}),p?React.createElement(i.RichText.Content,{tagName:v,className:"subtitle",value:f}):null,b?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:y}):null,d&&!m?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:(0,c.sanitizeURL)(s),className:"infobox-btn ".concat(w||" ")},u)):null)))}function te(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.infoboxLink,p=t.enableSubTitle,b=t.enableDescription,d=t.enableButton,m=t.isInfoClick,u=t.buttonText,g=t.title,f=t.subTitle,y=t.description,h=t.titleTag,v=t.subTitleTag,w=t.btnEffect,k=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(k)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:h,className:"title",value:g}),p?React.createElement(i.RichText.Content,{tagName:v,className:"subtitle",value:f}):null,b?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:y}):null,d&&!m?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:(0,c.sanitizeURL)(s),className:"infobox-btn ".concat(w||" ")},u)):null))))}function ae(e){var t=e.requiredProps,a=t.blockId,n=t.selectedIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.infoboxLink,p=t.linkNewTab,b=t.enableSubTitle,d=t.enableDescription,m=t.enableButton,u=t.isInfoClick,g=t.buttonText,f=t.title,y=t.subTitle,h=t.description,v=t.titleTag,w=t.subTitleTag,k=t.btnEffect,R=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(R)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement("span",{"data-icon":n,className:"eb-infobox-icon-data-selector ".concat(n)}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:"macbook"}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:v,className:"title",value:f}),b?React.createElement(i.RichText.Content,{tagName:w,className:"subtitle",value:y}):null,d?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:h}):null,m&&!u?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:(0,c.sanitizeURL)(s),target:p?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn ".concat(k||" ")},g)):null))))}function ne(e){var t=e.requiredProps,a=t.blockId,n=(t.selectedIcon,t.infoboxIcon),o=t.media,r=t.number,l=t.imageUrl,s=t.imageAlt,p=t.infoboxLink,b=t.linkNewTab,d=t.enableSubTitle,m=t.enableDescription,u=t.enableButton,g=t.isInfoClick,f=t.buttonText,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(_)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:s}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),d?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null,m?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,u&&!g?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:(0,c.sanitizeURL)(p),target:b?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn ".concat(R||" ")},f)):null))))}function oe(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.imageAlt,p=t.infoboxLink,b=t.linkNewTab,d=t.enableSubTitle,m=t.enableDescription,u=t.enableButton,g=t.isInfoClick,f=t.buttonText,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(_)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:s}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),d?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null,m?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,u&&!g?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:(0,c.sanitizeURL)(p),target:b?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn ".concat(R||" ")},f)):null))))}function re(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.imageAlt,p=t.infoboxLink,b=t.linkNewTab,d=t.enableSubTitle,m=t.enableDescription,u=t.enableButton,g=t.isInfoClick,f=t.buttonText,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(_)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:s}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),d?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null,m?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,u&&!g?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:null==p?"":p,target:b?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn ".concat(R||" ")},f)):null))))}function le(e){var t=e.requiredProps,a=t.blockId,n=t.infoboxIcon,o=t.media,r=t.number,l=t.imageUrl,s=t.imageAlt,p=t.infoboxLink,b=t.linkNewTab,d=t.enableSubTitle,m=t.enableDescription,u=t.enableButton,g=t.isInfoClick,f=t.buttonText,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(_)},React.createElement("div",{className:"".concat(a," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},"icon"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:n,className:"eb-infobox-icon-data-selector"}))):null,"number"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},r))):null,"image"===o?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:l,alt:s}))):null,React.createElement("div",{className:"contents-wrapper"},React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),d?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null,m?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,u&&!g?React.createElement("div",{className:"eb-infobox-btn-wrapper"},React.createElement("a",{href:null==p?"":(0,c.sanitizeURL)(p),target:b?"_blank":"_self",rel:"noopener noreferrer",className:"infobox-btn ".concat(R||" ")},f)):null))))}function ce(e){var t=e.requiredProps,a=e.attributes,n=t.blockId,o=t.infoboxIcon,r=t.media,l=t.number,s=t.imageUrl,b=t.imageAlt,d=t.enableSubTitle,m=t.enableDescription,u=t.enableButton,g=t.isInfoClick,f=t.title,y=t.subTitle,h=t.description,v=t.titleTag,w=t.subTitleTag,k=t.btnEffect,R=t.classHook,_=t.showMedia,C=t.enableTitle;return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(R)},React.createElement("div",{className:"".concat(n," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},_&&React.createElement(React.Fragment,null,"icon"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:o,className:"eb-infobox-icon-data-selector"}))):null,"number"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},l))):null,"image"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement("img",{className:"eb-infobox-image",src:s,alt:b}))):null),React.createElement("div",{className:"contents-wrapper"},C&&React.createElement(React.Fragment,null,React.createElement(i.RichText.Content,{tagName:v,className:"title",value:f}),d?React.createElement(i.RichText.Content,{tagName:w,className:"subtitle",value:y}):null),m?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:h}):null,u&&!g?React.createElement(c.EBButton.Content,{attributes:a,className:"infobox-btn ".concat(k||" "),buttonAttrProps:p,btnWrapperClassName:"eb-infobox-btn-wrapper"}):null))))}function ie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ie(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function pe(e){var t=e.requiredProps,a=e.attributes,n=t.blockId,o=t.infoboxIcon,r=t.media,l=t.number,s=t.imageUrl,b=t.infoboxLink,d=t.linkNewTab,m=t.enableSubTitle,u=t.enableDescription,g=t.enableButton,f=t.isInfoClick,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook,C=t.showMedia,E=t.enableTitle,x=(a||{}).imageUrlOld||s,S=se(se({},a),{},{imageUrl:x});return React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(_)},f&&React.createElement("a",{href:null==b?"":(0,c.sanitizeURL)(b),target:d?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"}),React.createElement("div",{className:"".concat(n," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},C&&React.createElement(React.Fragment,null,"icon"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:o,className:"eb-infobox-icon-data-selector"}))):null,"number"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},l))):null,"image"===r&&x?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement(c.ImageComponent.Content,{attributes:S,className:"eb-infobox-image",hasStyle:!0}))):null),React.createElement("div",{className:"contents-wrapper"},E&&React.createElement(React.Fragment,null,React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),m?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null),u?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,g&&!f?React.createElement(c.EBButton.Content,{attributes:S,className:"infobox-btn ".concat(R||" "),buttonAttrProps:p,btnWrapperClassName:"eb-infobox-btn-wrapper"}):null))))}function be(e){var t=e.requiredProps,a=e.attributes,n=t.blockId,o=t.infoboxIcon,r=t.media,l=t.number,s=t.imageUrl,b=t.infoboxLink,d=t.linkNewTab,m=t.enableSubTitle,u=t.enableDescription,g=t.enableButton,f=t.isInfoClick,y=t.title,h=t.subTitle,v=t.description,w=t.titleTag,k=t.subTitleTag,R=t.btnEffect,_=t.classHook,C=t.showMedia,E=t.enableTitle,x=function(){return React.createElement("div",{className:"".concat(n," eb-infobox-wrapper")},React.createElement("div",{className:"infobox-wrapper-inner"},C&&React.createElement(React.Fragment,null,"icon"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-icon number-or-icon"},React.createElement(c.EBDisplayIcon,{icon:o,className:"eb-infobox-icon-data-selector"}))):null,"number"===r?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-num-wrapper number-or-icon"},React.createElement("span",{className:"eb-infobox-number"},l))):null,"image"===r&&s?React.createElement("div",{className:"icon-img-wrapper"},React.createElement("div",{className:"eb-infobox-image-wrapper"},React.createElement(c.ImageComponent.Content,{attributes:a,className:"eb-infobox-image",hasStyle:!1}))):null),React.createElement("div",{className:"contents-wrapper"},E&&React.createElement(React.Fragment,null,React.createElement(i.RichText.Content,{tagName:w,className:"title",value:y}),m?React.createElement(i.RichText.Content,{tagName:k,className:"subtitle",value:h}):null),u?React.createElement(i.RichText.Content,{tagName:"p",className:"description",value:v}):null,g&&!f?React.createElement(c.EBButton.Content,{attributes:a,className:"infobox-btn ".concat(R||" "),buttonAttrProps:p,btnWrapperClassName:"eb-infobox-btn-wrapper"}):null)))};return React.createElement("div",(0,$.A)({className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(_)},f&&{"data-clickable":"true","data-href":null==b?"":(0,c.sanitizeURL)(b),"data-target":d?"_blank":"_self"}),React.createElement(x,null))}var de=a(6087);function me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ue(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?me(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):me(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ge=[{attributes:ue({},W),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l={selectedIcon:n,infoboxIcon:o,blockId:a,number:void 0===r?0:r,media:t.media,imageUrl:t.imageUrl,imageAlt:t.imageAlt,enableSubTitle:t.enableSubTitle,enableDescription:t.enableDescription,infoboxLink:t.infoboxLink,linkNewTab:t.linkNewTab,enableButton:t.enableButton,isInfoClick:t.isInfoClick,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook,showMedia:t.showMedia,enableTitle:t.enableTitle,addBtnIcon:t.addBtnIcon,btnIconPosition:t.btnIconPosition,btnIcon:t.btnIcon};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement(be,{requiredProps:l,attributes:t}))}},{attributes:ue({},W),migrate:function(e){var t=e.imageUrlOld,a=e.imageUrl,n=ue({},e);return!t||a&&""!==a||(n.imageUrl=t),n},isEligible:function(e){return void 0!==e.imageUrl},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,i=void 0===r?0:r,s=t.media,p=t.imageUrl,b={selectedIcon:n,infoboxIcon:o,blockId:a,number:i,media:s,imageUrl:t.imageUrlOld||p,imageAlt:t.imageAlt,enableSubTitle:t.enableSubTitle,enableDescription:t.enableDescription,infoboxLink:t.infoboxLink,linkNewTab:t.linkNewTab,enableButton:t.enableButton,isInfoClick:t.isInfoClick,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook,showMedia:t.showMedia,enableTitle:t.enableTitle,addBtnIcon:t.addBtnIcon,btnIconPosition:t.btnIconPosition,btnIcon:t.btnIcon},d=function(){return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement(pe,{requiredProps:b,attributes:t}))};return(0,l.renderToString)(React.createElement(d,null)),React.createElement(d,null)}},{attributes:ue(ue({},W),{},{imageUrl:{source:"attribute",selector:".eb-infobox-image",attribute:"src"},imageAlt:{type:"string"},imageId:{type:"string"}}),isEligible:function(e){return void 0!==e.imageUrl},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l=void 0===r?0:r,i=t.media,s=t.imageUrl,p=t.imageAlt,b=t.enableSubTitle,d=t.enableDescription,m=t.infoboxLink,u=t.linkNewTab,g=t.enableButton,f=t.isInfoClick,y={selectedIcon:n,infoboxIcon:o,blockId:a,number:l,media:i,imageUrl:s,imageAlt:p,enableSubTitle:b,enableDescription:d,infoboxLink:m,linkNewTab:u,enableButton:g,isInfoClick:f,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook,showMedia:t.showMedia,enableTitle:t.enableTitle,addBtnIcon:t.addBtnIcon,btnIconPosition:t.btnIconPosition,btnIcon:t.btnIcon};return React.createElement(c.BlockProps.Save,{attributes:t},f?React.createElement("a",{href:null==m?"":(0,c.sanitizeURL)(m),target:u?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(ce,{requiredProps:y})):React.createElement(ce,{requiredProps:y,attributes:t}))}},{attributes:(0,de.omit)(ue(ue(ue(ue({},W),{},{btnEffect:{type:"string"},buttonText:{type:"string",default:"Learn More"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHvrTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},infoboxLink:{type:"string"},linkNewTab:{type:"boolean",default:!1}},(0,c.generateDimensionsAttributes)(D,{top:15,bottom:15,right:30,left:30,isLinked:!1})),(0,c.generateBorderShadowAttributes)(C,{rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,c.generateBackgroundAttributes)(R,{defaultFillColor:"var(--eb-global-button-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)",forButton:!0})),["enableTitle","showMedia","iconView","iconShape"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l=void 0===r?0:r,i=t.media,s=t.imageUrl,p=t.imageAlt,b=t.enableSubTitle,d=t.enableDescription,m=t.infoboxLink,u=t.linkNewTab,g=t.enableButton,f=t.isInfoClick,y=t.buttonText,h=t.title,v=t.subTitle,w=t.description,k=t.titleTag,R=t.subTitleTag,_=t.btnEffect,C=t.classHook,E=(t.showMedia,t.enableTitle,t.addBtnIcon,t.btnIconPosition,t.btnIcon,{selectedIcon:n,infoboxIcon:o,blockId:a,number:l,media:i,imageUrl:s,imageAlt:p,enableSubTitle:b,enableDescription:d,infoboxLink:m,linkNewTab:u,enableButton:g,isInfoClick:f,buttonText:y,title:h,subTitle:v,description:w,titleTag:k,subTitleTag:R,btnEffect:_,classHook:C});return React.createElement(c.BlockProps.Save,{attributes:t},f?React.createElement("a",{href:null==m?"":(0,c.sanitizeURL)(m),target:u?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(le,{requiredProps:E})):React.createElement(le,{requiredProps:E}))}},{attributes:ue({},W),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l=void 0===r?0:r,c=t.media,s=t.imageUrl,p=t.imageAlt,b=t.enableSubTitle,d=t.enableDescription,m=t.infoboxLink,u=t.linkNewTab,g=t.enableButton,f=t.isInfoClick,y={selectedIcon:n,infoboxIcon:o,blockId:a,number:l,media:c,imageUrl:s,imageAlt:p,enableSubTitle:b,enableDescription:d,infoboxLink:m,linkNewTab:u,enableButton:g,isInfoClick:f,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",i.useBlockProps.save(),f?React.createElement("a",{href:null==m?"":m,target:u?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(re,{requiredProps:y})):React.createElement(re,{requiredProps:y}))}},{attributes:ue({},W),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l=void 0===r?0:r,s=t.media,p=t.imageUrl,b=t.imageAlt,d=t.enableSubTitle,m=t.enableDescription,u=t.infoboxLink,g=t.linkNewTab,f=t.enableButton,y=t.isInfoClick,h={selectedIcon:n,infoboxIcon:o,blockId:a,number:l,media:s,imageUrl:p,imageAlt:b,enableSubTitle:d,enableDescription:m,infoboxLink:u,linkNewTab:g,enableButton:f,isInfoClick:y,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",i.useBlockProps.save(),y?React.createElement("a",{href:(0,c.sanitizeURL)(u),target:g?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(oe,{requiredProps:h})):React.createElement(oe,{requiredProps:h}))}},{attributes:(0,de.omit)(ue({},W),["infoboxIcon"]),migrate:function(e){var t=e.selectedIcon,a=ue({},e);return delete a.selectedIcon,ue(ue({},a),{},{infoboxIcon:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l=void 0===r?0:r,s=t.media,p=t.imageUrl,b=t.imageAlt,d=t.enableSubTitle,m=t.enableDescription,u=t.infoboxLink,g=t.linkNewTab,f=t.enableButton,y=t.isInfoClick,h={selectedIcon:n,infoboxIcon:o,blockId:a,number:l,media:s,imageUrl:p,imageAlt:b,enableSubTitle:d,enableDescription:m,infoboxLink:u,linkNewTab:g,enableButton:f,isInfoClick:y,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",i.useBlockProps.save(),y?React.createElement("a",{href:(0,c.sanitizeURL)(u),target:g?"_blank":"_self",rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(ne,{requiredProps:h})):React.createElement(ne,{requiredProps:h}))}},{attributes:(0,de.omit)(ue({},W),["imageAlt"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,l=t.media,s=t.imageUrl,p=t.enableSubTitle,b=t.enableDescription,d=t.infoboxLink,m=t.linkNewTab,u=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,blockId:a,number:r,media:l,imageUrl:s,enableSubTitle:p,enableDescription:b,infoboxLink:d,linkNewTab:m,enableButton:u,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",i.useBlockProps.save(),g?React.createElement("a",{href:(0,c.sanitizeURL)(d),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(ae,{requiredProps:f})):React.createElement(ae,{requiredProps:f}))}},{attributes:(0,de.omit)(ue({},W),["linkNewTab"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,l=t.media,s=t.imageUrl,p=t.enableSubTitle,b=t.enableDescription,d=t.infoboxLink,m=t.linkNewTab,u=t.enableButton,g=t.isInfoClick,f={selectedIcon:n,blockId:a,number:r,media:l,imageUrl:s,enableSubTitle:p,enableDescription:b,infoboxLink:d,linkNewTab:m,enableButton:u,isInfoClick:g,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook};return React.createElement("div",i.useBlockProps.save(),g?React.createElement("a",{href:(0,c.sanitizeURL)(d),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(te,{requiredProps:f})):React.createElement(te,{requiredProps:f}))}},{attributes:ue({},W),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.number,r=void 0===o?0:o,l=t.media,s=t.imageUrl,p=t.enableSubTitle,b=t.enableDescription,d=t.infoboxLink,m=t.enableButton,u=t.isInfoClick,g={selectedIcon:n,blockId:a,number:r,media:l,imageUrl:s,enableSubTitle:p,enableDescription:b,infoboxLink:d,enableButton:m,isInfoClick:u,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect};return React.createElement("div",i.useBlockProps.save(),u?React.createElement("a",{href:(0,c.sanitizeURL)(d),rel:"noopener noreferrer",className:"info-click-link info-wrap-link"},React.createElement(ee,{requiredProps:g})):React.createElement(ee,{requiredProps:g}))}}],fe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Infobox","name":"essential-blocks/infobox","category":"essential-blocks","description":"Deliver your content beautifully to grab attention with an animated Infobox block.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var ye,he,ve;function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},we.apply(null,arguments)}(0,c.ebConditionalRegisterBlockType)(fe,{icon:function(e){return r.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 66 60"},e),ye||(ye=r.createElement("path",{fill:"#6C3BFF",d:"M16.1 39.9h34.4c.7 0 1.3-.5 1.3-1.3V21.4c0-.7-.5-1.3-1.3-1.3H16.1c-.7 0-1.3.5-1.3 1.3v17.2c0 .8.6 1.3 1.3 1.3m1.1-17.2H49v14.6H17.2z"})),he||(he=r.createElement("path",{fill:"#6C3BFF",d:"M20.9 28.8h7.3c.7 0 1.3-.5 1.3-1.3 0-.7-.5-1.1-1.1-1.1H21c-.7 0-1.3.5-1.3 1.3.1.6.6 1.1 1.2 1.1m12.2 0c.4 0 .5-.2.9-.4.2-.2.4-.5.4-.9s-.2-.5-.4-.9c-.5-.4-1.3-.4-1.8 0-.2.2-.4.5-.4.9s.2.5.4.9c.4.4.7.4.9.4m12.4 2.5H25.8c-.7 0-1.3.5-1.3 1.3 0 .7.5 1.3 1.3 1.3h19.6c.7 0 1.3-.5 1.3-1.3-.1-.8-.6-1.3-1.2-1.3m-25.4.4c-.2.2-.4.5-.4.9s.2.5.4.9c.2.2.5.4.9.4s.5-.2.9-.4c.2-.2.4-.5.4-.9s-.2-.5-.4-.9c-.5-.7-1.4-.7-1.8 0M33.1.6c-3.3 0-6.2 2.7-6.2 6.2s2.7 6.2 6.2 6.2c3.3 0 6.2-2.7 6.2-6.2S36.6.6 33.1.6m0 9.8c-2 0-3.7-1.6-3.7-3.7S31 3 33.1 3c2 0 3.7 1.6 3.7 3.7s-1.5 3.7-3.7 3.7"})),ve||(ve=r.createElement("path",{fill:"#6C3BFF",d:"M63.5 55.5c0 .7-.2 1.3-1 1.3H3.9c-.7 0-1.3-.5-1.3-1.3V11.7c0-.8-.6-1.3-1.3-1.3S0 10.9 0 11.7V57c0 1.3 1.1 2.4 2.4 2.4h61.2c1.3 0 2.4-1.1 2.4-2.4V11.8c0-.7-.5-1.3-1.3-1.3-.7 0-1.3.5-1.3 1.3v39.1z"})))},attributes:W,keywords:[(0,n.__)("EB infobox","essential-blocks"),(0,n.__)("info box","essential-blocks"),(0,n.__)("infobox block","essential-blocks")],edit:X,save:function(e){var t=e.attributes,a=t.blockId,n=t.selectedIcon,o=t.infoboxIcon,r=t.number,l={selectedIcon:n,infoboxIcon:o,blockId:a,number:void 0===r?0:r,media:t.media,imageUrl:t.imageUrl,imageAlt:t.imageAlt,enableSubTitle:t.enableSubTitle,enableDescription:t.enableDescription,infoboxLink:t.infoboxLink,linkNewTab:t.linkNewTab,enableButton:t.enableButton,isInfoClick:t.isInfoClick,buttonText:t.buttonText,title:t.title,subTitle:t.subTitle,description:t.description,titleTag:t.titleTag,subTitleTag:t.subTitleTag,btnEffect:t.btnEffect,classHook:t.classHook,showMedia:t.showMedia,enableTitle:t.enableTitle,addBtnIcon:t.addBtnIcon,btnIconPosition:t.btnIconPosition,btnIcon:t.btnIcon};return React.createElement(c.BlockProps.Save,{attributes:t},React.createElement(K,{requiredProps:l,attributes:t}))},example:{attributes:{layoutPreset:"preset2",flexDirection:"column",contentAlignment:"center"}},deprecated:ge})},5138:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(8468),i=a(4715),s=a(6427),p=a(7143),b=a(6391),d=a.n(b),m=[{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignright"})),value:"right"}],u=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],g=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],f="imgWidth",y="wrpMargin",h="wrpPadding",v="lblPadding",w="labelText",k=a(5694);function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},id:{type:"string"},leftImageURL:{type:"string",source:"attribute",attribute:"data-left-image",selector:".eb-image-comparison-wrapper"},rightImageURL:{type:"string",source:"attribute",attribute:"data-right-image",selector:".eb-image-comparison-wrapper"},hover:{type:"boolean",default:!1},verticalMode:{type:"boolean",default:!1},circleControl:{type:"boolean",default:!0},circleBlur:{type:"boolean",default:!0},showLabels:{type:"boolean",default:!1},labelsOnHover:{type:"boolean",default:!1},fullWidth:{type:"boolean",default:!0},imageWidth:{type:"number"},position:{type:"number",default:50},beforeLabel:{type:"string",default:"Before"},afterLabel:{type:"string",default:"After"},swap:{type:"boolean",default:!1},lineWidth:{type:"number",default:4},lineColor:{type:"string"},arrowColor:{type:"string"},contentPosition:{type:"string",default:"center"},horizontalLabelPosition:{type:"string",default:"center"},verticalLabelPosition:{type:"string",default:"center"},noHandle:{type:"boolean",default:!1},labelColor:{type:"string",default:"var(--eb-global-secondary-color)"},labelBackgroundColor:{type:"string",default:"var(--eb-global-primary-color)"}},(0,k.generateTypographyAttributes)(w)),(0,k.generateResponsiveRangeAttributes)(f,{noUnits:!0})),(0,k.generateDimensionsAttributes)(y,{top:28,right:0,bottom:28,left:0,isLinked:!1,disableLeftRight:!0})),(0,k.generateDimensionsAttributes)(h)),(0,k.generateDimensionsAttributes)(v)),E=function(e){var t=e.attributes,a=e.setAttributes,o=e.onImageSwap,r=(t.resOption,t.leftImageURL),l=t.rightImageURL,c=t.hover,i=t.verticalMode,p=t.showLabels,b=t.beforeLabel,d=t.afterLabel,R=t.fullWidth,_=t.position,E=t.swap,x=t.lineWidth,S=t.lineColor,B=t.contentPosition,T=t.horizontalLabelPosition,N=t.verticalLabelPosition,P=t.noHandle,O=t.labelColor,I=t.labelBackgroundColor;return React.createElement(k.InspectorPanel,{advancedControlProps:{marginPrefix:y,paddingPrefix:h,hasMargin:!0,hasPadding:!0,hasBackground:!1,hasBorder:!1}},React.createElement(k.InspectorPanel.General,null,React.createElement(k.InspectorPanel.PanelBody,{title:(0,n.__)("General Settings","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,r&&React.createElement(s.BaseControl,{label:(0,n.__)("Left Image","essential-blocks")},React.createElement(k.ImageAvatar,{imageUrl:r,onDeleteImage:function(){return a({leftImageURL:null})}})),l&&React.createElement(s.BaseControl,{label:(0,n.__)("Right Image","essential-blocks")},React.createElement(k.ImageAvatar,{imageUrl:l,onDeleteImage:function(){return a({rightImageURL:null})}}))),React.createElement(s.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(s.ButtonGroup,{id:"eb-button-group-alignment"},m.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:B===e.value,isSecondary:B!==e.value,onClick:function(){return a({contentPosition:e.value})}},e.label)}))),React.createElement(s.ToggleControl,{label:(0,n.__)("Full Width","essential-blocks"),checked:R,onChange:function(){return a({fullWidth:!R})}}),!R&&React.createElement(React.Fragment,null,React.createElement(k.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:f,min:0,max:1e3,step:1,noUnits:!0})),React.createElement(s.ToggleControl,{label:(0,n.__)("Move on Hover","essential-blocks"),checked:c,onChange:function(){return a({hover:!c})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Vertical Mode","essential-blocks"),checked:i,onChange:function(){return a({verticalMode:!i})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Labels","essential-blocks"),checked:p,onChange:function(){return a({showLabels:!p})}}),p&&React.createElement(React.Fragment,null,React.createElement(s.TextControl,{label:(0,n.__)("Before Label","essential-blocks"),value:b,onChange:function(e){return a({beforeLabel:e})}}),React.createElement(s.TextControl,{label:(0,n.__)("After Label","essential-blocks"),value:d,onChange:function(e){return a({afterLabel:e})}}),i&&React.createElement(s.BaseControl,{label:(0,n.__)("Label Position","essential-blocks")},React.createElement(s.ButtonGroup,null,g.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:N===e.value,isSecondary:N!==e.value,onClick:function(){return a({verticalLabelPosition:e.value})}},e.label)}))),!i&&React.createElement(s.BaseControl,{label:(0,n.__)("Label Position","essential-blocks")},React.createElement(s.ButtonGroup,null,u.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:T===e.value,isSecondary:T!==e.value,onClick:function(){return a({horizontalLabelPosition:e.value})}},e.label)})))),React.createElement(s.ToggleControl,{label:(0,n.__)("Swap Images","essential-blocks"),checked:E,onChange:function(){return o()}}),React.createElement(s.ToggleControl,{label:(0,n.__)("No Handle","essential-blocks"),checked:P,onChange:function(){return a({noHandle:!P})}}),React.createElement(k.ResetControl,{onReset:function(){return a({position:C.position.default})}},React.createElement(s.RangeControl,{label:(0,n.__)("Slider Position","essential-blocks"),value:_,onChange:function(e){return a({position:e})},min:0,max:100,help:(0,n.__)("Update & reload to see effect in backend","image-comparison")})),React.createElement(k.ResetControl,{onReset:function(){return a({lineWidth:C.lineWidth.default})}},React.createElement(s.RangeControl,{label:(0,n.__)("Slider Line Width","essential-blocks"),value:x,onChange:function(e){return a({lineWidth:e})},min:0,max:10})))),React.createElement(k.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(k.InspectorPanel.PanelBody,{initialOpen:!0},React.createElement(k.ColorControl,{label:(0,n.__)("Line Color","essential-blocks"),color:S,attributeName:"lineColor"})),p&&React.createElement(k.InspectorPanel.PanelBody,{title:(0,n.__)("Labels","essential-blocks")},React.createElement(k.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(k.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:O,attributeName:"labelColor"}),React.createElement(k.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:I,attributeName:"labelBackgroundColor"}),React.createElement(k.ResponsiveDimensionsControl,{controlName:v,baseLabel:(0,n.__)("Padding","essential-blocks")})))))};function x(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.showLabels),l=t.fullWidth,c=t.labelColor,i=t.labelBackgroundColor,s=(t.classHook,(0,k.generateResponsiveRangeStyles)({controlName:f,property:"max-width",attributes:t,customUnit:"px"})),p=s.rangeStylesDesktop,b=s.rangeStylesTab,d=s.rangeStylesMobile,m=(0,k.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",disableLeftRight:!0,attributes:t}),u=m.dimensionStylesDesktop,g=m.dimensionStylesTab,R=m.dimensionStylesMobile,_=(0,k.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=(0,k.generateTypographyStyles)({attributes:t,prefixConstant:w}),B=S.typoStylesDesktop,T=S.typoStylesTab,N=S.typoStylesMobile,P=(0,k.generateDimensionsControlStyles)({controlName:v,styleFor:"padding",attributes:t}),O=P.dimensionStylesDesktop,I=P.dimensionStylesTab,D=P.dimensionStylesMobile;O=O.split(";").join(" !important;"),I=I.split(";").join(" !important;"),D=D.split(";").join(" !important;");var A="\n\t\t.eb-image-comparison-align-center {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-image-comparison-align-right {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(u,"\n\t\t\t").concat(C,"\n\t\t\t").concat(l?"":p,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(O,"\n\t\t\t\t").concat(B,"\n\t\t\t\t").concat(c?"color: ".concat(c," !important;"):"","\n\t\t\t\t").concat(i?"background-color: ".concat(i," !important;"):"","\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.").concat(o,'.eb-label-horizontal-top div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-top div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\ttop: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-bottom div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-horizontal-bottom div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\ttop: unset !important;\n\t\t\t\tbottom: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-left div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-left div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\tleft: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-right div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,'.eb-label-vertical-right div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\tleft: unset !important;\n\t\t\t\tright: 5% !important;\n\t\t\t\ttransform: none !important;\n\t\t\t}\n\t\t\t'):"","\n\t"),M="\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(g,"\n\t\t\t").concat(E,"\n\t\t\t").concat(l?"":b,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(T,"\n\t\t\t\t").concat(I,"\n\t\t\t}\n\t\t\t"):"","\n\t"),L="\n\t\t.eb-image-comparison-wrapper.".concat(o," {\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(l?"":d,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.eb-image-comparison-wrapper.".concat(o,' div[data-testid="container"] >div:nth-child(4) div,\n\t\t\t.eb-image-comparison-wrapper.').concat(o,' div[data-testid="container"] >div:nth-child(5) div {\n\t\t\t\t').concat(N,"\n\t\t\t\t").concat(D,"\n\t\t\t}\n\t\t\t"):"","\n\t"),F=(0,k.softMinifyCssStrings)("\n\t\t".concat(A,"\n\t")),j=(0,k.softMinifyCssStrings)("\n\t\t".concat(M,"\n\t")),H=(0,k.softMinifyCssStrings)("\n\t\t".concat(L,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(k.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:F,tabAllStyles:j,mobileAllStyles:H,blockName:n}))}function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const T=(0,c.memo)((0,k.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.clientId),l=e.isSelected,i=(e.name,t.blockId),s=(t.blockMeta,t.resOption,t.leftImageURL),b=t.rightImageURL,m=t.hover,u=t.verticalMode,g=t.showLabels,f=t.beforeLabel,y=t.afterLabel,h=t.position,v=t.lineWidth,w=t.lineColor,R=t.contentPosition,_=t.horizontalLabelPosition,C=t.verticalLabelPosition,S=t.noHandle,T=t.classHook,N=(0,c.useRef)(null),P=B(B({},e),{},{blockPrefix:"eb-image-comparison",style:React.createElement(x,e)}),O=u?" eb-label-vertical-".concat(C):" eb-label-horizontal-".concat(_),I=s&&b,D="center"===R?" eb-image-comparison-align-center":"right"===R?" eb-image-comparison-align-right":"";return N.current&&N.current.addEventListener("click",function(){(0,p.dispatch)("core/block-editor").selectBlock(r),(0,p.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block")}),React.createElement(React.Fragment,null,l&&React.createElement(E,{key:"inspector",attributes:t,setAttributes:a,onImageSwap:function(){var e=t.leftImageURL,n=t.rightImageURL,o=t.swap,r=[n,e];a({swap:o=!o,leftImageURL:e=r[0],rightImageURL:n=r[1]})}}),React.createElement(k.BlockProps.Edit,P,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(T)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(i).concat(D).concat(O)},I?React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-image-comparison-hide",ref:N},React.createElement(d(),(0,o.A)({leftImage:s,rightImage:b},u?{vertical:"vertical"}:{},m?{hover:"hover"}:{},g?{leftImageLabel:f}:{},g?{rightImageLabel:y}:{},S?{handle:React.createElement(React.Fragment,null)}:{},{sliderPositionPercentage:h/100,sliderLineWidth:v||0,sliderLineColor:w})))):React.createElement("div",{className:"eb-image-comparison-placeholder"},!s&&React.createElement(k.EBMediaPlaceholder,{onSelect:function(e){return a({leftImageURL:e.url})},allowTypes:["image"],labels:{title:(0,n.__)("Left Image","essential-blocks"),instructions:"Drag media file, upload or select files from your library."}}),s&&React.createElement("img",{className:"eb-image-comparison-image",src:s}),!b&&React.createElement(k.EBMediaPlaceholder,{onSelect:function(e){return a({rightImageURL:e.url})},allowTypes:["image"],labels:{title:(0,n.__)("Right Image","essential-blocks"),instructions:"Drag media file, upload or select files from your library."}}),b&&React.createElement("img",{className:"eb-image-comparison-image",src:b}))))))}));var N,P;const O={attributes:{leftImageURL:(null===(N=EssentialBlocksLocalize)||void 0===N?void 0:N.eb_plugins_url)+"assets/images/white-balloon-bnw.jpeg",rightImageURL:(null===(P=EssentialBlocksLocalize)||void 0===P?void 0:P.eb_plugins_url)+"assets/images/white-balloon.jpeg"}};function I(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function D(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?I(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const A=[{attributes:D({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,l=t.verticalMode,c=t.showLabels,s=t.beforeLabel,p=t.afterLabel,b=t.position,d=t.lineWidth,m=t.lineColor,u=t.contentPosition,g=t.horizontalLabelPosition,f=t.verticalLabelPosition,y=t.noHandle,h=t.classHook,v="center"===u?" eb-image-comparison-align-center":"right"===u?" eb-image-comparison-align-right":"",w=l?" eb-label-vertical-".concat(f):" eb-label-horizontal-".concat(g);return React.createElement(React.Fragment,null,React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(v).concat(w),"data-left-image":n,"data-right-image":o,"data-vertical-mode":l,"data-hover":r,"data-show-label":c,"data-left-label":s,"data-right-label":p,"data-slider-position":b,"data-line-width":d,"data-line-color":m,"data-handle":y},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"})))))))}},{attributes:D({},C),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,l=t.verticalMode,c=t.showLabels,s=t.beforeLabel,p=t.afterLabel,b=t.position,d=t.lineWidth,m=t.lineColor,u=t.contentPosition,g=t.horizontalLabelPosition,f=t.verticalLabelPosition,y=t.noHandle,h="center"===u?" eb-image-comparison-align-center":"right"===u?" eb-image-comparison-align-right":"",v=l?" eb-label-vertical-".concat(f):" eb-label-horizontal-".concat(g);return React.createElement(React.Fragment,null,React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(h).concat(v),"data-left-image":n,"data-right-image":o,"data-vertical-mode":l,"data-hover":r,"data-show-label":c,"data-left-label":s,"data-right-label":p,"data-slider-position":b,"data-line-width":d,"data-line-color":m,"data-handle":y},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"}))))))}}],M=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Image Comparison","name":"essential-blocks/image-comparison","description":"Let the visitors compare images & make your website interactive.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var L,F;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j.apply(null,arguments)}(0,k.ebConditionalRegisterBlockType)(M,{keywords:[(0,n.__)("image compare","essential-blocks"),(0,n.__)("comparison","essential-blocks"),(0,n.__)("compare","essential-blocks")],attributes:C,icon:function(e){return l.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),L||(L=l.createElement("path",{fill:"#6C3BFF",d:"M55.114.343H1.371C.6.343 0 .943 0 1.714v56.572c0 .771.6 1.371 1.371 1.371H55.2c.771 0 1.371-.6 1.371-1.371v-56.4c-.085-.6-.685-1.543-1.457-1.543M2.657 56.914V3.171h24.257V15H16.371C15.6 15 15 15.6 15 16.371v25.8c0 .772.6 1.372 1.371 1.372H26.83v13.543zM29.571 37.2c.172 0 .343.171.6.171.343 0 .6-.171.772-.342l8.4-8.4 6.514 6.514v6H29.4v-4.029s.171 0 .171.086m10.715-10.886c-.172-.171-.6-.343-.772-.343-.343 0-.6.172-.771.343l-8.572 8.4-.6-.6V17.486h16.372V31.97l-5.657-5.657zM26.914 41.4H17.4V17.314h9.514zM53.83 4.2V57H29.57V43.457h17.4c.772 0 1.372-.6 1.372-1.371V16.543c0-.772-.6-1.372-1.372-1.372h-17.4V3.43h24.26z"})),F||(F=l.createElement("path",{fill:"#6C3BFF",d:"M34.714 20.229c-1.543 0-2.657 1.114-2.657 2.657s1.114 2.657 2.657 2.657 2.657-1.114 2.657-2.657-1.114-2.657-2.657-2.657"})))},edit:T,save:function(e){var t=e.attributes,a=t.blockId,n=t.leftImageURL,o=t.rightImageURL,r=t.hover,l=t.verticalMode,c=t.showLabels,i=t.beforeLabel,s=t.afterLabel,p=t.position,b=t.lineWidth,d=t.lineColor,m=t.contentPosition,u=t.horizontalLabelPosition,g=t.verticalLabelPosition,f=t.noHandle,y=t.classHook,h="center"===m?" eb-image-comparison-align-center":"right"===m?" eb-image-comparison-align-right":"",v=l?" eb-label-vertical-".concat(g):" eb-label-horizontal-".concat(u);return React.createElement(React.Fragment,null,React.createElement(k.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-image-comparison-wrapper ".concat(a).concat(h).concat(v),"data-left-image":n,"data-right-image":o,"data-vertical-mode":l,"data-hover":r,"data-show-label":c,"data-left-label":i,"data-right-label":s,"data-slider-position":p,"data-line-width":b,"data-line-color":d,"data-handle":f},n&&o&&React.createElement(React.Fragment,null,React.createElement("div",{"data-testid":"container"},React.createElement("img",{alt:"Left Image",src:n,"data-testid":"left-image"}),React.createElement("img",{alt:"Right Image",src:o,"data-testid":"right-image"})))))))},example:O,deprecated:A})},5489:(e,t,a)=>{var n={};a.r(n),a.d(n,{PREFIX_TYPO:()=>D,SUFFIX_TYPO:()=>A,TAXONOMIES_TYPOGRAPHY:()=>I});var o=a(7723),r=a(5694),l=a(3453),c=a(4467),i=a(1609),s=a(8468),p=a(3582),b=a(7143),d=a(9491);const m=window.wp.apiFetch;var u=a.n(m),g=a(6427),f="wrprBg",y="wrpMargin",h="wrpPadding",v="wrpBorderShadow",w="filterMargin",k="filterItmPadding",R="filterItmBdrShdw",_="itemGap",C="prefixIcon",E="suffixIcon",x=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],S=[{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,o.__)(React.createElement(g.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],B=[{label:(0,o.__)("icon","essential-blocks"),value:"icon"},{label:(0,o.__)("Text","essential-blocks"),value:"text"},{label:(0,o.__)("none","essential-blocks"),value:"none"}],T=[{label:(0,o.__)("Inline","essential-blocks"),value:"display-inline"},{label:(0,o.__)("Block","essential-blocks"),value:"display-block"}],N=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],P=[{label:"Current Post",value:"current-post"},{label:"All ",value:"all-taxonomies"}],O=[{label:(0,o.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,o.__)("Middle","essential-blocks"),value:"center"},{label:(0,o.__)("Bottom","essential-blocks"),value:"flex-end"}],I="taxonomies_typo",D="prefix_typo",A="suffix_typo";function M(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),l=t.iconAlign,c=t.taxonomiesBgColor,i=t.taxonomiesTextColor,s=t.taxonomiesHoverBgColor,p=t.taxonomiesHoverTextColor,b=t.align,d=t.prefixColor,m=t.suffixColor,u=t.displayStyle,g=t.separatorColor,x=t.suffixVerticalAlign,S=t.prefixVerticalAlign,B=(0,r.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),T=B.dimensionStylesDesktop,N=B.dimensionStylesTab,P=B.dimensionStylesMobile,O=(0,r.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),M=O.dimensionStylesDesktop,L=O.dimensionStylesTab,F=O.dimensionStylesMobile,j=(0,r.generateBackgroundControlStyles)({attributes:t,controlName:f}),H=j.backgroundStylesDesktop,z=j.hoverBackgroundStylesDesktop,U=j.backgroundStylesTab,V=j.hoverBackgroundStylesTab,G=j.backgroundStylesMobile,q=j.hoverBackgroundStylesMobile,W=(j.overlayStylesDesktop,j.hoverOverlayStylesDesktop,j.overlayStylesTab,j.hoverOverlayStylesTab,j.overlayStylesMobile,j.hoverOverlayStylesMobile,j.bgTransitionStyle),Z=(j.ovlTransitionStyle,(0,r.generateBorderShadowStyles)({controlName:v,attributes:t})),J=Z.styesDesktop,Y=Z.styesTab,Q=Z.styesMobile,X=Z.stylesHoverDesktop,$=Z.stylesHoverTab,K=Z.stylesHoverMobile,ee=Z.transitionStyle,te=(0,r.generateBorderShadowStyles)({controlName:R,attributes:t}),ae=te.styesDesktop,ne=te.styesTab,oe=te.styesMobile,re=te.stylesHoverDesktop,le=te.stylesHoverTab,ce=te.stylesHoverMobile,ie=te.transitionStyle,se=(0,r.generateResponsiveRangeStyles)({controlName:C,property:"font-size",attributes:t}),pe=se.rangeStylesDesktop,be=se.rangeStylesTab,de=se.rangeStylesMobile,me=(0,r.generateResponsiveRangeStyles)({controlName:E,property:"font-size",attributes:t}),ue=me.rangeStylesDesktop,ge=me.rangeStylesTab,fe=me.rangeStylesMobile,ye=(0,r.generateResponsiveRangeStyles)({controlName:_,property:"gap",attributes:t}),he=ye.rangeStylesDesktop,ve=ye.rangeStylesTab,we=ye.rangeStylesMobile,ke=(0,r.generateResponsiveRangeStyles)({controlName:_,property:"margin-bottom",attributes:t}),Re=ke.rangeStylesDesktop,_e=ke.rangeStylesTab,Ce=ke.rangeStylesMobile,Ee=(0,r.generateDimensionsControlStyles)({controlName:w,styleFor:"margin",attributes:t}),xe=Ee.dimensionStylesDesktop,Se=Ee.dimensionStylesTab,Be=Ee.dimensionStylesMobile,Te=(0,r.generateDimensionsControlStyles)({controlName:k,styleFor:"padding",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Ie=(0,r.generateTypographyStyles)({attributes:t,prefixConstant:I,defaultFontSize:16}),De=Ie.typoStylesDesktop,Ae=Ie.typoStylesTab,Me=Ie.typoStylesMobile,Le=(0,r.generateTypographyStyles)({attributes:t,prefixConstant:D,defaultFontSize:16}),Fe=Le.typoStylesDesktop,je=Le.typoStylesTab,He=Le.typoStylesMobile,ze=(0,r.generateTypographyStyles)({attributes:t,prefixConstant:A,defaultFontSize:16}),Ue=ze.typoStylesDesktop,Ve=ze.typoStylesTab,Ge=ze.typoStylesMobile,qe="flex-start"===b?"left":"flex-end"===b?"right":"center"===b?"center":"",We="\n\t\t.".concat(o,".eb-taxonomies-wrapper {\n text-align: ").concat(l,";\n\t\t\t").concat(T,"\n\t\t\t").concat(M,"\n\t\t\t").concat(J,"\n\t\t\t").concat(H,"\n\t\t\ttransition:").concat(W,", ").concat(ee,";\n\n ").concat("display-block"==u?"\n text-align: ".concat(qe,";\n "):"\n justify-content: ".concat(b,";\n ").concat(he,"\n "),"\n }\n ").concat("display-block"==u?"\n .".concat(o,".eb-taxonomies-wrapper > div:not(:last-child){\n ").concat(Re,"\n }\n "):"","\n\n\t\t.").concat(o,".eb-taxonomies-wrapper:hover {\n\t\t\t").concat(z,"\n\t\t\t").concat(X,"\n\t\t}\n\t"),Ze="\n .".concat(o,".eb-taxonomies-wrapper .eb-tax-wrap{\n ").concat(he,"\n justify-content: ").concat(b,";\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a{\n color: ").concat(i,";\n background-color: ").concat(c,";\n ").concat(Ne,"\n ").concat(xe,"\n ").concat(ae,"\n transition: ").concat(ie,";\n ").concat(De,"\n\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a:hover{\n color: ").concat(p,";\n background-color: ").concat(s,";\n ").concat(re,"\n }\n\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap {\n align-self: ").concat(S,";\n }\n\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap *:not(i){\n color: ").concat(d,";\n ").concat(Fe,"\n }\n\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap i {\n color: ").concat(d,";\n ").concat(pe,"\n }\n\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap {\n align-self: ").concat(x,";\n }\n\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap *:not(i){\n color: ").concat(m,";\n ").concat(Ue,"\n }\n\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap i {\n color: ").concat(m,";\n ").concat(ue,"\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-separator{\n color: ").concat(g,";\n }\n "),Je="\n\t\t.".concat(o,".eb-taxonomies-wrapper{\n\t\t\t").concat(N,"\n\t\t\t").concat(L,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(U,"\n\n ").concat("display-block"==u?"":"\n ".concat(ve,"\n "),"\n }\n ").concat("display-block"==u?"\n .".concat(o,".eb-taxonomies-wrapper > div:not(:last-child){\n ").concat(_e,"\n }\n "):"","\n\n\t\t.").concat(o,".eb-taxonomies-wrapper:hover {\n\t\t\t").concat(V,"\n\t\t\t").concat($,"\n\t\t}\n\t"),Ye="\n .".concat(o,".eb-taxonomies-wrapper .eb-tax-wrap{\n ").concat(ve,"\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a{\n ").concat(Ae,"\n ").concat(Pe,"\n ").concat(Se,"\n ").concat(ne,"\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a:hover{\n ").concat(le,"\n }\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap *:not(i){\n ").concat(je,"\n }\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap i {\n ").concat(be,"\n }\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap *:not(i){\n ").concat(Ve,"\n }\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap i {\n ").concat(ge,"\n }\n "),Qe="\n\t\t.".concat(o,".eb-taxonomies-wrapper {\n\t\t\t").concat(P,"\n\t\t\t").concat(F,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(G,"\n ").concat("display-block"==u?"":"\n ".concat(we,"\n "),"\n }\n ").concat("display-block"==u?"\n .".concat(o,".eb-taxonomies-wrapper > div:not(:last-child){\n ").concat(Ce,"\n }\n "):"","\n\t\t.").concat(o,".eb-taxonomies-wrapper:hover {\n\t\t\t").concat(q,"\n\t\t\t").concat(K,"\n\t\t}\n\t"),Xe="\n .".concat(o,".eb-taxonomies-wrapper .eb-tax-wrap{\n ").concat(we,"\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a{\n ").concat(Me,"\n ").concat(Oe,"\n ").concat(Be,"\n ").concat(oe,"\n }\n .").concat(o,".eb-taxonomies-wrapper .eb-tax-item a:hover{\n ").concat(ce,"\n }\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap *:not(i){\n ").concat(He,"\n }\n .").concat(o,".eb-taxonomies-wrapper .prefix-wrap i {\n ").concat(de,"\n }\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap *:not(i){\n ").concat(Ge,"\n }\n .").concat(o,".eb-taxonomies-wrapper .suffix-wrap i {\n ").concat(fe,"\n }\n "),$e=(0,r.softMinifyCssStrings)("\n\t\t".concat(We,"\n ").concat(Ze,"\n\t")),Ke=(0,r.softMinifyCssStrings)("\n\t\t".concat(Je,"\n ").concat(Ye,"\n\t")),et=(0,r.softMinifyCssStrings)("\n\t\t".concat(Qe,"\n ").concat(Xe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(r.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:$e,tabAllStyles:Ke,mobileAllStyles:et,blockName:n}))}const L=function(e){var t=e.attributes,a=e.setAttributes,n=e.taxonomies,l=e.context,c=(t.resOption,t.prefixType),i=t.prefixIcon,s=t.prefixText,p=t.prefixColor,b=t.suffixType,d=t.suffixIcon,m=t.suffixText,u=t.suffixColor,M=t.source,L=t.selectedTaxonomy,F=t.taxonomiesStyle,j=t.taxonomiesBgColor,H=t.taxonomiesTextColor,z=t.taxonomiesHoverBgColor,U=t.taxonomiesHoverTextColor,V=t.displayStyle,G=t.align,q=t.showSeparator,W=t.separator,Z=t.separatorColor,J=t.taxonomyLimit,Y=t.suffixVerticalAlign,Q=t.prefixVerticalAlign,X=Boolean(l&&(!0===l["essential-blocks/isLoopBuilder"]||l.hasOwnProperty("essential-blocks/postId")&&l.hasOwnProperty("essential-blocks/postType"))),$=null==n?void 0:n.map(function(e){return e.visibility.public?{label:"".concat(e.name),value:e.slug}:null}).filter(Boolean);return React.createElement(r.InspectorPanel,{advancedControlProps:{marginPrefix:y,paddingPrefix:h,backgroundPrefix:f,borderPrefix:v,hasMargin:!0}},React.createElement(r.InspectorPanel.General,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},!X&&React.createElement(g.SelectControl,{label:(0,o.__)("Source","essential-blocks"),value:M,options:P,onChange:function(e){a({source:e})}}),null!==n&&React.createElement(React.Fragment,null,React.createElement(g.SelectControl,{label:"Taxonomy",value:L,options:$,onChange:function(e){a({selectedTaxonomy:e})}}),L&&React.createElement(g.RangeControl,{label:(0,o.__)("Limit","essential-blocks"),value:J,onChange:function(e){return a({taxonomyLimit:e})},min:0,max:50,step:1,allowReset:!0,help:(0,o.__)("Select 0 to show all terms.","essential-blocks")})),null==n&&React.createElement(React.Fragment,null,React.createElement(g.PanelRow,null,"No Taxonomies"))),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Additional","essential-blocks"),initialOpen:!1},React.createElement(g.BaseControl,{label:(0,o.__)("Prefix","essential-blocks")},React.createElement(g.ButtonGroup,{id:"eb-accordion-image-icon"},B.map(function(e,t){var n=e.label,o=e.value;return React.createElement(g.Button,{key:t,isSecondary:c!==o,isPrimary:c===o,onClick:function(){return a({prefixType:o})}},n)}))),"none"!==c&&React.createElement(React.Fragment,null,"icon"===c&&React.createElement(r.EBIconPicker,{value:i,attributeName:"prefixIcon"}),"text"===c&&React.createElement(React.Fragment,null,React.createElement(r.DynamicInputControl,{label:"Prefix Text",attrName:"prefixText",inputValue:s,setAttributes:a,onChange:function(e){return a({prefixText:e})}})),"display-inline"==V&&React.createElement(g.BaseControl,{label:(0,o.__)("Vertical Align","essential-blocks")},React.createElement(g.ButtonGroup,{id:"eb-accordion-image-icon"},O.map(function(e,t){var n=e.label,o=e.value;return React.createElement(g.Button,{key:t,isSecondary:Q!==o,isPrimary:Q===o,onClick:function(){return a({prefixVerticalAlign:o})}},n)})))),React.createElement(g.BaseControl,{label:(0,o.__)("Sufix","essential-blocks")},React.createElement(g.ButtonGroup,{id:"eb-accordion-image-icon"},B.map(function(e,t){var n=e.label,o=e.value;return React.createElement(g.Button,{key:t,isSecondary:b!==o,isPrimary:b===o,onClick:function(){return a({suffixType:o})}},n)}))),"none"!==b&&React.createElement(React.Fragment,null,"icon"===b&&React.createElement(r.EBIconPicker,{value:d,attributeName:"suffixIcon"}),"text"===b&&React.createElement(React.Fragment,null,React.createElement(r.DynamicInputControl,{label:"Suffix Text",attrName:"suffixText",inputValue:m,setAttributes:a,onChange:function(e){return a({suffixText:e})}})),"display-inline"==V&&React.createElement(g.BaseControl,{label:(0,o.__)("Vertical Align","essential-blocks")},React.createElement(g.ButtonGroup,{id:"eb-accordion-image-icon"},O.map(function(e,t){var n=e.label,o=e.value;return React.createElement(g.Button,{key:t,isSecondary:Y!==o,isPrimary:Y===o,onClick:function(){return a({suffixVerticalAlign:o})}},n)})))),React.createElement(g.ToggleControl,{label:(0,o.__)("Show Separator","essential-blocks"),checked:q,onChange:function(){return a({showSeparator:!q})}}),q&&React.createElement(g.TextControl,{label:(0,o.__)("Separator","essential-blocks"),value:W||"",onChange:function(e){a({separator:e})},help:(0,o.__)("Enter character(s) used to separate terms.","essential-blocks")}))),React.createElement(r.InspectorPanel.Style,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Taxonomy Style","essential-blocks"),initialOpen:!0},React.createElement(g.BaseControl,{label:(0,o.__)("Display","essential-blocks")},React.createElement(g.ButtonGroup,{className:"eb-inspector-btn-group"},T.map(function(e,t){return React.createElement(g.Button,{key:t,isPrimary:V===e.value,isSecondary:V!==e.value,onClick:function(){return a({displayStyle:e.value})}},e.label)}))),React.createElement(g.__experimentalDivider,null),React.createElement(g.BaseControl,{label:(0,o.__)("Alignment","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(g.ButtonGroup,{id:"eb-advance-heading-alignment"},S.map(function(e,t){return React.createElement(g.Button,{key:t,isPrimary:G===e.value,isSecondary:G!==e.value,onClick:function(){return a({align:e.value})}},e.label)}))),React.createElement(r.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:I}),React.createElement(g.ButtonGroup,{className:"eb-inspector-btn-group"},N.map(function(e,t){return React.createElement(g.Button,{key:t,isPrimary:F===e.value,isSecondary:F!==e.value,onClick:function(){return a({taxonomiesStyle:e.value})}},e.label)})),"normal"===F&&React.createElement(React.Fragment,null,React.createElement(r.ColorControl,{label:(0,o.__)("Background Color","essential-blocks"),color:j,attributeName:"taxonomiesBgColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Text Color","essential-blocks"),color:H,attributeName:"taxonomiesTextColor"}),q&&React.createElement(r.ColorControl,{label:(0,o.__)("Separator Color","essential-blocks"),color:Z,attributeName:"separatorColor"})),"hover"===F&&React.createElement(React.Fragment,null,React.createElement(r.ColorControl,{label:(0,o.__)("Hover Background Color","essential-blocks"),color:z,attributeName:"taxonomiesHoverBgColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Hover Text Color","essential-blocks"),color:U,attributeName:"taxonomiesHoverTextColor"})),React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Gap","essential-blocks"),controlName:_,units:x,min:1,max:100,step:1}),React.createElement(r.ResponsiveDimensionsControl,{controlName:k,baseLabel:"Padding"}),React.createElement(r.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Margin"}),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Border"),initialOpen:!1},React.createElement(r.BorderShadowControl,{controlName:R})),"none"!==c&&React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Prefix"),initialOpen:!1},React.createElement(r.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:p,attributeName:"prefixColor"}),"icon"===c&&i&&React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Icon Size","essential-blocks"),controlName:C,min:8,max:200,step:1}),"text"===c&&React.createElement(r.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:D})),"none"!==b&&React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Suffix"),initialOpen:!1},React.createElement(r.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:u,attributeName:"suffixColor"}),"icon"===b&&d&&React.createElement(r.ResponsiveRangeController,{baseLabel:(0,o.__)("Icon Size","essential-blocks"),controlName:E,min:8,max:200,step:1}),"text"===b&&React.createElement(r.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:A})))))};function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=j(j(j(j(j(j(j(j(j(j(j({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},prefixType:{type:"string",default:"none"},prefixVerticalAlign:{type:"string",default:"flex-start"},prefixIcon:{type:"string",default:"fas fa-list"},prefixText:{type:"string",default:"Prefix Text"},prefixColor:{type:"string",default:""},suffixType:{type:"string",default:"none"},suffixVerticalAlign:{type:"string",default:"flex-start"},suffixIcon:{type:"string",default:"fas fa-list"},suffixText:{type:"string",default:"Suffix Text"},suffixColor:{type:"string",default:""},currentPostType:{type:"string"},currentPostId:{type:"number"},taxonomiesQuery:{type:"object",default:{per_page:-1}},taxonomyLimit:{type:"number",default:1},source:{type:"string",default:"current-post"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showEmpty:{type:"boolean",default:!1},showSeparator:{type:"boolean",default:!1},separator:{type:"string",default:"|"},selectedTaxonomy:{type:"string"},selectedTaxonomyItems:{type:"string",default:'[{"value":"all","label":"All"}]'},taxonomiesStyle:{type:"string",default:"normal"},taxonomiesBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},taxonomiesTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},taxonomiesHoverBgColor:{type:"string",default:"var(--eb-global-primary-color)"},taxonomiesHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},displayStyle:{type:"string",default:"display-inline"},align:{type:"string",default:"flex-start"}},(0,r.generateTypographyAttributes)(Object.values(n))),(0,r.generateDimensionsAttributes)(y)),(0,r.generateDimensionsAttributes)(h)),(0,r.generateDimensionsAttributes)(w)),(0,r.generateDimensionsAttributes)(k,{top:2,bottom:2,left:4,right:4,isLinked:!1})),(0,r.generateBorderShadowAttributes)(v,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,r.generateBorderShadowAttributes)(R,{rdsDefaults:{top:3,right:3,bottom:3,left:3}})),(0,r.generateBackgroundAttributes)(f,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,r.generateResponsiveRangeAttributes)(_,{defaultRange:5})),(0,r.generateResponsiveRangeAttributes)(C,{defaultRange:30})),(0,r.generateResponsiveRangeAttributes)(E,{defaultRange:30}));var z;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},U.apply(null,arguments)}var V=function(e){return i.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),z||(z=i.createElement("path",{fill:"#6C3BFF",stroke:"#6C3BFF",strokeWidth:.3,d:"M22.6 37.85H11.4c-.412 0-.806.166-1.096.46a1.58 1.58 0 0 0-.454 1.11v8.16c0 .416.163.815.454 1.11.29.294.684.46 1.096.46h11.2c.412 0 .806-.166 1.096-.46s.453-.694.454-1.11v-8.16c0-.416-.163-.815-.454-1.11a1.54 1.54 0 0 0-1.096-.46Zm-11.05 9.58v-7.86h10.9v7.86zM47.6 37.85H36.4c-.412 0-.806.166-1.096.46s-.454.694-.454 1.11v8.16c0 .416.163.815.454 1.11.29.294.684.46 1.096.46h11.2c.412 0 .806-.166 1.096-.46s.454-.694.454-1.11v-8.16c0-.416-.163-.815-.454-1.11a1.54 1.54 0 0 0-1.096-.46Zm-11.05 9.58v-7.86h10.9v7.86zM30.411 20.755h8.05c.416 0 .816-.159 1.112-.443s.464-.67.464-1.075v-7.869c0-.404-.168-.79-.464-1.075l-.104.108.104-.108a1.6 1.6 0 0 0-1.112-.443H20.635c-.416 0-.816.16-1.112.443s-.464.67-.464 1.075v7.869c0 .405.168.791.464 1.075s.696.443 1.112.443h8.05v1.475a5.98 5.98 0 0 1-1.862 4.305 6.5 6.5 0 0 1-4.495 1.789H19.12c-.865 0-1.696.33-2.31.92a3.09 3.09 0 0 0-.96 2.223v3.849a.82.82 0 0 0 .255.592.88.88 0 0 0 .608.242.88.88 0 0 0 .608-.242.82.82 0 0 0 .255-.592v-3.849c0-.389.162-.763.45-1.04a1.58 1.58 0 0 1 1.094-.435h3.208a8.33 8.33 0 0 0 4.375-1.241 7.9 7.9 0 0 0 2.845-3.047 7.9 7.9 0 0 0 2.845 3.047 8.33 8.33 0 0 0 4.374 1.241h3.113c.411 0 .804.158 1.093.435.29.277.45.651.45 1.04v3.851c.005.221.099.43.26.584a.88.88 0 0 0 .604.237.88.88 0 0 0 .603-.238.82.82 0 0 0 .26-.583v-3.851a3.09 3.09 0 0 0-.96-2.224 3.34 3.34 0 0 0-2.31-.92h-3.112a6.5 6.5 0 0 1-4.495-1.788 5.98 5.98 0 0 1-1.862-4.305zm-9.626-1.668v-7.569H38.31v7.569z"})))},G=a(8537);function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function W(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Z=(0,s.memo)((0,d.compose)([(0,b.withSelect)(function(e,t){return{selectPostType:e("core/editor")?e("core/editor").getCurrentPostType():""}}),(0,r.withBlockContext)(H)])(function(e){var t,a=e.attributes,n=e.setAttributes,c=e.isSelected,i=e.selectPostType,d=e.context,m=a.blockId,g=a.classHook,f=a.selectedTaxonomy,y=a.showHierarchy,h=a.showPostCounts,v=a.displayStyle,w=a.prefixType,k=a.prefixText,R=a.prefixIcon,_=a.suffixType,C=a.suffixIcon,E=a.suffixText,x=a.separator,S=a.showSeparator,B=a.taxonomyLimit,T=a.taxonomiesQuery,N=a.source,P=(a.currentPostType,a.currentPostId),O=W(W({},e),{},{blockPrefix:"eb-taxonomy",style:React.createElement(M,e)});(0,s.useEffect)(function(){i&&n({currentPostType:i})},[]);var I=(0,b.select)("core/editor").getCurrentPostType(),D=null==d?void 0:d["essential-blocks/postId"],A=null==d?void 0:d["essential-blocks/postType"],F=Boolean(d&&(!0===d["essential-blocks/isLoopBuilder"]||d.hasOwnProperty("essential-blocks/postId")&&d.hasOwnProperty("essential-blocks/postType"))),j=F?A:I,H=F?D:P,z=(0,s.useState)(null),U=(0,l.A)(z,2),q=(U[0],U[1]),Z=(0,s.useState)(!1),J=(0,l.A)(Z,2),Y=(J[0],J[1]);(0,s.useEffect)(function(){F&&n({source:"current-post",currentPostId:D||0,currentPostType:A||"post"})},[F,D,A]),(0,s.useEffect)(function(){F&&H&&f?(Y(!0),u()({path:"/wp/v2/".concat(j,"s/").concat(H,"?_embed")}).then(function(e){var t=[];e&&e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].forEach(function(e){e.forEach(function(e){e.taxonomy===f&&t.push({id:e.id,name:e.name,link:e.link,count:e.count||0,parent:e.parent||0})})}),q(t),Y(!1)}).catch(function(e){console.error("Failed to fetch taxonomy data for Loop Builder:",e),q([]),Y(!1)})):F||(q(null),Y(!1))},[F,H,j,f]),(0,s.useEffect)(function(){null==B&&n({taxonomyLimit:0})},[B]),(0,s.useEffect)(function(){if(F&&"current-post"===N)n({taxonomiesQuery:W(W({},T),{},{type:j})});else if(F||"current-post"!==N){var e=W({},T);e.hasOwnProperty("type")&&delete e.type,n({taxonomiesQuery:e})}else if("templately_library"===I){var t="post",a=(0,b.select)("core/editor").getEditedPostAttribute("templately_type");a&&(["product_archive","product_single"].includes(a)&&(t="product"),["course_archive","course_single"].includes(a)&&(t="sfwd-courses")),n({taxonomiesQuery:W(W({},T),{},{type:t})})}else if("wp_template"===I){var o=(0,b.select)("core/editor").getEditedPostAttribute("slug").split("-"),r="post";o.length>1&&(r=o[1]),1===o.length&&"page"===o[0]&&(r="page"),n({taxonomiesQuery:W(W({},T),{},{type:r})})}else n({taxonomiesQuery:W(W({},T),{},{type:i})})},[N]);var Q=(0,b.useSelect)(function(e){return{taxonomies:e(p.store).getTaxonomies(T),hasResolved:e(p.store).hasFinishedResolution("getTaxonomies",[T])}},[T]),X=Q.taxonomies,$=Q.hasResolved;(0,s.useEffect)(function(){if($)if(!f&&X&&X.length)n({selectedTaxonomy:X[0].slug});else if(X&&X.length){var e=X.map(function(e){return e.slug});e.includes(f)||n({selectedTaxonomy:e[0]})}else n({selectedTaxonomy:""})},[X,$]);var K,ee={per_page:0==B?-1:B},te=(0,p.useEntityRecords)("taxonomy",f,ee),ae=te.records,ne=(te.isResolving,function(e){return null!=ae&&ae.length?null===e?ae:ae.filter(function(t){return t.parent===e}):[]}),oe=function(e){var t=ne(e.id),a=e.id,n=e.link,o=e.count,r=e.name;return React.createElement(s.Fragment,{key:a},React.createElement("span",{className:"eb-tax-item eb-tax-item-".concat(a)},React.createElement("a",{href:n,target:"_blank",rel:"noreferrer noopener"},function(e){return e?(0,G.decodeEntities)(e).trim():__("Untitled","essential-blocks")}(r)),h&&" (".concat(o,")"),y&&t.length&&React.createElement("ul",{className:"children"},t.map(function(e){return oe(e)}))),S&&x&&React.createElement("span",{className:"eb-tax-separator"},x))},re=React.createElement("img",{src:"".concat(null===(K=EssentialBlocksLocalize)||void 0===K?void 0:K.image_url,"/ajax-loader.gif"),alt:"Loading..."});return React.createElement(React.Fragment,null,c&&React.createElement(L,{attributes:a,setAttributes:n,taxonomies:X,context:d}),React.createElement(r.BlockProps.Edit,O,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(m," ").concat(g)},!$&&React.createElement(r.NoticeComponent,{Icon:V,title:(0,o.__)("Taxonomy","essential-blocks"),description:re}),$&&!X&&React.createElement(r.NoticeComponent,{Icon:V,title:(0,o.__)("Taxonomy","essential-blocks"),description:"No taxonomies found for this post"}),$&&X&&React.createElement(React.Fragment,null,Array.isArray(ae)&&0==ae.length&&"edit-site"!==(null===(t=eb_conditional_localize)||void 0===t?void 0:t.editor_type)&&React.createElement(r.NoticeComponent,{Icon:V,title:(0,o.__)("Taxonomy","essential-blocks"),description:"Not found any data."}),React.createElement("div",{className:"eb-taxonomies-wrapper ".concat(m," ").concat(v),"data-id":m},"none"!==w&&React.createElement("div",{className:"prefix-wrap"},"text"===w&&k&&React.createElement(r.DynamicInputValueHandler,{value:k,tagName:"span",className:"eb-taxonomy-prefix-text",onChange:function(e){return n({prefixText:e})},readOnly:!0}),"icon"===w&&R&&React.createElement(r.EBDisplayIcon,{icon:R,className:"eb-taxonomy-prefix-icon"})),React.createElement("div",{className:"eb-tax-wrap"},function(){var e=[];if("current-post"===N){var t="Category";if(f&&X){var a=X.find(function(e){return e.slug===f});a&&(t=a.name)}e=[{id:0,link:"#",count:5,name:t}]}else e=ne(y?0:null);return e.map(function(e,t){return oe(e)})}()),"none"!==_&&React.createElement("div",{className:"suffix-wrap"},"text"===_&&E&&React.createElement(r.DynamicInputValueHandler,{value:E,placeholder:"placeholder text",tagName:"span",className:"eb-taxonomy-suffix-text",onChange:function(e){return n({suffixText:e})},readOnly:!0}),"icon"===_&&C&&React.createElement(r.EBDisplayIcon,{icon:C,className:"eb-taxonomy-suffix-icon"})))))))})),J=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Taxonomy","name":"essential-blocks/taxonomy","category":"essential-blocks","description":"Display and organize content by categories, tags, product SKUs, etc. to make it easy for users to navigate","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"usesContext":["essential-blocks/postId","essential-blocks/postType","essential-blocks/isLoopBuilder"],"editorScript":"essential-blocks-editor-script"}');(0,r.ebConditionalRegisterBlockType)(J,{keywords:[(0,o.__)("Taxonomy","essential-blocks"),(0,o.__)("taxonomy block","essential-blocks"),(0,o.__)("category","essential-blocks"),(0,o.__)("tags","essential-blocks")],icon:V,attributes:H,edit:Z,save:function(){return null},example:{attributes:{}}})},5573:e=>{e.exports=window.wp.primitives},5694:e=>{e.exports=EBControls},5795:e=>{e.exports=window.ReactDOM},5846:(e,t,a)=>{var n,o,r=a(7723),l=a(1609);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}var i=a(4467),s=a(9394),p=a(8468),b=a(9491),d=a(4715),m=a(6427),u=a(7143),g=a(8537),f=a(8107),y=a(7098),h=a.n(y),v=a(5694);function w(e){if(!e)return e;var t=e.toString().toLowerCase().replace(/&(amp;)/g,"").replace(/&(mdash;)/g,"").replace(/\u2013|\u2014/g,"").replace(/[&]nbsp[;]/gi,"-").replace(/\s+/g,"-").replace(/[&\/\\#,^!+()$~%.'":*?<>{}@‘’”“]/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");return decodeURI(encodeURIComponent(t))}var k=a(3453),R=a(6087),_=a(6005),C="title",E="content",x="wrpM_",S="wrpP_",B="ttlP_",T="cntP_",N="wrpB_",P="itemB_",O="closeB_",I="wrpW",D="wBg_";function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const L=M(M(M(M(M(M(M(M(M(M(M({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},headers:{type:"array",default:[]},visibleHeaders:{type:"array",default:Array(6).fill(!0)},deleteHeaderList:{type:"array",default:[]},isMigrated:{type:"boolean",default:!1},title:{type:"string",default:"Table of Contents"},collapsible:{type:"boolean",default:!1},initialCollapse:{type:"boolean",default:!1},mainBgc:{type:"string",default:"var(--eb-global-background-color)"},titleBg:{type:"string",default:""},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},contentBg:{type:"string",default:""},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentHoverColor:{type:"string",default:"var(--eb-global-link-color)"},contentGap:{type:"number",default:10},contentGapUnit:{type:"string",default:"px"},indent:{type:"number"},displayTitle:{type:"boolean",default:!0},titleAlign:{type:"string",default:"left"},titleFontFamily:{type:"string"},titleSizeUnit:{type:"string",default:"px"},titleFontSize:{type:"number",default:22},titleFontWeight:{type:"string",default:"normal"},titleTextTransform:{type:"string"},titleTextDecoration:{type:"string"},titleLetterSpacing:{type:"number"},titleLetterSpacingUnit:{type:"string",default:"px"},titleLineHeight:{type:"number"},titleLineHeightUnit:{type:"string",default:"px"},contentFontFamily:{type:"string"},contentSizeUnit:{type:"string",default:"px"},contentFontSize:{type:"number"},contentFontWeight:{type:"string",default:"normal"},contentTextTransform:{type:"string"},contentLetterSpacing:{type:"number"},contentLetterSpacingUnit:{type:"string",default:"px"},contentLineHeight:{type:"number",default:1.4},isSmooth:{type:"boolean",default:!0},seperator:{type:"boolean",default:!1},seperatorColor:{type:"string",default:"var(--eb-global-tertiary-color)"},seperatorSize:{type:"number"},seperatorStyle:{type:"string",default:"solid"},borderWidth:{type:"number"},borderColor:{type:"string"},borderStyle:{type:"string",default:"solid"},titlePaddingTop:{type:"number",default:0},titlePaddingRight:{type:"number",default:0},titlePaddingBottom:{type:"number",default:0},titlePaddingLeft:{type:"number",default:10},titlePaddingUnit:{type:"string",default:"px"},scrollToTop:{type:"boolean",default:!1},arrowHeight:{type:"number"},arrowWidth:{type:"number"},arrowBg:{type:"string"},arrowColor:{type:"string"},hOffset:{type:"number"},vOffset:{type:"number"},blur:{type:"number"},spread:{type:"number"},shadowColor:{type:"string"},contentPaddingTop:{type:"number",default:0},contentPaddingRight:{type:"number",default:0},contentPaddingBottom:{type:"number",default:0},contentPaddingLeft:{type:"number",default:0},contentPaddingUnit:{type:"string",default:"px"},listSeperatorWidth:{type:"number"},listSeperatorStyle:{type:"string",default:"solid"},listSeperatorColor:{type:"string"},hasUnderline:{type:"boolean",default:!1},topSpace:{type:"number",default:25},contentHeight:{type:"number"},contentHeightUnit:{type:"string",default:"px"},contentWidth:{type:"number",default:300},contentWidthUnit:{type:"string",default:"px"},isSticky:{type:"boolean",default:!1},stickyHideOnMobile:{type:"boolean",default:!1},zIndex:{type:"number",default:999},contentAlign:{type:"string",default:"left"},containerWidth:{type:"number",default:100},topOffset:{type:"string",default:"-50"},scrollTarget:{type:"string",default:"scroll_to_toc"},stickyPosition:{type:"string",default:"left"},enableCopyLink:{type:"boolean",default:!1},scrollToTopIcon:{type:"string",default:"fas fa-angle-up"},listStyle:{type:"string",default:"ul"},closeBtnColor:{type:"string",default:"var(--eb-global-button-text-color)"},closeBtnHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},closeBtnBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeBtnBgHvColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeIconSize:{type:"number",default:12},closeBtnSize:{type:"number",default:28},titleTag:{type:"string",default:"h2"},enableHighlight:{type:"boolean",default:!1}},(0,v.generateTypographyAttributes)(C,{fontSize:20})),(0,v.generateTypographyAttributes)(E,{fontSize:14})),(0,v.generateResponsiveRangeAttributes)(I,{defaultRange:610})),{},{showListSeparator:{type:"boolean",default:!1},enableListStyle:{type:"boolean",default:!1},itemCollapsed:{type:"boolean",default:!1},preset:{type:"string",default:"style-1"},contentItemBg:{type:"string",default:"#fff"},alignment:{type:"string",default:"align-custom"}},(0,v.generateBackgroundAttributes)(D,{defaultFillColor:"var(--eb-global-background-color)",noOverlayBgi:!0})),(0,v.generateBorderShadowAttributes)(N,{rdsDefaults:{top:4,bottom:4,right:4,left:4}})),(0,v.generateBorderShadowAttributes)(P,{rdsDefaults:{top:4,bottom:4,right:4,left:4}})),(0,v.generateDimensionsAttributes)(x)),(0,v.generateDimensionsAttributes)(S,{top:30,bottom:30,right:30,left:30,isLinked:!0})),(0,v.generateDimensionsAttributes)(B,{isLinked:!1})),(0,v.generateDimensionsAttributes)(T)),(0,v.generateBorderShadowAttributes)(O));var F=[{label:"H1",value:1},{label:"H2",value:2},{label:"H3",value:3},{label:"H4",value:4},{label:"H5",value:5},{label:"H6",value:6}],j=[{label:(0,r.__)("Left","essential-blocks"),value:"left"},{label:(0,r.__)("Center","essential-blocks"),value:"center"},{label:(0,r.__)("Right","essential-blocks"),value:"right"}],H=((0,r.__)("None","essential-blocks"),(0,r.__)("Lowercase","essential-blocks"),(0,r.__)("Capitalize","essential-blocks"),(0,r.__)("Uppercase","essential-blocks"),(0,r.__)("Lighter","essential-blocks"),(0,r.__)("Normal","essential-blocks"),(0,r.__)("Bold","essential-blocks"),(0,r.__)("Bolder","essential-blocks"),(0,r.__)("Initial","essential-blocks"),(0,r.__)("Overline","essential-blocks"),(0,r.__)("Line Through","essential-blocks"),(0,r.__)("Underline","essential-blocks"),(0,r.__)("Underline Oveline","essential-blocks"),[{label:(0,r.__)("None","essential-blocks"),value:"none"},{label:(0,r.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,r.__)("Solid","essential-blocks"),value:"solid"},{label:(0,r.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,r.__)("Double","essential-blocks"),value:"double"},{label:(0,r.__)("Groove","essential-blocks"),value:"groove"},{label:(0,r.__)("Inset","essential-blocks"),value:"inset"},{label:(0,r.__)("Outset","essential-blocks"),value:"outset"},{label:(0,r.__)("Ridge","essential-blocks"),value:"ridge"}]),z=((0,r.__)("Preset 1","essential-blocks"),(0,r.__)("Preset 2","essential-blocks"),(0,r.__)("Preset 3","essential-blocks"),(0,r.__)("Preset 4","essential-blocks"),(0,r.__)("Left","essential-blocks"),(0,r.__)("Center","essential-blocks"),(0,r.__)("Right","essential-blocks"),(0,r.__)("Left","essential-blocks"),(0,r.__)("Center","essential-blocks"),(0,r.__)("Right","essential-blocks"),(0,r.__)("Top","essential-blocks"),(0,r.__)("Middle","essential-blocks"),(0,r.__)("Bottom","essential-blocks"),[{label:(0,r.__)("H1","essential-blocks"),value:"h1"},{label:(0,r.__)("H2","essential-blocks"),value:"h2"},{label:(0,r.__)("H3","essential-blocks"),value:"h3"},{label:(0,r.__)("H4","essential-blocks"),value:"h4"},{label:(0,r.__)("H5","essential-blocks"),value:"h5"},{label:(0,r.__)("H6","essential-blocks"),value:"h6"}]),U=((0,r.__)("Fill","essential-blocks"),(0,r.__)("Gradient","essential-blocks"),(0,r.__)("Image","essential-blocks"),(0,r.__)("Auto","essential-blocks"),(0,r.__)("Cover","essential-blocks"),(0,r.__)("Contain","essential-blocks"),(0,r.__)("Select Hover Effect","essential-blocks"),(0,r.__)("Grow","essential-blocks"),(0,r.__)("Shrink","essential-blocks"),(0,r.__)("Pulse","essential-blocks"),(0,r.__)("Pulse Grow","essential-blocks"),(0,r.__)("Pulse Shrink","essential-blocks"),(0,r.__)("Push","essential-blocks"),(0,r.__)("Pop","essential-blocks"),(0,r.__)("Bounce In","essential-blocks"),(0,r.__)("Bounce Out","essential-blocks"),(0,r.__)("Rotate","essential-blocks"),(0,r.__)("Grow Rotate","essential-blocks"),(0,r.__)("Float","essential-blocks"),(0,r.__)("Sink","essential-blocks"),(0,r.__)("Bob","essential-blocks"),(0,r.__)("Hang","essential-blocks"),(0,r.__)("Skew","essential-blocks"),(0,r.__)("Skew Forward","essential-blocks"),(0,r.__)("Skew Backward","essential-blocks"),(0,r.__)("Wobble Horizontal","essential-blocks"),(0,r.__)("Wobble Vertical","essential-blocks"),(0,r.__)("Wobble To Bottom Right","essential-blocks"),(0,r.__)("Wobble To Top Right","essential-blocks"),(0,r.__)("Wobble Top","essential-blocks"),(0,r.__)("Wobble Bottom","essential-blocks"),(0,r.__)("Wobble Skew","essential-blocks"),(0,r.__)("Buzz","essential-blocks"),(0,r.__)("Buzz Out","essential-blocks"),(0,r.__)("Forward","essential-blocks"),(0,r.__)("Fade","essential-blocks"),(0,r.__)("Back Pulse","essential-blocks"),(0,r.__)("Sweep To Right","essential-blocks"),(0,r.__)("Sweep To Left","essential-blocks"),(0,r.__)("Sweep To Bottom","essential-blocks"),(0,r.__)("Sweep To Top","essential-blocks"),(0,r.__)("Bounce To Right","essential-blocks"),(0,r.__)("Bounce To Left","essential-blocks"),(0,r.__)("Bounce To Bottom","essential-blocks"),(0,r.__)("Bounce To Top","essential-blocks"),(0,r.__)("Radial Out","essential-blocks"),(0,r.__)("Radial In","essential-blocks"),(0,r.__)("Rectangle In","essential-blocks"),(0,r.__)("Rectangle Out","essential-blocks"),(0,r.__)("Shutter In Horizontal","essential-blocks"),(0,r.__)("Shutter Out Horizontal","essential-blocks"),(0,r.__)("Shutter In Vertical","essential-blocks"),(0,r.__)("Shutter Out Vertical","essential-blocks"),(0,r.__)("Curl Top Left","essential-blocks"),(0,r.__)("Curl Top Right","essential-blocks"),(0,r.__)("Curl Bottom Right","essential-blocks"),(0,r.__)("Curl Bottom Left","essential-blocks"),[{label:(0,r.__)("Scroll to the top of page","essential-blocks"),value:"scroll_to_page"},{label:(0,r.__)("Scroll to the TOC","essential-blocks"),value:"scroll_to_toc"}]),V=[{label:(0,r.__)("Left","essential-blocks"),value:"left"},{label:(0,r.__)("Right","essential-blocks"),value:"right"},{label:(0,r.__)("Top","essential-blocks"),value:"top"},{label:(0,r.__)("Bottom","essential-blocks"),value:"bottom"}],G=[{label:(0,r.__)("Style 1","essential-blocks"),value:"style-1"},{label:(0,r.__)("Style 2","essential-blocks"),value:"style-2"}],q=[{label:(0,r.__)("Top","essential-blocks"),value:"align-top"},{label:(0,r.__)("Middle","essential-blocks"),value:"align-middle"},{label:(0,r.__)("Bottom","essential-blocks"),value:"align-bottom"},{label:(0,r.__)("Custom","essential-blocks"),value:"align-custom"}],W=[{label:(0,r.__)("Left","essential-blocks"),value:"align-left"},{label:(0,r.__)("Center","essential-blocks"),value:"align-center"},{label:(0,r.__)("Right","essential-blocks"),value:"align-right"},{label:(0,r.__)("Custom","essential-blocks"),value:"align-custom"}];const Z=function(e){var t,a=e.attributes,n=e.setAttributes,o=(a.resOption,a.visibleHeaders),l=a.collapsible,c=a.initialCollapse,i=(a.mainBgc,a.titleBg),b=a.titleColor,d=a.contentBg,u=a.contentColor,g=a.contentHoverColor,f=a.indent,y=a.contentGap,h=a.contentGapUnit,w=a.displayTitle,A=a.titleAlign,M=a.isSmooth,L=a.seperator,Z=a.seperatorSize,J=a.seperatorColor,Y=a.seperatorStyle,Q=a.scrollToTop,X=a.arrowHeight,$=a.arrowWidth,K=a.arrowBg,ee=a.arrowColor,te=a.listSeperatorWidth,ae=a.listSeperatorStyle,ne=a.listSeperatorColor,oe=a.hasUnderline,re=a.isSticky,le=a.contentHeight,ce=a.topSpace,ie=a.stickyHideOnMobile,se=a.scrollTarget,pe=a.stickyPosition,be=a.showListSeparator,de=a.topOffset,me=a.deleteHeaderList,ue=a.title,ge=a.titleTag,fe=a.enableCopyLink,ye=a.scrollToTopIcon,he=a.listStyle,ve=a.preset,we=a.enableListStyle,ke=a.contentItemBg,Re=a.itemCollapsed,_e=a.closeBtnColor,Ce=a.closeBtnHoverColor,Ee=a.closeBtnBgColor,xe=a.closeBtnBgHvColor,Se=a.closeBtnSize,Be=a.closeIconSize,Te=a.enableHighlight,Ne=a.alignment,Pe=(0,p.useState)(F),Oe=(0,k.A)(Pe,2),Ie=Oe[0],De=(Oe[1],(0,p.useState)([])),Ae=(0,k.A)(De,2),Me=Ae[0],Le=Ae[1];(0,p.useEffect)(function(){Fe()},[o]),(0,p.useEffect)(function(){re&&n({displayTitle:!0,collapsible:!0})},[re]),(0,p.useEffect)(function(){"top"!==pe&&"bottom"!==pe||n({alignment:"align-custom"})},[pe]);var Fe=function(){var e=[];o.map(function(t,a){t&&e.push({label:"H".concat(a+1),value:a+1})}),Le(e)},je="em"===h?.1:1,He="em"===h?10:100;return React.createElement(React.Fragment,null,React.createElement(v.InspectorPanel,{advancedControlProps:{marginPrefix:x,paddingPrefix:S,borderPrefix:N,backgroundPrefix:D,disableBackgroundOverlay:!0,disableBackgroundMainImage:!0}},React.createElement(v.InspectorPanel.General,null,React.createElement("style",null,"\n .fix-select-over-lapping>div>div{\n z-index:999999 !important;\n }\n\n .wrap-width-range-fix-style .responsiveRangeControllerWrapper> .responsive-btn-wrapper > .responsive-btn > .responsive-btn-label{\n display:block;\n padding-bottom:5px;\n }\n\n\n .wrap-width-range-fix-style .responsiveRangeControllerWrapper{\n padding-top:15px;\n }\n\n .wrap-width-range-fix-style .responsiveRangeControllerWrapper> .components-button-group.eb-unit-control-btn-group{\n margin-bottom:-40px;\n }\n "),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Title","essential-blocks")},React.createElement(React.Fragment,null,!re&&React.createElement(m.ToggleControl,{label:(0,r.__)("Display Title","essential-blocks"),checked:w,onChange:function(){return n({displayTitle:!w})}}),React.createElement(v.DynamicInputControl,{label:(0,r.__)("Title Text","essential-blocks"),attrName:"title",inputValue:ue,setAttributes:n,onChange:function(e){return n({title:e})}}),React.createElement(v.ButtonGroupControl,{label:(0,r.__)("Title Tag","essential-blocks"),options:z,attrName:"titleTag",currentValue:ge}))),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Supported Heading Tags","essential-blocks")},React.createElement("div",{className:"fix-select-over-lapping"},React.createElement(_.Ay,{options:Ie,value:Me,defaultValue:Me,isMulti:!0,onChange:function(e){if(e){var t=Array(6).fill(!1);e.map(function(e){return t[e.value-1]=!0}),n({visibleHeaders:t})}else n({visibleHeaders:[]})}}))),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(m.SelectControl,{label:(0,r.__)("Preset","essential-blocks"),value:ve,options:G,onChange:function(e){return function(e){switch(e){case"style-1":n({seperator:!1,contentItemBg:"#fff",itemB_Rds_Bottom:"4",itemB_Rds_Left:"4",itemB_Rds_Right:"4",itemB_Rds_Top:"4",itemB_Rds_Unit:"px",itemB_Rds_isLinked:!0,wrpB_borderColor:"var(--eb-global-heading-color)",wrpB_borderStyle:"none",wrpB_Bdr_Bottom:"0",wrpB_Bdr_Left:"0",wrpB_Bdr_Right:"0",wrpB_Bdr_Top:"0",wrpB_Bdr_Unit:"px",wrpB_Bdr_isLinked:!1});break;case"style-2":n({seperator:!0,seperatorSize:1,contentItemBg:"",itemB_Rds_Bottom:"0",itemB_Rds_Left:"0",itemB_Rds_Right:"0",itemB_Rds_Top:"0",itemB_Rds_Unit:"px",itemB_Rds_isLinked:!0,wrpB_borderColor:"var(--eb-global-heading-color)",wrpB_borderStyle:"solid",wrpB_Bdr_Bottom:"0",wrpB_Bdr_Left:"0",wrpB_Bdr_Right:"0",wrpB_Bdr_Top:"5",wrpB_Bdr_Unit:"px",wrpB_Bdr_isLinked:!1})}n({preset:e})}(e)}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Display Underline","essential-blocks"),checked:oe,onChange:function(){return n({hasUnderline:!oe})}}),w&&!re&&React.createElement(m.ToggleControl,{label:(0,r.__)("Collapsible","essential-blocks"),checked:l,onChange:function(){return n({collapsible:!l})}}),w&&l&&React.createElement(m.ToggleControl,{label:(0,r.__)("Collapsed initially","essential-blocks"),checked:c,onChange:function(){return n({initialCollapse:!c})}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Sticky contents","essential-blocks"),help:(0,r.__)("Always show contents on sidebar (Visible on frontend only)"),checked:re,onChange:function(){return n({isSticky:!re})}}),re&&React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:(0,r.__)("Sticky Position","essential-blocks"),value:pe,options:V,onChange:function(e){return n({stickyPosition:e})}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Hide on Mobile","essential-blocks"),checked:ie,onChange:function(){return n({stickyHideOnMobile:!ie})}})),React.createElement(m.ToggleControl,{label:(0,r.__)("Enable Item Collapsed","essential-blocks"),checked:Re,onChange:function(){return n({itemCollapsed:!Re})}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Enable Highlight On Scroll","essential-blocks"),checked:Te,onChange:function(){return n({enableHighlight:!Te})}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Enable Copy Link","essential-blocks"),help:(0,r.__)("Visible on frontend only"),checked:fe,onChange:function(){return n({enableCopyLink:!fe})}}),React.createElement(m.TextControl,{label:(0,r.__)("Offset Top","essential-blocks"),value:de,onChange:function(e){return n({topOffset:e})},type:"number"}),React.createElement(m.ToggleControl,{label:(0,r.__)("Enable List Style","essential-blocks"),checked:we,onChange:function(){return n({enableListStyle:!we})}}),we&&React.createElement(m.SelectControl,{label:(0,r.__)("List Style","essential-blocks"),value:he,options:[{label:(0,r.__)("Unordered","essential-blocks"),value:"ul"},{label:(0,r.__)("Ordered","essential-blocks"),value:"ol"}],onChange:function(e){return n({listStyle:e})}})),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Scroll","essential-blocks"),initialOpen:!1},React.createElement(m.ToggleControl,{label:(0,r.__)("Smooth Scroll","essential-blocks"),checked:M,onChange:function(){return n({isSmooth:!M})}}),React.createElement(m.ToggleControl,{label:(0,r.__)("Scroll To Top","essential-blocks"),checked:Q,onChange:function(){return n({scrollToTop:!Q})}}),Q&&React.createElement(React.Fragment,null,React.createElement(m.__experimentalDivider,null),React.createElement(v.EBIconPicker,{value:ye,onChange:function(e){return n({scrollToTopIcon:e})}}),!re&&React.createElement(m.SelectControl,{label:(0,r.__)("Scroll Target","essential-blocks"),value:se,options:U,onChange:function(e){return n({scrollTarget:e})}}),React.createElement(m.RangeControl,{label:(0,r.__)("Arrow Height","essential-blocks"),value:X,onChange:function(e){return n({arrowHeight:e})},min:0,max:100}),React.createElement(m.RangeControl,{label:(0,r.__)("Arrow Width","essential-blocks"),value:$,onChange:function(e){return n({arrowWidth:e})},min:0,max:100}),React.createElement(v.ColorControl,{label:(0,r.__)("Arrow Background","essential-blocks"),color:K,attributeName:"arrowBg"}),React.createElement(v.ColorControl,{label:(0,r.__)("Arrow Color","essential-blocks"),color:ee,attributeName:"arrowColor"}))),"undefined"!=typeof eb_conditional_localize&&"edit-site"!==(null===(t=eb_conditional_localize)||void 0===t?void 0:t.editor_type)&&React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Exclude Headings","essential-blocks"),initialOpen:!1},me.map(function(e,t){return React.createElement(m.CheckboxControl,{key:t,label:(0,R.unescape)(e.label),value:e.value,checked:e.isDelete,onChange:function(){!function(e,t){me[t].isDelete=!(null!=e&&e.isDelete),n({deleteHeaderList:(0,s.A)(me)})}(e,t)}})}))),React.createElement(v.InspectorPanel.Style,null,w&&React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Title","essential-blocks"),initialOpen:!0},React.createElement(m.BaseControl,{label:(0,r.__)("Align","essential-blocks"),className:"eb-base-control"},React.createElement(m.ButtonGroup,null,j.map(function(e,t){return React.createElement(m.Button,{key:t,isSmall:!0,isPrimary:A===e.value,isSecondary:A!==e.value,onClick:function(){return n({titleAlign:e.value})}},e.label)}))),React.createElement(v.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:i,attributeName:"titleBg"}),React.createElement(v.ColorControl,{label:(0,r.__)("Text Color","essential-blocks"),color:b,attributeName:"titleColor"}),React.createElement(v.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:C,defaultFontSize:22}),React.createElement(v.ResponsiveDimensionsControl,{controlName:B,baseLabel:"Padding"}),React.createElement(m.__experimentalDivider,null),React.createElement(m.ToggleControl,{label:(0,r.__)("Title Separator","essential-blocks"),checked:L,onChange:function(){return n({seperator:!L})}}),L&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:(0,r.__)("Seperator Size","essential-blocks"),value:Z,onChange:function(e){return n({seperatorSize:e})},min:0,max:100}),React.createElement(v.ColorControl,{label:(0,r.__)("Separator Color","essential-blocks"),color:J,attributeName:"seperatorColor"}),React.createElement(m.SelectControl,{label:(0,r.__)("Separator Style","essential-blocks"),value:Y,options:H,onChange:function(e){return n({seperatorStyle:e})}}))),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Content","essential-blocks"),initialOpen:!1},React.createElement("div",{className:"wrap-width-range-fix-style"},React.createElement(v.ResponsiveRangeController,{baseLabel:(0,r.__)("".concat(re?"Sticky max width":"Container max width")),controlName:I,min:0,max:2e3,step:1}),React.createElement(m.RangeControl,{label:(0,r.__)("Indent","essential-blocks"),value:f,onChange:function(e){return n({indent:e})}}),React.createElement(v.UnitControl,{selectedUnit:h,unitTypes:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],onClick:function(e){return n({contentGapUnit:e})}}),React.createElement(m.RangeControl,{label:(0,r.__)("Content Gap","essential-blocks"),value:y,onChange:function(e){return n({contentGap:e})},min:0,max:He,step:je}),React.createElement(v.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:d,attributeName:"contentBg"}),React.createElement(v.ColorControl,{label:(0,r.__)("Text Color","essential-blocks"),color:u,attributeName:"contentColor"}),React.createElement(v.ColorControl,{label:(0,r.__)("Hover Color","essential-blocks"),color:g,attributeName:"contentHoverColor"}),React.createElement(v.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:E,defaultFontSize:20}),React.createElement(v.ResponsiveDimensionsControl,{controlName:T,baseLabel:"Padding"}),React.createElement(m.ToggleControl,{label:(0,r.__)("Show Separator","essential-blocks"),checked:be,onChange:function(){return n({showListSeparator:!be})}}),be&&React.createElement(React.Fragment,null,React.createElement(m.RangeControl,{label:(0,r.__)("Separator Size","essential-blocks"),value:te,onChange:function(e){return n({listSeperatorWidth:e})},min:0,max:100}),React.createElement(m.SelectControl,{label:(0,r.__)("Separator Style","essential-blocks"),value:ae,options:H,onChange:function(e){return n({listSeperatorStyle:e})}}),React.createElement(v.ColorControl,{label:(0,r.__)("Separator Color","essential-blocks"),color:ne,attributeName:"listSeperatorColor"})),"style-1"==ve&&React.createElement(React.Fragment,null,React.createElement(m.__experimentalDivider,null),React.createElement(v.ColorControl,{label:(0,r.__)("Item Background Color","essential-blocks"),color:ke,attributeName:"contentItemBg"}),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Border & Shadow"),initialOpen:!1},React.createElement(v.BorderShadowControl,{controlName:P}))))),re&&React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Sticky","essential-blocks"),initialOpen:!1},React.createElement("div",{className:"eb-reset-button-margin-fix"},React.createElement(v.ResetControl,{onReset:function(){return n({contentHeight:void 0})}},React.createElement(m.RangeControl,{label:(0,r.__)("Content min-height","essential-blocks"),help:(0,r.__)("Visible on frontend only","essential-blocks"),value:le,onChange:function(e){return n({contentHeight:e})},min:0,max:1e3}))),React.createElement(v.ButtonGroupControl,{label:(0,r.__)("Alignment","essential-blocks"),options:"left"===pe||"right"===pe?q:W,attrName:"alignment",currentValue:Ne}),"align-custom"===Ne&&React.createElement(m.RangeControl,{label:"".concat("left"===pe||"right"===pe?(0,r.__)("Top Space","essential-blocks"):(0,r.__)("Left Space","essential-blocks")),help:(0,r.__)("Visible on frontend only","essential-blocks"),value:ce,onChange:function(e){return n({topSpace:e})},min:0,max:100}),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(v.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:_e,attributeName:"closeBtnColor"}),React.createElement(v.ColorControl,{label:(0,r.__)("Hover Color","essential-blocks"),color:Ce,attributeName:"closeBtnHoverColor"}),React.createElement(v.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:Ee,attributeName:"closeBtnBgColor"}),React.createElement(v.ColorControl,{label:(0,r.__)("Background Hover Color","essential-blocks"),color:xe,attributeName:"closeBtnBgHvColor"}),React.createElement(m.RangeControl,{label:(0,r.__)("Button Size","essential-blocks"),value:Se,onChange:function(e){return n({closeBtnSize:e})},min:0,max:100}),React.createElement(m.RangeControl,{label:(0,r.__)("Icon Size","essential-blocks"),value:Be,onChange:function(e){return n({closeIconSize:e})},min:0,max:100}),React.createElement(v.InspectorPanel.PanelBody,{title:(0,r.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(v.BorderShadowControl,{controlName:O,noShadow:!0}))))))))};var J=a(467),Y=a(9280),Q=a.n(Y);function X(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return $(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?$(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}const K=function(e){var t=e.attributes,a=t.visibleHeaders,n=t.headers,o=t.deleteHeaderList,l=t.listStyle,c=t.itemCollapsed,i=function(){var e=(0,J.A)(Q().mark(function e(t){var a;return Q().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(a=new FormData).append("action","dynamic_field_value"),a.append("value",t),a.append("post_id",wp.data.select("core/editor").getCurrentPostId()),a.append("admin_nonce",EssentialBlocksProLocalize.admin_nonce),e.abrupt("return",fetch(EssentialBlocksProLocalize.ajax_url,{method:"POST",body:a}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);return t.success?t.data:"Invalid response"}).catch(function(e){return console.log(e)}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=(0,J.A)(Q().mark(function e(t){var a,n,o,r,l,c,s;return Q().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a={},n=X(t),e.prev=1,n.s();case 2:if((o=n.n()).done){e.next=6;break}if(l=o.value.content,c=l,"string"!=typeof l||!l.startsWith((null===(r=EssentialBlocksProLocalize)||void 0===r?void 0:r.eb_dynamic_tags)+"/")){e.next=4;break}return e.next=3,i(l);case 3:c=e.sent;case 4:a[l]=c;case 5:e.next=2;break;case 6:e.next=8;break;case 7:e.prev=7,s=e.catch(1),n.e(s);case 8:return e.prev=8,n.f(),e.finish(8);case 9:return e.abrupt("return",a);case 10:case"end":return e.stop()}},e,null,[[1,7,8,9]])}));return function(t){return e.apply(this,arguments)}}(),b=(0,p.useState)({}),d=(0,k.A)(b,2),m=d[0],u=d[1];(0,p.useEffect)(function(){if("undefined"!=typeof EssentialBlocksProLocalize)s(n).then(function(e){return u(e)});else{var e=n.reduce(function(e,t){var a=t.content;return e[a]=a,e},{});u(e)}},[n]);var g=function(e){for(var t="<".concat(l,' class="eb-toc__list">'),a=[],n=0;n<e.length;n++){for(var o=e[n],r=o.level,i=o.content,s=o.link;a.length>0&&a[a.length-1].level>=r;)a.pop(),t+="</li></".concat(l,">");var p=m[i]||"";t+='<li><a href="#'.concat(s,'">').concat(p,"</a> "),n<e.length-1&&e[n+1].level>r&&(c&&!a.length&&(t+='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">\n <path d="M6.75 9.75L9 7.5L11.25 9.75" stroke="#252D3B" stroke-linecap="round" stroke-linejoin="round"/>\n <path d="M9 15.75C9.88642 15.75 10.7642 15.5754 11.5831 15.2362C12.4021 14.897 13.1462 14.3998 13.773 13.773C14.3998 13.1462 14.897 12.4021 15.2362 11.5831C15.5754 10.7642 15.75 9.88642 15.75 9C15.75 8.11358 15.5754 7.23583 15.2362 6.41689C14.897 5.59794 14.3998 4.85383 13.773 4.22703C13.1462 3.60023 12.4021 3.10303 11.5831 2.76381C10.7642 2.42459 9.88642 2.25 9 2.25C7.20979 2.25 5.4929 2.96116 4.22703 4.22703C2.96116 5.4929 2.25 7.20979 2.25 9C2.25 10.7902 2.96116 12.5071 4.22703 13.773C5.4929 15.0388 7.20979 15.75 9 15.75Z" stroke="#252D3B" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>'),t+="<".concat(l,' class="eb-toc__list">'),a.push({level:r,content:i,link:s}))}for(;a.length>0;)a.pop(),t+="</li></".concat(l,">");return t+="</".concat(l,">"),(0,f.safeHTML)(t)};if("undefined"!=a&&n&&n.length>0&&n.filter(function(e){return a[e.level-1]}).length>0){var y=[];return n.forEach(function(e,t){o&&o.length>0&&o[t]&&o[t].hasOwnProperty("isDelete")&&!1===o[t].isDelete&&y.push(n[t])}),React.createElement("div",{className:"eb-toc__list-wrap",dangerouslySetInnerHTML:{__html:y.length>0?g(y):g(n)}})}return React.createElement("p",{className:"eb_table-of-contents-placeholder"},(0,r.__)("Add a header to begin generating the table of contents","essential-blocks"))};function ee(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.collapsible),l=t.listType,c=t.titleBg,i=t.titleColor,s=t.contentBg,b=t.contentColor,d=(t.mainBgc,t.contentHoverColor),m=t.titleAlign,u=t.seperator,g=t.seperatorSize,f=t.seperatorColor,y=void 0===f?"#000":f,h=t.seperatorStyle,w=t.scrollToTop,R=t.arrowHeight,_=t.arrowWidth,A=t.arrowBg,M=t.arrowColor,L=t.contentAlign,F=t.isSticky,j=t.topSpace,H=t.contentHeight,z=t.indent,U=t.hasUnderline,V=t.contentGap,G=t.contentGapUnit,q=void 0===G?"px":G,W=t.listSeperatorWidth,Z=void 0===W?3:W,J=t.listSeperatorStyle,Y=void 0===J?"solid":J,Q=t.listSeperatorColor,X=void 0===Q?"#000":Q,$=t.showListSeparator,K=(t.classHook,t.contentItemBg),ee=t.closeBtnColor,te=t.closeBtnHoverColor,ae=t.closeBtnBgColor,ne=t.closeBtnBgHvColor,oe=t.closeBtnSize,re=t.closeIconSize,le=t.wrpP_Top,ce=t.wrpP_Right,ie=t.wrpP_Left,se=t.wrpP_Unit,pe=t.alignment,be=(t.stickyPosition,(0,p.useState)(!0)),de=(0,k.A)(be,2),me=de[0],ue=(de[1],(0,v.generateResponsiveRangeStyles)({controlName:I,property:"max-width",attributes:t})),ge=ue.rangeStylesDesktop,fe=ue.rangeStylesTab,ye=ue.rangeStylesMobile,he=(0,v.generateTypographyStyles)({attributes:t,prefixConstant:C}),ve=he.typoStylesDesktop,we=he.typoStylesTab,ke=he.typoStylesMobile,Re=(0,v.generateTypographyStyles)({attributes:t,prefixConstant:E}),_e=Re.typoStylesDesktop,Ce=Re.typoStylesTab,Ee=Re.typoStylesMobile,xe=(0,v.generateBorderShadowStyles)({controlName:P,attributes:t}),Se=xe.styesDesktop,Be=xe.styesTab,Te=xe.styesMobile,Ne=(xe.stylesHoverDesktop,xe.stylesHoverTab,xe.stylesHoverMobile,xe.transitionStyle,(0,v.generateBorderShadowStyles)({controlName:O,attributes:t})),Pe=Ne.styesDesktop,Oe=Ne.styesTab,Ie=Ne.styesMobile,De=Ne.stylesHoverDesktop,Ae=Ne.stylesHoverTab,Me=Ne.stylesHoverMobile,Le=(Ne.transitionStyle,(0,v.generateDimensionsControlStyles)({attributes:t,controlName:x,styleFor:"margin"})),Fe=Le.dimensionStylesDesktop,je=Le.dimensionStylesTab,He=Le.dimensionStylesMobile,ze=(0,v.generateDimensionsControlStyles)({attributes:t,controlName:S,styleFor:"padding"}),Ue=ze.dimensionStylesDesktop,Ve=ze.dimensionStylesTab,Ge=ze.dimensionStylesMobile,qe=(0,v.generateBackgroundControlStyles)({attributes:t,controlName:D,noOverlay:!0,noMainBgi:!0}),We=qe.backgroundStylesDesktop,Ze=qe.hoverBackgroundStylesDesktop,Je=(0,v.generateDimensionsControlStyles)({attributes:t,controlName:B,styleFor:"padding"}),Ye=Je.dimensionStylesDesktop,Qe=Je.dimensionStylesTab,Xe=Je.dimensionStylesMobile,$e=(0,v.generateDimensionsControlStyles)({attributes:t,controlName:T,styleFor:"padding"}),Ke=$e.dimensionStylesDesktop,et=$e.dimensionStylesTab,tt=$e.dimensionStylesMobile,at=(0,v.generateBorderShadowStyles)({controlName:N,attributes:t}),nt=at.styesDesktop,ot=at.styesTab,rt=at.styesMobile,lt=at.stylesHoverDesktop,ct=at.stylesHoverTab,it=at.stylesHoverMobile,st=at.transitionStyle,pt="\n\t\t ".concat(F?"\n\t\t\t .eb-parent-".concat(o,".eb__animated, .eb__animated.eb__flip {\n\t\t\t\t -webkit-animation-fill-mode: none;\n\t\t\t\t animation-fill-mode: none;\n\t\t\t\t -webkit-animation-name: none;\n\t\t\t\t animation-name: none !important;\n\t\t\t }\n\t\t "):"","\n\n\t\t .").concat(o,".eb-toc-container{\n\t\t\t ").concat(ge,"\n ").concat(We,"\n\t\t\t ").concat(Fe,"\n\t\t\t ").concat(Ue,"\n\t\t\t ").concat(nt,"\n\t\t\t ").concat(F?"":"transition:all 0.5s, ".concat(st),";\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container:hover{\n\t\t\t ").concat(lt,"\n ").concat(Ze,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-title{\n\t\t\t text-align: ").concat(m,";\n\t\t\t cursor:").concat(r?"pointer":"default",";\n\t\t\t color: ").concat(i,";\n\t\t\t background-color:").concat(c,";\n\t\t\t ").concat(u?"border-bottom:".concat(g||0,"px ").concat(h," ").concat(y,";"):"","\n\t\t\t ").concat(Ye,"\n\t\t\t ").concat(ve,"\n\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper{\n\t\t\t background-color:").concat(s,";\n\t\t\t text-align: ").concat(L,";\n\t\t\t ").concat(Ke,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper ul,\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper ol\n\t\t {\n\t\t\t ").concat("none"===l?"list-style: none;":"","\n\t\t\t ").concat(z?"margin-left:".concat(z,"px;"):"","\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li {\n\t\t\t color:").concat(b,";\n\t\t\t ").concat(_e,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li:hover,\n .").concat(o,".eb-toc-container .eb-toc-wrapper li.eb-toc-active > a,\n .").concat(o,".eb-toc-container .eb-toc-wrapper li.eb-toc-highlight > a {\n\t\t\t color:").concat(d,";\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li a {\n\t\t\t color:inherit;\n\t\t }\n\n .").concat(o,".eb-toc-container .eb-toc-wrapper li svg path{\n stroke:").concat(b,";\n }\n .").concat(o,".eb-toc-container .eb-toc-wrapper li:hover svg path{\n stroke:").concat(d,";\n }\n\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li a,\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li a:focus{\n\t\t\t ").concat(U?"text-decoration:underline;":"text-decoration:none;","\n\t\t\t background:none;\n\t\t }\n\n\t\t ").concat(w?"\n\t\t\t .eb-toc-go-top.show-scroll {\n\t\t\t\t ".concat(R?"height: ".concat(R,"px;"):"","\n\t\t\t\t ").concat(_?"width: ".concat(_,"px;"):"","\n\t\t\t\t ").concat(A?"background-color: ".concat(A,";"):"","\n\t\t\t\t ").concat(M?"color: ".concat(M,";"):"","\n\t\t\t }\n\t\t\t "):"","\n\n .").concat(o,".eb-toc-container .eb-toc-wrapper li {\n padding-top: ").concat(V/2).concat(q,";\n }\n\n .").concat(o,".eb-toc-container .eb-toc-wrapper .eb-toc__list li:not(:last-child) {\n padding-bottom: ").concat(V/2).concat(q,";\n }\n\n ").concat($?"\n .".concat(o,".eb-toc-container .eb-toc-wrapper .eb-toc__list > li:not(li:last-child) {\n border-bottom: ").concat(Z,"px ").concat(Y," ").concat(X,";\n }\n "):"","\n .").concat(o,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n background: ").concat(K,";\n ").concat(Se,"\n }\n\n\n\t "),bt="\n\t\t .".concat(o,".eb-toc-container{\n\t\t\t ").concat(fe,"\n\n\t\t\t ").concat(je,"\n\t\t\t ").concat(Ve,"\n\t\t\t ").concat(ot,"\n\t\t }\n\t\t .").concat(o,".eb-toc-container:hover{\n\t\t\t ").concat(ct,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-title{\n\t\t\t ").concat(Qe,"\n\t\t\t ").concat(we,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper{\n\t\t\t ").concat(et,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li{\n\t\t\t ").concat(Ce,"\n\t\t }\n\n .").concat(o,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n ").concat(Be,"\n }\n\n\t "),dt="\n\t\t .".concat(o,".eb-toc-container{\n\t\t\t ").concat(ye,"\n\n\n\t\t\t ").concat(He,"\n\t\t\t ").concat(Ge,"\n\t\t\t ").concat(rt,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container:hover{\n\t\t\t ").concat(it,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-title{\n\t\t\t ").concat(Xe,"\n\t\t\t ").concat(ke,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper{\n\t\t\t ").concat(tt,"\n\t\t }\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper li{\n\t\t\t ").concat(Ee,"\n\t\t }\n\n .").concat(o,".eb-toc-container.style-1 .eb-toc__list-wrap > .eb-toc__list li .eb-toc__list{\n ").concat(Te,"\n }\n\n\t "),mt="\n\t\t ".concat(pt,"\n\n\n\t\t .").concat(o,".eb-toc-container .eb-toc-wrapper{\n\t\t\t display:").concat(me?"block":"none",";\n\t\t }\n\t\t "),ut="\n\t\t ".concat(bt,"\n\t\t "),gt="\n\t\t ".concat(dt,"\n\t "),ft=function(){switch(pe){case"align-top":return"top: 0; bottom: auto;";case"align-middle":return"top: 0; bottom: 0;";case"align-bottom":return"top: auto; bottom: 0;";case"align-left":return"left: 0; right: auto;";case"align-center":return"left: 0; right: 0;";case"align-right":return"left: auto; right: 0;";default:return""}},yt=(0,v.softMinifyCssStrings)("\n\t\t ".concat(pt,"\n\t\t ").concat(F?"\n\t\t\t\t\t.".concat(o,".eb-toc-container.eb-toc-is-sticky {\n\t\t\t\t\t\tposition:fixed;\n\t\t\t\t\t\tz-index:999;\n\t\t\t\t\t}\n\t\t\t\t\t.").concat(o,".eb-toc-container.eb-toc-sticky-right.eb-toc-is-sticky {\n\t\t\t\t\t\tleft: auto;\n\t\t\t\t\t\tright: 0;\n ").concat("align-custom"===pe?"top: ".concat(0===j||j?j:25,"%;"):ft(),"\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(o,".eb-toc-container.eb-toc-sticky-left.eb-toc-is-sticky {\n\t\t\t\t\t\tleft: 0;\n right: auto;\n ").concat("align-custom"===pe?"top: ".concat(0===j||j?j:25,"%;"):ft(),"\n\t\t\t\t\t}\n\n .").concat(o,".eb-toc-container.eb-toc-sticky-top.eb-toc-is-sticky {\n top: 0;\n ").concat("align-custom"===pe?"left: ".concat(0===j||j?j:25,"%;"):ft(),"\n\t\t\t\t\t}\n .").concat(o,".eb-toc-container.eb-toc-sticky-bottom.eb-toc-is-sticky {\n\t\t\t\t\t\tbottom: 0;\n ").concat("align-custom"===pe?"left: ".concat(0===j||j?j:25,"%;"):ft(),"\n\t\t\t\t\t}\n\n\t\t\t\t .").concat(o,".eb-toc-container.eb-toc-is-sticky .eb-toc-wrapper{\n\t\t\t\t\t ").concat(H?"min-height:".concat(H,"px;"):"","\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-toc-container.eb-toc-is-sticky button.eb-toc-button{\n\t\t\t\t\t color:").concat(i,";\n\t\t\t\t\t background-color:").concat(c,";\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-toc-container.eb-toc-is-sticky button.eb-toc-button.eb-toc-button-right {\n\t\t\t\t\tright: 0;\n\t\t\t\t\tleft: auto;\n\t\t\t\t\ttransform-origin: right top;\n\t\t\t\t\ttransform: rotate(90deg) translate(100%, 0);\n\t\t\t\t }\n\t\t\t\t .").concat(o,".eb-toc-container.eb-toc-is-sticky button.eb-toc-button.eb-toc-button-bottom {\n\t\t\t\t\tbottom: 0;\n\t\t\t\t\ttop: auto;\n\t\t\t\t }\n\n .").concat(o,".eb-toc-container .eb-toc-close{\n\t\t\t\t\tcolor: ").concat(ee,";\n\t\t\t\t\tbackground: ").concat(ae,";\n width: ").concat(oe,"px;\n height: ").concat(oe,"px;\n top: calc(-").concat(le).concat(se," - (").concat(oe,"px / 2));\n ").concat(Pe,"\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close:hover{\n ").concat(De,"\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close.eb-toc-sticky-left{\n right: calc(-").concat(ce).concat(se," - (").concat(oe,"px / 2));\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close.eb-toc-sticky-right{\n left: calc(-").concat(ie).concat(se," + (").concat(oe,"px / 2));\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close:before, .").concat(o,".eb-toc-container .eb-toc-close:after{\n\t\t\t\t\tbackground: ").concat(ee,";\n height: ").concat(re,"px;\n\t\t\t\t }\n\n .").concat(o,".eb-toc-container .eb-toc-close:hover{\n\t\t\t\t\tcolor: ").concat(te,";\n\t\t\t\t\tbackground: ").concat(ne,";\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close:hover::before, .").concat(o,".eb-toc-container .eb-toc-close:hover::after{\n\t\t\t\t\tbackground: ").concat(te,";\n\t\t\t\t }\n\t\t\t\t "):"","\n\n\n\t ")),ht=(0,v.softMinifyCssStrings)("\n\t\t ".concat(bt,"\n ").concat(F?"\n .".concat(o,".eb-toc-container .eb-toc-close{\n ").concat(Oe,"\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close:hover{\n ").concat(Ae,"\n\t\t\t\t }\n\t\t\t\t "):"","\n\t ")),vt=(0,v.softMinifyCssStrings)("\n\t\t ".concat(dt,"\n ").concat(F?"\n .".concat(o,".eb-toc-container .eb-toc-close{\n ").concat(Ie,"\n\t\t\t\t }\n .").concat(o,".eb-toc-container .eb-toc-close:hover{\n ").concat(Me,"\n\t\t\t\t }\n\t\t\t\t "):"","\n\t "));return React.createElement(React.Fragment,null,React.createElement(v.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:yt,tabAllStyles:ht,mobileAllStyles:vt,editorDesktopStyles:mt,editorTabStyles:ut,editorMobileStyles:gt,blockName:n}))}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ae(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ne(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ae(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const oe=(0,p.memo)((0,b.compose)([(0,u.withSelect)(function(e,t){return{postContent:(e("core/editor")?e("core/editor").getEditedPostContent():"").replace(/<\!--.*?-->/g,""),blockOrder:e("core/block-editor").getBlockOrder(),isTyping:e("core/block-editor").isTyping()}}),(0,v.withBlockContext)(L)])(function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=e.clientId,l=(e.className,e.postContent),c=e.blockOrder,i=e.isTyping,b=(e.name,a.resOption,a.blockId),y=(a.blockMeta,a.headers),k=a.title,R=a.titleTag,_=a.collapsible,C=a.listStyle,E=a.displayTitle,x=a.scrollToTop,S=a.contentAlign,B=a.deleteHeaderList,T=a.isMigrated,N=a.scrollToTopIcon,P=a.classHook,O=a.cover,I=a.enableListStyle,D=a.preset,A=a.itemCollapsed,M=a.alignment,L=(0,u.select)("core/block-editor").wasBlockJustInserted(o),F=(0,p.useMemo)(function(){return function(e,t){var a=(0,f.safeHTML)((0,g.decodeEntities)(t)),n=document.createElement("div");n.innerHTML=a;var o=["h1","h2","h3","h4","h5","h6"];e&&void 0!==e.visibleHeaders&&void 0!==e.visibleHeaders[0]&&(o=[],e.visibleHeaders[0]&&o.push("h1"),e.visibleHeaders[1]&&o.push("h2"),e.visibleHeaders[2]&&o.push("h3"),e.visibleHeaders[3]&&o.push("h4"),e.visibleHeaders[4]&&o.push("h5"),e.visibleHeaders[5]&&o.push("h6"));var r,l=o.toString();return l?(r=n.querySelectorAll(l),(0,s.A)(r).map(function(e,t){var a;switch(e.tagName){case"H1":a=1;break;case"H2":a=2;break;case"H3":a=3;break;case"H4":a=4;break;case"H5":a=5;break;case"H6":a=6}var n=e.textContent;return{level:a,content:n,text:n,link:w(h()(n))}})):[]}(a,l)},[c,i,l]),j=(0,p.useMemo)(function(){var e=F.map(function(e){var t,a,n={label:e.content,value:e.link,isDelete:!1},o=B.filter(function(e){return e.value==n.value});return o.length>0&&(n.isDelete=null!==(t=null===(a=o[0])||void 0===a?void 0:a.isDelete)&&void 0!==t?t:n.isDelete),n});if(!T&&!L){if(JSON.stringify(F)!==JSON.stringify(y)){var t=F.map(function(e){return e.text}),a=y.map(function(e){return e.text}),o=t.filter(function(e){return!a.includes(e)});e=(0,s.A)(e).map(function(e){return o.includes(e.label)&&(e.isDelete=!0),e})}n({isMigrated:!0})}return e},[F,L]);(0,p.useEffect)(function(){void 0===M&&n({alignment:"align-custom"})},[]),(0,p.useEffect)(function(){JSON.stringify(F)!==JSON.stringify(y)&&n({headers:F}),JSON.stringify(j)!==JSON.stringify(B)&&n({deleteHeaderList:j})},[j]),(0,p.useEffect)(function(){var e=document.querySelector(".eb-toc-go-top");e&&e.remove();var t=document.createElement("span");t.innerHTML=(0,p.renderToString)(React.createElement(v.EBDisplayIcon,{icon:(0,v.sanitizeIconValue)(N)})),t.setAttribute("class","eb-toc-go-top "),t.style.right="300px",document.body.insertBefore(t,document.body.lastChild)},[N]),(0,p.useEffect)(function(){var e=document.querySelector(".eb-toc-go-top");x?(e.classList.add("show-scroll"),e.classList.remove("hide-scroll")):(e.classList.add("hide-scroll"),e.classList.remove("show-scroll"))},[x,N]);var H=ne(ne({},e),{},{blockPrefix:"eb-toc",style:React.createElement(ee,e)});return(0,p.useEffect)(function(){if(A){var e,t,a=document.querySelector(".eb-toc-container.".concat(b)),n=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return te(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?te(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}(null!==(e=null==a?void 0:a.querySelectorAll(".eb-toc-wrapper .eb-toc__list-wrap > .eb-toc__list > li"))&&void 0!==e?e:[]);try{var o=function(){var e=t.value,a=null==e?void 0:e.querySelector("svg");null!==(null==e?void 0:e.querySelector(".eb-toc__list"))&&(null==a||a.addEventListener("click",function(){null==e||e.classList.toggle("hide-items")}))};for(n.s();!(t=n.n()).done;)o()}catch(e){n.e(e)}finally{n.f()}}}),O.length?React.createElement("div",null,React.createElement("img",{src:O,alt:(0,r.__)("table of content","essential-blocks"),style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,t&&React.createElement(Z,{deleteHeaders:j,attributes:a,setAttributes:n}),React.createElement(d.BlockControls,null,React.createElement(d.AlignmentToolbar,{value:S,onChange:function(e){return n({contentAlign:e})},controls:["left","center","right"]}),React.createElement(m.ToolbarGroup,null,React.createElement(m.ToolbarButton,{title:"Unordered",icon:"editor-ul",isActive:"ul"===C,onClick:function(){return n({listStyle:"ul"})}}),React.createElement(m.ToolbarButton,{title:"Ordered",icon:"editor-ol",isActive:"ol"===C,onClick:function(){return n({listStyle:"ol"})}}),React.createElement(m.ToolbarButton,{title:"None",icon:"minus",isActive:"none"===C,onClick:function(){return n({listStyle:"none"})}}))),React.createElement(v.BlockProps.Edit,H,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(b," ").concat(P)},React.createElement("div",{className:"".concat(b," eb-toc-container ").concat(D," ").concat(I?"":"list-style-none")},React.createElement("div",{onClick:function(){return _&&setVisible(!visible)}},E&&React.createElement(v.DynamicInputValueHandler,{value:k,className:"eb-toc-title",tagName:R,allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],placeholder:(0,r.__)("Table of content","essential-blocks"),onChange:function(e){return n({title:e})},readOnly:!0})),y.length>0?React.createElement("div",{className:"eb-toc-wrapper"},React.createElement(K,{attributes:a})):React.createElement("p",null,"Add header to generate table of contents")))))})),re=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Table Of Contents","name":"essential-blocks/table-of-contents","category":"essential-blocks","description":"Insert Table of Contents on your posts/pages and enhance user experience on your WordPress website","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var le=a(3029),ce=a(2901),ie=a(6822),se=a(3954),pe=a(5501);function be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(be=function(){return!!e})()}const de=function(e){function t(){return(0,le.A)(this,t),e=this,a=t,n=arguments,a=(0,se.A)(a),(0,ie.A)(e,be()?Reflect.construct(a,n||[],(0,se.A)(e).constructor):a.apply(e,n));var e,a,n}return(0,pe.A)(t,e),(0,ce.A)(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.visibleHeaders,a=e.headers,n=e.deleteHeaderList;function o(e){for(var t='<ul class="eb-toc__list">',a=[],n=0;n<e.length;n++){for(var o=e[n],r=o.level,l=o.content,c=o.link;a.length>0&&a[a.length-1].level>=r;)a.pop(),t+="</li></ul>";t+='<li><a href="#'.concat(c,'">').concat(l,"</a>"),n<e.length-1&&e[n+1].level>r&&(t+='<ul class="eb-toc__list">',a.push({level:r,content:l,link:c}))}for(;a.length>0;)a.pop(),t+="</li></ul>";return t+"</ul>"}if("undefined"!=t&&a&&a.length>0&&a.filter(function(e){return t[e.level-1]}).length>0){var l=[];return a.forEach(function(e,t){n&&n.length>0&&n[t]&&n[t].hasOwnProperty("isDelete")&&!1===n[t].isDelete&&l.push(a[t])}),React.createElement("div",{className:"eb-toc__list-wrap",dangerouslySetInnerHTML:{__html:l.length>0?o(l):o(a)}})}return React.createElement("p",{className:"eb_table-of-contents-placeholder"},(0,r.__)("Add a header to begin generating the table of contents","essential-blocks"))}}])}(p.Component);function me(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ue(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?me(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):me(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ge=lodash.omit;const fe=[{attributes:ge(ue({},L),["enableCopyLink"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,l=t.initialCollapse,c=t.visibleHeaders,i=t.headers,s=t.isSmooth,p=t.scrollToTop,b=t.isSticky,m=t.hideOnMobile,u=t.topOffset,g=t.scrollTarget,f=t.stickyPosition,y=void 0===f?"left":f,h=t.classHook;return React.createElement("div",d.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"".concat(a," eb-toc-container").concat(b?" eb-toc-sticky-".concat(y):""," ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(l?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(b?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(p?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop"," "),"data-scroll-top":p,"data-collapsible":r,"data-hide-mobile":m,"data-sticky":b,"data-scroll-target":g},React.createElement("div",{className:"eb-toc-header"},b&&React.createElement("span",{className:"eb-toc-close".concat(b?" eb-toc-sticky-".concat(y):"")}),n&&React.createElement(d.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&l&&!b?"hide-content":""," "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(c),"data-smooth":s,"data-top-offset":u||""},React.createElement(de,{attributes:t})),b&&React.createElement("button",{className:"eb-toc-button".concat(b?" eb-toc-button-".concat(y):"")},n&&React.createElement(d.RichText.Content,{tagName:"",className:"",value:o})))):React.createElement("div",null))}},{attributes:ge(ue({},L),["scrollTarget","stickyPosition"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,l=t.initialCollapse,c=t.visibleHeaders,i=t.headers,s=t.isSmooth,p=t.scrollToTop,b=t.isSticky,m=t.hideOnMobile,u=t.topOffset,g=t.classHook;return React.createElement("div",d.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(l?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(b?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(p?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop"," "),"data-scroll-top":p,"data-collapsible":r,"data-hide-mobile":m,"data-sticky":b},React.createElement("div",{className:"eb-toc-header"},b&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(d.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&l&&!b?"hide-content":""," "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(c),"data-smooth":s,"data-top-offset":u||""},React.createElement(de,{attributes:t})),b&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents"))):React.createElement("div",null))}},{attributes:ge(ue({},L),["topOffset"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,l=t.initialCollapse,c=t.visibleHeaders,i=t.headers,s=t.isSmooth,p=t.scrollToTop,b=t.isSticky,m=t.hideOnMobile,u=t.classHook;return React.createElement("div",d.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(l?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(b?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(p?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop"," "),"data-scroll-top":p,"data-collapsible":r,"data-hide-mobile":m,"data-sticky":b},React.createElement("div",{className:"eb-toc-header"},b&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(d.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&l&&!b?"hide-content":""," "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(c),"data-smooth":s},React.createElement(de,{attributes:t})),b&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents"))):React.createElement("div",null))}},{attributes:ue({},L),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.displayTitle,o=t.title,r=t.collapsible,l=t.initialCollapse,c=t.visibleHeaders,i=t.headers,s=t.isSmooth,p=t.scrollToTop,b=t.isSticky,m=t.hideOnMobile;return React.createElement("div",d.useBlockProps.save(),0!==i.length?React.createElement("div",{className:"".concat(a," eb-toc-container ").concat(r?"eb-toc-collapsible":"eb-toc-not-collapsible"," ").concat(l?"eb-toc-initially-collapsed":"eb-toc-initially-not-collapsed"," ").concat(b?"eb-toc-is-sticky":"eb-toc-is-not-sticky"," ").concat(p?"eb-toc-scrollToTop":"eb-toc-not-scrollToTop"," "),"data-scroll-top":p,"data-collapsible":r,"data-hide-mobile":m,"data-sticky":b},React.createElement("div",{className:"eb-toc-header"},b&&React.createElement("span",{className:"eb-toc-close"}),n&&React.createElement(d.RichText.Content,{tagName:"div",className:"eb-toc-title",value:o})),React.createElement("div",{className:"eb-toc-wrapper ".concat(r&&l&&!b?"hide-content":""," "),"data-headers":JSON.stringify(i),"data-visible":JSON.stringify(c),"data-smooth":s},React.createElement(de,{attributes:t})),b&&React.createElement("button",{className:"eb-toc-button"},n&&o?o:"Table of Contents")):React.createElement("div",null))}}];var ye;(0,v.ebConditionalRegisterBlockType)(re,{keywords:[(0,r.__)("TOC","essential-blocks"),(0,r.__)("Table Of Contents","essential-blocks"),(0,r.__)("eb table of contents","essential-blocks")],icon:function(e){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),n||(n=l.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},l.createElement("path",{d:"M15.171 16.114h32.486V18.6H15.171zM7.457 15.857h3.086v3.086H7.457zM15.171 25.8h32.486v2.486H15.171zM7.457 25.457h3.086v3.086H7.457zM15.343 35.4h26.571v2.486H15.343zM7.714 35.143H10.8v3.086H7.714z"}),l.createElement("path",{d:"M51.857 59.057H4.8c-2.571 0-4.714-2.143-4.714-4.714V5.657C.086 3.086 2.229.943 4.8.943h47.057c2.572 0 4.714 2.143 4.714 4.714v48.686c0 2.571-2.142 4.714-4.714 4.714M4.8 3.514c-1.2 0-2.143.943-2.143 2.143v48.686c0 1.2.943 2.143 2.143 2.143h47.057c1.2 0 2.143-.943 2.143-2.143V5.657c0-1.2-.943-2.143-2.143-2.143z"}))),o||(o=l.createElement("defs",null,l.createElement("clipPath",{id:"icon_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h56.571v60H0z"})))))},attributes:L,edit:oe,save:function(){return null},example:{attributes:{cover:"".concat(null===(ye=EssentialBlocksLocalize)||void 0===ye?void 0:ye.image_url,"/block-preview/table-of-contents.jpeg")}},deprecated:fe})},5927:(e,t,a)=>{var n=a(7723),o=a(2284),r=a(8168),l=a(4467),c=a(3453),i=a(1609),s=a(8468),p=a(2619),b=a(8443),d=a(6087),m=a(8107),u=a(900),g=a(9394),f=a(6427),y=a(7143),h=a(4715),v=a(6005),w="wrpMargin",k="wrpPadding",R="wrpBorderShadow",_="wrpBG",C="columns",E="columnGap",x="columnPadding",S="columnMediaWidth",B="columnBG",T="columnBorderShadow",N="thumbnailImageSize",P="thumbnailBDR",O="thumbnailMargin",I="titleMargin",D="contentMargin",A="readmoreMargin",M="readmorePadding",L="readMoreBorderShadow",F="headerMetaMargin",j="footerMetaMargin",H="headerMetaSpace",z="footerMetaSpace",U="avatarBDR",V="loadMorePadding",G="loadMoreMargin",q="loadMoreBorderShadow",W="filterMargin",Z="filterItmPadding",J="filterItmBdrShdw",Y="filterItemGap",Q="iconSize",X="iconSpace",$=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}],K=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],ee=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],te=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"},{label:"Active",value:"active"}],ae=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],ne=((0,n.__)("Style 1","essential-blocks"),(0,n.__)("Style 2","essential-blocks"),(0,n.__)("Style 3","essential-blocks"),(0,n.__)("Style 4 (List View)"),(0,n.__)("Style 5 (Content Overlay)"),(0,n.__)("Style 6 (Pro)","essential-blocks"),(0,n.__)("Style 7 (Pro)","essential-blocks"),(0,n.__)("Style 8 (Pro)","essential-blocks"),[{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignright"})),value:"right"}]),oe=[{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],re=[{label:"Top",value:"flex-start"},{label:"Middle",value:"center"},{label:"Bottom",value:"flex-end"}],le=[{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(f.Dashicon,{icon:"editor-alignright"})),value:"right"}],ce="ebpg_title",ie="ebpg_content",se="ebpg_readmore",pe="ebpg_meta",be="ebpg_load_more",de="ebpg_filter_item",me=a(5694);function ue(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ge(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ue(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const fe=(0,y.withSelect)(function(e,t){var a=t.attributes,n=a.queryData,r=a.selectedTaxonomy;if(a.showTaxonomyFilter){var l=e("core").getPostTypes(),c=r?JSON.parse(r).value:"category",i=e("core").getEntityRecords("taxonomy",c,{per_page:-1}),s=[{label:"All",value:"all"}];return i&&"object"===(0,o.A)(i)&&i.length>0&&i.map(function(e,t){s.push({label:e.name,value:e.slug})}),{taxonomyData:{taxonomies:ye(l,n),terms:s}}}return{taxonomyData:{taxonomies:[],terms:[]}}})(function(e){var t=e.attributes,a=e.setAttributes,r=e.taxonomyData,l=e.setQueryResults,i=r.terms,b=r.taxonomies,d=t.preset,m=t.queryData,u=t.postTerms,y=t.loadMoreOptions,ue=t.showThumbnail,fe=t.thumbnailOverlayColor,ye=t.thumbnailOverlayHoverColor,he=t.showTitle,ve=t.titleColor,we=t.titleHoverColor,ke=t.titleColorStyle,Re=t.titleLength,_e=t.titleTextAlign,Ce=t.titleTag,Ee=t.showContent,xe=t.contentColor,Se=t.contentTextAlign,Be=t.contentLength,Te=t.expansionIndicator,Ne=t.showReadMore,Pe=t.readmoreText,Oe=t.readmoreColor,Ie=t.readmoreBGColor,De=t.readmoreTextAlign,Ae=t.readmoreHoverColor,Me=t.readmoreBGHoverColor,Le=t.readmoreColorType,Fe=t.showMeta,je=t.headerMeta,He=t.footerMeta,ze=t.authorPrefix,Ue=t.datePrefix,Ve=t.headerMetaTextAlign,Ge=t.footerMetaTextAlign,qe=t.metaColorType,We=t.authorMetaColor,Ze=t.authorMetaHoverColor,Je=t.commonMetaColor,Ye=t.commonMetaHoverColor,Qe=t.commonMetaBgColor,Xe=t.commonMetaBgHoverColor,$e=t.categoryMetaColor,Ke=t.categoryMetaHoverColor,et=t.categoryMetaBgColor,tt=t.categoryMetaBgHoverColor,at=t.tagMetaColor,nt=t.tagMetaHoverColor,ot=t.tagMetaBgColor,rt=t.tagMetaBgHoverColor,lt=t.dateMetaColor,ct=t.styleVerticalAlignment,it=t.loadMoreColorType,st=t.loadMoreColor,pt=t.loadMoreBgColor,bt=t.loadMoreHoverColor,dt=t.loadMoreHoverBgColor,mt=t.loadMoreActiveColor,ut=(t.loadMoreActiveBgColor,t.ReadTimeMetaColor),gt=t.dynamicMetaColor,ft=t.dynamicMetaBgColor,yt=t.showTaxonomyFilter,ht=t.selectedTaxonomy,vt=t.selectedTaxonomyItems,wt=t.filterColorStyle,kt=t.filterBgColor,Rt=t.filterTextColor,_t=t.filterActiveBgColor,Ct=t.filterActiveTextColor,Et=t.filterHoverBgColor,xt=t.filterHoverTextColor,St=t.addIcon,Bt=t.icon,Tt=t.iconPosition,Nt=t.enableContents,Pt=t.enableThumbnailSort,Ot=(t.defaultFilter,t.showFallbackImg),It=t.fallbackImgUrl,Dt=t.fallbackImgId,At=(t.fallbackImgAlt,(0,s.useState)([])),Mt=(0,c.A)(At,2),Lt=Mt[0],Ft=Mt[1];(0,s.useEffect)(function(){var e=[{value:"date",label:"Published Date"},{value:"author",label:"Author Name"},{value:"avatar",label:"Author Avatar"},{value:"readtime",label:"Read Time"}];u&&Object.keys(u).length>0&&Object.keys(u).map(function(t){e.push(u[t])});var t=(0,p.applyFilters)("essential_blocks_post_grid_meta",e,null==m?void 0:m.source);t.then?t.then(function(e){var t=e.map(function(e){return ge(ge({},e),{},{options:e.options.map(function(e){if("object"===(0,o.A)(e.label)){var t,a=null!==(t=EssentialBlocksProLocalize)&&void 0!==t&&t.eb_dynamic_tags?"".concat(EssentialBlocksProLocalize.eb_dynamic_tags,"/"):"";return ge(ge({},e.label),{},{value:"".concat(a).concat(e.label.value,"/settings=[]")})}return ge({},e)})})});Ft(t)}):Ft(t)},[u]);var jt=(0,s.useRef)(null==m?void 0:m.source),Ht=(0,s.useRef)(u),zt=(0,s.useRef)(ht);(0,s.useEffect)(function(){if(m&&m.source&&m.source!=jt.current){var e=Ht.current&&"object"===(0,o.A)(Ht.current)?Object.keys(Ht.current):[],t=je.length>0?JSON.parse(je):[];t=t.length>0&&t.filter(function(t){return!e.includes(t.value)});var n=He.length>0?JSON.parse(He):[];n=n.length>0&&n.filter(function(t){return!e.includes(t.value)}),a({headerMeta:JSON.stringify(t),footerMeta:JSON.stringify(n)}),jt.current=m.source}},[null==m?void 0:m.source]);var Ut=function(e,t){var n=(0,g.A)(Nt);1==e?n.includes(t)||("meta"==t?(je.length>0&&n.push("headerMeta"),He.length>0&&n.push("footerMeta")):n.push(t)):n.includes(t)&&(n=n.filter(function(e){return e!==t})),a({enableContents:n})};return(0,s.useEffect)(function(){!Pt&&Nt.includes("thumbnail")?a({enableContents:Nt.filter(function(e){return"thumbnail"!==e})}):Nt.includes("thumbnail")||a({enableContents:["thumbnail"].concat((0,g.A)(Nt))})},[Pt]),(0,s.useEffect)(function(){zt.current!==ht&&(zt.current=ht,a({selectedTaxonomyItems:'[{"value":"all","label":"All"}]'}))},[ht]),React.createElement(React.Fragment,null,React.createElement(me.InspectorPanel,{advancedControlProps:{marginPrefix:w,paddingPrefix:k,borderPrefix:R,backgroundPrefix:_}},React.createElement(me.InspectorPanel.General,null,React.createElement(me.CustomQuery,{attributes:t,setAttributes:a,setQueryResults:l}),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Layout Style","essential-blocks"),initialOpen:!1},React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Columns","essential-blocks"),controlName:C,units:[],min:1,max:6,step:1}),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Column Gap","essential-blocks"),controlName:E,units:$,min:1,max:100,step:0}),!1===["style-5","pro-style-6"].includes(d)&&React.createElement(f.ToggleControl,{label:(0,n.__)("Show Thumbnail?"),checked:ue,onChange:function(){a({showThumbnail:!ue}),Ut(!ue,"thumbnail")}}),ue&&React.createElement(React.Fragment,null,React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Thumbnail Height","essential-blocks"),controlName:N,units:K,min:1,max:500,step:1}),"style-4"===d&&React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Thumbnail Width","essential-blocks"),controlName:S,units:[{label:"%",value:"%"}],min:0,max:100,step:1}),React.createElement(me.EbImageSizeSelector,{attrName:"thumbnailSize",setAttributes:a}),React.createElement(f.ToggleControl,{label:(0,n.__)("Show Fallback Image?"),checked:Ot,onChange:function(){a({showFallbackImg:!Ot})}}),Ot&&!It&&React.createElement(h.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({fallbackImgUrl:n,fallbackImgId:t,fallbackImgAlt:o})},type:"image",value:Dt,render:function(e){var t=e.open;return React.createElement(f.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),Ot&&It&&React.createElement(me.ImageAvatar,{imageUrl:It,onDeleteImage:function(){return a({fallbackImgUrl:null})}})),("style-4"===d||"style-5"===d||"pro-style-6"===d)&&React.createElement(f.BaseControl,{label:(0,n.__)("Content Vertical Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(f.ButtonGroup,{id:"essential-blocks"},re.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:ct===e.value,isSecondary:ct!==e.value,onClick:function(){return a({styleVerticalAlignment:e.value})}},e.label)}))),React.createElement(f.ToggleControl,{label:(0,n.__)("Show Title?"),checked:he,onChange:function(){a({showTitle:!he}),Ut(!he,"title")}}),he&&React.createElement(React.Fragment,null,React.createElement(f.BaseControl,{label:(0,n.__)("Title Tag","essential-blocks")},React.createElement(f.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},ae.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:Ce===e.value,isSecondary:Ce!==e.value,onClick:function(){return a({titleTag:e.value})}},e.label)}))),React.createElement(f.RangeControl,{label:"Title Words",value:Re,onChange:function(e){return a({titleLength:e})},min:-1,max:100,allowReset:!0})),React.createElement(f.ToggleControl,{label:(0,n.__)("Show Excerpt?"),checked:Ee,onChange:function(){a({showContent:!Ee}),Ut(!Ee,"excerpt")}}),Ee&&React.createElement(React.Fragment,null,React.createElement(f.RangeControl,{label:"Excerpt Words",value:Be,onChange:function(e){return a({contentLength:e})},min:-1,max:100,allowReset:!0}),React.createElement(f.TextControl,{label:"Expansion Indicator",type:"text",value:Te,onChange:function(e){return a({expansionIndicator:e})}})),React.createElement(f.ToggleControl,{label:(0,n.__)("Show Read More Button?"),checked:Ne,onChange:function(){a({showReadMore:!Ne})}}),Ne&&React.createElement(React.Fragment,null,React.createElement(me.DynamicInputControl,{label:(0,n.__)("Button Text","essential-blocks"),attrName:"readmoreText",inputValue:Pe,setAttributes:a,onChange:function(e){return a({readmoreText:e})},enableAi:!0}),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(f.ToggleControl,{label:(0,n.__)("Add icon","essential-blocks"),checked:St,onChange:function(){return a({addIcon:!St})}}),St&&React.createElement(React.Fragment,null,React.createElement(me.EBIconPicker,{value:Bt,onChange:function(e){return a({icon:e})}}),React.createElement(f.BaseControl,{label:(0,n.__)("Icon Postion","essential-blocks")},React.createElement(f.ButtonGroup,{id:"eb-button-group-alignment"},le.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:Tt===e.value,isSecondary:Tt!==e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)}))),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Size","essential-blocks"),controlName:Q,noUnits:!0}),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Gap","essential-blocks"),controlName:X,noUnits:!0})))),React.createElement(f.ToggleControl,{label:(0,n.__)("Show Meta?"),checked:Fe,onChange:function(){a({showMeta:!Fe}),Ut(!Fe,"meta")}}),Fe&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(f.PanelRow,null,"Header Meta"),React.createElement(v.Ay,{name:"select-header-meta",value:je.length>0?JSON.parse(je):"",onChange:function(e){return a({headerMeta:JSON.stringify(e)})},options:Lt,isMulti:"true"})),React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(f.PanelRow,null,"Footer Meta"),React.createElement(v.Ay,{name:"select-footer-meta",value:He.length>0?JSON.parse(He):"",onChange:function(e){return a({footerMeta:JSON.stringify(e)})},options:Lt,isMulti:"true"})),React.createElement(me.DynamicInputControl,{label:(0,n.__)("Author Prefix","essential-blocks"),help:(0,n.__)("Example: by John Doe","essential-blocks"),attrName:"authorPrefix",inputValue:ze,setAttributes:a,onChange:function(e){return a({authorPrefix:e})}}),React.createElement(me.DynamicInputControl,{label:(0,n.__)("Published Date Prefix","essential-blocks"),help:(0,n.__)("Example: on 01/01/2023","essential-blocks"),attrName:"datePrefix",inputValue:Ue,setAttributes:a,onChange:function(e){return a({datePrefix:e})}})),React.createElement(f.PanelRow,{className:"separator"},"Sortable Content"),("style-1"==d||"style-2"==d||"style-3"==d)&&ue&&React.createElement(f.ToggleControl,{label:(0,n.__)("Thumbnail Sorting"),checked:Pt,onChange:function(){a({enableThumbnailSort:!Pt})}}),React.createElement(me.SortControl,{items:Nt,labelKey:"",onSortEnd:function(e){return a({enableContents:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),React.createElement(me.MorePosts,{loadMoreOptions:y,queryData:m,setAttributes:a,initialOpen:!1}),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Filter By Taxonomy","essential-blocks"),initialOpen:!1},React.createElement(f.ToggleControl,{label:(0,n.__)("Show Filter By Taxonomy?"),checked:yt,onChange:function(){a({showTaxonomyFilter:!yt})}}),yt&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(f.PanelRow,null,"Select Taxonomy Type"),React.createElement(v.Ay,{name:"select-header-meta",value:ht&&ht.length>0?JSON.parse(ht):"",onChange:function(e){return a({selectedTaxonomy:JSON.stringify(e)})},options:b})),ht&&ht.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-control-item-wrapper"},React.createElement(f.PanelRow,null,"Select Taxonomy 2"),React.createElement(v.Ay,{name:"select-header-meta",value:vt&&vt.length>0?JSON.parse(vt):"",onChange:function(e){return a({selectedTaxonomyItems:JSON.stringify(e)})},options:i,isMulti:"true"}))))),(0,p.applyFilters)("eb_post_grid_pro_general_tab","",t,a)),React.createElement(me.InspectorPanel.Style,null,React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Columns","essential-blocks"),initialOpen:!1},React.createElement(me.ResponsiveDimensionsControl,{controlName:x,baseLabel:"Padding"}),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(me.BackgroundControl,{controlName:B,noOverlay:!0})),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(me.BorderShadowControl,{controlName:T}))),ue&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Thumbnail","essential-blocks"),initialOpen:!1},React.createElement(me.ResponsiveDimensionsControl,{controlName:P,baseLabel:"Border Radius"}),React.createElement(me.ResponsiveDimensionsControl,{controlName:O,baseLabel:"Margin"}),React.createElement(me.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:fe,attributeName:"thumbnailOverlayColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Overlay Hover Color","essential-blocks"),color:ye,attributeName:"thumbnailOverlayHoverColor"})),he&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(f.ButtonGroup,{className:"eb-inspector-btn-group"},ee.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({titleColorStyle:e.value})}},e.label)})),"normal"===ke&&React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ve,attributeName:"titleColor"}),"hover"===ke&&React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:we,attributeName:"titleHoverColor"}),React.createElement(f.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(f.ButtonGroup,{id:"essential-blocks"},ne.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:_e===e.value,isSecondary:_e!==e.value,onClick:function(){return a({titleTextAlign:e.value})}},e.label)}))),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ce}),React.createElement(me.ResponsiveDimensionsControl,{controlName:I,baseLabel:"Margin"})),Ee&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Excerpt","essential-blocks"),initialOpen:!1},React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:xe,attributeName:"contentColor"}),React.createElement(f.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(f.ButtonGroup,{id:"essential-blocks"},ne.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:Se===e.value,isSecondary:Se!==e.value,onClick:function(){return a({contentTextAlign:e.value})}},e.label)}))),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:ie}),React.createElement(me.ResponsiveDimensionsControl,{controlName:D,baseLabel:"Margin"})),Ne&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Read More Button","essential-blocks"),initialOpen:!1},React.createElement(f.ButtonGroup,{className:"eb-inspector-btn-group"},ee.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:Le===e.value,isSecondary:Le!==e.value,onClick:function(){return a({readmoreColorType:e.value})}},e.label)})),"normal"===Le&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Oe,attributeName:"readmoreColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Ie,attributeName:"readmoreBGColor"})),"hover"===Le&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ae,attributeName:"readmoreHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Me,attributeName:"readmoreBGHoverColor"})),React.createElement(f.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"essential-blocks"},React.createElement(f.ButtonGroup,{id:"essential-blocks"},ne.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:De===e.value,isSecondary:De!==e.value,onClick:function(){return a({readmoreTextAlign:e.value})}},e.label)}))),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:se}),React.createElement(me.ResponsiveDimensionsControl,{controlName:A,baseLabel:"Margin"}),React.createElement(me.ResponsiveDimensionsControl,{controlName:M,baseLabel:"Padding"}),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(me.BorderShadowControl,{controlName:L,noShadow:!0}))),Fe&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Meta Styles","essential-blocks"),initialOpen:!1},React.createElement(me.ButtonGroupControl,{label:(0,n.__)("Header Meta Alignment","essential-blocks"),attrName:"headerMetaTextAlign",options:oe,currentValue:Ve}),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Header Meta Gap","essential-blocks"),controlName:H,units:$,min:1,max:100,step:1}),React.createElement(me.ResponsiveDimensionsControl,{controlName:F,baseLabel:"Header Meta Margin"}),React.createElement(me.ButtonGroupControl,{label:(0,n.__)("Footer Meta Alignment","essential-blocks"),options:oe,currentValue:Ge,attrName:"footerMetaTextAlign"}),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Footer Meta Gap","essential-blocks"),controlName:z,units:$,min:1,max:100,step:1}),React.createElement(me.ResponsiveDimensionsControl,{controlName:j,baseLabel:"Footer Meta Margin"}),React.createElement(f.ButtonGroup,{className:"eb-inspector-btn-group"},ee.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:qe===e.value,isSecondary:qe!==e.value,onClick:function(){return a({metaColorType:e.value})}},e.label)})),"normal"===qe&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Author Color","essential-blocks"),color:We,attributeName:"authorMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Date Color","essential-blocks"),color:lt,attributeName:"dateMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Common Meta Color","essential-blocks"),color:Je,attributeName:"commonMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Common Meta BG Color","essential-blocks"),color:Qe,attributeName:"commonMetaBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Category Color","essential-blocks"),color:$e,attributeName:"categoryMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Category BG Color","essential-blocks"),color:et,attributeName:"categoryMetaBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Tag Color","essential-blocks"),color:at,attributeName:"tagMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Tag BG Color","essential-blocks"),color:ot,attributeName:"tagMetaBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Read Time Color","essential-blocks"),color:ut,attributeName:"ReadTimeMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Dynamic Data Color","essential-blocks"),color:gt,attributeName:"dynamicMetaColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Dynamic Data BG Color","essential-blocks"),color:ft,attributeName:"dynamicMetaBgColor"})),"hover"===qe&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Author Color","essential-blocks"),color:Ze,attributeName:"authorMetaHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Common Meta Color","essential-blocks"),color:Ye,attributeName:"commonMetaHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Common Meta BG Color","essential-blocks"),color:Xe,attributeName:"commonMetaBgHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Category Color","essential-blocks"),color:Ke,attributeName:"categoryMetaHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Category BG Color","essential-blocks"),color:tt,attributeName:"categoryMetaBgHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Tag Color","essential-blocks"),color:nt,attributeName:"tagMetaHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Tag BG Color","essential-blocks"),color:rt,attributeName:"tagMetaBgHoverColor"})),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Meta Typography","essential-blocks"),typographyPrefixConstant:pe}),React.createElement(me.ResponsiveDimensionsControl,{controlName:U,baseLabel:"Avatar Radius"})),(null==y?void 0:y.enableMorePosts)&&React.createElement(React.Fragment,null,React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Load More Styles","essential-blocks"),initialOpen:!1},"1"===y.loadMoreType&&React.createElement(f.ButtonGroup,{id:"essential-blocks",className:"eb-inspector-btn-group"},ee.map(function(e,t){return React.createElement(f.Button,{key:t,isLarge:!0,isPrimary:it===e.value,isSecondary:it!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)})),"2"===y.loadMoreType&&React.createElement(f.BaseControl,{label:(0,n.__)("","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(f.ButtonGroup,{id:"eb-advance-heading-alignment"},te.map(function(e,t){return React.createElement(f.Button,{key:t,isLarge:!0,isPrimary:it===e.value,isSecondary:it!==e.value,onClick:function(){return a({loadMoreColorType:e.value})}},e.label)}))),"normal"===it&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:st,attributeName:"loadMoreColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:pt,attributeName:"loadMoreBgColor"})),"hover"===it&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:bt,attributeName:"loadMoreHoverColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:dt,attributeName:"loadMoreHoverBgColor"})),"active"===it&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:mt,attributeName:"loadMoreActiveColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:dt,attributeName:"loadMoreHoverBgColor"})),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:be}),React.createElement(me.InspectorPanel.PanelBody,null,React.createElement(me.ResponsiveDimensionsControl,{controlName:G,baseLabel:"Margin"}),React.createElement(me.ResponsiveDimensionsControl,{controlName:V,baseLabel:"Padding"})),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(me.BorderShadowControl,{controlName:q,noShadow:!0})))),yt&&React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Taxonomy Filter Style"),initialOpen:!1},React.createElement(me.InspectorPanel.PanelBody,null,React.createElement(f.ButtonGroup,{className:"eb-inspector-btn-group"},ee.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:wt===e.value,isSecondary:wt!==e.value,onClick:function(){return a({filterColorStyle:e.value})}},e.label)})),"normal"===wt&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:kt,attributeName:"filterBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:Rt,attributeName:"filterTextColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Active Background Color","essential-blocks"),color:_t,attributeName:"filterActiveBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Active Text Color","essential-blocks"),color:Ct,attributeName:"filterActiveTextColor"})),"hover"===wt&&React.createElement(React.Fragment,null,React.createElement(me.ColorControl,{label:(0,n.__)("Hover Background Color","essential-blocks"),color:Et,attributeName:"filterHoverBgColor"}),React.createElement(me.ColorControl,{label:(0,n.__)("Hover Text Color","essential-blocks"),color:xt,attributeName:"filterHoverTextColor"})),React.createElement(me.ResponsiveRangeController,{baseLabel:(0,n.__)("Items Gap","essential-blocks"),controlName:Y,units:$,min:1,max:100,step:1}),React.createElement(me.TypographyDropdown,{baseLabel:(0,n.__)("Items Typography","essential-blocks"),typographyPrefixConstant:de}),React.createElement(me.ResponsiveDimensionsControl,{controlName:W,baseLabel:"Filter Wrapper Margin"}),React.createElement(me.ResponsiveDimensionsControl,{controlName:Z,baseLabel:"Items Padding"})),React.createElement(me.InspectorPanel.PanelBody,{title:(0,n.__)("Items Border"),initialOpen:!1},React.createElement(me.BorderShadowControl,{controlName:J}))),(0,p.applyFilters)("eb_post_grid_pro_style_tab","",t,a))))});var ye=function(e,t){var a=[{label:"Category",value:"category"}];if(!e||0===e.length||null===e)return a;var n=t&&t.source?t.source:"post";if("object"===(0,o.A)(e)||e.length>0){var r=[];return e.map(function(e,t){e.slug===n&&e.taxonomies&&"object"===(0,o.A)(e.taxonomies)&&e.taxonomies.length>0&&e.taxonomies.map(function(e){var t;r.push({label:(t=e.replace(/[^a-zA-Z ]/g," "),t[0].toUpperCase()+t.slice(1).toLowerCase()),value:e})})}),r}return a};function he(e){var t=e.attributes,a=e.setAttributes,n=e.name,r=e.isContentEnabled,c=t.blockId,i=(t.blockMeta,t.resOption,t.preset),p=t.queryResults,b=t.loadMoreOptions,d=(t.showThumbnail,t.thumbnailOverlayColor),m=t.thumbnailOverlayHoverColor,u=(t.thumbnailSize,t.showTitle,t.titleColor),g=t.titleHoverColor,f=(t.titleLength,t.titleTextAlign),y=(t.titleTag,t.showContent,t.contentColor),h=t.contentTextAlign,v=(t.contentLength,t.expansionIndicator,t.showReadMore,t.readmoreText,t.readmoreColor),$=t.readmoreBGColor,K=t.readmoreTextAlign,ee=t.readmoreHoverColor,te=t.readmoreBGHoverColor,ae=(t.showMeta,t.headerMeta,t.footerMeta,t.headerMetaTextAlign),ne=t.footerMetaTextAlign,oe=t.authorMetaColor,re=t.authorMetaHoverColor,le=t.commonMetaColor,ue=t.commonMetaHoverColor,ge=t.commonMetaBgColor,fe=t.commonMetaBgHoverColor,ye=t.categoryMetaColor,he=t.categoryMetaHoverColor,ve=t.categoryMetaBgColor,we=t.categoryMetaBgHoverColor,ke=t.tagMetaColor,Re=t.tagMetaHoverColor,_e=t.tagMetaBgColor,Ce=t.tagMetaBgHoverColor,Ee=t.dateMetaColor,xe=t.styleVerticalAlignment,Se=(t.loadMoreColorType,t.loadMoreColor),Be=t.loadMoreBgColor,Te=t.loadMoreHoverColor,Ne=t.loadMoreHoverBgColor,Pe=t.loadMoreActiveColor,Oe=t.loadMoreActiveBgColor,Ie=t.ReadTimeMetaColor,De=t.dynamicMetaColor,Ae=t.dynamicMetaBgColor,Me=t.showTaxonomyFilter,Le=t.filterBgColor,Fe=t.filterTextColor,je=t.filterActiveBgColor,He=t.filterActiveTextColor,ze=t.filterHoverBgColor,Ue=t.filterHoverTextColor,Ve=(t.classHook,t.addIcon),Ge=t.iconPosition,qe=t.enableContents;(0,s.useEffect)(function(){var e=t["".concat(J,"borderColor")],n=t["".concat(J,"borderStyle")];e||"none"!==n||a((0,l.A)((0,l.A)({},"".concat(J,"borderColor"),"var(--eb-global-tertiary-color)"),"".concat(J,"borderStyle"),"solid"))},[]);var We=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:ce}),Ze=We.typoStylesDesktop,Je=We.typoStylesTab,Ye=We.typoStylesMobile,Qe=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:ie,defaultFontSize:15}),Xe=Qe.typoStylesDesktop,$e=Qe.typoStylesTab,Ke=Qe.typoStylesMobile,et=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:se,defaultFontSize:13}),tt=et.typoStylesDesktop,at=et.typoStylesTab,nt=et.typoStylesMobile,ot=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:pe,defaultFontSize:13}),rt=ot.typoStylesDesktop,lt=ot.typoStylesTab,ct=ot.typoStylesMobile,it=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:de,defaultFontSize:16}),st=it.typoStylesDesktop,pt=it.typoStylesTab,bt=it.typoStylesMobile,dt=(0,me.generateDimensionsControlStyles)({controlName:w,styleFor:"margin",attributes:t}),mt=dt.dimensionStylesDesktop,ut=dt.dimensionStylesTab,gt=dt.dimensionStylesMobile,ft=(0,me.generateDimensionsControlStyles)({controlName:k,styleFor:"padding",attributes:t}),yt=ft.dimensionStylesDesktop,ht=ft.dimensionStylesTab,vt=ft.dimensionStylesMobile,wt=(0,me.generateDimensionsControlStyles)({controlName:x,styleFor:"padding",attributes:t}),kt=wt.dimensionStylesDesktop,Rt=wt.dimensionStylesTab,_t=wt.dimensionStylesMobile,Ct=(0,me.generateDimensionsControlStyles)({controlName:I,styleFor:"margin",attributes:t}),Et=Ct.dimensionStylesDesktop,xt=Ct.dimensionStylesTab,St=Ct.dimensionStylesMobile,Bt=(0,me.generateDimensionsControlStyles)({controlName:D,styleFor:"margin",attributes:t}),Tt=Bt.dimensionStylesDesktop,Nt=Bt.dimensionStylesTab,Pt=Bt.dimensionStylesMobile,Ot=(0,me.generateDimensionsControlStyles)({controlName:A,styleFor:"margin",attributes:t}),It=Ot.dimensionStylesDesktop,Dt=Ot.dimensionStylesTab,At=Ot.dimensionStylesMobile,Mt=(0,me.generateDimensionsControlStyles)({controlName:M,styleFor:"padding",attributes:t}),Lt=Mt.dimensionStylesDesktop,Ft=Mt.dimensionStylesTab,jt=Mt.dimensionStylesMobile,Ht=(0,me.generateDimensionsControlStyles)({controlName:F,styleFor:"margin",attributes:t}),zt=Ht.dimensionStylesDesktop,Ut=Ht.dimensionStylesTab,Vt=Ht.dimensionStylesMobile,Gt=(0,me.generateDimensionsControlStyles)({controlName:j,styleFor:"margin",attributes:t}),qt=Gt.dimensionStylesDesktop,Wt=Gt.dimensionStylesTab,Zt=Gt.dimensionStylesMobile,Jt=(0,me.generateDimensionsControlStyles)({controlName:O,styleFor:"margin",attributes:t}),Yt=Jt.dimensionStylesDesktop,Qt=Jt.dimensionStylesTab,Xt=Jt.dimensionStylesMobile,$t=(0,me.generateDimensionsControlStyles)({controlName:P,styleFor:"border-radius",attributes:t}),Kt=$t.dimensionStylesDesktop,ea=$t.dimensionStylesTab,ta=$t.dimensionStylesMobile,aa=(0,me.generateDimensionsControlStyles)({controlName:U,styleFor:"border-radius",attributes:t}),na=aa.dimensionStylesDesktop,oa=aa.dimensionStylesTab,ra=aa.dimensionStylesMobile,la=(0,me.generateDimensionsControlStyles)({controlName:Z,styleFor:"padding",attributes:t}),ca=la.dimensionStylesDesktop,ia=la.dimensionStylesTab,sa=la.dimensionStylesMobile,pa=(0,me.generateDimensionsControlStyles)({controlName:W,styleFor:"margin",attributes:t}),ba=pa.dimensionStylesDesktop,da=pa.dimensionStylesTab,ma=pa.dimensionStylesMobile,ua=(0,me.generateBorderShadowStyles)({controlName:R,attributes:t}),ga=ua.styesDesktop,fa=ua.styesTab,ya=ua.styesMobile,ha=ua.stylesHoverDesktop,va=ua.stylesHoverTab,wa=ua.stylesHoverMobile,ka=ua.transitionStyle,Ra=(0,me.generateBorderShadowStyles)({controlName:T,attributes:t}),_a=Ra.styesDesktop,Ca=Ra.styesTab,Ea=Ra.styesMobile,xa=Ra.stylesHoverDesktop,Sa=Ra.stylesHoverTab,Ba=Ra.stylesHoverMobile,Ta=Ra.transitionStyle,Na=(0,me.generateResponsiveRangeStyles)({controlName:C,property:"",attributes:t}),Pa=Na.rangeStylesDesktop,Oa=Na.rangeStylesTab,Ia=Na.rangeStylesMobile,Da=(0,me.generateResponsiveRangeStyles)({controlName:E,property:"gap",attributes:t}),Aa=Da.rangeStylesDesktop,Ma=Da.rangeStylesTab,La=Da.rangeStylesMobile,Fa=(0,me.generateResponsiveRangeStyles)({controlName:Y,property:"gap",attributes:t}),ja=Fa.rangeStylesDesktop,Ha=Fa.rangeStylesTab,za=Fa.rangeStylesMobile,Ua=(0,me.generateResponsiveRangeStyles)({controlName:N,property:"height",attributes:t}),Va=Ua.rangeStylesDesktop,Ga=Ua.rangeStylesTab,qa=Ua.rangeStylesMobile,Wa=(0,me.generateResponsiveRangeStyles)({controlName:H,property:"margin-right",attributes:t}),Za=Wa.rangeStylesDesktop,Ja=Wa.rangeStylesTab,Ya=Wa.rangeStylesMobile,Qa=(0,me.generateResponsiveRangeStyles)({controlName:z,property:"margin-right",attributes:t}),Xa=Qa.rangeStylesDesktop,$a=Qa.rangeStylesTab,Ka=Qa.rangeStylesMobile,en=(0,me.generateResponsiveRangeStyles)({controlName:S,property:"width",attributes:t}),tn=en.rangeStylesDesktop,an=en.rangeStylesTab,nn=en.rangeStylesMobile,on=(0,me.generateBackgroundControlStyles)({attributes:t,controlName:_,noOverlay:!0}),rn=on.backgroundStylesDesktop,ln=on.hoverBackgroundStylesDesktop,cn=on.backgroundStylesTab,sn=on.hoverBackgroundStylesTab,pn=on.backgroundStylesMobile,bn=on.hoverBackgroundStylesMobile,dn=on.bgTransitionStyle,mn=(0,me.generateBackgroundControlStyles)({attributes:t,controlName:B,noOverlay:!0}),un=mn.backgroundStylesDesktop,gn=mn.hoverBackgroundStylesDesktop,fn=mn.backgroundStylesTab,yn=mn.hoverBackgroundStylesTab,hn=mn.backgroundStylesMobile,vn=mn.hoverBackgroundStylesMobile,wn=mn.bgTransitionStyle,kn=(0,me.generateDimensionsControlStyles)({controlName:V,styleFor:"padding",attributes:t}),Rn=kn.dimensionStylesDesktop,_n=kn.dimensionStylesTab,Cn=kn.dimensionStylesMobile,En=(0,me.generateDimensionsControlStyles)({controlName:G,styleFor:"margin",attributes:t}),xn=En.dimensionStylesDesktop,Sn=En.dimensionStylesTab,Bn=En.dimensionStylesMobile,Tn=(0,me.generateTypographyStyles)({attributes:t,prefixConstant:be,defaultFontSize:14}),Nn=Tn.typoStylesDesktop,Pn=Tn.typoStylesTab,On=Tn.typoStylesMobile,In=(0,me.generateBorderShadowStyles)({controlName:q,attributes:t,noShadow:!0}),Dn=In.styesDesktop,An=In.styesTab,Mn=In.styesMobile,Ln=In.stylesHoverDesktop,Fn=In.stylesHoverTab,jn=In.stylesHoverMobile,Hn=In.transitionStyle,zn=(0,me.generateBorderShadowStyles)({controlName:L,attributes:t,noShadow:!0}),Un=zn.styesDesktop,Vn=zn.styesTab,Gn=zn.styesMobile,qn=zn.stylesHoverDesktop,Wn=zn.stylesHoverTab,Zn=zn.stylesHoverMobile,Jn=zn.transitionStyle,Yn=(0,me.generateBorderShadowStyles)({controlName:J,attributes:t}),Qn=Yn.styesDesktop,Xn=Yn.styesTab,$n=Yn.styesMobile,Kn=Yn.stylesHoverDesktop,eo=Yn.stylesHoverTab,to=Yn.stylesHoverMobile,ao=Yn.transitionStyle,no=(0,me.generateResponsiveRangeStyles)({controlName:Q,property:"font-size",attributes:t,customUnit:"px"}),oo=no.rangeStylesDesktop,ro=no.rangeStylesTab,lo=no.rangeStylesMobile,co=(0,me.generateResponsiveRangeStyles)({controlName:X,property:"margin-left",attributes:t,customUnit:"px"}),io=co.rangeStylesDesktop,so=co.rangeStylesTab,po=co.rangeStylesMobile,bo=(0,me.generateResponsiveRangeStyles)({controlName:X,property:"margin-right",attributes:t,customUnit:"px"}),mo=bo.rangeStylesDesktop,uo=bo.rangeStylesTab,go=bo.rangeStylesMobile,fo="\n .eb-post-grid-wrapper.".concat(c," .eb-post-grid-posts-wrapper {\n display: grid;\n position: relative;\n grid-template-columns: repeat(").concat(Pa.replace(/\D/g,""),", minmax(0, 1fr));\n ").concat(Aa,"\n }\n\n\t\t.eb-post-grid-wrapper.").concat(c,"{\n\t\t\t").concat(mt,"\n\t\t\t").concat(yt,"\n\t\t\t").concat(rn,"\n\t\t\t").concat(ga,"\n\t\t\ttransition: ").concat(dn,", ").concat(ka,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c,":hover {\n\t\t\t").concat(ln,"\n\t\t\t").concat(ha,"\n\t\t}\n\t"),yo="\n .eb-post-grid-wrapper.".concat(c," .eb-post-grid-posts-wrapper {\n grid-template-columns: repeat(\n\t\t\t\t").concat(Oa?Oa.replace(/\D/g,""):"object"===(0,o.A)(p)&&p.length>1?2:1,",\n\t\t\t\tminmax(0, 1fr)\n\t\t\t);\n\t\t\t").concat(Ma,"\n }\n\t\t.eb-post-grid-wrapper.").concat(c,"{\n\t\t\t").concat(ut,"\n\t\t\t").concat(ht,"\n\t\t\t").concat(cn,"\n\t\t\t").concat(fa,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c,":hover {\n\t\t\t").concat(sn,"\n\t\t\t").concat(va,"\n\t\t}\n\t"),ho="\n .eb-post-grid-wrapper.".concat(c," .eb-post-grid-posts-wrapper {\n grid-template-columns: repeat(\n\t\t\t\t").concat(Ia?Ia.replace(/\D/g,""):1,",\n\t\t\t\tminmax(0, 1fr)\n\t\t\t);\n\t\t\t").concat(La,"\n }\n\t\t.eb-post-grid-wrapper.").concat(c," {\n\t\t\t").concat(gt,"\n\t\t\t").concat(vt,"\n\t\t\t").concat(pn,"\n\t\t\t").concat(ya,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c,":hover {\n\t\t\t").concat(bn,"\n\t\t\t").concat(wa,"\n\t\t}\n\t"),vo=tn.replace(/\D/g,""),wo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-post-grid-column {\n\t\t\t").concat(kt,"\n\t\t\t").concat(_a,"\n\t\t\t").concat(un,"\n\t\t\ttransition: ").concat(wn,", ").concat(Ta,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-post-grid-column:hover {\n\t\t\t").concat(gn,"\n\t\t\t").concat(xa,"\n\t\t}\n\t\t").concat("style-4"===i&&tn?"\n\t\t\t.eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(xe,";\n\t\t\t}\n\t\t\t").concat("0"===vo?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-vo,"%;\n\t\t\t\t}"):"100"===vo?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(vo,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(vo,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(vo,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-vo,"%;\n\t\t\t\t}")):"","\n\t\t").concat("style-5"===i?"\n\t\t\t.eb-post-grid-wrapper.".concat(c,".style-5 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\tjustify-content: ").concat(xe,";\n\t\t\t}\n\t\t\t"):"","\n\t"),ko=an.replace(/\D/g,""),Ro="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-post-grid-column {\n\t\t\t").concat(Rt,"\n\t\t\t").concat(Ca,"\n\t\t\t").concat(fn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-post-grid-column:hover {\n\t\t\t").concat(yn,"\n\t\t\t").concat(Sa,"\n\t\t}\n\t\t").concat("style-4"===i&&an?"\n\t\t\t.eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(xe,";\n\t\t\t}\n\t\t\t").concat("0"===ko?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-ko,"%;\n\t\t\t\t}"):"100"===ko?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(ko,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(ko,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(ko,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-ko,"%;\n\t\t\t\t}")):"","\n\t"),_o=nn.replace(/\D/g,""),Co="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-post-grid-column {\n\t\t\t").concat(_t,"\n\t\t\t").concat(Ea,"\n\t\t\t").concat(hn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-post-grid-column:hover {\n\t\t\t").concat(vn,"\n\t\t\t").concat(Ba,"\n\t\t}\n\t\t").concat("style-4"===i&&nn?"\n\t\t\t.eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\talign-items: ").concat(xe,";\n\t\t\t}\n\t\t\t").concat("0"===_o?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-_o,"%;\n\t\t\t\t}"):"100"===_o?".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder {\n\t\t\t\t\t\tflex-wrap: wrap;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\t\twidth: ").concat(_o,"%;\n\t\t\t\t\t}\n\t\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\t\twidth: ").concat(_o,"%;\n\t\t\t\t\t}"):".eb-post-grid-wrapper.".concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-media {\n\t\t\t\t\twidth: ").concat(_o,"%;\n\t\t\t\t}\n\t\t\t\t.eb-post-grid-wrapper.").concat(c,".style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper {\n\t\t\t\t\twidth: ").concat(100-_o,"%;\n\t\t\t\t}")):"","\n\t"),Eo="\n ".concat("style-1"===i||"style-2"===i||"style-3"===i?"\n .eb-post-grid-wrapper.".concat(c," .ebpg-entry-media {\n ").concat(r("thumbnail")&&"order: ".concat(qe.indexOf("thumbnail")+1," !important"),"\n }\n "):"","\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-thumbnail {\n\t\t\t").concat(Yt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Va,"\n\t\t\t").concat(Kt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-holder .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(d,";\n\t\t\t").concat(Kt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(c,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\tbackground-color: ").concat(m,";\n\t\t\t").concat(Kt,"\n\t\t}\n\t"),xo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-thumbnail {\n\t\t\t").concat(Qt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-thumbnail img {\n\t\t\t").concat(Ga,"\n\t\t\t").concat(ea,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(c,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(ea,"\n\t\t}\n\t"),So="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-thumbnail {\n\t\t\t").concat(Xt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-thumbnail img {\n\t\t\t").concat(qa,"\n\t\t\t").concat(ta,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,\n\t\t.eb-post-grid-wrapper.").concat(c,".style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after {\n\t\t\t").concat(ta,"\n\t\t}\n\t"),Bo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-header {\n ").concat(r("title")&&"order: ".concat(qe.indexOf("title")+1," !important"),"\n }\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-title {\n\t\t\ttext-align: ").concat(f,";\n\t\t\t").concat(Ze,"\n\t\t\t").concat(Et,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-title a {\n\t\t\tcolor: ").concat(u,";\n\t\t\t").concat(Ze,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-title a:hover {\n\t\t\tcolor: ").concat(g,";\n\t\t}\n\t"),To="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-title {\n\t\t\t").concat(Je,"\n\t\t\t").concat(xt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-title a {\n\t\t\t").concat(Je,"\n\t\t}\n\t"),No="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-title {\n\t\t\t").concat(Ye,"\n\t\t\t").concat(St,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-entry-title a {\n\t\t\t").concat(Ye,"\n\t\t}\n\t"),Po="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-entry-content, .eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-excerpt {\n ").concat(r("excerpt")&&"order: ".concat(qe.indexOf("excerpt")+1," !important"),"\n }\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-grid-post-excerpt p {\n\t\t\tcolor: ").concat(y,";\n\t\t\ttext-align: ").concat(h,";\n\t\t\t").concat(Xe,"\n\t\t\t").concat(Tt,"\n\t\t}\n\t"),Oo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-grid-post-excerpt p {\n\t\t\t").concat($e,"\n\t\t\t").concat(Nt,"\n\t\t}\n\t"),Io="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-grid-post-excerpt p {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(Pt,"\n\t\t}\n\t"),Do="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn {\n\t\t\ttext-align: ").concat(K,";\n order: 10;\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-readmore-btn a {\n\t\t\tcolor: ").concat(v,";\n\t\t\tbackground-color: ").concat($,";\n\t\t\t").concat(tt,"\n\t\t\t").concat(It,"\n\t\t\t").concat(Lt,"\n ").concat(Un,"\n\t\t\ttransition: ").concat(Jn,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-readmore-btn a:hover {\n\t\t\tcolor: ").concat(ee,";\n\t\t\tbackground-color: ").concat(te,";\n ").concat(qn,"\n\t\t}\n\n\t\t").concat(Ve?".eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(oo,"\n\t\t\t\t\t").concat("left"===Ge?mo:io,"\n\t\t\t\t}"):"","\n\t"),Ao="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn a {\n\t\t\t").concat(at,"\n\t\t\t").concat(Dt,"\n\t\t\t").concat(Ft,"\n ").concat(Vn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-readmore-btn a:hover {\n ").concat(Wn,"\n\t\t}\n\t\t").concat(Ve?".eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(ro,"\n\t\t\t\t\t").concat("left"===Ge?uo:so,"\n\t\t\t\t}"):"","\n\t"),Mo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn a {\n\t\t\t").concat(nt,"\n\t\t\t").concat(At,"\n\t\t\t").concat(jt,"\n ").concat(Gn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-readmore-btn a:hover {\n ").concat(Zn,"\n\t\t}\n\t\t").concat(Ve?".eb-post-grid-wrapper.".concat(c," .ebpg-readmore-btn .eb-button-icon {\n\t\t\t\t\t").concat(lo,"\n\t\t\t\t\t").concat("left"===Ge?go:po,"\n\t\t\t\t}"):"","\n\t"),Lo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-author-avatar img {\n\t\t\t").concat(na,"\n\t\t}\n\t"),Fo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-author-avatar img {\n\t\t\t").concat(oa,"\n\t\t}\n\t"),jo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-author-avatar img {\n\t\t\t").concat(ra,"\n\t\t}\n\t"),Ho="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-on {\n\t\t\tcolor: ").concat(Ee,";\n\t\t\t").concat(rt,"\n\t\t}\n\t"),zo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-on {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),Uo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-on {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),Vo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-by {\n\t\t\tcolor: ").concat(oe,";\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-posted-by a {\n\t\t\tcolor: ").concat(oe,";\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-posted-by a:hover {\n\t\t\tcolor: ").concat(re,";\n\t\t}\n\t"),Go="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-by {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),qo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-posted-by {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),Wo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta a {\n\t\t\tcolor: ").concat(le,";\n\t\t\tbackground-color: ").concat(ge,";\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-meta a:hover {\n\t\t\tcolor: ").concat(ue,";\n\t\t\tbackground-color: ").concat(fe,";\n\t\t}\n\t"),Zo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta a {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),Jo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta a {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),Yo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-categories-meta a {\n\t\t\tcolor: ").concat(ye,";\n\t\t\tbackground-color: ").concat(ve,";\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-categories-meta a:hover {\n\t\t\tcolor: ").concat(he,";\n\t\t\tbackground-color: ").concat(we,";\n\t\t}\n\t"),Qo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-categories-meta a {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),Xo="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-categories-meta a {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),$o="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-tags-meta a {\n\t\t\tcolor: ").concat(ke,";\n\t\t\tbackground-color: ").concat(_e,";\n\t\t\t").concat(rt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-tags-meta a:hover {\n\t\t\tcolor: ").concat(Re,";\n\t\t\tbackground-color: ").concat(Ce,";\n\t\t}\n\t"),Ko="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-tags-meta a {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),er="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-tags-meta a {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),tr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-read-time {\n\t\t\tcolor: ").concat(Ie,";\n\t\t\t").concat(rt,"\n\t\t}\n\t"),ar="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-read-time {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),nr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-read-time {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),or="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta.ebpg-dynamic-values {\n\t\t\tcolor: ").concat(De,";\n\t\t\tbackground-color: ").concat(Ae,";\n\t\t\t").concat(rt,"\n\t\t}\n\t"),rr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta.ebpg-dynamic-values {\n\t\t\t").concat(lt,"\n\t\t}\n\t"),lr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-meta.ebpg-dynamic-values {\n\t\t\t").concat(ct,"\n\t\t}\n\t"),cr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-header-meta {\n\t\t\tjustify-content: ").concat(ae,";\n\t\t\t").concat(zt,"\n ").concat(r("headerMeta")&&"order: ".concat(qe.indexOf("headerMeta")+1," !important"),"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(ae,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Za,"\n\t\t}\n\t"),ir="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-header-meta {\n\t\t\t").concat(Ut,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Ja,"\n\t\t}\n\t"),sr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-header-meta {\n\t\t\t").concat(Vt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-header-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Ya,"\n\t\t}\n\t"),pr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-footer-meta {\n\t\t\tjustify-content: ").concat(ne,";\n\t\t\t").concat(qt,"\n ").concat(r("footerMeta")&&"order: ".concat(qe.indexOf("footerMeta")+1," !important"),"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-entry-meta-items {\n\t\t\tjustify-content: ").concat(ne,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Xa,"\n\t\t}\n\t"),br="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-footer-meta {\n\t\t\t").concat(Wt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat($a,"\n\t\t}\n\t"),dr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-footer-meta {\n\t\t\t").concat(Zt,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-author-avatar,\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-footer-meta .ebpg-entry-meta-items > * {\n\t\t\t").concat(Ka,"\n\t\t}\n\t"),mr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-pagination {\n\t\t\ttext-align: ").concat(b?b.alignment:"center",";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-pagination button {\n\t\t\tcolor: ").concat(Se,";\n\t\t\tbackground-color: ").concat(Be,";\n\t\t\t").concat(Rn,"\n\t\t\t").concat(xn,"\n\t\t\t").concat(Nn,"\n\t\t\t").concat(Dn,"\n\t\t\ttransition: ").concat(Hn,";\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-pagination button:hover {\n\t\t\tcolor: ").concat(Te,";\n\t\t\tbackground-color: ").concat(Ne,";\n\t\t\t").concat(Ln,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-pagination button.ebpg-pagination-item.active {\n\t\t\tcolor: ").concat(Pe,";\n\t\t\tbackground-color: ").concat(Oe,";\n\t\t}\n\t"),ur="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-pagination button {\n\t\t\t").concat(_n,"\n\t\t\t").concat(Sn,"\n\t\t\t").concat(Pn,"\n\t\t\t").concat(An,"\n\t\t\t").concat(Fn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-pagination button:hover {\n\t\t\t").concat(Fn,"\n\t\t}\n\t"),gr="\n\t\t.eb-post-grid-wrapper.".concat(c," .ebpg-pagination button {\n\t\t\t").concat(Cn,"\n\t\t\t").concat(Bn,"\n\t\t\t").concat(On,"\n\t\t\t").concat(Mn,"\n\t\t\t").concat(jn,"\n\t\t}\n\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-pagination button:hover {\n\t\t\t").concat(jn,"\n\t\t}\n\t"),fr="\n\t\t".concat(Me?"\n\t\t\t.eb-post-grid-wrapper.".concat(c," .eb-post-grid-category-filter {\n\t\t\t\t").concat(ba,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list {\n\t\t\t\t").concat(ja,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item {\n\t\t\t\tcolor: ").concat(Fe,";\n\t\t\t\tbackground-color: ").concat(Le,";\n\t\t\t\t").concat(st,"\n\t\t\t\t").concat(ca,"\n\t\t\t\t").concat(Qn,"\n\t\t\t\ttransition: ").concat(ao,";\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item.active {\n\t\t\t\tcolor: ").concat(He,";\n\t\t\t\tbackground-color: ").concat(je,";\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item:hover {\n\t\t\t\tcolor: ").concat(Ue,";\n\t\t\t\tbackground-color: ").concat(ze,";\n\t\t\t\t").concat(Kn,"\n\t\t\t}\n\t\t"):"","\n\t"),yr="\n\t\t".concat(Me?"\n\t\t\t.eb-post-grid-wrapper.".concat(c," .eb-post-grid-category-filter {\n\t\t\t\t").concat(da,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list {\n\t\t\t\t").concat(Ha,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item {\n\t\t\t\t").concat(pt,"\n\t\t\t\t").concat(ia,"\n\t\t\t\t").concat(Xn,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item:hover {\n\t\t\t\t").concat(eo,"\n\t\t\t}\n\t\t"):"","\n\t"),hr="\n\t\t".concat(Me?"\n\t\t\t.eb-post-grid-wrapper.".concat(c," .eb-post-grid-category-filter {\n\t\t\t\t").concat(ma,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list {\n\t\t\t\t").concat(za,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item {\n\t\t\t\t").concat(bt,"\n\t\t\t\t").concat(sa,"\n\t\t\t\t").concat($n,"\n\t\t\t}\n\t\t\t.eb-post-grid-wrapper.").concat(c," .ebpg-category-filter-list-item:hover {\n\t\t\t\t").concat(to,"\n\t\t\t}\n\t\t"):"","\n\t"),vr=(0,me.softMinifyCssStrings)("\n\t\t".concat(fo,"\n\t\t").concat(wo,"\n\t\t").concat(Eo,"\n\t\t").concat(Bo,"\n\t\t").concat(Po,"\n\t\t").concat(Do,"\n\t\t").concat(Lo,"\n\t\t").concat(Ho,"\n\t\t").concat(Vo,"\n\t\t").concat(Wo,"\n\t\t").concat(Yo,"\n\t\t").concat($o,"\n\t\t").concat(tr,"\n\t\t").concat(or,"\n\t\t").concat(cr,"\n\t\t").concat(pr,"\n\t\t").concat(mr,"\n\t\t").concat(fr,"\n\t")),wr=(0,me.softMinifyCssStrings)("\n\t\t".concat(yo,"\n\t\t").concat(Ro,"\n\t\t").concat(xo,"\n\t\t").concat(To,"\n\t\t").concat(Oo,"\n\t\t").concat(Ao,"\n\t\t").concat(Fo,"\n\t\t").concat(zo,"\n\t\t").concat(Go,"\n\t\t").concat(Zo,"\n\t\t").concat(Qo,"\n\t\t").concat(Ko,"\n\t\t").concat(ar,"\n\t\t").concat(rr,"\n\t\t").concat(ir,"\n\t\t").concat(br,"\n\t\t").concat(ur,"\n\t\t").concat(yr,"\n\t")),kr=(0,me.softMinifyCssStrings)("\n\t\t".concat(ho,"\n\t\t").concat(Co,"\n\t\t").concat(So,"\n\t\t").concat(No,"\n\t\t").concat(Io,"\n\t\t").concat(Mo,"\n\t\t").concat(jo,"\n\t\t").concat(Uo,"\n\t\t").concat(qo,"\n\t\t").concat(Jo,"\n\t\t").concat(Xo,"\n\t\t").concat(er,"\n\t\t").concat(nr,"\n\t\t").concat(lr,"\n\t\t").concat(sr,"\n\t\t").concat(dr,"\n\t\t").concat(gr,"\n\t\t").concat(hr,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(me.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:vr,tabAllStyles:wr,mobileAllStyles:kr,blockName:n}))}const ve=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("g",{fill:"#6C3BFF",clipPath:"url(#clip0_2_22781)"},React.createElement("path",{d:"M57.867 5H2.133C.933 5 0 5.933 0 7.133v46.534c0 1.2.933 2.133 2.133 2.133h55.734c1.2 0 2.133-.933 2.133-2.133v-46.4C60.133 5.933 59 5 57.867 5zm.533 48.667c0 .266-.267.533-.533.533H2.133c-.266 0-.533-.267-.533-.533v-46.4c0-.267.267-.534.533-.534h55.734c.266 0 .533.267.533.534v46.4z"}),React.createElement("path",{d:"M19 30.067H9A1.863 1.863 0 017.133 28.2v-10c0-1.067.867-1.867 1.867-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867zM8.933 17.8c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333h-10zM35.133 30.067h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10C36.2 16.333 37 17.2 37 18.2v10c.067 1-.8 1.867-1.867 1.867zm-10-12.267c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333h-10zM51.333 30.067h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867zM41.267 17.8c-.2 0-.334.133-.334.333v10c0 .2.134.334.334.334h10c.2 0 .333-.134.333-.334v-10c0-.2-.133-.333-.333-.333h-10zM19 47.4H9a1.863 1.863 0 01-1.867-1.867v-10c0-1.066.867-1.866 1.867-1.866h10c1.067 0 1.867.866 1.867 1.866v10A1.863 1.863 0 0119 47.4zM8.933 35.133c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334h-10zM35.133 47.4h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10c.067 1.067-.8 1.867-1.867 1.867zm-10-12.267c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334h-10zM51.333 47.4h-10a1.863 1.863 0 01-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10a1.863 1.863 0 01-1.867 1.867zM41.267 35.133c-.2 0-.334.134-.334.334v10c0 .2.134.333.334.333h10c.2 0 .333-.133.333-.333v-10c0-.2-.133-.334-.333-.334h-10z"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_2_22781"},React.createElement("path",{fill:"#fff",d:"M0 0H60V60H0z"}))))};var we,ke,Re,_e,Ce,Ee,xe,Se,Be=[{title:"Classic Layout",templatePreview:!0,preview:"".concat(null===(we=EssentialBlocksLocalize)||void 0===we?void 0:we.image_url,"/templates/post-grid/preset-1.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-hh3z1","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-post-grid-column { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-thumbnail img { height:250px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-hh3z1.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title a { color:var(\\u002d\\u002deb-global-heading-color); font-size:18px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-excerpt { order:3 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-grid-post-excerpt p { color:var(\\u002d\\u002deb-global-text-color); text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn a { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-on { color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by a { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-read-time { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:4 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-hh3z1 .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-hh3z1 { display:block; opacity:1 }.eb-parent-eb-post-grid-hh3z1 { display:block }"}} /--\x3e'},{title:"Modern Layout",templatePreview:!0,preview:"".concat(null===(ke=EssentialBlocksLocalize)||void 0===ke?void 0:ke.image_url,"/templates/post-grid/preset-2.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-pb9bu","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-post-grid-column { padding:0px; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-thumbnail img { height:200px; border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-pb9bu.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-on { color:#9e9e9e; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:3 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-pb9bu .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-2","titleColor":"#333333","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","authorMetaColor":"#3d8fd4","dateMetaColor":"#9e9e9e","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["thumbnail","title","headerMeta","excerpt","footerMeta"],"columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","thumbnailBDRTop":"5","thumbnailBDRRight":"5","thumbnailBDRBottom":"5","thumbnailBDRLeft":"5","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-pb9bu { display:block; opacity:1 }.eb-parent-eb-post-grid-pb9bu { display:block }"}} /--\x3e'},{title:"Vintage Layout",templatePreview:!0,preview:"".concat(null===(Re=EssentialBlocksLocalize)||void 0===Re?void 0:Re.image_url,"/templates/post-grid/preset-3.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-zhy8g","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:15px }.eb-post-grid-wrapper.eb-post-grid-zhy8g { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-post-grid-column { padding:10px; border-radius:5px; box-shadow:rgba(197,197,197,1) 0px 0px 10px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 10px 0px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-media { order:1 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-thumbnail img { height:250px; border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-zhy8g.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.5); border-radius:5px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-header { order:2 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title a { color:#333333; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-on { color:#9e9e9e; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:3 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta { justify-content:center; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; order:5 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-zhy8g .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-3","titleColor":"#333333","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022}]","footerMetaTextAlign":"center","authorMetaColor":"#3d8fd4","dateMetaColor":"#9e9e9e","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["thumbnail","title","headerMeta","excerpt","footerMeta"],"columnPaddingTop":"10","columnPaddingRight":"10","columnPaddingBottom":"10","columnPaddingLeft":"10","thumbnailBDRTop":"5","thumbnailBDRRight":"5","thumbnailBDRBottom":"5","thumbnailBDRLeft":"5","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":10,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"5","columnBorderShadowRds_Right":"5","columnBorderShadowRds_Bottom":"5","columnBorderShadowRds_Left":"5","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","columnGapRange":15,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-zhy8g { display:block; opacity:1 }.eb-parent-eb-post-grid-zhy8g { display:block }"}} /--\x3e'},{title:"Minimal Layout",templatePreview:!0,preview:"".concat(null===(_e=EssentialBlocksLocalize)||void 0===_e?void 0:_e.image_url,"/templates/post-grid/preset-4.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-7w6po","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(1, minmax(0, 1fr)); gap:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-post-grid-column { padding-top:15px; padding-right:0px; padding-left:0px; padding-bottom:15px; border-top-width:2px; border-right-width:0px; border-left-width:0px; border-bottom-width:0px; border-color:#000000; border-style:solid; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder { align-items:flex-start }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder .ebpg-entry-media { width:40% }.eb-post-grid-wrapper.eb-post-grid-7w6po.style-4 .ebpg-grid-post-holder .ebpg-entry-wrapper { width:60% }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-thumbnail img { height:200px; border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-7w6po.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-header { order:3 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title { text-align:left; font-size:18px; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title a { color:#555; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-entry-content, .eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-excerpt { order:4 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-grid-post-excerpt p { color:#333333; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:15px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-on { color:#707070; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-read-time { color:#707070; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:2 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:5 }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-7w6po .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-4","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","titleColor":"#555","contentColor":"#333333","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022avatar\\u0022,\\u0022label\\u0022:\\u0022Author Avatar\\u0022},{\\u0022value\\u0022:\\u0022author\\u0022,\\u0022label\\u0022:\\u0022Author Name\\u0022}]","footerMeta":"[{\\u0022value\\u0022:\\u0022readtime\\u0022,\\u0022label\\u0022:\\u0022Read Time\\u0022},{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","authorMetaColor":"#3d8fd4","dateMetaColor":"#707070","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#707070","enableContents":["thumbnail","headerMeta","title","excerpt","footerMeta"],"enableThumbnailSort":false,"columnPaddingisLinked":false,"columnPaddingTop":"15","columnPaddingRight":"0","columnPaddingBottom":"15","columnPaddingLeft":"0","titleMarginRight":"15","titleMarginBottom":"15","titleMarginLeft":"15","contentMarginLeft":"15","headerMetaMarginRight":"15","headerMetaMarginBottom":"15","headerMetaMarginLeft":"15","footerMetaMarginRight":"15","footerMetaMarginBottom":"15","footerMetaMarginLeft":"15","thumbnailMarginBottom":"0","thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowborderStyle":"solid","columnBorderShadowBdr_isLinked":false,"columnBorderShadowBdr_Top":"2","columnBorderShadowBdr_Right":"0","columnBorderShadowBdr_Bottom":"0","columnBorderShadowBdr_Left":"0","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","columnsRange":1,"columnGapRange":0,"thumbnailImageSizeRange":200,"commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-7w6po { display:block; opacity:1 }.eb-parent-eb-post-grid-7w6po { display:block }"}} /--\x3e'},{title:"Gallery Layout",templatePreview:!0,preview:"".concat(null===(Ce=EssentialBlocksLocalize)||void 0===Ce?void 0:Ce.image_url,"/templates/post-grid/preset-5.svg"),content:'\x3c!-- wp:essential-blocks/post-grid {"blockId":"eb-post-grid-wmqkd","blockMeta":{"desktop":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { display:grid; position:relative; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-post-grid-column { padding:0px; border-radius:0px; box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-post-grid-column:hover { box-shadow:rgba(197,197,197,1) 0px 0px 0px 0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd.style-5 .ebpg-grid-post-holder .ebpg-entry-wrapper { justify-content:flex-start }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-thumbnail { margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-thumbnail img { height:250px; border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-holder .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.45); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-holder .ebpg-entry-thumbnail:hover:after,.eb-post-grid-wrapper.eb-post-grid-wmqkd.style-5 .ebpg-grid-post-holder:hover .ebpg-entry-thumbnail:after { background-color:rgba(0 0 0 / 0.65); border-radius:0px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-header { order:1 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title { text-align:left; font-size:18px; margin-top:15px; margin-right:15px; margin-left:15px; margin-bottom:5px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title a { color:#d18df1; font-size:18px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-entry-title a:hover { color:var(\\u002d\\u002deb-global-link-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-grid-post-excerpt p { color:#ffffff; text-align:left; font-size:15px; margin-top:0px; margin-right:0px; margin-left:15px; margin-bottom:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn { text-align:left; order:10 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn a { color:#3d8fd4; font-size:13px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:10px; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px; border-radius:0px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-readmore-btn a:hover { color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-author-avatar img { border-radius:50px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-on { color:#ffffff; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by a { color:#3d8fd4; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-posted-by a:hover { color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta a { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta a:hover { color:var(\\u002d\\u002deb-global-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-categories-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-categories-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-tags-meta a { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-tags-meta a:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-secondary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-read-time { color:#333333; font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-meta.ebpg-dynamic-values { color:var(\\u002d\\u002deb-global-secondary-color); font-size:13px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px; order:2 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-header-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta { justify-content:left; margin-top:0px; margin-right:15px; margin-left:15px; margin-bottom:15px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-entry-meta-items { justify-content:left }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-author-avatar,.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-footer-meta .ebpg-entry-meta-items \\u003e * { margin-right:10px }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination { text-align:center }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-button-background-color); padding-top:5px; padding-right:10px; padding-left:10px; padding-bottom:5px; margin-top:10px; margin-right:5px; margin-left:5px; margin-bottom:10px; font-size:14px; border-width:1px; border-color:#c3c3c3; border-style:solid; border-radius:4px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button:hover { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .ebpg-pagination button.ebpg-pagination-item.active { color:var(\\u002d\\u002deb-global-button-text-color); background-color:var(\\u002d\\u002deb-global-tertiary-color) }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-category-filter.eb-show-search { background-color:#ffffff; padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search { padding:10px; border-width:1px; border-color:#C9D8EB; border-style:solid; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-category-filter.eb-show-search .eb-post-grid-search-icon,.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search .eb-post-grid-search-icon { width:30px; fill:#949494 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form input { color:#666666; caret-color:#666666 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form input::placeholder { color:#949494 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-form .eb-post-grid-search-loader { stroke:#444b54 }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-result { background-color:#FFFFFF; width:100%; padding-top:30px; padding-right:30px; padding-left:30px; padding-bottom:30px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-not-found { color:#000000; text-align:center }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item { background-color:#ffffff; padding:0px; margin-top:0px; margin-right:0px; margin-left:0px; margin-bottom:20px; border-radius:5px; transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item:hover { background-color:#ffffff }.eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-search-content-item:hover .eb-post-grid-search-item-content h4 { color:#5959E8 }","tab":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }","mobile":".eb-post-grid-wrapper.eb-post-grid-wmqkd .eb-post-grid-posts-wrapper { grid-template-columns:repeat(1,minmax(0, 1fr)) }"},"version":"v2","queryData":{"source":"post","sourceIndex":0,"rest_base":"posts","rest_namespace":"wp/v2","author":"","taxonomies":{},"per_page":"6","offset":"0","orderby":"date","order":"desc","include":"","exclude":"","exclude_current":false},"postTerms":{"category":{"label":"Categories","value":"category"},"post_tag":{"label":"Tags","value":"post_tag"}},"preset":"style-5","thumbnailOverlayColor":"rgba(0 0 0 / 0.45)","thumbnailOverlayHoverColor":"rgba(0 0 0 / 0.65)","titleColor":"#d18df1","showContent":false,"contentColor":"#ffffff","readmoreColor":"#3d8fd4","headerMeta":"[{\\u0022value\\u0022:\\u0022date\\u0022,\\u0022label\\u0022:\\u0022Published Date\\u0022}]","footerMeta":"[]","authorMetaColor":"#3d8fd4","dateMetaColor":"#ffffff","loadMoreOptions":{"enableMorePosts":false,"loadMoreType":"1","loadMoreButtonTxt":"Load More","alignment":"center","prevTxt":"\\u003c","nextTxt":"\\u003e","totalPosts":"8"},"ReadTimeMetaColor":"#333333","enableContents":["title","headerMeta"],"enableThumbnailSort":false,"columnPaddingTop":"0","columnPaddingRight":"0","columnPaddingBottom":"0","columnPaddingLeft":"0","titleMarginTop":"15","titleMarginRight":"15","titleMarginBottom":"5","titleMarginLeft":"15","contentMarginLeft":"15","headerMetaMarginRight":"15","headerMetaMarginBottom":"15","headerMetaMarginLeft":"15","footerMetaMarginRight":"15","footerMetaMarginBottom":"15","footerMetaMarginLeft":"15","thumbnailBDRTop":"0","thumbnailBDRRight":"0","thumbnailBDRBottom":"0","thumbnailBDRLeft":"0","columnBorderShadowborderColor":"#000000","columnBorderShadowhOffset":0,"columnBorderShadowvOffset":0,"columnBorderShadowblur":0,"columnBorderShadowspread":0,"columnBorderShadowshadowColor":"rgba(197,197,197,1)","columnBorderShadowRds_Top":"0","columnBorderShadowRds_Right":"0","columnBorderShadowRds_Bottom":"0","columnBorderShadowRds_Left":"0","filterItmBdrShdwborderColor":"var(\\u002d\\u002deb-global-tertiary-color)","filterItmBdrShdwborderStyle":"solid","commonStyles":{"desktop":".wp-admin .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-post-grid-wmqkd { display:block; opacity:1 }.eb-parent-eb-post-grid-wmqkd { display:block }"}} /--\x3e'},{title:"Retro Layout",templatePreview:!0,preview:"".concat(null===(Ee=EssentialBlocksLocalize)||void 0===Ee?void 0:Ee.image_url,"/templates/post-grid/preset-6.svg"),pro:!0},{title:"Spotlight Layout",templatePreview:!0,preview:"".concat(null===(xe=EssentialBlocksLocalize)||void 0===xe?void 0:xe.image_url,"/templates/post-grid/preset-7.svg"),pro:!0},{title:"Elegant Layout",templatePreview:!0,preview:"".concat(null===(Se=EssentialBlocksLocalize)||void 0===Se?void 0:Se.image_url,"/templates/post-grid/preset-8.svg"),pro:!0}];function Te(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Ne(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Te(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Pe=Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne(Ne({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},version:{type:"string"},queryData:{type:"object"},queryResults:{type:"array"},postTerms:{type:"object",default:{}},preset:{type:"string",default:"style-1"},showThumbnail:{type:"boolean",default:!0},thumbnailOverlayColor:{type:"string",default:"rgba(0 0 0 / 0)"},thumbnailOverlayHoverColor:{type:"string",default:"rgba(0 0 0 / 0.5)"},thumbnailSize:{type:"string"},styleVerticalAlignment:{type:"string",default:"flex-start"},showTitle:{type:"boolean",default:!0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleHoverColor:{type:"string",default:"var(--eb-global-link-color)"},titleColorStyle:{type:"string",default:"normal"},titleLength:{type:"number"},titleTextAlign:{type:"string",default:"left"},titleTag:{type:"string",default:"h2"},showContent:{type:"boolean",default:!0},contentColor:{type:"string",default:"var(--eb-global-text-color)"},contentTextAlign:{type:"string",default:"left"},contentLength:{type:"number",default:20},expansionIndicator:{type:"string",default:"..."},showReadMore:{type:"boolean",default:!1},readmoreText:{type:"string",default:"Read More"},readmoreColor:{type:"string",default:"var(--eb-global-tertiary-color)"},readmoreBGColor:{type:"string"},readmoreTextAlign:{type:"string",default:"left"},readmoreHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},readmoreBGHoverColor:{type:"string"},readmoreColorType:{type:"string",default:"normal"},showMeta:{type:"boolean",default:!0},headerMeta:{type:"string",default:'[{"value":"category","label":"Categories"}]'},footerMeta:{type:"string",default:'[{"value":"avatar","label":"Author Avatar"},{"value":"author","label":"Author Name"},{"value":"date","label":"Published Date"}]'},authorPrefix:{type:"string",default:"by"},datePrefix:{type:"string",default:"on"},headerMetaTextAlign:{type:"string",default:"flex-start"},footerMetaTextAlign:{type:"string",default:"flex-start"},authorMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},authorMetaHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},metaColorType:{type:"string",default:"normal"},commonMetaColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaHoverColor:{type:"string",default:"var(--eb-global-text-color)"},commonMetaBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},commonMetaBgHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},categoryMetaColor:{type:"string",default:"var(--eb-global-button-text-color)"},categoryMetaHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},categoryMetaBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},categoryMetaBgHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},tagMetaColor:{type:"string",default:"var(--eb-global-button-text-color)"},tagMetaHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},tagMetaBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},tagMetaBgHoverColor:{type:"string",default:"var(--eb-global-secondary-color)"},dateMetaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreOptions:{type:"object"},loadMoreColorType:{type:"string",default:"normal"},loadMoreColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreBgColor:{type:"string",default:"var(--eb-global-button-background-color)"},loadMoreHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreHoverBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},loadMoreActiveColor:{type:"string",default:"var(--eb-global-button-text-color)"},loadMoreActiveBgColor:{type:"string",default:"var(--eb-global-tertiary-color)"},ReadTimeMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},dynamicMetaColor:{type:"string",default:"var(--eb-global-secondary-color)"},dynamicMetaBgColor:{type:"string"},showTaxonomyFilter:{type:"boolean",default:!1},selectedTaxonomy:{type:"string"},selectedTaxonomyItems:{type:"string",default:'[{"value":"all","label":"All"}]'},filterColorStyle:{type:"stroing",default:"normal"},filterBgColor:{type:"string",default:"var(--eb-global-background-color)"},filterTextColor:{type:"string",default:"var(--eb-global-primary-color)"},filterActiveBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterActiveTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},filterHoverBgColor:{type:"string",default:"var(--eb-global-primary-color)"},filterHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},showSearch:{type:"boolean",default:!1},enableAjaxSearch:{type:"boolean",default:!1},searchBgColor:{type:"string"},btnColorType:{type:"string",default:"normal"},inputColor:{type:"string",default:"#666666"},placeholderColor:{type:"string",default:"#949494"},textHoverColor:{type:"string"},textFocusColor:{type:"string"},placeholderHoverColor:{type:"string"},iconColor:{type:"string",default:"#949494"},closeIconColor:{type:"string",default:"#dc4444"},loaderColor:{type:"string",default:"#444b54"},searchResultBoxColor:{type:"string",default:"#FFFFFF"},contentColorType:{type:"string",default:"normal"},contentBgColor:{type:"string",default:"#ffffff"},contentHoverBgColor:{type:"string",default:"#ffffff"},contentTitleColor:{type:"string"},contentTitleHoverColor:{type:"string",default:"#5959E8"},contentHoverColor:{type:"string",default:"#b2b9c6"},notFoundColor:{type:"string",default:"#000000"},taxonomyBgColor:{type:"string",default:"#ffffff"},addIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-chevron-right"},iconPosition:{type:"string",default:"left"},contentLists:{type:"array",default:["thumbnail","title","excerpt","button","meta"]},enableContents:{type:"array",default:["thumbnail","title","excerpt","headerMeta","footerMeta"]},enableThumbnailSort:{type:"boolean",default:!0},defaultFilter:{type:"string"},showFallbackImg:{type:"boolean",default:!1},fallbackImgUrl:{type:"string"},fallbackImgId:{type:"string"},fallbackImgAlt:{type:"string"}},(0,me.generateDimensionsAttributes)("searchContentPadding",{top:0,bottom:0,right:0,left:0,isLinked:!0})),(0,me.generateDimensionsAttributes)("searchContentMargin",{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,me.generateBorderShadowAttributes)("searchContentBrd",{defaultBdrStyle:"none",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5},noShadow:!0})),(0,me.generateResponsiveAlignAttributes)("noSearchAlignment",{defaultAlign:"center"})),(0,me.generateBorderShadowAttributes)("searchResultBrd",{defaultBdrStyle:"none",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5},noShadow:!0})),(0,me.generateDimensionsAttributes)("searchResultPadding",{top:30,bottom:30,right:30,left:30,isLinked:!1})),(0,me.generateResponsiveRangeAttributes)("searchResultWidth",{defaultRange:100,defaultUnit:"%"})),(0,me.generateResponsiveRangeAttributes)("inputHeight",{})),(0,me.generateResponsiveRangeAttributes)("iconWidth",{defaultRange:30})),(0,me.generateDimensionsAttributes)("inputPadding",{top:10,bottom:10,right:10,left:10,isLinked:!0})),(0,me.generateDimensionsAttributes)("taxonomyPadding",{top:10,bottom:10,right:10,left:10,isLinked:!0})),(0,me.generateBorderShadowAttributes)("inputBrd",{defaultBdrColor:"#C9D8EB",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,me.generateBorderShadowAttributes)("taxonomyBorder",{defaultBdrColor:"#C9D8EB",defaultBdrStyle:"solid",bdrDefaults:{top:1,bottom:1,right:1,left:1},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,me.generateDimensionsAttributes)(V,{top:5,bottom:5,right:10,left:10,isLinked:!1})),(0,me.generateDimensionsAttributes)(G,{top:10,bottom:10,right:5,left:5,isLinked:!1})),(0,me.generateBorderShadowAttributes)(q,{noShadow:!0,defaultBdrColor:"#c3c3c3",defaultBdrStyle:"solid",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:4,right:4,bottom:4,left:4}})),(0,me.generateBorderShadowAttributes)(L,{noShadow:!0,defaultBdrColor:"#F445FF",defaultBdrStyle:"none",bdrDefaults:{top:1,right:1,bottom:1,left:1},rdsDefaults:{top:0,right:0,bottom:0,left:0}})),(0,me.generateTypographyAttributes)(ce,{fontSize:18})),(0,me.generateTypographyAttributes)(ie,{fontSize:15})),(0,me.generateTypographyAttributes)(se,{fontSize:13})),(0,me.generateTypographyAttributes)(pe,{fontSize:13})),(0,me.generateTypographyAttributes)(be,{fontSize:14})),(0,me.generateTypographyAttributes)(de,{fontSize:16})),(0,me.generateDimensionsAttributes)(w)),(0,me.generateDimensionsAttributes)(k)),(0,me.generateDimensionsAttributes)(x)),(0,me.generateDimensionsAttributes)(I,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(D,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(A,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(M,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(F,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(j,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(O,{top:0,bottom:10,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(W,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,me.generateDimensionsAttributes)(Z,{top:10,bottom:10,right:20,left:20,isLinked:!1})),(0,me.generateDimensionsAttributes)(P)),(0,me.generateDimensionsAttributes)(U,{top:50,bottom:50,right:50,left:50,isLinked:!0})),(0,me.generateBorderShadowAttributes)(R,{})),(0,me.generateBorderShadowAttributes)(T,{})),(0,me.generateBorderShadowAttributes)(J,{})),(0,me.generateBackgroundAttributes)(_,{noOverlay:!0})),(0,me.generateBackgroundAttributes)(B)),(0,me.generateResponsiveRangeAttributes)(C,{defaultRange:3})),(0,me.generateResponsiveRangeAttributes)(E,{defaultRange:10})),(0,me.generateResponsiveRangeAttributes)(H,{defaultRange:10})),(0,me.generateResponsiveRangeAttributes)(z,{defaultRange:10})),(0,me.generateResponsiveRangeAttributes)(N,{defaultRange:250})),(0,me.generateResponsiveRangeAttributes)(S,{defaultRange:40,defaultUnit:"%"})),(0,me.generateResponsiveRangeAttributes)(Y,{defaultRange:10})),{},{cover:{type:"string",default:""}},(0,me.generateResponsiveRangeAttributes)(Q,{noUnits:!0})),(0,me.generateResponsiveRangeAttributes)(X,{defaultRange:8,noUnits:!0}));function Oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const De=(0,s.memo)((0,me.withBlockContext)(Pe)(function(e){var t,a=e.attributes,l=e.setAttributes,i=e.isSelected,g=a.blockId,f=a.preset,y=a.queryData,h=a.loadMoreOptions,v=a.showThumbnail,w=a.thumbnailSize,k=a.showTitle,R=a.titleLength,_=a.titleTag,C=a.showContent,E=a.contentLength,x=a.expansionIndicator,S=a.showReadMore,B=a.readmoreText,T=a.showMeta,N=a.headerMeta,P=a.footerMeta,O=a.authorPrefix,I=a.datePrefix,D=a.showTaxonomyFilter,A=a.selectedTaxonomyItems,M=a.showSearch,L=a.enableAjaxSearch,F=a.classHook,j=a.cover,H=a.addIcon,z=a.iconPosition,U=a.icon,V=a.enableContents,G=a.enableThumbnailSort,q=(a.defaultFilter,a.version),W=a.showBlockContent,Z=a.showFallbackImg,J=a.fallbackImgUrl,Y=a.fallbackImgAlt,Q=(0,b.getSettings)().formats.date,X=(0,s.useState)(""),$=(0,c.A)(X,2),K=$[0],ee=$[1],te=(0,s.useState)(!1),ae=(0,c.A)(te,2),ne=(ae[0],ae[1]),oe=(0,s.useState)(!1),re=(0,c.A)(oe,2),le=re[0],ce=re[1],ie=(0,s.useState)(""),se=(0,c.A)(ie,2),pe=se[0],be=se[1],de=(0,s.useState)(!1),ue=(0,c.A)(de,2),ge=ue[0],ye=ue[1],we=(0,s.useState)(!1),ke=(0,c.A)(we,2),Re=ke[0],_e=ke[1],Ce=(0,s.useState)(!1),Ee=(0,c.A)(Ce,2),xe=Ee[0],Se=Ee[1],Te=function(e){return V.includes(e)},Ne=Ie(Ie({},e),{},{blockPrefix:"eb-post-grid",style:React.createElement(he,(0,r.A)({},e,{isContentEnabled:Te}))});(0,s.useEffect)(function(){setTimeout(function(){Se(!0)},1500),q||l({version:"v2"})},[]),(0,s.useEffect)(function(){!1===["style-1","style-2","style-3"].includes(f)&&l({enableThumbnailSort:!1})},[f]);var Pe=function(e){var t;if(!w)return e.source_url;if(null!=e&&null!==(t=e.media_details)&&void 0!==t&&t.sizes){var a=e.media_details.sizes;return a[w]&&a[w].source_url?a[w].source_url:e.source_url}},Oe=function(e){if(!e)return 0;var t=(e=e.replace(/(<([^>]+)>)/gi,"")).trim().split(/\s+/).length;return Math.ceil(t/200)};return(0,s.useEffect)(function(){if(0==K.length&&ce(!1),!(0,d.isEmpty)(K)){ne(!0),ce(!0);var e=new FormData;e.append("action","post_grid_search_result_content"),e.append("post_grid_search_nonce",EssentialBlocksProLocalize.post_grid_search_nonce),e.append("searchKey",K),e.append("query_data",JSON.stringify(y)),e.append("attributes",JSON.stringify(a)),fetch(EssentialBlocksProLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);t.success&&t.data?(be(t.data),ne(!1),ye(!1)):(ye(!0),ne(!1))}).catch(function(e){return console.log(e)})}},[K,L]),j.length?React.createElement("div",null,React.createElement("img",{src:j,alt:"post grid",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,i&&W&&React.createElement(fe,(0,r.A)({},e,{isContentEnabled:Te,setQueryResults:_e})),W&&!1===xe&&React.createElement(React.Fragment,null,!1===Re&&React.createElement("div",{className:"eb-loading"},React.createElement("img",{src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/ajax-loader.gif"),alt:"Loading..."})),React.createElement(me.CustomQuery,{isEdit:!0,attributes:a,setAttributes:l,setQueryResults:_e})),React.createElement(me.BlockProps.Edit,Ne,React.createElement(me.BrowseTemplate,(0,r.A)({},e,{Icon:ve,title:"Post Grid",description:"Choose a template for the Post Grid or start blank.",patterns:(0,p.applyFilters)("eb_pro_templates_post_grid",Be)})),W&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(g," ").concat(F)},React.createElement("div",{className:"eb-post-grid-wrapper ".concat(g," ").concat(f),"data-id":g},!1!==Re&&React.createElement(React.Fragment,null,!D&&M&&React.createElement(React.Fragment,null,(0,p.applyFilters)("eb_post_grid_pro_search_html","",a,l,K,le,pe,ge,ee)),D&&React.createElement("div",{className:"eb-post-grid-category-filter".concat(M?" eb-show-search":"")},React.createElement("ul",{className:"ebpg-category-filter-list"},JSON.parse(A).length>0&&JSON.parse(A).map(function(e,t){return React.createElement("li",{key:t,className:"ebpg-category-filter-list-item ".concat("all"===e.value?"active":"")},e.label)})),M&&React.createElement(React.Fragment,null,(0,p.applyFilters)("eb_post_grid_pro_search_html","",a,l,K,le,pe,ge,ee)))),"v2"===q&&React.createElement("div",{className:"eb-post-grid-posts-wrapper"},Re&&"object"===(0,o.A)(Re)&&Re.length>0&&Re.map(function(e,t){var a,o,r,c,i,s,d,g,y,h=e.featuredImageInfo,w=void 0===h?{}:h,D=(w.url,w.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),A=R>=0?D.trim().split(" ",R).join(" "):D,M=(0,m.safeHTML)("\n\t\t\t\t\t\t\t\t<".concat(_,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t\t\t<a class="ebpg-grid-post-link" href="#" title="">\n\t\t\t\t\t\t\t\t\t\t').concat(A,"\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t</").concat(_,">\n\t\t\t\t\t\t\t")),L=null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered,F=document.createElement("div");F.innerHTML=L||"",L=F.textContent||F.innerText||"";var j=E>=0?L.trim().split(" ",E).join(" "):L,V=null!=e&&null!==(r=e._embedded)&&void 0!==r&&r.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:"#"},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",q=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(me.DynamicInputValueHandler,{value:I,tagName:"span",onChange:function(e){return l({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,b.format)("c",e.date_gmt)},(0,b.dateI18n)(Q,e.date_gmt))),W=null!=e&&null!==(c=e._embedded)&&void 0!==c&&c.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(me.DynamicInputValueHandler,{value:O,tagName:"span",onChange:function(e){return l({authorPrefix:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",X={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map(function(e){var t={},a="";e.length>0&&e.map(function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}}),X[a]=t});var $={};Object.keys(X).length>0&&Object.keys(X).map(function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(X[e]).length>0&&Object.keys(X[e]).map(function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,'\n\t\t\t\t\t\t\t\t\t\t\t\thref="#"\n\t\t\t\t\t\t\t\t\t\t\t\ttitle=').concat(X[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t").concat(X[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t")}),a+="</div>",$[e]=a});var K=X.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(X.category).map(function(e,t){return React.createElement("a",{key:t,href:"#",title:X.category[e].name},X.category[e].name)})):"",ee=X.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(X.post_tag).map(function(e,t){return React.createElement("a",{key:t,href:"#",title:X.post_tag[e].name},X.post_tag[e].name)})):"",te=Oe(null==e||null===(i=e.content)||void 0===i?void 0:i.rendered),ae={date:q,author:W,categories:K,tags:ee,readtime:React.createElement("span",{className:"ebpg-read-time"},React.createElement("i",{className:"fas fa-clock"}),"".concat(te," ").concat(te>1?"minutes":"minute"," read"))},ne=(0,me.ebJsonStringCheck)(N)?JSON.parse(N).map(function(e){return e.value}):[],oe=T?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},ne.includes("avatar")&&V,React.createElement("div",{className:"ebpg-entry-meta-items"},ne.map(function(e){return ae.hasOwnProperty(e)?ae[e]:$.hasOwnProperty(e)?(0,u.Ay)($[e]):"avatar"!==e?(0,p.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0}))):"",re=(0,me.ebJsonStringCheck)(P)?JSON.parse(P).map(function(e){return e.value}):[],le=T?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},re.includes("avatar")&&V,React.createElement("div",{className:"ebpg-entry-meta-items"},re.map(function(e){return ae.hasOwnProperty(e)?ae[e]:$.hasOwnProperty(e)?(0,u.Ay)($[e]):"avatar"!==e?(0,p.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0}))):"";return React.createElement("article",{className:"ebpg-grid-post ebpg-post-grid-column","data-id":e.id},React.createElement("div",{className:"ebpg-grid-post-holder"},v&&!G&&React.createElement(React.Fragment,null,"style-5"===f&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},v&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-5"!==f&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:Pe(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(s=e.title)||void 0===s?void 0:s.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement(React.Fragment,null,Z&&J&&React.createElement("img",{src:J,alt:"".concat(Y||"No Thumbnail Available")}),(!Z||Z&&void 0===J)&&React.createElement("img",{src:null===(d=EssentialBlocksLocalize)||void 0===d?void 0:d.placeholder_image,alt:"No Thumbnail Available"}))))),React.createElement("div",{className:"ebpg-entry-wrapper"},("style-1"==f||"style-2"==f||"style-3"==f)&&v&&G&&React.createElement(React.Fragment,null,React.createElement("div",{className:"ebpg-entry-media"},React.createElement("div",{className:"ebpg-entry-thumbnail"},React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:Pe(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(g=e.title)||void 0===g?void 0:g.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement(React.Fragment,null,Z&&J&&React.createElement("img",{src:J,alt:"".concat(Y||"No Thumbnail Available")}),(!Z||Z&&void 0===J)&&React.createElement("img",{src:null===(y=EssentialBlocksLocalize)||void 0===y?void 0:y.placeholder_image,alt:"No Thumbnail Available"}))))),k&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:M}}),T&&oe,React.createElement("div",{className:"ebpg-entry-content"},C&&React.createElement("div",{className:"ebpg-grid-post-excerpt"},React.createElement("p",null,j,(0,n.__)(x))),S&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},H&&"left"===z?React.createElement(me.EBDisplayIcon,{icon:U,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(me.DynamicInputValueHandler,{value:B,tagName:"span",onChange:function(e){return l({readmoreText:e})},readOnly:!0,postId:null==e?void 0:e.id}),H&&"right"===z?React.createElement("i",{className:"".concat(U," eb-button-icon eb-button-icon-left hvr-icon")}):""))),T&&le)))})),!q&&Re&&"object"===(0,o.A)(Re)&&Re.length>0&&Re.map(function(e,t){var a,o,r,c,i,s,d,m,g,y=e.featuredImageInfo,h=void 0===y?{}:y,w=(h.url,h.alt,null==e||null===(a=e.title)||void 0===a?void 0:a.rendered),D=R>=0?w.trim().split(" ",R).join(" "):w,A="\n\t\t\t\t\t\t\t\t<".concat(_,' class="ebpg-entry-title">\n\t\t\t\t\t\t\t\t\t<a class="ebpg-grid-post-link" href="#" title="">\n\t\t\t\t\t\t\t\t\t\t').concat(D,"\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t</").concat(_,">\n\t\t\t\t\t\t\t"),M=null==e||null===(o=e.excerpt)||void 0===o?void 0:o.rendered,L=document.createElement("div");L.innerHTML=M||"",M=L.textContent||L.innerText||"";var F=E>=0?M.trim().split(" ",E).join(" "):M,j=null!=e&&null!==(r=e._embedded)&&void 0!==r&&r.author?React.createElement("div",{className:"ebpg-author-avatar"},React.createElement("a",{href:"#"},React.createElement("img",{alt:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,src:function(e){return e.avatar_urls&&e.avatar_urls[96]?e.avatar_urls[96]:"http://1.gravatar.com/avatar/467ceabf70aaa0e555b7dd11c9729241?s=96&d=mm&r=g"}(e._embedded.author[0])}))):"",V=React.createElement("span",{className:"ebpg-posted-on"},React.createElement(me.DynamicInputValueHandler,{value:I,tagName:"span",onChange:function(e){return l({datePrefix:e})},readOnly:!0})," ",React.createElement("time",{dateTime:(0,b.format)("c",e.date_gmt)},(0,b.dateI18n)(Q,e.date_gmt))),q=null!=e&&null!==(c=e._embedded)&&void 0!==c&&c.author?React.createElement("span",{className:"ebpg-posted-by"},React.createElement(me.DynamicInputValueHandler,{value:O,tagName:"span",onChange:function(e){return l({authorPrefix:e})},readOnly:!0})," ",React.createElement("a",{href:"#",title:e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug,rel:"author"},e._embedded.author[0].name?e._embedded.author[0].name:e._embedded.author[0].slug)):"",W={};e._embedded&&e._embedded["wp:term"]&&e._embedded["wp:term"].length>0&&e._embedded["wp:term"].map(function(e){var t={},a="";e.length>0&&e.map(function(e){a=e.taxonomy,t[e.slug]={name:e.name,id:e.id,link:e.link,slug:e.slug}}),W[a]=t});var X={};Object.keys(W).length>0&&Object.keys(W).map(function(e){var t=e;"category"===e?t="categories":"post_tag"===e&&(t="tags");var a='<div className="ebpg-meta ebpg-'.concat(t,'-meta">');Object.keys(W[e]).length>0&&Object.keys(W[e]).map(function(t,n){a+="\n\t\t\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t\t\tkey=".concat(n,'\n\t\t\t\t\t\t\t\t\t\t\t\thref="#"\n\t\t\t\t\t\t\t\t\t\t\t\ttitle=').concat(W[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t").concat(W[e][t].name,"\n\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t")}),a+="</div>",X[e]=a});var $=W.category?React.createElement("div",{className:"ebpg-meta ebpg-categories-meta"},Object.keys(W.category).map(function(e,t){return React.createElement("a",{key:t,href:"#",title:W.category[e].name},W.category[e].name)})):"",K=W.post_tag?React.createElement("div",{className:"ebpg-meta ebpg-tags-meta"},Object.keys(W.post_tag).map(function(e,t){return React.createElement("a",{key:t,href:"#",title:W.post_tag[e].name},W.post_tag[e].name)})):"",ee=Oe(null==e||null===(i=e.content)||void 0===i?void 0:i.rendered),te={date:V,author:q,categories:$,tags:K,readtime:React.createElement("span",{className:"ebpg-read-time"},React.createElement("i",{className:"fas fa-clock"}),"".concat(ee," ").concat(ee>1?"minutes":"minute"," read"))},ae=(0,me.ebJsonStringCheck)(N)?JSON.parse(N).map(function(e){return e.value}):[],ne=T?React.createElement("div",{className:"ebpg-entry-meta ebpg-header-meta"},ae.includes("avatar")&&j,React.createElement("div",{className:"ebpg-entry-meta-items"},ae.map(function(e){return te.hasOwnProperty(e)?te[e]:X.hasOwnProperty(e)?(0,u.Ay)(X[e]):"avatar"!==e?(0,p.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0}))):"",oe=(0,me.ebJsonStringCheck)(P)?JSON.parse(P).map(function(e){return e.value}):[],re=T?React.createElement("div",{className:"ebpg-entry-meta ebpg-footer-meta"},oe.includes("avatar")&&j,React.createElement("div",{className:"ebpg-entry-meta-items"},oe.map(function(e){return te.hasOwnProperty(e)?te[e]:X.hasOwnProperty(e)?(0,u.Ay)(X[e]):"avatar"!==e?(0,p.applyFilters)("essential_blocks_post_grid_dynamic_fields_markup","",e):void 0}))):"";return React.createElement("article",{className:"ebpg-grid-post ebpg-post-grid-column","data-id":e.id},React.createElement("div",{className:"ebpg-grid-post-holder"},v&&!G&&React.createElement(React.Fragment,null,"style-5"===f&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),React.createElement("div",{className:"ebpg-entry-media"},v&&React.createElement("div",{className:"ebpg-entry-thumbnail"},"style-5"!==f&&React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:Pe(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(s=e.title)||void 0===s?void 0:s.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement(React.Fragment,null,Z&&J&&React.createElement("img",{src:J,alt:"".concat(Y||"No Thumbnail Available")}),(!Z||Z&&void 0===J)&&React.createElement("img",{src:null===(d=EssentialBlocksLocalize)||void 0===d?void 0:d.placeholder_image,alt:"No Thumbnail Available"}))))),React.createElement("div",{className:"ebpg-entry-wrapper"},("style-1"==f||"style-2"==f||"style-3"==f)&&v&&G&&React.createElement(React.Fragment,null,React.createElement("div",{className:"ebpg-entry-media"},React.createElement("div",{className:"ebpg-entry-thumbnail"},React.createElement("a",{className:"ebpg-post-link-wrapper",href:"#"}),e._embedded&&e._embedded["wp:featuredmedia"]&&e._embedded["wp:featuredmedia"].length>0&&React.createElement("img",{src:Pe(e._embedded["wp:featuredmedia"][0]),alt:null==e||null===(m=e.title)||void 0===m?void 0:m.alt_text}),e._embedded&&!e._embedded["wp:featuredmedia"]&&React.createElement(React.Fragment,null,Z&&J&&React.createElement("img",{src:J,alt:"".concat(Y||"No Thumbnail Available")}),(!Z||Z&&void 0===J)&&React.createElement("img",{src:null===(g=EssentialBlocksLocalize)||void 0===g?void 0:g.placeholder_image,alt:"No Thumbnail Available"}))))),k&&React.createElement("header",{className:"ebpg-entry-header",dangerouslySetInnerHTML:{__html:A}}),T&&ne,React.createElement("div",{className:"ebpg-entry-content"},C&&React.createElement("div",{className:"ebpg-grid-post-excerpt"},React.createElement("p",null,F,(0,n.__)(x))),S&&React.createElement("div",{className:"ebpg-readmore-btn"},React.createElement("a",{href:"#"},H&&"left"===z?React.createElement("i",{className:"".concat(U," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(me.DynamicInputValueHandler,{value:B,tagName:"span",onChange:function(e){return l({readmoreText:e})},readOnly:!0,postId:null==e?void 0:e.id}),H&&"right"===z?React.createElement("i",{className:"".concat(U," eb-button-icon eb-button-icon-left hvr-icon")}):""))),T&&re)))}),void 0!==Re&&Re.length<1&&React.createElement("p",null,"No Posts Found"),void 0!==Re&&Re.length>0&&void 0!==h&&h.enableMorePosts&&React.createElement("div",{className:"ebpg-pagination ".concat("3"===h.loadMoreType?"prev-next-btn":"")},"1"===h.loadMoreType&&React.createElement("button",{className:"btn ebpg-pagination-button"},h.loadMoreButtonTxt),("2"===h.loadMoreType||"3"===h.loadMoreType)&&React.createElement("div",{className:"btn ebpg-pagination-page",dangerouslySetInnerHTML:{__html:function(e,t){var a=Math.floor(e.totalPosts/t),n="";n+='<button class="ebpg-pagination-item-previous">'.concat(e.prevTxt,"</button>");for(var o=1;o<=a;o++)1===o?n+='<button class="ebpg-pagination-item active">'.concat(o,"</button>"):o<=3?n+='<button class="ebpg-pagination-item">'.concat(o,"</button>"):o===a?(n+='<button class="ebpg-pagination-item-separator">...</button>',n+='<button class="ebpg-pagination-item">'.concat(o,"</button>")):n+="";return n+'<button class="ebpg-pagination-item-next">'.concat(e.nextTxt,"</button>")}(h,y.per_page)}})))))))}));var Ae,Me;function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Le.apply(null,arguments)}const Fe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Post Grid","name":"essential-blocks/post-grid","description":"Create a stunning and interactive visualization for your blogs in a grid layout","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var je;(0,me.ebConditionalRegisterBlockType)(Fe,{keywords:[(0,n.__)("posts","essential-blocks"),(0,n.__)("post grid","essential-blocks"),(0,n.__)("posts block","essential-blocks")],icon:function(e){return i.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),Ae||(Ae=i.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},i.createElement("path",{d:"M57.867 5H2.133C.933 5 0 5.933 0 7.133v46.534c0 1.2.933 2.133 2.133 2.133h55.734c1.2 0 2.133-.933 2.133-2.133v-46.4C60.133 5.933 59 5 57.867 5m.533 48.667c0 .266-.267.533-.533.533H2.133c-.266 0-.533-.267-.533-.533v-46.4c0-.267.267-.534.533-.534h55.734c.266 0 .533.267.533.534z"}),i.createElement("path",{d:"M19 30.067H9A1.863 1.863 0 0 1 7.133 28.2v-10c0-1.067.867-1.867 1.867-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867M8.933 17.8c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333zM35.133 30.067h-10a1.863 1.863 0 0 1-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10C36.2 16.333 37 17.2 37 18.2v10c.067 1-.8 1.867-1.867 1.867m-10-12.267c-.2 0-.333.133-.333.333v10c0 .2.133.334.333.334h10c.2 0 .334-.134.334-.334v-10c0-.2-.134-.333-.334-.333zM51.333 30.067h-10a1.863 1.863 0 0 1-1.866-1.867v-10c0-1.067.866-1.867 1.866-1.867h10c1.067 0 1.867.867 1.867 1.867v10c0 1-.867 1.867-1.867 1.867M41.267 17.8c-.2 0-.334.133-.334.333v10c0 .2.134.334.334.334h10c.2 0 .333-.134.333-.334v-10c0-.2-.133-.333-.333-.333zM19 47.4H9a1.863 1.863 0 0 1-1.867-1.867v-10c0-1.066.867-1.866 1.867-1.866h10c1.067 0 1.867.866 1.867 1.866v10A1.863 1.863 0 0 1 19 47.4M8.933 35.133c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334zM35.133 47.4h-10a1.863 1.863 0 0 1-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10c.067 1.067-.8 1.867-1.867 1.867m-10-12.267c-.2 0-.333.134-.333.334v10c0 .2.133.333.333.333h10c.2 0 .334-.133.334-.333v-10c0-.2-.134-.334-.334-.334zM51.333 47.4h-10a1.863 1.863 0 0 1-1.866-1.867v-10c0-1.066.866-1.866 1.866-1.866h10c1.067 0 1.867.866 1.867 1.866v10a1.863 1.863 0 0 1-1.867 1.867M41.267 35.133c-.2 0-.334.134-.334.334v10c0 .2.134.333.334.333h10c.2 0 .333-.133.333-.333v-10c0-.2-.133-.334-.333-.334z"}))),Me||(Me=i.createElement("defs",null,i.createElement("clipPath",{id:"icon_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h60v60H0z"})))))},attributes:Pe,edit:De,save:function(){return null},example:{attributes:{cover:"".concat(null===(je=EssentialBlocksLocalize)||void 0===je?void 0:je.image_url,"/block-preview/post-grid.jpeg")}}})},6087:e=>{e.exports=window.lodash},6170:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(4715),i=a(7143),s=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],p=[{label:(0,n.__)("Full","essential-blocks"),value:"full"},{label:(0,n.__)("Wide","essential-blocks"),value:"wide"},{label:(0,n.__)("None","essential-blocks"),value:void 0}],b=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],d=[{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],m="wrpWidth",u="wrpHeight",g="wrpBackground",f="wrpBrdShd",y="wrpMargin",h="wrpPadding",v="wrpShapeTop",w="wrpShapeBottom",k=a(5694);function R(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.isWrapperWidth,l=t.useCustomHeight,c=t.contentAlign,i=(0,k.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),s=i.dimensionStylesDesktop,p=i.dimensionStylesTab,b=i.dimensionStylesMobile,d=(0,k.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),R=d.dimensionStylesDesktop,_=d.dimensionStylesTab,C=d.dimensionStylesMobile,E=(0,k.generateBackgroundControlStyles)({attributes:t,controlName:g}),x=E.backgroundStylesDesktop,S=E.hoverBackgroundStylesDesktop,B=E.backgroundStylesTab,T=E.hoverBackgroundStylesTab,N=E.backgroundStylesMobile,P=E.hoverBackgroundStylesMobile,O=E.overlayStylesDesktop,I=E.hoverOverlayStylesDesktop,D=E.overlayStylesTab,A=E.hoverOverlayStylesTab,M=E.overlayStylesMobile,L=E.hoverOverlayStylesMobile,F=E.bgTransitionStyle,j=E.ovlTransitionStyle,H=(0,k.generateBorderShadowStyles)({controlName:f,attributes:t}),z=H.styesDesktop,U=H.styesTab,V=H.styesMobile,G=H.stylesHoverDesktop,q=H.stylesHoverTab,W=H.stylesHoverMobile,Z=H.transitionStyle,J=(0,k.generateResponsiveRangeStyles)({controlName:m,property:"width",attributes:t}),Y=J.rangeStylesDesktop,Q=J.rangeStylesTab,X=J.rangeStylesMobile,$=(0,k.generateResponsiveRangeStyles)({controlName:u,property:"height",attributes:t}),K=$.rangeStylesDesktop,ee=$.rangeStylesTab,te=$.rangeStylesMobile,ae=(0,k.generateShapeDividerStyles)({controlName:v,position:"top",attributes:t}),ne=ae.desktopShapeStyle,oe=ae.tabShapeStyle,re=ae.mobShapeStyle,le=(0,k.generateShapeDividerStyles)({controlName:w,position:"bottom",attributes:t}),ce=le.desktopShapeStyle,ie=le.tabShapeStyle,se=le.mobShapeStyle,pe="\n .eb-parent-".concat(o," {\n ").concat(K,"\n }\n .eb-wrapper-outer.").concat(o," {\n display: flex;\n align-items: ").concat(c,";\n justify-content: center;\n width: 100%;\n box-sizing: border-box;\n ").concat(l&&"height: 100%;","\n }\n\n .eb-wrapper-outer.").concat(o," .eb-wrapper-inner {\n flex: 1;\n }\n "),be="\n .eb-parent-".concat(o," {\n ").concat(ee,"\n }\n "),de="\n .eb-parent-".concat(o," {\n ").concat(te,"\n }\n "),me="\n .eb-parent-".concat(o," {\n position: relative;\n }\n\t\t.eb-wrapper-align-center {\n\t\t\tmargin-right: auto !important;\n\t\t\tmargin-left: auto !important;\n\t\t}\n\n\t\t.eb-wrapper-align-right {\n\t\t\tmargin-left: auto !important;\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," {\n\t\t\t").concat(s,"\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(z,"\n\t\t\t").concat(r?Y:"","\n\t\t\tmax-width: 100%;\n\t\t\ttransition: ").concat(F,", ").concat(Z,";\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":Y,"\n\t\t\tmax-width: 100%;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(S,"\n\t\t\t").concat(G,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(O,"\n\t\t\ttransition: ").concat(j,";\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(I,"\n\t\t}\n ").concat(ne,"\n ").concat(ce,"\n ").concat(l?pe:"","\n\t"),ue="\n\t\t.eb-wrapper-outer.".concat(o," {\n\t\t\t").concat(p,"\n\t\t\t").concat(_,"\n\t\t\t").concat(B,"\n\t\t\t").concat(U,"\n ").concat(r?Q:"","\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":Q,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(T,"\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(D,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(A,"\n\t\t}\n ").concat(oe,"\n ").concat(ie,"\n ").concat(l?be:"","\n\t"),ge="\n\t\t.eb-wrapper-outer.".concat(o," {\n\t\t\t").concat(b,"\n\t\t\t").concat(C,"\n\t\t\t").concat(N,"\n\t\t\t").concat(V,"\n ").concat(r?X:"","\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o," > .eb-wrapper-inner > .eb-wrapper-inner-blocks {\n\t\t\t").concat(r?"":X,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover{\n\t\t\t").concat(P,"\n\t\t\t").concat(W,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":before{\n\t\t\t").concat(M,"\n\t\t}\n\n\t\t.eb-wrapper-outer.").concat(o,":hover:before{\n\t\t\t").concat(L,"\n\t\t}\n ").concat(re,"\n ").concat(se,"\n ").concat(l?de:"","\n\t"),fe=(0,k.softMinifyCssStrings)("\n\t\t".concat(me,"\n\t")),ye=(0,k.softMinifyCssStrings)("\n\t\t".concat(ue,"\n\t")),he=(0,k.softMinifyCssStrings)("\n\t\t".concat(ge,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(k.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:fe,tabAllStyles:ye,mobileAllStyles:he,blockName:n}))}var _=a(6427);const C=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.isWrapperWidth),r=t.shapeDividerPosition,l=t.useCustomHeight,c=t.contentAlign,i=t.align;return React.createElement(k.InspectorPanel,{hideTabs:["styles"],advancedControlProps:{marginPrefix:y,paddingPrefix:h,backgroundPrefix:g,borderPrefix:f,hasMargin:!0}},React.createElement(k.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(k.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(_.BaseControl,{label:(0,n.__)("Wrapper Width","essential-blocks")},React.createElement(_.ButtonGroup,{id:"eb-button-group-alignment"},p.map(function(e,t){return React.createElement(_.Button,{key:t,isPrimary:i===e.value,isSecondary:i!==e.value,onClick:function(){return a({align:e.value})}},e.label)}))),React.createElement(k.ResponsiveRangeController,{baseLabel:(0,n.__)("Content Width","essential-blocks"),controlName:m,min:0,max:2560,step:1,noUnits:!0}),React.createElement(_.ToggleControl,{label:(0,n.__)("Use Width In Wrapper","essential-blocks"),checked:o,onChange:function(){a({isWrapperWidth:!o})}}),React.createElement(_.ToggleControl,{label:(0,n.__)("Use Custom Height","essential-blocks"),checked:l,onChange:function(){a({useCustomHeight:!l})}}),l&&React.createElement(React.Fragment,null,React.createElement(k.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:u,min:0,max:2560,step:1,units:b}),React.createElement(_.SelectControl,{label:(0,n.__)("Content Alignment","essential-blocks"),value:c,options:d,onChange:function(e){return a({contentAlign:e})}}))),React.createElement(k.InspectorPanel.PanelBody,{title:(0,n.__)("Shape Divider","essential-blocks"),initialOpen:!0},React.createElement(_.BaseControl,null,React.createElement(_.ButtonGroup,null,s.map(function(e,t){return React.createElement(_.Button,{key:t,isPrimary:r===e.value,isSecondary:r!==e.value,onClick:function(){return a({shapeDividerPosition:e.value})}},e.label)}))),"top"==r&&React.createElement(k.ShapeDividerControl,{position:"top",controlName:v}),"bottom"==r&&React.createElement(k.ShapeDividerControl,{position:"bottom",controlName:w})))))};function E(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?E(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):E(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const S=x(x(x(x(x(x(x(x(x({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},wrapperAlign:{type:"string",default:"center"},isWrapperWidth:{type:"boolean",default:!1},useCustomHeight:{type:"boolean",default:!1},contentAlign:{type:"string",default:"flex-start"}},(0,k.generateResponsiveRangeAttributes)(m)),(0,k.generateResponsiveRangeAttributes)(u)),(0,k.generateBackgroundAttributes)(g)),(0,k.generateBorderShadowAttributes)(f)),(0,k.generateDimensionsAttributes)(y,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,k.generateDimensionsAttributes)(h,{top:20,right:20,bottom:20,left:20,isLinked:!1})),(0,k.generateShapeDividerAttributes)(v)),(0,k.generateShapeDividerAttributes)(w)),{},{shapeDividerPosition:{type:"string",default:"top"}});function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,l.memo)((0,k.withBlockContext)(S)(function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId),r=a.blockId,s=a.wrapperAlign,p=a.isWrapperWidth,b=a.classHook,d=a.wrpShapeTopInvert,m=a.wrpShapeBottomInvert,u=T(T({},e),{},{blockPrefix:"eb-wrapper",style:React.createElement(R,e)}),g=(0,l.useRef)(null);(0,l.useEffect)(function(){return g.current=!0,function(){g.current=!1}},[]),(0,l.useEffect)(function(){g.current||(n({wrpShapeTopInvert:!1}),n({wrpShapeTopInvert:!1})),g.current=!1},[a["".concat(v,"Type")],a["".concat(w,"Type")]]);var f="center"===s?"eb-wrapper-align-center":"right"===s?"eb-wrapper-align-right":"";return React.createElement(React.Fragment,null,t&&React.createElement(C,e),React.createElement(c.BlockControls,null,React.createElement(c.AlignmentToolbar,{value:s,onChange:function(e){return n({wrapperAlign:e})}})),React.createElement(k.BlockProps.Edit,u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(b)},React.createElement("div",{className:"eb-wrapper-outer ".concat(r).concat(p?" ".concat(f):"")},""!=a["".concat(v,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"top",style:a["".concat(v,"Type")],negative:d}),""!=a["".concat(w,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"bottom",style:a["".concat(w,"Type")],negative:m}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(p?"":" ".concat(f))},React.createElement(c.InnerBlocks,{templateLock:!1,renderAppender:(0,i.select)("core/block-editor").getBlockOrder(o).length>0?void 0:c.InnerBlocks.ButtonBlockAppender})))))))}));function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=[{attributes:O({},S),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r=t.wrpShapeTopInvert,l=t.wrpShapeBottomInvert,i=t.classHook,s="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(s):"")},""!=t["".concat(v,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"top",style:t["".concat(v,"Type")],negative:r}),""!=t["".concat(w,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"bottom",style:t["".concat(w,"Type")],negative:l}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(s))},React.createElement(c.InnerBlocks.Content,null))))))}},{attributes:O({},S),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(r):"")},React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(r))},React.createElement(c.InnerBlocks.Content,null)))))}}],D=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Wrapper","name":"essential-blocks/wrapper","description":"This is a wrapper block for other blocks within it.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"align":["wide","full"],"anchor":true},"editorScript":"essential-blocks-editor-script"}');var A;function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},M.apply(null,arguments)}(0,k.ebConditionalRegisterBlockType)(D,{keywords:[(0,n.__)("wrapper","essential-blocks"),(0,n.__)("eb essential","essential-blocks"),(0,n.__)("container","essential-blocks")],icon:function(e){return r.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 40"},e),A||(A=r.createElement("path",{fill:"#6C3BFF",d:"M2.813 0A2.82 2.82 0 0 0 0 2.813v22.5a2.82 2.82 0 0 0 2.813 2.812h15.985c.483 6.28 5.738 11.25 12.14 11.25 6.4 0 11.656-4.97 12.14-11.25h14.11A2.82 2.82 0 0 0 60 25.312v-22.5A2.82 2.82 0 0 0 57.187 0zm0 1.875h54.374a.94.94 0 0 1 .938.938v22.5a.94.94 0 0 1-.938.937h-14.11c-.457-5.973-5.23-10.745-11.202-11.202V4.688a.937.937 0 1 0-1.875 0v10.36c-5.973.457-10.745 5.23-11.202 11.202H2.813a.94.94 0 0 1-.938-.938v-22.5a.94.94 0 0 1 .938-.937M4.687 3.75a.937.937 0 1 0 0 1.875h1.875a.937.937 0 1 0 0-1.875zm11.25 0a.937.937 0 0 0-.937.938v18.75a.937.937 0 1 0 1.875 0V4.688a.937.937 0 0 0-.938-.938m30 0a.937.937 0 0 0-.937.938v18.75a.937.937 0 1 0 1.875 0V4.688a.937.937 0 0 0-.938-.938M4.688 8.438a.937.937 0 1 0 0 1.874h1.875a.937.937 0 1 0 0-1.874zm0 4.687a.937.937 0 1 0 0 1.875h1.875a.937.937 0 1 0 0-1.875zm26.25 3.75c5.688 0 10.313 4.625 10.313 10.313 0 5.687-4.625 10.312-10.313 10.312-5.687 0-10.312-4.625-10.312-10.313 0-5.687 4.625-10.312 10.313-10.312zm-26.25.938a.937.937 0 1 0 0 1.875h1.875a.937.937 0 1 0 0-1.875zm26.25 2.812a.937.937 0 0 0-.937.938v4.687h-4.688a.937.937 0 1 0 0 1.875H30v4.688a.937.937 0 1 0 1.875 0v-4.688h4.688a.937.937 0 1 0 0-1.875h-4.688v-4.688a.937.937 0 0 0-.938-.937zM4.688 22.5a.937.937 0 1 0 0 1.875h1.875a.937.937 0 1 0 0-1.875z"})))},attributes:S,edit:N,save:function(e){var t=e.attributes,a=t.blockId,n=t.wrapperAlign,o=t.isWrapperWidth,r=t.wrpShapeTopInvert,l=t.wrpShapeBottomInvert,i=t.classHook,s="center"===n?"eb-wrapper-align-center":"right"===n?"eb-wrapper-align-right":"";return React.createElement(k.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("div",{className:"eb-wrapper-outer ".concat(a).concat(o?" ".concat(s):"")},""!=t["".concat(v,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"top",style:t["".concat(v,"Type")],negative:r}),""!=t["".concat(w,"Type")]&&React.createElement(k.ShapeDividerContent,{position:"bottom",style:t["".concat(w,"Type")],negative:l}),React.createElement("div",{className:"eb-wrapper-inner"},React.createElement("div",{className:"eb-wrapper-inner-blocks".concat(o?"":" ".concat(s))},React.createElement(c.InnerBlocks.Content,null))))))},deprecated:I,example:{}})},6363:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(8168),i=a(4467),s=a(8468),p=a(7143),b=a(5694),d=a(6427),m="wrprBg",u="wrpMargin",g="wrpPadding",f="wrpBorderShadow",y="labelMargin",h="fieldBorder",v="fieldPadding",w="iconSize",k=((0,o.__)("Preset 1"),(0,o.__)("Preset 2"),(0,o.__)("Preset 3"),(0,o.__)("Preset 4"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Top"),(0,o.__)("Middle"),(0,o.__)("Bottom"),(0,o.__)("H1","essential-blocks"),(0,o.__)("H2","essential-blocks"),(0,o.__)("H3","essential-blocks"),(0,o.__)("H4","essential-blocks"),(0,o.__)("H5","essential-blocks"),(0,o.__)("H6","essential-blocks"),(0,o.__)("P","essential-blocks"),(0,o.__)("DIV","essential-blocks"),(0,o.__)("SPAN","essential-blocks"),(0,o.__)("Fill"),(0,o.__)("Gradient"),(0,o.__)("Image"),(0,o.__)("Auto"),(0,o.__)("Cover"),(0,o.__)("Contain"),(0,o.__)("None"),(0,o.__)("Dashed"),(0,o.__)("Solid"),(0,o.__)("Dotted"),(0,o.__)("Double"),(0,o.__)("Groove"),(0,o.__)("Inset"),(0,o.__)("Outset"),(0,o.__)("Ridge"),(0,o.__)("Select Hover Effect","essential-blocks"),(0,o.__)("Grow","essential-blocks"),(0,o.__)("Shrink","essential-blocks"),(0,o.__)("Pulse","essential-blocks"),(0,o.__)("Pulse Grow","essential-blocks"),(0,o.__)("Pulse Shrink","essential-blocks"),(0,o.__)("Push","essential-blocks"),(0,o.__)("Pop","essential-blocks"),(0,o.__)("Bounce In","essential-blocks"),(0,o.__)("Bounce Out","essential-blocks"),(0,o.__)("Rotate","essential-blocks"),(0,o.__)("Grow Rotate","essential-blocks"),(0,o.__)("Float","essential-blocks"),(0,o.__)("Sink","essential-blocks"),(0,o.__)("Bob","essential-blocks"),(0,o.__)("Hang","essential-blocks"),(0,o.__)("Skew","essential-blocks"),(0,o.__)("Skew Forward","essential-blocks"),(0,o.__)("Skew Backward","essential-blocks"),(0,o.__)("Wobble Horizontal","essential-blocks"),(0,o.__)("Wobble Vertical","essential-blocks"),(0,o.__)("Wobble To Bottom Right","essential-blocks"),(0,o.__)("Wobble To Top Right","essential-blocks"),(0,o.__)("Wobble Top","essential-blocks"),(0,o.__)("Wobble Bottom","essential-blocks"),(0,o.__)("Wobble Skew","essential-blocks"),(0,o.__)("Buzz","essential-blocks"),(0,o.__)("Buzz Out","essential-blocks"),(0,o.__)("Forward","essential-blocks"),(0,o.__)("Fade","essential-blocks"),(0,o.__)("Back Pulse","essential-blocks"),(0,o.__)("Sweep To Right","essential-blocks"),(0,o.__)("Sweep To Left","essential-blocks"),(0,o.__)("Sweep To Bottom","essential-blocks"),(0,o.__)("Sweep To Top","essential-blocks"),(0,o.__)("Bounce To Right","essential-blocks"),(0,o.__)("Bounce To Left","essential-blocks"),(0,o.__)("Bounce To Bottom","essential-blocks"),(0,o.__)("Bounce To Top","essential-blocks"),(0,o.__)("Radial Out","essential-blocks"),(0,o.__)("Radial In","essential-blocks"),(0,o.__)("Rectangle In","essential-blocks"),(0,o.__)("Rectangle Out","essential-blocks"),(0,o.__)("Shutter In Horizontal","essential-blocks"),(0,o.__)("Shutter Out Horizontal","essential-blocks"),(0,o.__)("Shutter In Vertical","essential-blocks"),(0,o.__)("Shutter Out Vertical","essential-blocks"),(0,o.__)("Curl Top Left","essential-blocks"),(0,o.__)("Curl Top Right","essential-blocks"),(0,o.__)("Curl Bottom Right","essential-blocks"),(0,o.__)("Curl Bottom Left","essential-blocks"),[{label:(0,o.__)("Select Value"),value:""},{label:(0,o.__)("Min/max"),value:"minmax"},{label:(0,o.__)("Length"),value:"length"}]),R="label_",_="validationText_",C="field_";const E=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=t.showLabel,l=t.labelText,c=t.fieldName,i=t.defaultValue,s=t.placeholderText,p=t.isRequired,E=t.validationMessage,x=t.numberValidationMessage,S=t.labelColor,B=t.requiredColor,T=t.fieldColor,N=t.fieldPlaceholderColor,P=t.fieldBgColor,O=t.fieldValidationColor,I=t.fieldValidationBorderColor,D=t.isIcon,A=t.icon,M=t.iconColor,L=t.numberLength,F=t.minNumber,j=t.maxNumber,H=t.numberValidationType,z=t.minNumberValidationMessage,U=t.maxNumberValidationMessage,V=t.numberLengthValidationMessage,G=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:m,borderPrefix:f,hasMargin:!0}},React.createElement(b.InspectorPanel.General,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(d.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(b.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(b.EBTextControl,{label:(0,o.__)("Placeholder Text","essential-blocks"),value:s,onChange:function(e){return a({placeholderText:e})},enableAi:!0}),React.createElement(d.TextControl,{label:(0,o.__)("Min Value","essential-blocks"),value:F,type:"number",onChange:function(e){return a({minNumber:parseInt(e)})}}),React.createElement(d.TextControl,{label:(0,o.__)("Max Value","essential-blocks"),type:"number",value:j,onChange:function(e){return a({maxNumber:parseInt(e)})}}),React.createElement(d.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:p,onChange:function(){return a({isRequired:!p})}}),React.createElement(d.ToggleControl,{label:(0,o.__)("Icon?","essential-blocks"),checked:D,onChange:function(){return a({isIcon:!D})}}),React.createElement(b.EBIconPicker,{value:A,onChange:function(e){return a({icon:e})}})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(b.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},enableAi:!1,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(b.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),p&&React.createElement(b.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:E,onChange:function(e){return a({validationMessage:e})},enableAi:!0}),React.createElement(b.EBTextControl,{label:(0,o.__)("Invalid Number Validation Message","essential-blocks"),value:x,onChange:function(e){return a({numberValidationMessage:e})},enableAi:!0}),React.createElement(d.SelectControl,{label:(0,o.__)("Validation type","essential-blocks"),value:H,options:k,onChange:function(e){return a({numberValidationType:e})}}),"minmax"===H&&React.createElement(React.Fragment,null,React.createElement(b.DynamicInputControl,{label:(0,o.__)("Min number validation Message","essential-blocks"),attrName:"minNumberValidationMessage",inputValue:z,setAttributes:a,onChange:function(e){return a({minNumberValidationMessage:e})}}),React.createElement(b.DynamicInputControl,{label:(0,o.__)("Max number validation Message","essential-blocks"),attrName:"maxNumberValidationMessage",inputValue:U,setAttributes:a,onChange:function(e){return a({maxNumberValidationMessage:e})}})),"length"===H&&React.createElement(React.Fragment,null,React.createElement(b.EBTextControl,{label:(0,o.__)("Max Length","essential-blocks"),type:"number",value:L,onChange:function(e){return a({numberLength:parseInt(e)})},enableAi:!1}),React.createElement(b.DynamicInputControl,{label:(0,o.__)("Number Length validation Message","essential-blocks"),attrName:"numberLengthValidationMessage",inputValue:V,setAttributes:a,onChange:function(e){return a({numberLengthValidationMessage:e})}}))),React.createElement(b.FormConditionalLogics,{clientId:n,parentBlockId:G})),React.createElement(b.InspectorPanel.Style,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:S,attributeName:"labelColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:B,attributeName:"requiredColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:y,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:C}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:T,attributeName:"fieldColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Placeholder Color","essential-blocks"),color:N,attributeName:"fieldPlaceholderColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:P,attributeName:"fieldBgColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:v,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:h})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:_}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:O,attributeName:"fieldValidationColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Fields Border Color","essential-blocks"),color:I,attributeName:"fieldValidationBorderColor"})))),D&&React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:M,attributeName:"iconColor"}),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:w,min:1,max:100,step:1,noUnits:!0}))))))};function x(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),l=t.labelColor,c=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,p=t.fieldBgColor,d=t.fieldValidationColor,k=t.fieldValidationBorderColor,E=t.iconColor,x=t.fieldPaddingLeft,S=t.fieldPaddingUnit,B=t.iconSizeRange,T=t.parentBlockPaddingLeft,N=t.parentBlockPaddingUnit,P=t.parentBlockIconSize,O=t.isIcon,I=t.parentIconColor,D=(0,b.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,b.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),j=F.dimensionStylesDesktop,H=F.dimensionStylesTab,z=F.dimensionStylesMobile,U=(0,b.generateBorderShadowStyles)({controlName:f,attributes:t}),V=U.styesDesktop,G=U.styesTab,q=U.styesMobile,W=U.stylesHoverDesktop,Z=U.stylesHoverTab,J=U.stylesHoverMobile,Y=U.transitionStyle,Q=(0,b.generateBackgroundControlStyles)({attributes:t,controlName:m,noOverlay:!0}),X=Q.backgroundStylesDesktop,$=Q.hoverBackgroundStylesDesktop,K=Q.backgroundStylesTab,ee=Q.hoverBackgroundStylesTab,te=Q.backgroundStylesMobile,ae=Q.hoverBackgroundStylesMobile,ne=Q.bgTransitionStyle,oe=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:R}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,b.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),se=ie.dimensionStylesDesktop,pe=ie.dimensionStylesTab,be=ie.dimensionStylesMobile,de=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:C}),me=de.typoStylesDesktop,ue=de.typoStylesTab,ge=de.typoStylesMobile,fe=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:_}),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,b.generateDimensionsControlStyles)({controlName:v,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ce=(0,b.generateBorderShadowStyles)({controlName:h,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=(Ce.stylesHoverDesktop,Ce.stylesHoverTab,Ce.stylesHoverMobile,Ce.transitionStyle,(0,b.generateResponsiveRangeStyles)({controlName:w,property:"font-size",attributes:t,customUnit:"px"})),Te=Be.rangeStylesDesktop,Ne=(Be.rangeStylesTab,Be.rangeStylesMobile,"\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(X,"\n\t\t\t").concat(V,"\n\t\t\ttransition: ").concat(ne,", ").concat(Y,";\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat($,"\n\t\t\t").concat(W,"\n\t\t}\n\t")),Pe="\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(M,"\n\t\t\t").concat(H,"\n\t\t\t").concat(K,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(Z,"\n\t\t}\n\n\t"),Oe="\n\t\t.eb-number-field-wrapper.".concat(o,"{\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(te,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-number-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t"),Ie="\n .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(re,"\n ").concat(se,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-required{\n color: ").concat(c,";\n }\n\t"),De="\n .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n\t\t\t").concat(le,"\n ").concat(pe,"\n\t\t}\n\t"),Ae="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," > label {\n ").concat(ce,"\n ").concat(be,"\n\t\t}\n\t"),Me="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(p,";\n ").concat(me,"\n ").concat(ke,"\n ").concat(Ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ye,"\n\t\t\tcolor: ").concat(d,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(k,";\n\t\t}\n\t"),Le="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ue,"\n ").concat(Re,"\n ").concat(xe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Fe="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ge,"\n ").concat(_e,"\n ").concat(Se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ve,"\n\t\t}\n\t"),je="\n\t\t.eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-input-icon {\n ").concat(Te,"\n color: ").concat(E||I,";\n\t\t}\n\n ").concat(O?"\n .eb-form-wrapper.".concat(r," .eb-number-field-wrapper.").concat(o," .eb-input-icon {\n left: ").concat(x||T).concat(S,";\n }\n .eb-form-wrapper.").concat(r," .eb-number-field-wrapper.").concat(o," .eb-field-input {\n padding-left: calc(").concat(B||P,"px + (").concat(x||(0==T?8:T)).concat(S||N," * 1.6));\n }"):"","\n\t"),He=(0,b.softMinifyCssStrings)("\n\t\t".concat(Ne,"\n\t\t").concat(Ie,"\n\t\t").concat(Me,"\n\t\t").concat(je,"\n\t")),ze=(0,b.softMinifyCssStrings)("\n\t\t".concat(Pe,"\n\t\t").concat(De,"\n\t\t").concat(Le,"\n\t")),Ue=(0,b.softMinifyCssStrings)("\n\t\t".concat(Oe,"\n\t\t").concat(Ae,"\n\t\t").concat(Fe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(b.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:He,tabAllStyles:ze,mobileAllStyles:Ue,blockName:n}))}function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function B(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}a(6087);const T=B(B(B(B(B(B(B(B(B(B(B({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your number here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},numberValidationMessage:{type:"string",default:"Invalid Number"},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"fas fa-phone"},iconColor:{type:"string"},numberValidationType:{type:"string",default:""},maxNumber:{type:"number",default:""},minNumber:{type:"number",default:""},numberLength:{type:"number"},maxNumberValidationMessage:{type:"string"},minNumberValidationMessage:{type:"string"},numberLengthValidationMessage:{type:"string"}},(0,b.generateTypographyAttributes)(R)),(0,b.generateTypographyAttributes)(_)),(0,b.generateTypographyAttributes)(C)),(0,b.generateDimensionsAttributes)(u)),(0,b.generateDimensionsAttributes)(g)),(0,b.generateBackgroundAttributes)(m)),(0,b.generateBorderShadowAttributes)(f)),(0,b.generateDimensionsAttributes)(v)),(0,b.generateBorderShadowAttributes)(h)),(0,b.generateDimensionsAttributes)(y)),(0,b.generateResponsiveRangeAttributes)(w));function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=(0,s.memo)((0,b.withBlockContext)(T)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,d=t.classHook,m=t.showLabel,u=t.labelText,g=t.fieldName,f=t.defaultValue,y=t.placeholderText,h=t.isRequired,v=t.validationMessage,w=(t.validationRules,t.numberValidationMessage),k=t.isIcon,R=t.icon,_=t.formStyle,C=t.minNumber,S=t.maxNumber,B=t.minNumberValidationMessage,T=t.maxNumberValidationMessage,N=t.numberLengthValidationMessage,O=t.numberValidationType,I=t.numberLength,D=P(P({},e),{},{blockPrefix:"eb-number-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(x,e)});return(0,s.useEffect)(function(){var e,t,n,l,c,i,s,d,m=(0,b.getBlockParentClientId)(o,"essential-blocks/form"),u=(0,p.select)("core/block-editor").getBlock(m),g=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,f=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,y=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.fieldsPaddingLeft,v=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;g&&a({parentBlockId:g,parentBlockPaddingLeft:h,parentBlockPaddingUnit:v,parentBlockIconSize:y,parentIconColor:f});var w=null==u||null===(i=u.attributes)||void 0===i?void 0:i.formStyle;w&&a({formStyle:w});var k=(0,p.select)("core/block-editor").wasBlockJustInserted(o),R=null==u||null===(s=u.attributes)||void 0===s?void 0:s.showLabel,_=null==u||null===(d=u.attributes)||void 0===d?void 0:d.showInputIcon;if(k&&void 0!==R&&void 0!==_&&a({showLabel:R,isIcon:_}),k&&m){var C=(0,p.select)("core/block-editor").getBlocksByClientId(m),E=(0,b.filterBlocksByName)(C,r),x=E.indexOf(o);-1!==x&&(1===E.length?a({fieldName:"number-field"}):a({fieldName:"number-field-".concat(x+1)}))}},[]),(0,s.useEffect)(function(){var e=(0,i.A)({},g,P(P(P({isRequired:{status:h,message:v},isNumber:{message:w}},"minmax"===O&&{isMinNumber:{value:C,message:B}}),"minmax"===O&&{isMaxNumber:{value:S,message:T}}),"length"===O&&I&&{isNumberLength:{value:I,message:N}}));a({validationRules:e})},[h,g,v,O,B,T,N,I]),React.createElement(React.Fragment,null,n&&React.createElement(E,{clientId:o,attributes:t,setAttributes:a}),React.createElement(b.BlockProps.Edit,D,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(d)},React.createElement("div",{className:"".concat(l," eb-number-field-wrapper eb-field-wrapper")},m&&"form-style-modern"!=_&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g},React.createElement(b.DynamicInputValueHandler,{value:u,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",h&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},k&&R&&React.createElement(b.EBDisplayIcon,{icon:R,className:"eb-input-icon"}),React.createElement("input",(0,c.A)({type:"number",id:g,name:g,className:"eb-field-input",value:f,placeholder:y,required:h},void 0!==C?{min:C}:{},void 0!==S?{max:S}:{})),"form-style-modern"==_&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:g},u," ",h&&React.createElement("span",{className:"eb-required"},"*")))),h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(g)},v))))))}));var I=a(4715);function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=[{attributes:A({},T),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle,g=I.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement(b.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("input",{type:"number",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},p)))))}},{attributes:A({},T),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.validationMessage,b=t.isIcon,d=t.icon,m=t.formStyle,u=I.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("input",{type:"number",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},p)))))}}],L=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Number Field","apiVersion":2,"name":"essential-blocks/form-number-field","description":"Form Block Number Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,b.ebConditionalRegisterBlockType)(L,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 48 37"},e),n||(n=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M41.39 0H5.76C2.58 0 0 2.58 0 5.76v24.57c0 3.17 2.58 5.76 5.76 5.76h35.63c3.17 0 5.76-2.58 5.76-5.76V5.76c0-3.17-2.58-5.76-5.76-5.76m3.86 30.33c0 2.13-1.73 3.86-3.86 3.86H5.76c-2.13 0-3.86-1.73-3.86-3.86V5.76c0-2.13 1.73-3.86 3.86-3.86h35.63c2.13 0 3.86 1.73 3.86 3.86z"}),r.createElement("path",{d:"M6.78 13.56v2.09l3.27-2.16v11.3h1.99V11.3h-1.85zm14.07 6.51c.75-.8 1.34-1.5 1.77-2.06.43-.57.74-1.1.92-1.58s.27-.98.27-1.48c0-.71-.18-1.36-.53-1.94s-.85-1.04-1.47-1.38-1.34-.51-2.13-.51-1.52.17-2.15.51c-.64.34-1.15.82-1.52 1.43s-.56 1.32-.56 2.12v.2h1.91v-.2c0-.46.09-.87.28-1.21s.44-.6.78-.79.75-.29 1.22-.29c.44 0 .84.09 1.19.26.34.17.62.4.82.71.2.3.3.67.3 1.09 0 .37-.08.73-.22 1.07-.15.35-.39.72-.71 1.12-.33.41-.74.89-1.24 1.44l-4.37 4.79v1.43h8.66v-1.81h-5.92l2.72-2.91zm12.37-2.27c.49-.23.89-.55 1.21-.98.41-.55.62-1.23.62-2 0-.65-.17-1.27-.49-1.83-.33-.56-.8-1.02-1.41-1.36s-1.34-.51-2.18-.51c-.78 0-1.51.15-2.16.45-.66.3-1.19.73-1.6 1.27q-.615.825-.66 1.92v.21h1.92v-.19c.03-.39.15-.72.37-1 .23-.28.53-.5.9-.65s.78-.23 1.2-.23c.45 0 .84.08 1.16.25q.48.255.75.69c.18.29.27.65.27 1.05s-.1.79-.3 1.09c-.2.31-.49.55-.85.72-.37.17-.8.26-1.29.26h-1.25v1.81h1.25c.63 0 1.17.1 1.6.3.42.19.75.46.96.79.22.33.33.73.33 1.17 0 .42-.11.79-.33 1.1-.23.32-.54.57-.94.75-.41.18-.88.28-1.41.28-.47 0-.91-.08-1.3-.23-.38-.15-.69-.37-.92-.65-.23-.27-.36-.59-.39-.98v-.18h-2.02v.21c.05.72.27 1.37.68 1.92.4.54.96.97 1.65 1.27.68.3 1.47.45 2.33.45s1.67-.17 2.36-.51 1.25-.81 1.65-1.4c.41-.6.61-1.28.61-2.03 0-.88-.25-1.62-.74-2.22-.4-.48-.92-.82-1.57-1.01z"}))))},attributes:T,edit:O,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle,g=t.minNumber,f=t.maxNumber;return React.createElement(b.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-number-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement(b.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("input",{type:"number",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s,min:g,max:f}),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},p)))))},example:{},deprecated:M})},6416:(e,t,a)=>{var n,o,r=a(7723),l=a(1609);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}var i=a(4467),s=a(8468),p=a(4715),b=a(6427),d="titleText",m="counterText",u="prefixText",g=[{label:(0,r.__)("Line","essential-blocks"),value:"line"},{label:(0,r.__)("Line Rainbow","essential-blocks"),value:"line_rainbow"},{label:(0,r.__)("Circle","essential-blocks"),value:"circle"},{label:(0,r.__)("Circle Fill","essential-blocks"),value:"circle_fill"},{label:(0,r.__)("Half Circle","essential-blocks"),value:"half_circle"},{label:(0,r.__)("Half Circle Fill","essential-blocks"),value:"half_circle_fill"},{label:(0,r.__)("Box","essential-blocks"),value:"box"}],f=[{label:(0,r.__)("Percentage","essential-blocks"),value:"percentage"},{label:(0,r.__)("Absolute","essential-blocks"),value:"absolute"}],y={line:"line",line_rainbow:"line",circle:"circle",circle_fill:"circle",half_circle:"circle",half_circle_fill:"circle",box:"box"},h={line:"eb-progressbar-line",line_rainbow:"eb-progressbar-line eb-progressbar-line-rainbow",circle:"eb-progressbar-circle",circle_fill:"eb-progressbar-circle eb-progressbar-circle-fill",half_circle:"eb-progressbar-half-circle",half_circle_fill:"eb-progressbar-half-circle eb-progressbar-half-circle-fill",box:"eb-progressbar-box"},v={none:"eb-progressbar-line-stripe",normal:"eb-progressbar-line-stripe eb-progressbar-line-animate",reverse:"eb-progressbar-line-stripe eb-progressbar-line-animate-rtl"},w=[{label:"px",value:"px"},{label:"%",value:"%"}],k="wrpWidth",R="wrpHeight",_="wrpSize",C="stkWidth",E="boxWidth",x="boxHeight",S="wrpMargin",B="ttlSpace",T=a(5694);function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=P(P(P(P(P(P(P(P(P(P(P({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layout:{type:"string",default:"line"},wrapperAlign:{type:"string",default:"center"},title:{type:"string",default:(0,r.__)("Progress Bar","essential-blocks")},titleTag:{type:"string",default:"div"},progress:{type:"number",default:50},totalRange:{type:"number",default:100},absoluteProgress:{type:"number"},valueDivider:{type:"string",default:"/"},valueType:{type:"string",default:"percentage"},displayProgress:{type:"boolean",default:!0},animationDuration:{type:"number",default:1500},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},counterColor:{type:"string",default:"var(--eb-global-heading-color)"},progressColor:{type:"string",default:"var(--eb-global-primary-color)"},isProgressGradient:{type:"boolean",default:!1},progressGradient:{type:"string"},showInline:{type:"boolean",default:!1},backgroundColor:{type:"string"},showStripe:{type:"boolean",default:!1},stripeAnimation:{type:"string",default:"none"},strokeColor:{type:"string",default:"var(--eb-global-background-color)"},prefix:{type:"string",default:(0,r.__)("Prefix","essential-blocks")},suffix:{type:"string",default:(0,r.__)("Postfix","essential-blocks")},prefixColor:{type:"string",default:"var(--eb-global-text-color)"}},(0,T.generateTypographyAttributes)(d)),(0,T.generateTypographyAttributes)(m)),(0,T.generateTypographyAttributes)(u)),(0,T.generateResponsiveRangeAttributes)(k)),(0,T.generateResponsiveRangeAttributes)(R,{defaultRange:12,noUnits:!0})),(0,T.generateResponsiveRangeAttributes)(_,{defaultRange:200,noUnits:!0})),(0,T.generateResponsiveRangeAttributes)(C,{defaultRange:12,noUnits:!0})),(0,T.generateResponsiveRangeAttributes)(x,{defaultRange:200,noUnits:!0})),(0,T.generateResponsiveRangeAttributes)(E,{defaultRange:140,noUnits:!0})),(0,T.generateDimensionsAttributes)(S,{top:0,right:0,bottom:25,left:0,isLinked:!1})),(0,T.generateDimensionsAttributes)(B,{isLinked:!1})),I=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.layout),o=t.title,l=t.titleTag,c=t.progress,i=t.displayProgress,s=t.animationDuration,p=t.titleColor,y=t.counterColor,h=t.progressColor,v=t.isProgressGradient,N=t.progressGradient,P=t.showInline,O=t.backgroundColor,I=t.showStripe,D=t.stripeAnimation,A=t.strokeColor,M=t.prefix,L=t.suffix,F=t.prefixColor,j=t.totalRange,H=t.valueDivider,z=t.valueType;return React.createElement(React.Fragment,null,React.createElement(T.InspectorPanel,{advancedControlProps:{marginPrefix:S,hasPadding:!1,hasBorder:!1,hasBackground:!1}},React.createElement(T.InspectorPanel.General,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("Layout","essential-blocks"),initialOpen:!0},React.createElement(b.SelectControl,{label:(0,r.__)("Layout","essential-blocks"),value:n,options:g,onChange:function(e){return a({layout:e})}}),("line"===n||"line_rainbow"===n)&&React.createElement(b.ToggleControl,{label:(0,r.__)("Show Inline","essential-blocks"),checked:P,onChange:function(){a({showInline:!P})}}),React.createElement(b.__experimentalDivider,null),React.createElement(T.DynamicInputControl,{label:(0,r.__)("Title","essential-blocks"),attrName:"title",inputValue:o,setAttributes:a,onChange:function(e){return a({title:e})}}),React.createElement(b.SelectControl,{label:(0,r.__)("Title HTML Tag","essential-blocks"),value:l,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"div",value:"div"},{label:"span",value:"span"},{label:"p",value:"p"}],onChange:function(e){return a({titleTag:e})}}),React.createElement(b.__experimentalDivider,null),React.createElement(T.ButtonGroupControl,{label:(0,r.__)("Value Type","essential-blocks"),attrName:"valueType",options:f,currentValue:z}),React.createElement(b.RangeControl,{label:(0,r.__)("Counter Value","essential-blocks"),value:c,onChange:function(e){return a({progress:e})},step:1,min:0,max:100}),"absolute"===z&&React.createElement(React.Fragment,null,React.createElement(b.RangeControl,{label:(0,r.__)("Total Range","essential-blocks"),value:j,onChange:function(e){return a({totalRange:e})},step:1,min:0,max:"percentage"===z?100:1e4}),React.createElement(T.DynamicInputControl,{label:(0,r.__)("Divider","essential-blocks"),attrName:"valueDivider",inputValue:H,setAttributes:a,onChange:function(e){return a({valueDivider:e})}})),React.createElement(b.ToggleControl,{label:(0,r.__)("Show Counter?","progress-bar"),checked:i,onChange:function(){a({displayProgress:!i})}}),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,React.createElement(b.__experimentalDivider,null),React.createElement(b.ToggleControl,{label:(0,r.__)("Show Stripe","essential-blocks"),checked:I,onChange:function(){a({showStripe:!I})}}),I&&React.createElement(b.SelectControl,{label:(0,r.__)("Stripe Animation","essential-blocks"),value:D,options:[{label:"Left To Right",value:"normal"},{label:"Right To Left",value:"reverse"},{label:"Disabled",value:"none"}],onChange:function(e){return a({stripeAnimation:e})}})),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement(b.__experimentalDivider,null),React.createElement(b.TextControl,{label:(0,r.__)("Prefix","essential-blocks"),value:M,onChange:function(e){return a({prefix:e})}}),React.createElement(b.TextControl,{label:(0,r.__)("Suffix","essential-blocks"),value:L,onChange:function(e){return a({suffix:e})}}))),React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("Settings","essential-blocks"),initialOpen:!1},("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Width","essential-blocks"),controlName:k,units:w,min:100,max:1e3,step:1}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Height","essential-blocks"),controlName:R,min:0,max:100,step:1,noUnits:!0})),("circle"===n||"circle_fill"===n||"half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Size","essential-blocks"),controlName:_,min:50,max:500,step:1,noUnits:!0}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Stroke Width","essential-blocks"),controlName:C,min:0,max:100,step:1,noUnits:!0})),"box"===n&&React.createElement(React.Fragment,null,React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Width","essential-blocks"),controlName:E,min:100,max:500,step:1,noUnits:!0}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Height","essential-blocks"),controlName:x,min:100,max:500,step:1,noUnits:!0}),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,r.__)("Stroke Width","essential-blocks"),controlName:C,min:0,max:100,step:1,noUnits:!0})),React.createElement(b.RangeControl,{label:(0,r.__)("Animation Duration","essential-blocks"),value:s,onChange:function(e){return a({animationDuration:e})},step:100,min:1e3,max:1e4}))),React.createElement(T.InspectorPanel.Style,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("General","essential-blocks"),initialOpen:!0},("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,React.createElement(T.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:A,attributeName:"strokeColor"}),"line_rainbow"!==n&&React.createElement(React.Fragment,null,React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Fill Color","essential-blocks"))),React.createElement(b.ToggleControl,{label:(0,r.__)("Show Fill Gradient","essential-blocks"),checked:v,onChange:function(){a({isProgressGradient:!v})}}),v||React.createElement(T.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:h,attributeName:"progressColor"}),v&&React.createElement(T.GradientColorControl,{label:(0,r.__)("Gradient Color","essential-blocks"),gradientColor:N,onChange:function(e){return a({progressGradient:e})}}))),("circle"===n||"circle_fill"===n||"half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement(T.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:O,attributeName:"backgroundColor"}),React.createElement(T.ColorControl,{label:(0,r.__)("Fill Color","essential-blocks"),color:h,attributeName:"progressColor"}),React.createElement(T.ColorControl,{label:(0,r.__)("Stroke Color","essential-blocks"),color:A,attributeName:"strokeColor"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement(T.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:O,attributeName:"backgroundColor"}),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,r.__)("Fill Color","essential-blocks"))),React.createElement(b.ToggleControl,{label:(0,r.__)("Show Fill Gradient","essential-blocks"),checked:v,onChange:function(){a({isProgressGradient:!v})}}),v||React.createElement(T.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:h,attributeName:"progressColor"}),v&&React.createElement(T.GradientColorControl,{label:(0,r.__)("Gradient Color","essential-blocks"),gradientColor:N,onChange:function(e){return a({progressGradient:e})}}),React.createElement(T.ColorControl,{label:(0,r.__)("Stroke Color","essential-blocks"),color:A,attributeName:"strokeColor"}))),React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(T.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:d}),React.createElement(T.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:p,attributeName:"titleColor"}),React.createElement(T.ResponsiveDimensionsControl,{controlName:B,baseLabel:(0,r.__)("Space","essential-blocks")})),React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("Counter","essential-blocks"),initialOpen:!1},React.createElement(T.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:m}),React.createElement(T.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:y,attributeName:"counterColor"})),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,r.__)("Prefix & Suffix","progress-bar"),initialOpen:!1},React.createElement(T.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:u}),React.createElement(T.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:F,attributeName:"prefixColor"}))))))};function D(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.layout),l=t.backgroundColor,c=t.progressColor,i=t.isProgressGradient,s=t.progressGradient,p=t.titleColor,b=t.counterColor,g=t.showInline,f=t.strokeColor,y=t.prefixColor,h=(t.classHook,(0,T.generateDimensionsControlStyles)({controlName:S,styleFor:"margin",attributes:t})),v=h.dimensionStylesDesktop,w=h.dimensionStylesTab,N=h.dimensionStylesMobile,P=(0,T.generateResponsiveRangeStyles)({controlName:k,property:"width",attributes:t}),O=P.rangeStylesDesktop,I=P.rangeStylesTab,D=P.rangeStylesMobile,A=(0,T.generateResponsiveRangeStyles)({controlName:R,property:"height",attributes:t,customUnit:"px"}),M=A.rangeStylesDesktop,L=A.rangeStylesTab,F=A.rangeStylesMobile,j=(0,T.generateResponsiveRangeStyles)({controlName:C,property:"border-width",attributes:t,customUnit:"px"}),H=j.rangeStylesDesktop,z=j.rangeStylesTab,U=j.rangeStylesMobile,V=(0,T.generateResponsiveRangeStyles)({controlName:_,property:"width",attributes:t,customUnit:"px"}),G=V.rangeStylesDesktop,q=V.rangeStylesTab,W=V.rangeStylesMobile,Z=(0,T.generateResponsiveRangeStyles)({controlName:_,property:"height",attributes:t,customUnit:"px"}),J=Z.rangeStylesDesktop,Y=Z.rangeStylesTab,Q=Z.rangeStylesMobile,X=(0,T.generateResponsiveRangeStyles)({controlName:x,property:"height",attributes:t,customUnit:"px"}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=(0,T.generateResponsiveRangeStyles)({controlName:E,property:"width",attributes:t,customUnit:"px"}),ae=te.rangeStylesDesktop,ne=te.rangeStylesTab,oe=te.rangeStylesMobile,re=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:d}),le=re.typoStylesDesktop,ce=re.typoStylesTab,ie=re.typoStylesMobile,se=(0,T.generateDimensionsControlStyles)({controlName:B,styleFor:"margin",attributes:t}),pe=se.dimensionStylesDesktop,be=se.dimensionStylesTab,de=se.dimensionStylesMobile,me=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:m}),ue=me.typoStylesDesktop,ge=me.typoStylesTab,fe=me.typoStylesMobile,ye=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:u}),he=ye.typoStylesDesktop,ve=ye.typoStylesTab,we=ye.typoStylesMobile,ke=q||G,Re=W||G,_e="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(v,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line {\n\t\t\t").concat(M,"\n\t\t\t").concat(f?"background-color: ".concat(f,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(G,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(H.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(H,"\n\t\t\t").concat(c?"border-color: ".concat(c,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-fill .eb-progressbar-circle-half,\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-fill .eb-progressbar-circle-half {\n\t\t\t").concat(c?"background-color: ".concat(c,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(M,"\n\t\t\t").concat("line"===r&&i?s?"background-image: ".concat(s,";"):"":c?"background-color: ".concat(c,";"):"",";\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(O,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(le,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(p?"color: ".concat(p,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(ue,"\n\t\t\t").concat(b?"color: ".concat(b,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(l?"background-color: ".concat(l,";"):"","\n\t\t\t").concat(f?"border-color: ".concat(f,";"):"","\n\t\t\t").concat(H,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(G,"\n\t\t\t").concat(he,"\n\t\t\t").concat(y?"color: ".concat(y,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(G,"\n\t\t\theight: calc(").concat(G.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat($,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(H,"\n\t\t\t").concat(l?"background-color: ".concat(l,";"):"","\n\t\t\t").concat(f?"border-color: ".concat(f,";"):"","\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box-fill {\n\t\t\t").concat(i?s?"background-image: ".concat(s,";"):"":c?"background-color: ".concat(c,";"):"",";\n\t\t}\n \t"),Ce="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(w,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line, .eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(L,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(q,"\n\t\t\t").concat(Y,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(I,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(z.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(ce,"\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(ge,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(q,"\n\t\t\t").concat(ve,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(q,"\n\t\t\theight: calc(").concat(ke.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat(K,"\n\t\t\t").concat(ne,"\n\t\t\t").concat(z,"\n\t\t}\n\t"),Ee="\n\t\t.eb-progressbar-wrapper.".concat(o," {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line, .eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-fill {\n\t\t\t").concat(F,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle {\n\t\t\t").concat(W,"\n\t\t\t").concat(Q,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container {\n\t\t\t").concat(D,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner-content {\n\t\t\tpadding: ").concat(U.replace(/\D/g,""),"px;\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-title {\n\t\t\t").concat(ie,"\n\t\t\t").concat(de,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-count-wrap {\n\t\t\t").concat(fe,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-half {\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-circle-inner {\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle-after {\n\t\t\t").concat(W,"\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-box {\n\t\t\t").concat(ee,"\n\t\t\t").concat(oe,"\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-half-circle {\n\t\t\t").concat(W,"\n\t\t\theight: calc(").concat(Re.replace(/\D/g,"")/2," * 1px);\n\t\t}\n\t"),xe="";g&&(xe="\n\t\t\t.eb-progressbar-wrapper.".concat(o," .eb-progressbar-line-container {\n\t\t\t\tposition: relative;\n\t\t\t}\n\n\t\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container .eb-progressbar-title {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 50%;\n\t\t\t\tleft: 0;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t\tz-index: 9;\n\t\t\t}\n\n\t\t\t.eb-progressbar-wrapper.").concat(o," .eb-progressbar-line-container .eb-progressbar-line .eb-progressbar-count-wrap {\n\t\t\t\tbottom: 50% !important;\n\t\t\t\ttransform: translateY(50%) !important;\n\t\t\t}\n\t\t"));var Se=(0,T.softMinifyCssStrings)("\n\t\t".concat(_e,"\n\t\t").concat(xe,"\n\t")),Be=(0,T.softMinifyCssStrings)("\n\t\t".concat(Ce,"\n\t")),Te=(0,T.softMinifyCssStrings)("\n\t\t".concat(Ee,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(T.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Se,tabAllStyles:Be,mobileAllStyles:Te,blockName:n}))}function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const L=(0,s.memo)((0,T.withBlockContext)(O)(function(e){var t=e.isSelected,a=e.attributes,n=e.setAttributes,o=(0,s.useRef)(null),r=(0,s.useRef)(null),l=(0,s.useRef)(null),c=(0,s.useRef)(null),i=(0,s.useRef)(null),b=(0,s.useRef)(null),d=a.blockId,m=a.layout,u=a.wrapperAlign,g=a.titleTag,f=a.progress,w=a.displayProgress,k=a.animationDuration,R=a.title,_=a.showStripe,C=a.stripeAnimation,E=a.prefix,x=a.suffix,S=a.classHook,B=a.totalRange,N=a.valueDivider,P=a.valueType,O=a.absoluteProgress;(0,s.useEffect)(function(){void 0===B&&n({totalRange:100}),void 0===N&&n({valueDivider:"/"}),void 0===P&&n({valueType:"percentage"})},[]),(0,s.useEffect)(function(){"line"==m||"line_rainbow"===m?c.current.style.width="unset":"box"===m?b.current.style.height="unset":"circle"===m||"circle_fill"===m?(o.current.style.transform="rotate(0deg)",l.current.style.clipPath="",r.current.style.visibility=""):"half_circle"!==m&&"half_circle_fill"!==m||(i.current.style.transform="rotate(0deg)",i.current.style.transition="none");var e="",t=setTimeout(function(){var t=0;if(0==t){t=1;var a=0,n=f;"circle"===m||"circle_fill"===m?n=3.6*f:"half_circle"!==m&&"half_circle_fill"!==m||(n=1.8*f),e=setInterval(function(){"circle"!==m&&"circle_fill"!==m||(a>180?(l.current.style.clipPath="inset(0)",r.current.style.visibility="visible"):(l.current.style.clipPath="",r.current.style.visibility="")),a>=n?(clearInterval(e),t=0):(a++,"line"==m||"line_rainbow"===m?c.current.style.width=a+"%":"box"===m&&(b.current.style.height=a+"%"),"circle"===m||"circle_fill"===m?o.current.style.transform="rotate("+a+"deg)":"half_circle"!==m&&"half_circle_fill"!==m||(i.current.style.transform="rotate("+a+"deg)"))},10)}},500),a=Math.round(f/100*B);return n({absoluteProgress:a}),function(){clearInterval(e),clearTimeout(t)}},[m,f,k,B]),(0,s.useEffect)(function(){"percentage"===P&&n({totalRange:100})},[P]);var A=M(M({},e),{},{blockPrefix:"eb-progressbar",style:React.createElement(D,e)}),L=_?" "+v[C]:"";return React.createElement(React.Fragment,null,t&&React.createElement(I,e),React.createElement(p.BlockControls,null,React.createElement(p.AlignmentToolbar,{value:u,onChange:function(e){return n({wrapperAlign:e})}})),React.createElement(T.BlockProps.Edit,A,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(d," ").concat(S)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(d)},React.createElement("div",{className:"eb-progressbar-".concat(y[m],"-container ").concat(u)},("line"===m||"line_rainbow"===m)&&R&&React.createElement(T.DynamicInputValueHandler,{value:R,tagName:g,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),React.createElement("div",{className:"eb-progressbar ".concat(h[m]).concat(L)},("circle"===m||"circle_fill"===m)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie",ref:l},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half",ref:o}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half",ref:r})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},R&&React.createElement(T.DynamicInputValueHandler,{value:R,tagName:g,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),w&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===P?O:f),"percentage"===P&&React.createElement("span",{className:"postfix"},"%")),"absolute"===P&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},N),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},B)))))),("half_circle"===m||"half_circle_fill"===m)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half",ref:i})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},R&&React.createElement(T.DynamicInputValueHandler,{value:R,tagName:g,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),w&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===P?O:f),"percentage"===P&&React.createElement("span",{className:"postfix"},"%")),"absolute"===P&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},N),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},B)))))),("line"===m||"line_rainbow"===m)&&React.createElement(React.Fragment,null,w&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===P?O:f),"percentage"===P&&React.createElement("span",{className:"postfix"},"%")),"absolute"===P&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},N),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},B)))),React.createElement("span",{className:"eb-progressbar-line-fill",ref:c})),"box"===m&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},R&&React.createElement(T.DynamicInputValueHandler,{value:R,tagName:g,className:"eb-progressbar-title",onChange:function(e){return n({title:e})},readOnly:!0}),w&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===P?O:f),"percentage"===P&&React.createElement("span",{className:"postfix"},"%")),"absolute"===P&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},N),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},B))))),React.createElement("div",{className:"eb-progressbar-box-fill",ref:b}))),("half_circle"===m||"half_circle_fill"===m)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},E),React.createElement("span",{className:"eb-progressbar-postfix-label"},x))))))))}));function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,i.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=[{attributes:j({},(0,lodash.omit)(j({},O),["totalRange","absoluteProgress","valueDivider","valueType"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),l=t.displayProgress,c=t.animationDuration,i=t.title,s=t.showStripe,p=t.stripeAnimation,b=t.prefix,d=t.suffix,m=t.classHook,u=s?" "+v[p]:"";return React.createElement(T.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(y[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(h[n]).concat(u),"data-layout":n,"data-count":r,"data-duration":c},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},b),React.createElement("span",{className:"eb-progressbar-postfix-label"},d)))))))}},{attributes:j({},O),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),l=t.displayProgress,c=t.animationDuration,i=t.title,s=t.showStripe,b=t.stripeAnimation,d=t.prefix,m=t.suffix,u=t.classHook,g=s?" "+v[b]:"";return React.createElement("div",p.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(y[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(h[n]).concat(g),"data-layout":n,"data-count":r,"data-duration":c},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},d),React.createElement("span",{className:"eb-progressbar-postfix-label"},m)))))))}},{attributes:j({},O),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),l=t.displayProgress,c=t.animationDuration,i=t.title,s=t.showStripe,b=t.stripeAnimation,d=t.prefix,m=t.suffix,u=s?" "+v[b]:"";return React.createElement("div",p.useBlockProps.save(),React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(y[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(h[n]).concat(u),"data-layout":n,"data-count":r,"data-duration":c},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%")),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},r),React.createElement("span",{className:"postfix"},"%"))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},d),React.createElement("span",{className:"eb-progressbar-postfix-label"},m))))))}}],z=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Progress Bar","name":"essential-blocks/progress-bar","category":"essential-blocks","description":"Make your website interactive with stunning progress bars.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,T.ebConditionalRegisterBlockType)(z,{icon:function(e){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 58"},e),n||(n=l.createElement("path",{fill:"#6C3BFF",d:"M49.029 30.714H26.57V8.257c0-.686-.428-1.371-1.371-1.371C11.4 6.886.086 18.2.086 32.086S11.4 57.2 25.2 57.2s25.114-11.314 25.114-25.114c-.171-.943-.6-1.372-1.285-1.372M25.2 54.457c-12.429 0-22.457-10.2-22.457-22.457C2.743 20.257 12 10.486 23.57 9.543h.515V32c0 .686.428 1.371 1.371 1.371h22.457v.429C46.714 45.2 37.03 54.457 25.2 54.457"})),o||(o=l.createElement("path",{fill:"#6C3BFF",d:"M50.143 9.2C45.343 3.714 38.57.8 31.37.8 30.686.8 30 1.229 30 2.171v23.743c0 .686.428 1.372 1.371 1.372h23.743c.686 0 1.372-.686 1.372-1.372C56.228 19.571 54 13.743 50.143 9.2M48.086 11c3.171 3.6 5.228 8.4 5.657 13.371v.429H32.486V3.543h.428c5.914.171 11.314 2.914 15.172 7.457"})))},attributes:O,keywords:[(0,r.__)("progress","essential-blocks"),(0,r.__)("bar","essential-blocks"),(0,r.__)("eb essential","essential-blocks")],edit:L,save:function(e){var t=e.attributes,a=t.blockId,n=t.layout,o=t.wrapperAlign,r=(t.titleTag,t.progress),l=t.displayProgress,c=t.animationDuration,i=t.title,s=t.showStripe,p=t.stripeAnimation,b=t.prefix,d=t.suffix,m=t.classHook,u=t.totalRange,g=t.valueDivider,f=t.valueType,w=t.absoluteProgress,k=s?" "+v[p]:"";return React.createElement(T.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-progressbar-wrapper ".concat(a)},React.createElement("div",{className:"eb-progressbar-".concat(y[n],"-container ").concat(o)},("line"===n||"line_rainbow"===n)&&i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),React.createElement("div",{className:"eb-progressbar ".concat(h[n]).concat(k),"data-layout":n,"data-count":r,"data-duration":c,"data-type":f,"data-absolute":w,"data-totalRange":u},("circle"===n||"circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half-left eb-progressbar-circle-half"}),React.createElement("div",{className:"eb-progressbar-circle-half-right eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"}),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},i&&React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===f?w:r),"percentage"===f&&React.createElement("span",{className:"postfix"},"%")),"absolute"===f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},g),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},u)))))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-circle"},React.createElement("div",{className:"eb-progressbar-circle-pie"},React.createElement("div",{className:"eb-progressbar-circle-half"})),React.createElement("div",{className:"eb-progressbar-circle-inner"})),React.createElement("div",{className:"eb-progressbar-circle-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===f?w:r),"percentage"===f&&React.createElement("span",{className:"postfix"},"%")),"absolute"===f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},g),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},u)))))),("line"===n||"line_rainbow"===n)&&React.createElement(React.Fragment,null,l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===f?w:r),"percentage"===f&&React.createElement("span",{className:"postfix"},"%")),"absolute"===f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},g),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},u)))),React.createElement("span",{className:"eb-progressbar-line-fill"})),"box"===n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-box-inner-content"},React.createElement(t.titleTag,{className:"eb-progressbar-title"},i),l&&React.createElement("span",{className:"eb-progressbar-count-wrap"},React.createElement("span",{className:"eb-progress-count-wrap"},React.createElement("span",{className:"eb-progressbar-count"},"absolute"===f?w:r),"percentage"===f&&React.createElement("span",{className:"postfix"},"%")),"absolute"===f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"value-divider"},g),React.createElement("span",{className:"eb-progress-total-range-wrap"},React.createElement("span",{className:"eb-progressbar-count"},u))))),React.createElement("div",{className:"eb-progressbar-box-fill"}))),("half_circle"===n||"half_circle_fill"===n)&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-progressbar-half-circle-after"},React.createElement("span",{className:"eb-progressbar-prefix-label"},b),React.createElement("span",{className:"eb-progressbar-postfix-label"},d)))))))},example:{attributes:{title:"Progress"}},deprecated:H})},6427:e=>{e.exports=window.wp.components},6648:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(8468),i=a(2619),s=a(5694),p=a(6427);function b(e){var t=e.heading,a=e.resRequiredProps,o=e.bgControlName,r=e.dayDgColor,l=e.dayLbColor,c=e.dayBdrColor,i=a.attributes;return React.createElement(React.Fragment,null,React.createElement("h3",{style:{fontSize:"15px",color:"#444",margin:"0 0 10px 0"}},t),React.createElement(p.PanelBody,{title:(0,n.__)("Background","essential-blocks")},React.createElement(s.BackgroundControl,{noTransition:!0,controlName:o,noOverlay:!0,noMainBgi:!0})),React.createElement(s.ColorControl,{label:(0,n.__)("Digit Color","essential-blocks"),color:r,attributeName:"dayDgColor"}),React.createElement(s.ColorControl,{label:(0,n.__)("Label Color","essential-blocks"),color:i[l],attributeName:"dayLbColor"}),"none"!==i.boxsBds_borderStyle&&React.createElement(s.ColorControl,{label:(0,n.__)("Border Color","essential-blocks"),color:i[c],attributeName:"dayBdrColor"}),React.createElement(p.__experimentalDivider,null))}var d="dg_",m="lb_",u="sp_",g="boxsP_",f="wrpMrg_",y="wrpPad_",h="dgPad_",v="lblPad_",w="boxsBg_",k="dayBg_",R="hourBg_",_="minuteBg_",C="secondBg_",E="WrpBg_",x="boxsBds_",S="wrpBdSd_",B="wrpW_",T="boxsSpb_",N="sepTop_",P="sepRight_";function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},preset:{type:"string",default:"default"},flexDirection:{type:"string",default:"row"},contentsAlign:{type:"string",default:"center"},contentsJustify:{type:"string",default:"center"},contentsDirection:{type:"string",default:"column"},showSeparator:{type:"boolean",default:!1},separatorType:{type:"string",default:":"},separatorColor:{type:"string",default:"var(--eb-global-primary-color)"},endTimeStamp:{type:"number"},showDays:{type:"boolean",default:!0},showHours:{type:"boolean",default:!0},showMinutes:{type:"boolean",default:!0},showSeconds:{type:"boolean",default:!0},daysLabel:{type:"string",default:"Days"},hoursLabel:{type:"string",default:"Hours"},minutesLabel:{type:"string",default:"Minutes"},secondsLabel:{type:"string",default:"Seconds"},digitsColor:{type:"string",default:"var(--eb-global-heading-color)"},dayDgColor:{type:"string"},hourDgColor:{type:"string"},minuteDgColor:{type:"string"},secondDgColor:{type:"string"},labelsColor:{type:"string",default:"var(--eb-global-text-color)"},dayLbColor:{type:"string"},hourLbColor:{type:"string"},minuteLbColor:{type:"string"},secondLbColor:{type:"string"},dayBdrColor:{type:"string"},hourBdrColor:{type:"string"},minuteBdrColor:{type:"string"},secondBdrColor:{type:"string"},isEvergreenTimer:{type:"boolean",default:!1},evergreenTimerHours:{type:"string",default:"11"},evergreenTimerMinutes:{type:"string",default:"59"},recurringCountdown:{type:"boolean",default:!1},restartTime:{type:"string",default:"0"},recurringCountdownEnd:{type:"number"}},(0,s.generateTypographyAttributes)(d,{fontSize:40})),(0,s.generateTypographyAttributes)(m,{fontSize:18})),(0,s.generateTypographyAttributes)(u,{fontSize:44})),(0,s.generateResponsiveRangeAttributes)(B,{defaultRange:600})),(0,s.generateResponsiveRangeAttributes)(T,{defaultRange:30})),(0,s.generateResponsiveRangeAttributes)(N,{defaultRange:46,defaultUnit:"%"})),(0,s.generateResponsiveRangeAttributes)(P,{defaultRange:18,defaultUnit:"%"})),(0,s.generateBackgroundAttributes)(E,{defaultBgGradient:"var(--eb-global-background-color)"})),(0,s.generateBackgroundAttributes)(w,{defaultFillColor:"var(--eb-global-background-color)",noOverlay:!0,noMainBgi:!0})),(0,s.generateBackgroundAttributes)(k,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),(0,s.generateBackgroundAttributes)(R,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),(0,s.generateBackgroundAttributes)(_,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),(0,s.generateBackgroundAttributes)(C,{noTransition:!0,noOverlay:!0,noMainBgi:!0})),(0,s.generateBorderShadowAttributes)(S,{})),(0,s.generateBorderShadowAttributes)(x,{rdsDefaults:{top:10,bottom:10,right:10,left:10}})),(0,s.generateDimensionsAttributes)(g,{top:20,bottom:20,isLinked:!1})),(0,s.generateDimensionsAttributes)(f)),(0,s.generateDimensionsAttributes)(y)),(0,s.generateDimensionsAttributes)(h)),(0,s.generateDimensionsAttributes)(v));(0,n.__)("Default","essential-blocks"),(0,n.__)("Preset 1","essential-blocks"),(0,n.__)("Preset 2","essential-blocks"),(0,n.__)("Preset 3","essential-blocks"),(0,n.__)("Preset 4","essential-blocks"),(0,n.__)("Preset 5","essential-blocks"),(0,n.__)("Preset 6","essential-blocks"),(0,n.__)("Preset 7","essential-blocks"),(0,n.__)("Preset 8 (Pro)","essential-blocks"),(0,n.__)("Preset 9 (Pro)","essential-blocks");var A=[{label:(0,n.__)("Dotted","essential-blocks"),value:":"},{label:(0,n.__)("Solid","essential-blocks"),value:"|"}],M=[{label:"Grid View",value:"row"},{label:"List View",value:"column"}],L=[{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(p.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],F=[{label:(0,n.__)("Start","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("End","essential-blocks"),value:"flex-end"},{label:(0,n.__)("Space-Between","essential-blocks"),value:"space-between"},{label:(0,n.__)("Space-around","essential-blocks"),value:"space-around"},{label:(0,n.__)("Space-Evenly","essential-blocks"),value:"space-evenly"}],j=[{label:"Row",value:"row"},{label:"Row-Reverse",value:"row-reverse"},{label:"Column",value:"column"},{label:"Column-Reverse",value:"column-reverse"}];const H=function(e){var t=e.attributes,a=e.setAttributes,o=t.resOption,r=t.endTimeStamp,c=t.showDays,O=t.showHours,I=t.showMinutes,H=t.showSeconds,z=t.daysLabel,U=t.hoursLabel,V=t.minutesLabel,G=t.secondsLabel,q=(t.preset,t.flexDirection),W=t.showSeparator,Z=t.separatorType,J=t.separatorColor,Y=t.contentsAlign,Q=t.contentsDirection,X=t.contentsJustify,$=t.digitsColor,K=t.labelsColor,ee=t.isEvergreenTimer,te=t.evergreenTimerHours,ae=t.evergreenTimerMinutes,ne=t.recurringCountdown,oe=t.restartTime,re=t.recurringCountdownEnd,le=(t.dayDgColor,{setAttributes:a,resOption:o,attributes:t,objAttributes:D});return(0,l.useEffect)(function(){if(!re){var e=new Date;e.setDate(e.getDate()+7),a({recurringCountdownEnd:e.getTime()})}},[]),React.createElement(s.InspectorPanel,{advancedControlProps:{marginPrefix:f,paddingPrefix:y,backgroundPrefix:E,borderPrefix:S,hasMargin:!0}},React.createElement(s.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Countdown Settings","essential-blocks"),initialOpen:!0},React.createElement(p.ToggleControl,{label:(0,n.__)("Evergreen Timer?","essential-blocks"),checked:ee,onChange:function(){return a({isEvergreenTimer:!ee})}}),!ee&&React.createElement(React.Fragment,null,React.createElement("style",null,".customDatePickerStyle .components-datetime__timezone{display:none;}"),React.createElement(p.BaseControl,{label:(0,n.__)("Countdown Due Date","essential-blocks"),className:"customDatePickerStyle"},React.createElement(p.DateTimePicker,{currentDate:r?new Date(r):new Date,onChange:function(e){return function(e){var t=new Date(e).getTime();a({endTimeStamp:t})}(e)},is12Hour:!0}))),ee&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Hours","essential-blocks"),value:te,type:"number",onChange:function(e){return a({evergreenTimerHours:e})}}),React.createElement(p.TextControl,{label:(0,n.__)("Minutes","essential-blocks"),value:ae,type:"text",onChange:function(e){return a({evergreenTimerMinutes:e})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Recurring Countdown","essential-blocks"),checked:ne,onChange:function(){return a({recurringCountdown:!ne})},help:(0,n.__)("Specify how much time it will take to restart the countdown. If you set 0, the countdown will restart immediately.","essential-blocks")}),ne&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Restart After(In Hours)","essential-blocks"),value:oe,type:"text",onChange:function(e){return a({restartTime:e})}}),React.createElement("style",null,".customDatePickerStyle .components-datetime__timezone{display:none;}"),React.createElement(p.BaseControl,{label:(0,n.__)("Recurring Countdown End Date","essential-blocks"),className:"customDatePickerStyle"},React.createElement(p.DateTimePicker,{currentDate:re?new Date(re):recurringDefaultDate,onChange:function(e){return function(e){var t=new Date(e).getTime();a({recurringCountdownEnd:t})}(e)},is12Hour:!0}))))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Content Settings","essential-blocks"),initialOpen:!1},React.createElement(p.ToggleControl,{label:(0,n.__)("Display Days","essential-blocks"),checked:c,onChange:function(){return a({showDays:!c})}}),c&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Custom Label For Days","essential-blocks"),value:z,type:"text",onChange:function(e){return a({daysLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(p.ToggleControl,{label:(0,n.__)("Display Hours","essential-blocks"),checked:O,onChange:function(){return a({showHours:!O})}}),O&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Custom Label For Hours","essential-blocks"),value:U,type:"text",onChange:function(e){return a({hoursLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(p.ToggleControl,{label:(0,n.__)("Display Minutes","essential-blocks"),checked:I,onChange:function(){return a({showMinutes:!I})}}),I&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Custom Label For Minutes","essential-blocks"),value:V,type:"text",onChange:function(e){return a({minutesLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide"))),React.createElement(p.ToggleControl,{label:(0,n.__)("Display Seconds","essential-blocks"),checked:H,onChange:function(){return a({showSeconds:!H})}}),H&&React.createElement(React.Fragment,null,React.createElement(p.TextControl,{label:(0,n.__)("Custom Label For Seconds","essential-blocks"),value:G,type:"text",onChange:function(e){return a({secondsLabel:e})}}),React.createElement("p",{style:{marginTop:"-5px"}},React.createElement("i",null,"Leave blank to hide")))))),React.createElement(s.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Boxes Styles","essential-blocks"),initialOpen:!0},React.createElement(p.BaseControl,{label:(0,n.__)("Layout","essential-blocks")},React.createElement(p.ButtonGroup,null,M.map(function(e,t){var n=e.value,o=e.label;return React.createElement(p.Button,{key:t,isSecondary:q!==n,isPrimary:q===n,onClick:function(){return a({flexDirection:n})}},o)}))),React.createElement(s.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Container Max Width","essential-blocks"),controlName:B,min:100,max:2e3,step:1}),React.createElement(s.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Space Between Boxs","essential-blocks"),controlName:T,min:0,max:200,step:1}),React.createElement(p.BaseControl,{label:(0,n.__)("Contents Direction","essential-blocks")},React.createElement(p.SelectControl,{value:Q,options:j,onChange:function(e){return a({contentsDirection:e})}})),Q.includes("row")&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,n.__)("Contents Justify Position","essential-blocks")},React.createElement(p.SelectControl,{value:X,options:F,onChange:function(e){return a({contentsJustify:e})}}))),React.createElement(p.BaseControl,{label:(0,n.__)("Contents Alignment","essential-blocks")},React.createElement(p.ButtonGroup,null,L.map(function(e,t){var n=e.value,o=e.label;return React.createElement(p.Button,{key:t,isSecondary:Y!==n,isPrimary:Y===n,onClick:function(){return a({contentsAlign:n})}},o)}))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(s.BackgroundControl,{controlName:w,noOverlay:!0,noMainBgi:!0})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Padding","essential-blocks"),initialOpen:!1},React.createElement(s.ResponsiveDimensionsControl,{controlName:g,baseLabel:"Padding"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow"),initialOpen:!1},React.createElement(s.BorderShadowControl,{controlName:x}))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Digits","essential-blocks"),initialOpen:!1},React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:$,attributeName:"digitsColor"}),React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:d}),React.createElement(s.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Padding"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Labels","essential-blocks"),initialOpen:!1},React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:K,attributeName:"labelsColor"}),(0,i.applyFilters)("eb_countdown_label_bg","",t,a),React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:m}),React.createElement(s.ResponsiveDimensionsControl,{controlName:v,baseLabel:"Padding"})),"row"===q&&React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Separator","essential-blocks"),initialOpen:!1},React.createElement(p.ToggleControl,{label:(0,n.__)("Show Separator","essential-blocks"),checked:W,onChange:function(){return a({showSeparator:!W})}}),W&&React.createElement(React.Fragment,null,React.createElement(p.SelectControl,{label:(0,n.__)("Separator Type","essential-blocks"),value:Z,options:A,onChange:function(e){return a({separatorType:e})}}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Position Top","essential-blocks"),controlName:N,min:0,max:900,step:1}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Position Right","essential-blocks"),controlName:P,min:0,max:900,step:1}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:J,attributeName:"separatorColor"}),React.createElement(s.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:u}))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Individual Box Styling","essential-blocks"),initialOpen:!1},c&&React.createElement(b,{resRequiredProps:le,heading:"Days",bgControlName:k,dayDgColor:"dayDgColor",dayLbColor:"dayLbColor",dayBdrColor:"dayBdrColor"}),O&&React.createElement(b,{resRequiredProps:le,heading:"Hours",bgControlName:R,dgColorAttrString:"hourDgColor",lbColorAttrString:"hourLbColor",bdColorAttrString:"hourBdrColor"}),I&&React.createElement(b,{resRequiredProps:le,heading:"Minutes",bgControlName:_,dgColorAttrString:"minuteDgColor",lbColorAttrString:"minuteLbColor",bdColorAttrString:"minuteBdrColor"}),H&&React.createElement(b,{resRequiredProps:le,heading:"Seconds",bgControlName:C,dgColorAttrString:"secondDgColor",lbColorAttrString:"secondLbColor",bdColorAttrString:"secondBdrColor"})))))};function z(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.endTimeStamp,t.showDays),l=t.showHours,c=t.showMinutes,i=t.showSeconds,p=t.showSeparator,b=t.separatorType,O=t.separatorColor,I=void 0===O?"#4c457b":O,D=t.contentsAlign,A=t.contentsDirection,M=t.contentsJustify,L=t.flexDirection,F=t.digitsColor,j=void 0===F?"#fff":F,H=t.dayDgColor,z=t.hourDgColor,U=t.minuteDgColor,V=t.secondDgColor,G=t.labelsColor,q=void 0===G?"#fff":G,W=t.dayLbColor,Z=t.hourLbColor,J=t.minuteLbColor,Y=t.secondLbColor,Q=t.dayBdrColor,X=t.hourBdrColor,$=t.minuteBdrColor,K=t.secondBdrColor,ee=t.boxsBds_borderStyle,te=(t.classHook,(0,s.generateResponsiveRangeStyles)({controlName:B,customUnit:"px",property:"max-width",attributes:t})),ae=te.rangeStylesDesktop,ne=te.rangeStylesTab,oe=te.rangeStylesMobile,re=(0,s.generateResponsiveRangeStyles)({controlName:T,customUnit:"px",property:"row"===L?"margin-left":"margin-top",attributes:t}),le=re.rangeStylesDesktop,ce=re.rangeStylesTab,ie=re.rangeStylesMobile,se=(0,s.generateResponsiveRangeStyles)({controlName:N,property:"top",attributes:t}),pe=se.rangeStylesDesktop,be=se.rangeStylesTab,de=se.rangeStylesMobile,me=(0,s.generateResponsiveRangeStyles)({controlName:P,property:"padding-right",attributes:t}),ue=me.rangeStylesDesktop,ge=me.rangeStylesTab,fe=me.rangeStylesMobile,ye=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:d}),he=ye.typoStylesDesktop,ve=ye.typoStylesTab,we=ye.typoStylesMobile,ke=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:m}),Re=ke.typoStylesDesktop,_e=ke.typoStylesTab,Ce=ke.typoStylesMobile,Ee=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:u}),xe=Ee.typoStylesDesktop,Se=Ee.typoStylesTab,Be=Ee.typoStylesMobile,Te=(0,s.generateBackgroundControlStyles)({attributes:t,controlName:E}),Ne=Te.backgroundStylesDesktop,Pe=Te.hoverBackgroundStylesDesktop,Oe=Te.backgroundStylesTab,Ie=Te.hoverBackgroundStylesTab,De=Te.backgroundStylesMobile,Ae=Te.hoverBackgroundStylesMobile,Me=Te.overlayStylesDesktop,Le=Te.hoverOverlayStylesDesktop,Fe=Te.overlayStylesTab,je=Te.hoverOverlayStylesTab,He=Te.overlayStylesMobile,ze=Te.hoverOverlayStylesMobile,Ue=Te.bgTransitionStyle,Ve=Te.ovlTransitionStyle,Ge=(0,s.generateBackgroundControlStyles)({attributes:t,controlName:w,noOverlay:!0,noMainBgi:!0}),qe=Ge.backgroundStylesDesktop,We=Ge.hoverBackgroundStylesDesktop,Ze=Ge.backgroundStylesTab,Je=Ge.hoverBackgroundStylesTab,Ye=Ge.backgroundStylesMobile,Qe=Ge.hoverBackgroundStylesMobile,Xe=Ge.bgTransitionStyle,$e=r?(0,s.generateBackgroundControlStyles)({noTransition:!0,attributes:t,controlName:k,noOverlay:!0,noMainBgi:!0}):{},Ke=$e.backgroundStylesDesktop,et=void 0===Ke?"":Ke,tt=$e.hoverBackgroundStylesDesktop,at=void 0===tt?"":tt,nt=$e.backgroundStylesTab,ot=void 0===nt?"":nt,rt=$e.hoverBackgroundStylesTab,lt=void 0===rt?"":rt,ct=$e.backgroundStylesMobile,it=void 0===ct?"":ct,st=$e.hoverBackgroundStylesMobile,pt=void 0===st?"":st,bt=l?(0,s.generateBackgroundControlStyles)({noTransition:!0,attributes:t,controlName:R,noOverlay:!0,noMainBgi:!0}):{},dt=bt.backgroundStylesDesktop,mt=void 0===dt?"":dt,ut=bt.hoverBackgroundStylesDesktop,gt=void 0===ut?"":ut,ft=bt.backgroundStylesTab,yt=void 0===ft?"":ft,ht=bt.hoverBackgroundStylesTab,vt=void 0===ht?"":ht,wt=bt.backgroundStylesMobile,kt=void 0===wt?"":wt,Rt=bt.hoverBackgroundStylesMobile,_t=void 0===Rt?"":Rt,Ct=c?(0,s.generateBackgroundControlStyles)({noTransition:!0,attributes:t,controlName:_,noOverlay:!0,noMainBgi:!0}):{},Et=Ct.backgroundStylesDesktop,xt=void 0===Et?"":Et,St=Ct.hoverBackgroundStylesDesktop,Bt=void 0===St?"":St,Tt=Ct.backgroundStylesTab,Nt=void 0===Tt?"":Tt,Pt=Ct.hoverBackgroundStylesTab,Ot=void 0===Pt?"":Pt,It=Ct.backgroundStylesMobile,Dt=void 0===It?"":It,At=Ct.hoverBackgroundStylesMobile,Mt=void 0===At?"":At,Lt=i?(0,s.generateBackgroundControlStyles)({noTransition:!0,attributes:t,controlName:C,noOverlay:!0,noMainBgi:!0}):{},Ft=Lt.backgroundStylesDesktop,jt=void 0===Ft?"":Ft,Ht=Lt.hoverBackgroundStylesDesktop,zt=void 0===Ht?"":Ht,Ut=Lt.backgroundStylesTab,Vt=void 0===Ut?"":Ut,Gt=Lt.hoverBackgroundStylesTab,qt=void 0===Gt?"":Gt,Wt=Lt.backgroundStylesMobile,Zt=void 0===Wt?"":Wt,Jt=Lt.hoverBackgroundStylesMobile,Yt=void 0===Jt?"":Jt,Qt=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:f,styleFor:"margin"}),Xt=Qt.dimensionStylesDesktop,$t=Qt.dimensionStylesTab,Kt=Qt.dimensionStylesMobile,ea=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:y,styleFor:"padding"}),ta=ea.dimensionStylesDesktop,aa=ea.dimensionStylesTab,na=ea.dimensionStylesMobile,oa=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:g,styleFor:"padding"}),ra=oa.dimensionStylesDesktop,la=oa.dimensionStylesTab,ca=oa.dimensionStylesMobile,ia=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:h,styleFor:"padding"}),sa=ia.dimensionStylesDesktop,pa=ia.dimensionStylesTab,ba=ia.dimensionStylesMobile,da=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:v,styleFor:"padding"}),ma=da.dimensionStylesDesktop,ua=da.dimensionStylesTab,ga=da.dimensionStylesMobile,fa=(0,s.generateBorderShadowStyles)({controlName:S,attributes:t}),ya=fa.styesDesktop,ha=fa.styesTab,va=fa.styesMobile,wa=fa.stylesHoverDesktop,ka=fa.stylesHoverTab,Ra=fa.stylesHoverMobile,_a=fa.transitionStyle,Ca=(0,s.generateBorderShadowStyles)({controlName:x,attributes:t}),Ea=Ca.styesDesktop,xa=Ca.styesTab,Sa=Ca.styesMobile,Ba=Ca.stylesHoverDesktop,Ta=Ca.stylesHoverTab,Na=Ca.stylesHoverMobile,Pa=Ca.transitionStyle,Oa="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(ae,"\n\t\t\t").concat(Xt,"\n\t\t\t").concat(ta,"\n\t\t\t").concat(Ne,"\n\t\t\t").concat(ya,"\n\t\t\ttransition: ").concat(Ue,", ").concat(_a,";\n\t\t}\n\n\t\tdiv.").concat(o,".eb-cd-wrapper{\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(Pe,"\n\t\t\t").concat(wa,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(Me,"\n\t\t\ttransition: ").concat(Ve,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(Le,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner {\n\t\t\tflex-direction: ").concat(L,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(qe,"\n\t\t\ttransition: ").concat(Xe,", ").concat(Pa,";\n\t\t\t").concat(ra,"\n\t\t\t").concat(Ea,"\n\t\t\t").concat(A.includes("row")?"justify-content: ".concat(M,";"):" ","\n\t\t\tflex-direction: ").concat(A,";\n\t\t\talign-items: ").concat(D,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(We,"\n\t\t\t").concat(Ba,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat(he,"\n\t\t\t").concat(sa,"\n\t\t\tcolor: ").concat(j,";\n\t\t}\n\n\t\t").concat(p&&"row"===L?"\n\t\t\t.".concat(o,'.eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 90%;\n\t\t\t\tcontent: "').concat(b,'";\n\t\t\t\tcolor: ').concat(I,";\n\t\t\t\t").concat(pe,"\n\t\t\t\t").concat(ue,"\n\t\t\t\t").concat(xe,"\n\t\t\t}\n\n\t\t\tdiv.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:before{\n\t\t\t\tline-height:0;\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(Re,"\n\t\t\t").concat(ma,"\n\t\t\tcolor: ").concat(q,";\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\tmargin: 0;\n\t\t\t").concat(le,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(et,"\n\t\t\t\t").concat("none"!==ee&&Q?"border-color: ".concat(Q,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(at,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-label{\n\t\t\t\t").concat(W?"color: ".concat(W,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-digit{\n\t\t\t\t").concat(H?"color: ".concat(H,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(mt,"\n\t\t\t\t").concat("none"!==ee&&X?"border-color: ".concat(X,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat(gt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-label{\n\t\t\t\t").concat(Z?"color: ".concat(Z,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-digit{\n\t\t\t\t").concat(z?"color: ".concat(z,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(xt,"\n\t\t\t\t").concat("none"!==ee&&$?"border-color: ".concat($,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(Bt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-label{\n\t\t\t\t").concat(J?"color: ".concat(J,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-digit{\n\t\t\t\t").concat(U?"color: ".concat(U,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(jt,"\n\t\t\t\t").concat("none"!==ee&&K?"border-color: ".concat(K,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(zt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-label{\n\t\t\t\t").concat(Y?"color: ".concat(Y,";"):" ","\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-digit{\n\t\t\t\t").concat(V?"color: ".concat(V,";"):" ","\n\t\t\t}\n\t\t\t"):" ","\n\n\t"),Ia="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(ne,"\n\t\t\t").concat($t,"\n\t\t\t").concat(aa,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(ha,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(Ie,"\n\t\t\t").concat(ka,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(Fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(je,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(Ze,"\n\t\t\t").concat(la,"\n\t\t\t").concat(xa,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(Je,"\n\t\t\t").concat(Ta,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat(ve,"\n\t\t\t").concat(pa,"\n\t\t}\n\n\t\t").concat(p&&"row"===L?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\t").concat(Se,"\n\t\t\t\t").concat(be,"\n\t\t\t\t").concat(ge,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(_e,"\n\t\t\t").concat(ua,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\t").concat(ce,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(ot,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(lt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(yt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat(vt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(Nt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(Ot,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(Vt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(qt,"\n\t\t\t}\n\n\t\t\t"):" ","\n\n\t"),Da="\n\t\t.".concat(o,".eb-cd-wrapper{\n\t\t\t").concat(oe,"\n\t\t\t").concat(De,"\n\t\t\t").concat(Kt,"\n\t\t\t").concat(na,"\n\t\t\t").concat(va,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover{\n\t\t\t").concat(Ae,"\n\t\t\t").concat(Ra,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:before{\n\t\t\t").concat(He,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper:hover:before{\n\t\t\t").concat(ze,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box {\n\t\t\t").concat(Ye,"\n\t\t\t").concat(ca,"\n\t\t\t").concat(Sa,"\n\t\t}\n\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box:hover{\n\t\t\t").concat(Qe,"\n\t\t\t").concat(Na,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit {\n\t\t\t").concat(we,"\n\t\t\t").concat(ba,"\n\t\t}\n\n\t\t").concat(p&&"row"===L?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box:before {\n\t\t\t\t").concat(Be,"\n\t\t\t\t").concat(de,"\n\t\t\t\t").concat(fe,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label {\n\t\t\t").concat(Ce,"\n\t\t\t").concat(ga,"\n\t\t}\n\n\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box + .box {\n\t\t\t").concat(ie,"\n\t\t}\n\n\t\t").concat(r?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day{\n\t\t\t\t").concat(it,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-day:hover{\n\t\t\t\t").concat(pt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(l?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour{\n\t\t\t\t").concat(kt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-hour:hover{\n\t\t\t\t").concat(_t,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(c?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute{\n\t\t\t\t").concat(Dt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-minute:hover{\n\t\t\t\t").concat(Mt,"\n\t\t\t}\n\t\t\t"):" ","\n\n\t\t").concat(i?"\n\t\t\t.".concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second{\n\t\t\t\t").concat(Zt,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-cd-wrapper .eb-cd-inner .box.cd-box-second:hover{\n\t\t\t\t").concat(Yt,"\n\t\t\t}\n\n\t\t\t"):" ","\n\n\n\t"),Aa=(0,s.softMinifyCssStrings)("\n\t\t".concat(Oa,"\n\n\n\t")),Ma=(0,s.softMinifyCssStrings)("\n\t\t".concat(Ia,"\n\n\n\t")),La=(0,s.softMinifyCssStrings)("\n\t\t".concat(Da,"\n\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(s.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Aa,tabAllStyles:Ma,mobileAllStyles:La,blockName:n}))}var U,V,G,q,W=[{title:"Ticking Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-z5v9f","blockMeta":{"desktop":".eb-countdown-z5v9f.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-z5v9f.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-z5v9f.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,0.5); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:60px; line-height:1em; color:rgba(16,253,244,1) }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; color:rgba(0,0,0,0.5) }.eb-countdown-z5v9f.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset1","digitsColor":"rgba(16,253,244,1)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1707903455306,"dg_FontSize":60,"dg_LineHeight":1,"boxsBg_backgroundColor":"rgba(255,255,255,0.5)","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-z5v9f { display:block; opacity:1 }.eb-parent-eb-countdown-z5v9f { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-z5v9f "><div class="eb-countdown-z5v9f eb-cd-wrapper preset1"><div class="eb-cd-inner" blockid="eb-countdown-z5v9f" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1707903455306"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Pulse Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-g0ker","blockMeta":{"desktop":".eb-countdown-g0ker.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-g0ker.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-g0ker.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,0.5); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:60px; line-height:1em; color:rgba(16,253,244,1) }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; color:rgba(0,0,0,0.5) }.eb-countdown-g0ker.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset1","digitsColor":"rgba(16,253,244,1)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1710924171725,"dg_FontSize":60,"dg_LineHeight":1,"boxsBg_backgroundColor":"rgba(255,255,255,0.5)","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-g0ker { display:block; opacity:1 }.eb-parent-eb-countdown-g0ker { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-g0ker "><div class="eb-countdown-g0ker eb-cd-wrapper preset1"><div class="eb-cd-inner" blockid="eb-countdown-g0ker" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924171725"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Beat Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-037rg","blockMeta":{"desktop":".eb-countdown-037rg.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-037rg.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-037rg.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(255,255,255,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:12px; padding-bottom:12px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:64px; line-height:1.1em; color:rgba(75,75,75,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:21px; text-transform:uppercase; color:rgba(75,75,75,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-day { border-color:rgba(0,194,232,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour { border-color:rgba(255,107,211,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute { border-color:rgba(153,102,13,1) }.eb-countdown-037rg.eb-cd-wrapper .eb-cd-inner .box.cd-box-second { border-color:rgba(0,91,255,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset2","digitsColor":"rgba(75,75,75,1)","labelsColor":"rgba(75,75,75,1)","dayBdrColor":"rgba(0,194,232,1)","hourBdrColor":"rgba(255,107,211,1)","minuteBdrColor":"rgba(153,102,13,1)","secondBdrColor":"rgba(0,91,255,1)","recurringCountdownEnd":1710924335631,"dg_FontSize":64,"dg_LineHeight":1.1,"lb_FontSize":21,"lb_TextTransform":"uppercase","sepRight_Range":20,"boxsBg_backgroundColor":"rgba(255,255,255,1)","boxsBds_borderStyle":"solid","boxsBds_Bdr_Top":"2","boxsBds_Bdr_Right":"2","boxsBds_Bdr_Bottom":"2","boxsBds_Bdr_Left":"2","boxsP_Top":"12","boxsP_Bottom":"12","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-037rg { display:block; opacity:1 }.eb-parent-eb-countdown-037rg { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-037rg "><div class="eb-countdown-037rg eb-cd-wrapper preset2"><div class="eb-cd-inner" blockid="eb-countdown-037rg" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924335631"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Rhythm Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-x9jie","blockMeta":{"desktop":".eb-countdown-x9jie.eb-cd-wrapper { max-width:600px; background-color:rgba(255,255,255,1); border-radius:10px; box-shadow:rgba(155,155,155,1) 11px 12px 20px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-x9jie.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-x9jie.eb-cd-wrapper:hover { box-shadow:rgba(155,155,155,1) 11px 12px 20px 0px }.eb-countdown-x9jie.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:62px; line-height:1.1em; color:#fff }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box + .box:before { position:absolute; right:90%; content:\\u0022:\\u0022; color:rgba(91,91,91,1); top:46%; padding-right:18%; font-size:44px }div.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box:before { line-height:0 }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:16px; font-weight:500; text-transform:uppercase; color:rgba(77,77,77,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-day span.eb-cd-digit { color:rgba(52,219,213,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour span.eb-cd-digit { color:rgba(138,65,255,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute span.eb-cd-digit { color:rgba(1,206,135,1) }.eb-countdown-x9jie.eb-cd-wrapper .eb-cd-inner .box.cd-box-second span.eb-cd-digit { color:rgba(252,105,125,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset3","showSeparator":true,"separatorColor":"rgba(91,91,91,1)","dayDgColor":"rgba(52,219,213,1)","hourDgColor":"rgba(138,65,255,1)","minuteDgColor":"rgba(1,206,135,1)","secondDgColor":"rgba(252,105,125,1)","labelsColor":"rgba(77,77,77,1)","recurringCountdownEnd":1710924365077,"dg_FontSize":62,"dg_LineHeight":1.1,"lb_FontSize":16,"lb_FontWeight":"500","lb_TextTransform":"uppercase","WrpBg_backgroundColor":"rgba(255,255,255,1)","wrpBdSd_hOffset":11,"wrpBdSd_vOffset":12,"wrpBdSd_blur":20,"wrpBdSd_shadowColor":"rgba(155,155,155,1)","wrpBdSd_Rds_Top":"10","wrpBdSd_Rds_Right":"10","wrpBdSd_Rds_Bottom":"10","wrpBdSd_Rds_Left":"10","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-x9jie { display:block; opacity:1 }.eb-parent-eb-countdown-x9jie { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-x9jie "><div class="eb-countdown-x9jie eb-cd-wrapper preset3"><div class="eb-cd-inner" blockid="eb-countdown-x9jie" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924365077"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Chrono Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-1qf56","blockMeta":{"desktop":".eb-countdown-1qf56.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-1qf56.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-1qf56.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner { flex-direction:column }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:27px; border-radius:10px; justify-content:center; flex-direction:row; align-items:center }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:64px; line-height:1em; color:#fff }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:20px; line-height:0em; font-weight:500; text-transform:uppercase; padding-top:35px; padding-left:10px; color:rgba(238,238,238,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-top:30px }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-day { background-color:rgba(253,121,139,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-hour { background-color:rgba(23,229,157,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-minute { background-color:rgba(124,117,255,1) }.eb-countdown-1qf56.eb-cd-wrapper .eb-cd-inner .box.cd-box-second { background-color:rgba(75,230,224,1) }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset4","flexDirection":"column","contentsDirection":"row","labelsColor":"rgba(238,238,238,1)","recurringCountdownEnd":1710924396842,"dg_FontSize":64,"dg_LineHeight":1,"lb_FontSize":20,"lb_FontWeight":"500","lb_TextTransform":"uppercase","lb_LineHeight":0,"dayBg_backgroundColor":"rgba(253,121,139,1)","hourBg_backgroundColor":"rgba(23,229,157,1)","minuteBg_backgroundColor":"rgba(124,117,255,1)","secondBg_backgroundColor":"rgba(75,230,224,1)","boxsP_Bottom":"27","lblPad_isLinked":false,"lblPad_Top":"35","lblPad_Left":"10","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-1qf56 { display:block; opacity:1 }.eb-parent-eb-countdown-1qf56 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-1qf56 "><div class="eb-countdown-1qf56 eb-cd-wrapper preset4"><div class="eb-cd-inner" blockid="eb-countdown-1qf56" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924396842"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Ultimate Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-nw9fs","blockMeta":{"desktop":".eb-countdown-nw9fs.eb-cd-wrapper { max-width:600px; background-color:rgba(40,70,175,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-nw9fs.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-nw9fs.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:20px; padding-bottom:20px; border-radius:10px; flex-direction:column; align-items:center }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:70px; line-height:1em; color:rgba(255,255,255,0.8) }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box + .box:before { position:absolute; right:90%; content:\\u0022|\\u0022; color:rgba(255,255,255,0.71); top:46%; padding-right:18%; font-size:90px; font-weight:100 }div.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box:before { line-height:0 }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:19px; font-weight:100; text-transform:uppercase; padding-top:5px; color:#fff }.eb-countdown-nw9fs.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }","tab":"","mobile":""},"preset":"preset5","showSeparator":true,"separatorType":"|","separatorColor":"rgba(255,255,255,0.71)","digitsColor":"rgba(255,255,255,0.8)","recurringCountdownEnd":1713930010924,"dg_FontSize":70,"dg_LineHeight":1,"lb_FontSize":19,"lb_FontWeight":"100","lb_TextTransform":"uppercase","sp_FontSize":90,"sp_FontWeight":"100","WrpBg_backgroundColor":"rgba(40,70,175,1)","boxsBg_backgroundColor":"","lblPad_isLinked":false,"lblPad_Top":"5","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-nw9fs { display:block; opacity:1 }.eb-parent-eb-countdown-nw9fs { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-nw9fs "><div class="eb-countdown-nw9fs eb-cd-wrapper preset5"><div class="eb-cd-inner" blockid="eb-countdown-nw9fs" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1713930010924"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Turbo Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-a9zfp","blockMeta":{"desktop":".eb-countdown-a9zfp.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-a9zfp.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-a9zfp.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box { background-color:rgba(107,99,255,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:10px; padding-bottom:10px; border-radius:10px; justify-content:center; flex-direction:row; align-items:flex-end }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:37px; color:#fff }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:12px; line-height:1em; text-transform:uppercase; padding-left:5px; padding-bottom:20px; color:#fff }.eb-countdown-a9zfp.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset6","contentsAlign":"flex-end","contentsDirection":"row","recurringCountdownEnd":1710924440199,"dg_FontSize":37,"lb_FontSize":12,"lb_TextTransform":"uppercase","lb_LineHeight":1,"boxsBg_backgroundColor":"rgba(107,99,255,1)","boxsP_Top":"10","boxsP_Bottom":"10","lblPad_isLinked":false,"lblPad_Bottom":"20","lblPad_Left":"5","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-a9zfp { display:block; opacity:1 }.eb-parent-eb-countdown-a9zfp { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-a9zfp "><div class="eb-countdown-a9zfp eb-cd-wrapper preset6"><div class="eb-cd-inner" blockid="eb-countdown-a9zfp" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924440199"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Radiant Layout",content:'\x3c!-- wp:essential-blocks/countdown {"blockId":"eb-countdown-tb5mf","blockMeta":{"desktop":".eb-countdown-tb5mf.eb-cd-wrapper { max-width:600px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }div.eb-countdown-tb5mf.eb-cd-wrapper { margin-left:auto; margin-right:auto }.eb-countdown-tb5mf.eb-cd-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner { flex-direction:row }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s; padding-top:16px; padding-bottom:16px; border-radius:50%; flex-direction:column; align-items:center }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit { font-size:46px; line-height:1em; color:rgba(0,0,0,0.5) }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-label { font-size:18px; font-weight:600; color:rgba(0,0,0,0.5) }.eb-countdown-tb5mf.eb-cd-wrapper .eb-cd-inner .box + .box { margin:0; margin-left:30px }\\n\\t\\t\\n\\t","tab":"","mobile":""},"preset":"preset7","digitsColor":"rgba(0,0,0,0.5)","labelsColor":"rgba(0,0,0,0.5)","recurringCountdownEnd":1710924504172,"dg_FontSize":46,"dg_LineHeight":1,"lb_FontWeight":"600","sepRight_Range":29,"boxsBds_borderStyle":"solid","boxsBds_Bdr_Top":"10","boxsBds_Bdr_Right":"10","boxsBds_Bdr_Bottom":"10","boxsBds_Bdr_Left":"10","boxsBds_Rds_Unit":"%","boxsBds_Rds_Top":"50","boxsBds_Rds_Right":"50","boxsBds_Rds_Bottom":"50","boxsBds_Rds_Left":"50","boxsP_Top":"16","boxsP_Bottom":"16","commonStyles":{"desktop":".wp-admin .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-countdown-tb5mf { display:block; opacity:1 }.eb-parent-eb-countdown-tb5mf { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-countdown"><div class="eb-parent-wrapper eb-parent-eb-countdown-tb5mf "><div class="eb-countdown-tb5mf eb-cd-wrapper preset7"><div class="eb-cd-inner" blockid="eb-countdown-tb5mf" data-deadline-time="0" data-is-evergreen-time="false" data-evergreen-time-hours="11" data-evergreen-time-minutes="59" data-evergreen-recurring="false" data-evergreen-restart-time="0" data-evergreen-deadline-time="1710924504172"><div class="box cd-box-day"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Days</span></div><div class="box cd-box-hour"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Hours</span></div><div class="box cd-box-minute"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Minutes</span></div><div class="box cd-box-second"><span class="eb-cd-digit">00</span><span class="eb-cd-label">Seconds</span></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/countdown --\x3e'},{title:"Chroma Layout(Pro)",templatePreview:!0,preview:"".concat(null===(U=EssentialBlocksLocalize)||void 0===U?void 0:U.image_url,"/templates/countdown/preset-8.png"),pro:!0},{title:"Prime Layout(Pro)",templatePreview:!0,preview:"".concat(null===(V=EssentialBlocksLocalize)||void 0===V?void 0:V.image_url,"/templates/countdown/preset-9.png"),pro:!0}];function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Z.apply(null,arguments)}var J=function(e){return l.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),G||(G=l.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},l.createElement("path",{d:"M2.486 6.771H.6v1.886h1.886zM6.343 6.771H4.457v1.886h1.886zM10.029 6.771H8.143v1.886h1.886zM34.029 47.314h-12.6c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029h12.6c.6 0 1.028.429 1.028 1.029v31.971c-.086.429-.514.857-1.028.857m-11.572-1.8h10.715v-30H22.457zM55.543 47.314H43.029c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029h12.6c.514 0 .942.429.942 1.029v31.971c-.171.429-.6.857-1.028.857m-11.657-1.8H54.6v-30H43.886zM12.6 47.314H1.029c-.6 0-1.029-.428-1.029-1.028v-31.8c0-.6.429-1.029 1.029-1.029H12.6c.6 0 1.029.429 1.029 1.029v31.971c-.086.429-.515.857-1.029.857m-10.629-1.8h9.686v-30H1.971zM10.543 51.771H1.97v1.886h8.572zM31.972 51.771H23.4v1.886h8.572zM53.4 51.771h-8.571v1.886H53.4z"}),l.createElement("path",{d:"M7.714 29.657H5.83v6.686h1.885zM28.714 24.086H26.83v12.257h1.885zM49.714 24.086H47.83V31.8h1.885z"}))),q||(q=l.createElement("defs",null,l.createElement("clipPath",{id:"icon_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h56.571v60H0z"})))))};function Y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const X=(0,c.memo)((0,s.withBlockContext)(D)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,r=(0,c.useRef)(null),l=(0,c.useRef)(null),p=(0,c.useRef)(null),b=(0,c.useRef)(null),d=(t.resOption,t.blockId),m=(t.blockMeta,t.endTimeStamp),u=t.showDays,g=t.showHours,f=t.showMinutes,y=t.showSeconds,h=t.daysLabel,v=t.hoursLabel,w=t.minutesLabel,k=t.secondsLabel,R=t.preset,_=t.classHook,C=t.isEvergreenTimer,E=t.evergreenTimerHours,x=t.evergreenTimerMinutes,S=t.recurringCountdown,B=t.restartTime,T=t.recurringCountdownEnd,N=t.showBlockContent,P=Q(Q({},e),{},{blockPrefix:"eb-countdown",style:React.createElement(z,e)});return(0,c.useEffect)(function(){var e={current:{textContent:"3e"}},t=r.current?r:e,a=l.current?l:e,n=p.current?p:e,o=b.current?b:e,c=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,l=Date.now(),c=Math.round((e-l)/1e3),i=c%60,s=Math.floor(c/60)%60,p=Math.floor(c/3600)%24,b=Math.floor(c/86400);if(c<0)return clearInterval(r),t.current.textContent="00",a.current.textContent="00",n.current.textContent="00",void(o.current.textContent="00");t.current.textContent=b<10?"0".concat(b):"".concat(b),a.current.textContent=p<10?"0".concat(p):"".concat(p),n.current.textContent=s<10?"0".concat(s):"".concat(s),o.current.textContent=i<10?"0".concat(i):"".concat(i)};if(C){var i=d+"_evergreen_interval",s=d+"_evergreen_time",u=localStorage.getItem(i),g=localStorage.getItem(s),f=3600*parseInt(E||0),y=60*parseInt(x||0),h=parseInt(f+y);if(null!==g&&null!==u&&u==h||(g=Date.now()+1e3*parseInt(h),localStorage.setItem(i,h),localStorage.setItem(s,g)),S){var v=36e5*parseFloat(B);parseInt(g)+v<Date.now()&&(g=Date.now()+1e3*parseInt(h),localStorage.setItem(s,g)),T<g&&(g=T)}c(g||0);var w=setInterval(function(){c(g||0,w)},1e3);return function(){clearInterval(w)}}if(!C){c(m||0);var k=setInterval(function(){c(m||0,k)},1e3);return function(){clearInterval(k)}}},[m,u,g,f,y,C,E,x,S,B,T]),React.createElement(React.Fragment,null,n&&N&&React.createElement(H,{attributes:t,setAttributes:a}),React.createElement(s.BlockProps.Edit,P,React.createElement(s.BrowseTemplate,(0,o.A)({},e,{Icon:J,title:"Countdown",description:"Choose a template for the Countdown or start blank.",patterns:(0,i.applyFilters)("eb_pro_templates_countdown",W)})),N&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(d," ").concat(_)},React.createElement("div",{className:"".concat(d," eb-cd-wrapper ").concat(R)},React.createElement("div",{className:"eb-cd-inner"},u?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{ref:r,className:"eb-cd-digit"},"00"),h?React.createElement("span",{className:"eb-cd-label"},h):null):null,g?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{ref:l,className:"eb-cd-digit"},"00"),v?React.createElement("span",{className:"eb-cd-label"},v):null):null,f?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{ref:p,className:"eb-cd-digit"},"00"),w?React.createElement("span",{className:"eb-cd-label"},w):null):null,y?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{ref:b,className:"eb-cd-digit"},"00"),k?React.createElement("span",{className:"eb-cd-label"},k):null):null))))))})),$={attributes:{endTimeStamp:Date.now()+462878e3}};var K=a(4715),ee=a(6087);function te(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?te(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):te(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ne=[{attributes:ae({},D),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,l=t.showMinutes,c=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,p=t.minutesLabel,b=t.secondsLabel,d=t.classHook,m=t.isEvergreenTimer,u=t.evergreenTimerHours,g=t.evergreenTimerMinutes,f=t.recurringCountdown,y=t.restartTime,h=t.recurringCountdownEnd,v=t.preset;return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper ").concat(v)},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":m||!1,"data-evergreen-time-hours":u||"11","data-evergreen-time-minutes":g||"59","data-evergreen-recurring":f||!1,"data-evergreen-restart-time":y||"0","data-evergreen-deadline-time":"".concat(h||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,l?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null,c?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null))))}},{attributes:ae({},D),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,l=t.showMinutes,c=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,p=t.minutesLabel,b=t.secondsLabel,d=t.classHook,m=t.isEvergreenTimer,u=t.evergreenTimerHours,g=t.evergreenTimerMinutes,f=t.recurringCountdown,y=t.restartTime,h=t.recurringCountdownEnd;return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":m||!1,"data-evergreen-time-hours":u||"11","data-evergreen-time-minutes":g||"59","data-evergreen-recurring":f||!1,"data-evergreen-restart-time":y||"0","data-evergreen-deadline-time":"".concat(h||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,l?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null,c?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null))))}},{attributes:(0,ee.omit)(D,["isEvergreenTimer","evergreenTimerHours","evergreenTimerMinutes","recurringCountdown","restartTime","recurringCountdownEnd"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,l=t.showMinutes,c=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,p=t.minutesLabel,b=t.secondsLabel,d=t.classHook;return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(d)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner","data-deadline-time":"".concat(n||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,l?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null,c?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null))))}},{attributes:ae({},D),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,l=t.showMinutes,c=t.showSeconds,i=t.daysLabel,s=t.hoursLabel,p=t.minutesLabel,b=t.secondsLabel;return React.createElement("div",K.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-cd-wrapper")},React.createElement("div",{className:"eb-cd-inner","data-deadline-time":"".concat(n||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),s?React.createElement("span",{className:"eb-cd-label"},s):null):null,l?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null,c?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null)))}}],oe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Countdown","name":"essential-blocks/countdown","category":"essential-blocks","description":"Highlight upcoming events with countdown timer","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,s.ebConditionalRegisterBlockType)(oe,{icon:J,attributes:D,keywords:[(0,n.__)("countdown","essential-blocks"),(0,n.__)("eb counter","essential-blocks"),(0,n.__)("eb countdown","essential-blocks")],edit:X,save:function(e){var t=e.attributes,a=t.blockId,n=t.endTimeStamp,o=t.showDays,r=t.showHours,l=t.showMinutes,c=t.showSeconds,i=t.daysLabel,p=t.hoursLabel,b=t.minutesLabel,d=t.secondsLabel,m=t.classHook,u=t.isEvergreenTimer,g=t.evergreenTimerHours,f=t.evergreenTimerMinutes,y=t.recurringCountdown,h=t.restartTime,v=t.recurringCountdownEnd,w=t.preset;if(t.showBlockContent)return React.createElement(s.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"".concat(a," eb-cd-wrapper ").concat(w)},React.createElement("div",{className:"eb-cd-inner",blockId:a,"data-deadline-time":"".concat(n||0),"data-is-evergreen-time":u||!1,"data-evergreen-time-hours":g||"11","data-evergreen-time-minutes":f||"59","data-evergreen-recurring":y||!1,"data-evergreen-restart-time":h||"0","data-evergreen-deadline-time":"".concat(v||0)},o?React.createElement("div",{className:"box cd-box-day"},React.createElement("span",{className:"eb-cd-digit"},"00"),i?React.createElement("span",{className:"eb-cd-label"},i):null):null,r?React.createElement("div",{className:"box cd-box-hour"},React.createElement("span",{className:"eb-cd-digit"},"00"),p?React.createElement("span",{className:"eb-cd-label"},p):null):null,l?React.createElement("div",{className:"box cd-box-minute"},React.createElement("span",{className:"eb-cd-digit"},"00"),b?React.createElement("span",{className:"eb-cd-label"},b):null):null,c?React.createElement("div",{className:"box cd-box-second"},React.createElement("span",{className:"eb-cd-digit"},"00"),d?React.createElement("span",{className:"eb-cd-label"},d):null):null))))},example:$,deprecated:ne})},6849:(e,t,a)=>{var n=a(7723),o=a(2284),r=a(9394),l=a(4467),c=a(3453),i=a(1609),s=a(4715),p=a(6427),b=a(3803),d=a(8468),m="wrprBg",u="wrpMargin",g="wrpPadding",f="wrpBorderShadow",y="width",h="height",v="imgBorderShadow",w="captionMargin",k="captionPadding",R="captionWidth",_=((0,n.__)("Top","eb-openverse-block"),(0,n.__)("Middle","eb-openverse-block"),(0,n.__)("Bottom","eb-openverse-block"),(0,n.__)("Top","eb-openverse-block"),(0,n.__)("Bottom","eb-openverse-block"),(0,n.__)("Left","eb-openverse-block"),(0,n.__)("Center","eb-openverse-block"),(0,n.__)("Right","eb-openverse-block"),[{label:(0,n.__)("Left","eb-openverse-block"),value:"left"},{label:(0,n.__)("Center","eb-openverse-block"),value:"center"},{label:(0,n.__)("Right","eb-openverse-block"),value:"right"}]),C=[{label:(0,n.__)("No Effect","eb-openverse-block"),value:"no-effect"},{label:(0,n.__)("Zoom In","eb-openverse-block"),value:"zoom-in"},{label:(0,n.__)("Zoom Out","eb-openverse-block"),value:"zoom-out"},{label:(0,n.__)("Slide","eb-openverse-block"),value:"slide"},{label:(0,n.__)("Blur","eb-openverse-block"),value:"blur"}],E=[{label:"px",value:"px"},{label:"%",value:"%"}],x=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],S=[{label:(0,n.__)("Rounded","eb-openverse-block"),value:"rounded"},{label:(0,n.__)("Square","eb-openverse-block"),value:"square"},{label:(0,n.__)("Circle","eb-openverse-block"),value:"circle"},{label:(0,n.__)("Octagon","eb-openverse-block"),value:"octagon"},{label:(0,n.__)("Rhombus","eb-openverse-block"),value:"rhombus"},{label:(0,n.__)("Triangle","eb-openverse-block"),value:"triangle"}],B=[{label:(0,n.__)("Style 1","eb-openverse-block"),value:"attribution-style-1"},{label:(0,n.__)("Style 2","eb-openverse-block"),value:"attribution-style-2"}],T=[{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M15 0C6.716 0 0 6.716 0 15c0 8.283 6.716 15 15 15 8.284 0 15-6.717 15-15 0-8.284-6.716-15-15-15zm0 27.187C8.28 27.187 2.812 21.72 2.812 15c0-1.407.243-2.758.683-4.015l4.767 2.122a10.081 10.081 0 00-.198 1.991c0 5.988 4.47 7.675 7.282 7.675a7.314 7.314 0 004.217-1.32c.214-.153.407-.307.585-.464l-2.187-2.657a2.496 2.496 0 01-.2.206c-.85.806-1.785.806-1.994.806-2.288 0-3.246-2.414-3.258-4.348l13.137 5.85c.015.002.028.002.041.005-2.073 3.774-6.086 6.336-10.687 6.336zm11.745-9.073l-13.55-6.048c.489-.885 1.267-1.55 2.431-1.55.675 0 1.21.223 1.632.506.175.126.327.252.456.38l2.442-2.514c-1.64-1.41-3.505-1.663-4.725-1.663-2.866 0-4.895 1.24-6.09 3.121L4.81 8.326C6.99 5.007 10.743 2.811 15 2.811c6.72 0 12.188 5.467 12.188 12.188 0 1.088-.145 2.14-.414 3.145-.011-.01-.018-.02-.03-.03z"})))],label:(0,n.__)("Public Domain Mark","eb-openverse-block"),value:"pdm"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M4.443 4.36C7.3 1.447 10.807 0 14.97 0c4.196 0 7.777 1.462 10.725 4.39a14.365 14.365 0 013.214 4.843C29.639 11.037 30 12.964 30 15c0 2.055-.36 3.984-1.093 5.788-.714 1.785-1.781 3.362-3.193 4.737a15.399 15.399 0 01-4.978 3.32A14.972 14.972 0 0114.969 30c-1.983 0-3.883-.374-5.705-1.125-1.804-.767-3.428-1.869-4.874-3.298-1.428-1.446-2.516-3.069-3.266-4.873A14.701 14.701 0 010 15c0-1.982.374-3.882 1.124-5.704a15.224 15.224 0 013.32-4.937zM23.73 6.312C21.319 3.903 18.424 2.7 15.03 2.7c-3.429 0-6.316 1.2-8.655 3.591a13.054 13.054 0 00-2.731 4.044A11.899 11.899 0 002.7 15c0 1.607.32 3.154.945 4.653a12.806 12.806 0 002.73 3.992 12.651 12.651 0 003.993 2.68c1.482.607 3.038.913 4.663.913 1.608 0 3.154-.31 4.654-.935a12.9 12.9 0 004.097-2.71C26.12 21.307 27.3 18.447 27.3 15c0-1.66-.306-3.234-.914-4.716a12.033 12.033 0 00-2.657-3.97zM8.802 15c0-3.961 1.246-8.634 6.198-8.634s6.197 4.673 6.197 8.634c0 3.962-1.245 8.634-6.197 8.634-4.953 0-6.198-4.672-6.198-8.634zm6.755-5.305A2.291 2.291 0 0015 9.622c-2.547 0-2.668 3.633-2.668 5.377 0 .562.014 1.313.116 2.08l3.298-6.06c.342-.592.168-1.016-.19-1.324zM17.668 15c0-.683-.025-1.654-.2-2.584l-3.686 6.366c-.514.772-.157 1.209.41 1.45.05.02.105.037.157.052l.095.031c.172.043.356.064.557.064 2.546 0 2.667-3.634 2.667-5.379z"})))],label:(0,n.__)("CC0","eb-openverse-block"),value:"cc0"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"})))],label:(0,n.__)("CC BY","eb-openverse-block"),value:"by"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.151 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zM8.33 12.884c.286-1.84 1.026-3.264 2.223-4.273 1.196-1.008 2.651-1.513 4.366-1.513 2.356 0 4.232.76 5.625 2.277 1.393 1.517 2.09 3.464 2.09 5.839 0 2.304-.724 4.219-2.17 5.745-1.447 1.526-3.321 2.29-5.626 2.29-1.696 0-3.16-.508-4.392-1.527-1.233-1.018-1.973-2.464-2.224-4.339H12c.09 1.822 1.187 2.733 3.295 2.733 1.053 0 1.902-.456 2.544-1.366.644-.91.965-2.126.965-3.643 0-1.59-.294-2.799-.883-3.63-.59-.83-1.437-1.245-2.545-1.245-2.001 0-3.126.884-3.375 2.651h1.098l-2.973 2.973-2.973-2.973H8.33z"})))],label:(0,n.__)("CC BY-SA","eb-openverse-block"),value:"by-sa"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.15 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zm5.652 8.758v2.571H9.777v-2.571H20.68zm0 4.822v2.57H9.777v-2.57H20.68z"})))],label:(0,n.__)("CC BY-ND","eb-openverse-block"),value:"by-nd"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"})))],label:(0,n.__)("CC BY-NC","eb-openverse-block"),value:"by-nc"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.151 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zM8.33 12.884c.286-1.84 1.026-3.264 2.223-4.273 1.196-1.008 2.651-1.513 4.366-1.513 2.356 0 4.232.76 5.625 2.277 1.393 1.517 2.09 3.464 2.09 5.839 0 2.304-.724 4.219-2.17 5.745-1.447 1.526-3.321 2.29-5.626 2.29-1.696 0-3.16-.508-4.392-1.527-1.233-1.018-1.973-2.464-2.224-4.339H12c.09 1.822 1.187 2.733 3.295 2.733 1.053 0 1.902-.456 2.544-1.366.644-.91.965-2.126.965-3.643 0-1.59-.294-2.799-.883-3.63-.59-.83-1.437-1.245-2.545-1.245-2.001 0-3.126.884-3.375 2.651h1.098l-2.973 2.973-2.973-2.973H8.33z"})))],label:(0,n.__)("CC BY-NC-SA","eb-openverse-block"),value:"by-nc-sa"},{icon:[React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.972 0c4.196 0 7.769 1.465 10.715 4.393A14.426 14.426 0 0128.9 9.228C29.633 11.04 30 12.964 30 15c0 2.054-.363 3.978-1.085 5.772a13.77 13.77 0 01-3.2 4.754 15.417 15.417 0 01-4.983 3.322A14.932 14.932 0 0114.973 30c-1.982 0-3.88-.38-5.692-1.14a15.087 15.087 0 01-4.875-3.293c-1.437-1.437-2.531-3.058-3.281-4.862A14.71 14.71 0 010 15c0-1.982.38-3.888 1.138-5.719a15.062 15.062 0 013.308-4.915C7.303 1.456 10.812 0 14.972 0zm.055 2.706c-3.429 0-6.313 1.196-8.652 3.589a12.896 12.896 0 00-2.72 4.031 11.814 11.814 0 00-.95 4.675c0 1.607.316 3.156.95 4.646a12.428 12.428 0 002.72 3.992 12.362 12.362 0 003.99 2.679c1.483.616 3.037.924 4.662.924 1.607 0 3.164-.312 4.675-.937a12.954 12.954 0 004.084-2.705c2.339-2.286 3.508-5.152 3.508-8.6 0-1.66-.304-3.231-.91-4.713a11.994 11.994 0 00-2.651-3.965c-2.412-2.41-5.314-3.616-8.706-3.616zm-.188 9.803l-2.01 1.045c-.215-.445-.477-.758-.79-.937-.312-.178-.602-.268-.87-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.509 1.928.34.482.84.724 1.5.724.876 0 1.492-.43 1.85-1.286l1.847.937a4.407 4.407 0 01-1.634 1.728c-.696.42-1.464.63-2.303.63-1.34 0-2.42-.41-3.242-1.233-.821-.82-1.232-1.964-1.232-3.428 0-1.428.416-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.858 0 3.188.723 3.992 2.17zm8.652 0l-1.983 1.045c-.214-.445-.478-.758-.79-.937-.313-.178-.613-.268-.897-.268-1.34 0-2.01.884-2.01 2.652 0 .803.17 1.446.51 1.928.338.482.838.724 1.5.724.874 0 1.49-.43 1.847-1.286l1.875.937a4.606 4.606 0 01-1.66 1.728c-.696.42-1.455.63-2.277.63-1.357 0-2.441-.41-3.253-1.233-.814-.82-1.22-1.964-1.22-3.428 0-1.428.415-2.562 1.246-3.401.83-.84 1.879-1.26 3.147-1.26 1.857 0 3.18.723 3.965 2.17z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.213 0 7.768 1.446 10.66 4.34C28.544 7.25 30 10.803 30 15c0 4.215-1.43 7.723-4.287 10.526C22.678 28.51 19.098 30 14.973 30c-4.054 0-7.571-1.474-10.553-4.42C1.474 22.633 0 19.107 0 15S1.474 7.34 4.42 4.34C7.313 1.446 10.83 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.196-8.652 3.589-2.447 2.5-3.67 5.402-3.67 8.706 0 3.321 1.214 6.196 3.642 8.624 2.429 2.429 5.322 3.642 8.679 3.642 3.339 0 6.25-1.222 8.732-3.67 2.358-2.267 3.536-5.133 3.536-8.598 0-3.41-1.197-6.311-3.589-8.705-2.392-2.392-5.285-3.588-8.678-3.588zm4.018 8.57v6.134H17.33v7.286h-4.66V17.41h-1.714v-6.134a.93.93 0 01.28-.683.933.933 0 01.684-.281h6.161c.25 0 .474.093.67.28a.912.912 0 01.294.684zM12.91 7.42c0-1.41.696-2.116 2.09-2.116s2.09.705 2.09 2.116c0 1.393-.697 2.09-2.09 2.09-1.393 0-2.09-.697-2.09-2.09z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.214 0 7.768 1.446 10.66 4.339C28.544 7.232 30 10.786 30 15c0 4.215-1.429 7.723-4.287 10.527C22.678 28.51 19.097 30 14.973 30c-4.072 0-7.59-1.482-10.553-4.446C1.474 22.607 0 19.09 0 15c0-4.107 1.474-7.66 4.42-10.66C7.313 1.446 10.83 0 14.973 0zM3.375 10.956c-.446 1.232-.67 2.58-.67 4.045 0 3.321 1.214 6.196 3.642 8.624 2.447 2.412 5.34 3.617 8.679 3.617 3.375 0 6.285-1.223 8.733-3.67.875-.839 1.561-1.714 2.061-2.626l-5.651-2.518a3.866 3.866 0 01-1.433 2.317c-.76.598-1.657.943-2.693 1.031v2.304h-1.74v-2.304c-1.661-.017-3.18-.615-4.554-1.794l2.063-2.089c.981.91 2.098 1.366 3.348 1.366.517 0 .96-.116 1.326-.349.366-.231.55-.615.55-1.151 0-.376-.135-.68-.402-.911l-1.447-.617-1.767-.804-2.384-1.044-7.661-3.427zm11.652-8.278c-3.41 0-6.295 1.206-8.652 3.616-.59.59-1.143 1.26-1.66 2.01l5.732 2.571a3.513 3.513 0 011.42-1.888c.695-.473 1.508-.737 2.437-.79V5.893h1.741v2.304c1.376.071 2.625.535 3.75 1.392L17.84 11.6c-.84-.59-1.697-.884-2.572-.884-.464 0-.88.09-1.245.267-.366.179-.55.483-.55.911 0 .125.045.25.134.375l1.902.858 1.313.59 2.41 1.07 7.687 3.429c.25-1.054.375-2.125.375-3.214 0-3.447-1.196-6.349-3.588-8.707-2.375-2.41-5.27-3.616-8.68-3.616z"}))),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},React.createElement("g",{id:"icon",fill:"currentColor"},React.createElement("path",{d:"M14.973 0c4.196 0 7.75 1.455 10.66 4.366C28.544 7.26 30 10.804 30 15c0 4.197-1.43 7.714-4.287 10.553C22.696 28.518 19.115 30 14.973 30c-4.054 0-7.571-1.473-10.553-4.42C1.474 22.634 0 19.108 0 15c0-4.088 1.474-7.633 4.42-10.633C7.33 1.455 10.848 0 14.973 0zm.054 2.706c-3.41 0-6.295 1.205-8.652 3.616-2.447 2.483-3.67 5.375-3.67 8.678 0 3.34 1.214 6.214 3.642 8.625 2.429 2.43 5.322 3.643 8.679 3.643 3.339 0 6.25-1.223 8.732-3.67 2.358-2.285 3.536-5.15 3.536-8.598 0-3.428-1.197-6.321-3.589-8.678-2.375-2.412-5.268-3.616-8.678-3.616zm5.652 8.758v2.571H9.777v-2.571H20.68zm0 4.822v2.57H9.777v-2.57H20.68z"})))],label:(0,n.__)("CC BY-NC-ND","eb-openverse-block"),value:"by-nc-nd"}],N=[{label:(0,n.__)("Use commercially","eb-openverse-block"),value:"commercial"},{label:(0,n.__)("Modify or adapt","eb-openverse-block"),value:"modification"}],P=[{label:(0,n.__)("Photographs","eb-openverse-block"),value:"photograph"},{label:(0,n.__)("Illustrations","eb-openverse-block"),value:"illustration"},{label:(0,n.__)("Digitized Artworks","eb-openverse-block"),value:"digitized_artwork"}],O=[{label:(0,n.__)("Small","eb-openverse-block"),value:"small"},{label:(0,n.__)("Medium","eb-openverse-block"),value:"medium"},{label:(0,n.__)("Large","eb-openverse-block"),value:"large"}],I=[{label:(0,n.__)("JPEG","eb-openverse-block"),value:"jpg"},{label:(0,n.__)("SVG","eb-openverse-block"),value:"svg"},{label:(0,n.__)("PNG","eb-openverse-block"),value:"png"},{label:(0,n.__)("GIF","eb-openverse-block"),value:"gif"}],D=[{label:(0,n.__)("Tall","eb-openverse-block"),value:"tall"},{label:(0,n.__)("Wide","eb-openverse-block"),value:"wide"},{label:(0,n.__)("Square","eb-openverse-block"),value:"square"}],A="captionTypo",M=a(5694);const L=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.displayAttribution),r=t.attributionColor,l=t.textAlign,c=t.stylePreset,i=t.attributionStyle,s=t.hoverEffect,b=t.complexStyle,d=t.autoFit;return React.createElement(M.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:m,borderPrefix:f,hasMargin:!0}},React.createElement(M.InspectorPanel.General,null,React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(p.SelectControl,{label:(0,n.__)("Styles","essential-blocks"),description:(0,n.__)("Border won't work","essential-blocks"),value:c,options:S,onChange:function(e){return function(e){switch(a({stylePreset:e}),["octagon","rhombus","triangle"].includes(e)?a({complexStyle:!0}):a({complexStyle:!1}),e){case"rounded":a({imgBorderShadowRds_Bottom:"15",imgBorderShadowRds_Top:"15",imgBorderShadowRds_Left:"15",imgBorderShadowRds_Right:"15",imgBorderShadowRds_Unit:"px"});break;case"square":a({imgBorderShadowRds_Bottom:"0",imgBorderShadowRds_Top:"0",imgBorderShadowRds_Left:"0",imgBorderShadowRds_Right:"0",imgBorderShadowRds_Unit:"px"});break;case"circle":a({imgBorderShadowRds_Bottom:"50",imgBorderShadowRds_Top:"50",imgBorderShadowRds_Left:"50",imgBorderShadowRds_Right:"50",imgBorderShadowRds_Unit:"%"});break;default:return!1}}(e)}}),"circle"===c&&React.createElement(p.PanelRow,null,React.createElement("em",null,'Please use equal "Height" & "Width" for perfect Circle shape.')),React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:y,min:1,max:1e3,step:1,units:x}),React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:h,min:0,max:1e3,step:1,units:x}),React.createElement(p.ToggleControl,{label:(0,n.__)("Auto Fit Image?","essential-blocks"),checked:d,onChange:function(e){return a({autoFit:e})}}),React.createElement(p.SelectControl,{label:(0,n.__)("Hover Effect","essential-blocks"),value:s,options:C,onChange:function(e){return a({hoverEffect:e})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Display Attribution","essential-blocks"),checked:o,onChange:function(){var e;a((e=!o)?{displayAttribution:e,wrpBorderShadowBdr_Bottom:"1",wrpBorderShadowBdr_Left:"1",wrpBorderShadowBdr_Right:"1",wrpBorderShadowBdr_Top:"1",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"solid",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0}:{displayAttribution:e,wrpBorderShadowBdr_Bottom:"0",wrpBorderShadowBdr_Left:"0",wrpBorderShadowBdr_Right:"0",wrpBorderShadowBdr_Top:"0",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"none",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0})}}),o&&React.createElement(p.SelectControl,{label:(0,n.__)("Attribution Styles","essential-blocks"),value:i,options:B,onChange:function(e){return function(e){switch(e){case"attribution-style-1":a({attributionStyle:e,textAlign:"left",attributionColor:"#211C70",captionPaddingBottom:"",captionPaddingLeft:"10",captionPaddingRight:"10",captionPaddingTop:"20",captionPaddingUnit:"px",captionPaddingisLinked:!1,wrpBorderShadowBdr_Bottom:"1",wrpBorderShadowBdr_Left:"1",wrpBorderShadowBdr_Right:"1",wrpBorderShadowBdr_Top:"1",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"solid",wrpBorderShadowRds_Bottom:"15",wrpBorderShadowRds_Left:"15",wrpBorderShadowRds_Right:"15",wrpBorderShadowRds_Top:"15",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpPaddingBottom:"15",wrpPaddingLeft:"15",wrpPaddingRight:"15",wrpPaddingTop:"15",wrpPaddingUnit:"px",wrpPaddingisLinked:!1});break;case"attribution-style-2":a({attributionStyle:e,textAlign:"center",attributionColor:"#2673FF",captionPaddingBottom:"15",captionPaddingLeft:"10",captionPaddingRight:"10",captionPaddingTop:"15",captionPaddingUnit:"px",captionPaddingisLinked:!1,wrpBorderShadowBdr_Bottom:"0",wrpBorderShadowBdr_Left:"0",wrpBorderShadowBdr_Right:"0",wrpBorderShadowBdr_Top:"0",wrpBorderShadowBdr_Unit:"px",wrpBorderShadowBdr_isLinked:!0,wrpBorderShadowborderColor:"#C1CDE1",wrpBorderShadowborderStyle:"none",wrpBorderShadowRds_Bottom:"0",wrpBorderShadowRds_Left:"0",wrpBorderShadowRds_Right:"0",wrpBorderShadowRds_Top:"0",wrpBorderShadowRds_Unit:"px",wrpBorderShadowRds_isLinked:!0,wrpPaddingBottom:"0",wrpPaddingLeft:"0",wrpPaddingRight:"0",wrpPaddingTop:"0",wrpPaddingUnit:"px",wrpPaddingisLinked:!1});break;default:a({attributionStyle:e})}}(e)}}))),React.createElement(M.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Image Settings","essential-blocks"),initialOpen:!0},!b&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(M.BorderShadowControl,{controlName:v})),b&&React.createElement(p.PanelRow,null,React.createElement("em",null,"Border Style doesn't support for \"",c,' style".'))),o&&React.createElement(M.InspectorPanel.PanelBody,{title:(0,n.__)("Caption Styles","essential-blocks")},React.createElement(M.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:r,attributeName:"attributionColor"}),React.createElement(M.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:A}),React.createElement(M.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:R,units:E,min:0,max:300,step:1}),o&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{label:(0,n.__)("Text Align","essential-blocks")},React.createElement(p.ButtonGroup,null,_.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:l===e.value,isSecondary:l!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)}))),React.createElement(M.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Margin"}),React.createElement(M.ResponsiveDimensionsControl,{controlName:k,baseLabel:"Padding"}))))))};function F(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.displayAttribution),l=t.attributionColor,c=(t.attributionBGColor,t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.textAlign),i=(t.stylePreset,t.attributionStyle,t.hoverEffect,t.imageAlign),s=t.complexStyle,p=t.autoFit,b=(t.classHook,t.imageurl,(0,M.generateTypographyStyles)({attributes:t,prefixConstant:A})),d=b.typoStylesDesktop,_=b.typoStylesTab,C=b.typoStylesMobile,E=(0,M.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t}),x=E.dimensionStylesDesktop,S=E.dimensionStylesTab,B=E.dimensionStylesMobile,T=(0,M.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),N=T.dimensionStylesDesktop,P=T.dimensionStylesTab,O=T.dimensionStylesMobile,I=(0,M.generateDimensionsControlStyles)({controlName:w,styleFor:"margin",attributes:t}),D=I.dimensionStylesDesktop,L=I.dimensionStylesTab,F=I.dimensionStylesMobile,j=(0,M.generateDimensionsControlStyles)({controlName:k,styleFor:"padding",attributes:t}),H=j.dimensionStylesDesktop,z=j.dimensionStylesTab,U=j.dimensionStylesMobile,V=(0,M.generateResponsiveRangeStyles)({controlName:y,property:"",attributes:t}),G=V.rangeStylesDesktop,q=V.rangeStylesTab,W=V.rangeStylesMobile,Z=(0,M.generateResponsiveRangeStyles)({controlName:h,property:"",attributes:t}),J=Z.rangeStylesDesktop,Y=Z.rangeStylesTab,Q=Z.rangeStylesMobile,X=(0,M.generateResponsiveRangeStyles)({controlName:R,property:"width",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=(0,M.generateBackgroundControlStyles)({attributes:t,controlName:m,noOverlay:!0}),ae=te.backgroundStylesDesktop,ne=te.hoverBackgroundStylesDesktop,oe=te.backgroundStylesTab,re=te.hoverBackgroundStylesTab,le=te.backgroundStylesMobile,ce=te.hoverBackgroundStylesMobile,ie=te.bgTransitionStyle,se=(0,M.generateBorderShadowStyles)({controlName:f,attributes:t}),pe=se.styesDesktop,be=se.styesTab,de=se.styesMobile,me=se.stylesHoverDesktop,ue=se.stylesHoverTab,ge=se.stylesHoverMobile,fe=se.transitionStyle,ye=(0,M.generateBorderShadowStyles)({controlName:v,attributes:t}),he=ye.styesDesktop,ve=(ye.styesTab,ye.styesMobile),we=ye.stylesHoverDesktop,ke=ye.stylesHoverTab,Re=ye.stylesHoverMobile,_e=ye.transitionStyle,Ce="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(x,"\n\t\t\t").concat(N,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(ae,"\n\t\t\ttransition:").concat(ie,", ").concat(fe,";\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(me,"\n\t\t\t").concat(ne,"\n\t\t}\n\t"),Ee="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(be,"\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(ue,"\n\t\t\t").concat(re,"\n\t\t}\n\t"),xe="\n\t\t.eb-openverse-wrapper.".concat(o,"{\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(de,"\n\t\t\t").concat(le,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o,":hover {\n\t\t\t").concat(ge,"\n\t\t\t").concat(ce,"\n\t\t}\n\t"),Se="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(G||": auto",";\n\t\t\theight").concat(J||": auto",";\n\t\t\t").concat(s?"":he,"\n\t\t\ttransition: transform 0.5s, ").concat(_e,";\n\t\t\tmargin: ").concat(i,";\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper img{\n\t\t\ttransition: transform 0.5s, ").concat(_e,";\n\t\t\t").concat(p?"object-fit: cover;":"","\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-attribution{\n\t\t\tcolor: ").concat(l,";\n\t\t\ttext-align: ").concat(c,";\n\t\t\t").concat(D,"\n\t\t\t").concat(H,"\n\t\t\t").concat(d,"\n\t\t\t").concat($,"\n\t\t}\n\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":we,"\n\t\t}\n\t\t").concat(r?"":" .eb-openverse-wrapper.".concat(o," .image-attribution {display:none;} "),"\n\t"),Be="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper{\n\t\t\twidth").concat(q||": auto",";\n\t\t\theight").concat(Y||": auto",";\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":ke,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-attribution {\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(_,"\n\t\t\t").concat(K,"\n\t\t}\n\t"),Te="\n\t\t.eb-openverse-wrapper.".concat(o," .image-wrapper img{\n\t\t\t").concat(s?"":ve,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper:hover {\n\t\t\t").concat(s?"":Re,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper .image-attribution {\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(C,"\n\t\t\t").concat(ee,"\n\t\t}\n\t\t.eb-openverse-wrapper.").concat(o," .image-wrapper{\n\t\t\twidth").concat(W||": auto",";\n\t\t\theight").concat(Q||": auto",";\n\t\t}\n\t"),Ne=(0,M.softMinifyCssStrings)("\n\t\t".concat(Ce,"\n\t\t").concat(Se,"\n\t")),Pe=(0,M.softMinifyCssStrings)("\n\t\t".concat(Ee,"\n\t\t").concat(Be,"\n\t")),Oe=(0,M.softMinifyCssStrings)("\n\t\t".concat(xe,"\n\t\t").concat(Te,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(M.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Ne,tabAllStyles:Pe,mobileAllStyles:Oe,blockName:n}))}function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function H(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?j(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const z=H(H(H(H(H(H(H(H(H(H(H(H({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},searchQ:{type:"string",default:""},apiKey:{type:"string"},apiInfo:{type:"object",default:{email:"",name:""}},imageurl:{type:"string"},imageAttr:{type:"object",default:{title:"",foreignUrl:"",creator:"",creatorUrl:"",license:"",licenseUrl:"",licenseVersion:""}},selectedImgIndex:{type:"number"},displayAttribution:{type:"boolean",default:!0},attributionColor:{type:"string",default:"var(--eb-global-text-color)"},attributionBGColor:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},verticalAlign:{type:"string",default:"bottom"},imageAlign:{type:"string",default:"0 auto"},textAlign:{type:"string",default:"left"},hoverEffect:{type:"string",default:"no-effect"},stylePreset:{type:"string",default:"rounded"},complexStyle:{type:"boolean",default:!1},attributionStyle:{type:"string",default:"attribution-style-1"},autoFit:{type:"boolean",default:!0},enableLink:{type:"boolean",default:!1},imageLink:{type:"string",default:""},openInNewTab:{type:"boolean",default:!1}},(0,M.generateTypographyAttributes)(A,{fontSize:16})),(0,M.generateDimensionsAttributes)(u)),(0,M.generateDimensionsAttributes)(g,{top:15,bottom:15,right:15,left:15,isLinked:!1})),(0,M.generateDimensionsAttributes)(w,{top:0,bottom:0,right:0,left:0,isLinked:!1})),(0,M.generateDimensionsAttributes)(k,{top:20,bottom:0,right:10,left:10,isLinked:!1})),(0,M.generateBorderShadowAttributes)(f,{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"var(--eb-global-secondary-color)",defaultBdrStyle:"solid",rdsDefaults:{top:15,bottom:15,right:15,left:15}})),(0,M.generateBorderShadowAttributes)(v,{defaultBdrColor:"var(--eb-global-tertiary-color)",bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:15,bottom:15,right:15,left:15}})),(0,M.generateBackgroundAttributes)(m,{defaultBgGradient:"var(--eb-gradient-background-color)",noOverlay:!0})),(0,M.generateResponsiveRangeAttributes)(y,{})),(0,M.generateResponsiveRangeAttributes)(h,{})),(0,M.generateResponsiveRangeAttributes)(R)),{},{cover:{type:"string",default:""}});function U(e){var t=e.data,a=e.selectItem,n=e.setSelectItem;return React.createElement("div",{className:"eb-openverse-grid"},"object"===(0,o.A)(t)&&t.map(function(e,t){return React.createElement("div",{key:t,className:"eb-openverse-grid-item ".concat(a==e?"selected":""),onClick:function(){return n(e)}},React.createElement("div",{className:"eb_openverse_item_thumbnail"},React.createElement("img",{src:e.url})))}))}var V=a(6087),G=function(e){return React.createElement("svg",{id:"eSVi1URbIc71",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 150",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision"},React.createElement("defs",null,React.createElement("linearGradient",{id:"eSVi1URbIc712-fill",x1:"0",y1:"0.5",x2:"0.5",y2:"0.5",spreadMethod:"reflect",gradientUnits:"objectBoundingBox",gradientTransform:"translate(0 0)"},React.createElement("stop",{id:"eSVi1URbIc712-fill-0",offset:"0%",stopColor:"rgba(213,224,249,0)"}),React.createElement("stop",{id:"eSVi1URbIc712-fill-1",offset:"100%",stopColor:"rgba(213,224,249,0.6)"}))),React.createElement("g",null,React.createElement("rect",{width:"150",height:"150",rx:"3",ry:"3",fill:"#dee6f7"}),React.createElement("g",{clipPath:"url(#eSVi1URbIc79)"},React.createElement("g",null,React.createElement("path",{d:"M54.6132,97.0869c-5.5366,0-10.4614-3.5449-12.2497-8.8225l-.121-.3976c-.4217-1.3976-.5984-2.573-.5984-3.7489v-23.5799l-8.39,28.0063c-1.079,4.1194,1.3799,8.39,5.5055,9.528L92.2374,112.394c.6675.173,1.3349.256,1.9922.256c3.4443,0,6.5914-2.286,7.4734-5.655l3.116-9.9081h-50.2058Z",fill:"#eef3ff"}),React.createElement("path",{d:"M64.1239,60.7736c3.8147,0,6.9164-3.1024,6.9164-6.9171s-3.1017-6.917-6.9164-6.917c-3.8148,0-6.9171,3.1023-6.9171,6.917s3.1023,6.9171,6.9171,6.9171Z",fill:"#eef3ff"}),React.createElement("path",{d:"M107.354,36.5642h-51.8766c-4.7652,0-8.6458,3.8806-8.6458,8.6465v38.0421c0,4.7659,3.8806,8.6465,8.6458,8.6465h51.8766c4.766,0,8.646-3.8806,8.646-8.6465v-38.0421c0-4.7659-3.88-8.6465-8.646-8.6465ZM55.4774,43.4813h51.8766c.955,0,1.729.7744,1.729,1.7294v24.5513L98.1582,57.0139c-1.1589-1.3589-2.8364-2.0853-4.638-2.1265-1.7915.0102-3.4721.8055-4.6202,2.1822L76.055,72.4869l-4.1845-4.1744c-2.3652-2.3652-6.2148-2.3652-8.5768,0l-9.5451,9.5419v-32.6437c0-.955.7745-1.7294,1.7288-1.7294Z",fill:"#eef3ff"})),React.createElement("clipPath",{id:"eSVi1URbIc79"},React.createElement("rect",{width:"83",height:"83",rx:"0",ry:"0",transform:"translate(33 33)",fill:"#fff"})))),React.createElement("g",{mask:"url(#eSVi1URbIc713)"},React.createElement("rect",{id:"eSVi1URbIc712",width:"29.308378",height:"162.528513",rx:"0",ry:"0",transform:"matrix(1.965405 0 0 1.965405-67.486136-83.387994)",fill:"url(#eSVi1URbIc712-fill)",strokeWidth:"0"}),React.createElement("mask",{id:"eSVi1URbIc713","mask-type":"luminance"},React.createElement("g",null,React.createElement("rect",{width:"150",height:"150",rx:"3",ry:"3",fill:"#dee6f7"}),React.createElement("g",{clipPath:"url(#eSVi1URbIc721)"},React.createElement("g",null,React.createElement("path",{d:"M54.6132,97.0869c-5.5366,0-10.4614-3.5449-12.2497-8.8225l-.121-.3976c-.4217-1.3976-.5984-2.573-.5984-3.7489v-23.5799l-8.39,28.0063c-1.079,4.1194,1.3799,8.39,5.5055,9.528L92.2374,112.394c.6675.173,1.3349.256,1.9922.256c3.4443,0,6.5914-2.286,7.4734-5.655l3.116-9.9081h-50.2058Z",fill:"#eef3ff"}),React.createElement("path",{d:"M64.1239,60.7736c3.8147,0,6.9164-3.1024,6.9164-6.9171s-3.1017-6.917-6.9164-6.917c-3.8148,0-6.9171,3.1023-6.9171,6.917s3.1023,6.9171,6.9171,6.9171Z",fill:"#eef3ff"}),React.createElement("path",{d:"M107.354,36.5642h-51.8766c-4.7652,0-8.6458,3.8806-8.6458,8.6465v38.0421c0,4.7659,3.8806,8.6465,8.6458,8.6465h51.8766c4.766,0,8.646-3.8806,8.646-8.6465v-38.0421c0-4.7659-3.88-8.6465-8.646-8.6465ZM55.4774,43.4813h51.8766c.955,0,1.729.7744,1.729,1.7294v24.5513L98.1582,57.0139c-1.1589-1.3589-2.8364-2.0853-4.638-2.1265-1.7915.0102-3.4721.8055-4.6202,2.1822L76.055,72.4869l-4.1845-4.1744c-2.3652-2.3652-6.2148-2.3652-8.5768,0l-9.5451,9.5419v-32.6437c0-.955.7745-1.7294,1.7288-1.7294Z",fill:"#eef3ff"})),React.createElement("clipPath",{id:"eSVi1URbIc721"},React.createElement("rect",{width:"83",height:"83",rx:"0",ry:"0",transform:"translate(33 33)",fill:"#fff"})))))))};function q(e){var t=e.limit;return React.createElement("div",{className:"eb-openverse-grid openverse_loading"},(0,V.times)(t,function(e){return React.createElement("div",{className:"eb-openverse-grid-item"},React.createElement(G,null))}))}function W(e){var t=e.setOpenverseModal,a=e.componentClassName,o=e.openverseDataFetch,r=e.openverseDataCount,l=e.loading,c=e.searchQ,i=e.setAttributes;return React.createElement("div",{className:a},React.createElement("input",{type:"search",name:"search-form",id:"search-form",className:"openverse-search-input",placeholder:(0,n.__)("Search for content","eb-openverse-block"),value:c,onChange:function(e){return i({searchQ:e.target.value})},onKeyPress:function(e){"Enter"===e.key&&0!=e.target.value.length&&(i({searchQ:e.target.value}),o(!0),t(!0))}}),!l&&r>0&&React.createElement("span",{className:"search-result-count"},"Over ",r," restults"),l&&r>0&&React.createElement("span",{className:"search-result-count"},"Loading ..."),React.createElement("button",{className:"openverse-search-btn",onClick:function(e){0!=c.length&&(o(!0),t(!0))}},(0,n.__)("Search","eb-openverse-block")))}var Z=function(e){return React.createElement("svg",{width:"301",height:"170",viewBox:"0 0 301 170",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M216.63 143.584H77.1725C76.4512 143.584 75.8662 142.999 75.8662 142.277V58.5242C75.8662 54.1166 79.4484 50.5344 83.84 50.5344H209.955C214.354 50.5344 217.937 54.1166 217.937 58.5242V142.277C217.937 142.999 217.352 143.584 216.63 143.584V143.584Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M183.076 40.2365C183.397 38.9783 184.182 37.9285 185.296 37.2633C186.201 36.7264 187.227 36.502 188.253 36.6062C188.493 36.6303 188.726 36.6703 188.958 36.7344C191.547 37.3916 193.117 40.0281 192.468 42.6166C191.811 45.2051 189.175 46.7758 186.586 46.1267C183.998 45.4696 182.427 42.833 183.076 40.2445V40.2365Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M160.18 38.2651V44.548C160.18 44.7323 160.293 44.8926 160.469 44.9567L165.421 46.6637C165.99 49.1159 166.96 51.4159 168.25 53.4995L165.95 58.2117C165.87 58.38 165.902 58.5723 166.031 58.7085L170.47 63.1563C170.598 63.2845 170.799 63.3165 170.959 63.2364L175.671 60.9444C177.747 62.2347 180.047 63.2043 182.499 63.7813L184.206 68.7339C184.262 68.9102 184.43 69.0224 184.615 69.0224H190.898C191.082 69.0224 191.242 68.9102 191.306 68.7339L193.013 63.7813C195.466 63.2124 197.766 62.2427 199.849 60.9524L204.561 63.2524C204.73 63.3326 204.922 63.3005 205.058 63.1723L209.506 58.7326C209.634 58.6044 209.666 58.404 209.586 58.2357L207.294 53.5235C208.584 51.4479 209.554 49.148 210.131 46.6957L215.084 44.9887C215.26 44.9327 215.372 44.7644 215.372 44.58V38.2971C215.372 38.1128 215.26 37.9525 215.084 37.8884L210.131 36.1815C209.562 33.7292 208.592 31.4292 207.302 29.3456L209.602 24.6334C209.682 24.4652 209.65 24.2728 209.522 24.1366L205.082 19.6889C204.954 19.5607 204.754 19.5286 204.585 19.6087L199.873 21.9007C197.798 20.6105 195.498 19.6408 193.045 19.0638L191.338 14.1112C191.282 13.9349 191.114 13.8227 190.93 13.8227H184.647C184.462 13.8227 184.302 13.9349 184.238 14.1112L182.531 19.0638C180.079 19.6328 177.779 20.6025 175.695 21.8927L170.983 19.5927C170.815 19.5126 170.622 19.5446 170.486 19.6728L166.039 24.1125C165.91 24.2408 165.878 24.4411 165.958 24.6014L168.25 29.3136C166.96 31.3892 165.99 33.6892 165.413 36.1414L160.461 37.8484C160.285 37.9045 160.172 38.0728 160.172 38.2571L160.18 38.2651ZM176.713 30.3313C179.646 27.3982 183.549 25.7875 187.7 25.7875C196.259 25.7875 203.231 32.7676 203.223 41.3344C203.223 41.8633 203.199 42.3922 203.143 42.9132C202.91 45.1731 202.189 47.3609 201.019 49.3082C200.915 49.4845 200.691 49.5406 200.514 49.4365C200.386 49.3643 200.322 49.2201 200.338 49.0839C200.338 49.0278 200.362 48.9797 200.386 48.9316C201.5 47.0724 202.189 44.9887 202.414 42.833C202.462 42.3361 202.494 41.8313 202.494 41.3344C202.494 33.1763 195.874 26.5327 187.708 26.5247C183.757 26.5247 180.039 28.0554 177.242 30.8522C174.806 33.2804 173.323 36.4139 172.979 39.7877C172.93 40.2926 172.898 40.7975 172.898 41.3104C172.898 44.2274 173.74 46.9522 175.206 49.2441C177.835 53.3713 182.443 56.112 187.684 56.1201C188.742 56.1201 189.792 56.0079 190.818 55.7915C191.018 55.7514 191.21 55.8716 191.258 56.072C191.266 56.112 191.266 56.1521 191.258 56.1842C191.242 56.3364 191.13 56.4727 190.97 56.5047C190.906 56.5207 190.85 56.5288 190.785 56.5448C190.753 56.5448 190.721 56.5608 190.689 56.5608H190.657C189.848 56.7211 189.014 56.8173 188.189 56.8413C188.021 56.8413 187.852 56.8413 187.684 56.8413C187.147 56.8413 186.618 56.8173 186.089 56.7612C182.539 56.4005 179.253 54.8458 176.705 52.2894C173.772 49.3563 172.161 45.4536 172.161 41.3024C172.161 40.7654 172.185 40.2365 172.241 39.7076C172.602 36.1654 174.165 32.8798 176.713 30.3233V30.3313ZM187.139 47.7135C186.835 47.6814 186.53 47.6253 186.226 47.5532C182.852 46.6957 180.8 43.2577 181.65 39.8759C182.066 38.241 183.092 36.8627 184.543 35.9972C185.993 35.1317 187.692 34.8832 189.327 35.2999C192.701 36.1574 194.752 39.5954 193.903 42.9773C193.126 46.0466 190.208 48.026 187.139 47.7135V47.7135Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M210.948 65.4082V69.6155C210.948 69.7357 211.02 69.8479 211.141 69.8879L214.45 71.0339C214.835 72.6768 215.476 74.2154 216.342 75.6098L214.803 78.7593C214.747 78.8715 214.771 78.9997 214.859 79.0879L217.832 82.061C217.92 82.1492 218.049 82.1732 218.161 82.1171L221.31 80.5865C222.705 81.452 224.235 82.1011 225.878 82.4858L227.016 85.7955C227.056 85.9077 227.168 85.9878 227.289 85.9878H231.496C231.616 85.9878 231.728 85.9157 231.768 85.7955L232.914 82.4858C234.557 82.1011 236.096 81.46 237.49 80.5945L240.64 82.1332C240.752 82.1893 240.88 82.1652 240.968 82.0771L243.941 79.1039C244.03 79.0157 244.054 78.8875 243.998 78.7753L242.467 75.6259C243.332 74.2315 243.982 72.7008 244.366 71.058L247.676 69.92C247.796 69.8799 247.868 69.7677 247.868 69.6475V65.4402C247.868 65.32 247.796 65.2078 247.676 65.1677L244.366 64.0218C243.982 62.3789 243.34 60.8402 242.475 59.4458L244.014 56.2964C244.07 56.1842 244.046 56.0559 243.957 55.9678L240.984 52.9946C240.896 52.9065 240.768 52.8824 240.656 52.9385L237.506 54.4692C236.112 53.6037 234.581 52.9546 232.938 52.5699L231.8 49.2601C231.76 49.148 231.648 49.0678 231.528 49.0678H227.321C227.2 49.0678 227.088 49.1399 227.048 49.2601L225.902 52.5699C224.259 52.9546 222.721 53.5957 221.326 54.4612L218.177 52.9225C218.065 52.8664 217.936 52.8904 217.848 52.9786L214.875 55.9518C214.787 56.0399 214.763 56.1681 214.819 56.2803L216.35 59.4298C215.484 60.8242 214.835 62.3549 214.45 63.9977L211.141 65.1357C211.02 65.1757 210.948 65.2879 210.948 65.4082ZM221.783 59.8706C223.811 57.851 226.503 56.7371 229.364 56.7371C232.225 56.7371 234.918 57.8591 236.937 59.8786C238.957 61.9061 240.071 64.5987 240.071 67.4597C240.071 67.8203 240.055 68.189 240.015 68.5496C239.854 70.1123 239.358 71.6189 238.548 72.9653C238.388 73.2377 238.035 73.3179 237.771 73.1576C237.578 73.0374 237.474 72.821 237.498 72.6126C237.498 72.5325 237.53 72.4524 237.578 72.3802C238.3 71.1782 238.748 69.8318 238.893 68.4374C238.925 68.1169 238.941 67.7883 238.941 67.4677C238.941 64.9113 237.947 62.5071 236.144 60.696C234.333 58.8848 231.929 57.8911 229.372 57.8831C226.816 57.8831 224.412 58.8768 222.6 60.68C221.022 62.2507 220.06 64.2782 219.844 66.466C219.812 66.7946 219.796 67.1231 219.796 67.4517C219.796 70.0081 220.789 72.4123 222.592 74.2234C222.608 74.2395 222.624 74.2555 222.641 74.2715L222.657 74.2876C223.282 74.9046 223.971 75.3053 224.716 75.722C226.086 76.4914 227.641 76.8119 229.252 76.8119C229.292 76.8119 228.779 76.8119 228.779 76.8119V77.0043C229.917 77.0043 230.438 76.9482 231.103 76.8119C231.408 76.7478 231.856 76.9482 231.929 77.2607C231.945 77.3168 232.017 77.3889 232.009 77.445C231.985 77.6854 231.849 77.8938 231.6 77.9419C231.568 77.9419 231.552 77.9579 231.52 77.9659C230.807 78.1102 230.085 78.1823 229.356 78.1823C228.988 78.1823 228.627 78.1663 228.274 78.1262C222.873 77.5733 218.65 72.9973 218.658 67.4597C218.658 67.0911 218.682 66.7224 218.714 66.3618C218.962 63.9176 220.036 61.6496 221.799 59.8866L221.783 59.8706ZM231.616 71.2182C230.815 71.6991 229.901 71.8994 228.988 71.8032C228.779 71.7792 228.571 71.7471 228.362 71.691C227.249 71.4106 226.311 70.7134 225.718 69.7196C225.133 68.7339 224.965 67.5719 225.245 66.458C225.83 64.158 228.17 62.7636 230.47 63.3406C232.77 63.9256 234.165 66.2656 233.588 68.5656C233.307 69.6796 232.61 70.6172 231.616 71.2022V71.2182Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M226.695 69.1426C226.263 68.4134 226.142 67.5639 226.343 66.7465C226.735 65.2078 228.194 64.2141 229.733 64.3744C229.885 64.3904 230.037 64.4144 230.189 64.4545C231.88 64.8872 232.906 66.6102 232.481 68.3012C232.273 69.1186 231.76 69.8078 231.031 70.2405C230.302 70.6733 229.452 70.7935 228.635 70.5931C227.817 70.3848 227.128 69.8719 226.695 69.1426Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M77.1723 147.446C74.2873 147.446 71.5386 145.162 71.5386 142.277V58.5242C71.5386 51.9608 77.2845 47.1846 83.8399 47.1846H209.955C216.518 47.1846 221.919 51.9608 221.919 58.5242V142.277C221.919 145.162 219.507 147.446 216.622 147.446H77.1723Z",fill:"white"}),React.createElement("path",{d:"M135.152 20.1136H110.301C109.636 20.1136 109.099 19.5767 109.099 18.9115V5.36002C109.099 4.69487 109.636 4.15794 110.301 4.15794H135.152C135.817 4.15794 136.354 4.69487 136.354 5.36002V18.9115C136.354 19.5767 135.817 20.1136 135.152 20.1136V20.1136ZM110.301 4.67083C109.925 4.67083 109.612 4.97536 109.612 5.36002V18.9115C109.612 19.2882 109.917 19.6007 110.301 19.6007H135.152C135.529 19.6007 135.833 19.2962 135.833 18.9115V5.36002C135.833 4.98337 135.529 4.67083 135.152 4.67083H110.301V4.67083Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M136.09 9.7837H109.356C109.211 9.7837 109.099 9.6715 109.099 9.52725V7.45967C109.099 7.31542 109.211 7.20322 109.356 7.20322H136.09C136.234 7.20322 136.346 7.31542 136.346 7.45967V9.52725C136.346 9.6715 136.234 9.7837 136.09 9.7837V9.7837ZM109.612 9.27081H135.833V7.71611H109.612V9.27081Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M128.918 16.7077C127.868 16.7077 127.011 15.8502 127.011 14.8004C127.011 13.7506 127.868 12.9011 128.918 12.9011C129.415 12.9011 129.88 13.0934 130.232 13.43C130.28 13.4781 130.312 13.5422 130.312 13.6143C130.312 13.6865 130.28 13.7506 130.232 13.7987C129.96 14.0551 129.808 14.4237 129.808 14.8004C129.808 15.177 129.96 15.5377 130.232 15.8021C130.28 15.8502 130.312 15.9143 130.312 15.9865C130.312 16.0586 130.28 16.1227 130.232 16.1708C129.88 16.5154 129.407 16.6997 128.918 16.6997V16.7077ZM128.918 13.414C128.149 13.414 127.532 14.0391 127.532 14.8004C127.532 15.5617 128.157 16.1948 128.918 16.1948C129.199 16.1948 129.463 16.1147 129.687 15.9624C129.431 15.6338 129.295 15.2251 129.295 14.8004C129.295 14.3757 129.439 13.9669 129.687 13.6384C129.463 13.4861 129.199 13.406 128.918 13.406V13.414Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M131.193 16.7077C130.144 16.7077 129.286 15.8502 129.286 14.8004C129.286 13.7506 130.144 12.9011 131.193 12.9011C132.243 12.9011 133.101 13.7586 133.101 14.8004C133.101 15.8422 132.243 16.7077 131.193 16.7077ZM131.193 13.414C130.424 13.414 129.807 14.0391 129.807 14.8004C129.807 15.5617 130.432 16.1948 131.193 16.1948C131.955 16.1948 132.58 15.5697 132.58 14.8004C132.58 14.0311 131.955 13.414 131.193 13.414Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M121.882 12.9171H110.775C110.63 12.9171 110.518 12.8049 110.518 12.6607C110.518 12.5164 110.63 12.4042 110.775 12.4042H121.882C122.026 12.4042 122.138 12.5164 122.138 12.6607C122.138 12.8049 122.026 12.9171 121.882 12.9171V12.9171Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M121.882 16.0185H110.775C110.63 16.0185 110.518 15.9063 110.518 15.7621C110.518 15.6178 110.63 15.5056 110.775 15.5056H121.882C122.026 15.5056 122.138 15.6178 122.138 15.7621C122.138 15.9063 122.026 16.0185 121.882 16.0185V16.0185Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M112.569 6.19347H111.167C111.022 6.19347 110.91 6.08127 110.91 5.93702C110.91 5.79277 111.022 5.68058 111.167 5.68058H112.569C112.713 5.68058 112.825 5.79277 112.825 5.93702C112.825 6.08127 112.713 6.19347 112.569 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M115.463 6.19347H114.06C113.916 6.19347 113.804 6.08127 113.804 5.93702C113.804 5.79277 113.916 5.68058 114.06 5.68058H115.463C115.607 5.68058 115.719 5.79277 115.719 5.93702C115.719 6.08127 115.607 6.19347 115.463 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M118.347 6.19347H116.945C116.801 6.19347 116.688 6.08127 116.688 5.93702C116.688 5.79277 116.801 5.68058 116.945 5.68058H118.347C118.492 5.68058 118.604 5.79277 118.604 5.93702C118.604 6.08127 118.492 6.19347 118.347 6.19347Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M109.356 16.1387H106.247C105.589 16.1387 105.044 15.6018 105.044 14.9446V1.39315C105.044 0.736006 105.581 0.199074 106.247 0.199074H131.098C131.755 0.199074 132.292 0.736006 132.292 1.39315V4.4224C132.292 4.56665 132.179 4.67884 132.035 4.67884H110.294C109.917 4.67884 109.604 4.98337 109.604 5.36804V15.8903C109.604 16.0345 109.492 16.1467 109.348 16.1467L109.356 16.1387ZM106.247 0.703949C105.87 0.703949 105.565 1.00848 105.565 1.38513V14.9446C105.565 15.3213 105.87 15.6258 106.247 15.6258H109.091V5.36002C109.091 4.69487 109.628 4.15794 110.294 4.15794H131.779V1.38513C131.779 1.00848 131.474 0.703949 131.098 0.703949H106.247V0.703949Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M51.3519 117.186C49.9975 117.186 48.8916 116.08 48.8916 114.726C48.8916 113.371 49.9975 112.265 51.3519 112.265C52.7062 112.265 53.8121 113.371 53.8121 114.726C53.8121 116.08 52.7062 117.186 51.3519 117.186ZM51.3519 113.163C50.4944 113.163 49.7892 113.86 49.7892 114.726C49.7892 115.591 50.4864 116.28 51.3519 116.28C52.2174 116.28 52.9146 115.583 52.9146 114.726C52.9146 113.868 52.2174 113.163 51.3519 113.163Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M24.754 141.989C24.5055 141.989 24.3052 141.789 24.3052 141.54V135.313C24.3052 135.065 24.5055 134.865 24.754 134.865C25.0024 134.865 25.2027 135.065 25.2027 135.313V141.54C25.2027 141.789 25.0024 141.989 24.754 141.989Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M27.8631 138.88H21.6363C21.3879 138.88 21.1875 138.679 21.1875 138.431C21.1875 138.182 21.3879 137.982 21.6363 137.982H27.8631C28.1115 137.982 28.3119 138.182 28.3119 138.431C28.3119 138.679 28.1115 138.88 27.8631 138.88Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M10.8179 51.3758C10.5695 51.3758 10.3691 51.1755 10.3691 50.927V44.7002C10.3691 44.4518 10.5695 44.2515 10.8179 44.2515C11.0664 44.2515 11.2667 44.4518 11.2667 44.7002V50.927C11.2667 51.1755 11.0664 51.3758 10.8179 51.3758Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M13.927 48.2664H7.70025C7.45182 48.2664 7.25146 48.0661 7.25146 47.8177C7.25146 47.5692 7.45182 47.3689 7.70025 47.3689H13.927C14.1755 47.3689 14.3758 47.5692 14.3758 47.8177C14.3758 48.0661 14.1755 48.2664 13.927 48.2664Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M54.309 81.6443H31.285C30.7401 81.6443 30.2993 81.2036 30.2993 80.6586C30.2993 80.1137 30.7401 79.6729 31.285 79.6729H54.309C54.8539 79.6729 55.2947 80.1137 55.2947 80.6586C55.2947 81.2036 54.8539 81.6443 54.309 81.6443Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M19.256 100.725H1.64147C1.09653 100.725 0.655762 100.285 0.655762 99.7397C0.655762 99.1948 1.09653 98.754 1.64147 98.754H19.256C19.801 98.754 20.2417 99.1948 20.2417 99.7397C20.2417 100.285 19.801 100.725 19.256 100.725Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.554 48.2183C57.3938 48.2183 57.2495 48.0821 57.2495 47.9218V41.3825C57.2495 41.2222 57.3857 41.086 57.546 41.086H64.0533C64.1415 41.086 64.2216 41.1261 64.2777 41.1902C64.3819 41.3104 64.3819 41.4947 64.2777 41.5989L57.7704 48.1302C57.7143 48.1863 57.6422 48.2183 57.5621 48.2183H57.554ZM57.8425 41.679V47.2166L63.3641 41.679H57.8425Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5464 48.2184H38.0245C37.8643 48.2184 37.728 48.0821 37.728 47.9218V12.5164C37.728 12.3562 37.8643 12.2199 38.0245 12.2199H64.0537C64.214 12.2199 64.3502 12.3562 64.3502 12.5164V41.3825C64.3502 41.5428 64.214 41.679 64.0537 41.679H57.8429V47.9218C57.8429 48.0821 57.7067 48.2184 57.5464 48.2184V48.2184ZM38.3211 47.6253H57.2499V41.3825C57.2499 41.2222 57.3861 41.086 57.5464 41.086H63.7572V12.8049H38.3211V47.6173V47.6253ZM45.3012 41.4226C44.8444 41.4226 44.3956 41.1902 44.1472 40.7734L43.2095 39.2187C43.0252 38.9142 42.9691 38.5536 43.0573 38.201C43.1454 37.8484 43.3618 37.5519 43.6663 37.3675L54.5572 30.7721C54.6133 30.74 54.6774 30.724 54.7415 30.732L57.7788 31.0526C57.867 31.0606 57.9471 31.1087 57.9952 31.1888C58.0433 31.2609 58.0513 31.3571 58.0272 31.4453L57.0175 34.4745C56.9934 34.5386 56.9534 34.5947 56.8893 34.6348L46.928 40.6693C46.928 40.6693 46.9039 40.6773 46.8959 40.6853L45.9984 41.2382C45.782 41.3665 45.5416 41.4306 45.3012 41.4306V41.4226ZM54.7736 31.3251L43.9628 37.8724C43.7945 37.9766 43.6743 38.1369 43.6182 38.3372C43.5702 38.5376 43.6022 38.7379 43.7064 38.9062L44.644 40.4609C44.8604 40.8215 45.3252 40.9337 45.6858 40.7173L46.6074 40.1484C46.6074 40.1484 46.6315 40.1323 46.6475 40.1323L56.4886 34.17L57.346 31.5975L54.7736 31.3251V31.3251Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M56.745 34.6669C56.6408 34.6669 56.5446 34.6108 56.4885 34.5226L54.461 31.1728C54.4049 31.0766 54.4049 30.9564 54.461 30.8602C54.5251 30.7641 54.6293 30.716 54.7415 30.724L57.7788 31.0446C57.8669 31.0526 57.9471 31.1007 57.9951 31.1808C58.0432 31.2529 58.0512 31.3491 58.0272 31.4373L57.0175 34.4665C56.9774 34.5787 56.8812 34.6508 56.769 34.6669C56.761 34.6669 56.745 34.6669 56.737 34.6669H56.745ZM55.2784 31.3812L56.6648 33.6731L57.354 31.6055L55.2784 31.3812V31.3812Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M46.7841 40.7013C46.6799 40.7013 46.5837 40.6452 46.5276 40.5571L45.5098 38.8822C45.4537 38.794 45.4537 38.6738 45.5098 38.5856C45.5419 38.5296 45.59 38.4895 45.6461 38.4574L55.5833 32.439C55.6474 32.3989 55.7276 32.3829 55.8077 32.4069C55.8878 32.423 55.952 32.471 55.992 32.5432L57.0018 34.2181C57.0899 34.3543 57.0418 34.5386 56.9056 34.6268L46.9443 40.6613C46.8963 40.6853 46.8482 40.7013 46.7921 40.7013H46.7841ZM46.167 38.8341L46.8802 39.9961L56.3366 34.2662L55.6314 33.0961L46.167 38.8261V38.8341Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.7658 39.0344C45.6616 39.0344 45.5574 38.9783 45.5093 38.8902L44.5076 37.2233C44.4675 37.1672 44.4515 37.0951 44.4595 37.0229C44.4675 36.9348 44.5236 36.8546 44.5958 36.8066L54.565 30.7721C54.7013 30.6839 54.8856 30.732 54.9738 30.8683L55.9915 32.5432C56.0316 32.6073 56.0476 32.6874 56.0236 32.7676C56.0075 32.8477 55.9595 32.9118 55.8873 32.9519L45.9261 38.9863C45.878 39.0104 45.8299 39.0264 45.7738 39.0264L45.7658 39.0344ZM45.1567 37.1592L45.862 38.3372L55.3264 32.6073L54.6131 31.4373L45.1567 37.1672V37.1592Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.3014 41.4226C44.8446 41.4226 44.3958 41.1902 44.1474 40.7734L43.2097 39.2187C43.0254 38.9142 42.9693 38.5536 43.0575 38.201C43.1456 37.8484 43.362 37.5519 43.6665 37.3675L44.5961 36.8066C44.7164 36.7344 44.8686 36.7585 44.9648 36.8546C44.9808 36.8707 44.9968 36.8947 45.0049 36.9107L47.0324 40.2525C47.1205 40.3888 47.0724 40.5731 46.9362 40.6612L46.0066 41.2302C45.7902 41.3585 45.5498 41.4226 45.3094 41.4226H45.3014ZM44.6442 37.4637L43.9711 37.8724C43.8028 37.9766 43.6826 38.1369 43.6265 38.3372C43.5784 38.5376 43.6104 38.7379 43.7146 38.9062L44.6522 40.4609C44.8686 40.8215 45.3334 40.9337 45.694 40.7173L46.3672 40.3086L45.5819 39.0104L44.6442 37.4557V37.4637Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5464 48.2184H38.0245C37.8643 48.2184 37.728 48.0821 37.728 47.9218V12.5164C37.728 12.3562 37.8643 12.2199 38.0245 12.2199H64.0537C64.214 12.2199 64.3502 12.3562 64.3502 12.5164V41.3825C64.3502 41.5428 64.214 41.679 64.0537 41.679H57.8429V47.9218C57.8429 48.0821 57.7067 48.2184 57.5464 48.2184V48.2184ZM38.3211 47.6253H57.2499V41.3825C57.2499 41.2222 57.3861 41.086 57.5464 41.086H63.7572V12.8049H38.3211V47.6173V47.6253Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M57.5542 48.2183C57.4821 48.2183 57.402 48.1863 57.3459 48.1302C57.2337 48.018 57.2337 47.8257 57.3459 47.7135L63.8532 41.1821C63.9653 41.0699 64.1577 41.0699 64.2699 41.1821C64.3821 41.2943 64.3821 41.4867 64.2699 41.5989L57.7626 48.1302C57.7065 48.1863 57.6263 48.2183 57.5542 48.2183Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 19.3283H42.1276C41.9673 19.3283 41.8311 19.192 41.8311 19.0317C41.8311 18.8715 41.9673 18.7352 42.1276 18.7352H59.654C59.8142 18.7352 59.9505 18.8715 59.9505 19.0317C59.9505 19.192 59.8142 19.3283 59.654 19.3283Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 24.0324H42.1276C41.9673 24.0324 41.8311 23.8962 41.8311 23.7359C41.8311 23.5756 41.9673 23.4394 42.1276 23.4394H59.654C59.8142 23.4394 59.9505 23.5756 59.9505 23.7359C59.9505 23.8962 59.8142 24.0324 59.654 24.0324Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M59.654 28.7285H42.1276C41.9673 28.7285 41.8311 28.5923 41.8311 28.432C41.8311 28.2718 41.9673 28.1355 42.1276 28.1355H59.654C59.8142 28.1355 59.9505 28.2718 59.9505 28.432C59.9505 28.5923 59.8142 28.7285 59.654 28.7285Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.3014 41.4226C44.8446 41.4226 44.3958 41.1902 44.1474 40.7734L43.2097 39.2187C43.0254 38.9142 42.9693 38.5536 43.0575 38.201C43.1456 37.8484 43.362 37.5519 43.6665 37.3675L54.5574 30.7721C54.6135 30.74 54.6776 30.724 54.7417 30.732L57.779 31.0526C57.8672 31.0606 57.9473 31.1087 57.9954 31.1888C58.0435 31.2609 58.0515 31.3571 58.0274 31.4453L57.0177 34.4745C56.9936 34.5386 56.9536 34.5947 56.8895 34.6348L46.9282 40.6693C46.9282 40.6693 46.9041 40.6773 46.8961 40.6853L45.9986 41.2382C45.7822 41.3665 45.5418 41.4306 45.3014 41.4306V41.4226ZM54.7738 31.3251L43.963 37.8724C43.7948 37.9766 43.6745 38.1369 43.6184 38.3372C43.5704 38.5376 43.6024 38.7379 43.7066 38.9062L44.6442 40.4609C44.8606 40.8215 45.3254 40.9337 45.686 40.7173L46.6076 40.1484C46.6076 40.1484 46.6317 40.1323 46.6477 40.1323L56.4888 34.17L57.3463 31.5975L54.7738 31.3251V31.3251Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M46.7838 40.7093C46.7116 40.7093 46.6395 40.6853 46.5914 40.6372C46.5674 40.6132 46.5434 40.5891 46.5273 40.5651L44.4998 37.2153C44.4117 37.079 44.4597 36.8947 44.604 36.8066C44.7402 36.7184 44.9245 36.7665 45.0127 36.9107L47.0162 40.2205C47.0562 40.2686 47.0803 40.3327 47.0803 40.4048C47.0803 40.5651 46.944 40.7013 46.7838 40.7013V40.7093Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M56.745 34.6669C56.6489 34.6669 56.5447 34.6188 56.4886 34.5226L54.4611 31.1728C54.3729 31.0366 54.421 30.8522 54.5572 30.7641C54.6935 30.6839 54.8778 30.724 54.9659 30.8602L56.9935 34.2101C57.0816 34.3463 57.0335 34.5306 56.8973 34.6188C56.8492 34.6508 56.7931 34.6588 56.745 34.6588V34.6669Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M45.7659 39.0344C45.6697 39.0344 45.5655 38.9863 45.5094 38.8902C45.4213 38.7539 45.4693 38.5696 45.6056 38.4815L55.5669 32.447C55.7031 32.3589 55.8874 32.4069 55.9756 32.5432C56.0637 32.6794 56.0156 32.8637 55.8794 32.9519L45.9181 38.9863C45.87 39.0184 45.8139 39.0264 45.7659 39.0264V39.0344Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M244.543 96.1254C243.188 96.1254 242.083 95.0195 242.083 93.6652C242.083 92.3108 243.188 91.2049 244.543 91.2049C245.897 91.2049 247.003 92.3108 247.003 93.6652C247.003 95.0195 245.897 96.1254 244.543 96.1254ZM244.543 92.1025C243.685 92.1025 242.98 92.7997 242.98 93.6652C242.98 94.5307 243.677 95.2279 244.543 95.2279C245.408 95.2279 246.106 94.5307 246.106 93.6652C246.106 92.7997 245.408 92.1025 244.543 92.1025Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M285.718 69.0304C285.469 69.0304 285.269 68.8301 285.269 68.5817V62.3549C285.269 62.1064 285.469 61.9061 285.718 61.9061C285.966 61.9061 286.167 62.1064 286.167 62.3549V68.5817C286.167 68.8301 285.966 69.0304 285.718 69.0304Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M288.827 65.921H282.601C282.352 65.921 282.152 65.7207 282.152 65.4723C282.152 65.2238 282.352 65.0235 282.601 65.0235H288.827C289.076 65.0235 289.276 65.2238 289.276 65.4723C289.276 65.7207 289.076 65.921 288.827 65.921Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M284.668 28.961C284.42 28.961 284.219 28.7606 284.219 28.5122V22.2854C284.219 22.0369 284.42 21.8366 284.668 21.8366C284.916 21.8366 285.117 22.0369 285.117 22.2854V28.5122C285.117 28.7606 284.916 28.961 284.668 28.961Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M257.573 25.9397H251.346C251.098 25.9397 250.897 25.7394 250.897 25.4909C250.897 25.2425 251.098 25.0422 251.346 25.0422H257.573C257.821 25.0422 258.022 25.2425 258.022 25.4909C258.022 25.7394 257.821 25.9397 257.573 25.9397Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M299.052 116.369H259.641C258.794 116.369 258.11 115.286 258.11 113.964C258.11 112.643 258.799 111.56 259.641 111.56H299.052C299.899 111.56 300.584 112.643 300.584 113.964C300.584 115.286 299.894 116.369 299.052 116.369ZM259.641 112.452C259.109 112.452 258.678 113.128 258.678 113.964C258.678 114.8 259.109 115.477 259.641 115.477H299.052C299.585 115.477 300.016 114.8 300.016 113.964C300.016 113.128 299.585 112.452 299.052 112.452H259.641Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M299.67 98.3373H282.056C281.511 98.3373 281.07 97.8965 281.07 97.3516C281.07 96.8066 281.511 96.3658 282.056 96.3658H299.67C300.215 96.3658 300.656 96.8066 300.656 97.3516C300.656 97.8965 300.215 98.3373 299.67 98.3373Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M278.353 163.987H249.847C249.102 163.987 248.493 163.378 248.493 162.625V143.407C248.493 142.654 249.102 142.045 249.847 142.045H278.353C279.098 142.045 279.707 142.654 279.707 143.407V162.625C279.707 163.378 279.098 163.987 278.353 163.987ZM249.847 142.558C249.383 142.558 249.006 142.935 249.006 143.407V162.625C249.006 163.09 249.383 163.474 249.847 163.474H278.353C278.818 163.474 279.194 163.098 279.194 162.625V143.407C279.194 142.943 278.818 142.558 278.353 142.558H249.847Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M279.459 146.485H248.758C248.614 146.485 248.501 146.373 248.501 146.228C248.501 146.084 248.614 145.972 248.758 145.972H279.459C279.603 145.972 279.716 146.084 279.716 146.228C279.716 146.373 279.603 146.485 279.459 146.485Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M251.675 145.339H250.048C249.904 145.339 249.792 145.227 249.792 145.082V143.455C249.792 143.311 249.904 143.199 250.048 143.199H251.675C251.82 143.199 251.932 143.311 251.932 143.455V145.082C251.932 145.227 251.82 145.339 251.675 145.339ZM250.305 144.826H251.419V143.712H250.305V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M254.832 145.339H253.206C253.061 145.339 252.949 145.227 252.949 145.082V143.455C252.949 143.311 253.061 143.199 253.206 143.199H254.832C254.977 143.199 255.089 143.311 255.089 143.455V145.082C255.089 145.227 254.977 145.339 254.832 145.339ZM253.47 144.826H254.576V143.712H253.47V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M257.99 145.339H256.363C256.219 145.339 256.107 145.227 256.107 145.082V143.455C256.107 143.311 256.219 143.199 256.363 143.199H257.99C258.134 143.199 258.247 143.311 258.247 143.455V145.082C258.247 145.227 258.134 145.339 257.99 145.339ZM256.62 144.826H257.734V143.712H256.62V144.826Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M260.138 160.445C260.082 160.445 260.026 160.429 259.978 160.389L253.542 155.036C253.486 154.987 253.446 154.915 253.446 154.835C253.446 154.755 253.478 154.683 253.542 154.635L259.633 149.57C259.745 149.482 259.905 149.498 259.994 149.602C260.082 149.714 260.066 149.875 259.962 149.963L254.103 154.835L260.306 159.988C260.418 160.076 260.426 160.237 260.338 160.349C260.29 160.413 260.218 160.445 260.138 160.445V160.445Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M268.071 160.445C267.999 160.445 267.927 160.413 267.871 160.349C267.783 160.237 267.799 160.076 267.903 159.988L274.106 154.835L268.247 149.963C268.135 149.875 268.127 149.714 268.215 149.602C268.303 149.49 268.464 149.482 268.576 149.57L274.666 154.635C274.723 154.683 274.763 154.755 274.763 154.835C274.763 154.915 274.731 154.987 274.666 155.036L268.231 160.389C268.183 160.429 268.127 160.445 268.071 160.445V160.445Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M260.883 161.599C260.883 161.599 260.802 161.591 260.77 161.575C260.642 161.511 260.594 161.359 260.658 161.23L267.037 148.512C267.101 148.384 267.254 148.336 267.382 148.4C267.51 148.464 267.558 148.616 267.494 148.745L261.115 161.463C261.067 161.551 260.979 161.607 260.883 161.607V161.599Z",fill:"#E6E6E6"}),React.createElement("path",{d:"M209.963 50.6065H83.8481C79.4484 50.6065 76.0986 54.1246 76.0986 58.5242V142.277C76.0986 142.999 76.4512 144.025 77.1725 144.025H216.63C217.352 144.025 218.506 142.999 218.506 142.277V58.5242C218.506 54.1166 214.354 50.6065 209.955 50.6065H209.963ZM215.092 141.749H78.3746V58.5242C78.3746 55.5591 80.8829 54.0204 83.84 54.0204H209.955C212.912 54.0204 215.084 55.5591 215.084 58.5242V141.749H215.092Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M85.7633 59.1173H208.055C208.777 59.1173 209.362 59.7023 209.362 60.4235V133.703C209.362 134.424 208.777 135.009 208.055 135.009H85.7633C85.042 135.009 84.457 134.424 84.457 133.703V60.4235C84.457 59.7023 85.042 59.1173 85.7633 59.1173Z",fill:"#F2F2F2"}),React.createElement("g",{filter:"url(#filter0_d_14_1273)"},React.createElement("mask",{id:"path-56-outside-1_14_1273",maskUnits:"userSpaceOnUse",x:"110.656",y:"81.2442",width:"62",height:"23",fill:"black"},React.createElement("rect",{fill:"white",x:"110.656",y:"81.2442",width:"62",height:"23"}),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z"})),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z",fill:"#2673FF"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z",fill:"#2673FF"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z",fill:"#2673FF"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z",fill:"#2673FF"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z",fill:"#2673FF"}),React.createElement("path",{d:"M119.471 98.3641C117.913 98.3641 116.547 98.0227 115.375 97.3399C114.217 96.6572 113.304 95.7146 112.636 94.5123C111.983 93.2951 111.656 91.8924 111.656 90.3042C111.656 88.7159 111.983 87.3207 112.636 86.1183C113.304 84.9012 114.217 83.9512 115.375 83.2684C116.547 82.5856 117.913 82.2442 119.471 82.2442C121.015 82.2442 122.373 82.5856 123.546 83.2684C124.718 83.9512 125.631 84.9012 126.284 86.1183C126.938 87.3207 127.264 88.7159 127.264 90.3042C127.264 91.8924 126.938 93.2951 126.284 94.5123C125.631 95.7146 124.718 96.6572 123.546 97.3399C122.373 98.0227 121.015 98.3641 119.471 98.3641ZM119.471 95.8037C120.956 95.8037 122.136 95.3138 123.011 94.3342C123.902 93.3545 124.347 92.0112 124.347 90.3042C124.347 88.5972 123.902 87.2539 123.011 86.2742C122.136 85.2945 120.956 84.8047 119.471 84.8047C117.987 84.8047 116.799 85.2945 115.909 86.2742C115.018 87.2539 114.573 88.5972 114.573 90.3042C114.573 92.0112 115.018 93.3545 115.909 94.3342C116.799 95.3138 117.987 95.8037 119.471 95.8037Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M134.567 98.3641C133.499 98.3641 132.534 98.1192 131.673 97.6294C130.827 97.1396 130.151 96.4642 129.647 95.6033C129.157 94.7275 128.912 93.7182 128.912 92.5752C128.912 91.4323 129.164 90.4303 129.669 89.5694C130.174 88.6937 130.849 88.0109 131.695 87.521C132.556 87.0312 133.521 86.7863 134.59 86.7863C135.644 86.7863 136.594 87.0312 137.44 87.521C138.3 88.0109 138.976 88.6937 139.466 89.5694C139.97 90.4303 140.223 91.4323 140.223 92.5752C140.223 93.7182 139.97 94.7275 139.466 95.6033C138.976 96.4642 138.3 97.1396 137.44 97.6294C136.579 98.1192 135.621 98.3641 134.567 98.3641ZM134.567 95.8927C135.31 95.8927 135.955 95.6181 136.504 95.0689C137.054 94.5049 137.328 93.6736 137.328 92.5752C137.328 91.4768 137.054 90.653 136.504 90.1038C135.955 89.5397 135.317 89.2577 134.59 89.2577C133.833 89.2577 133.18 89.5397 132.63 90.1038C132.096 90.653 131.829 91.4768 131.829 92.5752C131.829 93.6736 132.096 94.5049 132.63 95.0689C133.18 95.6181 133.825 95.8927 134.567 95.8927Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M142.326 102.995V87.0535H144.864L145.175 88.6343C145.532 88.1445 145.999 87.714 146.578 87.3429C147.172 86.9718 147.936 86.7863 148.871 86.7863C149.911 86.7863 150.838 87.0386 151.655 87.5433C152.471 88.048 153.117 88.7382 153.592 89.614C154.067 90.4897 154.304 91.4842 154.304 92.5975C154.304 93.7107 154.067 94.7052 153.592 95.581C153.117 96.4419 152.471 97.1247 151.655 97.6294C150.838 98.1192 149.911 98.3641 148.871 98.3641C148.04 98.3641 147.313 98.2083 146.69 97.8966C146.066 97.5849 145.561 97.147 145.175 96.5829V102.995H142.326ZM148.27 95.8705C149.176 95.8705 149.925 95.5662 150.519 94.9576C151.113 94.349 151.41 93.5623 151.41 92.5975C151.41 91.6327 151.113 90.8385 150.519 90.2151C149.925 89.5917 149.176 89.28 148.27 89.28C147.35 89.28 146.593 89.5917 145.999 90.2151C145.42 90.8237 145.131 91.6104 145.131 92.5752C145.131 93.54 145.42 94.3342 145.999 94.9576C146.593 95.5662 147.35 95.8705 148.27 95.8705Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M160.969 98.3641C159.989 98.3641 159.129 98.2083 158.386 97.8966C157.644 97.57 157.05 97.1247 156.605 96.5607C156.16 95.9966 155.893 95.3435 155.804 94.6013H158.676C158.765 95.0318 159.002 95.4029 159.388 95.7146C159.789 96.0115 160.301 96.1599 160.925 96.1599C161.548 96.1599 162.001 96.0337 162.283 95.7814C162.58 95.5291 162.728 95.2396 162.728 94.9131C162.728 94.4381 162.52 94.1189 162.105 93.9557C161.689 93.7775 161.11 93.6068 160.368 93.4436C159.893 93.3397 159.411 93.2135 158.921 93.0651C158.431 92.9166 157.978 92.7311 157.563 92.5084C157.162 92.2709 156.835 91.9741 156.583 91.6178C156.331 91.2467 156.204 90.794 156.204 90.2597C156.204 89.28 156.59 88.4562 157.362 87.7882C158.149 87.1203 159.247 86.7863 160.657 86.7863C161.964 86.7863 163.003 87.0906 163.774 87.6992C164.561 88.3077 165.029 89.1464 165.177 90.2151H162.483C162.32 89.3987 161.704 88.9905 160.635 88.9905C160.101 88.9905 159.685 89.0944 159.388 89.3023C159.106 89.5101 158.965 89.7698 158.965 90.0815C158.965 90.4081 159.18 90.6678 159.611 90.8608C160.041 91.0538 160.613 91.2319 161.325 91.3952C162.097 91.5733 162.802 91.7737 163.441 91.9963C164.094 92.2041 164.613 92.5233 164.999 92.9537C165.385 93.3693 165.578 93.9705 165.578 94.7572C165.593 95.44 165.415 96.056 165.044 96.6052C164.673 97.1544 164.138 97.5849 163.441 97.8966C162.743 98.2083 161.919 98.3641 160.969 98.3641Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"}),React.createElement("path",{d:"M168.258 93.1764L167.947 82.5114H170.997L170.663 93.1764H168.258ZM169.528 98.2528C168.993 98.2528 168.555 98.0895 168.214 97.763C167.887 97.4364 167.724 97.0431 167.724 96.5829C167.724 96.1079 167.887 95.7072 168.214 95.3806C168.555 95.0541 168.993 94.8908 169.528 94.8908C170.032 94.8908 170.448 95.0541 170.774 95.3806C171.116 95.7072 171.287 96.1079 171.287 96.5829C171.287 97.0431 171.116 97.4364 170.774 97.763C170.448 98.0895 170.032 98.2528 169.528 98.2528Z",stroke:"white",strokeWidth:"2",mask:"url(#path-56-outside-1_14_1273)"})),React.createElement("path",{d:"M216.638 156.398H77.1722C71.8109 156.398 67.4434 152.936 67.4434 148.681V142.277C67.4434 141.556 68.0284 140.971 68.7496 140.971H225.053C225.774 140.971 226.359 141.556 226.359 142.277V148.681C226.359 152.936 221.999 156.398 216.638 156.398ZM70.0559 143.584V148.681C70.0559 151.445 73.3175 153.785 77.1722 153.785H216.638C220.493 153.785 223.746 151.445 223.746 148.681V143.584H70.0559Z",fill:"#F2F2F2"}),React.createElement("path",{d:"M146.901 152.792C144.641 152.792 142.798 150.949 142.798 148.681C142.798 146.413 144.641 144.577 146.901 144.577C149.161 144.577 151.012 146.421 151.012 148.681C151.012 150.941 149.169 152.792 146.901 152.792ZM146.901 147.198C146.084 147.198 145.41 147.863 145.41 148.689C145.41 149.514 146.076 150.187 146.901 150.187C147.726 150.187 148.4 149.514 148.4 148.689C148.4 147.863 147.726 147.198 146.901 147.198Z",fill:"#F2F2F2"}),React.createElement("g",{filter:"url(#filter1_d_14_1273)"},React.createElement("path",{d:"M109.205 116.489C102.449 109.252 91.0614 108.851 83.8169 115.615C76.5803 122.371 76.1796 133.759 82.9434 141.003C89.6991 148.24 101.087 148.64 108.331 141.877C115.568 135.121 115.969 123.733 109.205 116.489ZM105.19 138.511C99.8046 143.535 91.3339 143.247 86.3092 137.862C81.2845 132.476 81.573 124.006 86.9583 118.981C92.3437 113.956 100.814 114.245 105.839 119.63C110.864 125.015 110.575 133.486 105.19 138.511Z",fill:"white"}),React.createElement("path",{d:"M110.542 128.739C110.642 120.852 104.331 114.378 96.4443 114.277C88.5579 114.177 82.0832 120.489 81.9827 128.375C81.8822 136.261 88.194 142.736 96.0804 142.836C103.967 142.937 110.441 136.625 110.542 128.739Z",fill:"#F2F2F2"}),React.createElement("path",{opacity:"0.35",d:"M87.0466 129.455C87.8566 129.455 88.5132 128.798 88.5132 127.989C88.5132 127.179 87.8566 126.522 87.0466 126.522C86.2367 126.522 85.5801 127.179 85.5801 127.989C85.5801 128.798 86.2367 129.455 87.0466 129.455Z",fill:"white"}),React.createElement("path",{d:"M108.46 116.665C101.888 109.925 91.1018 109.789 84.3621 116.36C77.6224 122.932 77.4862 133.718 84.0576 140.458C90.629 147.198 101.416 147.334 108.155 140.763C114.895 134.191 115.031 123.405 108.46 116.665ZM86.037 138.527C80.5314 132.877 80.6436 123.837 86.2934 118.332C91.9432 112.826 100.983 112.938 106.488 118.588C111.994 124.238 111.882 133.278 106.232 138.783C100.582 144.289 91.5425 144.177 86.037 138.527Z",fill:"#CCCCCC"}),React.createElement("path",{d:"M63.7582 160.244C62.1474 158.594 62.1794 155.957 63.8303 154.346L76.1477 142.341L81.9738 148.32L69.6564 160.325C68.0055 161.935 65.369 161.903 63.7582 160.252V160.244Z",fill:"#CCCCCC"}),React.createElement("path",{d:"M85.8366 142.869L81.6802 138.605C80.8337 137.737 79.4435 137.719 78.5751 138.566L76.2166 140.865C75.3483 141.711 75.3306 143.101 76.1771 143.97L80.3334 148.234C81.18 149.102 82.5702 149.12 83.4385 148.273L85.797 145.974C86.6654 145.127 86.6831 143.737 85.8366 142.869Z",fill:"#FFFFFD"})),React.createElement("defs",null,React.createElement("filter",{id:"filter0_d_14_1273",x:"110.656",y:"81.2442",width:"62.6304",height:"24.7511",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},React.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feOffset",{dx:"1",dy:"2"}),React.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.757726 0 0 0 0 0.795391 0 0 0 0 0.895833 0 0 0 1 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_14_1273"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_14_1273",result:"shape"})),React.createElement("filter",{id:"filter1_d_14_1273",x:"58.5708",y:"106.791",width:"63.4585",height:"62.7211",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},React.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),React.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),React.createElement("feOffset",{dx:"2",dy:"2"}),React.createElement("feGaussianBlur",{stdDeviation:"3"}),React.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),React.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_14_1273"}),React.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_14_1273",result:"shape"}))))};function J(e){return React.createElement("div",{className:"eb-openverse-no-data"},React.createElement(Z,null),React.createElement("p",null,(0,n.__)("We couldn't find anything","essential-blocks")),React.createElement("span",null,(0,n.__)("Try a different query or use one of the external sources to expand your search.","essential-blocks")))}function Y(e){e.data;var t=e.loading,a=e.openverseData,o=(e.q,e.setQ,e.filterData),l=e.setFilterData,i=e.setOpenverseImage,s=e.attributes,p=e.setAttributes,b=e.pagination,m=e.setPagination,u=e.totalPages,g=e.openverseError,f=e.setOpenverseModal,y=e.openverseDataFetch,h=e.openverseDataCount,v=s.searchQ,w=function(e){var t=e.target,a=t.value,n=t.checked,c=t.name,i=o.licenses,s=o.licenseType,p=o.category,b=o.extension,d=o.aspectRatio,m=o.size;if(n)switch(c){case"licenses":l({licenseType:(0,r.A)(s),licenses:[].concat((0,r.A)(i),[a]),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"licenseType":l({licenseType:[].concat((0,r.A)(s),[a]),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"category":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:[].concat((0,r.A)(p),[a]),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"extension":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:[].concat((0,r.A)(b),[a]),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"aspectRatio":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:[].concat((0,r.A)(d),[a]),size:(0,r.A)(m)});break;case"size":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:[].concat((0,r.A)(m),[a])});break;default:return!1}else switch(c){case"licenses":l({licenseType:(0,r.A)(s),licenses:i.filter(function(e){return e!==a}),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"licenseType":l({licenseType:s.filter(function(e){return e!==a}),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"category":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:p.filter(function(e){return e!==a}),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"extension":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:b.filter(function(e){return e!==a}),aspectRatio:(0,r.A)(d),size:(0,r.A)(m)});break;case"aspectRatio":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:d.filter(function(e){return e!==a}),size:(0,r.A)(m)});break;case"size":l({licenseType:(0,r.A)(s),licenses:(0,r.A)(i),category:(0,r.A)(p),extension:(0,r.A)(b),aspectRatio:(0,r.A)(d),size:m.filter(function(e){return e!==a})});break;default:return!1}},k=(0,d.useState)(null),R=(0,c.A)(k,2),_=R[0],C=R[1],E=(0,d.useState)(12),x=(0,c.A)(E,2),S=x[0],B=x[1];return e.trigger?React.createElement("div",{className:"openverse-modal"},React.createElement("div",{className:"openverse-modal__inner"},React.createElement("div",{className:"openverse-modal__header"},React.createElement("div",{className:"title-section"},(0,n.__)("Select Media","essential-blocks")),React.createElement("button",{className:"close-btn",onClick:function(){return e.setTrigger(!1)}},React.createElement("span",{className:"dashicons dashicons-no"}))),React.createElement("div",{className:"openverse-modal__content"},React.createElement(W,{setOpenverseModal:f,openverseDataFetch:y,openverseDataCount:h,loading:t,searchQ:v,setAttributes:p,componentClassName:"search-section openverse-search-section"}),React.createElement("div",{className:"search-result-section"},React.createElement("div",{className:"search-content"},React.createElement("p",{className:"search-key"},React.createElement("span",null,(0,n.__)("Search Key:","essential-blocks")," "),v),t&&React.createElement(q,{limit:S}),!t&&React.createElement(React.Fragment,null,g.status&&React.createElement("span",{className:"openverse-error"},React.createElement(J,null)),!g.status&&React.createElement(U,{data:a,selectItem:_,setSelectItem:C})),u>b&&React.createElement("button",{className:"loadmore-btn",onClick:function(){b<u&&(m(function(e){return e+1}),B(function(e){return e+12}))}},t?(0,n.__)("Loading ...","essential-blocks"):(0,n.__)("Load More","essential-blocks"))),React.createElement("div",{className:"search-filter"},React.createElement("h4",null,(0,n.__)("FILTER BY","essential-blocks")),React.createElement("form",{className:"filters-form"},React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("LICENSES","essential-blocks")),T.map(function(e,t){var a=e.icon,n=e.label,o=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"licenses",value:o,id:"licenses-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"licenses-".concat(t)},a.map(function(e){return e}),n))})),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("LICENSE TYPE","essential-blocks")),N.map(function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"licenseType",value:n,id:"licenseType-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"licenseType-".concat(t)},a))})),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("Image Type","essential-blocks")),P.map(function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"category",value:n,id:"category-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"category-".concat(t)},a))})),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("Extension","essential-blocks")),I.map(function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"extension",value:n,id:"extension-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"extension-".concat(t)},a))})),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("Aspect ratio","essential-blocks")),D.map(function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"aspectRatio",value:n,id:"aspectRatio-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"aspectRatio-".concat(t)},a))})),React.createElement("div",{className:"filter-item"},React.createElement("h5",null,(0,n.__)("Image Size","essential-blocks")),O.map(function(e,t){var a=e.label,n=e.value;return React.createElement("div",{className:"filter-item-inner",key:t},React.createElement("input",{className:"form-check-input",type:"checkbox",name:"size",value:n,id:"size-".concat(t),onChange:w}),React.createElement("label",{className:"form-check-label",htmlFor:"size-".concat(t)},a))})))))),React.createElement("div",{className:"openverse-modal__footer"},React.createElement("button",{className:"select-btn",disabled:!_,onClick:function(t){if(_){var a=new FormData;a.append("action","eb_get_item"),a.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),a.append("image_url",_.url),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:a}).then(function(e){return e.text()}).then(function(t){p({imageurl:t,imageAttr:{title:_.title,foreignUrl:_.foreign_landing_url,creator:_.creator,creatorUrl:_.creator_url,license:_.license,licenseUrl:_.license_url,licenseVersion:_.license_version}}),i(t),e.setTrigger(!1)}).catch(function(e){return console.log(e)})}}},(0,n.__)("Select","essential-blocks"))))):""}function Q(e){var t=e.attributes,a=t.imageurl,o=t.imageAttr,r=t.displayAttribution;return React.createElement(React.Fragment,null,React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:a,alt:o.title})),r&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},o.title&&React.createElement("span",null,o.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:o.foreignUrl},o.title),!o.foreignUrl&&o.title),o.creator&&React.createElement("span",null,(0,n.__)(" By ","essential-blocks"),o.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:o.creatorUrl},o.creator),!o.creatorUrl&&o.creator),o.license&&React.createElement("span",null,o.licenseUrl&&React.createElement(React.Fragment,null,(0,n.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:o.licenseUrl,className:"licensed-wrap"},o.license+" "+o.licenseVersion)),!o.licenseUrl&&o.license+" "+o.licenseVersion,(0,n.__)(" .","essential-blocks")))))}var X=function(e){return React.createElement("svg",{width:"185",height:"34",viewBox:"0 0 226 34",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{id:"logo",fill:"currentColor"},React.createElement("path",{className:"text",d:"M71.8823 17.2666C71.8823 22.7198 67.4908 27.1406 62.0737 27.1406C56.6565 27.1406 52.265 22.7198 52.265 17.2666C52.265 11.8133 56.6565 7.39258 62.0737 7.39258C67.4908 7.39258 71.8823 11.8133 71.8823 17.2666ZM65.997 17.2666C65.997 19.4479 64.2404 21.2162 62.0735 21.2162C59.9067 21.2162 58.1501 19.4479 58.1501 17.2666C58.1501 15.0853 59.9067 13.317 62.0735 13.317C64.2404 13.317 65.997 15.0853 65.997 17.2666ZM80.1463 33.6428H73.4168V7.72354H80.0975V11.0125H80.2438C80.9753 9.09804 82.7308 7.47809 85.5104 7.47809C89.2165 7.47809 92.8251 10.3253 92.8251 17.1487C92.8251 23.6776 89.4603 26.8194 85.4616 26.8194C82.8284 26.8194 81.0241 25.3958 80.2438 23.4813H80.1463V33.6428ZM82.9746 12.6816C81.1216 12.6816 80 14.3506 80 17.1487C80 19.8977 81.1216 21.6159 82.9746 21.6159C84.8277 21.6159 85.9005 19.9468 85.9005 17.1487C85.9005 14.3506 84.8277 12.6816 82.9746 12.6816ZM112.755 20.4868C112.121 24.414 108.78 26.9175 103.587 26.9175C97.589 26.9175 93.9317 23.2972 93.9317 17.1978C93.9317 11.3562 97.6378 7.47809 103.441 7.47809C109.097 7.47809 112.755 11.1475 112.755 17.1487V18.7196H100.564V19.0141C100.564 20.8304 101.734 22.1559 103.733 22.1559C105.111 22.1559 106.22 21.5545 106.61 20.4868H112.755ZM103.587 12.2398C101.941 12.2398 100.6 13.3566 100.564 14.9888H106.562C106.525 13.3688 105.257 12.2398 103.587 12.2398ZM121.2 15.9706C121.213 14.1052 122.261 12.9761 123.931 12.9761C125.626 12.9761 126.626 14.1052 126.613 15.9706V26.5739H133.343V14.547C133.355 10.448 130.783 7.47809 126.808 7.47809C124.053 7.47809 121.871 8.92623 121.054 11.3071H120.859V7.72354H114.471V26.5739H121.2V15.9706ZM146.766 7.72354H153.836L147.546 26.5739H139.743L133.453 7.72354H140.524L143.547 20.1923H143.742L146.766 7.72354ZM163.123 26.9175C168.317 26.9175 171.657 24.414 172.291 20.4868H166.147C165.757 21.5545 164.647 22.1559 163.27 22.1559C161.27 22.1559 160.1 20.8304 160.1 19.0141V18.7196H172.291V17.1487C172.291 11.1475 168.634 7.47809 162.977 7.47809C157.174 7.47809 153.468 11.3562 153.468 17.1978C153.468 23.2972 157.125 26.9175 163.123 26.9175ZM160.1 14.9888C160.136 13.3566 161.477 12.2398 163.123 12.2398C164.793 12.2398 166.061 13.3688 166.098 14.9888H160.1ZM180.737 26.5739H174.007V7.72354H180.542V11.3071H180.737C181.419 8.65624 182.98 7.47809 184.979 7.47809C185.564 7.47809 186.15 7.57627 186.686 7.73581V13.5161C186.015 13.2829 184.894 13.1725 184.199 13.1725C182.212 13.1725 180.737 14.5961 180.737 16.756V26.5739ZM204.979 13.8597C204.808 9.8712 201.517 7.47809 196.104 7.47809C190.752 7.47809 187.448 9.68712 187.472 13.6143C187.448 16.5842 189.362 18.4864 193.178 19.1614L196.494 19.7505C197.957 20.0205 198.615 20.4132 198.64 21.125C198.615 21.9104 197.725 22.3522 196.494 22.3522C194.97 22.3522 193.897 21.6895 193.714 20.4868H187.034C187.399 24.3526 190.715 26.9175 196.445 26.9175C201.626 26.9175 205.442 24.3772 205.467 20.3395C205.442 17.5537 203.589 15.9338 199.761 15.2342L195.958 14.547C194.531 14.2893 194.129 13.7738 194.153 13.2216C194.129 12.4361 195.092 11.9943 196.25 11.9943C197.579 11.9943 198.688 12.7061 198.786 13.8597H204.979ZM225.156 20.4868C224.522 24.414 221.181 26.9175 215.988 26.9175C209.99 26.9175 206.332 23.2972 206.332 17.1978C206.332 11.3562 210.039 7.47809 215.842 7.47809C221.498 7.47809 225.156 11.1475 225.156 17.1487V18.7196H212.964V19.0141C212.964 20.8304 214.135 22.1559 216.134 22.1559C217.512 22.1559 218.621 21.5545 219.011 20.4868H225.156ZM215.988 12.2398C214.342 12.2398 213.001 13.3566 212.964 14.9888H218.962C218.926 13.3688 217.658 12.2398 215.988 12.2398Z",fillRule:"evenodd"}),React.createElement("path",{className:"1-1",d:"M0.0856323 7.6075C0.0856323 11.7937 3.46313 15.215 7.64278 15.215V0C3.46313 0 0.0856323 3.4 0.0856323 7.6075Z"}),React.createElement("path",{className:"1-2",d:"M11.1047 7.6075C11.1047 11.7937 14.4822 15.215 18.6619 15.215V0C14.5033 0 11.1047 3.4 11.1047 7.6075Z"}),React.createElement("path",{className:"1-3",d:"M29.6809 15.215C33.8546 15.215 37.2381 11.809 37.2381 7.6075C37.2381 3.40599 33.8546 0 29.6809 0C25.5072 0 22.1238 3.40599 22.1238 7.6075C22.1238 11.809 25.5072 15.215 29.6809 15.215Z"}),React.createElement("path",{className:"2-1",d:"M0.0856323 26.3924C0.0856323 30.6 3.46313 34 7.64278 34V18.8062C3.46313 18.8062 0.0856323 22.2062 0.0856323 26.3924Z"}),React.createElement("path",{className:"2-2",d:"M11.1047 26.3288C11.1047 30.515 14.4822 33.9363 18.6619 33.9363V18.7425C14.5033 18.7425 11.1047 22.1425 11.1047 26.3288Z"}),React.createElement("path",{className:"2-3",d:"M29.6809 33.9362C33.8546 33.9362 37.2381 30.5302 37.2381 26.3287C37.2381 22.1272 33.8546 18.7212 29.6809 18.7212C25.5072 18.7212 22.1238 22.1272 22.1238 26.3287C22.1238 30.5302 25.5072 33.9362 29.6809 33.9362Z"})))};function $(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ee=function(e){var t=e.attributes,a=e.setAttributes,o=e.loadingApi,r=e.setLoadingApi,l=e.openverseRegError,i=e.setOpenverseRegError,s=e.setShowForm,p=t.apiInfo,b=(0,d.useState)(""),m=(0,c.A)(b,2),u=m[0],g=m[1];return(0,d.useEffect)(function(){var e;e=p.email,/\S+@\S+\.\S+/.test(e)?g(""):g("Email is invalid")},[p.email]),React.createElement("div",{className:"api-info"},React.createElement("input",{type:"mail",name:"mail-form",id:"mail-form",className:"openverse-input",placeholder:(0,n.__)("user@example.com","essential-blocks"),defaultValue:p.email?p.email:"",onChange:function(e){return function(e){var t=e.target.value;a({apiInfo:K(K({},p),{},{email:t})})}(e)}}),p.email&&u&&React.createElement("span",{className:"eb-alert-error"},u),React.createElement("input",{type:"text",id:"name",className:"openverse-input",placeholder:(0,n.__)("My amazing project","essential-blocks"),defaultValue:p.name?p.name:"",onChange:function(e){return function(e){var t=e.target.value;a({apiInfo:K(K({},p),{},{name:t})})}(e)}}),l.status&&"Error"==l.type&&React.createElement("span",{className:"eb-alert-error"},l.message),React.createElement("button",{className:"openverse-api-btn",disabled:!(p.email&&!u&&p.name),onClick:function(){r(!0);var e=new FormData;e.append("action","eb_get_registration"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),e.append("openverseEmail",p.email),e.append("openverseName",p.name),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.json()}).then(function(e){if(e.hasOwnProperty("client_id")){i({status:!0,type:"Success",message:e.msg});var t=new FormData;return t.append("action","eb_openverse_token"),t.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:t})}var a;r(!1),i({status:!0,type:"Error",message:(null==e||null===(a=e.name)||void 0===a?void 0:a[0])||(null==e?void 0:e.data)||"Something went wrong!"})}).then(function(e){return e.json()}).then(function(e){s(!1),r(!1)}).catch(function(e){return console.log(e)})}},o?(0,n.__)("Generating ........","essential-blocks"):(0,n.__)("Generate API","essential-blocks")))};function te(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?te(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):te(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ne=(0,d.memo)((0,M.withBlockContext)(z)(function(e){var t=e.attributes,a=e.setAttributes,l=(e.className,e.clientId,e.isSelected),i=(e.name,t.resOption,t.blockId),m=(t.blockMeta,t.horizontalAlign,t.verticalAlign,t.stylePreset),u=t.attributionStyle,g=t.hoverEffect,f=t.imageAlign,y=t.classHook,h=t.imageurl,v=t.apiInfo,w=t.searchQ,k=t.cover,R=(0,d.useState)(!1),_=(0,c.A)(R,2),C=_[0],E=_[1],x=(0,d.useState)({status:!1}),S=(0,c.A)(x,2),B=S[0],T=S[1],N=(0,d.useState)(!1),P=(0,c.A)(N,2),O=P[0],I=P[1],D=(0,d.useState)([]),A=(0,c.A)(D,2),j=A[0],H=A[1],z=(0,d.useState)(0),U=(0,c.A)(z,2),G=U[0],q=U[1],Z=(0,d.useState)(!0),J=(0,c.A)(Z,2),$=J[0],K=J[1],te=(0,d.useState)(""),ne=(0,c.A)(te,2),oe=(ne[0],ne[1]),re=(0,d.useState)({status:!1,type:""}),le=(0,c.A)(re,2),ce=le[0],ie=le[1],se=(0,d.useState)(!1),pe=(0,c.A)(se,2),be=pe[0],de=pe[1],me=(0,d.useState)(1),ue=(0,c.A)(me,2),ge=ue[0],fe=ue[1],ye=(0,d.useState)(1),he=(0,c.A)(ye,2),ve=he[0],we=he[1],ke=(0,d.useState)({error:!1,message:""}),Re=(0,c.A)(ke,2),_e=Re[0],Ce=Re[1],Ee=(0,d.useState)({licenseType:[],licenses:[],category:[],extension:[],aspectRatio:[],size:[]}),xe=(0,c.A)(Ee,2),Se=xe[0],Be=xe[1],Te=ae(ae({},e),{},{blockPrefix:"eb-openverse",style:React.createElement(F,e)});(0,d.useEffect)(function(){E(!0);var e=new FormData;e.append("action","openverse_email_name_DB"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);t.success&&t.data?(t.data.client_id?I(!1):I(!0),a({apiInfo:ae(ae({},v),{},{email:t.data.email,name:t.data.name})}),E(!1)):(E(!1),Ce({error:!0,message:null!=t&&t.data&&"string"==typeof t.data?t.data:"Something went wrong!"}))}).catch(function(e){return console.log(e)})},[]);var Ne=function(e){if(e){K(!0);var t=new FormData;t.append("action","eb_get_collections"),t.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),t.append("openverseQ",w),t.append("openverseFilterLicensesType",Se.licenseType),t.append("openverseFilterLicenses",Se.licenses),t.append("openverseFilterImgtype",Se.category),t.append("openverseFilterExtension",Se.extension),t.append("openverseFilterRatio",Se.aspectRatio),t.append("openverseFilterSize",Se.size),t.append("openversePage",ge),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:t}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);if(t.success){var a=JSON.parse(t.data);if(0==a.result_count)ie({status:!0,message:"We couldn't find anything."});else{var n=a.results;q(a.result_count),H(n),ie({status:!1})}we(a.page_count),K(!1)}else{var o=t.data||"Invalid Data";ie({status:!0,message:"string"==typeof o?o:"Request was throttled."}),K(!1)}}).catch(function(e){return console.log(e)})}};return(0,d.useEffect)(function(){(0,V.isEmpty)(w)||Ne(!0)},[Se]),(0,d.useEffect)(function(){if(ge>1){K(!0);var e=new FormData;e.append("action","eb_get_collections"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),e.append("openverseQ",w),e.append("openverseFilterLicensesType",Se.licenseType),e.append("openverseFilterLicenses",Se.licenses),e.append("openverseFilterImgtype",Se.category),e.append("openverseFilterExtension",Se.extension),e.append("openverseFilterRatio",Se.aspectRatio),e.append("openverseFilterSize",Se.size),e.append("openversePage",ge),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);if(t.success){var a=JSON.parse(t.data),n=a.results;we(a.page_count),H([].concat((0,r.A)(j),(0,r.A)(n))),K(!1),ie({status:!1})}else{var l="object"===(0,o.A)(t.data)?t.data:JSON.parse(t.data);ie({status:!0,message:"string"==typeof l?l:"Request was throttled."}),K(!1)}}).catch(function(e){return console.log(e)})}},[ge]),k.length?React.createElement("div",null,React.createElement("img",{src:k,alt:"openverse",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,l&&h&&React.createElement(L,e),React.createElement(s.BlockControls,null,React.createElement(s.AlignmentToolbar,{value:f,onChange:function(e){return function(e){switch(e){case"left":a({imageAlign:"0"});break;case"right":a({imageAlign:"0 0 0 auto"});break;default:a({imageAlign:"0 auto"})}}(e)},controls:["left","center","right"]})),React.createElement(M.BlockProps.Edit,Te,h&&React.createElement(React.Fragment,null,React.createElement(s.BlockControls,null,React.createElement(p.ToolbarGroup,null,React.createElement(p.ToolbarItem,null,function(){return React.createElement(p.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Replace Image","essential-blocks"),icon:b.A,onClick:function(){return de(!0)}})})))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(i," ").concat(y)},React.createElement("div",{className:"eb-openverse-wrapper ".concat(i," img-style-").concat(m," ").concat(u," ").concat(g," ").concat(h?"":"no-image"),"data-id":i},h&&React.createElement(Q,{attributes:t}),!h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"openverse-placheholderbox"},React.createElement("div",{className:"openverse-placheholderbox__label"},React.createElement(X,null)),React.createElement("div",{className:"eb-openverse-form-wrapper ".concat(C?"loading-circle":"")},O&&React.createElement(React.Fragment,null,React.createElement("div",{className:"openverse-placheholderbox__description"},(0,n.__)("Provide your Email ID & unique project Name to get access to Openverse using API, these are required field","essential-blocks"),React.createElement("span",{style:{color:"#ff0000"}},"*")),React.createElement(ee,{attributes:t,setAttributes:a,loadingApi:C,setLoadingApi:E,openverseRegError:B,setOpenverseRegError:T,setShowForm:I})),(null==_e?void 0:_e.error)&&React.createElement("div",{className:"eb-alert eb-alert-error"},_e.message),!(null!=_e&&_e.error)&&!O&&!C&&React.createElement(React.Fragment,null,B.status&&"Success"==B.type&&React.createElement("div",{className:"eb-alert eb-alert-success"},React.createElement("strong",null,"Hurray!")," You have generated an API successfully! Please verify your email to enjoy uninterrupted access to Openverse",React.createElement("span",{className:"eb-alert-warning"},"Without verifying your email you can get access to Openverse as anonymous and your search limit will be 100 requests/ day and 5 requests/ hr.")),React.createElement("div",{className:"openverse-placheholderbox__description"},(0,n.__)("Explore more than 600 million creative works","essential-blocks")),React.createElement(W,{setOpenverseModal:de,openverseDataFetch:Ne,searchQ:w,setAttributes:a,componentClassName:"openverse-search-section"}),React.createElement("p",{className:"openverse-placheholderbox__note"},"All Openverse content is under a"," ",React.createElement("a",{href:"https://creativecommons.org/licenses/"}," ","Creative Commons license")," ","or is in the public domain."))))),React.createElement(Y,{trigger:be,setTrigger:de,loading:$,openverseData:j,filterData:Se,setFilterData:Be,setOpenverseImage:oe,attributes:t,setAttributes:a,pagination:ge,setPagination:fe,totalPages:ve,openverseError:ce,setOpenverseModal:de,openverseDataFetch:Ne,openverseDataCount:G})))))}));function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const re=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},z),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,o=(t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.stylePreset),r=t.displayAttribution,l=t.attributionStyle,c=t.hoverEffect,i=t.classHook,p=t.imageurl,b=t.imageAttr;return React.createElement("div",s.useBlockProps.save(),p&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("figure",{className:"eb-openverse-wrapper ".concat(a," img-style-").concat(o," ").concat(l," ").concat(c),"data-id":a},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:p,alt:b.title})),r&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},b.title&&React.createElement("span",null,b.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:b.foreignUrl},b.title),!b.foreignUrl&&b.title),b.creator&&React.createElement("span",null,(0,n.__)(" By ","essential-blocks"),b.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:b.creatorUrl},b.creator),!b.creatorUrl&&b.creator),b.license&&React.createElement("span",null,b.licenseUrl&&React.createElement(React.Fragment,null,(0,n.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:b.licenseUrl,className:"licensed-wrap"},b.license+" "+b.licenseVersion)),!b.licenseUrl&&b.license+" "+b.licenseVersion,(0,n.__)(" .","essential-blocks")))))))}}],le=JSON.parse('{"title":"Openverse","name":"essential-blocks/openverse","category":"essential-blocks","description":"Easily search & use royalty free images, stock photos, CC-licensed images from Openverse for your website","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var ce,ie,se,pe;function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},be.apply(null,arguments)}le.name,le.category,(0,M.ebConditionalRegisterBlockType)(le,{keywords:[(0,n.__)("Openverse","essential-blocks"),(0,n.__)("Openverse block","essential-blocks"),(0,n.__)("Openverse image","essential-blocks"),(0,n.__)("EB Openverse block","essential-blocks"),(0,n.__)("eb openverse block","essential-blocks"),(0,n.__)("essential blocks","essential-blocks")],icon:function(e){return i.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),ce||(ce=i.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.75 0A1.25 1.25 0 1 0 10 5a1.25 1.25 0 0 0 0 2.5m3.75 0a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"})),ie||(ie=i.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 0 0 0 3.75v7.5a1.25 1.25 0 0 0 1.25 1.25h52.5a1.25 1.25 0 0 0 0-2.5H2.5V3.75A1.25 1.25 0 0 1 3.75 2.5h52.5a1.25 1.25 0 0 1 1.25 1.25v52.5a1.25 1.25 0 0 1-1.25 1.25H3.75a1.25 1.25 0 0 1-1.25-1.25v-40a1.25 1.25 0 0 0-2.5 0v40A3.75 3.75 0 0 0 3.75 60h52.5A3.75 3.75 0 0 0 60 56.25V3.75A3.75 3.75 0 0 0 56.25 0"})),se||(se=i.createElement("path",{fill:"#6C3BFF",d:"M32 24a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2zm-8 0a2 2 0 0 1 2-2h4v12h-4a2 2 0 0 1-2-2zm-8 0a2 2 0 0 1 2-2h4v12h-4a2 2 0 0 1-2-2zm8 14a2 2 0 0 1 2-2h4v12h-4a2 2 0 0 1-2-2zm-8 0a2 2 0 0 1 2-2h4v12h-4a2 2 0 0 1-2-2zm16 0a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2z"})))},attributes:z,edit:ne,save:function(e){var t=e.attributes,a=t.blockId,o=(t.horizontalAlign,t.verticalAlign,t.verticalAlignCap2,t.stylePreset),r=t.displayAttribution,l=t.attributionStyle,c=t.hoverEffect,i=t.classHook,s=t.imageurl,p=t.imageAttr;return React.createElement(M.BlockProps.Save,{attributes:t},s&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(i)},React.createElement("figure",{className:"eb-openverse-wrapper ".concat(a," img-style-").concat(o," ").concat(l," ").concat(c),"data-id":a},React.createElement("div",{className:"image-wrapper"},React.createElement("img",{src:s,alt:p.title})),r&&React.createElement(React.Fragment,null,React.createElement("div",{className:"image-attribution"},p.title&&React.createElement("span",null,p.foreignUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:p.foreignUrl},p.title),!p.foreignUrl&&p.title),p.creator&&React.createElement("span",null,(0,n.__)(" By ","essential-blocks"),p.creatorUrl&&React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:p.creatorUrl},p.creator),!p.creatorUrl&&p.creator),p.license&&React.createElement("span",null,p.licenseUrl&&React.createElement(React.Fragment,null,(0,n.__)(" Is licensed under ","essential-blocks"),React.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:p.licenseUrl,className:"licensed-wrap"},p.license+" "+p.licenseVersion)),!p.licenseUrl&&p.license+" "+p.licenseVersion,(0,n.__)(" .","essential-blocks")))))))},deprecated:re,example:{attributes:{cover:"".concat(null===(pe=EssentialBlocksLocalize)||void 0===pe?void 0:pe.image_url,"/block-preview/openverse.jpeg")}}})},7143:e=>{e.exports=window.wp.data},7176:(e,t,a)=>{var n,o,r=a(7723),l=a(1609);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}var i=a(8168),s=a(4467),p=a(3453),b=a(4715),d=a(7143),m=a(8468),u=a(5694),g=a(9394),f=a(6427),y=a(4997),h=lodash,v=h.times,w=(h.omit,"wrpBg_"),k="ttlBg_",R="actTlBg_",_="conBg_",C="ttlWBg_",E="wrpBds_",x="ttlBds_",S="actTlBds_",B="conBds_",T="ttlWBds_",N="iconBds_",P="wrpM_",O="wrpP_",I="ttlP_",D="ttlM_",A="conM_",M="conP_",L="ttlWM_",F="ttlWP_",j="iconP_",H="ttlMinW_",z="iconZ_",U="iconGap_",V="carZ_",G="subSpacing_",q="title_",W="subtitle_";function Z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Y=J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},align:{type:"string",default:"wide"},layout:{type:"string",default:"horizontal"},tagName:{type:"string",default:"h6"},mediaPositon:{type:"string",default:"inline"},mediaAlign:{type:"string",default:"left"},oldTabTitles:{type:"array",source:"query",selector:".tabTitles li",query:{text:{type:"string",source:"html",selector:".tab-title-text"}}},tabTitles:{type:"array",default:[{text:"Tab Title 1",id:"1",media:"icon",icon:"fas fa-home",image:"",isExpanded:!0,isDefault:!0,customId:"",enableSubtitle:!1,subtitle:""},{text:"Tab Title 2",id:"2",media:"icon",icon:"fas fa-home",image:"",isExpanded:!1,isDefault:!1,customId:"",enableSubtitle:!1,subtitle:""},{text:"Tab Title 3",id:"3",media:"icon",icon:"fas fa-home",image:"",isExpanded:!1,isDefault:!1,customId:"",enableSubtitle:!1,subtitle:""}]},tabChildCount:{type:"number",default:3},isMediaOn:{type:"boolean",default:!0},isFillTitle:{type:"boolean",default:!0},isMinHeightAsTitle:{type:"boolean",default:!0},enableResponsiveLayout:{type:"boolean",default:!1},verticalToHorizontal:{type:"string",default:"mobile"},textColor:{type:"string",default:"var(--eb-global-heading-color)"},iconColor:{type:"string",default:"var(--eb-global-heading-color)"},hvTextColor:{type:"string"},hvIconColor:{type:"string"},actTextColor:{type:"string",default:"var(--eb-global-background-color)"},actIconColor:{type:"string",default:"var(--eb-global-background-color)"},actHvTextColor:{type:"string"},actHvIconColor:{type:"string"},colorTransition:{type:"number"},actColorTransition:{type:"number"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},hvSubtitleColor:{type:"string"},actSubtitleColor:{type:"string",default:"var(--eb-global-background-color)"},actHvSubtitleColor:{type:"string"},showCaret:{type:"boolean",default:!0},caretColor:{type:"string",default:"var(--eb-global-primary-color)"},closeAllTabs:{type:"boolean",default:!1},titleAlign:{type:"string",default:"center"},iconBgColor:{type:"string"},iconhvBgColor:{type:"string"},actIconBgColor:{type:"string"},actHvIconBgColor:{type:"string"},addCaretIcon:{type:"boolean",default:!1},caretIcon:{type:"string",default:"fas fa-angle-down"}},(0,u.generateTypographyAttributes)(q,{fontSize:16})),(0,u.generateTypographyAttributes)(W,{fontSize:12})),(0,u.generateResponsiveRangeAttributes)(H,{})),(0,u.generateResponsiveRangeAttributes)(z,{defaultRange:18,noUnits:!0})),(0,u.generateResponsiveRangeAttributes)(U,{defaultRange:10,noUnits:!0})),(0,u.generateResponsiveRangeAttributes)(V,{defaultRange:8,noUnits:!0})),(0,u.generateResponsiveRangeAttributes)(G,{defaultRange:5,noUnits:!0})),(0,u.generateBackgroundAttributes)(w)),(0,u.generateBackgroundAttributes)(k,{defaultFillColor:"var(--eb-global-background-color)",noOverlay:!0,defaultBgGradient:"var(--eb-gradient-background-color)"})),(0,u.generateBackgroundAttributes)(R,{defaultFillColor:"var(--eb-global-primary-color)",noOverlay:!0,defaultBgGradient:"var(--eb-gradient-background-color)"})),(0,u.generateBackgroundAttributes)(_,{noOverlay:!0})),(0,u.generateBackgroundAttributes)(C,{noOverlay:!0})),(0,u.generateBorderShadowAttributes)(E,{})),(0,u.generateBorderShadowAttributes)(x)),(0,u.generateBorderShadowAttributes)(S)),(0,u.generateBorderShadowAttributes)(B,{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"#EEEDF0",defaultBdrStyle:"solid"})),(0,u.generateBorderShadowAttributes)(T)),(0,u.generateBorderShadowAttributes)(N)),(0,u.generateDimensionsAttributes)(P,{})),(0,u.generateDimensionsAttributes)(O)),(0,u.generateDimensionsAttributes)(I,{top:10,bottom:10,left:10,right:10})),(0,u.generateDimensionsAttributes)(D)),(0,u.generateDimensionsAttributes)(A)),(0,u.generateDimensionsAttributes)(M,{top:10,bottom:10,left:15,right:15,isLinked:!1})),(0,u.generateDimensionsAttributes)(L)),(0,u.generateDimensionsAttributes)(F)),(0,u.generateDimensionsAttributes)(j));(0,r.__)("Preset 1"),(0,r.__)("Preset 2"),(0,r.__)("Preset 3"),(0,r.__)("Preset 4");var Q=[{label:(0,r.__)("Tab & Mobile"),value:"tab"},{label:(0,r.__)("Mobile"),value:"mobile"}],X=((0,r.__)("Left"),(0,r.__)("Center"),(0,r.__)("Right"),(0,r.__)("Left"),(0,r.__)("Center"),(0,r.__)("Right"),(0,r.__)("Top"),(0,r.__)("Middle"),(0,r.__)("Bottom"),[{label:(0,r.__)("H1","essential-blocks"),value:"h1"},{label:(0,r.__)("H2","essential-blocks"),value:"h2"},{label:(0,r.__)("H3","essential-blocks"),value:"h3"},{label:(0,r.__)("H4","essential-blocks"),value:"h4"},{label:(0,r.__)("H5","essential-blocks"),value:"h5"},{label:(0,r.__)("H6","essential-blocks"),value:"h6"},{label:(0,r.__)("P","essential-blocks"),value:"p"},{label:(0,r.__)("DIV","essential-blocks"),value:"div"},{label:(0,r.__)("SPAN","essential-blocks"),value:"span"}]),$=((0,r.__)("Fill"),(0,r.__)("Gradient"),(0,r.__)("Image"),(0,r.__)("Auto"),(0,r.__)("Cover"),(0,r.__)("Contain"),(0,r.__)("None"),(0,r.__)("Dashed"),(0,r.__)("Solid"),(0,r.__)("Dotted"),(0,r.__)("Double"),(0,r.__)("Groove"),(0,r.__)("Inset"),(0,r.__)("Outset"),(0,r.__)("Ridge"),(0,r.__)("Select Hover Effect","essential-blocks"),(0,r.__)("Grow","essential-blocks"),(0,r.__)("Shrink","essential-blocks"),(0,r.__)("Pulse","essential-blocks"),(0,r.__)("Pulse Grow","essential-blocks"),(0,r.__)("Pulse Shrink","essential-blocks"),(0,r.__)("Push","essential-blocks"),(0,r.__)("Pop","essential-blocks"),(0,r.__)("Bounce In","essential-blocks"),(0,r.__)("Bounce Out","essential-blocks"),(0,r.__)("Rotate","essential-blocks"),(0,r.__)("Grow Rotate","essential-blocks"),(0,r.__)("Float","essential-blocks"),(0,r.__)("Sink","essential-blocks"),(0,r.__)("Bob","essential-blocks"),(0,r.__)("Hang","essential-blocks"),(0,r.__)("Skew","essential-blocks"),(0,r.__)("Skew Forward","essential-blocks"),(0,r.__)("Skew Backward","essential-blocks"),(0,r.__)("Wobble Horizontal","essential-blocks"),(0,r.__)("Wobble Vertical","essential-blocks"),(0,r.__)("Wobble To Bottom Right","essential-blocks"),(0,r.__)("Wobble To Top Right","essential-blocks"),(0,r.__)("Wobble Top","essential-blocks"),(0,r.__)("Wobble Bottom","essential-blocks"),(0,r.__)("Wobble Skew","essential-blocks"),(0,r.__)("Buzz","essential-blocks"),(0,r.__)("Buzz Out","essential-blocks"),(0,r.__)("Forward","essential-blocks"),(0,r.__)("Fade","essential-blocks"),(0,r.__)("Back Pulse","essential-blocks"),(0,r.__)("Sweep To Right","essential-blocks"),(0,r.__)("Sweep To Left","essential-blocks"),(0,r.__)("Sweep To Bottom","essential-blocks"),(0,r.__)("Sweep To Top","essential-blocks"),(0,r.__)("Bounce To Right","essential-blocks"),(0,r.__)("Bounce To Left","essential-blocks"),(0,r.__)("Bounce To Bottom","essential-blocks"),(0,r.__)("Bounce To Top","essential-blocks"),(0,r.__)("Radial Out","essential-blocks"),(0,r.__)("Radial In","essential-blocks"),(0,r.__)("Rectangle In","essential-blocks"),(0,r.__)("Rectangle Out","essential-blocks"),(0,r.__)("Shutter In Horizontal","essential-blocks"),(0,r.__)("Shutter Out Horizontal","essential-blocks"),(0,r.__)("Shutter In Vertical","essential-blocks"),(0,r.__)("Shutter Out Vertical","essential-blocks"),(0,r.__)("Curl Top Left","essential-blocks"),(0,r.__)("Curl Top Right","essential-blocks"),(0,r.__)("Curl Bottom Right","essential-blocks"),(0,r.__)("Curl Bottom Left","essential-blocks"),[{label:(0,r.__)("Left","essential-blocks"),value:"flex-start"},{label:(0,r.__)("Center","essential-blocks"),value:"center"},{label:(0,r.__)("Right","essential-blocks"),value:"flex-end"}]);function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const te=function(e){var t,a=e.attributes,n=e.setAttributes,o=e.clientId,l=e.handleTabTitleClick,c=a.blockId,i=a.tabTitles,s=a.tabChildCount,b=a.isMediaOn,h=a.layout,Z=a.mediaPositon,J=a.mediaAlign,K=a.textColor,te=a.iconColor,ae=a.hvTextColor,ne=a.hvIconColor,oe=a.actTextColor,re=a.actIconColor,le=a.actHvTextColor,ce=a.actHvIconColor,ie=a.colorTransition,se=a.actColorTransition,pe=a.showCaret,be=a.caretColor,de=a.isFillTitle,me=a.isMinHeightAsTitle,ue=a.enableResponsiveLayout,ge=a.verticalToHorizontal,fe=a.tagName,ye=a.closeAllTabs,he=a.subtitleColor,ve=a.hvSubtitleColor,we=a.actSubtitleColor,ke=a.actHvSubtitleColor,Re=a.iconBgColor,_e=a.iconhvBgColor,Ce=a.actIconBgColor,Ee=a.actHvIconBgColor,xe=a.titleAlign,Se=a.addCaretIcon,Be=a.caretIcon,Te=(0,m.useState)("normal"),Ne=(0,p.A)(Te,2),Pe=Ne[0],Oe=Ne[1],Ie=(0,m.useState)("normal"),De=(0,p.A)(Ie,2),Ae=De[0],Me=De[1];return React.createElement(React.Fragment,null,React.createElement(u.InspectorPanel,{advancedControlProps:{marginPrefix:P,paddingPrefix:O,backgroundPrefix:w,borderPrefix:E,hasMargin:!0}},React.createElement(u.InspectorPanel.General,null,React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Tabs List","essential-blocks"),initialOpen:!0},React.createElement(u.SortControl,{items:a.tabTitles,labelKey:"text",onSortEnd:function(e){return n({tabTitles:e})},onDeleteItem:function(e){return function(e){!function(e,t,a,n){var o,r=(0,d.dispatch)("core/block-editor"),l=r.removeBlock,c=r.updateBlockAttributes,i=r.selectBlock,s=(0,d.select)("core/block-editor").getBlocks(e),p=(null===(o=s[n])||void 0===o?void 0:o.clientId)||!1,b=s.filter(function(e,t){return t!==n});v(b.length,function(e){c(b[e].clientId)}),p&&(c(p,{lock:{move:!1,remove:!1}}),l(p),i(e));var m=a.filter(function(e,t){return t!==n});t({tabTitles:m,tabChildCount:m?m.length:0})}(o,n,i,e)}(e)},hasSettings:!0,settingsComponents:(t=function(e,t,o){var r=ee({},a.tabTitles[o]),l=(0,g.A)(a.tabTitles);l[o]=r,Array.isArray(e)?e.map(function(e,a){l[o][e]=t[a]}):l[o][e]=t,n({tabTitles:l})},a.tabTitles.map(function(e,o){return React.createElement("div",{key:o},React.createElement(f.ToggleControl,{label:(0,r.__)("Active Initially","essential-blocks"),checked:e.isDefault||!1,onChange:function(){var t,o;t=e.id,o=a.tabTitles.map(function(e){return ee(ee({},e),{},{isDefault:e.id===t})}),n({tabTitles:o})}}),React.createElement(f.ButtonGroup,null,[{label:(0,r.__)("None","essential-blocks"),value:"none"},{label:(0,r.__)("Icon","essential-blocks"),value:"icon"},{label:(0,r.__)("Image","essential-blocks"),value:"image"}].map(function(a,n){return React.createElement(f.Button,{key:n,isSecondary:e.media!==a.value,isPrimary:e.media===a.value,onClick:function(){t("media",a.value,o)}},a.label)})),"icon"===e.media&&React.createElement("div",null,React.createElement("label",null,"Icon"),React.createElement(u.EBIconPicker,{value:e.icon,onChange:function(e){return t("icon",e,o)},title:""})),"image"===e.media&&React.createElement(u.ImageComponent.GeneralTab,{onSelect:function(e){var a=e.id,n=e.url;t(["imgId","imgUrl"],[a,n],o)},value:e.imgUrl,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),React.createElement(f.TextControl,{label:(0,r.__)("Custom ID","essential-blocks"),value:e.customId,onChange:function(e){return t("customId",e,o)},help:(0,r.__)("Custom ID will be added as an anchor tag. For example, if you add ‘test’ as your custom ID, the link will become like the following: https://www.example.com/#test and it will open the respective tab directly.","essential-blocks")}),React.createElement(f.ToggleControl,{label:(0,r.__)("Enable Subtitle","essential-blocks"),checked:e.enableSubtitle||!1,onChange:function(e){return t("enableSubtitle",e,o)}}),e.enableSubtitle&&React.createElement(u.EBTextControl,{label:(0,r.__)("Subtitle","essential-blocks"),value:e.subtitle||"",onChange:function(e){return t("subtitle",e,o)},placeholder:(0,r.__)("Enter subtitle text...","essential-blocks"),enableAi:!0,aiContentType:"text"}))})),hasAddButton:!0,onAddItem:function(){!function(e){var t=e.clientId,a=e.tabChildCount,n=e.setAttributes,o=e.tabTitles,r=e.blockId,l=e.handleTabTitleClick,c=(0,d.dispatch)("core/block-editor"),i=c.replaceInnerBlocks,s=(c.selectBlock,(0,g.A)((0,d.select)("core/block-editor").getBlocks(t))),p=o.reduce(function(e,t){return Math.max(parseInt(e),parseInt(t.id))},0),b="".concat(p+1),m=(0,y.createBlock)("essential-blocks/tab",{tabId:b,tabParentId:"".concat(r)});s.splice(s.length,0,m),i(t,s).then(function(){n({tabTitles:[].concat((0,g.A)(o),[{text:"Tab Title ".concat(parseInt(s.length)),id:b,media:"icon",icon:"fas fa-home",enableSubtitle:!1,subtitle:""}]),tabChildCount:a+1}),l(b)})}({setAttributes:n,tabChildCount:s,clientId:o,tabTitles:i,blockId:c,handleTabTitleClick:l})},addButtonText:(0,r.__)("Add Tab","essential-blocks")})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Tabs Settings","essential-blocks"),initialOpen:!1},React.createElement(f.BaseControl,{label:(0,r.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(f.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},X.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:fe===e.value,isSecondary:fe!==e.value,onClick:function(){return n({tagName:e.value})}},e.label)}))),React.createElement(f.SelectControl,{label:(0,r.__)("Tabs Layout","essential-blocks"),value:h,options:[{label:(0,r.__)("Horizontal","essential-blocks"),value:"horizontal"},{label:(0,r.__)("Vertical","essential-blocks"),value:"vertical"}],onChange:function(e){return function(e){n({layout:e})}(e)}}),"horizontal"===h&&React.createElement(React.Fragment,null,React.createElement(f.ToggleControl,{label:(0,r.__)("Fill Titles' Wrapper","essential-blocks"),checked:de,onChange:function(){return n({isFillTitle:!de})}})),"vertical"===h&&React.createElement(React.Fragment,null,React.createElement(f.ToggleControl,{label:(0,r.__)("Enable Responsive Layout","essential-blocks"),checked:ue,onChange:function(){return n({enableResponsiveLayout:!ue})}}),React.createElement(f.PanelRow,{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Enable this option to switch the layout from vertical to horizontal on responsive devices."),ue&&React.createElement(f.BaseControl,{label:(0,r.__)("Select Devices for Horizontal Layout","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(f.ButtonGroup,{className:"eb-advance-heading-alignment eb-verticaltohorizontal-buttongroup"},Q.map(function(e,t){return React.createElement(f.Button,{key:t,isPrimary:ge===e.value,isSecondary:ge!==e.value,onClick:function(){return n({verticalToHorizontal:e.value})}},e.label)}))),React.createElement(f.ToggleControl,{label:(0,r.__)("Minimum Height Based on Tabs Heading Panel","essential-blocks"),checked:me,onChange:function(){return n({isMinHeightAsTitle:!me})}}),React.createElement(f.PanelRow,{className:"eb-instruction"},React.createElement("strong",null,"Note:")," When enabled, the tab content will have a minimum height equal to the height of the heading panel.")),React.createElement(f.ToggleControl,{label:(0,r.__)("Enable Icon","essential-blocks"),checked:b,onChange:function(){return n({isMediaOn:!b})}}),React.createElement(f.ToggleControl,{label:(0,r.__)("Close All Tabs Initially","essential-blocks"),checked:ye,onChange:function(){return n({closeAllTabs:!ye})}}),b&&React.createElement(React.Fragment,null,React.createElement(f.SelectControl,{label:(0,r.__)("Icon Layout","essential-blocks"),value:Z,options:[{label:(0,r.__)("Stacked","essential-blocks"),value:"stacked"},{label:(0,r.__)("Inline","essential-blocks"),value:"inline"}],onChange:function(e){return n({mediaPositon:e})}}),"inline"===Z&&React.createElement(React.Fragment,null,React.createElement(f.ButtonGroup,{id:"eb-advTabs-type-btgrp"},[{label:(0,r.__)("Left","essential-blocks"),value:"left"},{label:(0,r.__)("Right","essential-blocks"),value:"right"}].map(function(e,t){return React.createElement(f.Button,{key:t,isSecondary:J!==e.value,isPrimary:J===e.value,onClick:function(){return n({mediaAlign:e.value})}},e.label)})),React.createElement("label",{style:{display:"block"}},React.createElement("i",null,(0,r.__)("Set icon position before / after the tab title.","essentail-blocks"))))))),React.createElement(u.InspectorPanel.Style,null,React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Tab Title","essential-blocks")},React.createElement(u.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:q}),React.createElement(u.ResponsiveRangeController,{baseLabel:(0,r.__)("Title Min Width","essential-blocks"),controlName:H,min:0,max:1e3,step:1,units:[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"}]}),React.createElement(f.BaseControl,{label:(0,r.__)("Alignment","essential-blocks"),id:"eb-advTabs-type-btgrp"},React.createElement(f.ButtonGroup,{id:"eb-advTabs-type-btgrp"},$.map(function(e,t){return React.createElement(f.Button,{key:t,isSecondary:xe!==e.value,isPrimary:xe===e.value,onClick:function(){return n({titleAlign:e.value})}},e.label)}))),React.createElement(u.ResponsiveDimensionsControl,{controlName:I,baseLabel:(0,r.__)("Padding","essential-blocks")}),React.createElement(u.ResponsiveDimensionsControl,{controlName:D,baseLabel:(0,r.__)("Margin","essential-blocks")}),React.createElement(f.__experimentalDivider,null),React.createElement(u.ResponsiveRangeController,{baseLabel:(0,r.__)("Icon Size","essential-blocks"),controlName:z,min:0,max:200,step:1,noUnits:!0}),React.createElement(u.ResponsiveRangeController,{baseLabel:(0,r.__)("Icon Gap","essential-blocks"),controlName:U,min:0,max:200,step:1,noUnits:!0}),React.createElement(u.ResponsiveDimensionsControl,{controlName:j,baseLabel:(0,r.__)("Icon Padding","essential-blocks")}),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(f.BaseControl,null,React.createElement(f.ButtonGroup,null,[{label:(0,r.__)("Normal","essential-blocks"),value:"normal"},{label:(0,r.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(f.Button,{key:t,isPrimary:Pe===a,isSecondary:Pe!==a,onClick:function(){return Oe(a)}},n)}))),"normal"===Pe&&React.createElement(React.Fragment,null,React.createElement(u.ColorControl,{label:(0,r.__)("Text","essential-blocks"),defaultColor:Y.textColor.default,color:K,onChange:function(e){return n({textColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon","essential-blocks"),defaultColor:Y.iconColor.default,color:te,onChange:function(e){return n({iconColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),defaultColor:Y.iconBgColor.default,color:Re,onChange:function(e){return n({iconBgColor:e})}})),"hover"===Pe&&React.createElement(React.Fragment,null,React.createElement(u.ColorControl,{label:(0,r.__)("Text","essential-blocks"),defaultColor:Y.hvTextColor.default,color:ae,onChange:function(e){return n({hvTextColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon","essential-blocks"),defaultColor:Y.hvIconColor.default,color:ne,onChange:function(e){return n({hvIconColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),defaultColor:Y.iconhvBgColor.default,color:_e,onChange:function(e){return n({iconhvBgColor:e})}}),React.createElement(f.RangeControl,{value:ie,onChange:function(e){return n({colorTransition:e})},step:.1,min:0,max:5}))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(u.BackgroundControl,{controlName:k,noOverlay:!0})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Border & Shadow"),initialOpen:!1},React.createElement(u.BorderShadowControl,{controlName:x})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(f.BaseControl,null,React.createElement(f.ButtonGroup,null,[{label:(0,r.__)("Normal","essential-blocks"),value:"normal"},{label:(0,r.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(f.Button,{key:t,isPrimary:Ae===a,isSecondary:Ae!==a,onClick:function(){return Me(a)}},n)}))),"normal"===Ae&&React.createElement(React.Fragment,null,React.createElement(u.ColorControl,{label:(0,r.__)("Text","essential-blocks"),defaultColor:Y.actTextColor.default,color:oe,onChange:function(e){return n({actTextColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon","essential-blocks"),defaultColor:Y.actIconColor.default,color:re,onChange:function(e){return n({actIconColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),defaultColor:Y.actIconBgColor.default,color:Ce,onChange:function(e){return n({actIconBgColor:e})}})),"hover"===Ae&&React.createElement(React.Fragment,null,React.createElement(u.ColorControl,{label:(0,r.__)("Text","essential-blocks"),defaultColor:Y.actHvTextColor.default,color:le,onChange:function(e){return n({actHvTextColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon","essential-blocks"),defaultColor:Y.actHvIconColor.default,color:ce,onChange:function(e){return n({actHvIconColor:e})}}),React.createElement(u.ColorControl,{label:(0,r.__)("Icon Background","essential-blocks"),defaultColor:Y.actHvIconBgColor.default,color:Ee,onChange:function(e){return n({actHvIconBgColor:e})}}),React.createElement(f.BaseControl,{label:(0,r.__)("Transition","essential-blocks")},React.createElement(f.RangeControl,{value:se,onChange:function(e){return n({actColorTransition:e})},step:.1,min:0,max:5})))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Active Background","essential-blocks"),initialOpen:!1},React.createElement(u.BackgroundControl,{controlName:R,noOverlay:!0})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Active Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(u.BorderShadowControl,{controlName:S})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Icon Border","essential-blocks"),initialOpen:!1},React.createElement(u.BorderShadowControl,{controlName:N}))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Tab Subtitle","essential-blocks"),initialOpen:!1},React.createElement(u.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:W}),React.createElement(u.ResponsiveRangeController,{baseLabel:(0,r.__)("Subtitle Top Spacing","essential-blocks"),controlName:G,min:0,max:100,step:1,noUnits:!0}),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(f.BaseControl,null,React.createElement(f.ButtonGroup,null,[{label:(0,r.__)("Normal","essential-blocks"),value:"normal"},{label:(0,r.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(f.Button,{key:t,isPrimary:Pe===a,isSecondary:Pe!==a,onClick:function(){return Oe(a)}},n)}))),"normal"===Pe&&React.createElement(u.ColorControl,{label:(0,r.__)("Subtitle","essential-blocks"),defaultColor:Y.subtitleColor.default,color:he,onChange:function(e){return n({subtitleColor:e})}}),"hover"===Pe&&React.createElement(u.ColorControl,{label:(0,r.__)("Subtitle","essential-blocks"),defaultColor:Y.hvSubtitleColor.default,color:ve,onChange:function(e){return n({hvSubtitleColor:e})}})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(f.BaseControl,null,React.createElement(f.ButtonGroup,null,[{label:(0,r.__)("Normal","essential-blocks"),value:"normal"},{label:(0,r.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(f.Button,{key:t,isPrimary:Ae===a,isSecondary:Ae!==a,onClick:function(){return Me(a)}},n)}))),"normal"===Ae&&React.createElement(u.ColorControl,{label:(0,r.__)("Subtitle","essential-blocks"),defaultColor:Y.actSubtitleColor.default,color:we,onChange:function(e){return n({actSubtitleColor:e})}}),"hover"===Ae&&React.createElement(u.ColorControl,{label:(0,r.__)("Subtitle","essential-blocks"),defaultColor:Y.actHvSubtitleColor.default,color:ke,onChange:function(e){return n({actHvSubtitleColor:e})}}))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Tab Titles' Wrapper","essential-blocks"),initialOpen:!1},React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Margin Padding","essential-blocks")},React.createElement(u.ResponsiveDimensionsControl,{controlName:L,baseLabel:(0,r.__)("Margin","essential-blocks")}),React.createElement(u.ResponsiveDimensionsControl,{controlName:F,baseLabel:(0,r.__)("Padding","essential-blocks")})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(u.BackgroundControl,{controlName:C,noOverlay:!0})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(u.BorderShadowControl,{controlName:T}))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Margin Padding","essential-blocks")},React.createElement(u.ResponsiveDimensionsControl,{controlName:A,baseLabel:(0,r.__)("Margin","essential-blocks")}),React.createElement(u.ResponsiveDimensionsControl,{controlName:M,baseLabel:(0,r.__)("Padding","essential-blocks")})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(u.BackgroundControl,{controlName:_,noOverlay:!0})),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(u.BorderShadowControl,{controlName:B}))),React.createElement(u.InspectorPanel.PanelBody,{title:(0,r.__)("Caret","essential-blocks"),initialOpen:!1},React.createElement(f.ToggleControl,{label:(0,r.__)("Show Caret on Active Tab","essential-blocks"),checked:pe,onChange:function(){return n({showCaret:!pe})}}),pe&&React.createElement(React.Fragment,null,React.createElement(f.ToggleControl,{label:(0,r.__)("Add Caret Icon","essential-blocks"),checked:Se,onChange:function(){return n({addCaretIcon:!Se})}}),Se&&React.createElement(u.EBIconPicker,{value:Be,onChange:function(e){return n({caretIcon:e})},title:(0,r.__)("Caret Icon","essential-blocks")}),React.createElement(f.__experimentalDivider,null),React.createElement(u.ResponsiveRangeController,{baseLabel:(0,r.__)("Caret Size","essential-blocks"),controlName:V,min:0,max:100,step:1,noUnits:!0}),React.createElement(u.ColorControl,{label:(0,r.__)("Caret Color","essential-blocks"),defaultColor:Y.caretColor.default,color:be,onChange:function(e){return n({caretColor:e})}}))))))};function ae(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isClickTab,r=(t.resOption,t.blockMeta,t.blockId),l=t.layout,c=t.mediaPositon,i=t.mediaAlign,s=t.iconColor,p=t.hvIconColor,b=t.textColor,d=t.hvTextColor,m=t.actIconColor,g=t.actHvIconColor,f=t.actTextColor,y=t.actHvTextColor,h=t.colorTransition,v=t.actColorTransition,Z=t.showCaret,J=t.caretColor,Y=t.carZ_Range,Q=t.TABcarZ_Range,X=void 0===Q?Y:Q,$=t.MOBcarZ_Range,K=void 0===$?X||Y:$,ee=t.isFillTitle,te=t.enableResponsiveLayout,ae=t.verticalToHorizontal,ne=t.subtitleColor,oe=t.hvSubtitleColor,re=t.actSubtitleColor,le=t.actHvSubtitleColor,ce=t.iconBgColor,ie=t.iconhvBgColor,se=t.actIconBgColor,pe=t.actHvIconBgColor,be=t.titleAlign,de=t.addCaretIcon,me=t.caretIcon,ue=(0,u.generateTypographyStyles)({attributes:t,prefixConstant:q}),ge=ue.typoStylesDesktop,fe=ue.typoStylesTab,ye=ue.typoStylesMobile,he=(0,u.generateTypographyStyles)({attributes:t,prefixConstant:W}),ve=he.typoStylesDesktop,we=he.typoStylesTab,ke=he.typoStylesMobile,Re=(0,u.generateResponsiveRangeStyles)({controlName:H,property:"min-width",attributes:t}),_e=Re.rangeStylesDesktop,Ce=Re.rangeStylesTab,Ee=Re.rangeStylesMobile,xe=(0,u.generateResponsiveRangeStyles)({controlName:z,property:"font-size",attributes:t,customUnit:"px"}),Se=xe.rangeStylesDesktop,Be=xe.rangeStylesTab,Te=xe.rangeStylesMobile,Ne=(0,u.generateResponsiveRangeStyles)({controlName:z,property:"width",attributes:t,customUnit:"px"}),Pe=Ne.rangeStylesDesktop,Oe=Ne.rangeStylesTab,Ie=Ne.rangeStylesMobile,De=(0,u.generateResponsiveRangeStyles)({controlName:z,property:"height",attributes:t,customUnit:"px"}),Ae=De.rangeStylesDesktop,Me=De.rangeStylesTab,Le=De.rangeStylesMobile,Fe=(0,u.generateResponsiveRangeStyles)({controlName:z,property:"width",attributes:t,customUnit:"px"}),je=Fe.rangeStylesDesktop,He=Fe.rangeStylesTab,ze=Fe.rangeStylesMobile,Ue=(0,u.generateResponsiveRangeStyles)({controlName:U,property:"gap",attributes:t,customUnit:"px"}),Ve=Ue.rangeStylesDesktop,Ge=Ue.rangeStylesTab,qe=Ue.rangeStylesMobile,We=(0,u.generateResponsiveRangeStyles)({controlName:G,property:"margin-top",attributes:t,customUnit:"px"}),Ze=We.rangeStylesDesktop,Je=We.rangeStylesTab,Ye=We.rangeStylesMobile,Qe=(0,u.generateBackgroundControlStyles)({attributes:t,controlName:w}),Xe=Qe.backgroundStylesDesktop,$e=Qe.hoverBackgroundStylesDesktop,Ke=Qe.backgroundStylesTab,et=Qe.hoverBackgroundStylesTab,tt=Qe.backgroundStylesMobile,at=Qe.hoverBackgroundStylesMobile,nt=Qe.overlayStylesDesktop,ot=Qe.hoverOverlayStylesDesktop,rt=Qe.overlayStylesTab,lt=Qe.hoverOverlayStylesTab,ct=Qe.overlayStylesMobile,it=Qe.hoverOverlayStylesMobile,st=Qe.bgTransitionStyle,pt=Qe.ovlTransitionStyle,bt=(0,u.generateBackgroundControlStyles)({attributes:t,controlName:k,noOverlay:!0}),dt=bt.backgroundStylesDesktop,mt=bt.hoverBackgroundStylesDesktop,ut=bt.backgroundStylesTab,gt=bt.hoverBackgroundStylesTab,ft=bt.backgroundStylesMobile,yt=bt.hoverBackgroundStylesMobile,ht=bt.bgTransitionStyle,vt=(0,u.generateBackgroundControlStyles)({attributes:t,controlName:R,noOverlay:!0}),wt=vt.backgroundStylesDesktop,kt=vt.hoverBackgroundStylesDesktop,Rt=vt.backgroundStylesTab,_t=vt.hoverBackgroundStylesTab,Ct=vt.backgroundStylesMobile,Et=vt.hoverBackgroundStylesMobile,xt=vt.bgTransitionStyle,St=(0,u.generateBackgroundControlStyles)({attributes:t,controlName:_,noOverlay:!0}),Bt=St.backgroundStylesDesktop,Tt=St.hoverBackgroundStylesDesktop,Nt=St.backgroundStylesTab,Pt=St.hoverBackgroundStylesTab,Ot=St.backgroundStylesMobile,It=St.hoverBackgroundStylesMobile,Dt=(St.bgTransitionStyle,(0,u.generateBackgroundControlStyles)({attributes:t,controlName:C,noOverlay:!0})),At=Dt.backgroundStylesDesktop,Mt=Dt.hoverBackgroundStylesDesktop,Lt=Dt.backgroundStylesTab,Ft=Dt.hoverBackgroundStylesTab,jt=Dt.backgroundStylesMobile,Ht=Dt.hoverBackgroundStylesMobile,zt=Dt.bgTransitionStyle,Ut=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:P,styleFor:"margin"}),Vt=Ut.dimensionStylesDesktop,Gt=Ut.dimensionStylesTab,qt=Ut.dimensionStylesMobile,Wt=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:O,styleFor:"padding"}),Zt=Wt.dimensionStylesDesktop,Jt=Wt.dimensionStylesTab,Yt=Wt.dimensionStylesMobile,Qt=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:D,styleFor:"margin"}),Xt=Qt.dimensionStylesDesktop,$t=Qt.dimensionStylesTab,Kt=Qt.dimensionStylesMobile,ea=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:I,styleFor:"padding"}),ta=ea.dimensionStylesDesktop,aa=ea.dimensionStylesTab,na=ea.dimensionStylesMobile,oa=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:A,styleFor:"margin"}),ra=oa.dimensionStylesDesktop,la=oa.dimensionStylesTab,ca=oa.dimensionStylesMobile,ia=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:M,styleFor:"padding"}),sa=ia.dimensionStylesDesktop,pa=ia.dimensionStylesTab,ba=ia.dimensionStylesMobile,da=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:L,styleFor:"margin"}),ma=da.dimensionStylesDesktop,ua=da.dimensionStylesTab,ga=da.dimensionStylesMobile,fa=(0,u.generateDimensionsControlStyles)({attributes:t,controlName:F,styleFor:"padding"}),ya=fa.dimensionStylesDesktop,ha=fa.dimensionStylesTab,va=fa.dimensionStylesMobile,wa=(0,u.generateBorderShadowStyles)({controlName:E,attributes:t}),ka=wa.styesDesktop,Ra=wa.styesTab,_a=wa.styesMobile,Ca=wa.stylesHoverDesktop,Ea=wa.stylesHoverTab,xa=wa.stylesHoverMobile,Sa=wa.transitionStyle,Ba=(0,u.generateBorderShadowStyles)({controlName:x,attributes:t}),Ta=Ba.styesDesktop,Na=Ba.styesTab,Pa=Ba.styesMobile,Oa=Ba.stylesHoverDesktop,Ia=Ba.stylesHoverTab,Da=Ba.stylesHoverMobile,Aa=Ba.transitionStyle,Ma=(0,u.generateBorderShadowStyles)({controlName:S,attributes:t}),La=Ma.styesDesktop,Fa=Ma.styesTab,ja=Ma.styesMobile,Ha=Ma.stylesHoverDesktop,za=Ma.stylesHoverTab,Ua=Ma.stylesHoverMobile,Va=Ma.transitionStyle,Ga=(0,u.generateBorderShadowStyles)({controlName:B,attributes:t}),qa=Ga.styesDesktop,Wa=Ga.styesTab,Za=Ga.styesMobile,Ja=Ga.stylesHoverDesktop,Ya=Ga.stylesHoverTab,Qa=Ga.stylesHoverMobile,Xa=(Ga.transitionStyle,(0,u.generateBorderShadowStyles)({controlName:T,attributes:t})),$a=Xa.styesDesktop,Ka=Xa.styesTab,en=Xa.styesMobile,tn=Xa.stylesHoverDesktop,an=Xa.stylesHoverTab,nn=Xa.stylesHoverMobile,on=Xa.transitionStyle,rn=(0,u.generateBorderShadowStyles)({controlName:N,attributes:t}),ln=rn.styesDesktop,cn=rn.styesTab,sn=rn.styesMobile,pn=rn.stylesHoverDesktop,bn=(rn.stylesHoverTab,rn.stylesHoverMobile,rn.transitionStyle,(0,u.generateDimensionsControlStyles)({attributes:t,controlName:j,styleFor:"padding"})),dn=bn.dimensionStylesDesktop,mn=bn.dimensionStylesTab,un=bn.dimensionStylesMobile,gn=(0,u.generateResponsiveRangeStyles)({attributes:t,controlName:V,property:"font-size",customUnit:"px"}),fn=gn.rangeStylesDesktop,yn=gn.rangeStylesTab,hn=gn.rangeStylesMobile,vn=(0,u.softMinifyCssStrings)("\n\n\t\t.".concat(r,".eb-advanced-tabs-wrapper > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper{\n\t\t\tdisplay:flex;\n\t\t\tflex-direction:").concat("horizontal"===l?"column":"row",";\n\t\t\t").concat(Vt,"\n\t\t\t").concat(Zt,"\n\t\t\t").concat(Xe,"\n\t\t\t").concat(ka,"\n\t\t\ttransition: all .5s, ").concat(st,", ").concat(Sa,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat($e,"\n\t\t\t").concat(Ca,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(nt,"\n\t\t\ttransition: all .5s, ").concat(pt,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(ot,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n\t\t\tdisplay: flex;\n\t\t\tlist-style-type: none;\n\t\t\tflex-wrap:wrap;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tflex-direction:').concat("horizontal"===l?"row":"column",";\n\t\t\t").concat(ma,"\n\t\t\t").concat(ya,"\n\t\t\t").concat($a,"\n\t\t\t").concat(At,"\n\n\t\t\ttransition: ").concat(on,", ").concat(zt,";\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Mt,"\n\t\t\t").concat(tn,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: ').concat(be,";\n\t\t\talign-items: center;\n\t\t\tcursor:pointer;\n\t\t\ttext-align: center;\n\t\t\tposition:relative;\n\t\t\t").concat(ee?"flex: 1;":"","\n\t\t\t").concat("inline"===c?"left"===i?"flex-direction: row;":"flex-direction: row-reverse;":"flex-direction: column;","\n\t\t\t").concat(Xt,"\n\t\t\t").concat(ta,"\n\t\t\t").concat(_e,"\n\t\t\t").concat(Ve,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(Ta,"\n\t\t\ttransition: all .5s, ").concat(ht,", ").concat(Aa,";\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(mt,"\n\t\t\t").concat(Oa,"\n\t\t}\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-wrap {\n ').concat("inline"===c?"text-align: left;":"text-align: center;","\n }\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tabIcon {\n\t\t\tdisplay:flex;\n\t\t\tjustify-content:center;\n\t\t\talign-items:center;\n\t\t\t// ').concat(Pe,"\n\t\t\t// ").concat(Ae,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(s?"color:".concat(s,";"):"","\n\t\t\t").concat(h?"transition:color ".concat(h,"s;"):"","\n ").concat(ce?"background-color:".concat(ce,";"):"","\n\t\t\t").concat(ln,"\n\t\t\t").concat(dn,"\n\t\t}\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover .tabIcon {\n ').concat(ie?"background-color:".concat(ie,";"):"","\n\t\t\t").concat(pn,"\n }\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active .tabIcon {\n ').concat(se?"background-color:".concat(se,";"):"","\n }\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:hover .tabIcon {\n ').concat(pe?"background-color:".concat(pe,";"):"","\n }\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover span{\n\t\t\t').concat(p?"color:".concat(p,";"):"","\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\theight:auto;\n\t\t\t').concat(je,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\t').concat(b?"color:".concat(b,";"):"","\n\t\t\t").concat(ge,"\n\t\t\t").concat(h?"transition:color ".concat(h,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover .tab-title-text{\n\t\t\t').concat(d?"color:".concat(d,";"):"","\n\t\t}\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-subtitle-text{\n display: block;\n margin: 0;\n padding: 0;\n ').concat(ne?"color:".concat(ne,";"):"","\n ").concat(ve,"\n ").concat(Ze,"\n ").concat(h?"transition:color ".concat(h,"s;"):"","\n }\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover .tab-subtitle-text{\n ').concat(oe?"color:".concat(oe,";"):"","\n }\n .").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(La,"\n\t\t\t").concat(wt,"\n\t\t\ttransition:").concat(Va,", ").concat(xt,";\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(Ha,"\n\t\t\t").concat(kt,"\n\t\t}\n\n\t").concat(Z?"\n\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t\twidth: 0px;\n\t\t\theight: 0px;\n\t\t\tz-index: 1;\n\t\t\tborder: ').concat(Y,"px solid transparent;\n\t\t\t").concat("horizontal"===l?"\n\t\t\t\t\tbottom: -".concat(Y,"px;\n\t\t\t\t\tborder-top-color: ").concat(J," !important;\n\t\t\t\t\tborder-bottom: 0px !important;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\tborder-top-style: solid;\n\t\t\t\t\ttransform: translateX(-50%);\n\t\t\t\t"):"\n\t\t\t\t\tright: -".concat(Y,"px;\n\t\t\t\t\tborder-left-color: ").concat(J," !important;\n\t\t\t\t\tborder-right: 0px !important;\n\t\t\t\t\ttop: 50%;\n\t\t\t\t\tborder-left-style: solid;\n\t\t\t\t\ttransform: translateY(-50%);\n\t\t\t\t"),"\n\n\t\t}\n\n ").concat(de&&me?"\n .".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\t\t\tcontent: none;\n\t\t\t\t}\n\t\t\t\t.').concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-caret-icon {\n display: none;\n\t\t\t\t\t').concat(fn,"\n\t\t\t\t\t").concat(J?"color:".concat(J,";"):"","\n ").concat("horizontal"===l?"":"margin-left: auto;","\n\t\t\t\t}\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active .tab-caret-icon {\n display: flex;\n }\n '):"","\n\n\t\t"):"","\n\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active span,\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active i {\n\t\t\t").concat(m?"color:".concat(m,";"):"","\n\t\t\t").concat(v?"transition:color ".concat(v,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover span,\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover i {\n\t\t\t").concat(g?"color:".concat(g,";"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active .tab-title-text{\n\t\t\t").concat(f?"color:".concat(f,";"):"","\n\t\t\t").concat(v?"transition:color ".concat(v,"s;"):"","\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover .tab-title-text{\n\t\t\t").concat(y?"color:".concat(y,";"):"","\n\t\t}\n .").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active .tab-subtitle-text{\n ").concat(re?"color:".concat(re,";"):"","\n ").concat(v?"transition:color ".concat(v,"s;"):"","\n }\n\n .").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover .tab-subtitle-text{\n ").concat(le?"color:".concat(le,";"):"","\n }\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper .eb-tabs-contents{\n\t\t\tflex:1;\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(ra,"\n\t\t\t").concat(sa,"\n\t\t\t").concat(Bt,"\n\t\t\t").concat(qa,"\n\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(Tt,"\n\t\t\t").concat(Ja,"\n\t\t}\n\n\t")),wn="\n\t\t.".concat(r,".eb-advanced-tabs-wrapper{\n ").concat("vertical"===l&&te&&"tab"===ae&&"flex-direction: column;","\n\t\t\t").concat(Gt,"\n\t\t\t").concat(Jt,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(Ra,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat(et,"\n\t\t\t").concat(Ea,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(rt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(lt,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n ').concat("vertical"===l&&te&&"tab"===ae&&"flex-direction: row;","\n\t\t\t").concat(ua,"\n\t\t\t").concat(ha,"\n\t\t\t").concat(Ka,"\n\t\t\t").concat(Lt,"\n\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ft,"\n\t\t\t").concat(an,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\t').concat($t,"\n\t\t\t").concat(aa,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(ut,"\n\t\t\t").concat(Na,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(gt,"\n\t\t\t").concat(Ia,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(Fa,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(za,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t").concat(Z?"\n\t\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\t\tborder: ').concat(X,"px solid transparent;\n\t\t\t\t").concat("horizontal"===l?"\n\t\t\t\t\t\tbottom: -".concat(X,"px;\n\t\t\t\t\t"):"vertical"===l&&te&&"tab"===ae?"\n bottom: -".concat(X,"px;\n border-top-color: ").concat(J," !important;\n border-left-color: transparent !important;\n border-right: ").concat(K,"px solid transparent !important;\n border-bottom: 0px !important;\n left: 50%;\n border-top-style: solid;\n transform: translateX(-50%);\n right: 0;\n top: auto;\n "):"right: -".concat(X,"px;"),"\n\n\t\t\t}\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-caret-icon {\n ').concat(yn,"\n }\n\n\t\t\t"):"","\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tabIcon {\n\t\t\t').concat(Be,"\n\t\t\t// ").concat(Oe,"\n\t\t\t// ").concat(Me,"\n\t\t\t").concat(cn,"\n\t\t\t").concat(mn,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\t').concat(He,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\t').concat(fe,"\n\t\t}\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-subtitle-text{\n ').concat(we,"\n ").concat(Je,"\n }\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(la,"\n\t\t\t").concat(pa,"\n\t\t\t").concat(Nt,"\n\t\t\t").concat(Wa,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(Pt,"\n\t\t\t").concat(Ya,"\n\t\t}\n\n\t"),kn="\n\t\t.".concat(r,".eb-advanced-tabs-wrapper{\n ").concat("vertical"===l&&te&&"mobile"===ae&&"flex-direction: column;","\n\t\t\t").concat(qt,"\n\t\t\t").concat(Yt,"\n\t\t\t").concat(tt,"\n\t\t\t").concat(_a,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover{\n\t\t\t").concat(at,"\n\t\t\t").concat(xa,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:before{\n\t\t\t").concat(ct,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper:hover:before{\n\t\t\t").concat(it,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]{\n ').concat("vertical"===l&&te&&"mobile"===ae&&"flex-direction: row;","\n\t\t\t").concat(ga,"\n\t\t\t").concat(va,"\n\t\t\t").concat(en,"\n\t\t\t").concat(jt,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"]:hover{\n\t\t\t').concat(Ht,"\n\t\t\t").concat(nn,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li{\n\t\t\t').concat(Kt,"\n\t\t\t").concat(na,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(ft,"\n\t\t\t").concat(Pa,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li:hover{\n\t\t\t').concat(yt,"\n\t\t\t").concat(Da,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active{\n\t\t\t").concat(ja,"\n\t\t\t").concat(Ct,"\n\t\t}\n\n\t\t.").concat(r,".eb-advanced-tabs-wrapper ul.tabTitles[data-tabs-ul-id=").concat(r,"] li.active:hover{\n\t\t\t").concat(Ua,"\n\t\t\t").concat(Et,"\n\t\t}\n\n\t\t").concat(Z&&K?"\n\t\t\t.".concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li.active:after{\n\t\t\t\tborder: ').concat(K,"px solid transparent;\n\t\t\t\t").concat("horizontal"===l?"\n\t\t\t\t\t\tbottom: -".concat(K,"px;\n\t\t\t\t\t"):"vertical"===l&&te&&"mobile"===ae?"\n bottom: -".concat(K,"px;\n border-top-color: ").concat(J," !important;\n border-left-color: transparent !important;\n border-right: ").concat(K,"px solid transparent !important;\n border-bottom: 0px !important;\n left: 50%;\n border-top-style: solid;\n transform: translateX(-50%);\n right: 0;\n top: auto;\n "):"right: -".concat(X,"px;"),"\n\n\t\t\t}\n\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-caret-icon {\n ').concat(hn,"\n }\n\n\t\t\t"):"","\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tabIcon {\n\t\t\t').concat(Te,"\n\t\t\t// ").concat(Ie,"\n\t\t\t// ").concat(Le,"\n ").concat(sn,"\n\t\t\t").concat(un,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li img{\n\t\t\t').concat(ze,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-title-text{\n\t\t\t').concat(ye,"\n\t\t}\n .").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-nav ul.tabTitles[data-tabs-ul-id="').concat(r,'"] li .tab-subtitle-text{\n ').concat(ke,"\n ").concat(Ye,"\n }\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]{\n\t\t\t').concat(ca,"\n\t\t\t").concat(ba,"\n\t\t\t").concat(Ot,"\n\t\t\t").concat(Za,"\n\t\t}\n\n\t\t.").concat(r,'.eb-advanced-tabs-wrapper .eb-tabs-contents .eb-tab-wrapper[data-tab-parent-id="').concat(r,'"]:hover{\n\t\t\t').concat(It,"\n\t\t\t").concat(Qa,"\n\t\t}\n\n\t"),Rn=(0,u.softMinifyCssStrings)("\n\t\t".concat(vn,"\n\n\t\t.eb-tabs-contents .eb-tab-wrapper > .eb-tab-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block > .eb-tab-editor-wrap,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks > .block-editor-block-list__layout,\n\t\t.eb-tabs-contents > .block-editor-inner-blocks\n\t\t{\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.eb-tabs-contents .block-editor-inner-blocks .eb-tab-wrapper .eb-tab-inner .block-editor-button-block-appender{\n\t\t\theight: 100px;\n\t\t}\n\n\t")),_n=(0,u.softMinifyCssStrings)("\n\t\t".concat(wn,"\n\n\t")),Cn=(0,u.softMinifyCssStrings)("\n\t\t".concat(kn,"\n\n\t")),En=(0,u.softMinifyCssStrings)("\n\t\t".concat(vn,"\n\n\t")),xn=(0,u.softMinifyCssStrings)("\n\t\t".concat(wn,"\n\n\t")),Sn=(0,u.softMinifyCssStrings)("\n\t\t".concat(kn,"\n\n\t"));return React.createElement(React.Fragment,null,React.createElement("style",null,!o&&"\n a.info-click-link{\n pointer-events: none;\n }\n "),React.createElement(u.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:En,tabAllStyles:xn,mobileAllStyles:Sn,editorDesktopStyles:Rn,editorTabStyles:_n,editorMobileStyles:Cn,blockName:n}))}function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function oe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ne(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}lodash.times;const le=(0,m.memo)((0,u.withBlockContext)(Y)(function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,o=e.isSelected,r=t.blockId,l=t.tabTitles,c=t.isMediaOn,s=t.layout,g=t.classHook,f=t.tagName,y=t.isMinHeightAsTitle,h=t.addCaretIcon,v=t.caretIcon,w=(0,m.useRef)(null),k=(0,m.useRef)(null),R=(l.find(function(e){return e.isDefault})||{id:"1"}).id,_=(0,m.useState)(R),C=(0,p.A)(_,2),E=C[0],x=C[1],S=(0,m.useState)(!1),B=(0,p.A)(S,2),T=B[0],N=B[1],P=(0,m.useState)("auto"),O=(0,p.A)(P,2),I=O[0],D=O[1],A=(0,m.useId)(),M=[["essential-blocks/tab",{tabId:"1",tabParentId:r}],["essential-blocks/tab",{tabId:"2",tabParentId:r}],["essential-blocks/tab",{tabId:"3",tabParentId:r}]],L=(0,d.useSelect)(function(e){return e("core/block-editor").getBlocksByClientId(n)[0]}).innerBlocks,F=(0,m.useRef)(L);(0,m.useEffect)(function(){if(L.length>F.current.length&&(F.current=L),L.length<F.current.length){var e=F.current.filter(function(e){return!L.some(function(t){return t.clientId===e.clientId})});if(1===e.length){var t,n=null===(t=e[0])||void 0===t||null===(t=t.attributes)||void 0===t?void 0:t.tabId,o=l.filter(function(e){return e.id!==n});a({tabTitles:o,tabChildCount:o.length})}F.current=L}},[L]),(0,m.useEffect)(function(){var e=(w||{current:!1}).current;if(e){var t=e.querySelectorAll('.eb-tab-wrapper[data-tab-parent-id="'.concat(r,'"]'));if(0!==t.length){var a,n=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return re(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?re(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}(t);try{for(n.s();!(a=n.n()).done;){var o=a.value;o.dataset.tabId===E?(o.classList.add("active"),o.classList.remove("inactive")):(o.classList.add("inactive"),o.classList.remove("active"))}}catch(e){n.e(e)}finally{n.f()}}}},[E,L]);var j=function(e){N(!0),x("".concat(e))};(0,m.useEffect)(function(){"vertical"===s&&y&&k.current?D(k.current.offsetHeight+"px"):D("auto")},[t]);var H=oe(oe({},e),{},{blockPrefix:"eb-advanced-tabs",style:React.createElement(ae,(0,i.A)({},e,{isClickTab:T}))});return React.createElement(React.Fragment,null,o&&React.createElement(te,{clientId:n,attributes:t,setAttributes:a,handleTabTitleClick:j}),React.createElement(u.BlockProps.Edit,H,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(g)},React.createElement("div",{className:"".concat(r," eb-advanced-tabs-wrapper ").concat(s),ref:w},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{ref:k,className:"tabTitles","data-tabs-ul-id":"".concat(r)},l.map(function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,onClick:function(t){j(e.id)},className:(E||R)===e.id?"active":"inactive"},c&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement(u.EBDisplayIcon,{icon:e.icon,className:"tabIcon"}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement("div",{className:"tab-title-wrap"},React.createElement(b.RichText,{tagName:f,className:"tab-title-text",placeholder:"Tab Title",value:e.text,onChange:function(e){return function(e,t){var n=l.map(function(e){return oe({},e)}).map(function(a,n){return n===t&&(a.text=e),a});a({tabTitles:n})}(e,t)}}),e.enableSubtitle&&e.subtitle&&React.createElement("p",{className:"tab-subtitle-text"},e.subtitle)),h&&v&&React.createElement(u.EBDisplayIcon,{icon:v,className:"tab-caret-icon"}))}))),React.createElement("div",{key:A,className:"eb-tabs-contents"},React.createElement("style",null,"\n .eb-tabs-contents .eb-tab-wrapper {\n min-height: ".concat(I,";\n }\n ")),React.createElement(b.InnerBlocks,{templateLock:"insert",template:M,allowedBlocks:["essential-blocks/tab"]}))))))}));function ce(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ie(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ie(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var pe=lodash.omit;const be=[{attributes:se({},Y),migrate:function(e){var t=e.oldTabTitles,a=e.tabTitles,n=a.length===t.length&&a.map(function(e,a){var n;return se(se({},e),{},{text:(null===(n=t[a])||void 0===n?void 0:n.text)||e.text})});return se(se({},e),{},{tabTitles:(0,g.A)(n)})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.oldTabTitles,r=t.layout,l=t.isMediaOn,c=t.classHook,s=t.tagName,p=t.closeAllTabs,d=t.isMinHeightAsTitle,m=n.map(function(e,t){var a;return se(se({},e),{},{text:(null===(a=o[t])||void 0===a?void 0:a.text)||e.text})}),g=se({"data-min-height":d},p&&{"data-close-all-tabs":p});return React.createElement(u.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",(0,i.A)({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(r)},g),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},m.map(function(e,t){return React.createElement("li",(0,i.A)({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==p&&e.isDefault?"active":"inactive"}),l&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement(u.EBDisplayIcon,{icon:e.icon,className:"tabIcon"}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:s,className:"tab-title-text",value:e.text}))}))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))}},{attributes:se({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,l=t.classHook,c=t.tagName,s=t.closeAllTabs,p=se({"data-min-height":t.isMinHeightAsTitle},s&&{"data-close-all-tabs":s});return React.createElement(u.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",(0,i.A)({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},p),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",(0,i.A)({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==s&&e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:c,className:"tab-title-text",value:e.text}))}))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))}},{attributes:se({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,l=t.classHook,c=t.tagName,s=t.closeAllTabs;return React.createElement("div",b.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",(0,i.A)({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},s?{"data-close-all-tabs":s}:{}),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",(0,i.A)({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==s&&e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:c,className:"tab-title-text",value:e.text}))}))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))}},{attributes:se({},pe(se({},Y),["closeAllTabs"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,l=t.classHook,c=t.tagName;return React.createElement("div",b.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",(0,i.A)({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:c,className:"tab-title-text",value:e.text}))}))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))}},{attributes:se({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,l=t.classHook,c=t.tagName;return React.createElement("div",b.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,className:e.isDefault?"active":"inactive"},r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:c,className:"tab-title-text",value:e.text}))}))),React.createElement("div",{class:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))}},{attributes:se({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn;return React.createElement("div",b.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",{key:t,"data-title-tab-id":e.id,className:e.isDefault?"active":"inactive"},r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement("span",{className:"tabIcon ".concat(e.icon)}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement(b.RichText.Content,{tagName:"h6",className:"tab-title-text",value:e.text}))}))),React.createElement("div",{class:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null))))}}],de=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Advanced Tabs","apiVersion":2,"name":"essential-blocks/advanced-tabs","description":"Display nested tabs to display key information on an instance in an interactive manner.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"html":false,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script","providesContext":{"eb/tabParentId":"blockId"}}');(0,u.ebConditionalRegisterBlockType)(de,{keywords:[(0,r.__)("EB Advanced Tabs","essential-blocks"),(0,r.__)("Advanced Tabs Block","essential-blocks"),(0,r.__)("Advanced Tabs","essential-blocks")],icon:function(e){return l.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 70 70"},e),n||(n=l.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},l.createElement("path",{d:"M70 11.6c-.7-2.4-2.2-3.5-4.7-3.5H24.1c-.3 0-.7.1-.9-.4-.8-1.7-2.2-2.6-4.1-2.6H4.7c-.4 0-.7 0-1.1.1C1.4 5.7 0 7.4 0 9.8v46.8c0 2.9 2 5 5 5 16.7-.1 33.4 0 50.1 0h10.7c1.9 0 3.2-1 4-2.7l.3-.9V11.8s0-.1-.1-.2m-30.8-.7h12.7v5.8H39.2zm-15.5 0h12.7v5.8H23.7zm43.7 9.5v36.2c0 1.7-.5 2.2-2.2 2.2H5c-1.7 0-2.2-.5-2.2-2.2V10c0-1.7.5-2.2 2.2-2.2h13.8c1.5 0 2.1.5 2.1 2.1v7.7c0 1.5.4 1.9 1.9 1.9h44.7c-.1.4-.1.6-.1.9m0-3.7H54.7v-5.9h10.7c1.4 0 2 .6 2 2z"}),l.createElement("path",{d:"M40.6 25.7H9.2c-1.4 0-1.8.4-1.8 1.8v23.3c0 1.4.4 1.8 1.8 1.8h31.3c1.1 0 1.6-.5 1.6-1.6V27.3c0-1-.5-1.6-1.5-1.6M11.3 49.9c2.7-4.3 5.4-8.6 8.2-13 2.8 4.4 5.5 8.6 8.2 13zm23.6 0h-3.5c-.3 0-.6-.2-.8-.4-.8-1.1-1.5-2.3-2.2-3.5-.1-.2-.2-.5-.1-.6 1.1-1.8 2.3-3.6 3.5-5.5 2.1 3.3 4.2 6.6 6.3 10zm4.4-3.4c-.3-.5-.6-.9-.8-1.3-1.8-2.8-3.5-5.6-5.3-8.4-.7-1.1-1.8-1.1-2.6 0-.1.2-.2.3-.3.5L26.7 43c-.2-.3-.3-.5-.4-.7l-5.4-8.4c-.8-1.3-1.9-1.3-2.7 0-2.5 3.9-5 7.8-7.4 11.7-.1.2-.3.4-.5.7V28.4h29.1c-.1 6.1-.1 12-.1 18.1M48.4 28.5h13.2c.7 0 1.2-.6 1.2-1.3s-.4-1.2-1.1-1.4h-13c-.3 0-.6 0-.9.1-.9.2-1.2 1.2-.8 2 .3.4.8.6 1.4.6M48.4 36.4h12.8c.3 0 .7-.1 1-.2.5-.3.7-.9.6-1.5-.2-.7-.7-1-1.5-1H48.5c-1 0-1.7.5-1.6 1.4-.1.8.5 1.3 1.5 1.3M61.2 41.6H48.5c-1 0-1.7.5-1.7 1.4 0 .8.6 1.3 1.6 1.3h12.8c1 0 1.7-.5 1.7-1.4-.1-.8-.7-1.3-1.7-1.3M61.2 49.5c-2.1-.1-4.2 0-6.4 0H48c-.7 0-1.2.5-1.3 1.2 0 .7.4 1.3 1.1 1.4.2.1.5.1.7.1h12.3c.3 0 .6 0 .9-.1.9-.3 1.2-1.4.6-2.1-.1-.3-.6-.5-1.1-.5M11.8 13.7H16c.6 0 1-.1 1.3-.6.6-1-.1-2.1-1.3-2.1H7.5c-1 0-1.6.5-1.6 1.4 0 .8.6 1.3 1.6 1.3z"}))),o||(o=l.createElement("defs",null,l.createElement("clipPath",{id:"icon_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h70v70H0z"})))))},attributes:Y,edit:le,save:function(e){var t=e.attributes,a=t.blockId,n=t.tabTitles,o=t.layout,r=t.isMediaOn,l=t.classHook,c=t.tagName,p=t.closeAllTabs,d=t.isMinHeightAsTitle,m=t.addCaretIcon,g=t.caretIcon,f=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(a),!0).forEach(function(t){(0,s.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ce(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({"data-min-height":d},p&&{"data-close-all-tabs":p});return React.createElement(u.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(l)},React.createElement("div",(0,i.A)({className:"".concat(a," eb-advanced-tabs-wrapper ").concat(o)},f),React.createElement("div",{className:"eb-tabs-nav"},React.createElement("ul",{className:"tabTitles","data-tabs-ul-id":"".concat(a)},n.map(function(e,t){return React.createElement("li",(0,i.A)({key:t,"data-title-tab-id":e.id,"data-title-custom-id":e.customId},e.customId?{id:e.customId}:{},{className:!0!==p&&e.isDefault?"active":"inactive"}),r&&React.createElement(React.Fragment,null,"icon"===e.media&&e.icon&&React.createElement(u.EBDisplayIcon,{icon:e.icon,className:"tabIcon"}),"image"===e.media&&e.imgUrl&&React.createElement("img",{src:e.imgUrl})),React.createElement("div",{className:"tab-title-wrap"},React.createElement(b.RichText.Content,{tagName:c,className:"tab-title-text",value:e.text}),e.enableSubtitle&&e.subtitle&&React.createElement("p",{className:"tab-subtitle-text"},e.subtitle)),m&&g&&React.createElement(u.EBDisplayIcon,{icon:g,className:"tab-caret-icon"}))}))),React.createElement("div",{className:"eb-tabs-contents"},React.createElement(b.InnerBlocks.Content,null)))))},example:{attributes:{}},deprecated:be})},7232:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(5694);function i(e){var t=e.profilesOnly,a=e.icnEffect,n=e.showTitle;return React.createElement("ul",{className:"eb-social-shares"},t.map(function(e,t){var o=e.link,r=e.icon,l=e.iconText,i=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:"".concat(((r||" ").match(/fa-([\w\-]+)/i)||[" "," "])[1],"-original ").concat(a||" "),href:o,target:i?"_blank":"_self",rel:"noopener"},React.createElement(c.EBDisplayIcon,{className:"hvr-icon eb-social-share-icon",icon:r}),n&&l&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-social-share-text"},l))))}))}var s=a(9394),p=a(6427),b="title",d="icnZ_",m="icnPd_",u="icnSp_",g="icnRg_",f="sdpr_",y="iconHeight",h="iconWidth",v="floatingWidth",w="floatingHeight",k="wrpMrg_",R="wrpPad_",_="iconPadding",C="WrpBg_",E="wrpBdSd_",x="sclBdSd_",S=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],B=[{label:(0,n.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,n.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,n.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,n.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,n.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,n.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,n.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,n.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,n.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,n.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,n.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,n.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,n.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,n.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,n.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,n.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,n.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,n.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,n.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,n.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,n.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,n.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,n.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,n.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,n.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,n.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,n.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,n.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,n.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,n.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,n.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,n.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,n.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,n.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,n.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,n.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,n.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,n.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,n.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,n.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,n.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,n.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,n.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,n.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,n.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,n.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,n.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,n.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,n.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,n.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,n.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,n.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,n.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,n.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,n.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,n.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,n.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,n.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,n.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,n.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,n.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,n.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,n.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,n.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,n.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,n.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,n.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,n.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,n.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,n.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,n.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,n.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,n.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,n.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,n.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,n.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,n.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,n.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],T=[{label:(0,n.__)("Rounded","essential-blocks"),value:"rounded"},{label:(0,n.__)("Circular","essential-blocks"),value:"circular"},{label:(0,n.__)("Square","essential-blocks"),value:"square"}];function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.socialDetails),r=t.iconsJustify,i=t.hvIcnColor,f=t.hvIcnBgc,N=t.icnEffect,O=t.iconShape,I=t.showTitle,D=t.isFloating;(0,l.useEffect)(function(){var e=o.map(function(e){return P(P({},e),{},{isExpanded:!1})});a({socialDetails:e})},[]),(0,l.useEffect)(function(){M(O)},[]);var A,M=function(e){switch(e){case"rounded":a({iconShape:e,sclBdSd_Rds_Bottom:"10",sclBdSd_Rds_Left:"10",sclBdSd_Rds_Right:"10",sclBdSd_Rds_Top:"10",sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0});break;case"circular":a({iconShape:e,sclBdSd_Rds_Bottom:"50",sclBdSd_Rds_Left:"50",sclBdSd_Rds_Right:"50",sclBdSd_Rds_Top:"50",sclBdSd_Rds_Unit:"%",sclBdSd_Rds_isLinked:!0});break;case"square":a({iconShape:e,sclBdSd_Rds_Bottom:void 0,sclBdSd_Rds_Left:void 0,sclBdSd_Rds_Right:void 0,sclBdSd_Rds_Top:void 0,sclBdSd_Rds_Unit:"px",sclBdSd_Rds_isLinked:!0})}};return React.createElement(c.InspectorPanel,{advancedControlProps:{marginPrefix:k,paddingPrefix:R,backgroundPrefix:C,borderPrefix:E,hasMargin:!0}},React.createElement(c.InspectorPanel.General,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Share Buttons","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,n.__)("Show Title","essential-blocks"),checked:I,onChange:function(){return a({showTitle:!I})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Floating","essential-blocks"),checked:D,onChange:function(){return a({isFloating:!D})}}),React.createElement(p.__experimentalDivider,null),React.createElement(c.SortControl,{items:t.socialDetails,labelKey:"iconText",onSortEnd:function(e){return a({socialDetails:e})},onDeleteItem:function(e){a({socialDetails:t.socialDetails.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:(A=function(e,n,o){var r=P({},t.socialDetails[o]),l=(0,s.A)(t.socialDetails);l[o]=r,Array.isArray(e)?e.map(function(e,t){l[o][e]=n[t]}):l[o][e]=n,a({socialDetails:l})},t.socialDetails.map(function(e,t){return React.createElement("div",{key:t},React.createElement(c.EBIconPicker,{title:(0,n.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return A("icon",e,t)}}),React.createElement(c.EBTextControl,{label:(0,n.__)("Text","essential-blocks"),className:"social-share-name-input",value:e.iconText||"",onChange:function(e){return A("iconText",e,t)},enableAi:!0}),React.createElement(c.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.color||"",onChange:function(e){return A("color",e,t)}}),React.createElement(c.ColorControl,{label:(0,n.__)("Icon Background Color","essential-blocks"),color:e.backgroundColor,onChange:function(e){return A("backgroundColor",e,t)}}),React.createElement(c.ColorControl,{label:(0,n.__)("Separator Color","essential-blocks"),color:e.separatorColor,onChange:function(e){return A("separatorColor",e,t)}}))})),hasAddButton:!1})))),React.createElement(c.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Styles","essential-blocks"),initialOpen:!0},React.createElement(p.BaseControl,{label:(0,n.__)("Icon Shape","essential-blocks")},React.createElement(p.ButtonGroup,null,T.map(function(e,t){return React.createElement(p.Button,{key:t,isSecondary:O!==e.value,isPrimary:O===e.value,onClick:function(){return M(e.value)}},e.label)}))),React.createElement(p.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(p.SelectControl,{value:r,options:S,onChange:function(e){return a({iconsJustify:e})}})),I&&React.createElement(c.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:b}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Size","essential-blocks"),controlName:d,min:5,max:300,step:1}),"circular"===O&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Height","essential-blocks"),controlName:y,min:0,max:800,step:1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Width","essential-blocks"),controlName:h,min:0,max:800,step:1})),D&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Floating Width","essential-blocks"),controlName:v,min:0,max:800,step:1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Floating Height","essential-blocks"),controlName:w,min:0,max:2e3,step:1})),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Margin","essential-blocks"),controlName:m,min:0,max:250,step:1}),"circular"!==O&&React.createElement(c.ResponsiveDimensionsControl,{controlName:_,baseLabel:"Padding"}),!D&&React.createElement(React.Fragment,null,React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Spacing","essential-blocks"),controlName:u,min:0,max:100,step:1}),React.createElement(c.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Rows Gap","essential-blocks"),controlName:g,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed"))),React.createElement(c.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:i,attributeName:"hvIcnColor"}),React.createElement(c.ColorControl,{label:(0,n.__)("Hover Background","essential-blocks"),color:f,attributeName:"hvIcnBgc"}),React.createElement(p.SelectControl,{label:(0,n.__)("Icon Hover Effect","essential-blocks"),value:N,options:B,onChange:function(e){a({icnEffect:e})}})),React.createElement(c.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Border & Box-Shadow"),initialOpen:!1},React.createElement(c.BorderShadowControl,{controlName:x})))))};function I(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.socialDetails),l=t.iconsJustify,i=t.iconsVAlign,s=t.isIconsDevider,p=t.icnsDevideColor,S=void 0===p?"#cacaca":p,B=t.icnSepW,T=void 0===B?1:B,N=t.icnSepH,P=void 0===N?30:N,O=t.hvIcnColor,I=t.hvIcnBgc,D=t.textShadowColor,A=t.textHOffset,M=t.textVOffset,L=t.blurRadius,F=(t.classHook,t.showTitle),j=t.iconShape,H=t.isFloating,z=(0,c.generateResponsiveRangeStyles)({controlName:d,customUnit:"px",property:null,attributes:t}),U=z.rangeStylesDesktop,V=z.rangeStylesTab,G=z.rangeStylesMobile,q=(0,c.generateResponsiveRangeStyles)({controlName:m,customUnit:"px",property:null,attributes:t}),W=q.rangeStylesDesktop,Z=q.rangeStylesTab,J=q.rangeStylesMobile,Y=(0,c.generateResponsiveRangeStyles)({controlName:y,customUnit:"px",property:null,attributes:t}),Q=Y.rangeStylesDesktop,X=Y.rangeStylesTab,$=Y.rangeStylesMobile,K=(0,c.generateResponsiveRangeStyles)({controlName:h,customUnit:"px",property:null,attributes:t}),ee=K.rangeStylesDesktop,te=K.rangeStylesTab,ae=K.rangeStylesMobile,ne=(0,c.generateResponsiveRangeStyles)({controlName:v,customUnit:"px",property:null,attributes:t}),oe=ne.rangeStylesDesktop,re=ne.rangeStylesTab,le=ne.rangeStylesMobile,ce=(0,c.generateResponsiveRangeStyles)({controlName:w,customUnit:"px",property:null,attributes:t}),ie=ce.rangeStylesDesktop,se=ce.rangeStylesTab,pe=ce.rangeStylesMobile,be=(0,c.generateResponsiveRangeStyles)({controlName:u,customUnit:"px",property:"column-gap",attributes:t}),de=be.rangeStylesDesktop,me=be.rangeStylesTab,ue=be.rangeStylesMobile,ge=(0,c.generateResponsiveRangeStyles)({controlName:g,customUnit:"px",property:"row-gap",attributes:t}),fe=ge.rangeStylesDesktop,ye=ge.rangeStylesTab,he=ge.rangeStylesMobile,ve=(0,c.generateResponsiveRangeStyles)({controlName:f,property:"margin-right",attributes:t}),we=ve.rangeStylesDesktop,ke=ve.rangeStylesTab,Re=ve.rangeStylesMobile,_e=(0,c.generateBackgroundControlStyles)({attributes:t,controlName:C}),Ce=_e.backgroundStylesDesktop,Ee=_e.hoverBackgroundStylesDesktop,xe=_e.backgroundStylesTab,Se=_e.hoverBackgroundStylesTab,Be=_e.backgroundStylesMobile,Te=_e.hoverBackgroundStylesMobile,Ne=_e.overlayStylesDesktop,Pe=_e.hoverOverlayStylesDesktop,Oe=_e.overlayStylesTab,Ie=_e.hoverOverlayStylesTab,De=_e.overlayStylesMobile,Ae=_e.hoverOverlayStylesMobile,Me=_e.bgTransitionStyle,Le=_e.ovlTransitionStyle,Fe=(0,c.generateDimensionsControlStyles)({attributes:t,controlName:_,styleFor:"padding"}),je=Fe.dimensionStylesDesktop,He=Fe.dimensionStylesTab,ze=Fe.dimensionStylesMobile,Ue=(0,c.generateDimensionsControlStyles)({attributes:t,controlName:k,styleFor:"margin"}),Ve=Ue.dimensionStylesDesktop,Ge=Ue.dimensionStylesTab,qe=Ue.dimensionStylesMobile,We=(0,c.generateDimensionsControlStyles)({attributes:t,controlName:R,styleFor:"padding"}),Ze=We.dimensionStylesDesktop,Je=We.dimensionStylesTab,Ye=We.dimensionStylesMobile,Qe=(0,c.generateBorderShadowStyles)({controlName:E,attributes:t}),Xe=Qe.styesDesktop,$e=Qe.styesTab,Ke=Qe.styesMobile,et=Qe.stylesHoverDesktop,tt=Qe.stylesHoverTab,at=Qe.stylesHoverMobile,nt=Qe.transitionStyle,ot=(0,c.generateBorderShadowStyles)({controlName:x,attributes:t}),rt=ot.styesDesktop,lt=ot.styesTab,ct=ot.styesMobile,it=ot.stylesHoverDesktop,st=ot.stylesHoverTab,pt=ot.stylesHoverMobile,bt=ot.transitionStyle,dt=(0,c.generateTypographyStyles)({attributes:t,prefixConstant:b}),mt=dt.typoStylesDesktop,ut=dt.typoStylesTab,gt=dt.typoStylesMobile,ft=r.reduce(function(e,t,a){var n=t.backgroundColor,r=t.color,l=t.separatorColor;return"\n\t\t".concat(e,"\n\n\t\t").concat(l?"\n\t\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li:nth-child(").concat(a+1,") a .social-icon-v-line {\n\t\t\t\t\tbackground-color: ").concat(l,";\n\t\t\t\t}\n\t\t\t\t"):"","\n\n\t\t").concat(n||r?"\n\t\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li:nth-child(").concat(a+1,") a {\n\t\t\t\t\t").concat(n?"background: ".concat(n,";"):"","\n\t\t\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t\t\t}\n\t\t\t\t"):"","\n\t\t")},""),yt="\n\tdiv.eb-social-share-wrapper ul {\n\t\tmargin: 0;\n\t\tpadding:0;\n\t}\n\n\t".concat(H?"\n\t.eb-parent-wrapper.eb-parent-eb-social-share-qier2p8.eb_animation.eb__animated {\n\t\tanimation-name: none !important;\n\t\t-webkit-animation-name: none !important;\n\t}\n\t":"","\n\n\t.").concat(o,".eb-social-share-wrapper {\n\t\tposition:relative;\n\t\t").concat(H?"":Ce,"\n\t\t").concat(H?"":Ve,"\n\t\t").concat(H?"":Ze,"\n\t\t").concat(H?"":Xe,"\n\t\ttransition: ").concat(Me,", ").concat(nt,";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\n\t\t").concat(Ee,"\n\t\t").concat(H?"":et,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(Ne,"\n\t\ttransition: ").concat(Le,";\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(Pe,"\n\n\t}\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\tlist-style: none;\n\t\tflex-wrap: wrap;\n\t\talign-items: ").concat(i||"center",";\n\t\tjustify-content: ").concat(l,";\n\t\t").concat(de,"\n\t\t").concat(fe,"\n\t\tdisplay: flex;\n\t}\n\n\n\t").concat(ft,"\n\n\n\t").concat(s?"\n\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,'.eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\tcontent: "";\n\t\t\tbackground-color: ').concat(S,";\n\t\t\theight: ").concat(P,"px;\n\t\t\twidth: ").concat(T,"px;\n\t\t\tposition: absolute;\n\t\t\ttop: 2px;\n\t\t\tright: 100%;\n\t\t\t").concat(we,"\n\t\t}\n\n\t\t"):"","\n\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\tbox-sizing:border-box;\n\t\ttext-decoration: none;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\tmargin: ").concat(W," 0;\n\t\t").concat(A||M||L||D?"text-shadow: ".concat(A||0,"px ").concat(M||0,"px ").concat(L||0,"px ").concat(D||"rgba(0,0,0,.5)",";"):"","\n\t\t").concat("circular"!==j?je:"","\n\t\t").concat(rt,"\n\t\ttransition: color 0.5s, background-color 0.5s, ").concat(bt,";\n\t\t").concat("circular"===j&&Q?"height: ".concat(Q,";"):"","\n\t\t").concat("circular"===j&&ee?"width: ".concat(ee,";"):"","\n\t\t").concat(F?mt:"font-size: ".concat(U,";"),"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tdisplay: inline-block;\n\t\tposition: fixed;\n\t\tleft: 0;\n\t\ttop: 35%;\n\t\ttransform: translate(0, -50px);\n\t\toverflow: auto;\n\t\t-ms-overflow-style: none; /* IE and Edge */\n \t\tscrollbar-width: none; /* Firefox */\n\t\tmax-height: ").concat("string"==typeof ie&&0!==ie.length?ie:"200px",";\n\t\t").concat(H?Ce:"","\n\t\t").concat(H?Xe:"","\n\t}\n\n\tul.eb-social-shares::-webkit-scrollbar {\n\t\tdisplay: none;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares .eb-social-share-text {\n\t\twidth: 0;\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttransition: all 0.4s;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(U,";\n\t\ttext-align: center;\n\t}\n\n ").concat(F?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(U,";\n height: ").concat(U,";\n\t\ttext-align: center;\n\t}"),"\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a {\n\t\tdisplay: inline-flex;\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof oe&&0!==oe.length?oe:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\tbackground:").concat(I,";\n\t\tcolor:").concat(O,";\n\t\t").concat(it,"\n\t}\n\n\t.").concat(o,'.eb-social-share-wrapper ul.eb-social-shares li span.eb-social-share-text:before {\n\t\tcontent: "";\n\t\twidth: 1px;\n\t\theight: 20px;\n\t\tbackground-color: #fff;\n\t\topacity: .5;\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\tmargin: 0 10px;\n\t}\n\n\t.').concat(o,".eb-social-share-wrapper.eb-social-share-floating.eb-social-share-circular ul.eb-social-shares li a.eb-slide-out {\n\t\theight: unset;\n\t\twidth: unset;\n\t\tborder-radius: ").concat(Q,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating.eb-social-share-circular ul.eb-social-shares li a.eb-slide-out i {\n\t\theight: ").concat(Q,";\n\t\twidth: ").concat(ee,";\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n"),ht="\n\n\t.".concat(o,".eb-social-share-wrapper {\n\t\t").concat(xe,"\n\t\t").concat(Ge,"\n\t\t").concat(Je,"\n\t\t").concat($e,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\t\t").concat(Se,"\n\t\t").concat(tt,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(Oe,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(Ie,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\t").concat(me,"\n\t\t").concat(ye,"\n\t}\n\n\t").concat(s?"\n\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\t\t").concat(ke,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tmax-height: ").concat("string"==typeof se&&0!==se.length?se:"200px",";\n\t\t").concat(H?xe:"","\n\t\t").concat(H?$e:"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof re&&0!==re.length?re:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\t").concat(F?ut:"font-size: ".concat(V,";"),"\n\t\t").concat("circular"!==j?He:"","\n\t\t").concat(lt,"\n\t\tmargin: ").concat(Z," 0;\n\t\t").concat("circular"===j&&X?"height: ".concat(X,";"):"","\n\t\t").concat("circular"===j&&te?"width: ".concat(te,";"):"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\t").concat(st,"\n\t}\n\n ").concat(F?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(V,";\n height: ").concat(V,";\n\t\ttext-align: center;\n\t}"),"\n\n\t"),vt="\n\t.".concat(o,".eb-social-share-wrapper {\n\t\t").concat(Be,"\n\t\t").concat(qe,"\n\t\t").concat(Ye,"\n\t\t").concat(Ke,"\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover{\n\t\t").concat(Te,"\n\t\t").concat(at,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:before{\n\t\t").concat(De,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper:hover:before{\n\t\t").concat(Ae,"\n\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares {\n\t\t").concat(ue,"\n\t\t").concat(he,"\n\t}\n\n\n\t").concat(s?"\n\t\t\t.".concat(o,".eb-social-share-wrapper ul.eb-social-shares li + li:before {\n\t\t\t\t").concat(Re,"\n\t\t\t}\n\t\t\t"):"","\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares {\n\t\tmax-height: ").concat("string"==typeof pe&&0!==pe.length?pe:"200px",";\n\t\t").concat(H?Be:"","\n\t\t").concat(H?Ke:"","\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper.eb-social-share-floating ul.eb-social-shares li a.eb-slide-out .eb-social-share-text {\n\t\twidth: ").concat("string"==typeof le&&0!==le.length?le:"100px",";\n\t}\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li a {\n\t\t").concat(F?gt:"font-size: ".concat(G,";"),"\n\t\t").concat("circular"!==j?ze:"","\n\t\t").concat(ct,"\n\t\tmargin: ").concat(J," 0;\n\t\t").concat("circular"===j&&$?"height: ".concat($,";"):"","\n\t\t").concat("circular"===j&&ae?"width: ".concat(ae,";"):"","\n\t}\n\n\n\t.").concat(o,".eb-social-share-wrapper ul.eb-social-shares li:hover a {\n\t\t").concat(pt,"\n\t}\n\n ").concat(F?"":".".concat(o,".eb-social-share-wrapper ul.eb-social-shares li a .eb-social-share-icon {\n\t\twidth: ").concat(G,";\n height: ").concat(G,";\n\t\ttext-align: center;\n\t}"),"\n\n\t"),wt=(0,c.softMinifyCssStrings)("\n\t\t".concat(yt,"\n\t")),kt=(0,c.softMinifyCssStrings)("\n\t\t".concat(ht,"\n\t")),Rt=(0,c.softMinifyCssStrings)("\n\t\t".concat(vt,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(c.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:wt,tabAllStyles:kt,mobileAllStyles:Rt,blockName:n}))}function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=A(A(A(A(A(A(A(A(A(A(A(A(A(A(A({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},socialDetails:{type:"array",default:[]},profilesOnly:{type:"array"},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},icnEffect:{type:"string"},showTitle:{type:"boolean",default:!0},iconShape:{type:"string",default:"rounded"},isFloating:{type:"boolean",default:!1},floatingWidth:{type:"string"},cover:{type:"string",default:""}},(0,c.generateTypographyAttributes)(b)),(0,c.generateResponsiveRangeAttributes)(d,{defaultRange:16,noUnits:!0})),(0,c.generateDimensionsAttributes)(_,{top:10,left:20,bottom:10,right:20,isLinked:!1})),(0,c.generateResponsiveRangeAttributes)(u,{defaultRange:20,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(y,{defaultRange:140,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(h,{defaultRange:140,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(v,{defaultRange:100,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(m,{defaultRange:10,noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(g,{noUnits:!0})),(0,c.generateResponsiveRangeAttributes)(f,{defaultRange:23})),(0,c.generateBackgroundAttributes)(C,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,c.generateBorderShadowAttributes)(E)),(0,c.generateBorderShadowAttributes)(x,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,c.generateDimensionsAttributes)(k)),(0,c.generateDimensionsAttributes)(R,{top:20,bottom:20,left:20,right:20}));function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function F(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?L(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const j=(0,l.memo)((0,c.withBlockContext)(M)(function(e){var t=e.attributes,a=e.setAttributes,o=e.isSelected,r=(t.resOption,t.blockId),s=(t.blockMeta,t.socialDetails),p=t.profilesOnly,b=void 0===p?[]:p,d=t.icnEffect,m=t.classHook,u=t.showTitle,g=t.iconShape,f=t.isFloating,y=t.cover;(0,l.useEffect)(function(){var e=s.map(function(e){return F(F({},e),{},{isExpanded:!1})});if(a({socialDetails:e}),!(s.length>0)){var t=[{icon:"fab fa-facebook-f",iconText:(0,n.__)("Facebook","essential-blocks"),isExpanded:!1},{icon:"fab fa-x-twitter",iconText:(0,n.__)("Twitter","essential-blocks"),isExpanded:!1},{icon:"fab fa-linkedin-in",iconText:(0,n.__)("Linkedin","essential-blocks"),isExpanded:!1},{icon:"fab fa-whatsapp",iconText:(0,n.__)("WhatsApp","essential-blocks"),isExpanded:!1}];a({socialDetails:t})}},[]),(0,l.useEffect)(function(){var e=s.map(function(e){return{icon:e.icon,link:e.link,iconText:e.iconText}});a({profilesOnly:e})},[s]);var h=F(F({},e),{},{blockPrefix:"eb-social-share",style:React.createElement(I,e)});return y.length?React.createElement("div",null,React.createElement("img",{src:y,alt:(0,n.__)("Social Share","essential-blocks"),style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,o&&React.createElement(O,{attributes:t,setAttributes:a}),React.createElement(c.BlockProps.Edit,h,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(m)},React.createElement("div",{className:"".concat(r," eb-social-share-wrapper").concat(f?" eb-social-share-floating":"").concat(f&&"circular"==g?" eb-social-share-circular":"")},React.createElement(i,{profilesOnly:b,icnEffect:d,showTitle:u})))))})),H=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Social Share","name":"essential-blocks/social-share","category":"essential-blocks","description":"Share your posts & pages instantly on popular social platforms in one click from your website.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var z,U,V,G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}(0,c.ebConditionalRegisterBlockType)(H,{icon:function(e){return r.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),z||(z=r.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.75 0A1.25 1.25 0 1 0 10 5a1.25 1.25 0 0 0 0 2.5m3.75 0a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"})),U||(U=r.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 0 0 0 3.75v7.5a1.25 1.25 0 0 0 1.25 1.25h62.5a1.25 1.25 0 0 0 0-2.5H2.5V3.75A1.25 1.25 0 0 1 3.75 2.5h52.5a1.25 1.25 0 0 1 1.25 1.25v52.5a1.25 1.25 0 0 1-1.25 1.25H3.75a1.25 1.25 0 0 1-1.25-1.25v-46a1.25 1.25 0 0 0-2.5 0v46A3.75 3.75 0 0 0 3.75 60h52.5A3.75 3.75 0 0 0 60 56.25V3.75A3.75 3.75 0 0 0 56.25 0"})),V||(V=r.createElement("path",{fill:"#6C3BFF",d:"M36.313 39.292c-1.544 0-2.905.76-3.76 1.914l-7.387-3.783a4.6 4.6 0 0 0 .209-1.308c0-.62-.127-1.21-.347-1.752l7.732-4.653c.86 1.01 2.125 1.665 3.553 1.665A4.693 4.693 0 0 0 41 26.687 4.693 4.693 0 0 0 36.312 22a4.693 4.693 0 0 0-4.687 4.688c0 .595.123 1.16.326 1.685l-7.754 4.666c-.86-.98-2.107-1.612-3.51-1.612A4.693 4.693 0 0 0 16 36.115a4.693 4.693 0 0 0 4.688 4.687 4.68 4.68 0 0 0 3.803-1.969l7.364 3.77c-.136.438-.23.894-.23 1.376a4.693 4.693 0 0 0 4.688 4.688A4.693 4.693 0 0 0 41 43.979a4.693 4.693 0 0 0-4.688-4.687z"})))},attributes:M,keywords:[(0,n.__)("social share","essential-blocks"),(0,n.__)("icons","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:j,save:function(){return null},example:{attributes:{cover:"".concat(null===(G=EssentialBlocksLocalize)||void 0===G?void 0:G.image_url,"/block-preview/social-share.jpg")}}})},7243:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(6427),i="wrprBg",s="wrpMargin",p="wrpPadding",b="wrpBorderShadow",d=[{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(c.Dashicon,{icon:"editor-alignright"})),value:"right"}],m=[{label:(0,n.__)("Inline","essential-blocks"),value:"inline"},{label:(0,n.__)("Stacked","essential-blocks"),value:"stacked"}],u="originalPrice",g="salepriceText",f="salePricePeriod",y="pricingPeriodText",h=a(5694);function v(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.priceTextColor,l=t.priceAlignment,c=t.pricingPeriodTextColor,d=t.salePriceTextColor,m=t.salePricingPeriodTextColor,v=(0,h.generateDimensionsControlStyles)({controlName:s,styleFor:"margin",attributes:t}),w=v.dimensionStylesDesktop,k=v.dimensionStylesTab,R=v.dimensionStylesMobile,_=(0,h.generateDimensionsControlStyles)({controlName:p,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,x=_.dimensionStylesMobile,S=(0,h.generateBackgroundControlStyles)({attributes:t,controlName:i}),B=S.backgroundStylesDesktop,T=(S.hoverBackgroundStylesDesktop,S.backgroundStylesTab),N=(S.hoverBackgroundStylesTab,S.backgroundStylesMobile),P=(S.hoverBackgroundStylesMobile,S.overlayStylesDesktop,S.hoverOverlayStylesDesktop,S.overlayStylesTab,S.hoverOverlayStylesTab,S.overlayStylesMobile,S.hoverOverlayStylesMobile,S.bgTransitionStyle),O=(S.ovlTransitionStyle,(0,h.generateBorderShadowStyles)({controlName:b,attributes:t})),I=O.styesDesktop,D=O.styesTab,A=O.styesMobile,M=O.stylesHoverDesktop,L=O.stylesHoverTab,F=O.stylesHoverMobile,j=O.transitionStyle,H=(0,h.generateTypographyStyles)({attributes:t,prefixConstant:u}),z=H.typoStylesDesktop,U=(H.typoStylesTab,H.typoStylesMobile,(0,h.generateTypographyStyles)({attributes:t,prefixConstant:y})),V=U.typoStylesDesktop,G=(U.typoStylesTab,U.typoStylesMobile,(0,h.generateTypographyStyles)({attributes:t,prefixConstant:g})),q=G.typoStylesDesktop,W=(G.typoStylesTab,G.typoStylesMobile,(0,h.generateTypographyStyles)({attributes:t,prefixConstant:f})),Z=W.typoStylesDesktop,J=(W.typoStylesTab,W.typoStylesMobile,"\n\t\t.".concat(o,".eb-price-wrapper {\n\t\t\t").concat(w,"\n\t\t\t").concat(C,"\n\t\t\t").concat(I,"\n\t\t\t").concat(B,"\n\t\t\ttransition:").concat(P,", ").concat(j,";\n\t\t}\n\n .").concat(o,".eb-price-wrapper .eb-price-container {\n text-align: ").concat(l,";\n }\n\n .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper,\n .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper.eb-line-through {\n ").concat(r?"color: ".concat(r,";"):"","\n ").concat(z,"\n }\n\n .").concat(o,".eb-price-wrapper .eb-price-container .eb-original-price-wrapper .eb-price-period {\n ").concat(c?"color: ".concat(c,";"):"","\n ").concat(V,"\n }\n\n .").concat(o,".eb-price-wrapper .eb-price-container .eb-sale-price-wrapper {\n ").concat(d?"color: ".concat(d,";"):"","\n ").concat(q,"\n }\n\n .").concat(o,".eb-price-wrapper .eb-price-container .eb-sale-price-wrapper .eb-sale-price-period {\n ").concat(m?"color: ".concat(m,";"):"","\n ").concat(Z,"\n }\n\n\n\t\t.").concat(o,".eb-price-wrapper:hover {\n\t\t\t").concat(M,"\n\t\t}\n\t")),Y="\n\t\t.".concat(o,".eb-price-wrapper{\n\t\t\t").concat(k,"\n\t\t\t").concat(E,"\n\t\t\t").concat(D,"\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.").concat(o,".eb-price-wrapper:hover {\n\t\t\t").concat(L,"\n\t\t}\n\t"),Q="\n\t\t.".concat(o,".eb-icon-wrapper {\n\t\t\t").concat(R,"\n\t\t\t").concat(x,"\n\t\t\t").concat(A,"\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(F,"\n\t\t}\n\t"),X=(0,h.softMinifyCssStrings)("\n\t\t".concat(J,"\n\t")),$=(0,h.softMinifyCssStrings)("\n\t\t".concat(Y,"\n\t")),K=(0,h.softMinifyCssStrings)("\n\t\t".concat(Q,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(h.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:X,tabAllStyles:$,mobileAllStyles:K,blockName:n}))}function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function k(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const R=k(k(k(k(k(k(k(k({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},mainPrice:{type:"string",default:"99"},showOnSale:{type:"boolean",default:!1},salePrice:{type:"string",default:"89"},priceCurrency:{type:"string",default:"$"},currencyPlacement:{type:"string",default:"left"},pricePeriod:{type:"string",default:"/month"},priceAlignment:{type:"string",default:"center"},priceTextColor:{type:"string"},priceCurrencyTextColor:{type:"string"},salePriceTextColor:{type:"string"},salepriceCurrencyTextColor:{type:"string"},pricingPeriodTextColor:{type:"string"},salePricePeriod:{type:"string",default:"/month"},priceView:{type:"string",default:"inline"},salePricingPeriodTextColor:{type:"string"}},(0,h.generateTypographyAttributes)(u)),(0,h.generateTypographyAttributes)(g)),(0,h.generateTypographyAttributes)(f)),(0,h.generateTypographyAttributes)(y)),(0,h.generateDimensionsAttributes)(s)),(0,h.generateDimensionsAttributes)(p)),(0,h.generateBorderShadowAttributes)(b,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,h.generateBackgroundAttributes)(i,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),_=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.mainPrice),r=t.showOnSale,l=t.salePrice,v=t.priceCurrency,w=t.currencyPlacement,k=t.pricePeriod,R=t.priceAlignment,_=t.priceTextColor,C=t.salePriceTextColor,E=t.pricingPeriodTextColor,x=t.salePricePeriod,S=t.priceView,B=t.salePricingPeriodTextColor;return React.createElement(React.Fragment,null,React.createElement(h.InspectorPanel,{advancedControlProps:{marginPrefix:s,paddingPrefix:p,borderPrefix:b,backgroundPrefix:i}},React.createElement(h.InspectorPanel.General,null,React.createElement(h.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(c.TextControl,{label:(0,n.__)("Price","essential-blocks"),value:o,onChange:function(e){return a({mainPrice:e})}}),React.createElement(c.TextControl,{label:(0,n.__)("Price Period (per)"),value:k,onChange:function(e){return a({pricePeriod:e})}}),React.createElement(c.ToggleControl,{label:(0,n.__)("On Sale?"),checked:r,onChange:function(){a({showOnSale:!r})}}),r&&React.createElement(React.Fragment,null,React.createElement(c.TextControl,{label:(0,n.__)("Sale Price","essential-blocks"),value:l,onChange:function(e){return a({salePrice:e})}}),React.createElement(c.TextControl,{label:(0,n.__)("Sale Price Period (per)"),value:x,onChange:function(e){return a({salePricePeriod:e})}}),React.createElement(c.__experimentalDivider,null)),React.createElement(c.TextControl,{label:(0,n.__)("Price Currency","essential-blocks"),value:v,onChange:function(e){return a({priceCurrency:e})}}),React.createElement(c.SelectControl,{label:(0,n.__)("Currency Placement","essential-blocks"),value:w,options:[{label:"Left",value:"left"},{label:"Right",value:"right"}],onChange:function(e){a({currencyPlacement:e})}}),React.createElement(c.__experimentalDivider,null),React.createElement(c.SelectControl,{label:(0,n.__)("Price View","essential-blocks"),value:S,options:m,onChange:function(e){return a({priceView:e})}}))),React.createElement(h.InspectorPanel.Style,null,React.createElement(h.InspectorPanel.PanelBody,{title:(0,n.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(c.ButtonGroup,null,d.map(function(e,t){return React.createElement(c.Button,{key:t,isPrimary:R===e.value,isSecondary:R!==e.value,onClick:function(){return a({priceAlignment:e.value})}},e.label)}))),React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Original Price","essential-blocks"))),React.createElement(h.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:_,attributeName:"priceTextColor"}),React.createElement(h.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:u}),React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Pricing Period","essential-blocks"))),React.createElement(h.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:E,attributeName:"pricingPeriodTextColor"}),React.createElement(h.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:y}),r&&React.createElement(React.Fragment,null,React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sale Price","essential-blocks"))),React.createElement(h.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:C,attributeName:"salePriceTextColor"}),React.createElement(h.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:g}),React.createElement(c.__experimentalDivider,null),React.createElement(c.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sale Pricing Period","essential-blocks"))),React.createElement(h.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:B,attributeName:"salePricingPeriodTextColor"}),React.createElement(h.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:f}))))))};function C(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function E(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?C(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):C(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const x=(0,l.memo)((0,h.withBlockContext)(R)(function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.blockId),r=t.mainPrice,l=t.showOnSale,c=t.salePrice,i=t.priceCurrency,s=t.currencyPlacement,p=t.pricePeriod,b=t.periodSeparator,d=t.salePricePeriod,m=t.salePeriodSeparator,u=t.priceView,g=t.classHook,f=E(E({},e),{},{blockPrefix:"eb-price",style:React.createElement(v,e)}),y="inline"===u?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement(React.Fragment,null,n&&React.createElement(React.Fragment,null,React.createElement(_,{attributes:t,setAttributes:a})),React.createElement(h.BlockProps.Edit,f,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(g)},React.createElement("div",{className:"eb-price-wrapper ".concat(o," ").concat(y),"data-id":o},React.createElement("div",{className:"eb-price-container"},l&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":c},"left"===s&&React.createElement("span",{className:"eb-price-currency"},i),c,"right"===s&&React.createElement("span",{className:"eb-price-currency"},i)),React.createElement("span",{className:"eb-sale-price-period"},m,d))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===l?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===s&&React.createElement("span",{className:"eb-price-currency"},i),r,"right"===s&&React.createElement("span",{className:"eb-price-currency"},i)),React.createElement("span",{className:"eb-price-period"},b,p)))))))}));var S=a(4715);var B,T;function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},N.apply(null,arguments)}const P=[{attributes:R,supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.mainPrice,o=t.showOnSale,r=t.salePrice,l=t.priceCurrency,c=t.currencyPlacement,i=t.pricePeriod,s=t.periodSeparator,p=t.salePricePeriod,b=t.salePeriodSeparator,d=t.priceView,m=t.classHook,u="inline"===d?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement("div",S.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-price-wrapper ".concat(a," ").concat(u),"data-id":a},React.createElement("div",{className:"eb-price-container"},o&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":r},"left"===c&&React.createElement("span",{className:"eb-price-currency"},l),r,"right"===c&&React.createElement("span",{className:"eb-price-currency"},l)),React.createElement("span",{className:"eb-sale-price-period"},b,p))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===o?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===c&&React.createElement("span",{className:"eb-price-currency"},l),n,"right"===c&&React.createElement("span",{className:"eb-price-currency"},l)),React.createElement("span",{className:"eb-price-period"},s,i))))))}}],O=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Price","name":"essential-blocks/price","category":"essential-blocks","description":"Price Block lets you add both the regular price and a discounted price for your pricing package.","apiVersion":2,"textdomain":"essential-blocks","parent":["essential-blocks/pro-pricing-cell"],"supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,h.ebConditionalRegisterBlockType)(O,{keywords:[(0,n.__)("Price","essential-blocks"),(0,n.__)("eb price","essential-blocks")],icon:function(e){return r.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),B||(B=r.createElement("path",{fill:"#6C3BFF",d:"M56.72 18.711a28.9 28.9 0 0 0-6.214-9.218 28.9 28.9 0 0 0-9.218-6.214A28.8 28.8 0 0 0 30 1c-3.915 0-7.712.767-11.289 2.28a28.9 28.9 0 0 0-9.218 6.213 28.9 28.9 0 0 0-6.214 9.218A28.8 28.8 0 0 0 1 30c0 3.914.767 7.712 2.28 11.288a28.9 28.9 0 0 0 6.213 9.218 28.9 28.9 0 0 0 9.218 6.214A28.8 28.8 0 0 0 30 59a28.913 28.913 0 0 0 20.506-8.493 28.9 28.9 0 0 0 6.214-9.219A28.8 28.8 0 0 0 59 30a28.8 28.8 0 0 0-2.28-11.289m-8.39 29.62c-4.896 4.895-11.406 7.591-18.33 7.591s-13.435-2.696-18.331-7.592S4.077 36.924 4.077 30s2.696-13.435 7.592-18.331 11.407-7.592 18.33-7.592c6.925 0 13.435 2.696 18.331 7.592s7.593 11.407 7.593 18.33c0 6.925-2.697 13.435-7.593 18.331"})),T||(T=r.createElement("path",{fill:"#6C3BFF",d:"M31.693 28.478H28.03a3.96 3.96 0 0 1-3.954-3.955 3.96 3.96 0 0 1 3.954-3.954h7.323a1.538 1.538 0 0 0 0-3.076H31.4v-3.955a1.538 1.538 0 0 0-3.077 0v3.955h-.292A7.04 7.04 0 0 0 21 24.523a7.04 7.04 0 0 0 7.03 7.031h3.663a3.96 3.96 0 0 1 3.954 3.955 3.96 3.96 0 0 1-3.954 3.954H24.37a1.538 1.538 0 0 0 0 3.077h3.954v3.954a1.538 1.538 0 0 0 3.077 0V42.54h.292a7.04 7.04 0 0 0 7.03-7.031 7.04 7.04 0 0 0-7.03-7.031"})))},attributes:R,edit:x,save:function(e){var t=e.attributes,a=t.blockId,n=t.mainPrice,o=t.showOnSale,r=t.salePrice,l=t.priceCurrency,c=t.currencyPlacement,i=t.pricePeriod,s=t.periodSeparator,p=t.salePricePeriod,b=t.salePeriodSeparator,d=t.priceView,m=t.classHook,u="inline"===d?"eb-price-view-inline":"eb-price-view-stacked";return React.createElement(h.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-price-wrapper ".concat(a," ").concat(u),"data-id":a},React.createElement("div",{className:"eb-price-container"},o&&React.createElement(React.Fragment,null,React.createElement("h3",{className:"eb-sale-price-wrapper"},React.createElement("span",{className:"eb-sale-price","data-sale-price":r},"left"===c&&React.createElement("span",{className:"eb-price-currency"},l),r,"right"===c&&React.createElement("span",{className:"eb-price-currency"},l)),React.createElement("span",{className:"eb-sale-price-period"},b,p))," "),React.createElement("h3",{className:"eb-original-price-wrapper".concat(!0===o?" eb-line-through":"")},React.createElement("span",{className:"eb-original-price"},"left"===c&&React.createElement("span",{className:"eb-price-currency"},l),n,"right"===c&&React.createElement("span",{className:"eb-price-currency"},l)),React.createElement("span",{className:"eb-price-period"},s,i))))))},deprecated:P,example:{attributes:{}}})},7378:(e,t,a)=>{var n=a(7723),o=a(5694),r=a(4467),l=a(1609),c=a(8468),i=a(6427),s="wrprBg",p="wrpMargin",b="wrpPadding",d="wrpBorderShadow",m="breadcrumbPadding",u="breadcrumbBorderShadow",g="prefixIcon",f="prefixIcon",y=[{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],h=[{label:(0,n.__)("Text","essential-blocks"),value:"text"},{label:(0,n.__)("Icon","essential-blocks"),value:"icon"}],v=[{label:(0,n.__)("Normal","essential-blocks"),value:"normal"},{label:(0,n.__)("Hover","essential-blocks"),value:"hover"}],w="breadcrumb_typo",k="prefix_typo",R="separator_typo";function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const E=C(C(C(C(C(C(C(C(C(C(C({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},breadcrumbAlign:{type:"string",default:"flex-start"},breadcrumbType:{type:"string",default:"normal"},breadcrumbColor:{type:"string",default:"var(--eb-global-text-color)"},breadcrumbHvColor:{type:"string",default:"var(--eb-global-link-color)"},breadcrumbCurrentColor:{type:"string",default:"var(--eb-global-heading-color)"},breadcrumbCurrentHvColor:{type:"string",default:"var(--eb-global-link-color)"},showPrefix:{type:"boolean",default:!1},prefixType:{type:"string",default:"text"},prefixIcon:{type:"string",default:"fas fa-house-chimney-window"},prefixText:{type:"string",default:"Browse:"},prefixColor:{type:"string",default:"var(--eb-global-text-color)"},showHomePage:{type:"boolean",default:!0},homePageLabel:{type:"string",default:"Home"},separatorType:{type:"string",default:"text"},separatorIcon:{type:"string",default:"fas fa-angle-right"},separatorText:{type:"string",default:"/"},separatorColor:{type:"string",default:"var(--eb-global-text-color)"},breadcrumbGap:{type:"number",default:6},prefixGap:{type:"number",default:10}},(0,o.generateTypographyAttributes)(k,{fontSize:16})),(0,o.generateTypographyAttributes)(w,{fontSize:16})),(0,o.generateTypographyAttributes)(R,{fontSize:16})),(0,o.generateDimensionsAttributes)(p)),(0,o.generateDimensionsAttributes)(b)),(0,o.generateBorderShadowAttributes)(d,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,o.generateBackgroundAttributes)(s,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,o.generateResponsiveRangeAttributes)(g,{defaultRange:20})),(0,o.generateResponsiveRangeAttributes)(f,{defaultRange:14})),(0,o.generateBorderShadowAttributes)(u)),(0,o.generateDimensionsAttributes)(m)),x=function(e){var t=e.attributes,a=e.setAttributes,r=(t.resOption,t.prefixType),l=t.prefixIcon,c=t.prefixText,_=t.prefixColor,C=t.breadcrumbAlign,E=t.breadcrumbType,x=t.showPrefix,S=t.showHomePage,B=t.homePageLabel,T=t.separatorType,N=t.separatorIcon,P=t.separatorText,O=t.separatorColor,I=t.breadcrumbGap,D=t.prefixGap,A=t.breadcrumbColor,M=t.breadcrumbHvColor,L=t.breadcrumbCurrentColor,F=t.breadcrumbCurrentHvColor;return React.createElement(o.InspectorPanel,{advancedControlProps:{marginPrefix:p,paddingPrefix:b,backgroundPrefix:s,borderPrefix:d,hasMargin:!0}},React.createElement(o.InspectorPanel.General,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(i.ToggleControl,{label:(0,n.__)("Show Home Page","essential-blocks"),checked:S,onChange:function(){return a({showHomePage:!S})}}),S&&React.createElement(o.DynamicInputControl,{label:"Label for Home Page",attrName:"homePageLabel",inputValue:B,setAttributes:a,onChange:function(e){return a({homePageLabel:e})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Prefix","essential-blocks"),checked:x,onChange:function(){return a({showPrefix:!x})}}),!0===x&&React.createElement(React.Fragment,null,React.createElement(i.BaseControl,{label:(0,n.__)("Prefix Type","essential-blocks")},React.createElement(i.ButtonGroup,null,h.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:r!==o,isPrimary:r===o,onClick:function(){return a({prefixType:o})}},n)}))),"icon"===r&&React.createElement(o.EBIconPicker,{value:l,attributeName:"prefixIcon"}),"text"===r&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Prefix Text",attrName:"prefixText",inputValue:c,setAttributes:a,onChange:function(e){return a({prefixText:e})}}))),React.createElement(i.BaseControl,{label:(0,n.__)("Separator Type","essential-blocks")},React.createElement(i.ButtonGroup,null,h.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:T!==o,isPrimary:T===o,onClick:function(){return a({separatorType:o})}},n)}))),"icon"===T&&React.createElement(o.EBIconPicker,{value:N,attributeName:"separatorIcon"}),"text"===T&&React.createElement(React.Fragment,null,React.createElement(o.DynamicInputControl,{label:"Separator Text",attrName:"separatorText",inputValue:P,setAttributes:a,onChange:function(e){return a({separatorText:e})}})))),React.createElement(o.InspectorPanel.Style,null,React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(i.ButtonGroup,null,y.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:C===e.value,isSecondary:C!==e.value,onClick:function(){return a({breadcrumbAlign:e.value})}},e.label)}))),React.createElement(i.RangeControl,{label:(0,n.__)("Gap","essential-blocks"),value:I,onChange:function(e){return a({breadcrumbGap:e})},min:1,max:500,step:1,allowReset:!0}),React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(i.BaseControl,null,React.createElement(i.ButtonGroup,null,v.map(function(e,t){var n=e.label,o=e.value;return React.createElement(i.Button,{key:t,isSecondary:E!==o,isPrimary:E===o,onClick:function(){return a({breadcrumbType:o})}},n)}))),"normal"===E&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:A,attributeName:"breadcrumbColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Current Item Color","essential-blocks"),color:L,attributeName:"breadcrumbCurrentColor"})),"hover"===E&&React.createElement(React.Fragment,null,React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:M,attributeName:"breadcrumbHvColor"}),React.createElement(o.ColorControl,{label:(0,n.__)("Current Item Color","essential-blocks"),color:F,attributeName:"breadcrumbCurrentHvColor"})),React.createElement(o.ResponsiveDimensionsControl,{controlName:m,baseLabel:"Padding"}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(o.BorderShadowControl,{controlName:u})),React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Separators","essential-blocks"),initialOpen:!1},React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:O,attributeName:"separatorColor"}),"text"==T&&React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),"icon"===T&&N&&React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:f,min:8,max:200,step:1})),x&&React.createElement(o.InspectorPanel.PanelBody,{title:(0,n.__)("Prefix","essential-blocks"),initialOpen:!1},React.createElement(o.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:_,attributeName:"prefixColor"}),"text"===r&&React.createElement(o.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),"icon"===r&&l&&React.createElement(o.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:g,min:8,max:200,step:1}),React.createElement(i.RangeControl,{label:(0,n.__)("Right Gap","essential-blocks"),value:D,onChange:function(e){return a({prefixGap:e})},min:1,max:500,step:1,allowReset:!0}))))};function S(e){var t=e.attributes,a=e.setAttributes,n=e.name,r=(t.resOption,t.blockMeta,t.blockId),l=t.prefixColor,c=t.breadcrumbAlign,i=t.separatorColor,y=t.breadcrumbGap,h=t.prefixGap,v=t.breadcrumbColor,_=t.breadcrumbHvColor,C=t.breadcrumbCurrentColor,E=t.breadcrumbCurrentHvColor,x=(0,o.generateDimensionsControlStyles)({controlName:p,styleFor:"margin",attributes:t}),S=x.dimensionStylesDesktop,B=x.dimensionStylesTab,T=x.dimensionStylesMobile,N=(0,o.generateDimensionsControlStyles)({controlName:b,styleFor:"padding",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,I=N.dimensionStylesMobile,D=(0,o.generateBackgroundControlStyles)({attributes:t,controlName:s}),A=D.backgroundStylesDesktop,M=D.hoverBackgroundStylesDesktop,L=D.backgroundStylesTab,F=D.hoverBackgroundStylesTab,j=D.backgroundStylesMobile,H=D.hoverBackgroundStylesMobile,z=D.overlayStylesDesktop,U=D.hoverOverlayStylesDesktop,V=D.overlayStylesTab,G=D.hoverOverlayStylesTab,q=D.overlayStylesMobile,W=D.hoverOverlayStylesMobile,Z=D.bgTransitionStyle,J=D.ovlTransitionStyle,Y=(0,o.generateBorderShadowStyles)({controlName:d,attributes:t}),Q=Y.styesDesktop,X=Y.styesTab,$=Y.styesMobile,K=Y.stylesHoverDesktop,ee=Y.stylesHoverTab,te=Y.stylesHoverMobile,ae=Y.transitionStyle,ne=(0,o.generateBorderShadowStyles)({controlName:u,attributes:t}),oe=ne.styesDesktop,re=ne.styesTab,le=ne.styesMobile,ce=ne.stylesHoverDesktop,ie=ne.stylesHoverTab,se=ne.stylesHoverMobile,pe=ne.transitionStyle,be=(0,o.generateDimensionsControlStyles)({controlName:m,styleFor:"padding",attributes:t}),de=be.dimensionStylesDesktop,me=be.dimensionStylesTab,ue=be.dimensionStylesMobile,ge=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:w}),fe=ge.typoStylesDesktop,ye=ge.typoStylesTab,he=ge.typoStylesMobile,ve=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:R}),we=ve.typoStylesDesktop,ke=ve.typoStylesTab,Re=ve.typoStylesMobile,_e=(0,o.generateTypographyStyles)({attributes:t,prefixConstant:k}),Ce=_e.typoStylesDesktop,Ee=_e.typoStylesTab,xe=_e.typoStylesMobile,Se=(0,o.generateResponsiveRangeStyles)({controlName:g,property:"font-size",attributes:t}),Be=Se.rangeStylesDesktop,Te=Se.rangeStylesTab,Ne=Se.rangeStylesMobile,Pe=(0,o.generateResponsiveRangeStyles)({controlName:f,property:"font-size",attributes:t}),Oe=Pe.rangeStylesDesktop,Ie=Pe.rangeStylesTab,De=Pe.rangeStylesMobile,Ae="\n\t\t.".concat(r,".eb-breadcrumb-wrapper {\n\t\t\t").concat(S,"\n\t\t\t").concat(P,"\n\t\t\t").concat(Q,"\n\t\t\t").concat(A,"\n\t\t\ttransition:").concat(Z,", ").concat(ae,";\n\n justify-content: ").concat(c,";\n gap: ").concat(h||10,"px;\n\t\t}\n .").concat(r,".eb-breadcrumb-wrapper:hover {\n\t\t\t").concat(M,"\n\t\t\t").concat(K,"\n\t\t}\n .").concat(r,".eb-breadcrumb-wrapper:before{\n\t\t\t").concat(z,"\n\t\t\ttransition:").concat(J,";\n\t\t}\n\n\t\t.").concat(r,".eb-breadcrumb-wrapper:hover:before{\n\t\t\t").concat(U,"\n\t\t}\n\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb {\n gap: ").concat(y,"px;\n }\n\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item {\n ").concat(de,"\n ").concat(oe,"\n transition: ").concat(pe,";\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover {\n color: ").concat(_,";\n ").concat(ce,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item a {\n color: ").concat(v,";\n ").concat(fe,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover a{\n color: ").concat(_,";\n ").concat(ce,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item.current {\n color: ").concat(C,";\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item.current:hover {\n color: ").concat(E,";\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator *:not(i),\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator {\n color: ").concat(i,";\n ").concat(we,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator i{\n ").concat(Oe,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap *:not(i){\n color: ").concat(l,";\n ").concat(Ce,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap i {\n color: ").concat(l,";\n ").concat(Be,"\n }\n\t"),Me="\n\t\t.".concat(r,".eb-breadcrumb-wrapper {\n\t\t\t").concat(B,"\n\t\t\t").concat(O,"\n\t\t\t").concat(X,"\n\t\t\t").concat(L,"\n\t\t}\n .").concat(r,".eb-breadcrumb-wrapper:hover {\n\t\t\t").concat(ee,"\n ").concat(F,"\n\t\t}\n .").concat(r,".eb-breadcrumb-wrapper:before{\n\t\t\t").concat(V,"\n\t\t}\n\t\t.").concat(r,".eb-breadcrumb-wrapper:hover:before{\n\t\t\t").concat(G,"\n\t\t}\n\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item {\n ").concat(me,"\n ").concat(re,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover {\n ").concat(ie,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item a {\n ").concat(ye,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover a{\n ").concat(ie,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator *:not(i){\n ").concat(ke,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator i{\n ").concat(Ie,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap *:not(i){\n ").concat(Ee,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap i {\n ").concat(Te,"\n }\n\t"),Le="\n\t\t.".concat(r,".eb-icon-wrapper {\n\t\t\t").concat(T,"\n\t\t\t").concat(I,"\n\t\t\t").concat($,"\n\t\t\t").concat(j,"\n\t\t}\n\n\t\t.").concat(r,".eb-icon-wrapper:hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(te,"\n\t\t}\n\n .").concat(r,".eb-breadcrumb-wrapper:before{\n\t\t\t").concat(q,"\n\t\t}\n\t\t.").concat(r,".eb-breadcrumb-wrapper:hover:before{\n\t\t\t").concat(W,"\n\t\t}\n\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item {\n ").concat(ue,"\n ").concat(le,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover {\n ").concat(se,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item a {\n ").concat(he,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-item:hover a{\n ").concat(se,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator,\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator *:not(i){\n ").concat(Re,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .eb-breadcrumb-separator i{\n ").concat(De,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap *:not(i){\n ").concat(xe,"\n }\n .").concat(r,".eb-breadcrumb-wrapper .prefix-wrap i {\n ").concat(Ne,"\n }\n\t"),Fe=(0,o.softMinifyCssStrings)("\n\t\t".concat(Ae,"\n\t")),je=(0,o.softMinifyCssStrings)("\n\t\t".concat(Me,"\n\t")),He=(0,o.softMinifyCssStrings)("\n\t\t".concat(Le,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(o.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Fe,tabAllStyles:je,mobileAllStyles:He,blockName:n}))}function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,c.memo)((0,o.withBlockContext)(E)(function(e){var t,a=e.attributes,r=e.setAttributes,l=e.isSelected,c=a.blockId,i=a.classHook,s=a.prefixType,p=a.prefixText,b=a.prefixIcon,d=a.pricePlacement,m=a.showPrefix,u=a.separatorType,g=a.separatorIcon,f=a.separatorText,y=a.showHomePage,h=a.homePageLabel,v=T(T({},e),{},{blockPrefix:"eb-breadcrumb",style:React.createElement(S,e)});return t="icon"==u?React.createElement(o.EBDisplayIcon,{icon:g,className:"eb-taxonomy-prefix-icon"}):React.createElement(o.DynamicInputValueHandler,{value:f,tagName:"span",className:"eb-taxonomy-prefix-text",readOnly:!0}),React.createElement(React.Fragment,null,l&&React.createElement(x,{attributes:a,setAttributes:r}),React.createElement(o.BlockProps.Edit,v,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(c," ").concat(i)},React.createElement("div",{"aria-label":"Breadcrumb",className:"eb-breadcrumb-wrapper ".concat(c," ").concat(d),"data-id":c},!0===m&&React.createElement("div",{className:"prefix-wrap"},"text"===s&&p&&React.createElement(o.DynamicInputValueHandler,{value:p,tagName:"span",className:"eb-taxonomy-prefix-text",onChange:function(e){return r({prefixText:e})},readOnly:!0}),"icon"===s&&b&&React.createElement(o.EBDisplayIcon,{icon:b,className:"eb-taxonomy-prefix-icon"})),React.createElement("nav",{className:"eb-breadcrumb"},y&&h&&React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-breadcrumb-item"},h),React.createElement("span",{className:"eb-breadcrumb-separator"},t)),React.createElement("span",{className:"eb-breadcrumb-item"},(0,n.__)("Dummy Parent","essential-blocks")),React.createElement("span",{className:"eb-breadcrumb-separator"},t),React.createElement("span",{className:"eb-breadcrumb-item current"},(0,n.__)("Dummy Title","essential-blocks")))))))})),P=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Breadcrumbs","name":"essential-blocks/breadcrumbs","category":"essential-blocks","description":"Make smooth navigation for your posts or pages by adding Breadcrumb","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');var O,I,D,A,M;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},L.apply(null,arguments)}(0,o.ebConditionalRegisterBlockType)(P,{keywords:[(0,n.__)("Breadcrumb","essential-blocks"),(0,n.__)("EB Breadcrumb","essential-blocks"),(0,n.__)("Product Breadcrumb","essential-blocks"),(0,n.__)("breadcrumb","essential-blocks"),(0,n.__)("eb breadcrumb","essential-blocks")],icon:function(e){return l.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),O||(O=l.createElement("path",{fill:"#6C3BFF",d:"M2 50.71C2 53.132 3.892 55 6.345 55h47.31C56.108 55 58 53.132 58 50.71V8.29C58 5.868 56.108 4 53.655 4H6.345C3.892 4 2 5.868 2 8.29zM4.313 8.29c0-1.107.981-2.283 2.313-2.283h47.239c1.121 0 2.313.969 2.313 2.283v42.42c0 1.107-.981 2.283-2.313 2.283H6.345c-1.121 0-2.312-.969-2.312-2.283z"})),I||(I=l.createElement("path",{stroke:"#6C3BFF",strokeLinecap:"round",strokeWidth:1.8,d:"M4 14.5h52.5"})),D||(D=l.createElement("path",{fill:"#6C3BFF",d:"M9.25 11.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5M13 11.5A1.25 1.25 0 1 0 13 9a1.25 1.25 0 0 0 0 2.5M16.75 11.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5M16.876 39a.8.8 0 0 1-.478-.16.97.97 0 0 1-.323-.428 1.1 1.1 0 0 1-.064-.557c.027-.19.102-.366.216-.508l2.72-3.376-2.715-3.377a1.08 1.08 0 0 1-.18-.69 1.04 1.04 0 0 1 .282-.646.82.82 0 0 1 .596-.258c.22.001.432.096.593.265l3.25 4.037c.146.182.227.419.227.665 0 .245-.081.482-.227.664l-3.25 4.045a.9.9 0 0 1-.293.239.8.8 0 0 1-.354.085"})),A||(A=l.createElement("path",{fill:"#6C3BFF",d:"M15.75 34.5h-5a.75.75 0 1 1 0-1.5h5a.75.75 0 1 1 0 1.5M29.75 34.5h-5a.75.75 0 1 1 0-1.5h5a.75.75 0 1 1 0 1.5M46.75 34.5h-8a.75.75 0 1 1 0-1.5h8a.75.75 0 1 1 0 1.5"})),M||(M=l.createElement("path",{fill:"#6C3BFF",d:"M29.345 38.72a1.1 1.1 0 0 1-.072-1.528l3.257-3.695-3.257-3.694a1.1 1.1 0 0 1 .077-1.522 1.034 1.034 0 0 1 1.48.068l3.897 4.42a1.1 1.1 0 0 1 .273.728 1.1 1.1 0 0 1-.273.727l-3.897 4.42a1.05 1.05 0 0 1-.727.355 1.02 1.02 0 0 1-.758-.279M46.345 38.72a1.101 1.101 0 0 1-.072-1.529l3.257-3.696-3.256-3.692a1.1 1.1 0 0 1 .078-1.522 1.034 1.034 0 0 1 1.48.068l3.895 4.418a1.1 1.1 0 0 1 0 1.454l-3.895 4.423a1.05 1.05 0 0 1-.729.355 1.02 1.02 0 0 1-.758-.28"})))},attributes:E,edit:N,save:function(){return null},example:{attributes:{}}})},7478:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(4467),i=a(8468),s=a(7143),p=a(5694),b=a(6427),d="wrprBg",m="wrpMargin",u="wrpPadding",g="wrpBorderShadow",f="labelMargin",y="fieldBorder",h="fieldPadding",v="iconSize",w=((0,o.__)("Preset 1"),(0,o.__)("Preset 2"),(0,o.__)("Preset 3"),(0,o.__)("Preset 4"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Top"),(0,o.__)("Middle"),(0,o.__)("Bottom"),(0,o.__)("H1","essential-blocks"),(0,o.__)("H2","essential-blocks"),(0,o.__)("H3","essential-blocks"),(0,o.__)("H4","essential-blocks"),(0,o.__)("H5","essential-blocks"),(0,o.__)("H6","essential-blocks"),(0,o.__)("P","essential-blocks"),(0,o.__)("DIV","essential-blocks"),(0,o.__)("SPAN","essential-blocks"),(0,o.__)("Fill"),(0,o.__)("Gradient"),(0,o.__)("Image"),(0,o.__)("Auto"),(0,o.__)("Cover"),(0,o.__)("Contain"),(0,o.__)("None"),(0,o.__)("Dashed"),(0,o.__)("Solid"),(0,o.__)("Dotted"),(0,o.__)("Double"),(0,o.__)("Groove"),(0,o.__)("Inset"),(0,o.__)("Outset"),(0,o.__)("Ridge"),(0,o.__)("Select Hover Effect","essential-blocks"),(0,o.__)("Grow","essential-blocks"),(0,o.__)("Shrink","essential-blocks"),(0,o.__)("Pulse","essential-blocks"),(0,o.__)("Pulse Grow","essential-blocks"),(0,o.__)("Pulse Shrink","essential-blocks"),(0,o.__)("Push","essential-blocks"),(0,o.__)("Pop","essential-blocks"),(0,o.__)("Bounce In","essential-blocks"),(0,o.__)("Bounce Out","essential-blocks"),(0,o.__)("Rotate","essential-blocks"),(0,o.__)("Grow Rotate","essential-blocks"),(0,o.__)("Float","essential-blocks"),(0,o.__)("Sink","essential-blocks"),(0,o.__)("Bob","essential-blocks"),(0,o.__)("Hang","essential-blocks"),(0,o.__)("Skew","essential-blocks"),(0,o.__)("Skew Forward","essential-blocks"),(0,o.__)("Skew Backward","essential-blocks"),(0,o.__)("Wobble Horizontal","essential-blocks"),(0,o.__)("Wobble Vertical","essential-blocks"),(0,o.__)("Wobble To Bottom Right","essential-blocks"),(0,o.__)("Wobble To Top Right","essential-blocks"),(0,o.__)("Wobble Top","essential-blocks"),(0,o.__)("Wobble Bottom","essential-blocks"),(0,o.__)("Wobble Skew","essential-blocks"),(0,o.__)("Buzz","essential-blocks"),(0,o.__)("Buzz Out","essential-blocks"),(0,o.__)("Forward","essential-blocks"),(0,o.__)("Fade","essential-blocks"),(0,o.__)("Back Pulse","essential-blocks"),(0,o.__)("Sweep To Right","essential-blocks"),(0,o.__)("Sweep To Left","essential-blocks"),(0,o.__)("Sweep To Bottom","essential-blocks"),(0,o.__)("Sweep To Top","essential-blocks"),(0,o.__)("Bounce To Right","essential-blocks"),(0,o.__)("Bounce To Left","essential-blocks"),(0,o.__)("Bounce To Bottom","essential-blocks"),(0,o.__)("Bounce To Top","essential-blocks"),(0,o.__)("Radial Out","essential-blocks"),(0,o.__)("Radial In","essential-blocks"),(0,o.__)("Rectangle In","essential-blocks"),(0,o.__)("Rectangle Out","essential-blocks"),(0,o.__)("Shutter In Horizontal","essential-blocks"),(0,o.__)("Shutter Out Horizontal","essential-blocks"),(0,o.__)("Shutter In Vertical","essential-blocks"),(0,o.__)("Shutter Out Vertical","essential-blocks"),(0,o.__)("Curl Top Left","essential-blocks"),(0,o.__)("Curl Top Right","essential-blocks"),(0,o.__)("Curl Bottom Right","essential-blocks"),(0,o.__)("Curl Bottom Left","essential-blocks"),"label_"),k="validationText_",R="field_";const _=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=(t.resOption,t.showLabel),l=t.labelText,c=t.fieldName,i=t.defaultValue,s=t.placeholderText,_=t.isRequired,C=t.validationMessage,E=t.emailValidationMessage,x=t.labelColor,S=t.requiredColor,B=t.fieldColor,T=t.fieldPlaceholderColor,N=t.fieldBgColor,P=t.fieldValidationColor,O=t.fieldValidationBorderColor,I=t.isIcon,D=t.icon,A=t.iconColor,M=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:d,borderPrefix:g,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(b.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(p.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(p.DynamicInputControl,{label:(0,o.__)("Placeholder Text","essential-blocks"),attrName:"placeholderText",inputValue:s,setAttributes:a,onChange:function(e){return a({placeholderText:e})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:_,onChange:function(){return a({isRequired:!_})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Icon?","essential-blocks"),checked:I,onChange:function(){return a({isIcon:!I})}}),I&&React.createElement(React.Fragment,null,React.createElement(p.EBIconPicker,{value:D,onChange:function(e){return a({icon:e})}}))),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},enableAi:!1,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(p.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),_&&React.createElement(p.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:C,onChange:function(e){return a({validationMessage:e})},enableAi:!0}),React.createElement(p.EBTextControl,{label:(0,o.__)("Invalid Email Validation Message","essential-blocks"),value:E,onChange:function(e){return a({emailValidationMessage:e})},enableAi:!0})),React.createElement(p.FormConditionalLogics,{clientId:n,parentBlockId:M})),React.createElement(p.InspectorPanel.Style,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:x,attributeName:"labelColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:S,attributeName:"requiredColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:B,attributeName:"fieldColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Placeholder Color","essential-blocks"),color:T,attributeName:"fieldPlaceholderColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:N,attributeName:"fieldBgColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(p.BorderShadowControl,{controlName:y})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:P,attributeName:"fieldValidationColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Fields Border Color","essential-blocks"),color:O,attributeName:"fieldValidationBorderColor"})))),I&&React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:A,attributeName:"iconColor"}),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:v,min:1,max:100,step:1,noUnits:!0}))))))};function C(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.parentBlockId,r=t.blockId,l=(t.blockMeta,t.resOption,t.labelColor),c=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,_=t.fieldValidationColor,C=t.fieldValidationBorderColor,E=t.iconColor,x=void 0===E?"#B8C2D2":E,S=t.fieldPaddingLeft,B=t.fieldPaddingUnit,T=t.iconSizeRange,N=t.parentBlockPaddingLeft,P=t.parentBlockPaddingUnit,O=t.parentBlockIconSize,I=t.isIcon,D=t.parentIconColor,A=(0,p.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),M=A.dimensionStylesDesktop,L=A.dimensionStylesTab,F=A.dimensionStylesMobile,j=(0,p.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),H=j.dimensionStylesDesktop,z=j.dimensionStylesTab,U=j.dimensionStylesMobile,V=(0,p.generateBorderShadowStyles)({controlName:g,attributes:t}),G=V.styesDesktop,q=V.styesTab,W=V.styesMobile,Z=V.stylesHoverDesktop,J=V.stylesHoverTab,Y=V.stylesHoverMobile,Q=V.transitionStyle,X=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),$=X.backgroundStylesDesktop,K=X.hoverBackgroundStylesDesktop,ee=X.backgroundStylesTab,te=X.hoverBackgroundStylesTab,ae=X.backgroundStylesMobile,ne=X.hoverBackgroundStylesMobile,oe=X.bgTransitionStyle,re=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:w}),le=re.typoStylesDesktop,ce=re.typoStylesTab,ie=re.typoStylesMobile,se=(0,p.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),pe=se.dimensionStylesDesktop,be=se.dimensionStylesTab,de=se.dimensionStylesMobile,me=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:R}),ue=me.typoStylesDesktop,ge=me.typoStylesTab,fe=(me.typoStylesMobile,(0,p.generateTypographyStyles)({attributes:t,prefixConstant:k})),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=(fe.typoStylesMobile,(0,p.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t})),we=ve.dimensionStylesDesktop,ke=ve.dimensionStylesTab,Re=(ve.dimensionStylesMobile,(0,p.generateBorderShadowStyles)({controlName:y,attributes:t})),_e=Re.styesDesktop,Ce=Re.styesTab,Ee=(Re.styesMobile,Re.stylesHoverDesktop,Re.stylesHoverTab,Re.stylesHoverMobile,Re.transitionStyle,(0,p.generateResponsiveRangeStyles)({controlName:v,property:"font-size",attributes:t,customUnit:"px"})),xe=Ee.rangeStylesDesktop,Se=(Ee.rangeStylesTab,Ee.rangeStylesMobile,"\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(M,"\n\t\t\t").concat(H,"\n\t\t\t").concat($,"\n\t\t\t").concat(G,"\n\t\t\ttransition: ").concat(oe,", ").concat(Q,";\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(K,"\n\t\t\t").concat(Z,"\n\t\t}\n\t")),Be="\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(te,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t"),Te="\n\t\t.eb-email-field-wrapper.".concat(r,"{\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(W,"\n\t\t}\n\t\t.eb-email-field-wrapper.").concat(r,":hover {\n\t\t\t").concat(ne,"\n\t\t\t").concat(Y,"\n\t\t}\n\n\t"),Ne="\n .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(le,"\n ").concat(pe,"\n\t\t}\n .eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-required{\n color: ").concat(c,";\n }\n\t"),Pe="\n .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n\t\t\t").concat(ce,"\n ").concat(be,"\n\t\t}\n\t"),Oe="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," > label {\n ").concat(ie,"\n ").concat(de,"\n\t\t}\n\t"),Ie="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n ").concat(ue,"\n ").concat(we,"\n ").concat(_e,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n ").concat(ye,"\n\t\t\tcolor: ").concat(_,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(C,";\n\t\t}\n\t"),De="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n ").concat(ge,"\n ").concat(ke,"\n ").concat(Ce,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Ae="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n ").concat(ge,"\n ").concat(ke,"\n ").concat(Ce,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r,".eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Me="\n\t\t.eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-input-icon {\n ").concat(xe,"\n color: ").concat(x||D,";\n\t\t}\n\n ").concat(I?"\n .eb-form-wrapper.".concat(o," .eb-email-field-wrapper.").concat(r," .eb-input-icon {\n left: ").concat(S||N).concat(B,";\n }\n .eb-form-wrapper.").concat(o," .eb-email-field-wrapper.").concat(r," .eb-field-input {\n padding-left: calc(").concat(T||O,"px + (").concat(S||(0==N?8:N)).concat(B||P," * 1.6));\n }"):"","\n\t"),Le=(0,p.softMinifyCssStrings)("\n\t\t".concat(Se,"\n\t\t").concat(Ne,"\n\t\t").concat(Ie,"\n\t\t").concat(Me,"\n\t")),Fe=(0,p.softMinifyCssStrings)("\n\t\t".concat(Be,"\n\t\t").concat(Pe,"\n\t\t").concat(De,"\n\t")),je=(0,p.softMinifyCssStrings)("\n\t\t".concat(Te,"\n\t\t").concat(Oe,"\n\t\t").concat(Ae,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Le,tabAllStyles:Fe,mobileAllStyles:je,blockName:n}))}function E(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?E(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):E(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const S=x(x(x(x(x(x(x(x(x(x(x({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Email"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your email here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},emailValidationMessage:{type:"string",default:"The email address isn't valid"},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!1},icon:{type:"string",default:"far fa-envelope"},iconColor:{type:"string"}},(0,p.generateTypographyAttributes)(w)),(0,p.generateTypographyAttributes)(k)),(0,p.generateTypographyAttributes)(R)),(0,p.generateDimensionsAttributes)(m)),(0,p.generateDimensionsAttributes)(u)),(0,p.generateBackgroundAttributes)(d)),(0,p.generateBorderShadowAttributes)(g)),(0,p.generateDimensionsAttributes)(h)),(0,p.generateBorderShadowAttributes)(y)),(0,p.generateDimensionsAttributes)(f)),(0,p.generateResponsiveRangeAttributes)(v));function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,i.memo)((0,p.withBlockContext)(S)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,b=t.classHook,d=t.showLabel,m=t.labelText,u=t.fieldName,g=t.defaultValue,f=t.placeholderText,y=t.isRequired,h=t.validationMessage,v=(t.validationRules,t.emailValidationMessage),w=t.isIcon,k=t.icon,R=t.formStyle,E=T(T({},e),{},{blockPrefix:"eb-email-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(C,e)});return(0,i.useEffect)(function(){var e,t,n,l,c,i,b,d,m=(0,p.getBlockParentClientId)(o,"essential-blocks/form"),u=(0,s.select)("core/block-editor").getBlock(m),g=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,f=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,y=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.fieldsPaddingLeft,v=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;g&&a({parentBlockId:g,parentBlockPaddingLeft:h,parentBlockPaddingUnit:v,parentBlockIconSize:y,parentIconColor:f});var w=(0,s.select)("core/block-editor").wasBlockJustInserted(o),k=null==u||null===(i=u.attributes)||void 0===i?void 0:i.showLabel,R=null==u||null===(b=u.attributes)||void 0===b?void 0:b.showInputIcon;w&&void 0!==k&&void 0!==R&&a({showLabel:k,isIcon:R});var _=null==u||null===(d=u.attributes)||void 0===d?void 0:d.formStyle;if(_&&a({formStyle:_}),w&&m){var C=(0,s.select)("core/block-editor").getBlocksByClientId(m),E=(0,p.filterBlocksByName)(C,r),x=E.indexOf(o);-1!==x&&(1===E.length?a({fieldName:"email"}):a({fieldName:"email-".concat(x+1)}))}},[]),(0,i.useEffect)(function(){var e=(0,c.A)({},u,{isRequired:{status:y,message:h},isEmail:{message:v}});a({validationRules:e})},[y,u,h,v]),React.createElement(React.Fragment,null,n&&React.createElement(_,{clientId:o,attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,E,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(b)},React.createElement("div",{className:"".concat(l," eb-email-field-wrapper eb-field-wrapper")},d&&"form-style-modern"!=R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},React.createElement(p.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",y&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},w&&k&&React.createElement(p.EBDisplayIcon,{icon:k,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:u,name:u,className:"eb-field-input",value:g,placeholder:f,required:y}),"form-style-modern"==R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},m," ",y&&React.createElement("span",{className:"eb-required"},"*")))),y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(u)},h))))))}));var P=a(4715);function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=[{attributes:I({},S),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle,g=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement(p.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}},{attributes:I({},S),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.validationMessage,b=t.isIcon,d=t.icon,m=t.formStyle,u=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",u,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},b&&d&&React.createElement("i",{className:"".concat(d," eb-input-icon")}),React.createElement("input",{type:"email",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==m&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},p)))))}}],A=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Email Field","apiVersion":2,"name":"essential-blocks/form-email-field","description":"Form Block Text Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,p.ebConditionalRegisterBlockType)(A,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 51 36"},e),n||(n=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M48.9 1.1C48.22.42 47.28 0 46.24 0H3.78A3.79 3.79 0 0 0 0 3.78v27.46c0 2.08 1.7 3.78 3.78 3.78h42.46c2.08 0 3.78-1.7 3.78-3.78V3.78c0-1.05-.43-1.99-1.12-2.68m-.78 2.68v27.46c0 1.04-.84 1.88-1.88 1.88H3.78c-1.04 0-1.88-.84-1.88-1.88V3.78c0-.21.04-.41.11-.6l19.44 17.47c.98.88 2.25 1.37 3.56 1.37s2.58-.49 3.56-1.37L48.01 3.18c.07.19.11.39.11.6M27.3 19.24a3.417 3.417 0 0 1-4.58 0L3.46 1.93c.1-.02.21-.03.32-.03h42.46c.11 0 .21.01.32.03z"}),r.createElement("path",{d:"M31.82 7.09H18.2c-.52 0-.95.43-.95.95s.43.95.95.95h13.62c.52 0 .95-.43.95-.95s-.43-.95-.95-.95"}))))},attributes:S,edit:N,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle;return React.createElement(p.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-email-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement(p.EBDisplayIcon,{icon:m,className:"eb-input-icon"}),React.createElement("input",{type:"email",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l,className:"eb-field-label"},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))},example:{},deprecated:D})},7481:(e,t,a)=>{var n,o=a(7723),r=a(4467),l=a(1609),c=a(4715),i=a(8468),s=a(7143),p=a(9491),b=a(5694),d=a(3453),m=a(6427),u="wrpBg_",g="wrpBds_",f="navBds_",y="navDropdownBds_",h="navHamburgerItemBds_",v="dropdownItemBds_",w="wrpM_",k="wrpP_",R="navP_",_="navM_",C="hamburgerP_",E="hamburgerItemP_",x="dropdownP_",S="dropdownItemP_",B="hamburgerBtnP_",T="carZ_",N="dropdownW_",P="hamburgerBtnZ_",O="nav_",I="navDropdown_",D="navHamburger_",A="navHamburgerBtn_";function M(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function L(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?M(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):M(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const F=L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L(L((n={resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},layout:{type:"string",default:"is-horizontal"},preset:{type:"string",default:"preset-1"},verticalPreset:{type:"string",default:"vertical-preset-1"},navAlign:{type:"string",default:"items-justified-left"},dropdownOpenOnClick:{type:"boolean",default:!1},showDropdownIcon:{type:"boolean",default:!0},navBtnType:{type:"boolean",default:!0},navTextColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavTextColor:{type:"string",default:"var(--eb-global-primary-color)"},navBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavBgColor:{type:"string",default:"var(--eb-global-primary-color)"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},hvIconColor:{type:"string"},actIconColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvIconColor:{type:"string"},colorTransition:{type:"number"},actColorTransition:{type:"number"},navDropdownTextColor:{type:"string",default:"var(--eb-global-text-color)"},hvNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavDropdownTextColor:{type:"string",default:"var(--eb-global-primary-color)"},navDropdownBgColor:{type:"string",default:"var(--eb-global-background-color)"},hvNavDropdownBgColor:{type:"string",default:"var(--eb-global-background-color)"},actNavDropdownBgColor:{type:"string",default:"var(--eb-global-primary-color)"},actHvNavDropdownBgColor:{type:"string",default:"var(--eb-global-primary-color)"},dropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},hvDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},actDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"},actHvDropdownItemBgColor:{type:"string",default:"var(--eb-global-secondary-color)"}},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(n,"actColorTransition",{type:"number"}),"navDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"verticalNavDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"navDropdownDividerColor",{type:"string",default:"var(--eb-global-secondary-color)"}),"navHamburgerBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"navHamburgerTextColor",{type:"string",default:"var(--eb-global-text-color)"}),"hvNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),"hamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"hvHamburgerItemBgColor",{type:"string",default:""}),"actNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(n,"actHamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"actHvNavHamburgerTextColor",{type:"string",default:"var(--eb-global-primary-color)"}),"actHvHamburgerItemBgColor",{type:"string",default:"var(--eb-global-background-color)"}),"hamburgerCloseIconColor",{type:"string",default:"var(--eb-global-primary-color)"}),"navHamburgerBtnColor",{type:"string",default:"var(--eb-global-primary-color)"}),"flexWrap",{type:"boolean",default:!1}),"hamburgerMenu",{type:"string",default:"mobile"}),"navVerticalAlign",{type:"string",default:"items-justified-left"}),"showCaret",{type:"boolean",default:!0}),"caretColor",{type:"string",default:"var(--eb-global-secondary-color)"}),(0,r.A)((0,r.A)((0,r.A)(n,"hvCaretColor",{type:"string",default:"var(--eb-global-primary-color)"}),"hamburgerCloseIconAlign",{type:"string",default:"close-icon-right"}),"version",{type:"string"})),(0,b.generateTypographyAttributes)(O,{fontSize:16})),(0,b.generateTypographyAttributes)(I,{fontSize:16})),(0,b.generateTypographyAttributes)(D,{fontSize:16})),(0,b.generateTypographyAttributes)(A,{fontSize:16})),(0,b.generateResponsiveRangeAttributes)("ttlMinW_",{})),(0,b.generateResponsiveRangeAttributes)("iconZ_",{defaultRange:18,noUnits:!0})),(0,b.generateResponsiveRangeAttributes)("iconGap_",{defaultRange:10,noUnits:!0})),(0,b.generateResponsiveRangeAttributes)(T,{defaultRange:15,noUnits:!0})),(0,b.generateResponsiveRangeAttributes)(N,{defaultRange:200,noUnits:!0})),(0,b.generateResponsiveRangeAttributes)(P,{defaultRange:30,noUnits:!0})),(0,b.generateBackgroundAttributes)(u,{defaultFillColor:"var(--eb-global-background-color)",defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,b.generateBackgroundAttributes)("actNavBg_",{defaultFillColor:"#7967ff",noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,b.generateBackgroundAttributes)("conBg_",{noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,b.generateBackgroundAttributes)("ttlWBg_",{noOverlay:!0,defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,b.generateBorderShadowAttributes)(g,{bdrDefaults:{top:0,bottom:0,right:0,left:0},rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,b.generateBorderShadowAttributes)(y,{rdsDefaults:{top:5,bottom:5,right:5,left:5}})),(0,b.generateBorderShadowAttributes)(v,{rdsDefaults:{top:3,bottom:3,right:3,left:3}})),(0,b.generateBorderShadowAttributes)(f,{rdsDefaults:{top:3,bottom:3,right:3,left:3}})),(0,b.generateBorderShadowAttributes)("actNavBds_")),(0,b.generateBorderShadowAttributes)("conBds_",{bdrDefaults:{top:1,bottom:1,right:1,left:1},defaultBdrColor:"var(--eb-global-background-color)",defaultBdrStyle:"solid"})),(0,b.generateBorderShadowAttributes)(h)),(0,b.generateDimensionsAttributes)(w,{})),(0,b.generateDimensionsAttributes)(k)),(0,b.generateDimensionsAttributes)(R,{top:20,bottom:20,left:10,right:10})),(0,b.generateDimensionsAttributes)(_)),(0,b.generateDimensionsAttributes)("dropdownM_")),(0,b.generateDimensionsAttributes)(S,{top:10,bottom:10,left:10,right:10,isLinked:!1})),(0,b.generateDimensionsAttributes)(x,{top:5,bottom:5,left:5,right:5,isLinked:!1})),(0,b.generateDimensionsAttributes)("ttlWM_")),(0,b.generateDimensionsAttributes)("ttlWP_")),(0,b.generateDimensionsAttributes)(C,{top:5,bottom:5,left:5,right:5,isLinked:!1})),(0,b.generateDimensionsAttributes)(E,{top:15,bottom:15,left:15,right:15,isLinked:!1})),(0,b.generateDimensionsAttributes)(B,{top:10,bottom:10,left:10,right:10,isLinked:!1}));(0,o.__)("Preset 1"),(0,o.__)("Preset 2"),(0,o.__)("Preset 3"),(0,o.__)("Preset 4");var j=[{label:(0,o.__)("Preset 1"),value:"preset-1"},{label:(0,o.__)("Preset 2"),value:"preset-2"},{label:(0,o.__)("Preset 3"),value:"preset-3"},{label:(0,o.__)("Preset 4"),value:"preset-4"}],H=[{label:(0,o.__)("Preset 1"),value:"vertical-preset-1"},{label:(0,o.__)("Preset 2"),value:"vertical-preset-2"}],z=((0,o.__)("Fade"),[{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignleft"})),value:"items-justified-left"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-aligncenter"})),value:"items-justified-center"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignright"})),value:"items-justified-right"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-justify"})),value:"items-justified-space-between"}]),U=[{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignleft"})),value:"items-justified-left"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-aligncenter"})),value:"items-justified-center"},{label:(0,o.__)(React.createElement(m.Dashicon,{icon:"editor-alignright"})),value:"items-justified-right"}],V=[{label:(0,o.__)("Text"),value:!1},{label:(0,o.__)("Icon"),value:!0}],G=[{label:(0,o.__)("OFF"),value:"never"},{label:(0,o.__)("MOBILE"),value:"mobile"},{label:(0,o.__)("ALWAYS"),value:"always"}],q=[{label:(0,o.__)("Left"),value:"close-icon-left"},{label:(0,o.__)("Center"),value:"close-icon-center"},{label:(0,o.__)("Right"),value:"close-icon-right"}];(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Top"),(0,o.__)("Middle"),(0,o.__)("Bottom"),(0,o.__)("Fill"),(0,o.__)("Gradient"),(0,o.__)("Image"),(0,o.__)("Auto"),(0,o.__)("Cover"),(0,o.__)("Contain"),(0,o.__)("None"),(0,o.__)("Dashed"),(0,o.__)("Solid"),(0,o.__)("Dotted"),(0,o.__)("Double"),(0,o.__)("Groove"),(0,o.__)("Inset"),(0,o.__)("Outset"),(0,o.__)("Ridge"),(0,o.__)("Select Hover Effect","essential-blocks"),(0,o.__)("Grow","essential-blocks"),(0,o.__)("Shrink","essential-blocks"),(0,o.__)("Pulse","essential-blocks"),(0,o.__)("Pulse Grow","essential-blocks"),(0,o.__)("Pulse Shrink","essential-blocks"),(0,o.__)("Push","essential-blocks"),(0,o.__)("Pop","essential-blocks"),(0,o.__)("Bounce In","essential-blocks"),(0,o.__)("Bounce Out","essential-blocks"),(0,o.__)("Rotate","essential-blocks"),(0,o.__)("Grow Rotate","essential-blocks"),(0,o.__)("Float","essential-blocks"),(0,o.__)("Sink","essential-blocks"),(0,o.__)("Bob","essential-blocks"),(0,o.__)("Hang","essential-blocks"),(0,o.__)("Skew","essential-blocks"),(0,o.__)("Skew Forward","essential-blocks"),(0,o.__)("Skew Backward","essential-blocks"),(0,o.__)("Wobble Horizontal","essential-blocks"),(0,o.__)("Wobble Vertical","essential-blocks"),(0,o.__)("Wobble To Bottom Right","essential-blocks"),(0,o.__)("Wobble To Top Right","essential-blocks"),(0,o.__)("Wobble Top","essential-blocks"),(0,o.__)("Wobble Bottom","essential-blocks"),(0,o.__)("Wobble Skew","essential-blocks"),(0,o.__)("Buzz","essential-blocks"),(0,o.__)("Buzz Out","essential-blocks"),(0,o.__)("Forward","essential-blocks"),(0,o.__)("Fade","essential-blocks"),(0,o.__)("Back Pulse","essential-blocks"),(0,o.__)("Sweep To Right","essential-blocks"),(0,o.__)("Sweep To Left","essential-blocks"),(0,o.__)("Sweep To Bottom","essential-blocks"),(0,o.__)("Sweep To Top","essential-blocks"),(0,o.__)("Bounce To Right","essential-blocks"),(0,o.__)("Bounce To Left","essential-blocks"),(0,o.__)("Bounce To Bottom","essential-blocks"),(0,o.__)("Bounce To Top","essential-blocks"),(0,o.__)("Radial Out","essential-blocks"),(0,o.__)("Radial In","essential-blocks"),(0,o.__)("Rectangle In","essential-blocks"),(0,o.__)("Rectangle Out","essential-blocks"),(0,o.__)("Shutter In Horizontal","essential-blocks"),(0,o.__)("Shutter Out Horizontal","essential-blocks"),(0,o.__)("Shutter In Vertical","essential-blocks"),(0,o.__)("Shutter Out Vertical","essential-blocks"),(0,o.__)("Curl Top Left","essential-blocks"),(0,o.__)("Curl Top Right","essential-blocks"),(0,o.__)("Curl Bottom Right","essential-blocks"),(0,o.__)("Curl Bottom Left","essential-blocks");const W=function(e){var t=e.attributes,a=e.setAttributes,n=t.layout,l=t.navTextColor,c=t.hvNavTextColor,s=t.actNavTextColor,p=t.actHvNavTextColor,M=t.colorTransition,L=t.actColorTransition,W=t.caretColor,Z=t.preset,J=t.navAlign,Y=t.hvNavBgColor,Q=t.actNavBgColor,X=t.actHvNavBgColor,$=t.navDropdownTextColor,K=t.hvNavDropdownTextColor,ee=t.actNavDropdownTextColor,te=t.actHvNavDropdownTextColor,ae=t.navDropdownBgColor,ne=t.dropdownOpenOnClick,oe=t.showDropdownIcon,re=t.navBtnType,le=t.dropdownItemBgColor,ce=t.hvDropdownItemBgColor,ie=t.actDropdownItemBgColor,se=t.actHvDropdownItemBgColor,pe=t.hvCaretColor,be=t.verticalPreset,de=t.navHamburgerBgColor,me=t.navHamburgerTextColor,ue=t.hamburgerItemBgColor,ge=t.hvNavHamburgerTextColor,fe=t.hvHamburgerItemBgColor,ye=t.hamburgerCloseIconColor,he=t.navDividerColor,ve=t.navDropdownDividerColor,we=t.flexWrap,ke=t.navVerticalAlign,Re=t.hamburgerMenu,_e=t.navHamburgerBtnColor,Ce=t.hamburgerCloseIconAlign,Ee=t.verticalNavDividerColor,xe=(0,i.useState)("normal"),Se=(0,d.A)(xe,2),Be=Se[0],Te=Se[1],Ne=(0,i.useState)("normal"),Pe=(0,d.A)(Ne,2),Oe=Pe[0],Ie=Pe[1],De=function(e){var t,n;switch(a({preset:e}),e){case"preset-1":a((t={wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",hvNavDropdownTextColor:"#2673FF",hvNavBgColor:"#ffffff",actNavBgColor:"#ffffff",actHvNavBgColor:"#ffffff",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5"},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"hvNavDropdownTextColor","#2673FF"),"dropdownItemBgColor","#ffffff"),"hvDropdownItemBgColor","#ffffff"),"dropdownP_Bottom","10"),"dropdownP_Left","10"),"dropdownP_Right","10"),"dropdownP_Top","10"),"dropdownP_Unit","px"),"dropdownP_isLinked",!0),"dropdownItemP_Bottom","10"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"dropdownItemP_Left","10"),"dropdownItemP_Right","10"),"dropdownItemP_Top","10"),"dropdownItemP_Unit","px"),"dropdownItemP_isLinked",!0),"wrpBds_Rds_Bottom","5"),"wrpBds_Rds_Left","5"),"wrpBds_Rds_Right","5"),"wrpBds_Rds_Top","5"),"navDropdownBds_Rds_Bottom","5"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"navDropdownBds_Rds_Left","5"),"navDropdownBds_Rds_Right","5"),"navDropdownBds_Rds_Top","5"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#2673FF"),"wrpBds_Bdr_Bottom","1"),"wrpBds_Bdr_Left","1"),"wrpBds_Bdr_Right","1"),"wrpBds_Bdr_Top","1"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#6C63FF"),"navDropdownBds_Bdr_Bottom","1"),"navDropdownBds_Bdr_Left","1"),"navDropdownBds_Bdr_Right","1"),"navDropdownBds_Bdr_Top","1"),"navDropdownBds_Bdr_Unit","px"),(0,r.A)(t,"navDropdownBds_Bdr_isLinked",!0)));break;case"preset-2":a({wrpBg_backgroundColor:"#6C63FF",navTextColor:"#ffffff",hvNavTextColor:"#6C63FF",navHamburgerBtnColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#6C63FF",actNavTextColor:"#6C63FF",actHvNavTextColor:"#6C63FF",hvNavBgColor:"#ffffff",actNavBgColor:"#ffffff",actHvNavBgColor:"#ffffff",navDropdownBgColor:"#6C63FF",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#6C63FF",dropdownItemBgColor:"#6C63FF",hvDropdownItemBgColor:"#ffffff",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"0",wrpBds_Rds_Left:"0",wrpBds_Rds_Right:"0",wrpBds_Rds_Top:"0",navDropdownBds_Rds_Bottom:"0",navDropdownBds_Rds_Left:"0",navDropdownBds_Rds_Right:"0",navDropdownBds_Rds_Top:"0",wrpBds_BorderType:"normal",wrpBds_borderStyle:"none",wrpBds_borderColor:"#6C63FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"none",navDropdownBds_borderColor:"#6C63FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;case"preset-3":a((n={wrpBg_backgroundColor:"#2673FF",navTextColor:"#ffffff",hvNavTextColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#ffffff",navHamburgerBtnColor:"#ffffff",actNavTextColor:"#ffffff",actHvNavTextColor:"#ffffff",hvNavBgColor:"#0059FC",actNavBgColor:"#0059FC",actHvNavBgColor:"#0059FC",navDropdownBgColor:"#2673FF",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#ffffff",dropdownItemBgColor:"#2673FF",hvDropdownItemBgColor:"#0059FC",dropdownP_Bottom:"10",dropdownP_Left:"10",dropdownP_Right:"10",dropdownP_Top:"10",dropdownP_Unit:"px",dropdownP_isLinked:!0},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(n,"hvCaretColor","#ffffff"),"dropdownItemBds_Rds_Bottom","0"),"dropdownItemBds_Rds_Left","0"),"dropdownItemBds_Rds_Right","0"),"dropdownItemBds_Rds_Top","0"),"wrpBds_Rds_Bottom","0"),"wrpBds_Rds_Left","0"),"wrpBds_Rds_Right","0"),"wrpBds_Rds_Top","0"),"navDropdownBds_Rds_Bottom","0"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(n,"navDropdownBds_Rds_Left","0"),"navDropdownBds_Rds_Right","0"),"navDropdownBds_Rds_Top","0"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#6C63FF"),"wrpBds_Bdr_Bottom","1"),"wrpBds_Bdr_Left","1"),"wrpBds_Bdr_Right","1"),"wrpBds_Bdr_Top","1"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(n,"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#6C63FF"),"navDropdownBds_Bdr_Bottom","1"),"navDropdownBds_Bdr_Left","1"),"navDropdownBds_Bdr_Right","1"),"navDropdownBds_Bdr_Top","1"),"navDropdownBds_Bdr_Unit","px"),(0,r.A)(n,"navDropdownBds_Bdr_isLinked",!0)));break;case"preset-4":a({wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5",hvNavDropdownTextColor:"#2673FF",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"5",wrpBds_Rds_Left:"5",wrpBds_Rds_Right:"5",wrpBds_Rds_Top:"5",navDropdownBds_Rds_Bottom:"5",navDropdownBds_Rds_Left:"5",navDropdownBds_Rds_Right:"5",navDropdownBds_Rds_Top:"5",wrpBds_BorderType:"normal",wrpBds_borderStyle:"solid",wrpBds_borderColor:"#2673FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"solid",navDropdownBds_borderColor:"#2673FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;default:return!1}},Ae=function(e){var t;switch(a({verticalPreset:e}),e){case"vertical-preset-1":a((t={wrpBg_backgroundColor:"#ffffff",navTextColor:"#6A72A5",hvNavTextColor:"#2673FF",caretColor:"#6A72A5",hvCaretColor:"#2673FF",navHamburgerBtnColor:"#2673FF",actNavTextColor:"#2673FF",actHvNavTextColor:"#2673FF",navDropdownBgColor:"#ffffff",navDropdownTextColor:"#6A72A5",hvNavDropdownTextColor:"#2673FF",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,dropdownItemP_Bottom:"10",dropdownItemP_Left:"10",dropdownItemP_Right:"10",dropdownItemP_Top:"10",dropdownItemP_Unit:"px",dropdownItemP_isLinked:!0},(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"actNavTextColor","#2673FF"),"hvNavTextColor","#2673FF"),"hvCaretColor","#2673FF"),"wrpBds_Rds_Bottom","5"),"wrpBds_Rds_Left","5"),"wrpBds_Rds_Right","5"),"wrpBds_Rds_Top","5"),"navDropdownBds_Rds_Bottom","5"),"navDropdownBds_Rds_Left","5"),"navDropdownBds_Rds_Right","5"),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"navDropdownBds_Rds_Top","5"),"wrpBds_BorderType","normal"),"wrpBds_borderStyle","none"),"wrpBds_borderColor","#ffffff"),"wrpBds_Bdr_Bottom","0"),"wrpBds_Bdr_Left","0"),"wrpBds_Bdr_Right","0"),"wrpBds_Bdr_Top","0"),"wrpBds_Bdr_Unit","px"),"wrpBds_Bdr_isLinked",!0),(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)(t,"navDropdownBds_BorderType","normal"),"navDropdownBds_borderStyle","none"),"navDropdownBds_borderColor","#ffffff"),"navDropdownBds_Bdr_Bottom","0"),"navDropdownBds_Bdr_Left","0"),"navDropdownBds_Bdr_Right","0"),"navDropdownBds_Bdr_Top","0"),"navDropdownBds_Bdr_Unit","px"),"navDropdownBds_Bdr_isLinked",!0)));break;case"vertical-preset-2":a({wrpBg_backgroundColor:"#2673FF",navTextColor:"#ffffff",hvNavTextColor:"#ffffff",caretColor:"#ffffff",hvCaretColor:"#ffffff",navHamburgerBtnColor:"#ffffff",actNavTextColor:"#ffffff",actHvNavTextColor:"#ffffff",hvNavBgColor:"#0059FC",actNavBgColor:"#0053EB",actHvNavBgColor:"#0053EB",navDropdownBgColor:"#0059FC",navDropdownTextColor:"#ffffff",hvNavDropdownTextColor:"#ffffff",dropdownItemBgColor:"#0059FC",hvDropdownItemBgColor:"#0053EB",dropdownP_Bottom:"0",dropdownP_Left:"0",dropdownP_Right:"0",dropdownP_Top:"0",dropdownP_Unit:"px",dropdownP_isLinked:!0,wrpBds_Rds_Bottom:"5",wrpBds_Rds_Left:"5",wrpBds_Rds_Right:"5",wrpBds_Rds_Top:"5",navDropdownBds_Rds_Bottom:"5",navDropdownBds_Rds_Left:"5",navDropdownBds_Rds_Right:"5",navDropdownBds_Rds_Top:"5",wrpBds_BorderType:"normal",wrpBds_borderStyle:"solid",wrpBds_borderColor:"#2673FF",wrpBds_Bdr_Bottom:"1",wrpBds_Bdr_Left:"1",wrpBds_Bdr_Right:"1",wrpBds_Bdr_Top:"1",wrpBds_Bdr_Unit:"px",wrpBds_Bdr_isLinked:!0,navDropdownBds_BorderType:"normal",navDropdownBds_borderStyle:"none",navDropdownBds_borderColor:"#2673FF",navDropdownBds_Bdr_Bottom:"1",navDropdownBds_Bdr_Left:"1",navDropdownBds_Bdr_Right:"1",navDropdownBds_Bdr_Top:"1",navDropdownBds_Bdr_Unit:"px",navDropdownBds_Bdr_isLinked:!0});break;default:return!1}};return React.createElement(b.InspectorPanel,{advancedControlProps:{marginPrefix:w,paddingPrefix:k,backgroundPrefix:u,borderPrefix:g,hasMargin:!0}},React.createElement(b.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(m.PanelRow,null,(0,o.__)("Layout","essential-blocks")),React.createElement(m.SelectControl,{label:(0,o.__)("Orientation","essential-blocks"),value:n,options:[{label:(0,o.__)("Horizontal","essential-blocks"),value:"is-horizontal"},{label:(0,o.__)("Vertical","essential-blocks"),value:"is-vertical"}],onChange:function(e){return function(e){a({layout:e}),"is-horizontal"===e?De(e):Ae(be)}(e)}}),"is-horizontal"==n&&React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:(0,o.__)("Preset","essential-blocks"),value:Z,options:j,onChange:function(e){return De(e)}}),React.createElement(m.ToggleControl,{label:(0,o.__)("Allow to wrap to multiple lines","essential-blocks"),checked:we,onChange:function(e){return a({flexWrap:e})}}),React.createElement(m.BaseControl,{label:(0,o.__)("Alignment","essential-blocks")},React.createElement(m.ButtonGroup,{id:"eb-button-group-alignment"},z.map(function(e,t){return React.createElement(m.Button,{key:t,isPrimary:J===e.value,isSecondary:J!==e.value,onClick:function(){return a({navAlign:e.value})}},e.label)})))),"is-vertical"==n&&React.createElement(React.Fragment,null,React.createElement(m.SelectControl,{label:(0,o.__)("Preset","essential-blocks"),value:be,options:H,onChange:function(e){return Ae(e)}}),React.createElement(m.BaseControl,{label:(0,o.__)("Alignment","essential-blocks")},React.createElement(m.ButtonGroup,{id:"eb-button-group-alignment"},U.map(function(e,t){return React.createElement(m.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({navVerticalAlign:e.value})}},e.label)})))),React.createElement(m.__experimentalDivider,null),React.createElement(m.PanelRow,null,(0,o.__)("Dropdown Menus","essential-blocks")),React.createElement(m.ToggleControl,{label:(0,o.__)("Open on Click","essential-blocks"),checked:ne,onChange:function(e){return a({dropdownOpenOnClick:e})}}),React.createElement(m.ToggleControl,{label:(0,o.__)("Show Dropdown Menu Icon?","essential-blocks"),checked:oe,onChange:function(e){return a({showDropdownIcon:e})}})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Hamburger Menu","essential-blocks"),initialOpen:!0},React.createElement(m.BaseControl,{label:(0,o.__)("Button Type","essential-blocks")},React.createElement(m.ButtonGroup,{id:"eb-button-group-alignment"},V.map(function(e,t){return React.createElement(m.Button,{key:t,isPrimary:re===e.value,isSecondary:re!==e.value,onClick:function(){return a({navBtnType:e.value})}},e.label)}))),React.createElement(m.BaseControl,{label:(0,o.__)("Display Hamburger Menu","essential-blocks")},React.createElement(m.ButtonGroup,{id:"eb-button-group-alignment"},G.map(function(e,t){return React.createElement(m.Button,{key:t,isPrimary:Re===e.value,isSecondary:Re!==e.value,onClick:function(){return a({hamburgerMenu:e.value})}},e.label)})))))),React.createElement(b.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Navigation","essential-blocks"),initialOpen:!0},React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:O}),React.createElement(b.ResponsiveDimensionsControl,{controlName:R,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.ResponsiveDimensionsControl,{controlName:_,baseLabel:(0,o.__)("Margin","essential-blocks")}),"is-horizontal"==n&&"preset-4"==Z&&React.createElement(b.ColorControl,{label:(0,o.__)("Divider Color","essential-blocks"),defaultColor:F.navDividerColor.default,color:he,attributeName:"navDividerColor"}),"is-vertical"==n&&"preset-1"==Z&&React.createElement(b.ColorControl,{label:(0,o.__)("Divider Color","essential-blocks"),defaultColor:F.verticalNavDividerColor.default,color:Ee,attributeName:"verticalNavDividerColor"}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(m.BaseControl,null,React.createElement(m.ButtonGroup,null,[{label:(0,o.__)("Normal","essential-blocks"),value:"normal"},{label:(0,o.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(m.Button,{key:t,isPrimary:Be===a,isSecondary:Be!==a,onClick:function(){return Te(a)}},n)}))),"normal"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.navTextColor.default,color:l,attributeName:"navTextColor"})),"hover"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.hvNavTextColor.default,color:c,attributeName:"hvNavTextColor"}),"is-horizontal"==n&&("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hvNavBgColor.default,color:Y,attributeName:"hvNavBgColor"}),"is-vertical"==n&&"vertical-preset-2"==be&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hvNavBgColor.default,color:Y,attributeName:"hvNavBgColor"}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(m.BaseControl,null,React.createElement(m.ButtonGroup,null,[{label:(0,o.__)("Normal","essential-blocks"),value:"normal"},{label:(0,o.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(m.Button,{key:t,isPrimary:Oe===a,isSecondary:Oe!==a,onClick:function(){return Ie(a)}},n)}))),"normal"===Oe&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.actNavTextColor.default,color:s,attributeName:"actNavTextColor"}),"is-horizontal"==n&&("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.actNavBgColor.default,color:Q,attributeName:"actNavBgColor"}),"is-vertical"==n&&"vertical-preset-2"==be&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.actNavBgColor.default,color:Q,attributeName:"actNavBgColor"})),"hover"===Oe&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.actHvNavTextColor.default,color:p,attributeName:"actHvNavTextColor"}),"is-horizontal"==n&&("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Backgound","essential-blocks"),defaultColor:F.actHvNavBgColor.default,color:X,attributeName:"actHvNavBgColor"}),"is-vertical"==n&&"vertical-preset-2"==be&&React.createElement(b.ColorControl,{label:(0,o.__)("Backgound","essential-blocks"),defaultColor:F.actHvNavBgColor.default,color:X,attributeName:"actHvNavBgColor"}),React.createElement(m.BaseControl,{label:(0,o.__)("Transition","essential-blocks")},React.createElement(m.RangeControl,{value:L,onChange:function(e){return a({actColorTransition:e})},step:.1,min:0,max:5})))),"preset-3"===Z&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Active & Hover Border"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:f,noShadow:!0,noBdrHover:!0}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Dropdown Menu","essential-blocks"),initialOpen:!1},React.createElement(m.PanelRow,null,(0,o.__)("Container","essential-blocks")),React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Min Width (PX)","essential-blocks"),controlName:N,min:100,max:500,step:1,noUnits:!0}),React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.navDropdownBgColor.default,color:ae,attributeName:"navDropdownBgColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:x,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:y,noBdrHover:!0})),React.createElement(m.__experimentalDivider,null),React.createElement(m.PanelRow,null,(0,o.__)("Items","essential-blocks")),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:I}),React.createElement(b.ResponsiveDimensionsControl,{controlName:S,baseLabel:(0,o.__)("Padding","essential-blocks")}),"preset-4"==Z&&React.createElement(b.ColorControl,{label:(0,o.__)("Divider Color","essential-blocks"),defaultColor:F.navDropdownDividerColor.default,color:ve,attributeName:"navDropdownDividerColor"}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(m.BaseControl,null,React.createElement(m.ButtonGroup,null,[{label:(0,o.__)("Normal","essential-blocks"),value:"normal"},{label:(0,o.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(m.Button,{key:t,isPrimary:Be===a,isSecondary:Be!==a,onClick:function(){return Te(a)}},n)}))),"normal"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.navDropdownTextColor.default,color:$,attributeName:"navDropdownTextColor"}),("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.dropdownItemBgColor.default,color:le,attributeName:"dropdownItemBgColor"})),"hover"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.hvNavDropdownTextColor.default,color:K,attributeName:"hvNavDropdownTextColor"}),"is-horizontal"==n&&("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hvDropdownItemBgColor.default,color:ce,attributeName:"hvDropdownItemBgColor"}),"is-vertical"==n&&"vertical-preset-2"==be&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hvDropdownItemBgColor.default,color:ce,attributeName:"hvDropdownItemBgColor"}),React.createElement(m.RangeControl,{label:(0,o.__)("Transition","essential-blocks"),value:M,onChange:function(e){return a({colorTransition:e})},step:.1,min:0,max:5}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Active Colors","essential-blocks"),initialOpen:!1},React.createElement(m.BaseControl,null,React.createElement(m.ButtonGroup,null,[{label:(0,o.__)("Normal","essential-blocks"),value:"normal"},{label:(0,o.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(m.Button,{key:t,isPrimary:Oe===a,isSecondary:Oe!==a,onClick:function(){return Ie(a)}},n)}))),"normal"===Oe&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.actNavDropdownTextColor.default,color:ee,attributeName:"actNavDropdownTextColor"}),("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.actDropdownItemBgColor.default,color:ie,attributeName:"actDropdownItemBgColor"})),"hover"===Oe&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.actHvNavDropdownTextColor.default,color:te,attributeName:"actHvNavDropdownTextColor"}),("preset-2"==Z||"preset-3"==Z)&&React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.actHvDropdownItemBgColor.default,color:se,attributeName:"actHvDropdownItemBgColor"}))),"preset-3"==Z&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:v,noShadow:!0}))),oe&&React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Caret","essential-blocks"),initialOpen:!1},React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Caret Size","essential-blocks"),controlName:T,min:0,max:100,step:1,noUnits:!0}),React.createElement(b.ColorControl,{label:(0,o.__)("Caret Color","essential-blocks"),defaultColor:F.caretColor.default,color:W,attributeName:"caretColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Hover Caret Color","essential-blocks"),defaultColor:F.hvCaretColor.default,color:pe,attributeName:"hvCaretColor"})),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Hamburger Menu","essential-blocks"),initialOpen:!1},React.createElement(m.PanelRow,null,(0,o.__)("Button","essential-blocks")),re&&React.createElement(b.ResponsiveRangeController,{baseLabel:(0,o.__)("Icon Size(PX)","essential-blocks"),controlName:P,min:0,max:100,step:1,noUnits:!0}),!re&&React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:A}),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),defaultColor:F.navHamburgerBtnColor.default,color:_e,attributeName:"navHamburgerBtnColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:B,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(m.PanelRow,null,(0,o.__)("Container","essential-blocks")),React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.navHamburgerBgColor.default,color:de,attributeName:"navHamburgerBgColor"}),React.createElement(b.ResponsiveDimensionsControl,{controlName:C,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(m.__experimentalDivider,null),React.createElement(m.PanelRow,null,(0,o.__)("Items","essential-blocks")),React.createElement(b.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:D}),React.createElement(b.ResponsiveDimensionsControl,{controlName:E,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Colors","essential-blocks"),initialOpen:!1},React.createElement(m.BaseControl,null,React.createElement(m.ButtonGroup,null,[{label:(0,o.__)("Normal","essential-blocks"),value:"normal"},{label:(0,o.__)("Hover","essential-blocks"),value:"hover"}].map(function(e,t){var a=e.value,n=e.label;return React.createElement(m.Button,{key:t,isPrimary:Be===a,isSecondary:Be!==a,onClick:function(){return Te(a)}},n)}))),"normal"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.navHamburgerTextColor.default,color:me,attributeName:"navHamburgerTextColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hamburgerItemBgColor.default,color:ue,attributeName:"hamburgerItemBgColor"})),"hover"===Be&&React.createElement(React.Fragment,null,React.createElement(b.ColorControl,{label:(0,o.__)("Text","essential-blocks"),defaultColor:F.hvNavHamburgerTextColor.default,color:ge,attributeName:"hvNavHamburgerTextColor"}),React.createElement(b.ColorControl,{label:(0,o.__)("Background","essential-blocks"),defaultColor:F.hvHamburgerItemBgColor.default,color:fe,attributeName:"hvHamburgerItemBgColor"}))),React.createElement(b.InspectorPanel.PanelBody,{title:(0,o.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(b.BorderShadowControl,{controlName:h,noShadow:!0,noBdrHover:!0})),React.createElement(m.__experimentalDivider,null),React.createElement(m.PanelRow,null,(0,o.__)("Close Icon","essential-blocks")),React.createElement(b.ColorControl,{label:(0,o.__)("Color","essential-blocks"),defaultColor:F.hamburgerCloseIconColor.default,color:ye,attributeName:"hamburgerCloseIconColor"}),React.createElement(m.BaseControl,{label:(0,o.__)("Alignment","essential-blocks")},React.createElement(m.ButtonGroup,{id:"eb-button-group-alignment"},q.map(function(e,t){return React.createElement(m.Button,{key:t,isPrimary:Ce===e.value,isSecondary:Ce!==e.value,onClick:function(){return a({hamburgerCloseIconAlign:e.value})}},e.label)})))))))};function Z(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.layout,l=t.navTextColor,c=t.hvNavTextColor,i=t.actNavTextColor,s=t.actHvNavTextColor,p=t.caretColor,d=t.carZ_Range,m=t.TABcarZ_Range,T=t.MOBcarZ_Range,N=(t.navAlign,t.hvNavBgColor),P=t.actNavBgColor,M=t.actHvNavBgColor,L=t.navDropdownTextColor,F=t.hvNavDropdownTextColor,j=(t.actNavDropdownTextColor,t.actHvNavDropdownTextColor,t.navDropdownBgColor),H=(t.hvNavDropdownBgColor,t.actNavDropdownBgColor,t.actHvNavDropdownBgColor,t.preset),z=t.dropdownItemBgColor,U=t.hvDropdownItemBgColor,V=(t.actDropdownItemBgColor,t.actHvDropdownItemBgColor,t.dropdownW_Range),G=t.TABdropdownW_Range,q=t.MOBdropdownW_Range,W=t.hvCaretColor,Z=t.verticalPreset,J=(t.dropdownOpenOnClick,t.navBtnType),Y=(t.showDropdownIcon,t.navHamburgerBgColor),Q=t.navHamburgerTextColor,X=t.hamburgerItemBgColor,$=t.hvNavHamburgerTextColor,K=t.hvHamburgerItemBgColor,ee=(t.actNavHamburgerTextColor,t.actHamburgerItemBgColor,t.actHvNavHamburgerTextColor,t.actHvHamburgerItemBgColor,t.hamburgerCloseIconColor),te=t.navDividerColor,ae=t.navDropdownDividerColor,ne=(t.flexWrap,t.navVerticalAlign,t.hamburgerMenu,t.navHamburgerBtnColor),oe=t.hamburgerBtnZ_Range,re=t.TABhamburgerBtnZ_Range,le=t.MOBhamburgerBtnZ_Range,ce=(t.hamburgerCloseIconAlign,t.verticalNavDividerColor),ie=(t.classHook,(0,b.generateTypographyStyles)({attributes:t,prefixConstant:O})),se=ie.typoStylesDesktop,pe=ie.typoStylesTab,be=ie.typoStylesMobile,de=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:I}),me=de.typoStylesDesktop,ue=de.typoStylesTab,ge=de.typoStylesMobile,fe=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:D}),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,b.generateTypographyStyles)({attributes:t,prefixConstant:A}),ke=we.typoStylesDesktop,Re=we.typoStylesTab,_e=we.typoStylesMobile,Ce=(0,b.generateBackgroundControlStyles)({attributes:t,controlName:u}),Ee=Ce.backgroundStylesDesktop,xe=Ce.hoverBackgroundStylesDesktop,Se=Ce.backgroundStylesTab,Be=Ce.hoverBackgroundStylesTab,Te=Ce.backgroundStylesMobile,Ne=Ce.hoverBackgroundStylesMobile,Pe=Ce.overlayStylesDesktop,Oe=Ce.hoverOverlayStylesDesktop,Ie=Ce.overlayStylesTab,De=Ce.hoverOverlayStylesTab,Ae=Ce.overlayStylesMobile,Me=Ce.hoverOverlayStylesMobile,Le=Ce.bgTransitionStyle,Fe=Ce.ovlTransitionStyle,je=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:w,styleFor:"margin"}),He=je.dimensionStylesDesktop,ze=je.dimensionStylesTab,Ue=je.dimensionStylesMobile,Ve=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:k,styleFor:"padding"}),Ge=Ve.dimensionStylesDesktop,qe=Ve.dimensionStylesTab,We=Ve.dimensionStylesMobile,Ze=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:_,styleFor:"margin"}),Je=Ze.dimensionStylesDesktop,Ye=Ze.dimensionStylesTab,Qe=Ze.dimensionStylesMobile,Xe=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:R,styleFor:"padding"}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:x,styleFor:"padding"}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:S,styleFor:"padding"}),lt=rt.dimensionStylesDesktop,ct=rt.dimensionStylesTab,it=rt.dimensionStylesMobile,st=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:C,styleFor:"padding"}),pt=st.dimensionStylesDesktop,bt=st.dimensionStylesTab,dt=st.dimensionStylesMobile,mt=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:E,styleFor:"padding"}),ut=mt.dimensionStylesDesktop,gt=mt.dimensionStylesTab,ft=mt.dimensionStylesMobile,yt=(0,b.generateDimensionsControlStyles)({attributes:t,controlName:B,styleFor:"padding"}),ht=yt.dimensionStylesDesktop,vt=yt.dimensionStylesTab,wt=yt.dimensionStylesMobile,kt=(0,b.generateBorderShadowStyles)({controlName:g,attributes:t}),Rt=kt.styesDesktop,_t=kt.styesTab,Ct=kt.styesMobile,Et=kt.stylesHoverDesktop,xt=kt.stylesHoverTab,St=kt.stylesHoverMobile,Bt=kt.transitionStyle,Tt=(0,b.generateBorderShadowStyles)({controlName:f,attributes:t}),Nt=Tt.styesDesktop,Pt=Tt.styesTab,Ot=Tt.styesMobile,It=Tt.transitionStyle,Dt=(0,b.generateBorderShadowStyles)({controlName:y,attributes:t}),At=Dt.styesDesktop,Mt=Dt.styesTab,Lt=Dt.styesMobile,Ft=(0,b.generateBorderShadowStyles)({controlName:h,attributes:t}),jt=Ft.styesDesktop,Ht=Ft.styesTab,zt=Ft.styesMobile,Ut=(0,b.generateBorderShadowStyles)({controlName:v,attributes:t}),Vt=Ut.styesDesktop,Gt=Ut.styesTab,qt=Ut.styesMobile,Wt=(Ut.stylesHoverDesktop,Ut.stylesHoverTab,Ut.stylesHoverMobile,Ut.transitionStyle,(0,b.softMinifyCssStrings)("\n\n\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation){\n\t\t\t").concat(He,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Rt,"\n\t\t\ttransition: all .5s, ").concat(Le,", ").concat(Bt,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover{\n\t\t\t").concat(xe,"\n\t\t\t").concat(Et,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):before{\n\t\t\t").concat(Pe,"\n\t\t\ttransition: all .5s, ").concat(Fe,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover:before{\n\t\t\t").concat(Oe,"\n\t\t}\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container{\n\n }\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t\t").concat(Je,"\n\t\t\t").concat($e,"\n\t\t\ttransition: all .5s, ").concat(It,";\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t\t").concat(l?"color:".concat(l," !important;"):"","\n\t\t\t").concat(se,"\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat(c?"color:".concat(c," !important;"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item .wp-block-navigation-item__content {\n\t\t\t").concat(i?"color:".concat(i," !important;"):"","\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat("color:".concat(s||c," !important;"),"\n\t\t}\n\n\t\t").concat("preset-2"===H&&"is-horizontal"==r?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(N?"background-color:".concat(N,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item {\n\t\t\t\t\t").concat(P?"background-color:".concat(P,";"):"","\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover {\n\t\t\t\t\t").concat(M?"background-color:".concat(M,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(z?"background-color:".concat(z,";"):"","\n\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(U?"background-color:".concat(U,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\t\t").concat("preset-3"===H&&"is-horizontal"==r?"\n\t\t\t\t// .".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content{\n\n\t\t\t\t// \tborder-color: transparent;\n\t\t\t\t// }\n\t\t\t\t// .").concat(o,".eb-advanced-navigation-wrapper.preset-3 .current-menu-item .wp-block-navigation-item__content,\n\t\t\t\t// .").concat(o,".eb-advanced-navigation-wrapper.preset-3 .wp-block-navigation-item:hover .wp-block-navigation-item__content {\n\t\t\t\t// \t").concat(Nt,"\n\t\t\t\t// }\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(P?"background-color:".concat(P,";"):"","\n\t\t\t\t\t").concat(Nt,"\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(N?"background-color:".concat(N,";"):"","\n\t\t\t\t\t").concat(Nt,"\n\t\t\t\t}\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(N?"background-color:".concat(N,";"):"","\n\t\t\t\t\t").concat(Nt,"\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(P?"background-color:".concat(P,";"):"","\n\t\t\t\t\t").concat(Nt,"\n\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item.current-menu-item:hover::before {\n\t\t\t\t\t").concat(M?"background-color:".concat(M,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(z?"background-color:".concat(z,";"):"","\n\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {\n\t\t\t\t\t").concat(U?"background-color:".concat(U,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\n\t\t").concat("preset-4"===H&&"is-horizontal"==r?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:not(:last-child)::after {\n\t\t\t\t\t").concat(te?"background-color:".concat(te,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item {\n\t\t\t\t\t").concat(ae?"border-color:".concat(ae,";"):"","\n\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\t\t").concat("is-vertical"==r&&"vertical-preset-1"===Z?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper.is-vertical.vertical-preset-1 .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item:not(:last-child) {\n\t\t\t\t\tborder-bottom: 1px solid ").concat(ce,";\n\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t").concat("is-vertical"==r&&"vertical-preset-2"===Z?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(N?"background-color:".concat(N,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item {\n\t\t\t\t\t").concat(P?"background-color:".concat(P,";"):"","\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item:hover {\n\t\t\t\t\t").concat(M?"background-color:".concat(M,";"):"","\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container > .wp-block-navigation-item:hover,\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container >.wp-block-navigation-item:hover {\n\t\t\t\t\t").concat(U?"background-color:".concat(U,";"):"","\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t\t").concat(at,"\n\t\t\t").concat(j?"background-color:".concat(j,";"):"","\n\t\t\t").concat(At,"\n\t\t\tmin-width: ").concat(V,"px !important;\n\t\t\twidth: max-content!important;\n\t\t\tmax-width: max-content!important;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item {\n\t\t\tpadding: 0;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t").concat(me,"\n\t\t\t").concat(L?"color:".concat(L," !important;"):"","\n\t\t\t").concat(lt,"\n\t\t\t").concat(Vt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item:hover >.wp-block-navigation-item__content {\n\t\t\t").concat(F?"color:".concat(F," !important;"):"","\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\t\twidth: ").concat(d,"px;\n\t\t\theight: ").concat(d,"px;\n\t\t\t").concat("color:".concat(p||l,";"),"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover .wp-block-navigation__submenu-icon {\n\t\t\t").concat("color:".concat(W||c,";"),"\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t\t").concat(ne?"color:".concat(ne,";"):"","\n\t\t\t").concat(ht,"\n\t\t\t").concat(J?"":ke,"\n\t\t}\n\n\t\t").concat(J?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\t\twidth: ").concat(oe,"px;\n\t\t\t\t\theight: ").concat(oe,"px;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {\n\t\t\tbackground-color: ").concat(Y,";\n\t\t\t").concat(pt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {\n\t\t\twidth: 100%;\n box-sizing: border-box;\n padding: 0;\n\t\t}\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t\tcolor: ").concat(Q," !important;\n\t\t\tbackground-color: ").concat(X," !important;\n width: 100%;\n box-sizing: border-box;\n\t\t\t").concat(ut,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(jt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > .wp-block-navigation-item__content:hover,\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content:hover {\n\t\t\tcolor: ").concat($," !important;\n background-color: ").concat(K," !important;\n\t\t}\n\n\t\t// .").concat(o,".eb-advanced-navigation-wrapper .is-menu-open .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {\n\t\t// \twidth: auto !Important;\n\t\t// }\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .is-menu-open .wp-block-navigation__responsive-container-close {\n\t\t\tcolor: ").concat(ee,";\n\t\t}\n\n\n\t"))),Zt=(0,b.softMinifyCssStrings)("\n\n\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation){\n\t\t\t").concat(ze,"\n\t\t\t").concat(qe,"\n\t\t\t").concat(Se,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover{\n\t\t\t").concat(Be,"\n\t\t\t").concat(xt,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):before{\n\t\t\t").concat(Ie,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover:before{\n\t\t\t").concat(De,"\n\t\t}\n\n\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t\t").concat(Ye,"\n\t\t\t").concat(Ke,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t\t").concat(pe,"\n\n\t\t}\n\n\n\t\t").concat("preset-3"===H&&"is-horizontal"==r?"\n\n\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t\t").concat(Pt,"\n\t\t\t\t}\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(Pt,"\n\t\t\t\t}\n\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t\t").concat(Pt,"\n\t\t\t\t}\n\n\t\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item::before {\n\t\t\t\t\t").concat(Pt,"\n\n\t\t\t\t}\n\n\n\t\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t\t").concat(nt,"\n\t\t\t").concat(Mt,"\n\t\t\tmin-width: ").concat(G||V,"px !important;\n\t\t}\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t\t").concat(ue,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(Gt,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t\t").concat(vt,"\n\t\t\t").concat(J?"":Re,"\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\t\twidth: ").concat(m,"px;\n\t\t\theight: ").concat(m,"px;\n\t\t}\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t\t").concat(gt,"\n\t\t\t").concat(he,"\n\t\t\t").concat(Ht,"\n\t\t}\n\n\t\t").concat(J?"\n\t\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\t\twidth: ").concat(re,"px;\n\t\t\t\t\theight: ").concat(re,"px;\n\t\t\t\t}\n\n\t\t\t"):"","\n\n\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open {\n\t\t\tbackground-color: ").concat(Y,";\n\t\t\t").concat(bt,"\n\t\t}\n\n\t")),Jt=(0,b.softMinifyCssStrings)("\n\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation){\n\t\t").concat(Ue,"\n\t\t").concat(We,"\n\t\t").concat(Te,"\n\t\t").concat(Ct,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover{\n\t\t").concat(Ne,"\n\t\t").concat(St,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):before{\n\t\t").concat(Ae,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation:not(ul.wp-block-navigation):hover:before{\n\t\t").concat(Me,"\n\t}\n\n\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item{\n\t\t").concat(Qe,"\n\t\t").concat(et,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item__content {\n\t\t").concat(be,"\n\n\t}\n\n\n\t").concat("preset-3"===H&&"is-horizontal"==r?"\n\n\n\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item::before {\n\t\t\t\t").concat(Ot,"\n\t\t\t}\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__container > .wp-block-navigation-item:hover::before {\n\t\t\t\t").concat(Ot,"\n\t\t\t}\n\n\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation-item:hover::before {\n\t\t\t\t").concat(Ot,"\n\t\t\t}\n\n\t\t\t.").concat(o,".eb-advanced-navigation-wrapper .current-menu-item::before {\n\t\t\t\t").concat(Ot,"\n\n\t\t\t}\n\n\t\t\t"):"","\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container {\n\t\t").concat(ot,"\n\t\t").concat(Lt,"\n\t\tmin-width: ").concat(q||200,"px !important;\n\t}\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-container .wp-block-navigation-item__content {\n\t\t").concat(ge,"\n\t\t").concat(it,"\n\t\t").concat(qt,"\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open {\n\t\t").concat(wt,"\n\t\t").concat(J?"":_e,"\n\t}\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__submenu-icon {\n\t\twidth: ").concat(T,"px;\n\t\theight: ").concat(T,"px;\n\t}\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{\n\t\t").concat(ft,"\n\t\t").concat(ve,"\n\t\t").concat(zt,"\n\t}\n\n\t").concat(J?"\n\t\t\t.".concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container-open svg{\n\t\t\t\twidth: ").concat(le,"px;\n\t\t\t\theight: ").concat(le,"px;\n\t\t\t}\n\n\t\t"):"","\n\n\t.").concat(o,".eb-advanced-navigation-wrapper .wp-block-navigation__responsive-container.is-menu-open {\n\t\tbackground-color: ").concat(Y,";\n\t\t").concat(dt,"\n\t}\n\n\t")),Yt=(0,b.softMinifyCssStrings)("\n\t\t".concat(Wt,"\n\n\t")),Qt=(0,b.softMinifyCssStrings)("\n\t\t".concat(Zt,"\n\n\t")),Xt=(0,b.softMinifyCssStrings)("\n\t\t".concat(Jt,"\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(b.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Yt,tabAllStyles:Qt,mobileAllStyles:Xt,blockName:n}))}var J=a(2404),Y=a.n(J);function Q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function X(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var $=lodash.times;function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var te=(0,p.createHigherOrderComponent)(function(e){return function(t){t.attributes;var a=t.name,n=t.clientId,o=t.isSelected;if(t.setAttributes,a&&"core/navigation"!=a)return React.createElement(e,t);var r,l=(0,s.select)("core/block-editor").getBlockParents(n),c=!1;return l.map(function(e){var t=(0,s.select)("core/block-editor").getBlock(e);t&&"essential-blocks/advanced-navigation"==t.name&&(c=!0,ee({},t.attributes))}),c&&o?(setTimeout(function(){if(r=document.querySelector(".block-editor-block-inspector")){var e=r.querySelector(".block-editor-block-inspector__tabs");if(e){var t=e.querySelectorAll('[aria-label="Settings"], [aria-label="Styles"]');t&&t.forEach(function(e){e.style.display="none"})}}},200),r?(setTimeout(function(){var e=r.children;r.querySelector(".block-editor-block-inspector__tabs").querySelectorAll('[aria-label="Settings"], [aria-label="Styles"]').forEach(function(e){e.style.display="none"});for(var t=0;t<=e.length-1;t++){var a=e[t].classList.contains("block-editor-block-card"),n=e[t].classList.contains("block-editor-block-inspector__tabs"),o=e[t].children;if(!a&&!n)for(var l=0;l<=o.length-1;l++)o[l].querySelector(".wp-block-navigation__navigation-selector")||(o[l].style.display="none")}},200),React.createElement(i.Fragment,null,React.createElement(e,t))):React.createElement(e,t)):((r=document.querySelector(".block-editor-block-inspector"))&&setTimeout(function(){r.querySelector(".block-editor-block-card").style.display="block";for(var e=r.children,t=0;t<=e.length-1;t++)for(var a=e[t].children,n=0;n<=a.length-1;n++)a[n].style.display="block"},200),React.createElement(e,t))}},"withInspectorControl");wp.hooks.addFilter("editor.BlockEdit","essential-blocks/advanced-navigation",te);const ae=(0,i.memo)((0,b.withBlockContext)(F)(function(e){var t,a=e.attributes,n=e.setAttributes,o=(e.className,e.clientId),r=e.isSelected,l=(e.name,a.blockId),p=a.layout,d=a.navAlign,m=a.preset,u=a.verticalPreset,g=a.navBtnType,f=a.showDropdownIcon,y=a.navVerticalAlign,h=a.hamburgerCloseIconAlign,v=a.classHook,w=a.version,k=(a.wrpBds_inset,a.wrpBds_shadowType,a.wrpBds_shadowColor),R=(a.wrpBds_hOffset,a.wrpBds_vOffset,a.wrpBds_blur,a.wrpBds_shadowTransition,ee(ee({},e),{},{blockPrefix:"eb-advanced-navigation",style:React.createElement(Z,e)}));!function(e){var t=e.clientId,a=e.attributes,n=a.layout,o=a.navAlign,r=a.dropdownOpenOnClick,l=a.navBtnType,c=a.showDropdownIcon,p=a.flexWrap,b=a.navVerticalAlign,d=a.hamburgerMenu,m=(0,i.useMemo)(function(){var e=(0,s.select)("core/block-editor").getBlocksByClientId(t)[0];return null==e?void 0:e.innerBlocks},[t]),u=(0,s.dispatch)("core/block-editor").updateBlockAttributes,g={layout:n,navAlign:o,flexWrap:p,navVerticalAlign:b,dropdownOpenOnClick:r,showDropdownIcon:c,navBtnType:l,hamburgerMenu:d},f=(0,i.useRef)(X({},g));(0,i.useEffect)(function(){Y()(f.current,g)||(f.current=g,m&&0!==m.length?$(m.length,function(e){u(m[e].clientId,{className:"".concat(n," ").concat("is-horizontal"==n?o:b," ").concat(!0===p?"no-wrap":""),openSubmenusOnClick:r,showSubmenuIcon:c,hasIcon:l,overlayMenu:d})}):setTimeout(function(){var e=(0,s.select)("core/block-editor").getBlocksByClientId(t)[0],a=null==e?void 0:e.innerBlocks;a&&a.length>0&&$(a.length,function(e){u(a[e].clientId,{className:"".concat(n," ").concat("is-horizontal"==n?o:b," ").concat(!0===p?"no-wrap":""),openSubmenusOnClick:r,showSubmenuIcon:c,hasIcon:l,overlayMenu:d})})},500))},[X({},g)])}(e),(0,i.useEffect)(function(){void 0===w&&n({version:"v2"})},[]),(0,i.useEffect)(function(){(0,s.select)("core/block-editor").wasBlockJustInserted(o)&&"v2"===w&&void 0===k&&n({wrpBds_inset:!1,wrpBds_shadowType:"normal",wrpBds_shadowColor:"rgba(98,103,145,0.15)",wrpBds_hOffset:0,wrpBds_vOffset:22,wrpBds_blur:35,wrpBds_shadowTransition:.5})},[w]);var _="is-horizontal"===p?m:u;return React.createElement(React.Fragment,null,r&&React.createElement(W,{clientId:o,attributes:a,setAttributes:n}),React.createElement(b.BlockProps.Edit,R,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(v)},React.createElement("div",{className:"".concat(l," eb-advanced-navigation-wrapper ").concat(p," ").concat(w," ").concat(_," ").concat("is-horizontal"==p?d:y," ").concat(f?"":"remove-dropdown-icon"," ").concat(!0===g?"responsive-icon":"responsive-text"," ").concat(h)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(c.InnerBlocks,{templateLock:!1,template:[["core/navigation",{className:"".concat(p," ").concat(d)}]],allowedBlocks:["core/navigation"],renderAppender:(null===(t=(0,s.select)("core/block-editor").getBlock(o))||void 0===t?void 0:t.innerBlocks.length)<1&&c.InnerBlocks.ButtonBlockAppender}))))))}));function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function oe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ne(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const re=[{attributes:(0,a(6087).omit)(oe({},F),["version"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=t.layout,r=t.preset,l=t.verticalPreset,i=t.showDropdownIcon,s=t.navBtnType,p=t.hamburgerCloseIconAlign,d=t.navAlign,m=t.navVerticalAlign;if("is-horizontal"==o)var u=r;else u=l;return React.createElement(b.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"".concat(n," eb-advanced-navigation-wrapper ").concat(o," ").concat(u," ").concat("is-horizontal"==o?d:m).concat(i?"":"remove-dropdown-icon"," ").concat(!0===s?"responsive-icon":"responsive-text"," ").concat(p)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(c.InnerBlocks.Content,null)))))}},{attributes:oe({},F),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=t.layout,r=t.preset,l=t.verticalPreset,i=t.showDropdownIcon,s=t.navBtnType,p=t.hamburgerCloseIconAlign,b=t.navAlign,d=t.navVerticalAlign;if("is-horizontal"==o)var m=r;else m=l;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"".concat(n," eb-advanced-navigation-wrapper ").concat(o," ").concat(m," ").concat("is-horizontal"==o?b:d).concat(i?"":"remove-dropdown-icon"," ").concat(!0===s?"responsive-icon":"responsive-text"," ").concat(p)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(c.InnerBlocks.Content,null)))))}}],le=JSON.parse('{"title":"Advanced Navigation","apiVersion":2,"name":"essential-blocks/advanced-navigation","description":"Display pages & posts with easy navigation in your website with stunning & organised appearance.","category":"essential-blocks","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var ce,ie,se,pe;function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},be.apply(null,arguments)}(0,b.ebConditionalRegisterBlockType)(le,{keywords:[(0,o.__)("Menu","essential-blocks"),(0,o.__)("Navigation","essential-blocks"),(0,o.__)("EB Navigation","essential-blocks"),(0,o.__)("EB Advanced Navigation","essential-blocks"),(0,o.__)("Advanced Navigation Block","essential-blocks"),(0,o.__)("Advanced Navigation","essential-blocks")],icon:function(e){return l.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),ce||(ce=l.createElement("path",{fill:"#6C3BFF",d:"M28.8 3.84H3.2A3.21 3.21 0 0 0 0 7.04v17.92c0 1.76 1.44 3.2 3.2 3.2h25.6c1.76 0 3.2-1.44 3.2-3.2V7.04c0-1.76-1.44-3.2-3.2-3.2m-8.32 23.04H3.2a1.926 1.926 0 0 1-1.92-1.92V7.04c0-1.056.864-1.92 1.92-1.92h17.28zm10.24-1.92c0 1.056-.864 1.92-1.92 1.92h-7.04V5.12h7.04c1.056 0 1.92.864 1.92 1.92z"})),ie||(ie=l.createElement("path",{fill:"#6C3BFF",d:"M3.84 8.64h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64h-.64A.64.64 0 0 0 3.2 8c0 .352.288.64.64.64M6.72 8.64h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64h-.64a.64.64 0 0 0-.64.64c0 .352.288.64.64.64M9.6 8.64h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64H9.6a.64.64 0 0 0-.64.64c0 .352.288.64.64.64M27.2 9.28h-2.24a.64.64 0 0 0-.64.64c0 .352.288.64.64.64h2.24c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64M27.2 12.48h-2.24a.64.64 0 0 0-.64.64c0 .352.288.64.64.64h2.24c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64M27.2 15.68h-2.24a.64.64 0 0 0-.64.64c0 .352.288.64.64.64h2.24c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64"})),se||(se=l.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M4.427 11.707v11.946h12.826V11.707zM4.24 10.64a.88.88 0 0 0-.88.88v12.32c0 .486.394.88.88.88h13.2a.88.88 0 0 0 .88-.88V11.52a.88.88 0 0 0-.88-.88z",clipRule:"evenodd"})),pe||(pe=l.createElement("path",{fill:"#6C3BFF",d:"M6.72 14.613h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64h-.64a.64.64 0 0 0-.64.64c0 .352.288.64.64.64M9.6 14.613h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64H9.6a.64.64 0 0 0-.64.64c0 .352.288.64.64.64M12.373 14.613h.64c.352 0 .64-.288.64-.64a.64.64 0 0 0-.64-.64h-.64a.64.64 0 0 0-.64.64c0 .352.288.64.64.64"})))},attributes:F,edit:ae,save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=t.layout,r=t.preset,l=t.verticalPreset,i=t.showDropdownIcon,s=t.navBtnType,p=t.hamburgerCloseIconAlign,d=t.navAlign,m=t.navVerticalAlign,u=t.version;if("is-horizontal"==o)var g=r;else g=l;return React.createElement(b.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"".concat(n," eb-advanced-navigation-wrapper ").concat(u," ").concat(o," ").concat(g," ").concat("is-horizontal"==o?d:m).concat(i?"":"remove-dropdown-icon"," ").concat(!0===s?"responsive-icon":"responsive-text"," ").concat(p)},React.createElement("div",{className:"eb-nav-contents"},React.createElement(c.InnerBlocks.Content,null)))))},example:{},deprecated:re})},7683:(e,t,a)=>{var n=a(7723),o=(a(4997),a(8168)),r=a(1609),l=a(5694);var c=a(4467),i=a(8468),s=a(4715),p=a(9394),b=a(6427),d=((0,n.__)("Dashed","essential-blocks"),(0,n.__)("Solid","essential-blocks"),(0,n.__)("Dotted","essential-blocks"),(0,n.__)("Double","essential-blocks"),(0,n.__)("Groove","essential-blocks"),(0,n.__)("Inset","essential-blocks"),(0,n.__)("Outset","essential-blocks"),(0,n.__)("Ridge","essential-blocks"),(0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Lighter","essential-blocks"),(0,n.__)("Normal","essential-blocks"),(0,n.__)("Bold","essential-blocks"),(0,n.__)("Bolder","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),[{label:(0,n.__)("px","essential-blocks"),value:"px"},{label:(0,n.__)("%"),value:"%"}]),m=[{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignright"})),value:"right"}],u=[{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignleft"})),value:"left"},{label:(0,n.__)(React.createElement(b.Dashicon,{icon:"editor-alignright"})),value:"right"}],g=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],f=[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"},{label:(0,n.__)("P","essential-blocks"),value:"p"}],y="btnIconSpace",h="btnIconSize",v="headerIconSize",w="headerIconWidth",k="headerIconHeight",R="featuresIconSize",_="btnPadding",C="btnMargin",E="wrapperMargin",x="wrapperPadding",S="titlePadding",B="titleMargin",T="priceCurrencyMargin",N="salepriceCurrencyMargin",P="btnBg",O="priceTableBg",I="btnBrdSdw",D="wrpBrdSdw",A="iconBrdSdw",M="ribbonBrdSdw",L="btnText",F="titleText",j="subtitleText",H="priceTitleText",z="priceCurrencyText",U="salepriceText",V="salepriceCurrencyText",G="pricingPeriodText",q="featuresText",W="ribbonText";function Z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}a(6087);const Y=J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},pricingStyle:{type:"string",default:"style-1"},title:{type:"string",source:"text",selector:".eb-pricing .eb-pricing-header .eb-pricing-title",default:"Startup"},defaultSubtitle:{type:"boolean"},showSubtitle:{type:"boolean",default:!1},subtitle:{type:"string",source:"text",selector:".eb-pricing .eb-pricing-header .eb-pricing-subtitle",default:"A tagline here."},defaultHeaderIcon:{type:"boolean"},showHeaderIcon:{type:"boolean",default:!1},headerIcon:{type:"attribute",selector:".eb-pricing-icon",attribute:"data-icon",default:"fas fa-home"},defaultTitleLine:{type:"boolean"},showTitleLine:{type:"boolean",default:!0},mainPrice:{type:"string",source:"attribute",selector:".eb-pricing-tag .original-price",attribute:"data-price",default:"99"},showOnSale:{type:"boolean",default:!1},salePrice:{type:"string",source:"attribute",selector:".eb-pricing-tag .sale-price",attribute:"data-sale-price",default:"89"},priceCurrency:{type:"string",source:"text",selector:".eb-pricing-tag .price-currency",default:"$"},currencyPlacement:{type:"string",default:"left"},pricePeriod:{type:"string",source:"attribute",selector:".eb-pricing-tag .price-period",attribute:"data-price-period",default:"month"},periodSeparator:{type:"string",source:"attribute",selector:".eb-pricing-tag .price-period",attribute:"data-period-separator",default:"/"},hideFeatures:{type:"boolean",default:!1},features:{type:"array",source:"query",selector:".eb-pricing .eb-pricing-body ul li",query:{text:{type:"string",source:"text",selector:".eb-pricebox-feature-text"},icon:{type:"string",source:"attribute",attribute:"data-icon"},color:{type:"string",source:"attribute",attribute:"data-color"},link:{type:"string",source:"attribute",attribute:"data-link"},clickable:{type:"string",source:"attribute",attribute:"data-clickable"}},default:[]},showButton:{type:"boolean",default:!0},buttonIcon:{type:"attribute",selector:".eb-pricing .eb-pricing-footer",attribute:"data-icon"},buttonIconPosition:{type:"string",default:"left"},buttonText:{type:"string",default:"Choose Plan"},titleTextColor:{type:"string",default:"var(--eb-global-heading-color)"},titleLineColor:{type:"string",default:"var(--eb-global-primary-color)"},titleBackgroundColor:{type:"string"},subtitleTextColor:{type:"string",default:"var(--eb-global-text-color)"},showIconBackground:{type:"boolean",default:!0},iconBackgroundColor:{type:"string"},iconBackgroundHoverColor:{type:"string"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},iconHoverColor:{type:"string",default:"var(--eb-global-primary-color)"},priceTextColor:{type:"string",default:"var(--eb-global-primary-color)"},priceCurrencyTextColor:{type:"string",default:"var(--eb-global-primary-color)"},salePriceTextColor:{type:"string",default:"var(--eb-global-primary-color)"},salepriceCurrencyTextColor:{type:"string",default:"var(--eb-global-primary-color)"},pricingPeriodTextColor:{type:"string",default:"var(--eb-global-text-color)"},featuresTextColor:{type:"string",default:"var(--eb-global-text-color)"},contentAlign:{type:"String",default:"center"},showRibbon:{type:"boolean",default:!1},ribbonAlignHorizontal:{type:"string",default:"right"},ribbonAlignVertical:{type:"string",default:"top"},ribbonStyle:{type:"string",default:"ribbon-1"},ribbonText:{type:"string",default:"featured"},ribbonColor:{type:"string",default:"var(--eb-global-button-text-color)"},ribbonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},hoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonURL:{type:"string",default:"#"},featuresAlignment:{type:"string"},buttonAlignment:{type:"string"},headerAlignment:{type:"string",default:"center"},priceAlignment:{type:"string",default:"center"},iconAlignment:{type:"string"},newWindow:{type:"boolean",default:!1},showFeatureLine:{type:"boolean",default:!0},showFeatureIcon:{type:"boolean",default:!0},pricingTopBgColor:{type:"string",default:"#7967ff"},titleTagName:{type:"string",default:"h2"}},(0,l.generateResponsiveRangeAttributes)(y,{defaultRange:0,noUnits:!0})),(0,l.generateResponsiveRangeAttributes)(h,{defaultRange:20,noUnits:!0})),(0,l.generateResponsiveRangeAttributes)(v,{defaultRange:30})),(0,l.generateResponsiveRangeAttributes)(w,{defaultRange:80})),(0,l.generateResponsiveRangeAttributes)(k,{defaultRange:80})),(0,l.generateResponsiveRangeAttributes)(R,{defaultRange:20})),(0,l.generateDimensionsAttributes)(_)),(0,l.generateDimensionsAttributes)(C)),(0,l.generateDimensionsAttributes)(E)),(0,l.generateDimensionsAttributes)(x)),(0,l.generateDimensionsAttributes)(S)),(0,l.generateDimensionsAttributes)(B)),(0,l.generateDimensionsAttributes)(T)),(0,l.generateDimensionsAttributes)(N)),(0,l.generateTypographyAttributes)(L)),(0,l.generateTypographyAttributes)(F,{defaultFontSize:28})),(0,l.generateTypographyAttributes)(j)),(0,l.generateTypographyAttributes)(H)),(0,l.generateTypographyAttributes)(z)),(0,l.generateTypographyAttributes)(U)),(0,l.generateTypographyAttributes)(V)),(0,l.generateTypographyAttributes)(G)),(0,l.generateTypographyAttributes)(q)),(0,l.generateTypographyAttributes)(W)),(0,l.generateBackgroundAttributes)(P,{defaultFillColor:"var(--eb-global-button-background-color)",defaultHovFillColor:"var(--eb-global-tertiary-color)",noOverlay:!0,noMainBgi:!0})),(0,l.generateBackgroundAttributes)(O,{defaultBgGradient:"linear-gradient(45deg, rgba(255,255,255,0.8) 0% , rgba(255,255,255,0.8) 100%)"})),(0,l.generateBorderShadowAttributes)(I)),(0,l.generateBorderShadowAttributes)(D)),(0,l.generateBorderShadowAttributes)(A)),(0,l.generateBorderShadowAttributes)(M));function Q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const X=function(e){var t,a=e.attributes,o=e.setAttributes,r=(a.resOption,a.pricingStyle),i=a.title,s=a.showSubtitle,Z=a.subtitle,J=a.showHeaderIcon,Y=a.headerIcon,X=a.showTitleLine,$=a.mainPrice,K=a.showOnSale,ee=a.salePrice,te=a.priceCurrency,ae=a.currencyPlacement,ne=a.pricePeriod,oe=a.periodSeparator,re=a.hideFeatures,le=a.showButton,ce=a.buttonIcon,ie=a.buttonIconPosition,se=a.buttonText,pe=a.buttonURL,be=a.buttonTextColor,de=a.hoverTextColor,me=a.titleTextColor,ue=a.titleLineColor,ge=a.titleBackgroundColor,fe=a.subtitleTextColor,ye=a.showIconBackground,he=a.iconBackgroundColor,ve=a.iconBackgroundHoverColor,we=a.iconColor,ke=a.iconHoverColor,Re=a.priceTextColor,_e=a.priceCurrencyTextColor,Ce=a.salePriceTextColor,Ee=a.salepriceCurrencyTextColor,xe=a.pricingPeriodTextColor,Se=a.featuresTextColor,Be=a.showRibbon,Te=a.ribbonStyle,Ne=a.ribbonText,Pe=a.ribbonColor,Oe=a.ribbonBackgroundColor,Ie=a.featuresAlignment,De=a.buttonAlignment,Ae=a.headerAlignment,Me=a.priceAlignment,Le=a.iconAlignment,Fe=a.ribbonAlignHorizontal,je=a.ribbonAlignVertical,He=a.newWindow,ze=a.showFeatureLine,Ue=a.pricingTopBgColor,Ve=a.showFeatureIcon,Ge=(a.featureIcon,a.titleTagName);return React.createElement(React.Fragment,null,React.createElement(l.InspectorPanel,{advancedControlProps:{marginPrefix:E,paddingPrefix:x,hasBorder:!1,hasBackground:!1}},React.createElement(l.InspectorPanel.General,null,React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(l.EBTextControl,{label:(0,n.__)("Title","essential-blocks"),value:i,onChange:function(e){return o({title:e})}}),React.createElement(b.BaseControl,{label:(0,n.__)("Title Level","essential-blocks"),id:"eb-advance-heading-alignment"},React.createElement(b.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},f.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Ge===e.value,isSecondary:Ge!==e.value,onClick:function(){return o({titleTagName:e.value})}},e.label)}))),React.createElement(b.ToggleControl,{label:(0,n.__)("Show Subtitle?"),checked:s,onChange:function(){o({showSubtitle:!s,defaultSubtitle:!s})}}),s&&React.createElement(l.EBTextControl,{label:(0,n.__)("Sub Title","essential-blocks"),value:Z,onChange:function(e){return o({subtitle:e})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("Show Icon?"),checked:J,onChange:function(){o({showHeaderIcon:!J,defaultHeaderIcon:!J})}}),J&&React.createElement(l.EBIconPicker,{value:Y,onChange:function(e){return o({headerIcon:e})},title:(0,n.__)("Icon","essential-blocks")}),"style-4"!==r&&React.createElement(b.ToggleControl,{label:(0,n.__)("Show title line?"),checked:X,onChange:function(){o({showTitleLine:!X,defaultTitleLine:!X})}})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Price","essential-blocks"),initialOpen:!1},React.createElement(b.TextControl,{label:(0,n.__)("Price","essential-blocks"),value:$,onChange:function(e){return o({mainPrice:e})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("On Sale?"),checked:K,onChange:function(){o({showOnSale:!K})}}),K&&React.createElement(b.TextControl,{label:(0,n.__)("Sale Price","essential-blocks"),value:ee,onChange:function(e){return o({salePrice:e})}}),React.createElement(b.TextControl,{label:(0,n.__)("Price Currency","essential-blocks"),value:te,onChange:function(e){return o({priceCurrency:e})}}),React.createElement(b.SelectControl,{label:(0,n.__)("Currency Placement","essential-blocks"),value:ae,options:[{label:"Left",value:"left"},{label:"Right",value:"right"}],onChange:function(e){o({currencyPlacement:e})}}),React.createElement(b.TextControl,{label:(0,n.__)("Price Period (per)"),value:ne,onChange:function(e){return o({pricePeriod:e})}}),React.createElement(b.TextControl,{label:(0,n.__)("Period Separator","essential-blocks"),value:oe,onChange:function(e){return o({periodSeparator:e})}}),React.createElement(b.__experimentalDivider,null)),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Features","essential-blocks"),initialOpen:!1},React.createElement(b.ToggleControl,{label:(0,n.__)("Hide Features?"),checked:re,onChange:function(){o({hideFeatures:!re})}}),!0!==re&&React.createElement(React.Fragment,null,React.createElement(b.ToggleControl,{label:(0,n.__)("Show line?"),checked:ze,onChange:function(){o({showFeatureLine:!ze})}}),React.createElement(b.ToggleControl,{label:(0,n.__)("Show Icon?"),checked:Ve,onChange:function(){o({showFeatureIcon:!Ve})}}),React.createElement(l.SortControl,{items:a.features,labelKey:"text",onSortEnd:function(e){return o({features:e})},onDeleteItem:function(e){o({features:a.features.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:(t=function(e,t,n){var r=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},a.features[n]),l=(0,p.A)(a.features);l[n]=r,l[n][e]=t,o({features:l})},a.features.map(function(e,a){return React.createElement("div",{key:a},React.createElement(l.EBTextControl,{onChange:function(e){return t("text",e,a)},label:(0,n.__)("Text","essential-blocks"),value:e.text}),React.createElement(b.ToggleControl,{label:(0,n.__)("Link","essential-blocks"),checked:"true"===e.clickable,onChange:function(e){return t("clickable",e.toString(),a)}}),"true"===e.clickable&&React.createElement(l.EBTextControl,{label:(0,n.__)("Link","essential-blocks"),fieldType:"url",value:e.link,onChange:function(e){return t("link",e,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),Ve&&React.createElement(React.Fragment,null,React.createElement(l.EBIconPicker,{value:e.icon,onChange:function(e){return t("icon",e,a)},hasReset:!0}),e.icon&&React.createElement(l.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return t("color",e,a)}})))})),hasAddButton:!0,onAddItem:function(){var e=a.features.length+1,t=[].concat((0,p.A)(a.features),[{icon:"fas fa-check",text:"Feature ".concat(e),color:"var(--eb-global-primary-color)"}]);o({features:t})},addButtonText:(0,n.__)("Add Features","essential-blocks")}))),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(b.ToggleControl,{label:(0,n.__)("Display Button?"),checked:le,onChange:function(){o({showButton:!le})}}),React.createElement(l.EBIconPicker,{value:ce,onChange:function(e){return o({buttonIcon:e})},title:(0,n.__)("Button Icon","essential-blocks")}),React.createElement(b.BaseControl,{label:(0,n.__)("Icon Position","essential-blocks")},React.createElement(b.ButtonGroup,null,u.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:ie===e.value,isSecondary:ie!==e.value,onClick:function(){return o({buttonIconPosition:e.value})}},e.label)}))),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Spacing","essential-blocks"),controlName:y,min:1,max:60,step:1,noUnits:!0}),React.createElement(l.DynamicInputControl,{label:(0,n.__)("Button Text","essential-blocks"),attrName:"buttonText",inputValue:se,setAttributes:o,onChange:function(e){return o({buttonText:e})}}),React.createElement(l.DynamicInputControl,{label:(0,n.__)("Button Link","essential-blocks"),attrName:"buttonURL",inputValue:pe,setAttributes:o,onChange:function(e){return o({buttonURL:e})},help:(0,n.__)("Enter a valid URL.","essential-blocks"),enableAi:!1,fieldType:"url",showValidation:!0,enableSecurity:!0}),pe&&React.createElement(b.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:He,onChange:function(){return o({newWindow:!He})}})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Ribbon","essential-blocks"),initialOpen:!1},React.createElement(b.ToggleControl,{label:(0,n.__)("Featured","essential-blocks"),checked:Be,onChange:function(){o({showRibbon:!Be})}}),Be&&React.createElement(React.Fragment,null,React.createElement(b.SelectControl,{label:(0,n.__)("Ribbon Style","essential-blocks"),value:Te,options:[{label:"Style 1",value:"ribbon-1"},{label:"Style 2",value:"ribbon-2"},{label:"Style 3",value:"ribbon-3"},{label:"Style 4",value:"ribbon-4"}],onChange:function(e){o({ribbonStyle:e})}}),"ribbon-1"==Te&&React.createElement(b.BaseControl,{label:(0,n.__)("Align","essential-blocks")},React.createElement(b.ButtonGroup,null,g.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:je===e.value,isSecondary:je!==e.value,onClick:function(){return o({ribbonAlignVertical:e.value})}},e.label)}))),"ribbon-1"!==Te&&React.createElement(React.Fragment,null,React.createElement(b.BaseControl,{label:(0,n.__)("Align","essential-blocks")},React.createElement(b.ButtonGroup,null,u.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Fe===e.value,isSecondary:Fe!==e.value,onClick:function(){return o({ribbonAlignHorizontal:e.value})}},e.label)}))),React.createElement(b.TextControl,{label:(0,n.__)("Featured Tag Text","essential-blocks"),value:Ne,onChange:function(e){return o({ribbonText:e})}}))))),React.createElement(l.InspectorPanel.Style,null,React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Price Table Box","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Background","essential-blocks"))),React.createElement(l.BackgroundControl,{controlName:O}),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Border")),React.createElement(l.BorderShadowControl,{controlName:D}),"style-4"==r&&React.createElement(l.ColorControl,{label:(0,n.__)("Pricing Top Color","essential-blocks"),color:Ue,attributeName:"pricingTopBgColor"})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(b.ButtonGroup,null,m.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Ae===e.value,isSecondary:Ae!==e.value,onClick:function(){return o({headerAlignment:e.value})}},e.label)}))),React.createElement(b.__experimentalDivider,null),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Title Style","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:me,attributeName:"titleTextColor"}),X&&"style-4"!==r&&React.createElement(l.ColorControl,{label:(0,n.__)("Line Color","essential-blocks"),color:ue,attributeName:"titleLineColor"}),React.createElement(l.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ge,attributeName:"titleBackgroundColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:F}),React.createElement(b.__experimentalDivider,null),s&&React.createElement(React.Fragment,null,React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Subtitle Style","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:fe,attributeName:"subtitleTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:j}),React.createElement(b.__experimentalDivider,null)),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Margin & Padding"))),React.createElement(l.ResponsiveDimensionsControl,{controlName:S,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(l.ResponsiveDimensionsControl,{controlName:B,baseLabel:(0,n.__)("Margin","essential-blocks")})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Price","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(b.ButtonGroup,null,m.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Me===e.value,isSecondary:Me!==e.value,onClick:function(){return o({priceAlignment:e.value})}},e.label)}))),React.createElement(b.__experimentalDivider,null),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Original Price","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Re,attributeName:"priceTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:H}),React.createElement(b.__experimentalDivider,null),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Original Price Currency","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:_e,attributeName:"priceCurrencyTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:z}),React.createElement(l.ResponsiveDimensionsControl,{controlName:T,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(b.__experimentalDivider,null),K&&React.createElement(React.Fragment,null,React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sale Price","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ce,attributeName:"salePriceTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:U}),React.createElement(b.__experimentalDivider,null),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sale Price Currency","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Ee,attributeName:"salepriceCurrencyTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:V}),React.createElement(l.ResponsiveDimensionsControl,{controlName:N,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(b.__experimentalDivider,null)),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Pricing Period","essential-blocks"))),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:xe,attributeName:"pricingPeriodTextColor"}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:G})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Features","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Alignment"),React.createElement(b.ButtonGroup,null,m.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Ie===e.value,isSecondary:Ie!==e.value,onClick:function(){return o({featuresAlignment:e.value})}},e.label)}))),React.createElement(b.__experimentalDivider,null),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Se,attributeName:"featuresTextColor"}),Ve&&React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:R,min:0,max:50,step:1,noUnits:!0}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:q})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Alignment"),React.createElement(b.ButtonGroup,null,m.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:De===e.value,isSecondary:De!==e.value,onClick:function(){return o({buttonAlignment:e.value})}},e.label)}))),React.createElement(b.__experimentalDivider,null),React.createElement(l.ResponsiveDimensionsControl,{controlName:_,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(l.ResponsiveDimensionsControl,{controlName:C,baseLabel:(0,n.__)("Margin","essential-blocks")}),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:h,min:0,max:50,step:1,noUnits:!0}),React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:L}),React.createElement(l.ColorControl,{label:(0,n.__)("Text Color","essential-blocks"),color:be,attributeName:"buttonTextColor"}),React.createElement(l.ColorControl,{label:(0,n.__)("Text Hover Color","essential-blocks"),color:de,attributeName:"hoverTextColor"}),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Button Background","essential-blocks"))),React.createElement(l.BackgroundControl,{controlName:P,noOverlay:!0,noMainBgi:!0}),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Button Border Style","essential-blocks"))),React.createElement(l.BorderShadowControl,{controlName:I})),J&&React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Alignment","essential-blocks")),React.createElement(b.ButtonGroup,null,m.map(function(e,t){return React.createElement(b.Button,{key:t,isPrimary:Le===e.value,isSecondary:Le!==e.value,onClick:function(){return o({iconAlignment:e.value})}},e.label)}))),React.createElement(b.__experimentalDivider,null),React.createElement(b.ToggleControl,{label:(0,n.__)("Show Background","essential-blocks"),checked:ye,onChange:function(){o({showIconBackground:!ye})}}),ye&&React.createElement(React.Fragment,null,React.createElement(l.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:he,attributeName:"iconBackgroundColor"}),React.createElement(l.ColorControl,{label:(0,n.__)("Background Hover Color","essential-blocks"),color:ve,attributeName:"iconBackgroundHoverColor"}),React.createElement(b.__experimentalDivider,null)),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Size","essential-blocks"),controlName:v,min:0,max:200,step:1}),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Area Width","essential-blocks"),controlName:w,units:d,min:0,max:500,step:1}),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,n.__)("Icon Area Height","essential-blocks"),controlName:k,units:d,min:0,max:500,step:1}),React.createElement(l.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:we,attributeName:"iconColor"}),React.createElement(l.ColorControl,{label:(0,n.__)("Icon Hover Color","essential-blocks"),color:ke,attributeName:"iconHoverColor"}),React.createElement(b.__experimentalDivider,null),React.createElement(b.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},"Border")),React.createElement(l.BorderShadowControl,{controlName:A,noShadow:!0})),Be&&React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("Ribbon","essential-blocks"),initialOpen:!1},React.createElement(l.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:W}),React.createElement(l.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Pe,attributeName:"ribbonColor"}),React.createElement(l.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:Oe,attributeName:"ribbonBackgroundColor"}),React.createElement(l.BorderShadowControl,{controlName:M,noBorder:!0})))))};function $(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.pricingStyle),c=t.showTitleLine,i=t.salePriceTextColor,s=t.salepriceCurrencyTextColor,p=t.buttonIconPosition,b=t.featuresTextColor,d=t.titleBackgroundColor,m=t.titleTextColor,u=t.titleLineColor,g=t.subtitleTextColor,f=t.priceTextColor,Z=t.priceCurrencyTextColor,J=t.pricingPeriodTextColor,Y=t.buttonTextColor,Q=t.hoverTextColor,X=t.iconBackgroundColor,$=t.iconBackgroundHoverColor,K=t.showIconBackground,ee=t.iconColor,te=t.iconHoverColor,ae=t.contentAlign,ne=(t.showRibbon,t.ribbonStyle),oe=t.ribbonText,re=t.ribbonColor,le=t.ribbonBackgroundColor,ce=t.featuresAlignment,ie=t.buttonAlignment,se=t.headerAlignment,pe=t.priceAlignment,be=t.iconAlignment,de=(t.classHook,t.pricingTopBgColor),me=(0,l.generateDimensionsControlStyles)({controlName:x,styleFor:"padding",attributes:t}),ue=me.dimensionStylesDesktop,ge=me.dimensionStylesTab,fe=me.dimensionStylesMobile,ye=(0,l.generateDimensionsControlStyles)({controlName:E,styleFor:"margin",attributes:t}),he=ye.dimensionStylesDesktop,ve=ye.dimensionStylesTab,we=ye.dimensionStylesMobile,ke=(0,l.generateBackgroundControlStyles)({attributes:t,controlName:O}),Re=ke.backgroundStylesDesktop,_e=ke.hoverBackgroundStylesDesktop,Ce=ke.backgroundStylesTab,Ee=ke.hoverBackgroundStylesTab,xe=ke.backgroundStylesMobile,Se=ke.hoverBackgroundStylesMobile,Be=ke.overlayStylesDesktop,Te=ke.hoverOverlayStylesDesktop,Ne=ke.overlayStylesTab,Pe=ke.hoverOverlayStylesTab,Oe=ke.overlayStylesMobile,Ie=ke.hoverOverlayStylesMobile,De=ke.bgTransitionStyle,Ae=ke.ovlTransitionStyle,Me=(0,l.generateBorderShadowStyles)({controlName:D,attributes:t}),Le=Me.styesDesktop,Fe=Me.styesTab,je=Me.styesMobile,He=Me.stylesHoverDesktop,ze=Me.stylesHoverTab,Ue=Me.stylesHoverMobile,Ve=Me.transitionStyle,Ge=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:F,defaultFontSize:28}),qe=Ge.typoStylesDesktop,We=Ge.typoStylesTab,Ze=Ge.typoStylesMobile,Je=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:j}),Ye=Je.typoStylesDesktop,Qe=Je.typoStylesTab,Xe=Je.typoStylesMobile,$e=(0,l.generateDimensionsControlStyles)({controlName:S,styleFor:"padding",attributes:t}),Ke=$e.dimensionStylesDesktop,et=$e.dimensionStylesTab,tt=$e.dimensionStylesMobile,at=(0,l.generateDimensionsControlStyles)({controlName:B,styleFor:"margin",attributes:t}),nt=at.dimensionStylesDesktop,ot=at.dimensionStylesTab,rt=at.dimensionStylesMobile,lt=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:H}),ct=lt.typoStylesDesktop,it=lt.typoStylesTab,st=lt.typoStylesMobile,pt=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:z}),bt=pt.typoStylesDesktop,dt=pt.typoStylesTab,mt=pt.typoStylesMobile,ut=(0,l.generateDimensionsControlStyles)({controlName:T,styleFor:"margin",attributes:t}),gt=ut.dimensionStylesDesktop,ft=ut.dimensionStylesTab,yt=ut.dimensionStylesMobile,ht=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:G}),vt=ht.typoStylesDesktop,wt=ht.typoStylesTab,kt=ht.typoStylesMobile,Rt=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:U}),_t=Rt.typoStylesDesktop,Ct=Rt.typoStylesTab,Et=Rt.typoStylesMobile,xt=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:V}),St=xt.typoStylesDesktop,Bt=xt.typoStylesTab,Tt=xt.typoStylesMobile,Nt=(0,l.generateDimensionsControlStyles)({controlName:N,styleFor:"margin",attributes:t}),Pt=Nt.dimensionStylesDesktop,Ot=Nt.dimensionStylesTab,It=Nt.dimensionStylesMobile,Dt=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:q}),At=Dt.typoStylesDesktop,Mt=Dt.typoStylesTab,Lt=Dt.typoStylesMobile,Ft=(0,l.generateResponsiveRangeStyles)({controlName:R,property:"font-size",attributes:t,customUnit:"px"}),jt=Ft.rangeStylesDesktop,Ht=Ft.rangeStylesTab,zt=Ft.rangeStylesMobile,Ut=(0,l.generateResponsiveRangeStyles)({controlName:y,property:"margin-right",attributes:t,customUnit:"px"}),Vt=Ut.rangeStylesDesktop,Gt=Ut.rangeStylesTab,qt=Ut.rangeStylesMobile,Wt=(0,l.generateResponsiveRangeStyles)({controlName:y,property:"margin-left",attributes:t,customUnit:"px"}),Zt=Wt.rangeStylesDesktop,Jt=Wt.rangeStylesTab,Yt=Wt.rangeStylesMobile,Qt=(0,l.generateDimensionsControlStyles)({controlName:_,styleFor:"padding",attributes:t}),Xt=Qt.dimensionStylesDesktop,$t=Qt.dimensionStylesTab,Kt=Qt.dimensionStylesMobile,ea=(0,l.generateDimensionsControlStyles)({controlName:C,styleFor:"margin",attributes:t}),ta=ea.dimensionStylesDesktop,aa=ea.dimensionStylesTab,na=ea.dimensionStylesMobile,oa=(0,l.generateResponsiveRangeStyles)({controlName:h,property:"font-size",attributes:t,customUnit:"px"}),ra=oa.rangeStylesDesktop,la=oa.rangeStylesTab,ca=oa.rangeStylesMobile,ia=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:L}),sa=ia.typoStylesDesktop,pa=ia.typoStylesTab,ba=ia.typoStylesMobile,da=(0,l.generateBackgroundControlStyles)({attributes:t,controlName:P,noOverlay:!0,noMainBgi:!0}),ma=da.backgroundStylesDesktop,ua=da.hoverBackgroundStylesDesktop,ga=da.bgTransitionStyle,fa=(0,l.generateBorderShadowStyles)({controlName:I,attributes:t}),ya=fa.styesDesktop,ha=fa.styesTab,va=fa.styesMobile,wa=fa.stylesHoverDesktop,ka=fa.stylesHoverTab,Ra=fa.stylesHoverMobile,_a=(0,l.generateResponsiveRangeStyles)({controlName:v,property:"font-size",attributes:t}),Ca=_a.rangeStylesDesktop,Ea=_a.rangeStylesTab,xa=_a.rangeStylesMobile,Sa=(0,l.generateResponsiveRangeStyles)({controlName:w,property:"width",attributes:t}),Ba=Sa.rangeStylesDesktop,Ta=Sa.rangeStylesTab,Na=Sa.rangeStylesMobile,Pa=(0,l.generateResponsiveRangeStyles)({controlName:k,property:"height",attributes:t}),Oa=Pa.rangeStylesDesktop,Ia=Pa.rangeStylesTab,Da=Pa.rangeStylesMobile,Aa=(0,l.generateBorderShadowStyles)({controlName:A,attributes:t}),Ma=Aa.styesDesktop,La=Aa.styesTab,Fa=Aa.styesMobile,ja=Aa.stylesHoverDesktop,Ha=Aa.stylesHoverTab,za=Aa.stylesHoverMobile,Ua=be||ae,Va=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:W}),Ga=Va.typoStylesDesktop,qa=Va.typoStylesTab,Wa=Va.typoStylesMobile,Za=(0,l.generateBorderShadowStyles)({controlName:M,attributes:t}),Ja=Za.styesDesktop,Ya=Za.stylesHoverDesktop,Qa="\n\t\t .eb-pricing-wrapper.".concat(o," .eb-pricing {\n\t\t\t text-align: ").concat(ae,";\n\t\t\t ").concat("ribbon-4"===ne?"overflow: hidden;":"","\n\t\t }\n\n\t\t .eb-pricing-wrapper.").concat(o,' .eb-pricing .eb-pricing-item.ribbon-1::before {\n\t\t\t content: "";\n\t\t\t color: ').concat(re,";\n\t\t\t background: ").concat(le,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing.style-4 .eb-pricing-top {\n\t\t\tbackground-color: ").concat(de,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t ").concat(Ga,"\n\t\t\t ").concat(Ja,'\n\t\t\t content: "').concat(oe,'";\n\t\t\t color: ').concat(re,";\n\t\t\t background: ").concat(le,";\n\t\t\t text-align: center;\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-2::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-3::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing:hover .eb-pricing-item.ribbon-4::before {\n\t\t\t ").concat(Ya,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-2::after {\n\t\t\t border-bottom: 15px solid ").concat(le,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t ").concat(ue,"\n\t\t\t ").concat(he,"\n\t\t\t ").concat(Re,"\n\t\t\t ").concat(Le,"\n\t\t\t transition: ").concat(De,", ").concat(Ve,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay::before {\n\t\t\t ").concat(Be,"\n\t\t\t transition: ").concat(Ae,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t ").concat(_e,"\n\t\t\t ").concat(He,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t ").concat(Te,"\n\t\t }\n\t\t .eb-pricing-wrapper.eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t ").concat(Ke,"\n\t\t\t ").concat(nt,"\n\t\t\t background: ").concat(d||("style-2"===r?"#c8e6c9":"none"),";\n\t\t\t position: relative;\n\t\t\t z-index: 0;\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t ").concat(qe,"\n\t\t\t color: ").concat(m,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t ").concat(Ye,"\n\t\t\t color: ").concat(g,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t ").concat(ct,"\n\t\t\t color: ").concat(f,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t ").concat(bt,"\n\t\t\t ").concat(gt,"\n\t\t\t color: ").concat(Z,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t ").concat(vt,"\n\t\t\t color: ").concat(J,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t ").concat(_t,"\n\t\t\t color: ").concat(i,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t ").concat(St,"\n\t\t\t ").concat(Pt,"\n\t\t\t color: ").concat(s,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li a {\n\t\t\t ").concat(At,"\n\t\t\t color: ").concat(b||"#6d6d6d",";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t ").concat(jt,"\n\t\t\t margin-right: 8px;\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t ").concat(ta,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t ").concat(Xt,"\n\t\t\t ").concat(sa,"\n\t\t\t ").concat(ma,"\n\t\t\t ").concat(ya,"\n\t\t\t color: ").concat(Y,";\n\t\t\t transition: ").concat(ga,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t ").concat(wa,"\n\t\t\t ").concat(ua,"\n\t\t\t color: ").concat(Q,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button .dashicon,\n .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t ").concat("left"===p?Vt:Zt,"\n\t\t\t ").concat(ra,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon {\n\t\t\t display: flex;\n\t\t\t align-items: center;\n\t\t\t justify-content: ").concat("left"===Ua?"flex-start":"right"===Ua?"flex-end":"center",";\n\t\t }\n\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t display: flex;\n\t\t\t align-items: center;\n\t\t\t justify-content: center;\n\t\t\t ").concat(Ba,"\n\t\t\t ").concat(Oa,"\n\t\t\t ").concat(Ma,"\n\t\t\t ").concat(K?"background-color: "+X+";":"background-color: transparent;","\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon {\n\t\t\t ").concat(ja,"\n\t\t\t ").concat(K?"background-color: "+$+";":"background-color: transparent;","\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t ").concat(Ca,"\n\t\t\t color: ").concat(ee,";\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon {\n\t\t\t color: ").concat(te,";\n\t\t }\n\n\t\t ").concat(ce?".eb-pricing-wrapper.".concat(o," .eb-pricing-body {\n\t\t\t\t text-align: ").concat(ce,";\n\t\t\t }"):"","\n\n\t\t ").concat(ie?".eb-pricing-wrapper.".concat(o," .eb-pricing-footer {\n\t\t\t\t text-align: ").concat(ie,";\n\t\t\t }"):"","\n\n\t\t ").concat(se?".eb-pricing-wrapper.".concat(o," .eb-pricing-header {\n\t\t\t\t text-align: ").concat(se,";\n\t\t\t }"):"","\n\n\t\t ").concat(pe?".eb-pricing-wrapper.".concat(o," .eb-pricing-tag {\n\t\t\t\t text-align: ").concat(pe,";\n\t\t\t }"):"","\n\n\t "),Xa="\n\t\t .eb-pricing-wrapper.".concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t ").concat(qa,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t ").concat(ge,"\n\t\t\t ").concat(ve,"\n\t\t\t ").concat(Ce,"\n\t\t\t ").concat(Fe,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay:before {\n\t\t\t ").concat(Ne,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t ").concat(Ee,"\n\t\t\t ").concat(ze,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t ").concat(Pe,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t ").concat(et,"\n\t\t\t ").concat(ot,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t ").concat(We,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t ").concat(Qe,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t ").concat(it,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t ").concat(dt,"\n\t\t\t ").concat(ft,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t ").concat(wt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t ").concat(Ct,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t ").concat(Bt,"\n\t\t\t ").concat(Ot,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li {\n\t\t\t ").concat(Mt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t ").concat(Ht,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t ").concat(aa,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t ").concat($t,"\n\t\t\t ").concat(pa,"\n\t\t\t ").concat(ha,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t ").concat(ka,"\n\t\t }\n .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button .dashicon,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t ").concat("left"===p?Gt:Jt,"\n\t\t\t ").concat(la,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t ").concat(Ta,"\n\t\t\t ").concat(Ia,"\n\t\t\t ").concat(La,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon:hover {\n\t\t\t ").concat(Ha,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t ").concat(Ea,"\n\t\t }\n\t "),$a="\n\t\t .eb-pricing-wrapper.".concat(o," .eb-pricing .eb-pricing-item.ribbon-2::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-3::before,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item.ribbon-4::before {\n\t\t\t ").concat(Wa,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item {\n\t\t\t ").concat(fe,"\n\t\t\t ").concat(we,"\n\t\t\t ").concat(xe,"\n\t\t\t ").concat(je,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing-item-overlay:before {\n\t\t\t ").concat(Oe,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item:hover {\n\t\t\t ").concat(Se,"\n\t\t\t ").concat(Ue,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing-item:hover .eb-pricing-item-overlay:before {\n\t\t\t ").concat(Ie,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header {\n\t\t\t ").concat(tt,"\n\t\t\t ").concat(rt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title {\n\t\t\t ").concat(Ze,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle {\n\t\t\t ").concat(Xe,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price {\n\t\t\t ").concat(st,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency {\n\t\t\t ").concat(mt,"\n\t\t\t ").concat(yt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period {\n\t\t\t ").concat(kt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price {\n\t\t\t ").concat(Et,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency {\n\t\t\t ").concat(Tt,"\n\t\t\t ").concat(It,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li {\n\t\t\t ").concat(Lt,"\n\t\t }\n\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon {\n\t\t\t ").concat(zt,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button-wrapper {\n\t\t\t ").concat(na,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button {\n\t\t\t ").concat(Kt,"\n\t\t\t ").concat(ba,"\n\t\t\t ").concat(va,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover {\n\t\t\t ").concat(Ra,"\n\t\t }\n .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button .dashicon,\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i {\n\t\t\t ").concat("left"===p?qt:Yt,"\n\t\t\t ").concat(ca,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t ").concat(Na,"\n\t\t\t ").concat(Da,"\n\t\t\t ").concat(Fa,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon:hover {\n\t\t\t ").concat(za,"\n\t\t }\n\t\t .eb-pricing-wrapper.").concat(o," .eb-pricing .eb-pricing-item .eb-pricing-icon .icon {\n\t\t\t ").concat(xa,"\n\t\t }\n\t "),Ka="",en="left"===se?"margin: 0 !important;":"right"===se?"margin: 0 0 0 auto !important;":"margin: 0 auto !important;",tn="left"===se?"transform: translateX(-80%) !important;":"right"===se?"transform: translateX(80%) !important;":"margin: 0 auto !important;",an="left"===pe?"margin: 0 !important;":"right"===pe?"margin: 0 0 0 auto !important;":"margin: 0 auto !important;";c&&(Ka="\n\t\t .".concat(o,' .eb-pricing .eb-pricing-item .eb-pricing-header::after {\n\t\t\t content: "";\n\t\t\t position: absolute;\n\t\t\t width: 140px;\n\t\t\t height: 1px;\n\t\t\t bottom: 0px;\n\t\t\t left: 0px;\n\t\t\t right: 0px;\n\t\t\t margin: 0 auto;\n\t\t\t z-index: 1;\n\t\t\t background-color: ').concat(u,";\n\t\t }\n\t\t .").concat(o,".eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,\n\t\t .").concat(o,".eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t margin: 0;\n\t\t }\n\t\t .").concat(o,".eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,\n\t\t .").concat(o,".eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t margin: 0 0 0 auto;\n\t\t }\n\t\t ").concat(se?".".concat(o," .eb-pricing .eb-pricing-item .eb-pricing-header::after {\n\t\t\t\t\t\t\t ").concat(en,"\n\t\t\t\t\t\t }"):"","\n\n\t\t ").concat(pe?".".concat(o," .eb-pricing .eb-pricing-item .eb-pricing-tag::after {\n\t\t\t\t\t\t ").concat(an,"\n\t\t\t\t\t }"):"","\n\n\t\t .").concat(o,".eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .").concat(o,".eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after {\n\t\t\t transform: translateX(-80%);\n\t\t }\n\t\t .").concat(o,".eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .").concat(o,".eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after {\n\t\t\t transform: translateX(80%);\n\t\t }\n\t\t ").concat(se?".".concat(o," .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header::after {\n\t\t\t\t\t\t\t ").concat(tn,"\n\t\t\t\t\t\t }"):"",'\n\t\t .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after {\n\t\t\t position: absolute;\n\t\t\t content: "";\n\t\t\t width: 100%;\n\t\t\t height: 1px;\n\t\t\t bottom: 0px;\n\t\t\t left: 0px;\n\t\t\t right: 0px;\n\t\t\t margin: 0 auto;\n\t\t\t z-index: 1;\n\t\t\t -webkit-transition: 1s;\n\t\t\t -o-transition: 1s;\n\t\t\t transition: 1s;\n\t\t\t -webkit-transform: scaleX(0.4);\n\t\t\t -ms-transform: scaleX(0.4);\n\t\t\t transform: scaleX(0.4);\n\t\t }\n\t\t .eb-pricing.style-3 .eb-pricing-item:hover .header:after,\n\t\t .eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after {\n\t\t\t -webkit-transform: scaleX(1);\n\t\t\t -ms-transform: scaleX(1);\n\t\t\t transform: scaleX(1) !important;\n\t\t }\n\t '));var nn=(0,l.softMinifyCssStrings)("\n\t\t ".concat(Qa,"\n\t\t ").concat(Ka,"\n\t ")),on=(0,l.softMinifyCssStrings)("\n\t\t ".concat(Xa,"\n\t ")),rn=(0,l.softMinifyCssStrings)("\n\t\t ".concat($a,"\n\t "));return React.createElement(React.Fragment,null,React.createElement(l.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:nn,tabAllStyles:on,mobileAllStyles:rn,blockName:n}))}var K=function(){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",fill:"none",viewBox:"0 0 60 60"},React.createElement("path",{fill:"#6C3BFF",d:"M22.5 7.5c-1.425 0-2.55.975-2.925 2.25H10.5c-1.65 0-3 1.35-3 3v34.5c0 1.65 1.35 3 3 3h.75c.45 0 .75-.3.75-.75s-.3-.75-.75-.75h-.75c-.825 0-1.5-.675-1.5-1.5v-34.5c0-.825.675-1.5 1.5-1.5h9v5.25h-6.75V18h6.75v3h-6.75v1.5h6.75v9h-3V33h3v3h-3v1.5h3v12c0 1.65 1.35 3 3 3H24c.45 0 .75-.3.75-.75S24.45 51 24 51h-1.5c-.825 0-1.5-.675-1.5-1.5v-39c0-.825.675-1.5 1.5-1.5h15c.825 0 1.5.675 1.5 1.5v39c0 .825-.675 1.5-1.5 1.5H36c-.45 0-.75.3-.75.75s.3.75.75.75h1.5c1.65 0 3-1.35 3-3V42h6.75v-1.5H40.5v-3h6.75V36H40.5v-3h6.75v-1.5H40.5v-9h6.75V21H40.5v-3h6.75v-1.5H40.5v-5.25h9c.825 0 1.5.675 1.5 1.5v34.5c0 .825-.675 1.5-1.5 1.5h-.75c-.45 0-.75.3-.75.75s.3.75.75.75h.75c1.65 0 3-1.35 3-3v-34.5c0-1.65-1.35-3-3-3h-9.075c-.3-1.275-1.5-2.25-2.925-2.25h-15zM24 15v1.5h12V15H24zm0 4.5V21h12v-1.5H24zm.75 10.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0v1.5H36V30h-8.25zM13.5 31.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0V36H36v-1.5h-8.25zM13.5 36c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0v1.5H36V39h-8.25zm-3 4.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0V45H36v-1.5h-8.25zm-13.5 5.25c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm25.5 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zM27 51c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75zm3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75z"}))},ee=[{title:"Prestige Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:var(\\u002d\\u002deb-global-button-background-color); text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid var(\\u002d\\u002deb-global-button-background-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:var(\\u002d\\u002deb-global-button-background-color); color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-1"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Regal Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853; text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #00c853 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:#c8e6c9; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#999999 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#00c853; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#000000 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#000000 }","tab":"","mobile":""},"pricingStyle":"style-2","showSubtitle":true,"showHeaderIcon":true,"showTitleLine":false,"titleTextColor":"#000000","iconColor":"#000000","iconHoverColor":"#000000","priceTextColor":"#000000","priceCurrencyTextColor":"#000000","pricingPeriodTextColor":"#999999","ribbonBackgroundColor":"#00c853","btnBgbackgroundColor":"#00c853","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-2"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-icon" data-icon="fas fa-home"><i class="fas fa-home icon" icon="fas fa-home"></i></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2><span class="eb-pricing-subtitle">A tagline here.</span></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Supreme Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-5gnx5","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#00c853; text-align:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #00c853 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item { background-color:rgba(1,1,1,1); transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#999999 }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#00c853; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#fff }.eb-pricing-wrapper.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#fff }.eb-pricing-5gnx5 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-5gnx5.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-5gnx5.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"pricingStyle":"style-3","titleTextColor":"#fff","iconColor":"#fff","iconHoverColor":"#fff","priceTextColor":"#fff","priceCurrencyTextColor":"#fff","pricingPeriodTextColor":"#999999","ribbonBackgroundColor":"#00c853","btnBgbackgroundColor":"#00c853","priceTableBgbackgroundColor":"rgba(1,1,1,1)","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-5gnx5 { display:block; opacity:1 }.eb-parent-eb-pricing-5gnx5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-5gnx5 "><div class="eb-pricing-5gnx5 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-3"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="rgba(112,111,111,1)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'},{title:"Platinum Layout",content:'\x3c!-- wp:essential-blocks/pricing-table {"blockId":"eb-pricing-iqk68","blockMeta":{"desktop":".eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing { text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-1::before { content:\\u0022\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#cc5ae7 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing.style-4 .eb-pricing-top { background-color:#7967ff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-3::before,.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-4::before { content:\\u0022featured\\u0022; color:var(\\u002d\\u002deb-global-button-text-color); background:#cc5ae7; text-align:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item.ribbon-2::after { border-bottom:15px solid #cc5ae7 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item { transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing-item-overlay::before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-pricing-wrapper.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header { background:none; position:relative; z-index:0 }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-title { font-size:28px; color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header .eb-pricing-subtitle { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .original-price .price-currency { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .price-period { color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-tag .sale-price .price-currency { color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li, .eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li a { color:var(\\u002d\\u002deb-global-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-body ul li .eb-pricebox-icon { font-size:20px; margin-right:8px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button { background-color:#7967ff; color:var(\\u002d\\u002deb-global-button-text-color); transition:background 0.5s }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button:hover { background-color:var(\\u002d\\u002deb-global-tertiary-color); color:var(\\u002d\\u002deb-global-button-text-color) }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-footer .eb-pricing-button i { font-size:20px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon { display:flex; align-items:center; justify-content:center }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-icon .icon { font-size:30px; color:#ffffff }.eb-pricing-wrapper.eb-pricing-iqk68 .eb-pricing .eb-pricing-item:hover .eb-pricing-icon .icon { color:#ffffff }.eb-pricing-iqk68 .eb-pricing .eb-pricing-item .eb-pricing-header::after { content:\\u0022\\u0022; position:absolute; width:140px; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; background-color:var(\\u002d\\u002deb-global-primary-color) }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing-item .eb-pricing-tag::after { margin:0 }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-header::after,.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing-item .eb-pricing-tag::after { margin:0 0 0 auto }.eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-left .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(-80%) }.eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after, .eb-pricing-iqk68.eb-pricing-content-right .eb-pricing.style-3 .eb-pricing-item .eb-pricing-tag:after { transform:translateX(80%) }.eb-pricing.style-3 .eb-pricing-item .eb-pricing-header:after { position:absolute; content:\\u0022\\u0022; width:100%; height:1px; bottom:0px; left:0px; right:0px; margin:0 auto; z-index:1; -webkit-transition:1s; -o-transition:1s; transition:1s; -webkit-transform:scaleX(0.4); -ms-transform:scaleX(0.4); transform:scaleX(0.4) }.eb-pricing.style-3 .eb-pricing-item:hover .header:after,.eb-pricing.style-3 .eb-pricing-item:hover .eb-pricing-header:after { -webkit-transform:scaleX(1); -ms-transform:scaleX(1); transform:scaleX(1) !important }","tab":"","mobile":""},"pricingStyle":"style-4","showHeaderIcon":true,"titleTextColor":"#ffffff","iconColor":"#ffffff","iconHoverColor":"#ffffff","priceTextColor":"#ffffff","priceCurrencyTextColor":"#ffffff","pricingPeriodTextColor":"#ffffff","ribbonBackgroundColor":"#cc5ae7","btnBgbackgroundColor":"#7967ff","commonStyles":{"desktop":".wp-admin .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","tab":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }","mobile":".editor-styles-wrapper.wp-embed-responsive .eb-parent-eb-pricing-iqk68 { display:block; opacity:1 }.eb-parent-eb-pricing-iqk68 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-pricing-table"><div class="eb-parent-wrapper eb-parent-eb-pricing-iqk68 "><div class="eb-pricing-iqk68 eb-pricing-wrapper eb-pricing-content-center"><div class="eb-pricing style-4"><div class="eb-pricing-item"><div class="eb-pricing-item-overlay"></div><div class="eb-pricing-top"><div class="eb-pricing-icon" data-icon="fas fa-home"><i class="fas fa-home icon" icon="fas fa-home"></i></div><div class="eb-pricing-tag"><span class="price-tag"><span class="original-price" data-price="99"><span class="price-currency">$</span>99</span></span><span class="price-period" data-period-separator="/" data-price-period="month">/ month</span></div><div class="eb-pricing-header"><h2 class="eb-pricing-title">Startup</h2></div></div><div class="eb-pricing-bottom"><div class="eb-pricing-body"><ul class="eb-pricebox-features "><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Unlimited Calls</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">Free Hosting</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">500MB Free Storage</span></li><li class="eb-pricebox-feature-item" data-icon="fas fa-check" data-color="var(--eb-global-primary-color)" data-clickable="false" data-link=""><i class="fas fa-check eb-pricebox-icon" icon="fas fa-check"></i><span class="eb-pricebox-feature-text">24/7 Support</span></li></ul></div><div class="eb-pricing-footer"><div class="eb-pricing-button-wrapper"><a href="#" class="eb-pricing-button"><span class="eb-button-text">Choose Plan</span></a></div></div></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/pricing-table --\x3e'}];function te(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ae(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?te(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):te(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const ne=(0,i.memo)((0,l.withBlockContext)(Y)(function(e){var t=e.attributes,a=e.isSelected,n=e.setAttributes,r=t.blockId,c=(t.blockMeta,t.resOption,t.pricingStyle),p=t.title,b=t.showSubtitle,d=t.subtitle,m=t.showHeaderIcon,u=t.headerIcon,g=t.mainPrice,f=t.showOnSale,y=t.salePrice,h=t.priceCurrency,v=t.currencyPlacement,w=t.pricePeriod,k=t.periodSeparator,R=t.hideFeatures,_=t.features,C=t.showButton,E=t.buttonIcon,x=t.buttonIconPosition,S=t.buttonText,B=t.buttonURL,T=t.contentAlign,N=t.ribbonStyle,P=t.classHook,O=t.ribbonAlignHorizontal,I=t.ribbonAlignVertical,D=t.showFeatureLine,A=t.showRibbon,M=t.showBlockContent,L=t.showFeatureIcon,F=t.titleTagName,j=ae(ae({},e),{},{blockPrefix:"eb-pricing",style:React.createElement($,e)});(0,i.useEffect)(function(){_.length>0||n({features:[{icon:"fas fa-check",text:"Unlimited Calls",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"Free Hosting",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"500MB Free Storage",color:"var(--eb-global-primary-color)",clickable:"false",link:""},{icon:"fas fa-check",text:"24/7 Support",color:"var(--eb-global-primary-color)",clickable:"false",link:""}]})},[]);var H=A?" featured ".concat(N):"",z=F;return React.createElement(React.Fragment,null,React.createElement(s.BlockControls,null,React.createElement(s.AlignmentToolbar,{value:T,onChange:function(e){return n({contentAlign:e||"center"})}})),a&&M&&React.createElement(X,{attributes:t,setAttributes:n}),React.createElement(l.BlockProps.Edit,j,React.createElement(l.BrowseTemplate,(0,o.A)({},e,{Icon:K,title:"Pricing Table",description:"Choose a template for the Pricing Table or start blank.",patterns:ee})),M&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(P)},React.createElement("div",{className:"".concat(r," eb-pricing-wrapper eb-pricing-content-").concat(T)},React.createElement("div",{className:"eb-pricing ".concat(c," ")},React.createElement("div",{className:"eb-pricing-item".concat(H," ").concat("ribbon-1"!==N?O:I)},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==c&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},m&&React.createElement("div",{className:"eb-pricing-icon","data-icon":u},React.createElement(l.EBDisplayIcon,{className:"icon",icon:u})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===f?" line-through":""),"data-price":g},"left"===v&&React.createElement("span",{className:"price-currency"},h),g,"right"===v&&React.createElement("span",{className:"price-currency"},h)),f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":y},"left"===v&&React.createElement("span",{className:"price-currency"},h),y,"right"===v&&React.createElement("span",{className:"price-currency"},h)))),React.createElement("span",{className:"price-period","data-period-separator":k,"data-price-period":w},k," ",w)),React.createElement("div",{className:"eb-pricing-header"},React.createElement(z,{className:"eb-pricing-title"},p),b&&React.createElement("span",{className:"eb-pricing-subtitle"},d))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==R&&React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(D?"":"no-border")},_.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))),C&&React.createElement("div",{className:"eb-pricing-footer","data-icon":E},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(B),className:"eb-pricing-button"},"left"===x&&React.createElement(l.EBDisplayIcon,{icon:E}),React.createElement(l.DynamicInputValueHandler,{value:S,tagName:"span",className:"eb-button-text",onChange:function(e){return n({buttonText:e})},readOnly:!0}),"right"===x&&React.createElement(l.EBDisplayIcon,{icon:E})))))),"style-4"!==c&&React.createElement(React.Fragment,null,m&&React.createElement("div",{className:"eb-pricing-icon","data-icon":u},React.createElement(l.EBDisplayIcon,{className:"icon",icon:u})),React.createElement("div",{className:"eb-pricing-header"},React.createElement(z,{className:"eb-pricing-title"},p),b&&React.createElement("span",{className:"eb-pricing-subtitle"},d)),"style-3"!==c&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===f?" line-through":""),"data-price":g},"left"===v&&React.createElement("span",{className:"price-currency"},h),g,"right"===v&&React.createElement("span",{className:"price-currency"},h)),f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":y},"left"===v&&React.createElement("span",{className:"price-currency"},h),y,"right"===v&&React.createElement("span",{className:"price-currency"},h)))),React.createElement("span",{className:"price-period","data-period-separator":k,"data-price-period":w},k," ",w)),!0!==R&&React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(D?"":"no-border")},_.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))),"style-3"===c&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===f?" line-through":""),"data-price":g},"left"===v&&React.createElement("span",{className:"price-currency"},h),g,"right"===v&&React.createElement("span",{className:"price-currency"},h)),f&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":y},"left"===v&&React.createElement("span",{className:"price-currency"},h),y,"right"===v&&React.createElement("span",{className:"price-currency"},h)))),React.createElement("span",{className:"price-period","data-period-separator":k,"data-price-period":w},k," ",w)),C&&React.createElement("div",{className:"eb-pricing-footer","data-icon":E},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(B),className:"eb-pricing-button"},"left"===x&&React.createElement(l.EBDisplayIcon,{icon:E}),React.createElement(l.DynamicInputValueHandler,{value:S,tagName:"span",className:"eb-button-text",onChange:function(e){return n({buttonText:e})},readOnly:!0}),"right"===x&&React.createElement(l.EBDisplayIcon,{icon:E}))))))))))))}));var oe;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},re.apply(null,arguments)}function le(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?le(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):le(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ie=lodash.omit;const se=[{attributes:ce({},ie(ce({},Y),["titleTagName"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,s=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.hideFeatures,v=t.features,w=t.showButton,k=t.buttonIcon,R=t.buttonIconPosition,_=t.buttonText,C=t.buttonURL,E=t.contentAlign,x=t.showRibbon,S=t.ribbonStyle,B=t.classHook,T=t.ribbonAlignHorizontal,N=void 0===T?"right":T,P=t.ribbonAlignVertical,O=void 0===P?"top":P,I=t.newWindow,D=t.showFeatureLine,A=void 0===D||D,M=t.showBlockContent,L=t.showFeatureIcon;if(M){var F=x?" featured ".concat(S):"";return React.createElement(l.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(B)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(E)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(F).concat(x?"ribbon-1"!==S?" "+N:" "+O:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement(l.EBDisplayIcon,{className:"icon",icon:p})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(A?"":"no-border")},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==C?"":(0,l.sanitizeURL)(C)},I&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===R&&React.createElement(l.EBDisplayIcon,{icon:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement(l.EBDisplayIcon,{icon:k})))))),"style-4"!==n&&React.createElement(React.Fragment,null,s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement(l.EBDisplayIcon,{className:"icon",icon:p})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(A?"":"no-border")},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==C?"":(0,l.sanitizeURL)(C)},I&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===R&&React.createElement(l.EBDisplayIcon,{icon:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement(l.EBDisplayIcon,{icon:k}))))))))))}}},{attributes:ce({},ie(ce({},Y),["showFeatureIcon"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,p=t.showHeaderIcon,b=t.headerIcon,d=t.mainPrice,m=t.showOnSale,u=t.salePrice,g=t.priceCurrency,f=t.currencyPlacement,y=t.pricePeriod,h=t.periodSeparator,v=t.hideFeatures,w=t.features,k=t.showButton,R=t.buttonIcon,_=t.buttonIconPosition,C=t.buttonText,E=t.buttonURL,x=t.contentAlign,S=t.showRibbon,B=t.ribbonStyle,T=t.classHook,N=t.ribbonAlignHorizontal,P=void 0===N?"right":N,O=t.ribbonAlignVertical,I=void 0===O?"top":O,D=t.newWindow,A=t.showFeatureLine,M=void 0===A||A;if(t.showBlockContent){var L=S?" featured ".concat(B):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(x)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(L).concat(S?"ribbon-1"!==B?" "+P:" "+I:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==E?"":E},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R})))))),"style-4"!==n&&React.createElement(React.Fragment,null,p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==E?"":E},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R}))))))))))}}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,p=t.showHeaderIcon,b=t.headerIcon,d=t.mainPrice,m=t.showOnSale,u=t.salePrice,g=t.priceCurrency,f=t.currencyPlacement,y=t.pricePeriod,h=t.periodSeparator,v=t.hideFeatures,w=t.features,k=t.showButton,R=t.buttonIcon,_=t.buttonIconPosition,C=t.buttonText,E=t.buttonURL,x=t.contentAlign,S=t.showRibbon,B=t.ribbonStyle,T=t.classHook,N=t.ribbonAlignHorizontal,P=void 0===N?"right":N,O=t.ribbonAlignVertical,I=void 0===O?"top":O,D=t.newWindow,A=t.showFeatureLine,M=void 0===A||A;if(t.showBlockContent){var L=S?" featured ".concat(B):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(x)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(L).concat(S?"ribbon-1"!==B?" "+P:" "+I:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==E?"":E},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R})))))),"style-4"!==n&&React.createElement(React.Fragment,null,p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:c},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==E?"":E},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R}))))))))))}}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,p=t.showHeaderIcon,b=t.headerIcon,d=t.mainPrice,m=t.showOnSale,u=t.salePrice,g=t.priceCurrency,f=t.currencyPlacement,y=t.pricePeriod,h=t.periodSeparator,v=t.hideFeatures,w=t.features,k=t.showButton,R=t.buttonIcon,_=t.buttonIconPosition,C=t.buttonText,E=t.buttonURL,x=t.contentAlign,S=t.showRibbon,B=t.ribbonStyle,T=t.classHook,N=t.ribbonAlignHorizontal,P=void 0===N?"right":N,O=t.ribbonAlignVertical,I=void 0===O?"top":O,D=t.newWindow,A=t.showFeatureLine,M=void 0===A||A,L=S?" featured ".concat(B):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(x)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(L).concat(S?"ribbon-1"!==B?" "+P:" "+I:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R})))))),"style-4"!==n&&React.createElement(React.Fragment,null,p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R}))))))))))}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,p=t.showHeaderIcon,b=t.headerIcon,d=t.mainPrice,m=t.showOnSale,u=t.salePrice,g=t.priceCurrency,f=t.currencyPlacement,y=t.pricePeriod,h=t.periodSeparator,v=t.hideFeatures,w=t.features,k=t.showButton,R=t.buttonIcon,_=t.buttonIconPosition,C=t.buttonText,E=t.buttonURL,x=t.contentAlign,S=t.showRibbon,B=t.ribbonStyle,T=t.classHook,N=t.ribbonAlignHorizontal,P=void 0===N?"right":N,O=t.ribbonAlignVertical,I=void 0===O?"top":O,D=t.newWindow,A=t.showFeatureLine,M=void 0===A||A,L=S?" featured ".concat(B):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(x)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(L).concat(S?"ribbon-1"!==B?" "+P:" "+I:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R})))))),"style-4"!==n&&React.createElement(React.Fragment,null,p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement(l.EBDisplayIcon,{className:"icon",icon:b})),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement(l.EBDisplayIcon,{icon:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement(l.EBDisplayIcon,{icon:R}))))))))))}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,p=t.showHeaderIcon,b=t.headerIcon,d=t.mainPrice,m=t.showOnSale,u=t.salePrice,g=t.priceCurrency,f=t.currencyPlacement,y=t.pricePeriod,h=t.periodSeparator,v=t.hideFeatures,w=t.features,k=t.showButton,R=t.buttonIcon,_=t.buttonIconPosition,C=t.buttonText,E=t.buttonURL,x=t.contentAlign,S=t.showRibbon,B=t.ribbonStyle,T=t.classHook,N=t.ribbonAlignHorizontal,P=void 0===N?"right":N,O=t.ribbonAlignVertical,I=void 0===O?"top":O,D=t.newWindow,A=t.showFeatureLine,M=void 0===A||A,L=S?" featured ".concat(B):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(T)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(x)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(L).concat(S?"ribbon-1"!==B?" "+P:" "+I:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement("span",{className:"icon"},React.createElement("i",{className:b}))),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement("i",{className:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement("i",{className:R})))))),"style-4"!==n&&React.createElement(React.Fragment,null,p&&React.createElement("div",{className:"eb-pricing-icon","data-icon":b},React.createElement("span",{className:"icon"},React.createElement("i",{className:b}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),!0!==v&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(M?"":"no-border")},w.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===m?" line-through":""),"data-price":d},"left"===f&&React.createElement("span",{className:"price-currency"},g),d,"right"===f&&React.createElement("span",{className:"price-currency"},g)),m&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":u},"left"===f&&React.createElement("span",{className:"price-currency"},g),u,"right"===f&&React.createElement("span",{className:"price-currency"},g)))),React.createElement("span",{className:"price-period","data-period-separator":h,"data-price-period":y},h," ",y)),k&&React.createElement("div",{className:"eb-pricing-footer","data-icon":R},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:(0,l.sanitizeURL)(E)},D&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===_&&React.createElement("i",{className:R}),React.createElement("span",{className:"eb-button-text"},C),"right"===_&&React.createElement("i",{className:R}))))))))))}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,i=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.hideFeatures,v=t.features,w=t.showButton,k=t.buttonIcon,R=t.buttonIconPosition,_=t.buttonText,C=t.buttonURL,E=t.contentAlign,x=t.showRibbon,S=t.ribbonStyle,B=t.classHook,T=x?" featured ".concat(S):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(B)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(E)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(T)},React.createElement("div",{className:"eb-pricing-item-overlay"}),i&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement("span",{className:"icon"},React.createElement("i",{className:p}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(C),className:"eb-pricing-button"},"left"===R&&React.createElement("i",{className:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement("i",{className:k})))))))))}},{attributes:ce({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,i=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.hideFeatures,v=t.features,w=t.showButton,k=t.buttonIcon,R=t.buttonIconPosition,_=t.buttonText,C=t.buttonURL,E=t.contentAlign,x=t.showRibbon,S=t.ribbonStyle,B=x?" featured ".concat(S):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(E)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(B)},React.createElement("div",{className:"eb-pricing-item-overlay"}),i&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement("span",{className:"icon"},React.createElement("i",{className:p}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(C),className:"eb-pricing-button"},"left"===R&&React.createElement("i",{className:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement("i",{className:k}))))))))}},{attributes:ce(ce({},Y),{},{hideFeatures:{type:"boolean",default:!1}}),save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,i=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.features,v=t.showButton,w=t.buttonIcon,k=t.buttonIconPosition,R=t.buttonText,_=t.buttonURL,C=t.contentAlign,E=t.showRibbon,x=t.ribbonStyle,S=E?" featured ".concat(x):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(C)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(S)},React.createElement("div",{className:"eb-pricing-item-overlay"}),i&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement("span",{className:"icon"},React.createElement("i",{className:p}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},h.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(a),style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))}))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":w},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(_),className:"eb-pricing-button"},"left"===k&&React.createElement("i",{className:w}),React.createElement("span",{className:"eb-button-text"},R),"right"===k&&React.createElement("i",{className:w}))))))))}},{attributes:ce({},Y),save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,o=t.title,r=t.showSubtitle,c=t.subtitle,i=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.features,v=t.showButton,w=t.buttonIcon,k=t.buttonIconPosition,R=t.buttonText,_=t.buttonURL,C=t.contentAlign,E=t.showRibbon,x=t.ribbonStyle,S=E?" featured ".concat(x):"";return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-pricing-content-").concat(C)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(S)},React.createElement("div",{className:"eb-pricing-item-overlay"}),i&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement("span",{className:"icon"},React.createElement("i",{className:p}))),React.createElement("div",{className:"eb-pricing-header"},React.createElement("h2",{className:"eb-pricing-title"},o),r&&React.createElement("span",{className:"eb-pricing-subtitle"},c)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features"},h.map(function(e){var t=e.icon,a=e.text,n=e.color,o=e.clickable,r=e.link;return React.createElement("li",{className:"eb-pricebox-feature-item","data-icon":t,"data-color":n,"data-clickable":o,"data-link":r},o&&r?React.createElement("a",{href:(0,l.sanitizeURL)(r)},React.createElement("span",{className:"eb-pricebox-icon ".concat(t),style:{color:n}}),React.createElement("span",{className:"eb-pricebox-feature-text"},a)):React.createElement(React.Fragment,null,React.createElement("span",{className:"eb-pricebox-icon ".concat(t),style:{color:n}}),React.createElement("span",{className:"eb-pricebox-feature-text"},a)))}))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),v&&React.createElement("div",{className:"eb-pricing-footer","data-icon":w},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",{href:(0,l.sanitizeURL)(_),className:"eb-pricing-button"},"left"===k&&React.createElement("i",{className:w}),React.createElement("span",{className:"eb-button-text"},R),"right"===k&&React.createElement("i",{className:w}))))))))}}],pe=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Pricing Table","name":"essential-blocks/pricing-table","description":"The pricing table block will let you create an effective product pricing table with perfect styling to get more sales from your prospective buyers.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,l.ebConditionalRegisterBlockType)(pe,{icon:function(e){return r.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),oe||(oe=r.createElement("path",{fill:"#6C3BFF",d:"M22.5 7.5c-1.425 0-2.55.975-2.925 2.25H10.5c-1.65 0-3 1.35-3 3v34.5c0 1.65 1.35 3 3 3h.75c.45 0 .75-.3.75-.75s-.3-.75-.75-.75h-.75c-.825 0-1.5-.675-1.5-1.5v-34.5c0-.825.675-1.5 1.5-1.5h9v5.25h-6.75V18h6.75v3h-6.75v1.5h6.75v9h-3V33h3v3h-3v1.5h3v12c0 1.65 1.35 3 3 3H24c.45 0 .75-.3.75-.75S24.45 51 24 51h-1.5c-.825 0-1.5-.675-1.5-1.5v-39c0-.825.675-1.5 1.5-1.5h15c.825 0 1.5.675 1.5 1.5v39c0 .825-.675 1.5-1.5 1.5H36c-.45 0-.75.3-.75.75s.3.75.75.75h1.5c1.65 0 3-1.35 3-3V42h6.75v-1.5H40.5v-3h6.75V36H40.5v-3h6.75v-1.5H40.5v-9h6.75V21H40.5v-3h6.75v-1.5H40.5v-5.25h9c.825 0 1.5.675 1.5 1.5v34.5c0 .825-.675 1.5-1.5 1.5h-.75c-.45 0-.75.3-.75.75s.3.75.75.75h.75c1.65 0 3-1.35 3-3v-34.5c0-1.65-1.35-3-3-3h-9.075c-.3-1.275-1.5-2.25-2.925-2.25zM24 15v1.5h12V15zm0 4.5V21h12v-1.5zm.75 10.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0v1.5H36V30zM13.5 31.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0V36H36v-1.5zM13.5 36c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m11.25 3c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0v1.5H36V39zm-3 4.5c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0V45H36v-1.5zm-13.5 5.25c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m25.5 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75M27 51c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75m3 0c-.45 0-.75.3-.75.75s.3.75.75.75.75-.3.75-.75-.3-.75-.75-.75"})))},attributes:Y,keywords:[(0,n.__)("eb price","essential-blocks"),(0,n.__)("table","essential-blocks"),(0,n.__)("eb price table","essential-blocks")],edit:ne,save:function(e){var t=e.attributes,a=t.blockId,n=t.pricingStyle,r=t.title,c=t.showSubtitle,i=t.subtitle,s=t.showHeaderIcon,p=t.headerIcon,b=t.mainPrice,d=t.showOnSale,m=t.salePrice,u=t.priceCurrency,g=t.currencyPlacement,f=t.pricePeriod,y=t.periodSeparator,h=t.hideFeatures,v=t.features,w=t.showButton,k=t.buttonIcon,R=t.buttonIconPosition,_=t.buttonText,C=t.buttonURL,E=t.contentAlign,x=t.showRibbon,S=t.ribbonStyle,B=t.classHook,T=t.ribbonAlignHorizontal,N=void 0===T?"right":T,P=t.ribbonAlignVertical,O=void 0===P?"top":P,I=t.newWindow,D=t.showFeatureLine,A=void 0===D||D,M=t.showBlockContent,L=t.showFeatureIcon,F=t.titleTagName;if(M){var j=x?" featured ".concat(S):"",H=F;return React.createElement(l.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(B)},React.createElement("div",{className:"".concat(a," eb-pricing-wrapper eb-pricing-content-").concat(E)},React.createElement("div",{className:"eb-pricing ".concat(n)},React.createElement("div",{className:"eb-pricing-item".concat(j).concat(x?"ribbon-1"!==S?" "+N:" "+O:"")},React.createElement("div",{className:"eb-pricing-item-overlay"}),"style-4"==n&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-top"},s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement(l.EBDisplayIcon,{className:"icon",icon:p})),React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),React.createElement("div",{className:"eb-pricing-header"},React.createElement(H,{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i))),React.createElement("div",{className:"eb-pricing-bottom"},!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(A?"":"no-border")},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==C?"":(0,l.sanitizeURL)(C)},I&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===R&&React.createElement(l.EBDisplayIcon,{icon:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement(l.EBDisplayIcon,{icon:k})))))),"style-4"!==n&&React.createElement(React.Fragment,null,s&&React.createElement("div",{className:"eb-pricing-icon","data-icon":p},React.createElement(l.EBDisplayIcon,{className:"icon",icon:p})),React.createElement("div",{className:"eb-pricing-header"},React.createElement(H,{className:"eb-pricing-title"},r),c&&React.createElement("span",{className:"eb-pricing-subtitle"},i)),"style-3"!==n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),!0!==h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-pricing-body"},React.createElement("ul",{className:"eb-pricebox-features ".concat(A?"":"no-border")},v.map(function(e,t){var a=e.icon,n=e.text,o=e.color,r=e.clickable,c=e.link;return React.createElement("li",{key:t,className:"eb-pricebox-feature-item","data-icon":a,"data-color":o,"data-clickable":r,"data-link":c},r&&c?React.createElement("a",{href:(0,l.sanitizeURL)(c)},React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)):React.createElement(React.Fragment,null,L&&React.createElement(l.EBDisplayIcon,{className:"eb-pricebox-icon",icon:a,style:{color:o}}),React.createElement("span",{className:"eb-pricebox-feature-text"},n)))})))),"style-3"===n&&React.createElement("div",{className:"eb-pricing-tag"},React.createElement("span",{className:"price-tag"},React.createElement("span",{className:"original-price".concat(!0===d?" line-through":""),"data-price":b},"left"===g&&React.createElement("span",{className:"price-currency"},u),b,"right"===g&&React.createElement("span",{className:"price-currency"},u)),d&&React.createElement(React.Fragment,null,React.createElement("span",{className:"sale-price","data-sale-price":m},"left"===g&&React.createElement("span",{className:"price-currency"},u),m,"right"===g&&React.createElement("span",{className:"price-currency"},u)))),React.createElement("span",{className:"price-period","data-period-separator":y,"data-price-period":f},y," ",f)),w&&React.createElement("div",{className:"eb-pricing-footer","data-icon":k},React.createElement("div",{className:"eb-pricing-button-wrapper"},React.createElement("a",(0,o.A)({href:"#"==C?"":(0,l.sanitizeURL)(C)},I&&{target:"_blank"},{className:"eb-pricing-button"}),"left"===R&&React.createElement(l.EBDisplayIcon,{icon:k}),React.createElement("span",{className:"eb-button-text"},_),"right"===R&&React.createElement(l.EBDisplayIcon,{icon:k}))))))))))}},example:{attributes:{}},deprecated:se})},7723:e=>{e.exports=window.wp.i18n},8022:(e,t,a)=>{var n,o,r=a(7723),l=a(5694),c=a(4467),i=a(1609),s=a(8468),p=a(4715),b=a(9891),d=a.n(b),m=a(1259),u=a(6427),g="wrprBg",f="wrpMargin",y="wrpPadding",h="wrpBorderShadow",v="lottieWidth",w="lottieHeight",k=[{label:(0,r.__)(React.createElement(u.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,r.__)(React.createElement(u.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,r.__)(React.createElement(u.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],R=[{label:(0,r.__)("Autoplay","essential-blocks"),value:"none"},{label:(0,r.__)("Hover","essential-blocks"),value:"hover"},{label:(0,r.__)("Click","essential-blocks"),value:"click"},{label:(0,r.__)("Scroll","essential-blocks"),value:"scroll"},{label:(0,r.__)("Viewport","essential-blocks"),value:"viewport"}],_=[{label:(0,r.__)("Library","essential-blocks"),value:"library"},{label:(0,r.__)("URL","essential-blocks"),value:"url"}],C=[{label:(0,r.__)("File Title","essential-blocks"),value:"file-title"},{label:(0,r.__)("File Caption","essential-blocks"),value:"file-caption"},{label:(0,r.__)("Custom Caption","essential-blocks"),value:"custom-caption"}],E=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],x="title";function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},S.apply(null,arguments)}var B=function(e){return i.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),n||(n=i.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M15.17 9.258c-.577.416-1.22 1.204-1.935 2.735-1.303 2.787-2.387 4.265-3.429 5.022-1.025.745-1.948.74-2.65.735H7a.75.75 0 0 1 0-1.5h.133c.69.001 1.171.002 1.791-.448.72-.524 1.673-1.708 2.952-4.444.766-1.637 1.543-2.687 2.417-3.317.9-.648 1.816-.791 2.707-.791a.75.75 0 0 1 0 1.5c-.714 0-1.279.11-1.83.508",clipRule:"evenodd"})),o||(o=i.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M14 3.2h-4c-1.92 0-3.238.003-4.23.136-.955.128-1.424.358-1.75.684s-.556.795-.684 1.75C3.203 6.763 3.2 8.08 3.2 10v4c0 1.92.003 3.238.136 4.23.128.955.358 1.424.684 1.75s.795.556 1.75.684c.992.133 2.31.136 4.23.136h4c1.92 0 3.238-.003 4.23-.136.955-.128 1.424-.358 1.75-.684s.556-.795.684-1.75c.133-.992.136-2.31.136-4.23v-4c0-1.92-.003-3.238-.136-4.23-.128-.955-.358-1.424-.684-1.75s-.795-.556-1.75-.684C17.237 3.203 15.92 3.2 14 3.2M3.172 3.172C2 4.343 2 6.229 2 10v4c0 3.771 0 5.657 1.172 6.828S6.229 22 10 22h4c3.771 0 5.657 0 6.828-1.172S22 17.771 22 14v-4c0-3.771 0-5.657-1.172-6.828S17.771 2 14 2h-4C6.229 2 4.343 2 3.172 3.172",clipRule:"evenodd"})))};const T=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.loop),o=t.speed,c=t.alignment,i=t.playOn,s=t.lottieSource,b=(t.lottieURl,t.validationMessage),d=t.loopCount,m=t.enableTitle,S=t.lottieTitle,T=t.titleColor,N=t.titleBGColor,P=t.customLottieURL,O=t.captionType,I=t.lottieMediaCaption,D=t.lottieMediaTitle,A=t.lottieJSON,M=t.reverse,L=t.delay,F=t.startSegment,j=t.endSegment,H=t.scrollTopPoint,z=t.scrollBottomPoint;return React.createElement(l.InspectorPanel,{advancedControlProps:{marginPrefix:f,paddingPrefix:y,backgroundPrefix:g,borderPrefix:h,hasMargin:!0}},React.createElement(l.InspectorPanel.General,null,React.createElement(l.InspectorPanel.PanelBody,{title:(0,r.__)("Source File","essential-blocks"),initialOpen:!0},React.createElement(l.ButtonGroupControl,{label:(0,r.__)("File Source","essential-blocks"),attrName:"lottieSource",options:_,currentValue:s}),"library"===s&&React.createElement(p.MediaUpload,{type:"application/json",allowedTypes:["application/json","application/zip"],accept:["application/json",".lottie"],value:null==A?void 0:A.id,onSelect:function(e){e&&e.url?a({lottieSource:"library",lottieJSON:e,lottieURl:e.url,lottieMediaTitle:e.title,lottieMediaCaption:e.caption}):a({lottieJSON:null})},onError:function(e){a({validationMessage:e}),console.log("Error!",e)},render:function(e){var t=e.open;return React.createElement(u.Button,{className:"eb-upload-json",label:(0,r.__)("Lottie Animation","essential-blocks"),onClick:t},React.createElement(B,null),React.createElement("span",null,(0,r.__)("Change Lottie Animation","essential-blocks")))}}),"url"===s&&React.createElement(React.Fragment,null,React.createElement(l.EBTextControl,{label:(0,r.__)("Lottie Animation URL","essential-blocks"),fieldType:"url",value:P,onChange:function(e){""===e.trim()?a({customLottieURL:"",validationMessage:""}):function(e){a({customLottieURL:e}),/^https?:\/\/lottie\.host\/[\w-]+\/[\w-]+\.(json|lottie)$/.test(e)?a({lottieURl:e,validationMessage:""}):a({validationMessage:"Invalid Lottie"})}(e)},placeholder:"https://lottie.host/example/animation.json",help:(0,r.__)("Enter a valid Lottie animation URL with security filtering.","essential-blocks"),showValidation:!0,enableSecurity:!0}),(null==b?void 0:b.length)>0&&React.createElement("div",{className:"error-message",style:{color:"red"}},b)),React.createElement(u.__experimentalDivider,null),React.createElement(u.ToggleControl,{label:(0,r.__)("Show Caption","essential-blocks"),checked:m,onChange:function(){a({enableTitle:!m})}}),m&&React.createElement(React.Fragment,null,"library"===s&&React.createElement(React.Fragment,null,React.createElement(u.SelectControl,{label:(0,r.__)("Caption Types","essential-blocks"),value:O,options:C,onChange:function(e){return a({captionType:e})}}),("file-caption"===O&&""===I||"title-caption"===O&&""===D)&&React.createElement("div",{className:"error-message",style:{color:"red"}},(0,r.__)("Empty Caption","essential-blocks"))),"custom-caption"===O&&React.createElement(l.DynamicInputControl,{label:"Caption",attrName:"lottieTitle",inputValue:S,setAttributes:a,onChange:function(e){return a({lottieTitle:e})}})),React.createElement(l.ButtonGroupControl,{label:(0,r.__)("Alignment","essential-blocks"),attrName:"alignment",options:k,currentValue:c})),React.createElement(l.InspectorPanel.PanelBody,{title:(0,r.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(u.ToggleControl,{label:(0,r.__)("Reverse","essential-blocks"),checked:M,onChange:function(){a({reverse:!M})}}),"scroll"!==i&&React.createElement(u.RangeControl,{label:(0,r.__)("Animation Speed","essential-blocks"),value:o,onChange:function(e){return a({speed:e})},min:0,max:5,step:.5,allowReset:!0,resetFallbackValue:1}),React.createElement(u.RangeControl,{label:(0,r.__)("Animation Start Point","essential-blocks"),value:F,onChange:function(e){return a({startSegment:e})},min:0,max:100,step:1,allowReset:!0,resetFallbackValue:0}),React.createElement(u.RangeControl,{label:(0,r.__)("Animation End Point","essential-blocks"),value:j,onChange:function(e){return a({endSegment:e})},min:0,max:100,step:1,allowReset:!0,resetFallbackValue:100}),React.createElement(u.SelectControl,{label:(0,r.__)("Trigger","essential-blocks"),value:i,options:R,onChange:function(e){return a({playOn:e,loop:"scroll"!==e})},help:(0,r.__)("Animation trigger will only work in the live preview","essential-blocks")}),"scroll"===i&&React.createElement(React.Fragment,null,React.createElement(u.RangeControl,{label:(0,r.__)("Viewport Top Point","essential-blocks"),value:H,onChange:function(e){return a({scrollTopPoint:e})},min:0,max:100,step:1,allowReset:!0,resetFallbackValue:0}),React.createElement(u.RangeControl,{label:(0,r.__)("Viewport Bottom Point","essential-blocks"),value:z,onChange:function(e){return a({scrollBottomPoint:e})},min:0,max:100,step:1,allowReset:!0,resetFallbackValue:0})),"scroll"!==i&&React.createElement(React.Fragment,null,React.createElement(u.ToggleControl,{label:(0,r.__)("Loop","essential-blocks"),checked:n,onChange:function(){a({loop:!n})}}),n&&React.createElement(React.Fragment,null,React.createElement(u.RangeControl,{label:(0,r.__)("Number of Loop","essential-blocks"),value:d,onChange:function(e){return a({loopCount:e})},min:0,max:1e3,step:1,allowReset:!0,resetFallbackValue:0}),React.createElement(u.RangeControl,{label:(0,r.__)("Delay between loop (seconds)","essential-blocks"),value:L,onChange:function(e){return a({delay:e})},min:0,max:60,step:.1,allowReset:!0,resetFallbackValue:0,help:(0,r.__)("Delay will only work in the live preview","essential-blocks")}))))),React.createElement(l.InspectorPanel.Style,null,React.createElement(l.InspectorPanel.PanelBody,{title:(0,r.__)("Styles","essential-blocks"),initialOpen:!0},React.createElement(l.ResponsiveRangeController,{baseLabel:(0,r.__)("Width","essential-blocks"),controlName:v,units:E,min:0,max:1e3,step:1}),React.createElement(l.ResponsiveRangeController,{baseLabel:(0,r.__)("Height","essential-blocks"),controlName:w,units:E,min:0,max:1e3,step:1,allowAuto:!0}),m&&(null==S?void 0:S.length)>0&&React.createElement(React.Fragment,null,React.createElement(l.TypographyDropdown,{baseLabel:(0,r.__)("Typography","essential-blocks"),typographyPrefixConstant:x}),React.createElement(l.ColorControl,{label:(0,r.__)("Color","essential-blocks"),color:T,attributeName:"titleColor"}),React.createElement(l.ColorControl,{label:(0,r.__)("Background Color","essential-blocks"),color:N,attributeName:"titleBGColor",isGradient:!0})))))};function N(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),r=t.alignment,c=t.titleColor,i=t.titleBGColor,s=(0,l.generateTypographyStyles)({attributes:t,prefixConstant:x}),p=s.typoStylesDesktop,b=s.typoStylesTab,d=s.typoStylesMobile,m=(0,l.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),u=m.dimensionStylesDesktop,k=m.dimensionStylesTab,R=m.dimensionStylesMobile,_=(0,l.generateDimensionsControlStyles)({controlName:y,styleFor:"padding",attributes:t}),C=_.dimensionStylesDesktop,E=_.dimensionStylesTab,S=_.dimensionStylesMobile,B=(0,l.generateBackgroundControlStyles)({attributes:t,controlName:g}),T=B.backgroundStylesDesktop,N=B.hoverBackgroundStylesDesktop,P=B.backgroundStylesTab,O=B.hoverBackgroundStylesTab,I=B.backgroundStylesMobile,D=B.hoverBackgroundStylesMobile,A=B.overlayStylesDesktop,M=B.hoverOverlayStylesDesktop,L=B.overlayStylesTab,F=B.hoverOverlayStylesTab,j=B.overlayStylesMobile,H=B.hoverOverlayStylesMobile,z=B.bgTransitionStyle,U=B.ovlTransitionStyle,V=(0,l.generateBorderShadowStyles)({controlName:h,attributes:t}),G=V.styesDesktop,q=V.styesTab,W=V.styesMobile,Z=V.stylesHoverDesktop,J=V.stylesHoverTab,Y=V.stylesHoverMobile,Q=V.transitionStyle,X=(0,l.generateResponsiveRangeStyles)({controlName:v,customUnit:"px",property:"width",attributes:t}),$=X.rangeStylesDesktop,K=X.rangeStylesTab,ee=X.rangeStylesMobile,te=(0,l.generateResponsiveRangeStyles)({controlName:w,customUnit:"px",property:"height",attributes:t}),ae=te.rangeStylesDesktop,ne=te.rangeStylesTab,oe=te.rangeStylesMobile,re="\n\t\t.".concat(o,".eb-lottie-animation-wrapper {\n\t\t\t").concat(u,"\n\t\t\t").concat(C,"\n\t\t\t").concat(G,"\n\t\t\t").concat(T,"\n\t\t\ttransition:").concat(z,", ").concat(Q,";\n align-items: ").concat(r,";\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper:hover {\n\t\t\t").concat(N,"\n\t\t\t").concat(Z,"\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper:before{\n\t\t\t").concat(A,"\n\t\t\ttransition:").concat(U,";\n\t\t}\n\t\t.").concat(o,".eb-lottie-animation-wrapper:hover:before{\n\t\t\t").concat(M,"\n\t\t}\n\t\t.").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation{\n ").concat($||"width: 100%;","\n\t\t\t").concat(ae||"height: 100%;","\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation canvas {\n ").concat($||"width: 100%;","\n\t\t\t").concat(ae||"height: 100%;","\n\t\t}\n\t\t.").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation-title{\n\t\t\t").concat(p,"\n\t\t\tcolor: ").concat(c,";\n\t\t\tbackground: ").concat(i,";\n text-align: ").concat(r,";\n\t\t}\n\t"),le="\n\t\t.".concat(o,".eb-lottie-animation-wrapper {\n\t\t\t").concat(k,"\n\t\t\t").concat(E,"\n\t\t\t").concat(q,"\n\t\t\t").concat(P,"\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper:hover {\n\t\t\t").concat(J,"\n ").concat(O,"\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper:before{\n\t\t\t").concat(L,"\n\t\t}\n\t\t.").concat(o,".eb-lottie-animation-wrapper:hover:before{\n\t\t\t").concat(F,"\n\t\t}\n\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation {\n\t\t\t").concat(ne||"height: 100%;","\n ").concat(K||"width: 100%;","\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation canvas {\n ").concat(K||"width: 100%;","\n ").concat(ne||"height: 100%;","\n\t\t}\n\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation-title{\n\t\t\t").concat(b,"\n\t\t}\n\n\t"),ce="\n\t\t.".concat(o,".eb-icon-wrapper {\n\t\t\t").concat(R,"\n\t\t\t").concat(S,"\n\t\t\t").concat(W,"\n\t\t\t").concat(I,"\n\t\t}\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(D,"\n\t\t\t").concat(Y,"\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper:before{\n\t\t\t").concat(j,"\n\t\t}\n\t\t.").concat(o,".eb-lottie-animation-wrapper:hover:before{\n\t\t\t").concat(H,"\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation {\n ").concat(ee||"width: 100%;","\n\t\t\t").concat(oe||"height: 100%;","\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation canvas{\n ").concat(ee||"width: 100%;","\n\t\t\t").concat(oe||"height: 100%;","\n\t\t}\n .").concat(o,".eb-lottie-animation-wrapper .eb-lottie-animation-title{\n\t\t\t").concat(d,"\n\t\t}\n\n\t"),ie=(0,l.softMinifyCssStrings)("\n\t\t".concat(re,"\n\t")),se=(0,l.softMinifyCssStrings)("\n\t\t".concat(le,"\n\t")),pe=(0,l.softMinifyCssStrings)("\n\t\t".concat(ce,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(l.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ie,tabAllStyles:se,mobileAllStyles:pe,blockName:n}))}function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function O(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const I=O(O(O(O(O(O(O({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},lottieJSON:{type:"object"},lottieSource:{type:"string",default:"library"},lottieURl:{type:"string",default:""},customLottieURL:{type:"string",default:""},validationMessage:{type:"string"},loop:{type:"boolean",default:!0},loopCount:{type:"number",default:0},delay:{type:"number",default:0},speed:{type:"number",default:1},startSegment:{type:"number",default:0},endSegment:{type:"number",default:100},scrollBottomPoint:{type:"number",default:0},scrollTopPoint:{type:"number",default:0},alignment:{type:"string",default:"center"},playOn:{type:"string",default:"none"},reverse:{type:"boolean",default:!1},enableTitle:{type:"boolean",default:!1},captionType:{type:"string",default:"file-caption"},lottieMediaCaption:{type:"string"},lottieMediaTitle:{type:"string"},lottieTitle:{type:"string"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},titleBGColor:{type:"string"},version:{type:"string"}},(0,l.generateTypographyAttributes)(x)),(0,l.generateDimensionsAttributes)(f)),(0,l.generateDimensionsAttributes)(y)),(0,l.generateBorderShadowAttributes)(h,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,l.generateBackgroundAttributes)(g)),(0,l.generateResponsiveRangeAttributes)(v,{defaultRange:600,defaultRangeTAB:600,defaultRangeMOB:300})),(0,l.generateResponsiveRangeAttributes)(w,{defaultRange:600,defaultRangeTAB:600,defaultRangeMOB:300,defaultIsAuto:!1}));function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=(0,s.memo)((0,l.withBlockContext)(I)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,c=t.classHook,i=t.resOption,p=t.lottieSource,b=t.lottieURl,u=t.validationMessage,g=t.speed,f=t.loop,y=t.loopCount,h=(t.playOn,t.enableTitle),v=t.lottieTitle,w=t.customLottieURL,k=t.lottieMediaTitle,R=t.lottieMediaCaption,_=t.captionType,C=t.reverse,E=t.delay,x=t.startSegment,S=t.endSegment,P=t.lottieJSON,O=t.version,I=A(A({},e),{},{blockPrefix:"eb-lottie-animation",style:React.createElement(N,e)}),D=(0,s.useRef)(null);return(0,s.useEffect)(function(){""!==u&&a({validationMessage:""}),O||a({version:"v2"})},[]),(0,s.useEffect)(function(){var e=D.current||document.querySelector(".".concat(o," .eb-lottie-animation"));if(e&&b){var t=b.toLowerCase().endsWith(".lottie"),a=null,n=null,r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%",r.style.opacity="0";var l=function(){for(e.innerHTML="";r.firstChild;)e.appendChild(r.firstChild);r.parentNode&&r.parentNode.removeChild(r)};if(t){if(n=document.createElement("canvas"),r.appendChild(n),(a=new m.j({speed:g||1,mode:C?"reverse":"forward",autoplay:!0,loop:!(f&&y>0)&&f,canvas:n,src:b})).addEventListener("load",function(){var e=a.totalFrames-1,t=Math.floor(x/100*e),n=Math.floor(S/100*e);a.setSegment(t,n),l()}),f&&y>0){var c=0;a.addEventListener("complete",function(){(c+=1)<y?setTimeout(function(){a.play()},1e3*E):a.stop()})}f&&E>0&&0===y&&a.addEventListener("complete",function(){setTimeout(function(){a.play()},1e3*E)}),e.appendChild(r)}else e.appendChild(r),(a=d().loadAnimation({container:r,renderer:"svg",loop:!1,autoplay:!1,path:b,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})).addEventListener("DOMLoaded",function(){var e=a.totalFrames-1,t=Math.floor(x/100*e),n=Math.floor(S/100*e);a.setSpeed(g||1),a.setDirection(C?-1:1),C?a.goToAndStop(n,!0):a.goToAndStop(t,!0),a._ebSegmentStart=t,a._ebSegmentEnd=n,a._ebIsCustomSegment=0!==t||n!==e,a._ebIsCustomSegment?C?a.playSegments([n,t],!0):a.playSegments([t,n],!0):a.play(),l()}),a.addEventListener("complete",function(){f&&(y>0?(a._ebLoopCount||(a._ebLoopCount=0),a._ebLoopCount+=1,a._ebLoopCount<y&&setTimeout(function(){C?a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentEnd,!0),a.playSegments([a._ebSegmentEnd,a._ebSegmentStart],!0)):(a.goToAndStop(a.totalFrames-1,!0),a.play()):a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentStart,!0),a.playSegments([a._ebSegmentStart,a._ebSegmentEnd],!0)):(a.goToAndStop(0,!0),a.play())},1e3*E)):E>0?setTimeout(function(){C?a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentEnd,!0),a.playSegments([a._ebSegmentEnd,a._ebSegmentStart],!0)):(a.goToAndStop(a.totalFrames-1,!0),a.play()):a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentStart,!0),a.playSegments([a._ebSegmentStart,a._ebSegmentEnd],!0)):(a.goToAndStop(0,!0),a.play())},1e3*E):C?a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentEnd,!0),a.playSegments([a._ebSegmentEnd,a._ebSegmentStart],!0)):(a.goToAndStop(a.totalFrames-1,!0),a.play()):a._ebIsCustomSegment?(a.goToAndStop(a._ebSegmentStart,!0),a.playSegments([a._ebSegmentStart,a._ebSegmentEnd],!0)):(a.goToAndStop(0,!0),a.play()))});return function(){a&&(t&&"function"==typeof a.destroy?a.destroy():t||"function"!=typeof a.destroy||a.destroy()),r.parentNode&&r.parentNode.removeChild(r)}}},[b,f,g,y,C,o,E,x,S,i]),(0,s.useEffect)(function(){a("url"===p?{lottieURl:w||b,captionType:"custom-caption"}:{lottieURl:null!=P&&P.url?null==P?void 0:P.url:b})},[p]),React.createElement(React.Fragment,null,n&&b&&React.createElement(T,{attributes:t,setAttributes:a}),React.createElement(l.BlockProps.Edit,I,!b&&React.createElement(l.EBMediaPlaceholder,{icon:B,labels:{title:(0,r.__)("Lottie Animation","essential-blocks"),instructions:(0,r.__)("Drag media file, upload or select JSON/Lottie file from your library.","essential-blocks")},allowedTypes:["application/json","application/zip"],accept:["application/json",".lottie"],onSelect:function(e){e&&e.url?a({lottieSource:"library",lottieJSON:e,lottieURl:e.url,lottieMediaTitle:e.title,lottieMediaCaption:e.caption}):a({lottieJSON:null})},onSelectURL:function(e){var t;/^https?:\/\/lottie\.host\/[\w-]+\/[\w-]+\.(json|lottie)$/.test(t=e)?a({lottieURl:t,lottieSource:"url",customLottieURL:t,validationMessage:""}):a({validationMessage:"Invalid Lottie"})},onError:function(e){a({validationMessage:e}),console.log("Error!",e)},enableAI:!1}),b&&React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(c)},React.createElement("div",{className:"eb-lottie-animation-wrapper ".concat(o," ").concat(O),"data-id":o},React.createElement("div",{ref:D,className:"eb-lottie-animation"}),h&&React.createElement(React.Fragment,null,("file-caption"===_&&""!==R||"file-title"===_&&""!==k)&&React.createElement("p",{className:"eb-lottie-animation-title"},"file-caption"===_?R:k),"custom-caption"===_&&React.createElement(l.DynamicInputValueHandler,{value:v,tagName:"p",className:"eb-lottie-animation-title",placeholder:"Add Caption Text Here ...",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(e){return a({lottieTitle:e})}})))),!b&&(null==u?void 0:u.length)>0&&React.createElement("div",{className:"error-message",style:{color:"red"}},u)))})),L=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Lottie Animation","name":"essential-blocks/lottie-animation","category":"essential-blocks","description":"Lottie animation block allows you to add Lottie flies to your site. Control animation appearances, speeds, loop and so on.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const j=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},I),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=(t.lottieSource,t.lottieURl),r=(t.lottieJSON,t.speed),c=t.loop,i=t.playOn,s=t.loopCount,b=t.lottieTitle,d=t.enableTitle,m=t.lottieMediaTitle,u=t.lottieMediaCaption,g=t.captionType,f=t.reverse,y=t.delay,h=t.startSegment,v=t.endSegment,w=t.scrollBottomPoint,k=t.scrollTopPoint;if(o){var R={lottieURl:o,speed:r,loop:c,playOn:i,loopCount:s,reverse:f,delay:y,startSegment:h,endSegment:v,scrollBottomPoint:w,scrollTopPoint:k};return React.createElement(l.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"eb-lottie-animation-wrapper ".concat(n),"data-id":n,"data-settings":JSON.stringify(R)},React.createElement("canvas",{className:"eb-lottie-animation"}),d&&React.createElement(React.Fragment,null,("file-caption"===g&&""!==u||"file-title"===g&&""!==m)&&React.createElement("p",{className:"eb-lottie-animation-title"},"file-caption"===g?u:m),"custom-caption"===g&&(null==b?void 0:b.length)>0&&React.createElement(p.RichText.Content,{tagName:"p",className:"eb-lottie-animation-title",value:b})))))}}}];(0,l.ebConditionalRegisterBlockType)(L,{keywords:[(0,r.__)("lottie animation","essential-blocks"),(0,r.__)("lottie","essential-blocks"),(0,r.__)("animation","essential-blocks"),(0,r.__)("eb lottie animation","essential-blocks")],icon:B,attributes:I,edit:M,save:function(e){var t=e.attributes,a=t.classHook,n=t.blockId,o=(t.lottieSource,t.lottieURl),r=(t.lottieJSON,t.speed),c=t.loop,i=t.playOn,s=t.loopCount,b=t.lottieTitle,d=t.enableTitle,m=t.lottieMediaTitle,u=t.lottieMediaCaption,g=t.captionType,f=t.reverse,y=t.delay,h=t.startSegment,v=t.endSegment,w=t.scrollBottomPoint,k=t.scrollTopPoint,R=t.version;if(!o)return null;var _={lottieURl:o,speed:r,loop:c,playOn:i,loopCount:s,reverse:f,delay:y,startSegment:h,endSegment:v,scrollBottomPoint:w,scrollTopPoint:k};return React.createElement(l.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(n," ").concat(a)},React.createElement("div",{className:"eb-lottie-animation-wrapper ".concat(n," ").concat(R),"data-id":n,"data-settings":JSON.stringify(_)},React.createElement("div",{className:"eb-lottie-animation"}),d&&React.createElement(React.Fragment,null,("file-caption"===g&&""!==u||"file-title"===g&&""!==m)&&React.createElement("p",{className:"eb-lottie-animation-title"},"file-caption"===g?u:m),"custom-caption"===g&&(null==b?void 0:b.length)>0&&React.createElement(p.RichText.Content,{tagName:"p",className:"eb-lottie-animation-title",value:b})))))},example:{attributes:{}},deprecated:j})},8107:e=>{e.exports=window.wp.dom},8112:(e,t,a)=>{var n=a(7723),o=a(1609),r=a(4715),l=a(5694);var c=a(4467),i=a(8468),s=a(6427),p=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Info","essential-blocks"),value:"info"},{label:(0,n.__)("Success","essential-blocks"),value:"success"},{label:(0,n.__)("Warning","essential-blocks"),value:"warning"},{label:(0,n.__)("Danger","essential-blocks"),value:"danger"}],b=((0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignleft"})),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-aligncenter"})),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignright"})),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignleft"})),(0,n.__)(React.createElement(s.Dashicon,{icon:"editor-alignright"})),(0,n.__)("Auto","essential-blocks"),(0,n.__)("Full","essential-blocks"),(0,n.__)("Fixed","essential-blocks"),(0,n.__)("Select Hover Effect","essential-blocks"),(0,n.__)("Grow","essential-blocks"),(0,n.__)("Shrink","essential-blocks"),(0,n.__)("Pulse","essential-blocks"),(0,n.__)("Pulse Grow","essential-blocks"),(0,n.__)("Pulse Shrink","essential-blocks"),(0,n.__)("Push","essential-blocks"),(0,n.__)("Pop","essential-blocks"),(0,n.__)("Bounce In","essential-blocks"),(0,n.__)("Bounce Out","essential-blocks"),(0,n.__)("Rotate","essential-blocks"),(0,n.__)("Grow Rotate","essential-blocks"),(0,n.__)("Float","essential-blocks"),(0,n.__)("Sink","essential-blocks"),(0,n.__)("Bob","essential-blocks"),(0,n.__)("Hang","essential-blocks"),(0,n.__)("Skew","essential-blocks"),(0,n.__)("Skew Forward","essential-blocks"),(0,n.__)("Skew Backward","essential-blocks"),(0,n.__)("Wobble Horizontal","essential-blocks"),(0,n.__)("Wobble Vertical","essential-blocks"),(0,n.__)("Wobble To Bottom Right","essential-blocks"),(0,n.__)("Wobble To Top Right","essential-blocks"),(0,n.__)("Wobble Top","essential-blocks"),(0,n.__)("Wobble Bottom","essential-blocks"),(0,n.__)("Wobble Skew","essential-blocks"),(0,n.__)("Buzz","essential-blocks"),(0,n.__)("Buzz Out","essential-blocks"),(0,n.__)("Forward","essential-blocks"),(0,n.__)("Fade","essential-blocks"),(0,n.__)("Back Pulse","essential-blocks"),(0,n.__)("Sweep To Right","essential-blocks"),(0,n.__)("Sweep To Left","essential-blocks"),(0,n.__)("Sweep To Bottom","essential-blocks"),(0,n.__)("Sweep To Top","essential-blocks"),(0,n.__)("Bounce To Right","essential-blocks"),(0,n.__)("Bounce To Left","essential-blocks"),(0,n.__)("Bounce To Bottom","essential-blocks"),(0,n.__)("Bounce To Top","essential-blocks"),(0,n.__)("Radial Out","essential-blocks"),(0,n.__)("Radial In","essential-blocks"),(0,n.__)("Rectangle In","essential-blocks"),(0,n.__)("Rectangle Out","essential-blocks"),(0,n.__)("Shutter In Horizontal","essential-blocks"),(0,n.__)("Shutter Out Horizontal","essential-blocks"),(0,n.__)("Shutter In Vertical","essential-blocks"),(0,n.__)("Shutter Out Vertical","essential-blocks"),(0,n.__)("Icon Back","essential-blocks"),(0,n.__)("Icon Forward","essential-blocks"),(0,n.__)("Icon Down","essential-blocks"),(0,n.__)("Icon Up","essential-blocks"),(0,n.__)("Icon Spin","essential-blocks"),(0,n.__)("Icon Drop","essential-blocks"),(0,n.__)("Icon Fade","essential-blocks"),(0,n.__)("Icon Float Away","essential-blocks"),(0,n.__)("Icon Sink Away","essential-blocks"),(0,n.__)("Icon Grow","essential-blocks"),(0,n.__)("Icon Shrink","essential-blocks"),(0,n.__)("Icon Pulse","essential-blocks"),(0,n.__)("Icon Pulse Grow","essential-blocks"),(0,n.__)("Icon Pulse Shrink","essential-blocks"),(0,n.__)("Icon Push","essential-blocks"),(0,n.__)("Icon Pop","essential-blocks"),(0,n.__)("Icon Bounce","essential-blocks"),(0,n.__)("Icon Rotate","essential-blocks"),(0,n.__)("Icon Grow Rotate","essential-blocks"),(0,n.__)("Icon Float","essential-blocks"),(0,n.__)("Icon Sink","essential-blocks"),(0,n.__)("Icon Bob","essential-blocks"),(0,n.__)("Icon Hang","essential-blocks"),(0,n.__)("Icon Wobble Horizontal","essential-blocks"),(0,n.__)("Icon Wobble Vertical","essential-blocks"),(0,n.__)("Icon Buzz","essential-blocks"),(0,n.__)("Icon Buzz Out","essential-blocks"),(0,n.__)("Curl Top Left","essential-blocks"),(0,n.__)("Curl Top Right","essential-blocks"),(0,n.__)("Curl Bottom Right","essential-blocks"),(0,n.__)("Curl Bottom Left","essential-blocks"),"wrpMargin");const d=function(e){var t=e.attributes,a=e.setAttributes,o=t.type;return React.createElement(l.InspectorPanel,{advancedControlProps:{marginPrefix:b,hasMargin:!0,hasPadding:!1,hasBackground:!1,hasBorder:!1}},React.createElement(l.InspectorPanel.General,null,React.createElement(l.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(s.SelectControl,{label:(0,n.__)("Type","essential-blocks"),value:o,options:p,onChange:function(e){return function(e){switch(a({type:e}),e){case"default":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(121, 103, 255,1)",hov_btnBackbackgroundColor:"rgba(81, 63, 212,1)"});break;case"info":a({textColor:"#000000",hoverTextColor:"#000000",btnBackbackgroundColor:"rgba(13, 202, 240,1)",hov_btnBackbackgroundColor:"rgba(13, 180, 214,1)"});break;case"success":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(25, 135, 84,1)",hov_btnBackbackgroundColor:"rgba(20, 108, 67,1)"});break;case"warning":a({textColor:"#000000",hoverTextColor:"#000000",btnBackbackgroundColor:"rgba(255, 193, 7,1)",hov_btnBackbackgroundColor:"rgba(224, 170, 10,1)"});break;case"danger":a({textColor:"#ffffff",hoverTextColor:"#ffffff",btnBackbackgroundColor:"rgba(220, 53, 69,1)",hov_btnBackbackgroundColor:"rgba(176, 42, 55,1)"});break;default:return!1}}(e)}})),React.createElement(l.EBButton.GeneralTab,null)),React.createElement(l.InspectorPanel.Style,null,React.createElement(l.EBButton.StyleTab,null)))};function m(e){var t=e.setAttributes,a=e.name,n=(0,l.useBlockAttributes)(),o=n.blockId,r=(0,l.generateDimensionsControlStyles)({controlName:b,styleFor:"margin",attributes:n}),c=r.dimensionStylesDesktop,i=r.dimensionStylesTab,s=r.dimensionStylesMobile,p="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat(c,"\n\t\t}\n\t"),d="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat(i,"\n\t\t}\n\t"),m="\n\t\t.eb-button-wrapper.".concat(o," {\n\t\t\t").concat(s,"\n\t\t}\n\t"),u=l.EBButton.Style(o,"eb-button-wrapper",{},"","","text","btnBack","btnBrdShw","btnPadding"),g=u.btnDesktopStyle,f=u.btnTabStyle,y=u.btnMobileStyle,h=(0,l.softMinifyCssStrings)("\n\t\t\t".concat(p,"\n ").concat(g,"\n\t\t")),v=(0,l.softMinifyCssStrings)("\n\t\t\t".concat(d,"\n ").concat(f,"\n\t\t")),w=(0,l.softMinifyCssStrings)("\n\t\t\t".concat(m,"\n ").concat(y,"\n\t\t"));return React.createElement(React.Fragment,null,React.createElement(l.StyleComponent,{attributes:n,setAttributes:t,desktopAllStyles:h,tabAllStyles:v,mobileAllStyles:w,blockName:a}))}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const f=g(g({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},type:{type:"string",default:"default"}},null===l.EBButton||void 0===l.EBButton?void 0:l.EBButton.addAttributes()),(0,l.generateDimensionsAttributes)(b,{top:28,right:0,bottom:28,left:0,isLinked:!1}));function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const v=(0,i.memo)((0,l.withBlockContext)(f)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,c=t.buttonAlign,i=t.classHook,s=t.type,p=h(h({},e),{},{blockPrefix:"eb-button",style:React.createElement(m,e)});return React.createElement(React.Fragment,null,n&&React.createElement(d,e),React.createElement(r.BlockControls,null,React.createElement(r.BlockAlignmentToolbar,{value:c,onChange:function(e){return function(e){switch(e){case"left":a({buttonAlign:"flex-start"});break;case"center":a({buttonAlign:"center"});break;case"right":a({buttonAlign:"flex-end"})}}(e)},controls:["left","center","right"]})),React.createElement(l.BlockProps.Edit,p,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(i)},React.createElement("div",{className:"eb-button-wrapper eb-button-editor ".concat(o)},React.createElement("div",{className:"eb-button eb-button-".concat(s)},React.createElement(l.EBButton,{isSelected:n,urlInput:!0}))))))}));var w=a(8168);function k(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function R(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?k(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):k(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var _=lodash.omit;const C=[{attributes:R({},f),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,c=t.addIcon,i=t.icon,s=t.buttonURL,p=t.newWindow,b=t.addNofollow,d=t.hoverEffect,m=t.classHook;return React.createElement("div",r.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",(0,w.A)({className:"eb-button-anchor".concat(d?" ".concat(d):""),href:s||""},p&&{target:"_blank"},{rel:b?"nofollow noopener":"noopener"}),c&&"left"===o?React.createElement(l.EBDisplayIcon,{icon:i,className:"eb-button-icon eb-button-icon-left hvr-icon"}):"",React.createElement(r.RichText.Content,{value:n}),c&&"right"===o?React.createElement(l.EBDisplayIcon,{icon:i,className:"eb-button-icon eb-button-icon-right hvr-icon"}):"")))))}},{attributes:R({},f),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,c=t.addIcon,i=t.icon,s=t.buttonURL,p=t.newWindow,b=t.addNofollow,d=t.hoverEffect,m=t.classHook;return React.createElement("div",r.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(m)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",(0,w.A)({className:"eb-button-anchor".concat(d?" ".concat(d):""),href:s?(0,l.sanitizeURL)(s):""},p&&{target:"_blank"},{rel:b?"nofollow noopener":"noopener"}),c&&"left"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(r.RichText.Content,{value:n}),c&&"right"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-right hvr-icon")}):"")))))}},{attributes:R({},f),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,c=t.addIcon,i=t.icon,s=t.buttonURL,p=t.newWindow,b=t.hoverEffect,d=t.type;return React.createElement("div",r.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button eb-button-".concat(d)},React.createElement("a",(0,w.A)({className:"eb-button-anchor".concat(b?" ".concat(b):""),href:s?(0,l.sanitizeURL)(s):""},p&&{target:"_blank"},{rel:"noopener"}),c&&"left"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(r.RichText.Content,{value:n}),c&&"right"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}},{attributes:_(R(R({},f),{},{type:{type:"string",default:"default"}}),["hoverTransition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,c=t.addIcon,i=t.icon,s=t.buttonURL,p=t.newWindow,b=t.hoverEffect;return React.createElement("div",r.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",(0,w.A)({className:"eb-button-anchor".concat(b?" ".concat(b):""),href:s?(0,l.sanitizeURL)(s):""},p&&{target:"_blank"},{rel:"noopener"}),c&&"left"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(r.RichText.Content,{value:n}),c&&"right"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}},{attributes:_(R(R({},f),{},{buttonSize:{type:"string",default:"medium"}}),["hoverTransition"]),save:function(e){var t=e.attributes,a=t.blockId,n=t.buttonText,o=t.iconPosition,c=t.addIcon,i=t.icon,s=t.buttonSize,p=t.buttonURL,b=t.newWindow,d=t.hoverEffect;return React.createElement("div",r.useBlockProps.save(),React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement("a",(0,w.A)({className:"eb-button-anchor is-".concat(s).concat(d?" ".concat(d):""),href:p?(0,l.sanitizeURL)(p):""},b&&{target:"_blank"},{rel:"noopener"}),c&&"left"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-left hvr-icon")}):"",React.createElement(r.RichText.Content,{value:n}),c&&"right"===o?React.createElement("i",{className:"".concat(i," eb-button-icon eb-button-icon-right hvr-icon")}):""))))}}],E=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Button","name":"essential-blocks/button","category":"essential-blocks","description":"Create a stunning button through the button block. You can make it look outstanding by adding exclusive button styles & effects and add links to redirect your visitors to a specific page.","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');var x,S;function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},B.apply(null,arguments)}(0,l.ebConditionalRegisterBlockType)(E,{icon:function(e){return o.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 68 33"},e),x||(x=o.createElement("path",{fill:"#6C3BFF",d:"M6.1 3.579c-1.557 0-2.45 1.04-2.45 1.907v22.628c0 .867.893 1.907 2.45 1.907h55.8c1.514 0 2.478-1.013 2.55-1.95V5.486c0-.867-.893-1.907-2.45-1.907zM.95 5.486C.95 2.752 3.457.879 6.1.879H62c2.643 0 5.15 1.873 5.15 4.607v22.666l-.002.037c-.148 2.654-2.58 4.532-5.248 4.532H6.1c-2.643 0-5.15-1.873-5.15-4.607z"})),S||(S=o.createElement("path",{fill:"#6C3BFF",d:"M13.85 16.8c0-.746.604-1.35 1.35-1.35h35.1a1.35 1.35 0 1 1 0 2.7H15.2a1.35 1.35 0 0 1-1.35-1.35"})))},attributes:f,keywords:[(0,n.__)("button","essential-blocks"),(0,n.__)("eb essential","essential-blocks"),(0,n.__)("link","essential-blocks")],edit:v,save:function(e){var t=e.attributes,a=t.blockId,n=(t.buttonText,t.iconPosition,t.addIcon,t.icon,t.buttonURL,t.newWindow,t.addNofollow,t.hoverEffect,t.classHook);return React.createElement(l.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-button-wrapper eb-button-alignment ".concat(a)},React.createElement("div",{className:"eb-button"},React.createElement(l.EBButton.Content,{attributes:t})))))},example:{attributes:{buttonText:"Submit"}},deprecated:C})},8142:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(3453),l=a(1609),c=a(8468),i=a(4715),s=a(6427),p=[{label:(0,n.__)("Most Recent","essential-blocks"),value:"most_recent"},{label:(0,n.__)("Least Recent","essential-blocks"),value:"least_recent"}],b=[{label:(0,n.__)("Overlay","essential-blocks"),value:"overlay"},{label:(0,n.__)("Card","essential-blocks"),value:"card"}],d=[{label:(0,n.__)("Simple","essential-blocks"),value:"overlay__simple"},{label:(0,n.__)("Basic","essential-blocks"),value:"overlay__basic"},{label:(0,n.__)("Standard","essential-blocks"),value:"overlay__standard"}],m=[{label:(0,n.__)("Content Outter","essential-blocks"),value:"content_outter"},{label:(0,n.__)("Content Inner","essential-blocks"),value:"content__inner"}],u="imgNum",g="gridGap",f="imgBrdShd",y="wrpMargin",h="wrpPadding",v="captionText",w="metaText",k="headerText",R=a(5694);function _(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.token,t.captionColor),l=t.metaColor,c=t.headerColor,i=t.overlayColor,s=(0,R.generateResponsiveRangeStyles)({controlName:u,property:"",attributes:t,customUnit:""}),p=s.rangeStylesDesktop,b=s.rangeStylesTab,d=s.rangeStylesMobile,m=(0,R.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),_=m.dimensionStylesDesktop,C=m.dimensionStylesTab,E=m.dimensionStylesMobile,x=(0,R.generateBorderShadowStyles)({controlName:f,attributes:t}),S=x.styesDesktop,B=x.styesTab,T=x.styesMobile,N=x.stylesHoverDesktop,P=x.stylesHoverTab,O=x.stylesHoverMobile,I=x.transitionStyle,D=(0,R.generateTypographyStyles)({attributes:t,prefixConstant:v}),A=D.typoStylesDesktop,M=D.typoStylesTab,L=D.typoStylesMobile,F=(0,R.generateTypographyStyles)({attributes:t,prefixConstant:w}),j=F.typoStylesDesktop,H=F.typoStylesTab,z=F.typoStylesMobile,U=(0,R.generateTypographyStyles)({attributes:t,prefixConstant:k}),V=U.typoStylesDesktop,G=U.typoStylesTab,q=U.typoStylesMobile,W=(0,R.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),Z=W.dimensionStylesDesktop,J=W.dimensionStylesTab,Y=W.dimensionStylesMobile,Q=(0,R.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(Z,"\n\t\t\t").concat(X,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(_,"\n\t\t\twidth: calc((100% / ").concat(p.replace(/[^0-9]/g,""),") - 20px );\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(S,"\n\t\t\toverflow: hidden;\n\t\t\ttransition: ").concat(I,";\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(N,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(A,"\n\t\t\t").concat(r?"color: ".concat(r,";"):"","\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(j,"\n\t\t}\n\n\t\t").concat(l?".eb-instagram-wrapper.".concat(o," .eb-instagram-meta span {\n\t\t\tcolor: ").concat(l,";\n\t\t}"):"","\n\n\t\t").concat(i?".eb-instagram-wrapper.".concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__simple .instagram__gallery__thumb::before,\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__basic .instagram__gallery__thumb::before,\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item.instagram__gallery__item--overlay__standard .instagram__gallery__thumb::before {\n\t\t\tbackground: ").concat(i,"\n\t\t}"):"","\n\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a {\n\t\t\t").concat(V,"\n\t\t\t").concat(c?"color: ".concat(c,";"):"","\n\t\t}\n\n\n\t\t.eb-instagram-wrapper.").concat(o," .hide {\n\t\t\tdisplay: none;\n\t\t}\n\t"),te="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(J,"\n\t\t\t").concat($,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(C,"\n\t\t\t").concat(""==b?"width: calc((100% / 2) - 20px)":"width: calc((100% / ".concat(b.replace(/[^0-9]/g,""),") - 20px);"),"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(B,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(P,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(M,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(H,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a {\n\t\t\t").concat(G,"\n\t\t}\n\t"),ae="\n\t\t.eb-instagram-wrapper.".concat(o," {\n\t\t\t").concat(Y,"\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__col {\n\t\t\t").concat(E,"\n\t\t\t").concat(""==d?"width: calc((100% / 1) - 20px);":"width: calc((100% / ".concat(d.replace(/[^0-9]/g,""),") - 20px);"),"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .instagram__gallery__item {\n\t\t\t").concat(T,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o,":hover .instagram__gallery__item {\n\t\t\t").concat(O,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-caption p {\n\t\t\t").concat(L,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .eb-instagram-meta .eb-instagram-date {\n\t\t\t").concat(z,"\n\t\t}\n\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name,\n\t\t.eb-instagram-wrapper.").concat(o," .author__info .author__name a {\n\t\t\t").concat(q,"\n\t\t}\n\t"),ne=(0,R.softMinifyCssStrings)("\n\t\t".concat(ee,"\n\t")),oe=(0,R.softMinifyCssStrings)("\n\t\t".concat(te,"\n\t")),re=(0,R.softMinifyCssStrings)("\n\t\t".concat(ae,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(R.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ne,tabAllStyles:oe,mobileAllStyles:re,blockName:n}))}const C=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.layout),r=t.overlayStyle,l=t.cardStyle,c=t.numberOfImages,_=t.captionColor,C=t.metaColor,E=t.headerColor,x=t.overlayColor,S=t.hasEqualImages,B=t.showCaptions,T=t.enableLink,N=t.openInNewTab,P=t.showProfileImg,O=t.profileImg,I=t.imageID,D=t.showProfileName,A=t.profileName,M=t.sortBy,L=t.showMeta;return React.createElement(R.InspectorPanel,{advancedControlProps:{marginPrefix:y,paddingPrefix:h,hasMargin:!0,hasPadding:!0,hasBackground:!1,hasBorder:!1}},React.createElement(R.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("Feed Settings","essential-blocks"),intialOpen:!0},React.createElement(React.Fragment,null,React.createElement(s.SelectControl,{label:(0,n.__)("Sort By","essential-blocks"),value:M,options:p,onChange:function(e){return a({sortBy:e})}}),React.createElement(s.RangeControl,{label:(0,n.__)("Number Of Images","essential-blocks"),value:c,onChange:function(e){a({numberOfImages:e})},min:1,max:100}),React.createElement(R.ResponsiveRangeController,{baseLabel:(0,n.__)("Columns","essential-blocks"),controlName:u,min:1,max:8,step:1,noUnits:!0}),React.createElement(s.ToggleControl,{label:(0,n.__)("Square thumbnail","essential-blocks"),checked:S,onChange:function(e){return a({hasEqualImages:e})}}))),React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("General Settings","essential-blocks"),initialOpen:!1},React.createElement(s.SelectControl,{label:(0,n.__)("Layout","essential-blocks"),value:o,options:b,onChange:function(e){return a({layout:e})}}),"overlay"===o&&React.createElement(s.SelectControl,{label:(0,n.__)("Overlay Style","essential-blocks"),value:r,options:d,onChange:function(e){return a({overlayStyle:e})}}),"card"===o&&React.createElement(s.SelectControl,{label:(0,n.__)("Card Style","essential-blocks"),value:l,options:m,onChange:function(e){return a({cardStyle:e})}}),"card"===o&&React.createElement(React.Fragment,null,React.createElement(s.__experimentalDivider,null),React.createElement(s.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("User info","essential-blocks"))),React.createElement(s.ToggleControl,{label:(0,n.__)("Show profile image","essential-blocks"),checked:P,onChange:function(e){return a({showProfileImg:e})}}),P&&!O&&React.createElement(i.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url;return a({profileImg:n,imageID:t})},type:"image",value:I,render:function(e){var t=e.open;return React.createElement(s.Button,{className:"eb-background-control-inspector-panel-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}),P&&O&&React.createElement(R.ImageAvatar,{imageUrl:O,onDeleteImage:function(){return a({profileImg:null})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Show profile name","essential-blocks"),checked:D,onChange:function(e){return a({showProfileName:e})}}),D&&React.createElement(s.TextControl,{label:(0,n.__)("Custom Name","essential-blocks"),value:A,onChange:function(e){return a({profileName:e})}})),"overlay__simple"!==r&&React.createElement(s.ToggleControl,{label:(0,n.__)("Show captions","essential-blocks"),checked:B,onChange:function(e){return a({showCaptions:e})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Link?","essential-blocks"),checked:T,onChange:function(e){return a({enableLink:e})}}),T&&React.createElement(s.ToggleControl,{label:(0,n.__)("Open in new window?","essential-blocks"),checked:N,onChange:function(e){return a({openInNewTab:e})}}),"overlay__simple"!==r&&React.createElement(s.ToggleControl,{label:(0,n.__)("Show Meta?","instagram-block"),checked:L,onChange:function(e){return a({showMeta:e})}})))),React.createElement(R.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("Feed Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(R.ResponsiveDimensionsControl,{className:"",controlName:g,baseLabel:(0,n.__)("Padding","essential-blocks")}),"overlay"===o&&React.createElement(R.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:x,attributeName:"overlayColor"}),React.createElement(s.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(R.BorderShadowControl,{controlName:f,noShadow:!0}))),React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("Caption","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(R.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:v}),React.createElement(R.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:_,attributeName:"captionColor"}))),React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("Meta","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(R.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(R.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:C,attributeName:"metaColor"}))),"card"===o&&React.createElement(R.InspectorPanel.PanelBody,{title:(0,n.__)("Header","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(R.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(R.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:E,attributeName:"headerColor"}))))))};function E(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?E(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):E(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const S=x(x(x(x(x(x(x(x({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},cover:{type:"string",default:""},token:{type:"string"},layout:{type:"string",default:"overlay"},overlayStyle:{type:"string",default:"overlay__simple"},cardStyle:{type:"string",default:"content__outter"},columns:{type:"string",default:4},numberOfImages:{type:"number",default:6},thumbs:{type:"array",default:[]},preview:{type:"boolean",default:!1},captionColor:{type:"string",default:"var(--eb-global-text-color)"},metaColor:{type:"string",default:"var(--eb-global-tertiary-color)"},headerColor:{type:"string",default:"var(--eb-global-heading-color)"},overlayColor:{type:"string"},hasEqualImages:{type:"boolean",default:!0},showCaptions:{type:"boolean",default:!0},enableLink:{type:"boolean",default:!1},openInNewTab:{type:"boolean",default:!1},showProfileImg:{type:"boolean",default:!0},profileImg:{type:"string"},imageID:{type:"string",default:null},showProfileName:{type:"boolean",default:!0},profileName:{type:"string"},sortBy:{type:"string",default:"most_recent"},showMeta:{type:"boolean",default:!0}},(0,R.generateTypographyAttributes)(v,{fontSize:14})),(0,R.generateTypographyAttributes)(w,{fontSize:14})),(0,R.generateTypographyAttributes)(k,{fontSize:14})),(0,R.generateResponsiveRangeAttributes)(u,{defaultRange:3,noUnits:!0})),(0,R.generateDimensionsAttributes)(g)),(0,R.generateDimensionsAttributes)(h)),(0,R.generateDimensionsAttributes)(y,{top:28,bottom:28,isLinked:!1})),(0,R.generateBorderShadowAttributes)(f,{noShadow:!0}));function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function T(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?T(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const P=(0,c.memo)((0,R.withBlockContext)(S)(function(e){var t,a=e.attributes,o=e.setAttributes,l=(e.className,e.isSelected),p=a.blockId,b=(a.blockMeta,a.resOption),d=a.token,m=a.layout,u=a.overlayStyle,g=a.cardStyle,f=a.thumbs,y=a.numberOfImages,h=a.hasEqualImages,v=a.showCaptions,w=a.showProfileImg,k=a.profileImg,E=a.imageID,x=a.showProfileName,S=a.profileName,T=a.sortBy,P=a.preview,O=a.showMeta,I=a.classHook,D=a.cover,A=(0,c.useState)(!0),M=(0,r.A)(A,2),L=M[0],F=M[1],j=(0,c.useState)(void 0),H=(0,r.A)(j,2),z=H[0],U=H[1],V=(0,c.useState)(""),G=(0,r.A)(V,2),q=G[0],W=G[1],Z=N(N({},e),{},{blockPrefix:"eb-instagram-feed",style:React.createElement(_,e)});if(P)return React.createElement("img",{style:{width:"100%"},src:"".concat(null===(t=EssentialBlocksLocalize)||void 0===t?void 0:t.image_url,"/block-preview/instagram-preview.jpeg")});var J=(0,c.useState)(null!=d?d:""),Y=(0,r.A)(J,2),Q=Y[0],X=Y[1],$="";(0,c.useEffect)(function(){if(L&&0==Q.length&&($=React.createElement("p",null,React.createElement(s.Spinner,null),(0,n.__)("Loading feed","essential-blocks"))),d&&d.length>0){X(d);var e=new FormData;e.append("action","save_eb_admin_options"),e.append("type","settings"),e.append("key","instagramToken"),e.append("value",d),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).catch(function(e){return console.log(e)}),o({token:""})}else!function(){var e=new FormData;e.append("action","get_instagram_access_token"),e.append("admin_nonce",EssentialBlocksLocalize.admin_nonce),fetch(EssentialBlocksLocalize.ajax_url,{method:"POST",body:e}).then(function(e){return e.text()}).then(function(e){var t=JSON.parse(e);t.success&&t.data?X(t.data):(X(""),F(!1))}).catch(function(e){return console.log(e)})}()},[]),(0,c.useEffect)(function(){f.length>0&&Q.length>0&&K()},[f]);var K=function(){var e=document.querySelectorAll(".".concat(p," .eb-instagram__gallery"));setTimeout(function(){var t,a=function(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return B(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?B(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,c=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){c=!0,r=e},f:function(){try{l||null==a.return||a.return()}finally{if(c)throw r}}}}(e);try{var n=function(){var e=t.value;imagesLoaded(e,function(){new Isotope(e,{itemSelector:".instagram__gallery__col",percentPosition:!0,masonry:{columnWidth:".instagram__gallery__col"}})})};for(a.s();!(t=a.n()).done;)n()}catch(e){a.e(e)}finally{a.f()}F(!1)},1e3)};(0,c.useEffect)(function(){Q.length>0&&ee()},[Q]),(0,c.useEffect)(function(){f.length>0&&Q.length>0&&(F(!0),K())},[m,u,g,T,y,h,v,O,a.imgNumRange,a.TABimgNumRange,a.MOBimgNumRange,b]);var ee=function(){return!!Q&&fetch("https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username&limit=500&access_token=".concat(Q)).then(function(e){return e.json()}).then(function(e){e.error&&(W(e.error.message),U(e.error.code)),e.data&&(U(200),e.data.length>0?o({thumbs:e.data}):(o({thumbs:[]}),U(500))),F(!1)})};switch(T){case"most_recent":f.sort(function(e,t){var a=new Date(e.timestamp);return new Date(t.timestamp)-a});break;case"least_recent":f.sort(function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)})}var te=h?" has__equal__height":"",ae="card"===m?g:u;return 0!=Q.length||L?Q.length>0&&200===z?$=L&&0===f.length?React.createElement("p",null,React.createElement(s.Spinner,null),(0,n.__)("Loading feed","essential-blocks")):React.createElement(React.Fragment,null,f&&f.slice(0,y).map(function(e,t){return React.createElement("div",{className:"instagram__gallery__col",key:t},React.createElement("div",{className:"instagram__gallery__item instagram__gallery__item--".concat(ae).concat(te)},"card"===m&&React.createElement(React.Fragment,null,(x||w)&&React.createElement("div",{className:"author__info"},w&&k&&React.createElement("div",{className:"author__thumb"},React.createElement("img",{src:k,alt:e.username})),x&&React.createElement("h5",{className:"author__name"},S||e.username))),React.createElement("div",{className:"instagram__gallery__thumb"},React.createElement("div",{className:"thumb__wrap"},React.createElement("img",{src:"VIDEO"===e.media_type?e.thumbnail_url:e.media_url,alt:e.caption?e.caption:""})),v&&e.caption&&React.createElement("div",{className:"eb-instagram-caption"},React.createElement("p",null,e.caption))),O&&React.createElement("div",{className:"eb-instagram-meta"},React.createElement("span",{className:"dashicons dashicons-clock"}),React.createElement("span",{className:"eb-instagram-date"},(a=e.timestamp,o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][(n=new Date(a)).getMonth()],String(n.getDate()).padStart(2,"0")+" "+o+" "+n.getFullYear())))));var a,n,o})):null!=z&&200===z||($=React.createElement("div",null,React.createElement("i",null,React.createElement("strong",null,q)))):$=React.createElement("div",null,React.createElement("p",null,"To get started please add an Instagram Access Token"," ",React.createElement(s.ExternalLink,{href:"".concat(EssentialBlocksLocalize.eb_admin_url,"admin.php?page=essential-blocks&tab=options")},(0,n.__)("here.","essential-blocks")))),D.length?React.createElement("div",null,React.createElement("img",{src:D,alt:"instagram feed",style:{maxWidth:"100%"}})):React.createElement(React.Fragment,null,l&&React.createElement(C,{key:"inspector",attributes:a,setAttributes:o}),"card"===m&&w&&React.createElement(i.BlockControls,null,React.createElement(React.Fragment,null,React.createElement(s.ToolbarGroup,null,React.createElement(i.MediaUpload,{onSelect:function(e){return o({profileImg:e.url,imageID:e.id})},allowedTypes:["image"],value:E,render:function(e){var t=e.open;return React.createElement(s.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Edit Profile Image","essential-blocks"),icon:"edit",onClick:t})}})))),React.createElement(R.BlockProps.Edit,Z,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(p," ").concat(I)},React.createElement("div",{className:"eb-instagram-wrapper ".concat(p)},React.createElement("div",{className:"eb-instagram__gallery".concat(L?" hide":"")},$),L?React.createElement(React.Fragment,null,React.createElement("p",null,React.createElement(s.Spinner,null),(0,n.__)("Loading feed","essential-blocks"))):""))))})),O=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Instagram Feed","name":"essential-blocks/instagram-feed","category":"essential-blocks","description":"Showcase instagram posts for your web visitors.","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var I,D,A,M;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},L.apply(null,arguments)}(0,R.ebConditionalRegisterBlockType)(O,{icon:function(e){return l.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 50"},e),I||(I=l.createElement("path",{fill:"#6C3BFF",d:"M56 .143H4.364C2 .143.09 2.029.09 4.086v41.743c0 2.314 2.09 4.028 4.273 4.028h51.454c2.364 0 4.182-1.886 4.182-3.943V4.086c.182-2.229-1.818-3.943-4-3.943zm1.636 45.686c0 1.028-.909 1.714-1.818 1.714H4.364c-1.091 0-1.819-.857-1.819-1.714V4.086c0-1.029.91-1.715 1.819-1.715h51.454c1.091 0 1.818.858 1.818 1.715z"})),D||(D=l.createElement("path",{fill:"#6C3BFF",d:"M35.455 26.029h-11c-.546 0-1.091.342-1.091 1.028v10.714q.272 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V27.057c0-.514-.181-1.028-1.09-1.028m-.91 11.057h-9v-8.829h9zM18.636 26.029H8.546c-.546 0-1.091.342-1.091 1.028v10.714q0 1.029 1.09 1.029h10.091c.546 0 1.091-.343 1.091-1.029V27.057c.182-.514-.181-1.028-1.09-1.028zm-.909 11.057h-8.09v-8.829h8.09zm33.818-11.057h-11c-.545 0-1.09.342-1.09 1.028v10.714c0 .686.545 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V27.057c.182-.514-.181-1.028-1.09-1.028zm-.909 11.057h-9v-8.829h9zm.909-26.572h-11c-.545 0-1.09.343-1.09 1.029v10.714c0 .514.545 1.029 1.09 1.029h11c.546 0 1.091-.343 1.091-1.029V11.543c.182-.514-.181-1.029-1.09-1.029zm-.909 10.8h-9v-8.743h9zm-32-10.8H8.546c-.546 0-1.091.343-1.091 1.029v10.714c0 .514.363 1.029 1.09 1.029h10.091c.546 0 1.091-.343 1.091-1.029V11.543c.182-.514-.181-1.029-1.09-1.029zm-.909 10.8h-8.09v-8.743h8.09zM33.09 10.343h-5.817c-2.182 0-4 1.714-4 3.771V19.6c0 2.057 1.818 3.771 4 3.771h5.818c2.182 0 3.636-1.714 3.636-3.771v-5.486c-.182-2.057-1.454-3.771-3.636-3.771zM25 14.114c0-1.028.91-1.885 2-1.885h5.818c1.091 0 2 .857 2 1.885V19.6c0 1.029-.909 1.886-2 1.886H27c-1.09 0-2-.857-2-1.886z"})),A||(A=l.createElement("path",{fill:"#6C3BFF",d:"M29.636 19.857c1.455 0 2.728-1.2 2.728-2.571s-1.273-2.572-2.728-2.572q-.954 0-1.636.515c-1.455 1.028-1.273 3.171.182 4.114.454.343.909.514 1.454.514m0-3.943c.728 0 1.455.686 1.455 1.372 0 .685-.727 1.371-1.455 1.371-.727 0-1.454-.686-1.454-1.371 0-.686.727-1.372 1.454-1.372m2.909-1.2c.452 0 .819-.345.819-.771s-.367-.772-.819-.772-.818.346-.818.772.367.771.818.771"})))},attributes:S,keywords:[(0,n.__)("Instagram Feed","essential-blocks"),(0,n.__)("eb Instagram Feed","essential-blocks")],edit:P,save:function(){return null},example:{attributes:{cover:"".concat(null===(M=EssentialBlocksLocalize)||void 0===M?void 0:M.image_url,"/block-preview/instagram-feed.jpeg")}}})},8190:(e,t,a)=>{var n=a(7723),o=(a(4997),a(4467)),r=a(1609),l=a(4715),c=a(8468),i=a(6427),s="textAlign",p=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Success","essential-blocks"),value:"success"},{label:(0,n.__)("Info","essential-blocks"),value:"info"},{label:(0,n.__)("Warning","essential-blocks"),value:"warning"},{label:(0,n.__)("Danger","essential-blocks"),value:"danger"}],b=((0,n.__)("None","essential-blocks"),(0,n.__)("Lowercase","essential-blocks"),(0,n.__)("Capitalize","essential-blocks"),(0,n.__)("Uppercase","essential-blocks"),(0,n.__)("Lighter","essential-blocks"),(0,n.__)("Normal","essential-blocks"),(0,n.__)("Bold","essential-blocks"),(0,n.__)("Bolder","essential-blocks"),(0,n.__)("Initial","essential-blocks"),(0,n.__)("Overline","essential-blocks"),(0,n.__)("Line Through","essential-blocks"),(0,n.__)("Underline","essential-blocks"),(0,n.__)("Underline Oveline","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"},{label:(0,n.__)("Center","essential-blocks"),value:"center"}]),d=a(5694),m="margin",u="padding",g="title",f="text",y="wrp_",h="wrp_";const v=function(e){var t=e.attributes,a=e.setAttributes,r=t.resOption,l=t.dismissible,c=t.noticeType,v=t.titleColor,w=t.textColor,k=t.showAfterDismiss;return React.createElement(React.Fragment,null,React.createElement(d.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:y,borderPrefix:h}},React.createElement(d.InspectorPanel.General,null,React.createElement(d.InspectorPanel.PanelBody,{title:(0,n.__)("Notice Settings","essential-blocks"),initialOpen:!0},React.createElement(i.ToggleControl,{label:(0,n.__)("Dismissible","essential-blocks"),checked:l,onChange:function(){return a({dismissible:!l})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show After Dismiss","essential-blocks"),checked:k,onChange:function(){return a({showAfterDismiss:!k})}}),React.createElement(i.SelectControl,{label:(0,n.__)("Type","essential-blocks"),value:c,options:p,onChange:function(e){return function(e){switch(e){case"success":a((0,o.A)((0,o.A)((0,o.A)({noticeType:e},"".concat(y,"backgroundColor"),"#4caf50"),"titleColor","#ffffff"),"textColor","#ffffff"));break;case"info":a((0,o.A)((0,o.A)((0,o.A)({noticeType:e},"".concat(y,"backgroundColor"),"#d3d3d3"),"titleColor","#000000"),"textColor","#000000"));break;case"danger":a((0,o.A)((0,o.A)((0,o.A)({noticeType:e},"".concat(y,"backgroundColor"),"#f44336"),"titleColor","#ffffff"),"textColor","#ffffff"));break;case"warning":a((0,o.A)((0,o.A)((0,o.A)({noticeType:e},"".concat(y,"backgroundColor"),"#ffeb3b"),"titleColor","#000000"),"textColor","#000000"));break;case"default":a((0,o.A)((0,o.A)((0,o.A)({noticeType:e},"".concat(y,"backgroundColor"),"#2196f3"),"titleColor","#ffffff"),"textColor","#ffffff"))}}(e)}}))),React.createElement(d.InspectorPanel.Style,null,React.createElement(d.InspectorPanel.PanelBody,{title:(0,n.__)("Notice","essential-blocks")},React.createElement(d.ResponsiveAlignControl,{baseLabel:(0,n.__)("Text Align","essential-blocks"),controlName:s,options:b,resOption:r})),React.createElement(d.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks")},React.createElement(d.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:g}),React.createElement(d.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:v,attributeName:"titleColor"})),React.createElement(d.InspectorPanel.PanelBody,{title:(0,n.__)("text","essential-blocks")},React.createElement(d.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:f}),React.createElement(d.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:w,attributeName:"textColor"})))))};function w(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.dismissible),l=(t.title,t.text,t.titleColor),c=t.textColor,i=(t.classHook,(0,d.generateTypographyStyles)({attributes:t,prefixConstant:g})),p=i.typoStylesDesktop,b=i.typoStylesTab,v=i.typoStylesMobile,w=(0,d.generateTypographyStyles)({attributes:t,prefixConstant:f}),k=w.typoStylesDesktop,R=w.typoStylesTab,_=w.typoStylesMobile,C=(0,d.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),E=C.dimensionStylesDesktop,x=C.dimensionStylesTab,S=C.dimensionStylesMobile,B=(0,d.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),T=B.dimensionStylesDesktop,N=B.dimensionStylesTab,P=B.dimensionStylesMobile,O=(0,d.generateResponsiveAlignStyles)({controlName:s,property:"text-align",attributes:t}),I=O.alignStylesDesktop,D=O.alignStylesTab,A=O.alignStylesMobile,M=(0,d.generateBackgroundControlStyles)({attributes:t,controlName:y}),L=M.backgroundStylesDesktop,F=M.hoverBackgroundStylesDesktop,j=M.backgroundStylesTab,H=M.hoverBackgroundStylesTab,z=M.backgroundStylesMobile,U=M.hoverBackgroundStylesMobile,V=M.overlayStylesDesktop,G=M.hoverOverlayStylesDesktop,q=M.overlayStylesTab,W=M.hoverOverlayStylesTab,Z=M.overlayStylesMobile,J=M.hoverOverlayStylesMobile,Y=M.bgTransitionStyle,Q=M.ovlTransitionStyle,X=(0,d.generateBorderShadowStyles)({controlName:h,attributes:t}),$=X.styesDesktop,K=X.styesTab,ee=X.styesMobile,te=X.stylesHoverDesktop,ae=X.stylesHoverTab,ne=X.stylesHoverMobile,oe=X.transitionStyle,re="\n\n\t.eb-notice-wrapper.".concat(o," > * {\n\t\tposition: relative;\n\t}\n\n\t.eb-notice-wrapper.").concat(o,"{\n\t\t").concat(E,"\n\t\t").concat(T,"\n\t\t").concat(L,"\n\t\t").concat($,"\n\t\ttransition:").concat(Y,", ").concat(oe,";\n\t\toverflow: hidden;\n\t\tposition: relative;\n\t\t").concat(I,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(F,"\n\t\t").concat(te,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(V,"\n\t\ttransition:").concat(Q,";\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(G,"\n\t}\n\n\t"),le="\n\t.eb-notice-wrapper.".concat(o,"{\n\t\t").concat(x,"\n\t\t").concat(N,"\n\t\t").concat(j,"\n\t\t").concat(K,"\n\t\t").concat(D,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(H,"\n\t\t").concat(ae,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(q,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(W,"\n\t}\n\n\t"),ce="\n\t.eb-notice-wrapper.".concat(o,"{\n\t\t").concat(S,"\n\t\t").concat(P,"\n\t\t").concat(z,"\n\t\t").concat(ee,"\n\t\t").concat(A,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover{\n\t\t").concat(U,"\n\t\t").concat(ne,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":before{\n\t\t").concat(Z,"\n\t}\n\n\t.eb-notice-wrapper.").concat(o,":hover:before{\n\t\t").concat(J,"\n\t}\n\t"),ie="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title-wrapper{\n\t\t// display: flex;\n\t\tjustify-content: space-between;\n\t}\n\t"),se="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(p,"\n\t\tcolor: ").concat(l||"#fff",";\n\t}\n\t"),pe="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(b,"\n\t}\n\t"),be="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-title{\n\t\t").concat(v,"\n\t}\n\t"),de="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(k,"\n\t\tcolor: ").concat(c||"#edf1f7",";\n\t}\n\t"),me="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(R,"\n\t}\n\t"),ue="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-text{\n\t\t").concat(_,"\n\t}\n\t"),ge="\n\t.eb-notice-wrapper.".concat(o," .eb-notice-dismiss{\n\t\tcolor: ").concat(c||"#edf1f7",";\n\t\tdisplay: ").concat(r?"flex":"none",";\n\n\t\ttop: 0px;\n\t\tright: 0px;\n\t\twidth: 24px;\n\t\theight: 24px;\n\t\tposition: absolute;\n\t\tjustify-content: center;\n\t}\n\n\t.eb-notice-wrapper.").concat(o,' .eb-notice-dismiss:after{\n\t\tcontent: "\\00d7";\n\t}\n\n\t.entry-content\n\t> *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce) {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t'),fe=(0,d.softMinifyCssStrings)("\n\t\t".concat(re,"\n\t\t").concat(ie,"\n\t\t").concat(ge,"\n\t\t").concat(se,"\n\t\t").concat(de,"\n\t")),ye=(0,d.softMinifyCssStrings)("\n\t\t".concat(le,"\n\t\t").concat(pe,"\n\t\t").concat(me,"\n\t")),he=(0,d.softMinifyCssStrings)("\n\t\t".concat(ce,"\n\t\t").concat(be,"\n\t\t").concat(ue,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(d.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:fe,tabAllStyles:ye,mobileAllStyles:he,blockName:n}))}function k(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function R(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?k(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):k(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const _=R(R(R(R(R(R(R({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},dismissible:{type:"boolean",default:!1},noticeType:{type:"string",default:"default"},titleFontSize:{type:"number"},textFontSize:{type:"number"},title:{type:"string",source:"text",selector:".eb-notice-title",default:"Save 20%"},text:{type:"string",source:"text",selector:".eb-notice-text",default:"Free shipping on all orders"},backgroundColor:{type:"string"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},textColor:{type:"string",default:"var(--eb-global-text-color)"},noticeId:{type:"string"},showAfterDismiss:{type:"boolean",default:!1}},(0,d.generateTypographyAttributes)(g,{fontSize:32})),(0,d.generateTypographyAttributes)(f,{fontSize:18})),(0,d.generateDimensionsAttributes)(m)),(0,d.generateDimensionsAttributes)(u,{top:65,bottom:65,right:60,left:60,isLinked:!1})),(0,d.generateBorderShadowAttributes)(h,{})),(0,d.generateBackgroundAttributes)(y,{defaultFillColor:"var(--eb-global-background-color)",defaultBgGradient:"var(--eb-gradient-background-color)"})),(0,d.generateResponsiveAlignAttributes)(s,{defaultAlign:"left",defaultTabAlign:"left",defaultMobileAlign:"left"}));function C(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function E(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?C(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):C(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const x=(0,c.memo)((0,d.withBlockContext)(_)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,r=(t.blockMeta,t.resOption,t.title),c=t.text,i=t.classHook,s=E(E({},e),{},{blockPrefix:"eb-notice",style:React.createElement(w,e)});return React.createElement(React.Fragment,null,n&&React.createElement(v,e),React.createElement(d.BlockProps.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(i)},React.createElement("div",{className:"eb-notice-wrapper ".concat(o),"data-id":o},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(l.RichText,{className:"eb-notice-title",value:r,onChange:function(e){return a({title:e})},placeholder:"Add Title..."})),React.createElement("span",{className:"eb-notice-dismiss"}),React.createElement("div",null,React.createElement(l.RichText,{className:"eb-notice-text",value:c,onChange:function(e){return a({text:e})},placeholder:"Add Text..."}))))))})),S=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Notice","name":"essential-blocks/notice","category":"essential-blocks","description":"Put spotlight on news, announcements & let the visitors find it easily","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=[{attributes:T({},_),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text,c=t.classHook;return React.createElement("div",l.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r})))))}},{attributes:T({},_),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text;return React.createElement("div",l.useBlockProps.save(),React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r}))))}}];var P;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},O.apply(null,arguments)}(0,d.ebConditionalRegisterBlockType)(S,{icon:function(e){return r.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),P||(P=r.createElement("path",{fill:"#6C3BFF",d:"M28.286 0c-2.829 0-5.143 2.314-5.143 5.143v1.714H9.429c-1.372 0-2.572 1.2-2.572 2.572v48C6.857 58.8 8.057 60 9.43 60h37.714c1.371 0 2.571-1.2 2.571-2.571v-48c0-1.372-1.2-2.572-2.571-2.572H33.429V5.143C33.429 2.314 31.114 0 28.286 0m0 1.714a3.44 3.44 0 0 1 3.428 3.429v6c0 .514-.342.857-.857.857h-5.143c-.514 0-.857-.343-.857-.857v-6a3.44 3.44 0 0 1 3.429-3.429m0 2.572c-.515 0-.857.343-.857.857s.343.857.857.857.857-.343.857-.857-.343-.857-.857-.857M9.429 8.57h13.714v1.715h-.857a3.44 3.44 0 0 0-3.429 3.428v.857h.172c.428 1.458 1.714 2.572 3.257 2.572h12c1.543 0 2.828-1.114 3.257-2.572h.171v-.857a3.44 3.44 0 0 0-3.428-3.428h-.857V8.57h13.714c.514 0 .857.343.857.858v48c0 .514-.343.857-.857.857H9.429c-.515 0-.858-.343-.858-.857v-48c0-.515.343-.858.858-.858M12.857 12c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857S13.371 12 12.857 12m9.429 0h1.028a2.5 2.5 0 0 0 2.4 1.714h5.143a2.5 2.5 0 0 0 2.4-1.714h1.029A1.72 1.72 0 0 1 36 13.714a1.72 1.72 0 0 1-1.714 1.715h-12a1.72 1.72 0 0 1-1.715-1.715A1.72 1.72 0 0 1 22.287 12m-9.429 3.429c-.514 0-.857.342-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857 0-.515-.343-.857-.857-.857m0 3.428c-.514 0-.857.343-.857.857 0 .515.343.857.857.857.515 0 .857-.342.857-.857s-.343-.857-.857-.857m0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857s-.343-.857-.857-.857m0 3.428c-.514 0-.857.343-.857.857 0 .515.343.858.857.858.515 0 .857-.343.857-.858s-.343-.857-.857-.857m13.715 0 .6 14.829h2.314L30 25.714zm-13.715 3.429c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857s-.343-.857-.857-.857m0 3.428c-.514 0-.857.343-.857.858s.343.857.857.857c.515 0 .857-.343.857-.857 0-.515-.343-.858-.857-.858m0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857S13.371 36 12.857 36m0 3.429c-.514 0-.857.342-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857 0-.515-.343-.857-.857-.857m0 3.428c-.514 0-.857.343-.857.857 0 .515.343.857.857.857.515 0 .857-.342.857-.857s-.343-.857-.857-.857m15.429.172a1.72 1.72 0 0 0-1.715 1.714 1.72 1.72 0 0 0 1.715 1.714A1.72 1.72 0 0 0 30 44.743a1.72 1.72 0 0 0-1.714-1.714m-15.429 3.257c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857s-.343-.857-.857-.857m0 3.428c-.514 0-.857.343-.857.857 0 .515.343.858.857.858.515 0 .857-.343.857-.858s-.343-.857-.857-.857m0 3.429c-.514 0-.857.343-.857.857s.343.857.857.857c.515 0 .857-.343.857-.857s-.343-.857-.857-.857"})))},attributes:_,keywords:[(0,n.__)("EB notice","essential-blocks"),(0,n.__)("notice","essential-blocks"),(0,n.__)("alert ","essential-blocks")],edit:x,save:function(e){var t=e.attributes,a=t.blockId,n=t.showAfterDismiss,o=t.title,r=t.text,c=t.classHook;return React.createElement(d.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(c)},React.createElement("div",{className:"eb-notice-wrapper ".concat(a),"data-id":a,"data-show-again":n},React.createElement("div",{className:"eb-notice-title-wrapper"},React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-title",value:o})),React.createElement("span",{className:"eb-notice-dismiss",style:{cursor:"pointer"}}),React.createElement("div",null,React.createElement(l.RichText.Content,{tagName:"div",className:"eb-notice-text",value:r})))))},example:{attributes:{noticeType:"default"}},deprecated:N})},8417:(e,t,a)=>{var n=a(7723),o=(a(4997),a(8168)),r=a(4467),l=a(1609),c=a(8468),i=a(4715),s=a(6427),p=a(7143),b="wrprBg",d="wrpMargin",m="wrpPadding",u="wrpBorderShadow",g="titleMargin",f="subtitleMargin",y="buttonMargin",h="buttonPadding",v="buttonBorderShadow",w="buttonMargin",k="buttonPadding",R="buttonBorderShadow",_="slideToShow",C="sliderHeight",E="dotsGap",x="arrowPosition",S="dotsPosition",B="arrowSize",T="dotsSize",N="slidesGap",P=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],O=[{label:(0,n.__)("Top","essential-blocks"),value:"flex-start"},{label:(0,n.__)("Middle","essential-blocks"),value:"center"},{label:(0,n.__)("Bottom","essential-blocks"),value:"flex-end"}],I=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Justify","essential-blocks"),value:"justify"}],D=[{label:(0,n.__)("Image Only","essential-blocks"),value:"image"},{label:(0,n.__)("Image with Content","essential-blocks"),value:"content"}],A=[{label:(0,n.__)("Content Overlay","essential-blocks"),value:"content-1"},{label:(0,n.__)("Content Bottom","essential-blocks"),value:"content-2"},{label:(0,n.__)("Content Right","essential-blocks"),value:"content-3"},{label:(0,n.__)("Content Left","essential-blocks"),value:"content-4"}],M=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"vh",value:"vh"}],L=[{label:"px",value:"px"},{label:"em",value:"em"},{label:"vh",value:"vh"}],F=[{label:"px",value:"px"},{label:"em",value:"em"}],j=((0,n.__)("Style 1","essential-blocks"),(0,n.__)("Modern 1","essential-blocks"),(0,n.__)("Modern 2","essential-blocks"),(0,n.__)("Modern 3","essential-blocks"),[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"},{label:"Span",value:"span"}]),H="titleTypo",z="subtitleTypo",U="buttonTypo",V="button2Typo",G=a(9394);function q(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function W(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?q(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):q(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var Z=["html","head","title","base","link","meta","style","body","header","nav","section","article","aside","footer","address","main","p","hr","pre","blockquote","ol","ul","li","dl","dt","dd","figure","figcaption","div","a","em","strong","small","s","cite","q","dfn","abbr","ruby","rb","rt","rtc","rp","data","time","code","var","samp","kbd","sub","sup","i","b","u","mark","bdi","bdo","span","br","wbr","img","map","area","audio","video","track","embed","object","param","source","iframe","picture","canvas","noscript","script","del","ins","table","caption","colgroup","col","tbody","thead","tfoot","tr","td","th","form","fieldset","legend","label","input","button","select","datalist","optgroup","option","textarea","output","progress","meter","details","summary","dialog","menu","menuitem","slot","template","script","noscript","template","article","aside","bdi","bdo","data","figcaption","figure","main","mark","nav","output","progress","section","summary","time","template"],J=function(e){var t=(new DOMParser).parseFromString(e,"text/html"),a=t.body.getElementsByTagName("*");return Array.from(a).forEach(function(e){Z.includes(e.tagName.toLowerCase())||e.replaceWith(document.createTextNode(e.textContent))}),t.body.innerHTML},Y=function(e,t,a,n,o){o({images:n.map(function(n){return n.id==a?W(W({},n),{},(0,r.A)({},e,t)):n})})},Q=a(5694);const X=function(e){var t=e.attributes,a=e.setAttributes,o=e.slider,r=(t.resOption,t.sliderType),l=t.sliderContentType,c=t.images,i=t.arrows,p=t.adaptiveHeight,q=t.autoplay,Z=t.autoplaySpeed,J=t.dots,X=t.fade,$=t.infinite,K=t.vertical,ee=t.pauseOnHover,te=t.isCustomHeight,ae=t.speed,ne=t.titleColor,oe=t.subtitleColor,re=t.buttonColorType,le=t.buttonColor,ce=t.buttonHoverColor,ie=t.buttonBGColor,se=t.buttonHoverBGColor,pe=t.secondButtonColorType,be=t.secondButtonColor,de=t.secondButtonHoverColor,me=t.secondButtonBGColor,ue=t.secondButtonHoverBGColor,ge=t.overlayColor,fe=t.arrowColorType,ye=t.arrowColor,he=t.arrowHoverColor,ve=t.dotsColor,we=t.dotsActiveColor,ke=t.textAlign,Re=t.verticalAlign,_e=t.arrowPrevIcon,Ce=t.arrowNextIcon,Ee=t.titleTag,xe=t.contentTag,Se=t.showLightbox,Be=t.version;return React.createElement(React.Fragment,null,React.createElement(Q.InspectorPanel,{advancedControlProps:{marginPrefix:d,paddingPrefix:m,borderPrefix:u,backgroundPrefix:b}},React.createElement(Q.InspectorPanel.General,null,React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement(s.SelectControl,{label:(0,n.__)("Slider Type","essential-blocks"),value:r,options:D,onChange:function(e){return a({sliderType:e})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Arrows","essential-blocks"),checked:i,onChange:function(){a({arrows:!i})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Adaptive Height","essential-blocks"),checked:p,onChange:function(){a({adaptiveHeight:!p})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Autoplay","essential-blocks"),checked:q,onChange:function(){q?o.current.slickPlay():o.current.slickPause(),a({autoplay:!q})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Dots","essential-blocks"),checked:J,onChange:function(){return a({dots:!J})}}),!K&&React.createElement(s.ToggleControl,{label:(0,n.__)("Fade","essential-blocks"),checked:X,onChange:function(){return a({fade:!X})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Infinite","essential-blocks"),checked:$,onChange:function(){return a({infinite:!$})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Vertical Slide","essential-blocks"),checked:K,onChange:function(){return a({vertical:!K})}}),K&&React.createElement(s.PanelRow,null,React.createElement("em",null,(0,n.__)("Fade will disable if enable Vertical Slide","essential-blocks"))),React.createElement(s.ToggleControl,{label:(0,n.__)("Pause on Hover","essential-blocks"),checked:ee,onChange:function(){return a({pauseOnHover:!ee})}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Custom Height","essential-blocks"),checked:te,onChange:function(){return a({isCustomHeight:!te})}}),te&&React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Height","essential-blocks"),controlName:C,units:L,min:1,max:1200,step:1}),!X&&React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Slides to Show","essential-blocks"),controlName:_,units:[],min:1,max:8,step:1}),q&&React.createElement(s.RangeControl,{label:(0,n.__)("Autoplay Speed","essential-blocks"),value:Z,onChange:function(e){return a({autoplaySpeed:e})},min:0,max:8e3}),React.createElement(s.RangeControl,{label:(0,n.__)("Animation Speed","essential-blocks"),value:ae,onChange:function(e){return a({speed:e})},min:0,max:3e3}),i&&React.createElement(React.Fragment,null,React.createElement(Q.EBIconPicker,{value:_e,onChange:function(e){return a({arrowPrevIcon:(0,Q.sanitizeIconValue)(e)})},title:(0,n.__)("Arrow Prev Icon","essential-blocks"),icons:{fontAwesome:Q.faArrowIcons},disableDashicon:!0}),React.createElement(Q.EBIconPicker,{value:Ce,onChange:function(e){return a({arrowNextIcon:(0,Q.sanitizeIconValue)(e)})},title:(0,n.__)("Arrow Next Icon","essential-blocks"),icons:{fontAwesome:Q.faArrowIcons},disableDashicon:!0})),"v2"===Be&&React.createElement(React.Fragment,null,React.createElement(s.__experimentalDivider,null),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Lightbox","essential-blocks"),checked:Se,onChange:function(){a({showLightbox:!Se})}}))),React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Slides","essential-blocks"),initialOpen:!0},"content"===r&&React.createElement(React.Fragment,null,React.createElement(s.SelectControl,{label:(0,n.__)("Content Styles","essential-blocks"),value:l,options:A,onChange:function(e){return a({sliderContentType:e})}}),React.createElement(s.SelectControl,{label:(0,n.__)("Title Tag","essential-blocks"),value:Ee,options:j,onChange:function(e){a({titleTag:e})}}),React.createElement(s.SelectControl,{label:(0,n.__)("Content Tag","essential-blocks"),value:xe,options:j,onChange:function(e){a({contentTag:e})}}),React.createElement(s.__experimentalDivider,null)),React.createElement(Q.SortControl,{items:t.images,onSortEnd:function(e){return a({images:e})},onDeleteItem:function(e){a({images:c.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:c.map(function(e,t){return React.createElement("div",{key:t},React.createElement(s.PanelRow,null,(0,n.__)("Image","essential-blocks")),React.createElement(Q.ImageComponent.GeneralTab,{onSelect:function(e){return function(e,t,a,n){var o=W({},a[t]),r=(0,G.A)(a);r[t]=o,r[t].id=e.id,r[t].url=e.url,r[t].alt=e.alt,r[t].caption=e.caption,n({images:r})}(e,t,c,a)},value:!e.url||e.url.startsWith("data:image/")?e.id:e.url,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),"content"===r&&React.createElement(React.Fragment,null,React.createElement(Q.EBTextControl,{label:(0,n.__)("Title","essential-blocks"),value:e.title,onChange:function(t){return Y("title",t,e.id,c,a)},enableAi:!0}),!(0,Q.isValidHtml)(e.title)&&React.createElement(s.PanelRow,{className:"eb-instruction-row"},React.createElement("div",{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Invalid HTML Tag.")),React.createElement(Q.EBTextControl,{label:(0,n.__)("Subtitle","essential-blocks"),value:e.subtitle,onChange:function(t){return Y("subtitle",t,e.id,c,a)},enableAi:!0}),!(0,Q.isValidHtml)(e.subtitle)&&React.createElement(s.PanelRow,{className:"eb-instruction-row"},React.createElement("div",{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Invalid HTML Tag.")),React.createElement(s.ToggleControl,{label:(0,n.__)("Show Button","essential-blocks"),checked:e.showButton,onChange:function(){return Y("showButton",!e.showButton,e.id,c,a)}}),e.showButton&&React.createElement(React.Fragment,null,React.createElement(Q.EBTextControl,{label:(0,n.__)("Button Text","essential-blocks"),value:e.buttonText,onChange:function(t){return Y("buttonText",t,e.id,c,a)},enableAi:!0}),!(0,Q.isValidHtml)(e.buttonText)&&React.createElement(s.PanelRow,{className:"eb-instruction-row"},React.createElement("div",{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Invalid HTML Tag.")),React.createElement(Q.EBTextControl,{label:(0,n.__)("Button URL","essential-blocks"),fieldType:"url",value:e.buttonUrl,onChange:function(t){return Y("buttonUrl",t,e.id,c,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),e.buttonUrl&&e.buttonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},(0,n.__)("URL is not valid","essential-blocks")),React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return Y("openNewTab",!e.openNewTab,e.id,c,a)}}),React.createElement(s.ToggleControl,{label:(0,n.__)("Add Second Button","essential-blocks"),checked:e.showSecondButton,onChange:function(t){return Y("showSecondButton",t,e.id,c,a)}}),e.showSecondButton&&React.createElement(React.Fragment,null,React.createElement(s.TextControl,{label:(0,n.__)("Second Button Text","essential-blocks"),value:e.secondButtonText,onChange:function(t){return Y("secondButtonText",t,e.id,c,a)}}),!(0,Q.isValidHtml)(e.secondButtonText)&&React.createElement(s.PanelRow,{className:"eb-instruction-row"},React.createElement("div",{className:"eb-instruction"},React.createElement("strong",null,"Note:")," Invalid HTML Tag.")),React.createElement(Q.EBTextControl,{label:(0,n.__)("Second Button URL","essential-blocks"),fieldType:"url",value:e.secondButtonUrl,onChange:function(t){return Y("secondButtonUrl",t,e.id,c,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),e.secondButtonUrl&&e.secondButtonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},(0,n.__)("URL is not valid","essential-blocks")),React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.secondButtonOpenNewTab,onChange:function(){return Y("secondButtonOpenNewTab",!e.secondButtonOpenNewTab,e.id,c,a)}})))),"image"===r&&React.createElement(React.Fragment,null,React.createElement(Q.EBTextControl,{label:(0,n.__)("URL","essential-blocks"),fieldType:"url",value:e.buttonUrl,onChange:function(t){return Y("buttonUrl",t,e.id,c,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),e.buttonUrl&&e.buttonUrl.length>0&&!e.isValidUrl&&React.createElement("span",{className:"error"},(0,n.__)("URL is not valid","essential-blocks")),React.createElement(s.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.openNewTab,onChange:function(){return Y("openNewTab",!e.openNewTab,e.id,c,a)}})))}),labelKey:"title",preserveLabels:!0,hasAddButton:!1}))),React.createElement(Q.InspectorPanel.Style,null,React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Slides Gap","essential-blocks"),controlName:N,units:[],min:0,max:100,step:1}),"content"===r&&"content-1"===l&&React.createElement(Q.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:ge,attributeName:"overlayColor"}),"content"===r&&React.createElement(React.Fragment,null,React.createElement(s.PanelRow,null,"Text Align"),React.createElement(s.ButtonGroup,null,I.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:ke===e.value,isSecondary:ke!==e.value,onClick:function(){return a({textAlign:e.value})}},e.label)})),"content-2"!=l&&React.createElement(React.Fragment,null,React.createElement(s.PanelRow,null,"Vertical Align"),React.createElement(s.ButtonGroup,null,O.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:Re===e.value,isSecondary:Re!==e.value,onClick:function(){return a({verticalAlign:e.value})}},e.label)}))))),"content"===r&&React.createElement(React.Fragment,null,React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!1},React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ne,attributeName:"titleColor"}),React.createElement(Q.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:H}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:g,baseLabel:"Margin"})),React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:oe,attributeName:"subtitleColor"}),React.createElement(Q.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:z}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:f,baseLabel:"Margin"})),React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(s.ButtonGroup,{className:"eb-inspector-btn-group"},P.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:re===e.value,isSecondary:re!==e.value,onClick:function(){return a({buttonColorType:e.value})}},e.label)})),"normal"===re&&React.createElement(React.Fragment,null,React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:le,attributeName:"buttonColor"}),React.createElement(Q.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ie,attributeName:"buttonBGColor"})),"hover"===re&&React.createElement(React.Fragment,null,React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ce,attributeName:"buttonHoverColor"}),React.createElement(Q.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:se,attributeName:"buttonHoverBGColor"})),React.createElement(s.PanelRow,null,"Button Border & Shadow"),React.createElement(Q.BorderShadowControl,{controlName:v}),React.createElement(Q.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:U}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:y,baseLabel:"Margin"}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Padding"}),React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Second Button","essential-blocks"),initialOpen:!1},React.createElement(s.ButtonGroup,{className:"eb-inspector-btn-group"},P.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:pe===e.value,isSecondary:pe!==e.value,onClick:function(){return a({secondButtonColorType:e.value})}},e.label)})),"normal"===pe&&React.createElement(React.Fragment,null,React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:be,attributeName:"secondButtonColor"}),React.createElement(Q.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:me,attributeName:"secondButtonBGColor"})),"hover"===pe&&React.createElement(React.Fragment,null,React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:de,attributeName:"secondButtonHoverColor"}),React.createElement(Q.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:ue,attributeName:"secondButtonHoverBGColor"})),React.createElement(s.PanelRow,null,"Button Border & Shadow"),React.createElement(Q.BorderShadowControl,{controlName:R}),React.createElement(Q.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:V}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Margin"}),React.createElement(Q.ResponsiveDimensionsControl,{controlName:k,baseLabel:"Padding"})))),i&&React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Arrow","essential-blocks"),initialOpen:!1},React.createElement(s.ButtonGroup,{className:"eb-inspector-btn-group"},P.map(function(e,t){return React.createElement(s.Button,{key:t,isPrimary:fe===e.value,isSecondary:fe!==e.value,onClick:function(){return a({arrowColorType:e.value})}},e.label)})),"normal"===fe&&React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ye,attributeName:"arrowColor"}),"hover"===fe&&React.createElement(Q.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:he,attributeName:"arrowHoverColor"}),React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Arrow Size","essential-blocks"),controlName:B,units:F,min:1,max:50,step:1}),React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Arrow Position","essential-blocks"),controlName:x,units:M,min:-50,max:100,step:1})),J&&React.createElement(Q.InspectorPanel.PanelBody,{title:(0,n.__)("Dot","essential-blocks"),initialOpen:!1},React.createElement(Q.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ve,attributeName:"dotsColor"}),React.createElement(Q.ColorControl,{label:(0,n.__)("Active Color","essential-blocks"),color:we,attributeName:"dotsActiveColor"}),React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Size","essential-blocks"),controlName:T,units:F,min:1,max:50,step:1}),React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Gap","essential-blocks"),controlName:E,units:M,min:0,max:50,step:1}),React.createElement(Q.ResponsiveRangeController,{baseLabel:(0,n.__)("Dots Position","essential-blocks"),controlName:S,units:M,min:-50,max:100,step:1})))))};function $(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.sliderType),l=t.sliderContentType,c=t.isCustomHeight,i=(t.speed,t.initialSlide,t.titleColor),s=t.subtitleColor,p=t.buttonColor,P=t.buttonHoverColor,O=t.buttonBGColor,I=t.buttonHoverBGColor,D=t.secondButtonColor,A=t.secondButtonHoverColor,M=t.secondButtonBGColor,L=t.secondButtonHoverBGColor,F=t.overlayColor,j=t.arrowColor,G=t.arrowHoverColor,q=t.dotsColor,W=t.dotsActiveColor,Z=t.textAlign,J=t.verticalAlign,Y=(t.classHook,t.isRTLEnable),X=(0,Q.generateTypographyStyles)({attributes:t,prefixConstant:H}),$=X.typoStylesDesktop,K=X.typoStylesTab,ee=X.typoStylesMobile,te=(0,Q.generateTypographyStyles)({attributes:t,prefixConstant:z}),ae=te.typoStylesDesktop,ne=te.typoStylesTab,oe=te.typoStylesMobile,re=(0,Q.generateTypographyStyles)({attributes:t,prefixConstant:U}),le=re.typoStylesDesktop,ce=re.typoStylesTab,ie=re.typoStylesMobile,se=(0,Q.generateTypographyStyles)({attributes:t,prefixConstant:V}),pe=se.typoStylesDesktop,be=se.typoStylesTab,de=se.typoStylesMobile,me=(0,Q.generateDimensionsControlStyles)({controlName:d,styleFor:"margin",attributes:t}),ue=me.dimensionStylesDesktop,ge=me.dimensionStylesTab,fe=me.dimensionStylesMobile,ye=(0,Q.generateDimensionsControlStyles)({controlName:m,styleFor:"padding",attributes:t}),he=ye.dimensionStylesDesktop,ve=ye.dimensionStylesTab,we=ye.dimensionStylesMobile,ke=(0,Q.generateDimensionsControlStyles)({controlName:g,styleFor:"margin",attributes:t}),Re=ke.dimensionStylesDesktop,_e=ke.dimensionStylesTab,Ce=ke.dimensionStylesMobile,Ee=(0,Q.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),xe=Ee.dimensionStylesDesktop,Se=Ee.dimensionStylesTab,Be=Ee.dimensionStylesMobile,Te=(0,Q.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Ie=(0,Q.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),De=Ie.dimensionStylesDesktop,Ae=Ie.dimensionStylesTab,Me=Ie.dimensionStylesMobile,Le=(0,Q.generateDimensionsControlStyles)({controlName:w,styleFor:"margin",attributes:t}),Fe=Le.dimensionStylesDesktop,je=Le.dimensionStylesTab,He=Le.dimensionStylesMobile,ze=(0,Q.generateDimensionsControlStyles)({controlName:k,styleFor:"padding",attributes:t}),Ue=ze.dimensionStylesDesktop,Ve=ze.dimensionStylesTab,Ge=ze.dimensionStylesMobile,qe=(0,Q.generateResponsiveRangeStyles)({controlName:C,property:"height",attributes:t}),We=qe.rangeStylesDesktop,Ze=qe.rangeStylesTab,Je=qe.rangeStylesMobile,Ye=(0,Q.generateResponsiveRangeStyles)({controlName:_,property:"",attributes:t}),Qe=(Ye.rangeStylesDesktop,Ye.rangeStylesTab,Ye.rangeStylesMobile,(0,Q.generateResponsiveRangeStyles)({controlName:E,property:"margin-right",attributes:t})),Xe=Qe.rangeStylesDesktop,$e=Qe.rangeStylesTab,Ke=Qe.rangeStylesMobile,et=(0,Q.generateResponsiveRangeStyles)({controlName:x,property:"left",attributes:t}),tt=et.rangeStylesDesktop,at=et.rangeStylesTab,nt=et.rangeStylesMobile,ot=(0,Q.generateResponsiveRangeStyles)({controlName:x,property:"right",attributes:t}),rt=ot.rangeStylesDesktop,lt=ot.rangeStylesTab,ct=ot.rangeStylesMobile,it=(0,Q.generateResponsiveRangeStyles)({controlName:B,property:"font-size",attributes:t}),st=it.rangeStylesDesktop,pt=it.rangeStylesTab,bt=it.rangeStylesMobile,dt=(0,Q.generateResponsiveRangeStyles)({controlName:T,property:"font-size",attributes:t}),mt=dt.rangeStylesDesktop,ut=dt.rangeStylesTab,gt=dt.rangeStylesMobile,ft=(0,Q.generateResponsiveRangeStyles)({controlName:N,property:"padding",attributes:t}),yt=ft.rangeStylesDesktop,ht=ft.rangeStylesTab,vt=ft.rangeStylesMobile,wt=(0,Q.generateResponsiveRangeStyles)({controlName:S,property:"bottom",attributes:t}),kt=wt.rangeStylesDesktop,Rt=wt.rangeStylesTab,_t=wt.rangeStylesMobile,Ct=(0,Q.generateBackgroundControlStyles)({attributes:t,controlName:b,noOverlay:!0}),Et=Ct.backgroundStylesDesktop,xt=Ct.hoverBackgroundStylesDesktop,St=Ct.backgroundStylesTab,Bt=Ct.hoverBackgroundStylesTab,Tt=Ct.backgroundStylesMobile,Nt=Ct.hoverBackgroundStylesMobile,Pt=Ct.bgTransitionStyle,Ot=(0,Q.generateBorderShadowStyles)({controlName:u,attributes:t}),It=Ot.styesDesktop,Dt=Ot.styesTab,At=Ot.styesMobile,Mt=Ot.stylesHoverDesktop,Lt=Ot.stylesHoverTab,Ft=Ot.stylesHoverMobile,jt=Ot.transitionStyle,Ht=(0,Q.generateBorderShadowStyles)({controlName:v,attributes:t}),zt=Ht.styesDesktop,Ut=Ht.styesTab,Vt=Ht.styesMobile,Gt=Ht.stylesHoverDesktop,qt=Ht.stylesHoverTab,Wt=Ht.stylesHoverMobile,Zt=Ht.transitionStyle,Jt=(0,Q.generateBorderShadowStyles)({controlName:R,attributes:t}),Yt=Jt.styesDesktop,Qt=Jt.styesTab,Xt=Jt.styesMobile,$t=Jt.stylesHoverDesktop,Kt=Jt.stylesHoverTab,ea=Jt.stylesHoverMobile,ta=Jt.transitionStyle,aa="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(ue,"\n\t\t\t").concat(he,"\n\t\t\t").concat(It,"\n\t\t\ttransition: ").concat(jt,", ").concat(Pt,";\n\t\t\t").concat(Et,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n ").concat(xt,"\n\t\t\t").concat(Mt,"\n\t\t}\n\t"),na="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(ge,"\n\t\t\t").concat(ve,"\n\t\t\t").concat(Dt,"\n\t\t\t").concat(St,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n ").concat(Bt,"\n\t\t\t").concat(Lt,"\n\t\t}\n\t"),oa="\n\t\t.eb-slider-wrapper.".concat(o,"{\n\t\t\t").concat(fe,"\n\t\t\t").concat(we,"\n\t\t\t").concat(At,"\n\t\t\t").concat(Tt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o,":hover {\n ").concat(Nt,"\n\t\t\t").concat(Ft,"\n\t\t}\n\t"),ra='\n [dir="rtl"] .eb-slider-wrapper.'.concat(o," .slick-slide {\n pointer-events: auto;\n }\n "),la="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(yt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item {\n\t\t\ttext-align: ").concat(Z,";\n\t\t\talign-items: ").concat(J,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(c?We:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item.content-1 .eb-slider-content {\n\t\t\tbackground-color: ").concat(F,";\n\t\t\tjustify-content: ").concat(J,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\tcolor: ").concat(i,";\n\t\t\t").concat(Re,"\n\t\t\t").concat($,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\tcolor: ").concat(s,";\n\t\t\t").concat(xe,"\n\t\t\t").concat(ae,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\tcolor: ").concat(p,";\n\t\t\tbackground-color: ").concat(O,";\n\t\t\t").concat(Ne,"\n\t\t\t").concat(De,"\n\t\t\t").concat(le,"\n\t\t\t").concat(zt,"\n\t\t\ttransition: ").concat(Zt,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\tcolor: ").concat(P,";\n\t\t\tbackground-color: ").concat(I,";\n\t\t\t").concat(le,"\n\t\t\t").concat(Gt,"\n\t\t}\n\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\tcolor: ").concat(D,";\n\t\t\tbackground-color: ").concat(M,";\n\t\t\t").concat(Fe,"\n\t\t\t").concat(Ue,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(Yt,"\n\t\t\ttransition: ").concat(ta,";\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\tcolor: ").concat(A,";\n\t\t\tbackground-color: ").concat(L,";\n\t\t\t").concat(pe,"\n\t\t\t").concat($t,"\n\t\t}\n\t"),ca="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(ht,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(c&&("image"===r||"content"===r&&"content-1"===l)?Ze:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\t").concat(_e,"\n\t\t\t").concat(K,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\t").concat(Se,"\n\t\t\t").concat(ne,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\t").concat(Pe,"\n\t\t\t").concat(Ae,"\n\t\t\t").concat(ce,"\n\t\t\t").concat(Ut,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\t").concat(ce,"\n\t\t\t").concat(qt,"\n\t\t}\n\n .eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\t").concat(je,"\n\t\t\t").concat(Ve,"\n\t\t\t").concat(be,"\n\t\t\t").concat(Qt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\t").concat(be,"\n\t\t\t").concat(Kt,"\n\t\t}\n\t"),ia="\n\t\t.eb-slider-wrapper.".concat(o," .slick-slide > * {\n\t\t\t").concat(vt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-slider .eb-slider-item img {\n\t\t\t").concat(c&&("image"===r||"content"===r&&"content-1"===l)?Je:"","\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-title {\n\t\t\t").concat(Ce,"\n\t\t\t").concat(ee,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-subtitle {\n\t\t\t").concat(Be,"\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button {\n\t\t\t").concat(Oe,"\n\t\t\t").concat(Me,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(Vt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-button:hover {\n\t\t\t").concat(ie,"\n\t\t\t").concat(Wt,"\n\t\t}\n .eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button {\n\t\t\t").concat(He,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(de,"\n\t\t\t").concat(Xt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .eb-slider-type-content .eb-slider-item .eb-slider-content .eb-slider-second-button:hover {\n\t\t\t").concat(de,"\n\t\t\t").concat(ea,"\n\t\t}\n\t"),sa='\n [dir="rtl"] .eb-slider-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat(rt,'\n left: auto;\n\t\t}\n\t\t[dir="rtl"] .eb-slider-wrapper.').concat(o," .slick-next {\n ").concat(tt,"\n right: auto;\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Y?rt:tt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n\t\t\t").concat(Y?tt:rt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\tcolor: ").concat(j," !important;\n\t\t\t").concat(st,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i:hover,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i:hover {\n\t\t\tcolor: ").concat(G," !important;\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(kt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Xe,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\tcolor: ").concat(q," !important;\n\t\t\t").concat(mt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li.slick-active button:before {\n\t\t\tcolor: ").concat(W," !important;\n\t\t}\n\t"),pa='\n [dir="rtl"] .eb-slider-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat(lt,'\n left: auto;\n\t\t}\n\t\t[dir="rtl"] .eb-slider-wrapper.').concat(o," .slick-next {\n ").concat(at,"\n right: auto;\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Y?lt:at,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n ").concat(Y?at:lt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(pt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(Rt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat($e,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(ut,"\n\t\t}\n\t"),ba='\n [dir="rtl"] .eb-slider-wrapper.'.concat(o," .slick-prev {\n\t\t\t").concat(ct,'\n left: auto;\n\t\t}\n\t\t[dir="rtl"] .eb-slider-wrapper.').concat(o," .slick-next {\n ").concat(nt,"\n right: auto;\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev {\n\t\t\t").concat(Y?ct:nt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-next {\n ").concat(Y?nt:ct,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-prev i,\n\t\t.eb-slider-wrapper.").concat(o," .slick-next i {\n\t\t\t").concat(bt,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots {\n\t\t\t").concat(_t,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li {\n\t\t\t").concat(Ke,"\n\t\t}\n\t\t.eb-slider-wrapper.").concat(o," .slick-dots li button:before {\n\t\t\t").concat(gt,"\n\t\t}\n\t"),da=(0,Q.softMinifyCssStrings)("\n\t\t".concat(aa,"\n\t\t").concat(la,"\n\t\t").concat(sa,"\n ").concat(ra,"\n\t")),ma=(0,Q.softMinifyCssStrings)("\n\t\t".concat(na,"\n\t\t").concat(ca,"\n\t\t").concat(pa,"\n\t")),ua=(0,Q.softMinifyCssStrings)("\n\t\t".concat(oa,"\n\t\t").concat(ia,"\n\t\t").concat(ba,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(Q.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:da,tabAllStyles:ma,mobileAllStyles:ua,blockName:n}))}function K(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?K(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):K(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const te=ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(ee({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},sliderType:{type:"string",default:"image"},sliderContentType:{type:"string",default:"content-1"},images:{type:"array",default:[]},arrows:{type:"boolean",default:!0},adaptiveHeight:{type:"boolean",default:!1},autoplay:{type:"bolean",default:!0},autoplaySpeed:{type:"number",default:3e3},dots:{type:"boolean",default:!0},fade:{type:"boolean",default:!1},infinite:{type:"boolean",default:!0},vertical:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},isCustomHeight:{type:"boolean",default:!0},slidesToShow:{type:"number",default:1},speed:{type:"number",default:500},initialSlide:{type:"number",default:0},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},buttonColorType:{type:"string",default:"normal"},buttonColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},secondButtonColorType:{type:"string",default:"normal"},secondButtonColor:{type:"string",default:"var(--eb-global-button-text-color)"},secondButtonHoverColor:{type:"string",default:"var(--eb-global-button-text-color)"},secondButtonBGColor:{type:"string",default:"var(--eb-global-tertiary-color)"},secondButtonHoverBGColor:{type:"string",default:"var(--eb-global-button-background-color)"},overlayColor:{type:"string",default:"rgb(234 233 235 / 75%)"},arrowColorType:{type:"string",default:"normal"},arrowColor:{type:"string",default:"var(--eb-global-primary-color)"},arrowHoverColor:{type:"string",default:"var(--eb-global-tertiary-color)"},dotsColor:{type:"string",default:"var(--eb-global-secondary-color)"},dotsActiveColor:{type:"string",default:"var(--eb-global-primary-color)"},textAlign:{type:"string",default:"left"},verticalAlign:{type:"string",default:"center"},isRTLEnable:{type:"boolean",default:!1},arrowPrevIcon:{type:"string",default:"fas fa-arrow-alt-circle-left"},arrowNextIcon:{type:"string",default:"fas fa-arrow-alt-circle-right"},titleTag:{type:"string",default:"h2"},contentTag:{type:"string",default:"p"},version:{type:"string"},showLightbox:{type:"boolean",default:!1}},(0,Q.generateTypographyAttributes)(H,{fontSize:24})),(0,Q.generateTypographyAttributes)(z,{fontSize:16})),(0,Q.generateTypographyAttributes)(U,{fontSize:14})),(0,Q.generateTypographyAttributes)(V,{fontSize:14})),(0,Q.generateDimensionsAttributes)(d)),(0,Q.generateDimensionsAttributes)(m,{top:0,bottom:30,right:0,left:0,isLinked:!1})),(0,Q.generateDimensionsAttributes)(g,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,Q.generateDimensionsAttributes)(f,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,Q.generateDimensionsAttributes)(y,{top:0,bottom:20,right:0,left:0,isLinked:!1})),(0,Q.generateDimensionsAttributes)(h,{top:10,bottom:10,right:30,left:30,isLinked:!1})),(0,Q.generateDimensionsAttributes)(w,{top:0,bottom:20,right:10,left:0,isLinked:!1})),(0,Q.generateDimensionsAttributes)(k,{top:10,bottom:10,right:30,left:30,isLinked:!1})),(0,Q.generateBorderShadowAttributes)(u,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,Q.generateBorderShadowAttributes)(v,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,Q.generateBorderShadowAttributes)(R,{bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,Q.generateBackgroundAttributes)(b,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)",noOverlay:!0})),(0,Q.generateResponsiveRangeAttributes)(_,{defaultRange:1})),(0,Q.generateResponsiveRangeAttributes)(C,{defaultRange:400})),(0,Q.generateResponsiveRangeAttributes)(E,{defaultRange:10})),(0,Q.generateResponsiveRangeAttributes)(x,{defaultRange:-25})),(0,Q.generateResponsiveRangeAttributes)(S,{defaultRange:-25})),(0,Q.generateResponsiveRangeAttributes)(B,{defaultRange:20})),(0,Q.generateResponsiveRangeAttributes)(T,{defaultRange:10})),(0,Q.generateResponsiveRangeAttributes)(N,{defaultRange:5}));var ae=a(4589),ne=function(){return React.createElement("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M55.5429 34.8C55.2 34.8 54.9429 34.7143 54.6857 34.4571C54.1714 33.9428 54.1714 33.1714 54.6857 32.6571L56.7429 30.5143L54.7714 27.6C54.3429 27 54.5143 26.2286 55.1143 25.8C55.7143 25.3714 56.4857 25.5428 56.9143 26.1428L60 30.7714L56.4857 34.4571C56.2286 34.6286 55.8857 34.8 55.5429 34.8Z",fill:"#6C3BFF"}),React.createElement("path",{d:"M4.45714 34.8C4.11429 34.8 3.77143 34.6286 3.51429 34.3714L0 30.6857L3.08571 26.0572C3.51429 25.4572 4.28571 25.2857 4.88571 25.7143C5.48571 26.1429 5.65714 26.9143 5.22857 27.5143L3.25714 30.4286L5.4 32.5714C5.91429 33.0857 5.91429 33.8572 5.4 34.3714C5.05714 34.6286 4.8 34.8 4.45714 34.8Z",fill:"#6C3BFF"}),React.createElement("path",{d:"M45.4286 55.8857H14.6571C11.5714 55.8857 9 53.3143 9 50.2286V9.77143C9 6.68572 11.5714 4.11429 14.6571 4.11429H45.4286C48.5143 4.11429 51.0857 6.68572 51.0857 9.77143V50.2286C51.0857 53.3143 48.5143 55.8857 45.4286 55.8857ZM14.6571 6.68572C12.9429 6.68572 11.5714 8.05715 11.5714 9.77143V50.2286C11.5714 51.9429 12.9429 53.3143 14.6571 53.3143H45.4286C47.1429 53.3143 48.5143 51.9429 48.5143 50.2286V9.77143C48.5143 8.05715 47.1429 6.68572 45.4286 6.68572H14.6571Z",fill:"#6C3BFF"}),React.createElement("path",{d:"M28.4571 46.1143L19.7143 35.4L11.3143 46.0286L9.25714 44.4L19.7143 31.3714L28.7143 42.3429L48.9429 23.3143L50.7429 25.2L28.4571 46.1143Z",fill:"#6C3BFF"}),React.createElement("path",{d:"M37.9714 22.3714C35.6571 22.3714 33.7714 20.4857 33.7714 18.1714C33.7714 15.8572 35.6571 13.9714 37.9714 13.9714C40.2857 13.9714 42.1714 15.8572 42.1714 18.1714C42.2571 20.4857 40.2857 22.3714 37.9714 22.3714ZM37.9714 16.3714C36.9428 16.3714 36.1714 17.2286 36.1714 18.1714C36.1714 19.2 37.0286 19.9714 37.9714 19.9714C38.9143 19.9714 39.7714 19.1143 39.7714 18.1714C39.8571 17.1429 39 16.3714 37.9714 16.3714Z",fill:"#6C3BFF"}))};function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function re(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const le=(0,c.memo)((0,Q.withBlockContext)(te)(function(e){var t=e.attributes,a=e.setAttributes,r=(e.className,e.clientId),l=e.isSelected,b=(e.name,t.resOption,t.blockId),d=(t.blockMeta,t.sliderType),m=t.sliderContentType,u=t.images,g=t.arrows,f=t.adaptiveHeight,y=t.autoplay,h=t.autoplaySpeed,v=t.dots,w=t.fade,k=t.infinite,R=t.vertical,_=t.pauseOnHover,C=t.speed,E=t.initialSlide,x=t.textAlign,S=t.classHook,B=t.arrowNextIcon,T=t.arrowPrevIcon,N=t.isRTLEnable,P=t.titleTag,O=t.contentTag,I=t.version,D=t.slideToShowRange,A=t.MOBslideToShowRange,M=t.TABslideToShowRange;(0,c.useEffect)(function(){if(eb_conditional_localize&&"edit-site"==eb_conditional_localize.editor_type){var e=(0,p.select)("core/edit-site").getSettings().isRTL;a({isRTLEnable:e})}else{var t=(0,p.select)("core/editor").getEditorSettings().isRTL;a({isRTLEnable:t})}null==P&&a({titleTag:"h2"}),null==O&&a({contentTag:"p"}),I&&"v2"!=I||a({version:"v3"}),"v3"===I&&a({version:"v4"}),(0,p.select)("core/block-editor").wasBlockJustInserted(r)&&1==D&&a({adaptiveHeight:!0})},[]),(0,c.useEffect)(function(){R&&a({fade:!1})},[R]);var L=re(re({},e),{},{blockPrefix:"eb-slider",style:React.createElement($,e)});function F(e){var t=e.className,a=e.style,n=e.onClick,o=e.arrowNextIcon;return React.createElement("div",{className:t,style:re(re({},a),{},{display:"block"}),onClick:n},React.createElement(Q.EBDisplayIcon,{icon:(0,Q.sanitizeIconValue)(o)}))}function j(e){var t=e.className,a=e.style,n=e.onClick,o=e.arrowPrevIcon;return React.createElement("div",{className:t,style:re(re({},a),{},{display:"block"}),onClick:n},React.createElement(Q.EBDisplayIcon,{icon:(0,Q.sanitizeIconValue)(o)}))}var H={arrows:g,adaptiveHeight:f,autoplay:y,autoplaySpeed:h,dots:v,fade:w,infinite:k,pauseOnHover:_,nextArrow:React.createElement(F,{arrowNextIcon:B}),prevArrow:React.createElement(j,{arrowPrevIcon:T}),slidesToShow:D,speed:C,initialSlide:E,vertical:R,currentSlide:0,rtl:N,responsive:[{breakpoint:1024,settings:{slidesToShow:M||D}},{breakpoint:767,settings:{slidesToShow:A||D}}]},z=(0,c.createRef)(),U=!!u.length;function V(e,t){var n=[];e.map(function(e,a){var o={url:e.url,alt:e.alt,id:a,imageId:e.id,caption:e.caption};if(t.length>0){var r,l,c,i,s=t.filter(function(t,a){return t.imageId===e.id});s.length>0?(o.title=s[0].title?s[0].title:"Slider ".concat(a+1),o.subtitle=s[0].subtitle?s[0].subtitle:"Essential Blocks Slider Subtitle",o.showButton=null===(r=s[0].showButton)||void 0===r||r,o.buttonText=s[0].buttonText?s[0].buttonText:"See More",o.buttonUrl=s[0].buttonUrl,o.openNewTab=null!==(l=s[0].openNewTab)&&void 0!==l&&l,o.isValidUrl=s[0].isValidUrl,o.showSecondButton=null!==(c=s[0].showSecondButton)&&void 0!==c&&c,o.secondButtonText=s[0].secondButtonText?s[0].secondButtonText:"See More",o.secondButtonUrl=s[0].secondButtonUrl,o.secondButtonOpenNewTab=null!==(i=s[0].secondButtonOpenNewTab)&&void 0!==i&&i):(o.title=e.caption?e.caption:"Slider ".concat(a+1),o.subtitle="Essential Blocks Slider Subtitle",o.showButton=!0,o.buttonText="See More",o.buttonUrl="",o.openNewTab=!1,o.isValidUrl=!0,o.showSecondButton=!1,o.secondButtonText="See More",o.secondButtonUrl="",o.secondButtonOpenNewTab=!1)}else o.title=e.caption?e.caption:"Slider ".concat(a+1),o.subtitle="Essential Blocks Slider Subtitle",o.showButton=!0,o.buttonText="See More",o.buttonUrl="",o.openNewTab=!1,o.isValidUrl=!0,o.showSecondButton=!1,o.secondButtonText="See More",o.secondButtonUrl="",o.secondButtonOpenNewTab=!1;n.push(o)}),a({images:n})}if((0,c.useEffect)(function(){u.length>0&&z.current.slickGoTo(E)},[E]),!U)return React.createElement(Q.EBMediaPlaceholder,{addToGallery:U,isAppender:U,dropZoneUIOnly:U&&!l,labels:{title:!U&&(0,n.__)("Images","essential-blocks"),instructions:!U&&(0,n.__)("Drag images, upload new ones or select files from your library.")},onSelect:function(e){return V(e,u)},accept:"image/*",allowedTypes:["image"],multiple:!0,value:U?u:void 0,icon:ne,enableAI:!1});u.length>0&&u.map(function(e){return e.hasOwnProperty("showSecondButton")||(e.showSecondButton=!1,e.secondButtonText="See More",e.secondButtonUrl="",e.secondButtonOpenNewTab=!1),u});var G="content"===d?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(React.Fragment,null,l&&React.createElement(X,{attributes:t,setAttributes:a,slider:z}),React.createElement(i.BlockControls,null,React.createElement(s.ToolbarGroup,null,React.createElement(s.ToolbarItem,null,function(){return React.createElement(i.MediaUpload,{onSelect:function(e){return V(e,u)},allowedTypes:["image"],multiple:!0,gallery:!0,value:u.map(function(e){return e.imageId}),render:function(e){var t=e.open;return React.createElement(s.ToolbarButton,{className:"components-toolbar__control",label:(0,n.__)("Edit gallery","essential-blocks"),icon:"edit",onClick:t})}})}))),React.createElement(Q.BlockProps.Edit,L,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(b," ").concat(S)},React.createElement("div",{className:"eb-slider-wrapper ".concat(b)},React.createElement(ae.A,(0,o.A)({ref:z},H,{key:"".concat(y,"-").concat(f),className:G}),u.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(m),key:t},React.createElement("div",null,React.createElement("img",{className:"eb-slider-image",src:e.url})),"content"===d&&React.createElement("div",{className:"eb-slider-content align-".concat(x)},e.title&&e.title.length>0&&React.createElement(React.Fragment,null,React.createElement(i.RichText,{tagName:P,className:"eb-slider-title",value:J(e.title),allowedFormats:["core/bold","core/italic","core/text-color","core/underline","core/link"],onChange:function(e){return function(e,t,a,n){n({images:a.map(function(a){return a.id==t?W(W({},a),{},{title:e}):a})})}(e,t,u,a)}})),e.subtitle&&e.subtitle.length>0&&React.createElement(React.Fragment,null,React.createElement(i.RichText,{tagName:O,className:"eb-slider-subtitle",value:J(e.subtitle),allowedFormats:["core/bold","core/italic","core/text-color","core/underline","core/link"],onChange:function(e){return function(e,t,a,n){n({images:a.map(function(a){return a.id==t?W(W({},a),{},{subtitle:e}):a})})}(e,t,u,a)}})),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement(React.Fragment,null,React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText,{value:J(e.buttonText),allowedFormats:["core/bold","core/italic","core/text-color","core/underline"],onChange:function(e){return function(e,t,a,n){n({images:a.map(function(a){return a.id==t?W(W({},a),{},{buttonText:e}):a})})}(e,t,u,a)}}))),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement(React.Fragment,null,React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"#",className:"eb-slider-second-button",target:e.secondButtonopenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText,{value:J(e.secondButtonText),allowedFormats:["core/bold","core/italic","core/text-color","core/underline"],onChange:function(e){return function(e,t,a,n){n({images:a.map(function(a){return a.id==t?W(W({},a),{},{secondButtonText:e}):a})})}(e,t,u,a)}}))))))}))))))}));var ce,ie;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},se.apply(null,arguments)}var pe=a(6087);function be(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function de(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?be(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):be(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const me=[{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E=t.showLightbox,x={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},S="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-settings":btoa(JSON.stringify(x)),"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-lightbox":"v2"===C&&E},React.createElement("div",{className:"eb-slider-init ".concat(S)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t,"data-src":e.url},e.buttonUrl&&e.isValidUrl?React.createElement("div",null,React.createElement("a",{href:(0,Q.sanitizeURL)(e.buttonUrl),target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement("img",{className:"eb-slider-image",src:e.url}))):React.createElement("div",null,React.createElement("img",{className:"eb-slider-image",src:e.url})),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-second-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E=t.showLightbox,x={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},S="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},a&&React.createElement("script",{dangerouslySetInnerHTML:{__html:"var ".concat(a.replaceAll("-","_")," = ").concat(JSON.stringify(x),";")}}),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-lightbox":"v2"===C&&E},React.createElement("div",{className:"eb-slider-init ".concat(S)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t,"data-src":e.url},e.buttonUrl&&e.isValidUrl?React.createElement("div",null,React.createElement("a",{href:(0,Q.sanitizeURL)(e.buttonUrl),target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement("img",{className:"eb-slider-image",src:e.url}))):React.createElement("div",null,React.createElement("img",{className:"eb-slider-image",src:e.url})),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-second-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:(0,pe.omit)(de({},te),["version"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},x="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},a&&React.createElement("script",{dangerouslySetInnerHTML:{__html:"var ".concat(a.replaceAll("-","_")," = ").concat(JSON.stringify(E),";")}}),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-arrowNextIcon":v,"data-arrowPrevIcon":w},React.createElement("div",{className:"eb-slider-init ".concat(x)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},e.buttonUrl&&e.isValidUrl?React.createElement("div",null,React.createElement("a",{href:(0,Q.sanitizeURL)(e.buttonUrl),target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement("img",{className:"eb-slider-image",src:e.url}))):React.createElement("div",null,React.createElement("img",{className:"eb-slider-image",src:e.url})),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-second-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},x="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},a&&React.createElement("script",{dangerouslySetInnerHTML:{__html:"var ".concat(a.replaceAll("-","_")," = ").concat(JSON.stringify(E),";")}}),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-arrowNextIcon":v,"data-arrowPrevIcon":w},React.createElement("div",{className:"eb-slider-init ".concat(x)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},e.buttonUrl&&e.isValidUrl?React.createElement("div",null,React.createElement("a",{href:(0,Q.sanitizeURL)(e.buttonUrl),target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement("img",{className:"eb-slider-image",src:e.url}))):React.createElement("div",null,React.createElement("img",{className:"eb-slider-image",src:e.url})),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},x="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},a&&React.createElement("script",{dangerouslySetInnerHTML:{__html:"var ".concat(a.replaceAll("-","_")," = ").concat(JSON.stringify(E),";")}}),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-arrowNextIcon":v,"data-arrowPrevIcon":w},React.createElement("div",{className:"eb-slider-init ".concat(x)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:(0,pe.omit)(de({},te),["version"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(C),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-titleTag":R,"data-contentTag":_},React.createElement("div",{className:E},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?e.secondButtonUrl:"",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(C),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-titleTag":R,"data-contentTag":_},React.createElement("div",{className:E},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(C),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-titleTag":R,"data-contentTag":_},React.createElement("div",{className:E},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?e.secondButtonUrl:"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},E="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(C),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-titleTag":R,"data-contentTag":_},React.createElement("div",{className:E},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?e.buttonUrl:"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?e.secondButtonUrl:"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(C),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w,"data-titleTag":R,"data-contentTag":_},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:(0,pe.omit)(de({},te),["titleTag","contentTag"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(R),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y,"data-arrowNextIcon":v,"data-arrowPrevIcon":w},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"#",className:"eb-slider-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))}},{attributes:(0,pe.omit)(de({},te),["isRTLEnable"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.dotPreset,w={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a," ").concat(v),"data-settings":JSON.stringify(w),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":y},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText}))))})))))}},{attributes:(0,pe.omit)(de({},te),["dotPreset"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=t.initialSlide,h=t.textAlign,v=t.classHook,w={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,initialSlide:y,vertical:u,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(v)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(w),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":h},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(h)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText}))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=t.initialSlide,h=t.textAlign,v=t.classHook,w={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,initialSlide:y,vertical:u,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(v)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(w),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":h},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(h)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:"h2",className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:"p",className:"eb-slider-subtitle",value:e.subtitle}),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText}))))})))))}},{attributes:de({},te),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=t.initialSlide,h=t.textAlign,v={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,initialSlide:y,vertical:u,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange}}]};return React.createElement("div",i.useBlockProps.save(),React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-settings":JSON.stringify(v),"data-images":JSON.stringify(r),"data-sliderContentType":o,"data-sliderType":n,"data-textAlign":h},React.createElement("div",{className:n},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t},React.createElement("img",{className:"eb-slider-image",src:e.url}),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(h)},e.title&&e.title.length>0&&React.createElement("h2",{className:"eb-slider-title"},e.title),e.subtitle&&e.subtitle.length>0&&React.createElement("p",{className:"eb-slider-subtitle"},e.subtitle),e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"#",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},e.buttonText)))}))))}}],ue=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Slider","name":"essential-blocks/slider","description":"Display multiple images and content in beautiful slider & reduce page scroll","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,Q.ebConditionalRegisterBlockType)(ue,{keywords:[(0,n.__)("slider","essential-blocks"),(0,n.__)("carousel","essential-blocks"),(0,n.__)("images","essential-blocks")],icon:function(e){return l.createElement("svg",se({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),ce||(ce=l.createElement("path",{fill:"#6C3BFF",d:"M55.543 34.8c-.343 0-.6-.086-.857-.343a1.243 1.243 0 0 1 0-1.8l2.057-2.143L54.77 27.6c-.428-.6-.257-1.371.343-1.8s1.372-.257 1.8.343L60 30.77l-3.514 3.686c-.257.172-.6.343-.943.343M4.457 34.8c-.343 0-.686-.171-.943-.429L0 30.686l3.086-4.629c.428-.6 1.2-.771 1.8-.343.6.429.771 1.2.343 1.8L3.257 30.43 5.4 32.57a1.243 1.243 0 0 1 0 1.8c-.343.258-.6.429-.943.429M45.429 55.886H14.657C11.571 55.886 9 53.314 9 50.229V9.77c0-3.085 2.571-5.657 5.657-5.657H45.43c3.085 0 5.657 2.572 5.657 5.657V50.23c0 3.085-2.572 5.657-5.657 5.657m-30.772-49.2a3.073 3.073 0 0 0-3.086 3.085V50.23a3.073 3.073 0 0 0 3.086 3.085H45.43a3.073 3.073 0 0 0 3.085-3.085V9.77a3.073 3.073 0 0 0-3.085-3.085z"})),ie||(ie=l.createElement("path",{fill:"#6C3BFF",d:"M28.457 46.114 19.714 35.4l-8.4 10.629L9.257 44.4l10.457-13.029 9 10.972 20.229-19.029 1.8 1.886zM37.971 22.371a4.207 4.207 0 0 1-4.2-4.2c0-2.314 1.886-4.2 4.2-4.2s4.2 1.886 4.2 4.2c.086 2.315-1.885 4.2-4.2 4.2m0-6c-1.028 0-1.8.858-1.8 1.8 0 1.029.858 1.8 1.8 1.8s1.8-.857 1.8-1.8c.086-1.028-.771-1.8-1.8-1.8"})))},example:{attributes:{}},attributes:te,edit:le,save:function(e){var t=e.attributes,a=t.blockId,n=t.sliderType,o=t.sliderContentType,r=t.images,l=t.arrows,c=t.adaptiveHeight,s=t.autoplay,p=t.autoplaySpeed,b=t.dots,d=t.fade,m=t.infinite,u=t.vertical,g=t.pauseOnHover,f=t.speed,y=(t.initialSlide,t.textAlign),h=t.classHook,v=t.arrowNextIcon,w=t.arrowPrevIcon,k=(t.dotPreset,t.isRTLEnable),R=t.titleTag,_=t.contentTag,C=t.version,E=t.showLightbox,x={arrows:l,adaptiveHeight:c,autoplay:s,autoplaySpeed:p,dots:b,fade:d,infinite:m,pauseOnHover:g,slidesToShow:t.slideToShowRange,speed:f,vertical:u,currentSlide:0,rtl:k,responsive:[{breakpoint:1025,settings:{slidesToShow:t.TABslideToShowRange||t.slideToShowRange}},{breakpoint:767,settings:{slidesToShow:t.MOBslideToShowRange||t.slideToShowRange}}]},S="content"===n?"eb-slider-type-content":"eb-slider-type-image";return React.createElement(Q.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"eb-slider-wrapper ".concat(a),"data-blockid":a,"data-version":C,"data-settings":btoa(JSON.stringify(x)),"data-arrowNextIcon":(0,Q.sanitizeIconValue)(v),"data-arrowPrevIcon":(0,Q.sanitizeIconValue)(w),"data-lightbox":"v2"===C&&E},React.createElement("div",{className:"eb-slider-init ".concat(S)},r.map(function(e,t){return React.createElement("div",{className:"eb-slider-item ".concat(o),key:t,"data-src":e.url},e.buttonUrl&&e.isValidUrl?React.createElement("div",null,React.createElement("a",{href:(0,Q.sanitizeURL)(e.buttonUrl),target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement("img",{className:"eb-slider-image","data-lazy":e.url}))):React.createElement("div",null,React.createElement("img",{className:"eb-slider-image","data-lazy":e.url})),"content"===n&&React.createElement("div",{className:"eb-slider-content align-".concat(y)},e.title&&e.title.length>0&&React.createElement(i.RichText.Content,{tagName:R,className:"eb-slider-title",value:e.title}),e.subtitle&&e.subtitle.length>0&&React.createElement(i.RichText.Content,{tagName:_,className:"eb-slider-subtitle",value:e.subtitle}),React.createElement("div",{className:"eb-slider-button-wrapper"},e.showButton&&e.buttonText&&e.buttonText.length>0&&React.createElement("a",{href:e.buttonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.buttonUrl):"",className:"eb-slider-button",target:e.openNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.buttonText})),e.showSecondButton&&e.secondButtonText&&e.secondButtonText.length>0&&React.createElement("a",{href:e.secondButtonUrl&&e.isValidUrl?(0,Q.sanitizeURL)(e.secondButtonUrl):"",className:"eb-slider-second-button",target:e.secondButtonOpenNewTab?"_blank":"_self",rel:"noopener"},React.createElement(i.RichText.Content,{value:e.secondButtonText})))))})))))},deprecated:me})},8434:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(4715),i=a(6427),s=[{label:(0,n.__)("Basic","essential-blocks"),value:"basic"},{label:(0,n.__)("Inline","essential-blocks"),value:"inline"}],p=((0,n.__)("Left","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("Right","essential-blocks"),[{label:(0,n.__)("H1","essential-blocks"),value:"h1"},{label:(0,n.__)("H2","essential-blocks"),value:"h2"},{label:(0,n.__)("H3","essential-blocks"),value:"h3"},{label:(0,n.__)("H4","essential-blocks"),value:"h4"},{label:(0,n.__)("H5","essential-blocks"),value:"h5"},{label:(0,n.__)("H6","essential-blocks"),value:"h6"}]),b=[{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"},{label:"Extra Large",value:"extra-large"},{label:"Custom",value:"custom"}],d=[{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignleft"})),value:"flex-start"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-aligncenter"})),value:"center"},{label:(0,n.__)(React.createElement(i.Dashicon,{icon:"editor-alignright"})),value:"flex-end"}],m=[{label:(0,n.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,n.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,n.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,n.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,n.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,n.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,n.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,n.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,n.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,n.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,n.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,n.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,n.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,n.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,n.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,n.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,n.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,n.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,n.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,n.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,n.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,n.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,n.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,n.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,n.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,n.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,n.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,n.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,n.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,n.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,n.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,n.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,n.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,n.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,n.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,n.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,n.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,n.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,n.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,n.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,n.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,n.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,n.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,n.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,n.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,n.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,n.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,n.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,n.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,n.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,n.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],u="wrpMargin",g="wrpPadding",f="titleMargin",y="subtitleMargin",h="btnPadding",v="iconPadding",w="descPadding",k="wrpBack",R="wrpBrd",_="btnBrd",C="iconSize",E="title",x="subtitle",S="desc",B="btn",T=a(5694);function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=P(P(P(P(P(P(P(P(P(P(P(P(P(P(P({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},contentStyle:{type:"string",default:"basic"},contentAlign:{type:"string",default:"center"},showIcon:{type:"boolean",default:!0},icon:{type:"string",source:"attribute",selector:".eb-cia-wrapper",attribute:"data-icon",default:"fas fa-glass-martini"},iconColor:{type:"string",default:"var(--eb-global-primary-color)"},sortableLists:{type:"array",default:[{label:(0,n.__)("Icon","essential-blocks"),value:"icon"},{label:(0,n.__)("Subtitle","essential-blocks"),value:"subtitle"},{label:(0,n.__)("Title","essential-blocks"),value:"title"},{label:(0,n.__)("Description","essential-blocks"),value:"description"}]},title:{type:"string",selector:".eb-cia-title",default:"Essential Blocks for Gutenberg"},titleTag:{type:"string",default:"h3"},titleColor:{type:"string",default:"var(--eb-global-heading-color)"},showSubtitle:{type:"boolean",default:!1},subtitle:{type:"string",selector:".eb-cia-subtitle"},subtitleTag:{type:"string",default:"h4"},subtitleColor:{type:"string",default:"var(--eb-global-text-color)"},description:{type:"string",selector:".eb-cia-description",default:"Add a strong one liner supporting the heading above and giving users a reason to click on the button below."},descriptionColor:{type:"string",default:"var(--eb-global-text-color)"},showButton:{type:"boolean",default:!0},buttonText:{type:"string",souce:"html",selector:".eb-cia-button",default:"Button Text"},buttonURL:{type:"string"},linkNewTab:{type:"boolean",default:!1},buttonSize:{type:"string",default:"large"},buttonBackgroundColor:{type:"string",default:"var(--eb-global-button-background-color)"},buttonHoverBackgroundColor:{type:"string",default:"var(--eb-global-tertiary-color)"},buttonTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},buttonPosition:{type:"string",default:"center"},btnHoverEffect:{type:"string"}},(0,T.generateTypographyAttributes)(E)),(0,T.generateTypographyAttributes)(x)),(0,T.generateTypographyAttributes)(S)),(0,T.generateTypographyAttributes)(B)),(0,T.generateDimensionsAttributes)(u,{top:28,right:0,bottom:28,left:0,isLinked:!1})),(0,T.generateDimensionsAttributes)(g)),(0,T.generateDimensionsAttributes)(f)),(0,T.generateDimensionsAttributes)(y)),(0,T.generateDimensionsAttributes)(h)),(0,T.generateDimensionsAttributes)(v)),(0,T.generateDimensionsAttributes)(w)),(0,T.generateBackgroundAttributes)(k,{defaultFillColor:"var(--eb-global-background-color)"})),(0,T.generateBorderShadowAttributes)(R)),(0,T.generateBorderShadowAttributes)(_)),(0,T.generateResponsiveRangeAttributes)(C)),I=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.contentStyle),r=t.showIcon,l=t.icon,c=t.iconColor,N=t.title,P=t.titleTag,O=t.titleColor,I=t.showSubtitle,D=t.subtitle,A=t.subtitleColor,M=t.sortableLists,L=t.description,F=t.descriptionColor,j=t.showButton,H=t.buttonSize,z=t.buttonBackgroundColor,U=t.buttonTextColor,V=t.buttonHoverTextColor,G=t.buttonHoverBackgroundColor,q=t.buttonText,W=t.buttonURL,Z=t.linkNewTab,J=t.buttonPosition,Y=t.btnHoverEffect,Q=t.subtitleTag;return React.createElement(T.InspectorPanel,{advancedControlProps:{marginPrefix:u,paddingPrefix:g,backgroundPrefix:k,borderPrefix:R,hasMargin:!0}},React.createElement(T.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(i.SelectControl,{label:(0,n.__)("Content Style","essential-blocks"),value:o,options:s,onChange:function(e){return a({contentStyle:e})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Subtitle","essential-blocks"),checked:I,onChange:function(){return a({showSubtitle:!I})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Icon","essential-blocks"),checked:r,onChange:function(){return a({showIcon:!r})}}),React.createElement(i.ToggleControl,{label:(0,n.__)("Show Button","essential-blocks"),checked:j,onChange:function(){return a({showButton:!j})}}),React.createElement(T.DynamicInputControl,{label:(0,n.__)("Title","essential-blocks"),attrName:"title",inputValue:N,setAttributes:a,onChange:function(e){return a({title:e})}}),I&&React.createElement(React.Fragment,null,React.createElement(T.DynamicInputControl,{label:(0,n.__)("Subtitle","essential-blocks"),attrName:"subtitle",inputValue:D,setAttributes:a,onChange:function(e){return a({subtitle:e})}})),React.createElement(T.DynamicInputControl,{label:(0,n.__)("Description","essential-blocks"),attrName:"description",inputValue:L,setAttributes:a,onChange:function(e){return a({description:e})},isTextarea:!0}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Sorting","essential-blocks"))),React.createElement(T.SortControl,{items:M,labelKey:"label",onSortEnd:function(e){return a({sortableLists:e})},hasSettings:!1,hasAddButton:!1,hasDelete:!1})),r&&React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Icon Settings","essential-blocks"),initialOpen:!1},React.createElement(i.BaseControl,null,React.createElement(T.EBIconPicker,{value:l,attributeName:"icon"})),React.createElement(T.ResponsiveRangeController,{baseLabel:(0,n.__)("Size","essential-blocks"),controlName:C,min:0,max:100,step:1,noUnits:!0})),j&&React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Button Settings","essential-blocks"),initialOpen:!1},React.createElement(i.BaseControl,{label:(0,n.__)("Alignment","essential-blocks"),id:"eb-button-group-alignment"},React.createElement(i.ButtonGroup,{id:"eb-button-group-alignment"},d.map(function(e,t){return React.createElement(i.Button,{key:t,isPrimary:J===e.value,isSecondary:J!==e.value,onClick:function(){return a({buttonPosition:e.value})}},e.label)}))),React.createElement(i.SelectControl,{label:(0,n.__)("Button Size","essential-blocks"),value:H,options:b,onChange:function(e){return a({buttonSize:e})}}),"custom"===H&&React.createElement(T.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(T.DynamicInputControl,{label:(0,n.__)("Button Text","essential-blocks"),attrName:"buttonText",inputValue:q,setAttributes:a,onChange:function(e){return a({buttonText:e})}}),React.createElement(T.DynamicInputControl,{label:(0,n.__)("Button Link","essential-blocks"),attrName:"buttonURL",inputValue:W,setAttributes:a,onChange:function(e){return a({buttonURL:e})},help:(0,n.__)("Use https or http","essential-blocks"),enableAi:!1,fieldType:"url",showValidation:!0,enableSecurity:!0}),W&&React.createElement(i.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:Z,onChange:function(){return a({linkNewTab:!Z})}}),React.createElement(i.SelectControl,{label:(0,n.__)("Hover Effect","essential-blocks"),value:Y,options:m,onChange:function(e){return a({btnHoverEffect:e})}})))),React.createElement(T.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Title","essential-blocks"),initialOpen:!0},React.createElement(i.BaseControl,{label:(0,n.__)("Title Tag","essential-blocks")},React.createElement(i.ButtonGroup,null,p.map(function(e,t){return React.createElement(i.Button,{key:t,isSecondary:P!==e.value,isPrimary:P===e.value,onClick:function(){return a({titleTag:e.value})}},e.label)}))),React.createElement(T.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:E}),React.createElement(T.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:O,attributeName:"titleColor"}),React.createElement(T.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,n.__)("Space","essential-blocks")})),I&&React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Subtitle","essential-blocks"),initialOpen:!1},React.createElement(i.BaseControl,{label:(0,n.__)("Subtitle Tag","essential-blocks")},React.createElement(i.ButtonGroup,null,p.map(function(e,t){return React.createElement(i.Button,{key:t,isSecondary:Q!==e.value,isPrimary:Q===e.value,onClick:function(){return a({subtitleTag:e.value})}},e.label)}))),React.createElement(T.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:x}),React.createElement(T.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:A,attributeName:"subtitleColor"}),React.createElement(T.ResponsiveDimensionsControl,{controlName:y,baseLabel:(0,n.__)("Space","essential-blocks")})),React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Description","essential-blocks"),initialOpen:!1},React.createElement(T.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:S}),React.createElement(T.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:F,attributeName:"descriptionColor"}),React.createElement(T.ResponsiveDimensionsControl,{controlName:w,baseLabel:(0,n.__)("Space","essential-blocks")})),r&&React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(T.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:c,attributeName:"iconColor"}),React.createElement(T.ResponsiveDimensionsControl,{controlName:v,baseLabel:(0,n.__)("Space","essential-blocks")})),j&&React.createElement(T.InspectorPanel.PanelBody,{title:(0,n.__)("Button","essential-blocks"),initialOpen:!1},React.createElement(T.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:B}),React.createElement(T.ColorControl,{label:(0,n.__)("Button Text Color","essential-blocks"),color:U,attributeName:"buttonTextColor"}),React.createElement(T.ColorControl,{label:(0,n.__)("Button Hover Text Color","essential-blocks"),color:V,attributeName:"buttonHoverTextColor"}),React.createElement(T.ColorControl,{label:(0,n.__)("Button Background","essential-blocks"),color:z,attributeName:"buttonBackgroundColor"}),React.createElement(T.ColorControl,{label:(0,n.__)("Button Hover Background","essential-blocks"),color:G,attributeName:"buttonHoverBackgroundColor"}),React.createElement(i.BaseControl,null,React.createElement("h3",{className:"eb-control-title"},(0,n.__)("Border","essential-blocks"))),React.createElement(T.BorderShadowControl,{controlName:_})))))};function D(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.blockMeta,t.blockId),r=(t.resOption,t.contentStyle),l=t.contentAlign,c=t.iconColor,i=t.titleColor,s=t.subtitleColor,p=t.descriptionColor,b=t.buttonBackgroundColor,d=t.buttonTextColor,m=t.buttonSize,N=t.buttonHoverTextColor,P=t.buttonHoverBackgroundColor,O=t.buttonPosition,I=t.btnHoverEffect,D=(t.classHook,(0,T.generateBackgroundControlStyles)({attributes:t,controlName:k})),A=D.backgroundStylesDesktop,M=D.hoverBackgroundStylesDesktop,L=D.backgroundStylesTab,F=D.hoverBackgroundStylesTab,j=D.backgroundStylesMobile,H=D.hoverBackgroundStylesMobile,z=D.overlayStylesDesktop,U=D.hoverOverlayStylesDesktop,V=D.overlayStylesTab,G=D.hoverOverlayStylesTab,q=D.overlayStylesMobile,W=D.hoverOverlayStylesMobile,Z=D.bgTransitionStyle,J=D.ovlTransitionStyle,Y=(0,T.generateBorderShadowStyles)({controlName:R,attributes:t}),Q=Y.styesDesktop,X=Y.styesTab,$=Y.styesMobile,K=Y.stylesHoverDesktop,ee=Y.stylesHoverTab,te=Y.stylesHoverMobile,ae=Y.transitionStyle,ne=(0,T.generateDimensionsControlStyles)({controlName:u,styleFor:"margin",attributes:t}),oe=ne.dimensionStylesDesktop,re=ne.dimensionStylesTab,le=ne.dimensionStylesMobile,ce=(0,T.generateDimensionsControlStyles)({controlName:g,styleFor:"padding",attributes:t}),ie=ce.dimensionStylesDesktop,se=ce.dimensionStylesTab,pe=ce.dimensionStylesMobile,be=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:E}),de=be.typoStylesDesktop,me=be.typoStylesTab,ue=be.typoStylesMobile,ge=(0,T.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),fe=ge.dimensionStylesDesktop,ye=ge.dimensionStylesTab,he=ge.dimensionStylesMobile,ve=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:x}),we=ve.typoStylesDesktop,ke=ve.typoStylesTab,Re=ve.typoStylesMobile,_e=(0,T.generateDimensionsControlStyles)({controlName:y,styleFor:"margin",attributes:t}),Ce=_e.dimensionStylesDesktop,Ee=_e.dimensionStylesTab,xe=_e.dimensionStylesMobile,Se=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:S}),Be=Se.typoStylesDesktop,Te=Se.typoStylesTab,Ne=Se.typoStylesMobile,Pe=(0,T.generateDimensionsControlStyles)({controlName:w,styleFor:"padding",attributes:t}),Oe=Pe.dimensionStylesDesktop,Ie=Pe.dimensionStylesTab,De=Pe.dimensionStylesMobile,Ae=(0,T.generateTypographyStyles)({attributes:t,prefixConstant:B}),Me=Ae.typoStylesDesktop,Le=Ae.typoStylesTab,Fe=Ae.typoStylesMobile,je=(0,T.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),He=je.dimensionStylesDesktop,ze=je.dimensionStylesTab,Ue=je.dimensionStylesMobile,Ve=(0,T.generateBorderShadowStyles)({controlName:_,attributes:t}),Ge=Ve.styesDesktop,qe=Ve.styesTab,We=Ve.styesMobile,Ze=Ve.stylesHoverDesktop,Je=Ve.stylesHoverTab,Ye=Ve.stylesHoverMobile,Qe=Ve.transitionStyle,Xe=(0,T.generateResponsiveRangeStyles)({controlName:C,property:"font-size",attributes:t,customUnit:"px"}),$e=Xe.rangeStylesDesktop,Ke=Xe.rangeStylesTab,et=Xe.rangeStylesMobile,tt=(0,T.generateDimensionsControlStyles)({controlName:v,styleFor:"padding",attributes:t}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(oe,"\n\t\t\t").concat(ie,"\n\t\t\t").concat(A,"\n\t\t\t").concat(Q,"\n\t\t\tflex-direction: ").concat("basic"===r?"column":"row",";\n\t\t\ttransition: ").concat(Z,", ").concat(ae,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(z,"\n\t\t\ttransition: ").concat(J,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(M,"\n\t\t\t").concat(K,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover:before {\n\t\t\t").concat(U,"\n\t\t}\n\n\t\t").concat(l?".eb-cia-wrapper.".concat(o," .eb-cia-text-wrapper {\n\t\t\ttext-align: ").concat(l,";\n\t\t}"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat(de,"\n\t\t\t").concat(fe,"\n\t\t\t").concat(i?"color: ".concat(i):"",";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(we,"\n\t\t\t").concat(Ce,"\n\t\t\t").concat(s?"color: ".concat(s):"","\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(Be,"\n\t\t\t").concat(Oe,"\n\t\t\t").concat(p?"color: ".concat(p):"","\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat($e,"\n\t\t\t").concat(at,"\n\t\t\t").concat(c?"color: ".concat(c):"","\n\t\t}\n\n\t\t").concat(function(e){switch(e){case"small":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-small {\n\t\t\t\t\tpadding: 5px 10px;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t}");case"medium":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-medium {\n\t\t\t\t\tpadding: 8px 15px;\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t}");case"large":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-large {\n\t\t\t\t\tpadding: 13px 20px;\n\t\t\t\t\tfont-size: 18px;\n\t\t\t\t}");case"extra-large":return".eb-cia-wrapper.".concat(o," .eb-cia-button.is-extra-large {\n\t\t\t\t\tpadding: 15px 30px;\n\t\t\t\t\tfont-size: 20px;\n\t\t\t\t}");default:return""}}(m),"\n\n\t\t").concat("custom"===m?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(He,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button-wrapper {\n\t\t\tjustify-content: ").concat(O,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(Me,"\n\t\t\t").concat(Ge,"\n\t\t\t").concat(d?"color: ".concat(d):"",";\n\t\t\t").concat(b?"background-color: ".concat(b):"",";\n\t\t\ttransition: background 0.5s, ").concat(Qe,";\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Ze,"\n\t\t\t").concat(N?"color: ".concat(N):"",";\n\t\t\t").concat(P?"background-color: ".concat(P):"",";\n\t\t}\n\n\t\t").concat(I?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n ").concat(Ze||Ge,"\n ").concat(N?"color: ".concat(N):"",";\n ").concat(P?"background-color: ".concat(P):"",";\n\t\t\t}\n\t\t\t"):"","\n\t"),lt="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(re,"\n\t\t\t").concat(se,"\n\t\t\t").concat(L,"\n\t\t\t").concat(X,"\n\t\t\tflex-direction: column;\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(F,"\n\t\t\t").concat(ee,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before:hover {\n\t\t\t").concat(G,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat(me,"\n\t\t\t").concat(ye,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(ke,"\n\t\t\t").concat(Ee,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(Te,"\n\t\t\t").concat(Ie,"\n\t\t}\n\n\t\t").concat("custom"===m?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(ze,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(Le,"\n\t\t\t").concat(qe,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat(Ke,"\n\t\t\t").concat(nt,"\n\t\t}\n\n ").concat(I?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n ").concat(Je||Ge,"\n\t\t\t}\n\t\t\t"):"","\n\t"),ct="\n\t\t.eb-cia-wrapper.".concat(o," {\n\t\t\t").concat(le,"\n\t\t\t").concat(pe,"\n\t\t\t").concat(j,"\n\t\t\t").concat($,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before {\n\t\t\t").concat(q,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(te,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o,":before:hover {\n\t\t\t").concat(W,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-title {\n\t\t\t").concat(ue,"\n\t\t\t").concat(he,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-subtitle {\n\t\t\t").concat(Re,"\n\t\t\t").concat(xe,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-description {\n\t\t\t").concat(Ne,"\n\t\t\t").concat(De,"\n\t\t}\n\n\t\t").concat("custom"===m?"\n\t\t\t\t.eb-cia-wrapper.".concat(o," .eb-cia-button.is-custom {\n\t\t\t\t\t").concat(Ue,"\n\t\t\t\t}\n\t\t\t"):"","\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button {\n\t\t\t").concat(Fe,"\n\t\t\t").concat(We,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-button:hover {\n\t\t\t").concat(Ye,"\n\t\t}\n\n\t\t.eb-cia-wrapper.").concat(o," .eb-cia-icon {\n\t\t\t").concat(et,"\n\t\t\t").concat(ot,"\n\t\t}\n ").concat(I?".eb-cia-wrapper.".concat(o," .eb-cia-button:before {\n ").concat(Ye||Ge,"\n\t\t\t}\n\t\t\t"):"","\n\t"),it=(0,T.softMinifyCssStrings)("\n\t\t".concat(rt,"\n\t")),st=(0,T.softMinifyCssStrings)("\n\t\t".concat(lt,"\n\t")),pt=(0,T.softMinifyCssStrings)("\n\t\t".concat(ct,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(T.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:it,tabAllStyles:st,mobileAllStyles:pt,blockName:n}))}function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const L=(0,l.memo)((0,T.withBlockContext)(O)(function(e){var t=e.isSelected,a=e.attributes,o=e.setAttributes,r=a.blockId,l=a.contentAlign,i=a.showIcon,s=a.icon,p=a.title,b=a.titleTag,d=a.showSubtitle,m=a.subtitle,u=a.sortableLists,g=a.description,f=a.showButton,y=a.buttonText,h=a.buttonSize,v=a.btnHoverEffect,w=a.classHook,k=a.subtitleTag,R=M(M({},e),{},{blockPrefix:"eb-call-to-action",style:React.createElement(D,e)});return React.createElement(React.Fragment,null,t&&React.createElement(I,e),React.createElement(c.BlockControls,null,React.createElement(c.AlignmentToolbar,{value:l,onChange:function(e){return o({contentAlign:e})}})),React.createElement(T.BlockProps.Edit,R,React.createElement(D,e),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(w)},React.createElement("div",{className:"eb-cia-wrapper ".concat(r)},React.createElement("div",{className:"eb-cia-text-wrapper"},u.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(T.DynamicInputValueHandler,{key:t,value:p,tagName:b,className:"eb-cia-title",placeholder:(0,n.__)("Add title...","essential-blocks"),onChange:function(e){return o({title:e})},readOnly:!0}):"subtitle"===a?d&&React.createElement(T.DynamicInputValueHandler,{key:t,tagName:k,className:"eb-cia-subtitle",placeholder:(0,n.__)("Add subtitle..."),value:m,onChange:function(e){return o({subtitle:e})},readOnly:!0}):"icon"===a?i&&React.createElement(T.EBDisplayIcon,{className:"eb-cia-icon",icon:s}):"description"===a?React.createElement(T.DynamicInputValueHandler,{key:t,tagName:"p",value:g,placeholder:(0,n.__)("Add Description...","essential-blocks"),className:"eb-cia-description",onChange:function(e){return o({description:e})},readOnly:!0}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement(T.DynamicInputValueHandler,{value:y,className:"eb-cia-button is-".concat(h).concat(v?" ".concat(v):""),placeholder:(0,n.__)("Add Text","essential-blocks"),onChange:function(e){return o({buttonText:e})},readOnly:!0}))))))})),F=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Call To Action","name":"essential-blocks/call-to-action","description":"Call to action lets you create an interactive CTA for the website to draw visitor\'s attention on the spot.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function j(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function H(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?j(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const z=[{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook,h=t.linkNewTab;return React.createElement(T.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement(T.EBDisplayIcon,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:null==d?"":(0,T.sanitizeURL)(d),target:h?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))}},{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook,h=t.linkNewTab;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement(T.EBDisplayIcon,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:(0,T.sanitizeURL)(d),target:h?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))}},{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook,h=t.linkNewTab;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement(T.EBDisplayIcon,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:d,target:h?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))}},{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook,h=t.linkNewTab;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:(0,T.sanitizeURL)(d),target:h?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))}},{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:(0,T.sanitizeURL)(d)},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))}},{attributes:H({},O),save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton;return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:"h4",className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement("div",{key:t,className:"eb-cia-icon ".concat(o)}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:(0,T.sanitizeURL)(d)},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b}))))))}}];var U,V;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},G.apply(null,arguments)}(0,T.ebConditionalRegisterBlockType)(F,{icon:function(e){return r.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),U||(U=r.createElement("g",{fill:"#6C3BFF",clipPath:"url(#icon_svg__a)"},r.createElement("path",{d:"M38.486 36.686h11.571v-9.429H38.486zm2.228-7.2h6.857v4.8h-6.857zM6 27.257v9.514h29.829v-9.514H6m27.429 7.029H8.486v-4.8h24.943z"}),r.createElement("path",{d:"M55.371 1.714H1.2c-.686 0-1.2.515-1.2 1.2v54.172c0 .685.514 1.2 1.2 1.2h54.171c.686 0 1.2-.515 1.2-1.2V2.914c0-.685-.514-1.2-1.2-1.2M2.4 9.086V4.114h51.686v4.972zm0 46.8V11.57h51.686v44.315z"}),r.createElement("path",{d:"M6.171 5.486h-2.4v2.4h2.4zM9.771 5.486h-2.4v2.4h2.4zM13.629 5.486h-2.4v2.4h2.4z"}))),V||(V=r.createElement("defs",null,r.createElement("clipPath",{id:"icon_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h56.571v60H0z"})))))},attributes:O,keywords:[(0,n.__)("call to action","essential-blocks"),(0,n.__)("cta","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:L,save:function(e){var t=e.attributes,a=t.blockId,n=t.showIcon,o=t.icon,r=t.title,l=t.titleTag,i=t.showSubtitle,s=t.subtitle,p=t.description,b=t.buttonText,d=t.buttonURL,m=t.sortableLists,u=t.buttonSize,g=t.btnHoverEffect,f=t.showButton,y=t.classHook,h=t.linkNewTab,v=t.subtitleTag;return React.createElement(T.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(y)},React.createElement("div",{className:"eb-cia-wrapper ".concat(a),"data-icon":o||""},React.createElement("div",{className:"eb-cia-text-wrapper"},m.map(function(e,t){e.label;var a=e.value;return"title"===a?React.createElement(c.RichText.Content,{key:t,tagName:l,className:"eb-cia-title",value:r}):"subtitle"===a?i&&React.createElement(c.RichText.Content,{key:t,tagName:v,className:"eb-cia-subtitle",value:s}):"icon"===a?n&&React.createElement(T.EBDisplayIcon,{className:"eb-cia-icon",icon:o}):"description"===a?React.createElement(c.RichText.Content,{key:t,tagName:"p",className:"eb-cia-description",value:p}):void 0})),f&&React.createElement("div",{className:"eb-cia-button-wrapper"},React.createElement("a",{href:null==d?"":(0,T.sanitizeURL)(d),target:h?"_blank":"_self",rel:"noopener"},React.createElement("div",{className:"eb-cia-button is-".concat(u).concat(g?" ".concat(g):"")},React.createElement(c.RichText.Content,{value:b})))))))},example:{attributes:{backgroundGradient:"linear-gradient(45deg, #36D1DC , #5B86E5)",title:"Essential Blocks for Gutenberg",titleTag:"h5",description:"Add a strong one liner supporting the heading above and giving users a reason to click on the button below.",buttonText:"Button Text",buttonSize:"large"}},deprecated:z})},8443:e=>{e.exports=window.wp.date},8468:e=>{e.exports=window.wp.element},8471:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(3453),c=a(1609),i=a(4715),s=a(8468),p=a(7143),b=a(6942),d=a.n(b),m=a(6427),u="cw_",g="colOrder_",f=a(5694),y="colMrg_",h="colPad_",v="colBg_",w="colBdS_",k="covP_";function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?R(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const C=_(_(_(_(_(_(_({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"}},(0,f.generateResponsiveRangeAttributes)(u,{noUnits:!0})),(0,f.generateResponsiveRangeAttributes)(g,{noUnits:!0})),{},{colAli:{type:"string"},rowOverFlow:{type:"string"}},(0,f.generateBorderShadowAttributes)(w,{})),(0,f.generateBackgroundAttributes)(v,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,f.generateDimensionsAttributes)(y)),(0,f.generateDimensionsAttributes)(h)),(0,f.generateResponsiveSelectControlAttributes)(k));var E=[{label:"Default",value:""},{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],x=[{label:(0,n.__)("Visible","essential-blocks"),value:"visible"},{label:(0,n.__)("Hidden","essential-blocks"),value:"hidden"}];function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const B=function(e){var t=e.attributes,a=e.setAttributes,o=e.clientId,l=e.initColWidth,c=e.initNextColWidth,i=e.initPrevColWidth,b=e.nextBlockClientId,d=e.prevBlockClientId,R=e.setInitColWidth,_=e.setInitNextColWidth,C=e.setInitPrevColWidth,B=t.resOption,T=t.blockId,N=t["".concat(u,"Range")],P=t["TAB".concat(u,"Range")],O=t["MOB".concat(u,"Range")],I=t.colAli;return(0,s.useEffect)(function(){var e=(0,p.select)("core/block-editor").getBlock((0,p.select)("core/block-editor").getBlockParents(o).slice(-1)[0]).innerBlocks,t=e.reduce(function(e,t){return{attributes:{cw_Range:e.attributes.cw_Range+t.attributes.cw_Range}}},{attributes:{cw_Range:0}}).attributes.cw_Range;if(100!==t){var n=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},e.reduce(function(e,t){return e.attributes.cw_Range<t.attributes.cw_Range?t:e},{attributes:{cw_Range:0}})),l=n.clientId,c=Math.round(100*(n.attributes.cw_Range+100-t))/100;l===o?(a({cw_Range:c}),R(c)):((0,p.dispatch)("core/block-editor").updateBlockAttributes(l,{cw_Range:c}),l===b?_(c):l===d&&C(c))}return function(){var e;if((null===(e=(0,p.select)("core/block-editor").getBlock(o))||void 0===e?void 0:e.innerBlocks.length)>0)return!1}},[]),React.createElement(f.InspectorPanel,{hideTabs:["styles"],advancedControlProps:{marginPrefix:y,paddingPrefix:h,backgroundPrefix:v,borderPrefix:w,hasMargin:!0}},React.createElement(f.InspectorPanel.General,null,React.createElement(f.InspectorPanel.PanelBody,{title:(0,n.__)("General","essential-blocks"),initialOpen:!0},React.createElement("div",{className:"responsiveRangeControllerWrapper rrcwrap-".concat(T)},React.createElement(React.Fragment,null,"Desktop"==B&&React.createElement(React.Fragment,null,React.createElement(f.WithResponsiveOptions,{noUnits:!0,label:(0,n.__)("Column Width (%)","essential-blocks"),controlName:u},React.createElement(m.RangeControl,{value:N,onChange:function(e){var n=e-l,o=c-n,s=i-n;b&&(e<t.cw_Range||o>3)?((0,p.dispatch)("core/block-editor").updateBlockAttributes(b,{cw_Range:o}),a((0,r.A)({},"".concat(u,"Range"),e))):!b&&d&&(e<t.cw_Range||s>3)&&((0,p.dispatch)("core/block-editor").updateBlockAttributes(d,{cw_Range:s}),a((0,r.A)({},"".concat(u,"Range"),e)))},step:.1,min:1,max:100}))),"Tablet"==B&&React.createElement(f.WithResponsiveOptions,{noUnits:!0,label:(0,n.__)("Column Width (%)","essential-blocks"),controlName:u},React.createElement(m.RangeControl,{value:P,onChange:function(e){return a((0,r.A)({},"TAB".concat(u,"Range"),e))},step:.1,min:1,max:100})),"Mobile"==B&&React.createElement(f.WithResponsiveOptions,{noUnits:!0,label:(0,n.__)("Column Width (%)","essential-blocks"),controlName:u},React.createElement(m.RangeControl,{value:O,onChange:function(e){return a((0,r.A)({},"MOB".concat(u,"Range"),e))},step:.1,min:1,max:100})))),React.createElement(m.BaseControl,{label:(0,n.__)("Vertical Align","essential-blocks")},React.createElement(m.SelectControl,{value:I,options:E,onChange:function(e){a({colAli:e})}})),React.createElement(f.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Column Order","essential-blocks"),controlName:g,min:0,max:6,step:1}),React.createElement(f.ResponsiveSelectController,{baseLabel:(0,n.__)("Overflow","essential-blocks"),controlName:k,options:x,resOption:B}))))};function T(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=e.isColumnOrder_Custom_Desktop,r=e.isColumnOrder_Custom_Tab,l=e.isColumnOrder_Custom_Mobile,c=e.columnGap,i=e.columnNumber,s=t.blockId,p=t["".concat(u,"Range")],b=t["TAB".concat(u,"Range")],d=t["MOB".concat(u,"Range")],m=t["".concat(g,"Range")],R=t["TAB".concat(g,"Range")],_=t["MOB".concat(g,"Range")],C=t.colAli,E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.desktop||0,t=arguments.length>1?arguments[1]:void 0;return e*(t>1?t-1:0)/t},x=(0,f.generateResponsiveSelectControlStyles)({controlName:k,property:"overflow",attributes:t}),S=x.selectStylesDesktop,B=x.selectStylesTab,T=x.selectStylesMobile,N=(0,f.generateResponsiveRangeStyles)({controlName:u,customUnit:"%",property:"width",attributes:t}),P=N.rangeStylesDesktop,O=(N.rangeStylesTab,N.rangeStylesMobile,(0,f.generateDimensionsControlStyles)({attributes:t,controlName:y,styleFor:"margin"})),I=O.dimensionStylesDesktop,D=O.dimensionStylesTab,A=O.dimensionStylesMobile,M=(0,f.generateDimensionsControlStyles)({attributes:t,controlName:h,styleFor:"padding"}),L=M.dimensionStylesDesktop,F=M.dimensionStylesTab,j=M.dimensionStylesMobile,H=(0,f.generateBackgroundControlStyles)({attributes:t,controlName:v}),z=H.backgroundStylesDesktop,U=H.hoverBackgroundStylesDesktop,V=H.backgroundStylesTab,G=H.hoverBackgroundStylesTab,q=H.backgroundStylesMobile,W=H.hoverBackgroundStylesMobile,Z=H.overlayStylesDesktop,J=H.hoverOverlayStylesDesktop,Y=H.overlayStylesTab,Q=H.hoverOverlayStylesTab,X=H.overlayStylesMobile,$=H.hoverOverlayStylesMobile,K=H.bgTransitionStyle,ee=H.ovlTransitionStyle,te=(0,f.generateBorderShadowStyles)({controlName:w,attributes:t}),ae=te.styesDesktop,ne=te.styesTab,oe=te.styesMobile,re=te.stylesHoverDesktop,le=te.stylesHoverTab,ce=te.stylesHoverMobile,ie=te.transitionStyle,se=(0,f.softMinifyCssStrings)("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(Z,"\n\t\t\ttransition: all .5s, ").concat(ee,";\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat(J,"\n\t\t}\n\t")),pe=(0,f.softMinifyCssStrings)("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(Y,"\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat(Q,"\n\t\t}\n\t")),be=(0,f.softMinifyCssStrings)("\n\t\t.".concat(s,".eb-column-wrapper > .eb-column-inner:before{\n\t\t\t").concat(X,"\n\t\t}\n\n\t\t.").concat(s,".eb-column-wrapper > .eb-column-inner:hover:before{\n\t\t\t").concat($,"\n\t\t}\n\t")),de="\n\t\t".concat(se,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\t").concat(C?"align-self:".concat(C," !important;"):"","\n\t\t\t").concat(P,"\n\t\t\t").concat(o&&void 0!==m?"order: ".concat(m,";"):"order: unset;","\n\t\t\t").concat(S,"\n\t\t}\n\n .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n ").concat(I,"\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(ae,"\n\t\t\ttransition: all .5s, ").concat(K,", ").concat(ie,";\n }\n\n\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(U,"\n\t\t\t").concat(re,"\n\t\t}\n\t"),me="\n\t\t".concat(pe,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\twidth: calc(").concat(b||(100!==p?50:100),"% - ").concat(E(c.tab,i.tab),"px);\n\n\t\t\t").concat(r&&void 0!==R?"order: ".concat(R,";"):"order: unset;","\n\t\t\t").concat(B,"\n\t\t}\n\n .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n ").concat(D,"\n\t\t\t").concat(F,"\n\t\t\t").concat(V,"\n\t\t\t").concat(ne,"\n }\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(G,"\n\t\t\t").concat(le,"\n\t\t}\n\t"),ue="\n\t\t".concat(be,"\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap.eb-column-editor-wrap-").concat(s,"{\n\t\t\twidth: calc(").concat(d||100,"% - ").concat(E(c.mobile,i.mobile),"px);\n\n\t\t\t").concat(l&&void 0!==_?"order: ".concat(_,";"):"order: unset;","\n\t\t\t").concat(T,"\n\t\t}\n .eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s," {\n ").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(q,"\n\t\t\t").concat(oe,"\n }\n\t\t.eb-row-wrapper .eb-guten-block-main-parent-wrapper.eb-column-editor-wrap .eb-parent-").concat(s,":hover{\n\t\t\t").concat(W,"\n\t\t\t").concat(ce,"\n\t\t}\n\t"),ge=(0,f.softMinifyCssStrings)("\n\t\t".concat(se,"\n\n .root-").concat(s," {\n ").concat(C?"align-self:".concat(C," !important;"):"","\n ").concat(P,"\n ").concat(o&&void 0!==m?"order: ".concat(m,";"):"order: unset;","\n\t\t\t").concat(S,"\n }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(I,"\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(ae,"\n\t\t\ttransition: all .5s, ").concat(K,", ").concat(ie,";\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(U,"\n\t\t\t").concat(re,"\n\t\t}\n\t")),fe=(0,f.softMinifyCssStrings)("\n\t\t".concat(pe,"\n\n .root-").concat(s," {\n width: calc(").concat(b||(100!==p?50:100),"% - ").concat(E(c.tab,i.tab),"px);\n\n\t\t\t").concat(r&&void 0!==R?"order: ".concat(R,";"):"order: unset;","\n\t\t\t").concat(B,"\n }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(D,"\n\t\t\t").concat(F,"\n\t\t\t").concat(V,"\n\t\t\t").concat(ne,"\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(G,"\n\t\t\t").concat(le,"\n\t\t}\n\t")),ye=(0,f.softMinifyCssStrings)("\n\t\t".concat(be,"\n\n .root-").concat(s," {\n width: calc(").concat(d||100,"% - ").concat(E(c.mobile,i.mobile),"px);\n\n\t\t\t").concat(l&&void 0!==_?"order: ".concat(_,";"):"order: unset;","\n\t\t\t").concat(T,"\n }\n\n\t\t.eb-parent-").concat(s,"{\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(q,"\n\t\t\t").concat(oe,"\n\t\t}\n\t\t.eb-parent-").concat(s,":hover{\n\t\t\t").concat(W,"\n\t\t\t").concat(ce,"\n\t\t}\n\t"));return React.createElement(React.Fragment,null,React.createElement(f.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ge,tabAllStyles:fe,mobileAllStyles:ye,editorDesktopStyles:de,editorTabStyles:me,editorMobileStyles:ue,blockName:n}))}function N(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function P(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?N(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const O=(0,s.memo)((0,f.withBlockContext)(C)(function(e){var t=e.attributes,a=e.setAttributes,n=e.className,r=e.clientId,c=e.isSelected,b=t.blockId,m=(t.blockMeta,t.resOption,t["".concat(u,"Range")]),y=(t["TAB".concat(u,"Range")],t["MOB".concat(u,"Range")],t["".concat(g,"Range")],t["TAB".concat(g,"Range")],t["MOB".concat(g,"Range")],t.colAli,t.rowOverFlow,t.classHook),h=(0,s.useState)(!1),v=(0,l.A)(h,2),w=v[0],k=v[1],R=(0,s.useState)(0),_=(0,l.A)(R,2),C=_[0],E=_[1],x=(0,s.useState)(0),S=(0,l.A)(x,2),N=S[0],O=S[1],I=(0,s.useState)(0),D=(0,l.A)(I,2),A=D[0],M=D[1],L=(0,s.useState)(0),F=(0,l.A)(L,2),j=F[0],H=F[1],z=(0,s.useState)(0),U=(0,l.A)(z,2),V=U[0],G=U[1],q=(0,s.useState)(!1),W=(0,l.A)(q,2),Z=W[0],J=W[1],Y=(0,s.useState)(!1),Q=(0,l.A)(Y,2),X=Q[0],$=Q[1],K=(0,s.useRef)(null),ee=(0,s.useRef)(null);(0,s.useEffect)(function(){var e=(0,p.select)("core/block-editor").getAdjacentBlockClientId(r)||!1,t=e?(0,p.select)("core/block-editor").getBlockAttributes(e).cw_Range:0,a=(0,p.select)("core/block-editor").getPreviousBlockClientId(r)||!1,n=a?(0,p.select)("core/block-editor").getBlockAttributes(a).cw_Range:0,o=(0,p.select)("core/block-editor").getBlockInsertionPoint(r).index;E(t),O(o),M(m),J(e),$(a),H(t),G(n)},[N]);var te=(0,p.select)("core/block-editor").getBlockInsertionPoint(r).index;te!==N&&O(te);var ae=(0,s.useState)(!1),ne=(0,l.A)(ae,2),oe=ne[0],re=ne[1],le=(0,s.useState)(!1),ce=(0,l.A)(le,2),ie=ce[0],se=ce[1],pe=(0,s.useState)(!1),be=(0,l.A)(pe,2),de=be[0],me=be[1],ue=(0,s.useState)({desktop:0,tab:0,mobile:0}),ge=(0,l.A)(ue,2),fe=ge[0],ye=ge[1],he=(0,s.useState)({desktop:1,tab:1,mobile:1}),ve=(0,l.A)(he,2),we=ve[0],ke=ve[1],Re=(0,p.select)("core/block-editor").getBlockParents(r),_e=(0,p.useSelect)(function(e){return e("core/block-editor").getBlock(Re[Re.length-1])});(0,s.useEffect)(function(){if(!_e||!_e.attributes)return function(){};var e=_e.attributes,t=e.colOrder_Option,a=e.TABcolOrder_Option,n=e.MOBcolOrder_Option,o=e.clGp_Range,r=e.TABclGp_Range,l=e.MOBclGp_Range,c=e.clNum_Range,i=e.TABclNum_Range,s=e.MOBclNum_Range;re("custom"===t),se("custom"===a),me("custom"===n),ye({desktop:o,tab:r,mobile:l}),ke({desktop:c,tab:i||2,mobile:s||1})},[_e]);var Ce=P(P({},e),{},{blockPrefix:"eb-column",rootClass:"eb-guten-block-main-parent-wrapper eb-column-editor-wrap eb-column-editor-wrap-".concat(b),style:React.createElement(T,(0,o.A)({},e,{isColumnOrder_Custom_Desktop:oe,isColumnOrder_Custom_Tab:ie,isColumnOrder_Custom_Mobile:de,columnGap:fe,columnNumber:we}))});return(0,i.useBlockProps)({className:d()(n,"eb-guten-block-main-parent-wrapper eb-column-editor-wrap eb-column-editor-wrap-".concat(b))}),(0,s.useEffect)(function(){var e=K.current,t=ee.current;if(t&&e){var n=function(t){var n=(0,p.select)("core/block-editor").getBlock((0,p.select)("core/block-editor").getBlockParents(r).slice(-1)[0]).innerBlocks,c=n.reduce(function(e,t){return{attributes:{cw_Range:e.attributes.cw_Range+t.attributes.cw_Range}}},{attributes:{cw_Range:0}}).attributes.cw_Range,i=Z?(0,p.select)("core/block-editor").getBlockAttributes(Z).cw_Range:0,s=m,b="";if(100!==c){var d=P({},n.reduce(function(e,t){return e.attributes.cw_Range<t.attributes.cw_Range?t:e},{attributes:{cw_Range:0}}));b=d.clientId;var u=d.attributes.cw_Range+100-c;b===r?(a({cw_Range:u}),M(u),s=u):((0,p.dispatch)("core/block-editor").updateBlockAttributes(b,{cw_Range:u}),b===Z?(i=u,H(u)):b===X&&G(u))}if(k(!0),(0,p.select)("core/block-editor").getSelectedBlockCount()>1)return!1;E(i);var g=e.parentElement.getBoundingClientRect();if(o=g.width,l=m/o,eb_conditional_localize&&"edit-site"===eb_conditional_localize.editor_type){var f=document.querySelector("iframe.edit-site-visual-editor__editor-canvas").contentWindow.document.body;f.addEventListener("mousemove",_),f.addEventListener("mouseup",R)}else window.addEventListener("mousemove",_),window.addEventListener("mouseup",R);var y=t.clientX,h=0,v=0,w=0;function R(e){if(k(!1),eb_conditional_localize&&"edit-site"===eb_conditional_localize.editor_type){var t=document.querySelector("iframe.edit-site-visual-editor__editor-canvas").contentWindow.document.body;t.removeEventListener("mousemove",_),t.removeEventListener("mouseup",R)}else window.removeEventListener("mousemove",_),window.removeEventListener("mouseup",R)}function _(e){h=y-e.clientX;var t=Math.round(100*(s-h*l)),n=Math.round(100*(i+h*l)),o=t/100,r=0;if(t%500>460){var c=Math.ceil(o);r=c-o,o=c}else if(t%500<70){var b=Math.floor(o);r=b-o,o=b}var d=(n-Math.round(100*r))/100;if(d<4||o<4)return!1;v=o,w=d,(0,p.dispatch)("core/block-editor").updateBlockAttributes(Z,{cw_Range:w}),E(w),a({cw_Range:v})}},o=0,l=0;return t.addEventListener("mousedown",n),function(){t.removeEventListener("mousedown",n)}}},[ee,m,K,Z,X,w]),React.createElement(React.Fragment,null,c&&React.createElement(B,(0,o.A)({},e,{colWrap:K,initColWidth:A,initNextColWidth:j,initPrevColWidth:V,nextBlockClientId:Z,prevBlockClientId:X,setInitColWidth:M,setInitNextColWidth:H,setInitPrevColWidth:G})),React.createElement(f.BlockProps.Edit,Ce,Z&&React.createElement("div",{className:"width-dragger-change",ref:ee},React.createElement("div",{className:"dragger-inner"},w?React.createElement("div",{className:"cols-width-tooltip"},React.createElement("span",null,Math.round(100*m)/100),React.createElement("span",{className:"dashicons dashicons-leftright"}),React.createElement("span",null,Math.round(100*C)/100)):React.createElement("span",{className:"dashicons dashicons-leftright"}))),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(b," ").concat(y)},React.createElement("div",{className:"eb-column-wrapper ".concat(b),ref:K},React.createElement("div",{className:"eb-column-inner"},React.createElement(i.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:(0,p.select)("core/block-editor").getBlockOrder(r).length>0?void 0:i.InnerBlocks.ButtonBlockAppender}))))))})),I=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Column","name":"essential-blocks/column","description":"A single column within a Row block.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","parent":["essential-blocks/row"],"supports":{"inserter":false,"reusable":false,"html":false}}');function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function A(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?D(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):D(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const M=[{attributes:A({},C),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=i.useBlockProps.save();return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n," ").concat(o.className)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(i.InnerBlocks.Content,null)))))}},{attributes:A({},C),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(i.InnerBlocks.Content,null)))))}},{attributes:A({},C),supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t=e.attributes.blockId;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-column-wrapper ".concat(t)},React.createElement("div",{className:"eb-column-inner"},React.createElement(i.InnerBlocks.Content,null))))}}];var L,F;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},j.apply(null,arguments)}(0,f.ebConditionalRegisterBlockType)(I,{icon:function(e){return c.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),L||(L=c.createElement("path",{fill:"#6C3BFF",d:"M9.494 3.433v17.65h-1V3.432zM15.506 3.433v17.65h-1V3.432z"})),F||(F=c.createElement("path",{fill:"#6C3BFF",d:"M20.293 3.993a.216.216 0 0 0-.216-.216H3.86a.216.216 0 0 0-.215.216V20.21c0 .119.096.215.216.215h16.217a.216.216 0 0 0 .216-.215zm1 16.218c0 .67-.544 1.215-1.216 1.215H3.86a1.216 1.216 0 0 1-1.215-1.215V3.993c0-.672.544-1.216 1.216-1.216h16.217c.672 0 1.216.544 1.216 1.216z"})))},attributes:C,edit:O,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(React.Fragment,null,React.createElement(f.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-column-wrapper ".concat(a)},React.createElement("div",{className:"eb-column-inner"},React.createElement(i.InnerBlocks.Content,null))))))},example:{attributes:{}},deprecated:M})},8500:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(2284),l=a(3453),c=a(1609),i=a(8468),s=a(4715),p=a(5694),b=a(2902),d=a(9394),m=a(6427),u=a(3029),g=a(2901),f=a(6822),y=a(3954),h=a(5501),v=a(9877),w=a(1021),k=a(8088),R=a.n(k);function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_=function(){return!!e})()}var C={fontSize:14,borderLeft:"1px solid #b4b4cb",lineHeight:"2.5em",flex:2,textAlign:"center",display:"flex",justifyContent:"center"},E=(0,w.D)(function(){return React.createElement("span",{className:"drag-handle"},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{height:14}},React.createElement("path",{d:"M512 256L402.6 146.6 402.6 210.3 301 210.3 301 109.4 365.4 109.4 256 0 146.6 109.4 211 109.4 211 210.3 109.4 210.3 109.4 146.6 0 256 109.4 365.4 109.4 300.3 211 300.3 211 402.6 146.6 402.6 256 512 365.4 402.6 301 402.6 301 300.3 402.6 300.3 402.6 365.4z",style:{fill:"#a9a9a9"}})))}),x=function(e){var t=e.position,a=e.onDeleteItem;return React.createElement("span",{className:"eb-social-delete-icon",style:C,onClick:function(){return a(t)}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",enableBackground:"new 0 0 512 512",version:"1.1",viewBox:"0 0 512 512",xmlSpace:"preserve",style:{width:14}},React.createElement("path",{d:"M423.3 86.6H89c-16.8.1-32.2 9.3-40.1 24.1-7.9 14.8-7.1 32.7 2.2 46.8l37.2 55.6V456c0 30.9 25.1 56 56 56h223.9c30.9 0 56-25.1 56-56V213.1l37.2-56c9.1-14 9.8-31.8 1.9-46.5-8.1-14.7-23.4-23.9-40-24zm-198 347c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zm112 0c0 13.9-11.3 25.2-25.2 25.2-13.9 0-25.2-11.3-25.2-25.2V220.9c0-13.9 11.3-25.2 25.2-25.2 13.9 0 25.2 11.3 25.2 25.2v212.7zM325.8 19.4C309.9 7.1 290.2 0 269.3 0h-26.4c-20.9 0-40.6 7.1-56.5 19.4-11.2 8.7-20.5 20.1-26.9 33.4h193.1c-6.3-13.3-15.6-24.7-26.8-33.4z",style:{fill:"#FF6464"}})))},S=(0,w.Zj)(function(e){var t=e.text,a=e.position,o=e.onTitleClick,r=e.onTextChange,l=e.clickedIndex,c=e.onDeleteItem;return React.createElement("li",{className:"drag-helper"},React.createElement("span",{className:"eb-sortable-item"},React.createElement("span",{className:"eb-sortable-title",onClick:function(){return o(a)}},t),React.createElement(E,null),React.createElement(x,{position:a,onDeleteItem:c})),l===a&&React.createElement("div",{className:"eb-typed-input-wrapper"},React.createElement(p.EBTextControl,{label:(0,n.__)("Typed Text","essential-blocks"),value:t,onChange:function(e){return r(e,a)},enableAi:!0,placeholder:(0,n.__)("Add text","essential-blocks")})))}),B=(0,w.q6)(function(e){var t=e.typedText,a=e.onTitleClick,n=e.onTextChange,o=e.clickedIndex,r=e.onDeleteItem;return React.createElement("ul",{className:"eb-sortable-typing-list"},t.map(function(e,t){return React.createElement(S,{key:"item-".concat(t),index:t,position:t,text:e.text,onTitleClick:a,onTextChange:n,clickedIndex:o,onDeleteItem:r})}))});const T=function(e){function t(){var e,a,n,r;(0,u.A)(this,t);for(var l=arguments.length,c=new Array(l),i=0;i<l;i++)c[i]=arguments[i];return a=this,n=t,r=[].concat(c),n=(0,y.A)(n),e=(0,f.A)(a,_()?Reflect.construct(n,r||[],(0,y.A)(a).constructor):n.apply(a,r)),(0,o.A)(e,"state",{clickedIndex:null}),(0,o.A)(e,"onSortEnd",function(t){var a=t.oldIndex,n=t.newIndex,o=R()(e.props.typedText,a,n);e.props.setAttributes({typedText:o})}),(0,o.A)(e,"onTitleClick",function(t){var a=e.state.clickedIndex===t?null:t;e.setState({clickedIndex:a})}),(0,o.A)(e,"onTextChange",function(t,a){var n=(0,d.A)(e.props.typedText);n[a].text=(0,v.escapeHTML)(t),e.props.setAttributes({typedText:n})}),(0,o.A)(e,"onDeleteItem",function(t){var a=(0,d.A)(e.props.typedText).filter(function(e,a){return t!==a});e.props.setAttributes({typedText:a})}),e}return(0,h.A)(t,e),(0,g.A)(t,[{key:"render",value:function(){return React.createElement(B,{typedText:this.props.typedText,clickedIndex:this.state.clickedIndex,onTitleClick:this.onTitleClick,onTextChange:this.onTextChange,onDeleteItem:this.onDeleteItem,onSortEnd:this.onSortEnd,useDragHandle:!0})}}])}(i.Component);var N="prefixText",P="suffixText",O="typedText",I="margin",D="padding",A="wrp_",M="backgroundWrp_";function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function F(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?L(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const j=F(F(F(F(F(F(F(F({resOption:{type:"string",default:"Desktop"},uniqueIdNumber:{type:"number"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},prefix:{type:"string",source:"text",selector:".eb-typed-prefix"},typedText:{type:"array",source:"query",selector:".eb-typed-text",query:{text:{type:"string",source:"text"}},default:[]},suffix:{type:"string",source:"text",selector:".eb-typed-suffix"},prefixColor:{type:"string",default:"var(--eb-global-primary-color)"},typedTextColor:{type:"string",default:"var(--eb-global-primary-color)"},suffixTextColor:{type:"string",default:"var(--eb-global-primary-color)"},typeSpeed:{type:"number",default:50},startDelay:{type:"number",default:0},smartBackspace:{type:"boolean",default:!0},backSpeed:{type:"number",default:40},backDelay:{type:"number",default:700},fadeOut:{type:"boolean",default:!1},fadeOutDelay:{type:"number",default:500},loop:{type:"boolean",default:!1},showCursor:{type:"boolean",default:!0},textAlign:{type:"string",default:"left"}},(0,p.generateTypographyAttributes)(N,{fontSize:22})),(0,p.generateTypographyAttributes)(P,{fontSize:22})),(0,p.generateTypographyAttributes)(O,{fontSize:22})),(0,p.generateBorderShadowAttributes)(A)),(0,p.generateDimensionsAttributes)(I)),(0,p.generateDimensionsAttributes)(D)),(0,p.generateBackgroundAttributes)(M,{noOverlay:!0,noMainBgi:!0})),{},{typedTextFontWeight:{type:"string",default:600},prefixTextFontWeight:{type:"string",default:600},suffixTextFontWeight:{type:"string",default:600}}),H=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.prefix),r=t.typedText,l=t.suffix,c=t.prefixColor,i=t.typedTextColor,s=t.suffixTextColor,b=t.typeSpeed,u=t.startDelay,g=t.smartBackspace,f=t.backSpeed,y=t.backDelay,h=t.fadeOut,v=t.fadeOutDelay,w=t.loop,k=t.showCursor;return React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:I,paddingPrefix:D,backgroundPrefix:M,borderPrefix:A,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,n.__)("Content Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,n.__)("Prefix Text","essential-blocks"),placeholder:(0,n.__)("Add prefix text","essential-blocks"),value:o,onChange:function(e){return a({prefix:e})},enableAi:!0}),React.createElement(m.BaseControl,{label:(0,n.__)("Typed Text","essential-blocks")},0!==r.length&&React.createElement(T,{typedText:r,setAttributes:a}),React.createElement(m.Button,{className:"is-default eb-typed-add-wrapper",label:(0,n.__)("Add Typed Item","essential-blocks"),icon:"plus-alt",onClick:function(){var e=[].concat((0,d.A)(r),[{text:"Typed text ".concat(r.length+1)}]);a({typedText:e})}},React.createElement("span",{className:"eb-typed-add-button"},"Add Typed Text"))),React.createElement(p.EBTextControl,{label:(0,n.__)("Suffix Text","essential-blocks"),placeholder:(0,n.__)("Add suffix text","essential-blocks"),value:l,onChange:function(e){return a({suffix:e})},enableAi:!0}),React.createElement(m.ToggleControl,{label:(0,n.__)("Loop","essential-blocks"),checked:w,onChange:function(){return a({loop:!w})}}),!h&&React.createElement(m.ToggleControl,{label:(0,n.__)("Smart Backspace","essential-blocks"),checked:g,onChange:function(){return a({smartBackspace:!g})}}),React.createElement(m.ToggleControl,{label:(0,n.__)("Show Cursor","essential-blocks"),checked:k,onChange:function(){return a({showCursor:!k})}}),React.createElement(m.ToggleControl,{label:(0,n.__)("Fade Out","essential-blocks"),checked:h,onChange:function(){return a({fadeOut:!h})}}),React.createElement(m.RangeControl,{label:(0,n.__)("Type Speed","essential-blocks"),value:b,onChange:function(e){return a({typeSpeed:e})},min:0,max:5e3}),React.createElement(m.RangeControl,{label:(0,n.__)("Start Delay","essential-blocks"),value:u,onChange:function(e){return a({startDelay:e})},min:0,max:1e3}),!h&&React.createElement(m.RangeControl,{label:(0,n.__)("Back Speed","essential-blocks"),value:f,onChange:function(e){return a({backSpeed:e})},min:0,max:5e3}),!h&&React.createElement(m.RangeControl,{label:(0,n.__)("Back Delay","essential-blocks"),value:y,onChange:function(e){return a({backDelay:e})},min:0,max:1e4}),h&&React.createElement(m.RangeControl,{label:(0,n.__)("Fade Delay","essential-blocks"),value:v,onChange:function(e){return a({fadeOutDelay:e})},min:0,max:5e3}))),React.createElement(p.InspectorPanel.Style,null,React.createElement(React.Fragment,null,o&&React.createElement(p.InspectorPanel.PanelBody,{title:(0,n.__)("Prefix","essential-blocks"),initialOpen:!0},React.createElement(p.ColorControl,{label:(0,n.__)("Prefix Color","essential-blocks"),color:c,attributeName:"prefixColor"}),React.createElement(p.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:N})),r.length>0&&React.createElement(p.InspectorPanel.PanelBody,{title:(0,n.__)("Typed Text","essential-blocks"),initialOpen:!0},React.createElement(p.ColorControl,{label:(0,n.__)("Typed Text Color","essential-blocks"),color:i,attributeName:"typedTextColor"}),React.createElement(p.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:O})),l&&React.createElement(p.InspectorPanel.PanelBody,{title:(0,n.__)("Suffix","essential-blocks"),initialOpen:!1},React.createElement(p.ColorControl,{label:(0,n.__)("Suffix Color","essential-blocks"),color:s,attributeName:"suffixTextColor"}),React.createElement(p.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:P})))))};function z(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.prefixColor,l=t.typedTextColor,c=t.suffixTextColor,i=t.textAlign,s=(0,p.generateDimensionsControlStyles)({controlName:I,styleFor:"margin",attributes:t}),b=s.dimensionStylesDesktop,d=s.dimensionStylesTab,m=s.dimensionStylesMobile,u=(0,p.generateDimensionsControlStyles)({controlName:D,styleFor:"padding",attributes:t}),g=u.dimensionStylesDesktop,f=u.dimensionStylesTab,y=u.dimensionStylesMobile,h=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:N}),v=h.typoStylesDesktop,w=h.typoStylesTab,k=h.typoStylesMobile,R=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:P}),_=R.typoStylesDesktop,C=R.typoStylesTab,E=R.typoStylesMobile,x=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:O}),S=x.typoStylesDesktop,B=x.typoStylesTab,T=x.typoStylesMobile,L=(0,p.generateBorderShadowStyles)({controlName:A,attributes:t}),F=L.styesDesktop,j=L.styesTab,H=L.styesMobile,z=L.stylesHoverDesktop,U=L.stylesHoverTab,V=L.stylesHoverMobile,G=L.transitionStyle,q=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:M,noOverlay:!0,noMainBgi:!0}),W=q.backgroundStylesDesktop,Z=q.hoverBackgroundStylesDesktop,J=q.bgTransitionStyle,Y="\n\n\t .eb-typed-wrapper.".concat(o," {\n\t\t ").concat(b,"\n\t\t ").concat(g,"\n\t\t ").concat(F,"\n\t\t ").concat(W,"\n\t\t text-align: ").concat(i,";\n\t\t transition: ").concat(J,", ").concat(G,";\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(Z,"\n\t\t ").concat(z,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":before {\n\t\t z-index: -11;\n\t }\n\t "),Q="\n\t .eb-typed-wrapper.".concat(o,"{\n\t\t ").concat(d,"\n\t\t ").concat(f,"\n\t\t ").concat(j,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(U,"\n\t }\n\t "),X="\n\t .eb-typed-wrapper.".concat(o,"{\n\t\t ").concat(m,"\n\t\t ").concat(y,"\n\t\t ").concat(H,"\n\t }\n\n\t .eb-typed-wrapper.").concat(o,":hover {\n\t\t ").concat(V,"\n\t }\n\t "),$="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(v,"\n\t\t color: ").concat(r||"#fff",";\n\t }\n\t "),K="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(w,"\n\t }\n\t "),ee="\n\t .".concat(o," .eb-typed-prefix{\n\t\t ").concat(k,"\n\t }\n\t "),te="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(_,"\n\t\t color: ").concat(c||"#fff",";\n\t }\n\t "),ae="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(C,"\n\t }\n\t "),ne="\n\t .".concat(o," .eb-typed-suffix{\n\t\t ").concat(E,"\n\t }\n\t "),oe="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view,.").concat(o," .typed-cursor{\n\t\t ").concat(S,"\n\t\t color: ").concat(l||"#fff",";\n\t }\n\t "),re="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view, .").concat(o," .typed-cursor{\n\t\t ").concat(B,"\n\t }\n\t "),le="\n\t .".concat(o," .eb-typed-text,.").concat(o," .eb-typed-view, .").concat(o," .typed-cursor{\n\t\t ").concat(T,"\n\t }\n\t "),ce=(0,p.softMinifyCssStrings)("\n\t\t ".concat(Y,"\n\t\t ").concat($,"\n\t\t ").concat(te,"\n\t\t ").concat(oe,"\n\t ")),ie=(0,p.softMinifyCssStrings)("\n\t\t ".concat(Q,"\n\t\t ").concat(K,"\n\t\t ").concat(ae,"\n\t\t ").concat(re,"\n\t ")),se=(0,p.softMinifyCssStrings)("\n\t\t ".concat(X,"\n\t\t ").concat(ee,"\n\t\t ").concat(ne,"\n\t\t ").concat(le,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ce,tabAllStyles:ie,mobileAllStyles:se,blockName:n}))}function U(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function V(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?U(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):U(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const G=(0,i.memo)((0,p.withBlockContext)(j)(function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId,e.isSelected),o=(e.name,t.blockId),c=(t.blockMeta,t.resOption,t.prefix),d=t.typedText,m=t.typeSpeed,u=t.startDelay,g=t.smartBackspace,f=t.backSpeed,y=t.backDelay,h=t.fadeOut,w=t.fadeOutDelay,k=t.loop,R=t.showCursor,_=t.suffix,C=t.textAlign,E=t.classHook,x=(0,i.useRef)(null),S=(0,i.useState)(null),B=(0,l.A)(S,2),T=B[0],N=B[1],P=function(){var e=t.typedText,a=t.typeSpeed,n=t.startDelay,o=t.smartBackspace,r=t.backSpeed,l=t.backDelay,c=t.fadeOut,i=t.fadeOutDelay,s=t.loop,p=t.showCursor;return{strings:O(e),typeSpeed:a,startDelay:n,smartBackspace:o,backSpeed:r,backDelay:l,fadeOut:c,fadeOutDelay:i,loop:s,showCursor:p}},O=function(e){var t=[];return"object"===(0,r.A)(e)&&e.length>0?e.map(function(e){return t.push((0,v.escapeHTML)(e.text))}):t=["first string","second string"],t};(0,i.useEffect)(function(){T&&(T.destroy(),N(new b.A(x.current,P())))},[d,m,u,g,f,y,h,w,k,R]);var I=V(V({},e),{},{blockPrefix:"eb-typing-text",style:React.createElement(z,e)});return(0,i.useEffect)(function(){0===d.length&&(a({typedText:[{text:"first string"},{text:"second string"}]}),a({prefix:"This is the "}),a({suffix:"of the sentence."}));var e=new b.A(x.current,P());return N(e),function(){T&&T.destroy()}},[]),d?React.createElement(React.Fragment,null,React.createElement(s.BlockControls,null,React.createElement(s.AlignmentToolbar,{value:C,onChange:function(e){return a({textAlign:e})}})),n&&React.createElement(H,{attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,I,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(E)},React.createElement("div",{className:"eb-typed-wrapper ".concat(o),"data-id":o},React.createElement("span",{className:"eb-typed-prefix"},c),React.createElement("span",{className:"eb-typed-text",ref:x}),React.createElement("span",{className:"eb-typed-suffix"},_))))):React.createElement("div",null)})),q=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Typing Text","name":"essential-blocks/typing-text","description":"Make your website interactive with typing text animation.","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');function W(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?W(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const J=[{attributes:Z({},j),save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,l=t.typeSpeed,c=t.startDelay,i=t.smartBackspace,p=t.backSpeed,b=t.backDelay,d=t.fadeOut,m=t.fadeOutDelay,u=t.loop,g=t.showCursor,f=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":l,"data-start-delay":c,"data-smart-backspace":i,"data-back-speed":p,"data-back-delay":b,"data-fade":d,"data-fade-delay":m,"data-loop":u,"data-cursor":g},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map(function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)})),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r)))))}},{attributes:Z({},j),save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,l=t.typeSpeed,c=t.startDelay,i=t.smartBackspace,p=t.backSpeed,b=t.backDelay,d=t.fadeOut,m=t.fadeOutDelay,u=t.loop,g=t.showCursor;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":l,"data-start-delay":c,"data-smart-backspace":i,"data-back-speed":p,"data-back-delay":b,"data-fade":d,"data-fade-delay":m,"data-loop":u,"data-cursor":g},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map(function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)})),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r))))}}];var Y,Q;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},X.apply(null,arguments)}(0,p.ebConditionalRegisterBlockType)(q,{icon:function(e){return c.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),Y||(Y=c.createElement("path",{fill:"#6C3BFF",d:"M54.343 0H5.657C2.571 0 0 2.571 0 5.657v48.686C0 57.429 2.571 60 5.657 60h48.686C57.429 60 60 57.429 60 54.343V5.657C60 2.571 57.429 0 54.343 0m3.086 54.343a3.073 3.073 0 0 1-3.086 3.086H5.657a3.073 3.073 0 0 1-3.086-3.086V5.657a3.073 3.073 0 0 1 3.086-3.086h48.686a3.073 3.073 0 0 1 3.086 3.086z"})),Q||(Q=c.createElement("path",{fill:"#6C3BFF",d:"M50.4 42.943H38.486c-.686 0-1.286.6-1.286 1.286 0 .685.6 1.285 1.286 1.285H50.4c.686 0 1.286-.6 1.286-1.285 0-.686-.6-1.286-1.286-1.286M38.914 21.6v-5.229c0-1.114-1.028-1.885-1.885-1.885H10.2c-1.114 0-1.886 1.028-1.886 1.885V21.6c0 .6.257 1.114.6 1.371.343.343.943.6 1.372.6H12.6c1.114 0 1.886-1.028 1.886-1.885V21h6.085v18.429H17.83c-1.115 0-1.886 1.028-1.886 1.885v2.315c0 1.114 1.028 1.885 1.886 1.885H30c1.114 0 1.886-1.028 1.886-1.885V41.4c.085-.429-.086-.857-.429-1.2A1.83 1.83 0 0 0 30 39.514h-3.257v-18.6h6.086v.686c0 1.114 1.028 1.886 1.885 1.886h2.315c1.114 0 1.885-.943 1.885-1.886m-5.057-2.829h-8.143c-.6 0-1.028.429-1.028 1.029v20.657c0 .6.428 1.029 1.028 1.029h4.115v1.885H18.086v-1.885h3.6c.6 0 1.028-.429 1.028-1.029V19.886c0-.6-.428-1.029-1.028-1.029h-8.229c-.6 0-1.028.429-1.028 1.029v1.543H10.37v-4.886h26.487v4.8h-1.886V19.8c-.085-.514-.514-1.029-1.114-1.029"})))},keywords:[(0,n.__)("Typing Text","essential-blocks"),(0,n.__)("animated Text","essential-blocks"),(0,n.__)("eb typing","essential-blocks")],attributes:j,edit:G,save:function(e){var t=e.attributes,a=t.blockId,n=t.prefix,o=t.typedText,r=t.suffix,l=t.typeSpeed,c=t.startDelay,i=t.smartBackspace,s=t.backSpeed,b=t.backDelay,d=t.fadeOut,m=t.fadeOutDelay,u=t.loop,g=t.showCursor,f=t.classHook;return React.createElement(p.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"eb-typed-wrapper ".concat(a),"data-id":a},React.createElement("div",{className:"eb-typed-content","data-type-speed":l,"data-start-delay":c,"data-smart-backspace":i,"data-back-speed":s,"data-back-delay":b,"data-fade":d,"data-fade-delay":m,"data-loop":u,"data-cursor":g},React.createElement("span",{className:"eb-typed-prefix"},n),React.createElement("span",{className:"eb-typed-text-wrapper is-hidden"},o.map(function(e,t){return React.createElement("span",{key:t,className:"eb-typed-text"},e.text)})),React.createElement("span",{className:"eb-typed-view"}),React.createElement("span",{className:"eb-typed-suffix"},r)))))},example:{attributes:{}},deprecated:J})},8537:e=>{e.exports=window.wp.htmlEntities},8717:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(4715),i=a(6427),s=a(8468),p=a(5694);function b(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=t.parentBlockId,l=t.accordionLists,c=t.itemId,i=null==l?void 0:l.find(function(e){return e.id==c}),s=(0,p.softMinifyCssStrings)("\n ".concat(null!=i&&i.accordionColor?".".concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r,",\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .title-content-").concat(r," {\n background: ").concat(null==i?void 0:i.accordionColor,";\n }"):"","\n ").concat(null!=i&&i.titleColor?".".concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-title,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .eb-accordion-title {\n color: ").concat(null==i?void 0:i.titleColor,";\n }"):"","\n ").concat(null!=i&&i.iconColor?".".concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-icon {\n color: ").concat(null==i?void 0:i.iconColor,";\n }"):"","\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-title-prefix-text,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-title-prefix-icon,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .eb-accordion-title-prefix-text,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .eb-accordion-title-prefix-icon {\n color: ").concat(null==i?void 0:i.titlePrefixColor,";\n background: ").concat(null==i?void 0:i.titlePrefixBGColor,"\n }\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-title-suffix-text,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-title-wrapper-").concat(r," .eb-accordion-title-suffix-icon,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .eb-accordion-title-suffix-text,\n .").concat(r,".eb-accordion-container .").concat(o,".eb-accordion-wrapper .eb-accordion-content .eb-accordion-title-suffix-icon {\n color: ").concat(null==i?void 0:i.titleSuffixIconColor,";\n background: ").concat(null==i?void 0:i.titleSuffixBGColor,";\n }\n\n\t")),b=(0,p.softMinifyCssStrings)(""),d=(0,p.softMinifyCssStrings)("");return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:s,tabAllStyles:b,mobileAllStyles:d,blockName:n}))}const d={resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},itemId:{type:"number"},inheritedAccordionType:{type:"string",default:"accordion"},inheritedTagName:{type:"string",default:"h3"},inheritedDisplayIcon:{type:"boolean",default:!0},inheritedTabIcon:{type:"string"},inheritedExpandedIcon:{type:"string"},faqSchema:{type:"boolean",default:!1},parentBlockId:{type:"string"},accordionLists:{type:"array",default:[]},accordionType:{type:"string",default:"accordion"},title:{type:"string"},titleColor:{type:"string"},clickable:{type:"boolean",default:!1},accordionColor:{type:"string"},iconColor:{type:"string"},titlePrefixType:{type:"string",default:"none"},titlePrefixColor:{type:"string"},titlePrefixImgUrl:{type:"string",default:""},titlePrefixImgId:{type:"string"},titlePrefixImgAlt:{type:"string"},titleSuffixType:{type:"string",default:"none"},titleSuffixIconColor:{type:"string"},titleSuffixImgUrl:{type:"string",default:""},titleSuffixImgId:{type:"string"},titleSuffixImgAlt:{type:"string"},titleSuffixText:{type:"string",default:"Suffix"},titlePrefixText:{type:"string",default:"Prefix"},titlePrefixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-users"},titleSuffixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-site"}};var m=a(7143);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const f=(0,s.memo)((0,p.withBlockContext)(d)(function(e){var t=e.attributes,a=e.setAttributes,r=e.context,l=e.clientId,d=t.blockId,u=t.parentBlockId,f=t.inheritedTagName,y=t.inheritedDisplayIcon,h=t.inheritedTabIcon,v=t.inheritedExpandedIcon,w=t.accordionLists,k=t.itemId,R=t.accordionType,_=t.inheritedAccordionType,C=g(g({},e),{},{rootClass:"eb-guten-block-main-parent-wrapper eb-accordion-item",blockPrefix:"eb-accordion-item",style:React.createElement(b,e)}),E=(0,s.useRef)(null),x=(0,m.dispatch)("core/block-editor").selectBlock;(0,s.useEffect)(function(){var e,t=(null===(e=r["eb/accordionLists"])||void 0===e?void 0:e.filter(function(e){return e.id==k}))||[];a({parentBlockId:r["eb/accordionParentBlockId"],inheritedAccordionType:r["eb/accordionInheritedAccordionType"],inheritedDisplayIcon:r["eb/accordionInheritedDisplayIcon"],inheritedTabIcon:r["eb/accordionInheritedTabIcon"],inheritedExpandedIcon:r["eb/accordionInheritedExpandedIcon"],inheritedTagName:r["eb/accordionInheritedTagName"],faqSchema:r["eb/accordionFaqSchema"],accordionLists:t,accordionType:r["eb/accordionType"]})},[r["eb/accordionParentBlockId"],r["eb/accordionInheritedAccordionType"],r["eb/accordionInheritedDisplayIcon"],r["eb/accordionInheritedTabIcon"],r["eb/accordionInheritedExpandedIcon"],r["eb/accordionInheritedTagName"],r["eb/accordionFaqSchema"],r["eb/accordionLists"],r["eb/accordionType"]]);var S=null==w?void 0:w.find(function(e){return e.id==k});return React.createElement(React.Fragment,null,React.createElement(p.BlockProps.Edit,C,React.createElement("div",{className:"".concat(d," eb-accordion-wrapper-").concat(u," eb-accordion-wrapper for_edit_page eb-accordion-hidden"),"data-clickable":null==S?void 0:S.clickable},React.createElement("div",(0,o.A)({className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(u).concat("horizontal"==_?" eb-accordion-horizontal-enable":""),onClick:function(){var e=(0,p.getBlockParentClientId)(l,"essential-blocks/accordion"),t=e?(0,m.select)("core/block-editor").getBlock(e):null,a=E.current.querySelector(".eb-accordion-title"),n=E.current.querySelector(".eb-accordion-title-prefix-text"),o=E.current.querySelector(".eb-accordion-title-suffix-text");a&&a.setAttribute("contenteditable",!1),n&&n.setAttribute("contenteditable",!1),o&&o.setAttribute("contenteditable",!1);var r=E.current.nextElementSibling,c=E.current.getAttribute("data-tab-icon"),i=E.current.getAttribute("data-expanded-icon"),s=E.current.children[0].children[0],b=E.current.closest(".eb-accordion-wrapper"),d=E.current.closest(".eb-accordion-inner").querySelectorAll(".eb-accordion-wrapper");if(b.classList.toggle("eb-accordion-hidden"),"horizontal"===R&&(d.forEach(function(e){e.classList.remove("editor-expanded")}),b.classList.toggle("editor-expanded")),"block"===r.style.display){if(r.style.display="none",r.style.opacity="0","I"===s.tagName||"SPAN"===s.tagName){s.removeAttribute("class"),c=(0,p.getIconClass)(c).split(" ");for(var g=0;g<c.length;g++)s.classList.add(c[g]);s.classList.add("eb-accordion-icon")}}else if(r.style.display="block",r.style.opacity="1","I"===s.tagName||"SPAN"===s.tagName){s.removeAttribute("class"),i=(0,p.getIconClass)(i).split(" ");for(var f=0;f<i.length;f++)s.classList.add(i[f]);s.classList.add("eb-accordion-icon")}t&&((0,m.dispatch)("essential-blocks").setBlockData(u,{tabName:"general",panelName:"general-individual accordion item"}),(0,m.dispatch)("core/block-editor").updateBlockAttributes(t.clientId,{activeAccordionIndex:k}),x(t.clientId))},ref:E,"data-tab-icon":h,"data-expanded-icon":v},"image"===R&&null!=S&&S.imageUrl?{"data-image-url":null==S?void 0:S.imageUrl}:{},"image"===R&&null!=S&&S.imageAlt?{"data-image-alt":null==S?void 0:S.imageAlt}:{}),y&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(u)},React.createElement(p.EBDisplayIcon,{icon:h,className:"eb-accordion-icon"})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(u)},"none"!==(null==S?void 0:S.titlePrefixType)&&React.createElement(React.Fragment,null,"text"===(null==S?void 0:S.titlePrefixType)&&(null==S?void 0:S.titlePrefixText)&&React.createElement(p.DynamicInputValueHandler,{value:null==S?void 0:S.titlePrefixText,tagName:"span",className:"eb-accordion-title-prefix-text",onChange:function(e){return null==S?void 0:S.titlePrefixText},readOnly:!0}),"icon"===(null==S?void 0:S.titlePrefixType)&&(null==S?void 0:S.titlePrefixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==S?void 0:S.titlePrefixIcon,className:"eb-accordion-title-prefix-icon"}),"image"===(null==S?void 0:S.titlePrefixType)?React.createElement(c.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titlePrefixImgUrl:n,titlePrefixImgId:t,titlePrefixImgAlt:o})},type:"image",value:null==S?void 0:S.titlePrefixImgId,render:function(e){var t=e.open;return null!=S&&S.titlePrefixImgUrl?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:null==S?void 0:S.titlePrefixImgUrl}):React.createElement(i.Button,{className:"eb-accordion-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}):null),React.createElement(p.DynamicInputValueHandler,{value:null==S?void 0:S.title,tagName:f,className:"eb-accordion-title",allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","core/underline","core/text-color"],onChange:function(){},readOnly:!0}),"none"!==(null==S?void 0:S.titleSuffixType)&&React.createElement(React.Fragment,null,"text"===(null==S?void 0:S.titleSuffixType)&&(null==S?void 0:S.titleSuffixText)&&React.createElement(p.DynamicInputValueHandler,{value:null==S?void 0:S.titleSuffixText,tagName:"span",className:"eb-accordion-title-suffix-text",onChange:function(e){return e},readOnly:!0}),"icon"===(null==S?void 0:S.titleSuffixType)&&(null==S?void 0:S.titleSuffixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==S?void 0:S.titleSuffixIcon,className:"eb-accordion-title-suffix-icon"}),"image"===(null==S?void 0:S.titleSuffixType)?React.createElement(c.MediaUpload,{onSelect:function(e){var t=e.id,n=e.url,o=e.alt;return a({titleSuffixImgUrl:n,titleSuffixImgId:t,titleSuffixImgAlt:o})},type:"image",value:null==S?void 0:S.titleSuffixImgId,render:function(e){var t=e.open;return null!=S&&S.titleSuffixImgUrl?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:null==S?void 0:S.titleSuffixImgUrl}):React.createElement(i.Button,{className:"eb-accordion-img-btn components-button",label:(0,n.__)("Upload Image","essential-blocks"),icon:"format-image",onClick:t})}}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(u),style:{display:"none"}},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks,{templateLock:!1}))))))}));function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var v=lodash.omit;const w=[{attributes:h({},d),supports:{inserter:!1,reusable:!1,html:!1,anchor:!0,lock:!1},save:function(e){var t=e.attributes,a=t.itemId,n=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon,s=t.parentBlockId,b=t.accordionLists,d=t.inheritedAccordionType,m=c.useBlockProps.save({className:"".concat(n," eb-accordion-wrapper")}),u=null==b?void 0:b.find(function(e){return e.id==a}),g=function(){return React.createElement("div",(0,o.A)({},m,{"data-clickable":null==u?void 0:u.clickable}),React.createElement("div",(0,o.A)({className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(s),tabIndex:0},"image"===d&&null!=u&&u.imageUrl?{"data-image-url":null==u?void 0:u.imageUrl}:{},"image"===d&&null!=u&&u.imageAlt?{"data-image-alt":null==u?void 0:u.imageAlt}:{}),l&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(s)},React.createElement("span",{className:"".concat((0,p.getIconClass)(i)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(s)},"none"!==(null==u?void 0:u.titlePrefixType)&&React.createElement(React.Fragment,null,"text"===(null==u?void 0:u.titlePrefixType)&&(null==u?void 0:u.titlePrefixText)&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:null==u?void 0:u.titlePrefixText}),"icon"===(null==u?void 0:u.titlePrefixType)&&(null==u?void 0:u.titlePrefixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==u?void 0:u.titlePrefixIcon,className:"eb-accordion-title-prefix-icon"}),"image"===(null==u?void 0:u.titlePrefixType)&&null!=u&&u.titlePrefixImgUrl?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:null==u?void 0:u.titlePrefixImgUrl,alt:null==u?void 0:u.titlePrefixImgAlt}):null),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:null==u?void 0:u.title}),"none"!==(null==u?void 0:u.titleSuffixType)&&React.createElement(React.Fragment,null,"text"===(null==u?void 0:u.titleSuffixType)&&(null==u?void 0:u.titleSuffixText)&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:null==u?void 0:u.titleSuffixText}),"icon"===(null==u?void 0:u.titleSuffixType)&&(null==u?void 0:u.titleSuffixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==u?void 0:u.titleSuffixIcon,className:"eb-accordion-title-suffix-icon"}),"image"===(null==u?void 0:u.titleSuffixType)&&null!=u&&u.titleSuffixImgUrl?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:null==u?void 0:u.titleSuffixImgUrl,alt:null==u?void 0:u.titleSuffixImgAlt}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(s)},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null),"image"===d&&(null==u?void 0:u.imageUrl)&&React.createElement("div",{className:"eb-accordion-image-wrapper-mobile"},React.createElement("img",{src:(null==u?void 0:u.imageUrl)||"",alt:(null==u?void 0:u.imageAlt)||""})))))};return React.createElement(React.Fragment,null,React.createElement(g,null))}},{attributes:h(h({},v(h({},d),["accordionLists","accordionType"])),{},{title:{type:"string"},titleColor:{type:"string"},clickable:{type:"boolean",default:!1},accordionColor:{type:"string"},iconColor:{type:"string"},titlePrefixType:{type:"string",default:"none"},titlePrefixColor:{type:"string"},titlePrefixImgUrl:{type:"string",default:""},titlePrefixImgId:{type:"string"},titlePrefixImgAlt:{type:"string"},titleSuffixType:{type:"string",default:"none"},titleSuffixIconColor:{type:"string"},titleSuffixImgUrl:{type:"string",default:""},titleSuffixImgId:{type:"string"},titleSuffixImgAlt:{type:"string"},titleSuffixText:{type:"string",default:"Suffix"},titlePrefixText:{type:"string",default:"Prefix"},titlePrefixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-users"},titleSuffixIcon:{type:"string",default:"dashicon dashicons dashicons-admin-site"}}),supports:{inserter:!1,reusable:!1,html:!1,anchor:!0,lock:!1},save:function(e){var t=e.attributes,a=t.title,n=t.clickable,r=t.blockId,l=t.inheritedTagName,i=t.inheritedDisplayIcon,s=t.inheritedTabIcon,b=t.titlePrefixType,d=t.titlePrefixText,m=t.titlePrefixIcon,u=t.titlePrefixImgUrl,g=t.titlePrefixImgAlt,f=t.titleSuffixType,y=t.titleSuffixText,h=t.titleSuffixIcon,v=t.titleSuffixImgUrl,w=t.titleSuffixImgAlt,k=t.parentBlockId,R=c.useBlockProps.save({className:"".concat(r," eb-accordion-wrapper")}),_=function(){return React.createElement("div",(0,o.A)({},R,{"data-clickable":n}),React.createElement("div",{className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(k),tabIndex:0},i&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(k)},React.createElement("span",{className:"".concat((0,p.getIconClass)(s)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(k)},"none"!==b&&React.createElement(React.Fragment,null,"text"===b&&d&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:d}),"icon"===b&&m&&React.createElement(p.EBDisplayIcon,{icon:m,className:"eb-accordion-title-prefix-icon"}),"image"===b&&u?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:u,alt:g}):null),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:l,value:a}),"none"!==f&&React.createElement(React.Fragment,null,"text"===f&&y&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:y}),"icon"===f&&h&&React.createElement(p.EBDisplayIcon,{icon:h,className:"eb-accordion-title-suffix-icon"}),"image"===f&&v?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:v,alt:w}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(k)},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null))))};return React.createElement(React.Fragment,null,React.createElement(_,null))}},{attributes:h({},d),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon,s=t.titlePrefixType,b=t.titlePrefixText,d=t.titlePrefixIcon,m=t.titlePrefixImgUrl,u=t.titlePrefixImgAlt,g=t.titleSuffixType,f=t.titleSuffixText,y=t.titleSuffixIcon,h=t.titleSuffixImgUrl,v=t.titleSuffixImgAlt;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},l&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat((0,p.getIconClass)(i)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap"},"none"!==s&&React.createElement(React.Fragment,null,"text"===s&&b&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:b}),"icon"===s&&d&&React.createElement(p.EBDisplayIcon,{icon:d,className:"eb-accordion-title-prefix-icon"}),"image"===s&&m?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:m,alt:u}):null),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a}),"none"!==g&&React.createElement(React.Fragment,null,"text"===g&&f&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:f}),"icon"===g&&y&&React.createElement(p.EBDisplayIcon,{icon:y,className:"eb-accordion-title-suffix-icon"}),"image"===g&&h?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:h,alt:v}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null)))))}},{attributes:h({},v(h({},d),["parentBlockId"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon,s=t.titlePrefixType,b=t.titlePrefixText,d=t.titlePrefixIcon,m=t.titlePrefixImgUrl,u=t.titlePrefixImgAlt,g=t.titleSuffixType,f=t.titleSuffixText,y=t.titleSuffixIcon,h=t.titleSuffixImgUrl,v=t.titleSuffixImgAlt;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},l&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat((0,p.getIconClass)(i)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap"},"none"!==s&&React.createElement(React.Fragment,null,"text"===s&&b&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:b}),"icon"===s&&d&&React.createElement(p.EBDisplayIcon,{icon:d,className:"eb-accordion-title-prefix-icon"}),"image"===s&&m?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:m,alt:u}):null),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a}),"none"!==g&&React.createElement(React.Fragment,null,"text"===g&&f&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:f}),"icon"===g&&y&&React.createElement(p.EBDisplayIcon,{icon:y,className:"eb-accordion-title-suffix-icon"}),"image"===g&&h?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:h,alt:v}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null)))))}},{attributes:h({},v(h({},d),["titlePrefixType","titlePrefixText","titlePrefixIcon","titlePrefixImgUrl","titlePrefixImgId","titlePrefixImgAlt","titleSuffixType","titleSuffixText","titleSuffixIcon","titleSuffixImgUrl","titleSuffixImgId","titleSuffixImgAlt"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper",tabIndex:0},l&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat((0,p.getIconClass)(i)," eb-accordion-icon")})),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null)))))}},{attributes:h({},d),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"".concat(o," eb-accordion-wrapper"),"data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper"},l&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(i," eb-accordion-icon")})),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null)))))}},{attributes:h({},v(h({},d),["resOption","blockId","blockRoot","blockMeta","titleColor","accordionColor","iconColor","parentBlockId"])),save:function(e){var t=e.attributes,a=t.title,n=t.clickable,o=t.inheritedTagName,r=t.inheritedDisplayIcon,l=t.inheritedTabIcon;return React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-accordion-wrapper","data-clickable":n},React.createElement("div",{className:"eb-accordion-title-wrapper"},r&&React.createElement("span",{className:"eb-accordion-icon-wrapper"},React.createElement("span",{className:"".concat(l," eb-accordion-icon")})),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:o,value:a})),React.createElement("div",{className:"eb-accordion-content-wrapper"},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null)))))}}],k=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Accordion Item","name":"essential-blocks/accordion-item","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"inserter":false,"reusable":false,"html":false,"anchor":true,"lock":false},"parent":["essential-blocks/accordion"],"usesContext":["eb/accordionParentBlockId","eb/accordionInheritedAccordionType","eb/accordionInheritedDisplayIcon","eb/accordionInheritedTabIcon","eb/accordionInheritedExpandedIcon","eb/accordionInheritedTagName","eb/accordionFaqSchema","eb/accordionLists","eb/accordionType"]}');var R,_;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},C.apply(null,arguments)}(0,p.ebConditionalRegisterBlockType)(k,{icon:function(e){return l.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),R||(R=l.createElement("path",{fill:"#6C3BFF",d:"M0 48.625c0 2.625 2.025 4.65 4.65 4.65h50.625c2.625 0 4.65-2.025 4.65-4.65V11.65c0-2.625-2.025-4.65-4.65-4.65H4.65C2.025 7 0 9.025 0 11.65zM2.475 11.65c0-1.2 1.05-2.475 2.475-2.475H55.5c1.2 0 2.475 1.05 2.475 2.475v36.975c0 1.2-1.05 2.475-2.475 2.475H4.65c-1.2 0-2.475-1.05-2.475-2.475z"})),_||(_=l.createElement("path",{fill:"#6C3BFF",d:"M48.088 19.03a.597.597 0 0 0 .834 0l2.907-2.847a.567.567 0 0 0 0-.813.597.597 0 0 0-.835 0L48.5 17.813l-2.494-2.443a.597.597 0 0 0-.835 0 .567.567 0 0 0 0 .813l2.907 2.847zM33.924 16.2H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1h24.868c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1zm16.566 17H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H50.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1zm8-8H2.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H58.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1zm-21 16H9.066c-.589 0-1.066.448-1.066 1s.477 1 1.066 1H37.5c.589 0 1.066-.448 1.066-1s-.477-1-1.066-1z"})))},attributes:d,edit:f,save:function(e){var t=e.attributes,a=t.itemId,n=t.blockId,r=t.inheritedTagName,l=t.inheritedDisplayIcon,i=t.inheritedTabIcon,s=t.parentBlockId,b=t.accordionLists,d=t.inheritedAccordionType,m=c.useBlockProps.save({className:"".concat(n," eb-accordion-wrapper")}),u=null==b?void 0:b.find(function(e){return e.id==a});return React.createElement("div",(0,o.A)({},m,{"data-clickable":null==u?void 0:u.clickable}),React.createElement("div",(0,o.A)({className:"eb-accordion-title-wrapper eb-accordion-title-wrapper-".concat(s).concat("horizontal"==d?" eb-accordion-horizontal-enable":""),tabIndex:0},"image"===d&&null!=u&&u.imageUrl?{"data-image-url":null==u?void 0:u.imageUrl}:{},"image"===d&&null!=u&&u.imageAlt?{"data-image-alt":null==u?void 0:u.imageAlt}:{}),l&&React.createElement("span",{className:"eb-accordion-icon-wrapper eb-accordion-icon-wrapper-".concat(s)},React.createElement("span",{className:"".concat((0,p.getIconClass)(i)," eb-accordion-icon")})),React.createElement("div",{className:"eb-accordion-title-content-wrap title-content-".concat(s)},"none"!==(null==u?void 0:u.titlePrefixType)&&React.createElement(React.Fragment,null,"text"===(null==u?void 0:u.titlePrefixType)&&(null==u?void 0:u.titlePrefixText)&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-prefix-text",tagName:"span",value:null==u?void 0:u.titlePrefixText}),"icon"===(null==u?void 0:u.titlePrefixType)&&(null==u?void 0:u.titlePrefixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==u?void 0:u.titlePrefixIcon,className:"eb-accordion-title-prefix-icon"}),"image"===(null==u?void 0:u.titlePrefixType)&&null!=u&&u.titlePrefixImgUrl?React.createElement("img",{className:"eb-accordion-title-prefix-img",src:null==u?void 0:u.titlePrefixImgUrl,alt:null==u?void 0:u.titlePrefixImgAlt}):null),React.createElement(c.RichText.Content,{className:"eb-accordion-title",tagName:r,value:null==u?void 0:u.title}),"none"!==(null==u?void 0:u.titleSuffixType)&&React.createElement(React.Fragment,null,"text"===(null==u?void 0:u.titleSuffixType)&&(null==u?void 0:u.titleSuffixText)&&React.createElement(c.RichText.Content,{className:"eb-accordion-title-suffix-text",tagName:"span",value:null==u?void 0:u.titleSuffixText}),"icon"===(null==u?void 0:u.titleSuffixType)&&(null==u?void 0:u.titleSuffixIcon)&&React.createElement(p.EBDisplayIcon,{icon:null==u?void 0:u.titleSuffixIcon,className:"eb-accordion-title-suffix-icon"}),"image"===(null==u?void 0:u.titleSuffixType)&&null!=u&&u.titleSuffixImgUrl?React.createElement("img",{className:"eb-accordion-title-suffix-img",src:null==u?void 0:u.titleSuffixImgUrl,alt:null==u?void 0:u.titleSuffixImgAlt}):null))),React.createElement("div",{className:"eb-accordion-content-wrapper eb-accordion-content-wrapper-".concat(s)},React.createElement("div",{className:"eb-accordion-content"},React.createElement(c.InnerBlocks.Content,null),"image"===d&&(null==u?void 0:u.imageUrl)&&React.createElement("div",{className:"eb-accordion-image-wrapper-mobile"},React.createElement("img",{src:(null==u?void 0:u.imageUrl)||"",alt:(null==u?void 0:u.imageAlt)||""})))))},deprecated:w})},8957:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(4715),i=a(7143),s=a(5694),p="btnText",b="closeText",d=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],m=[{label:(0,n.__)("Left","essential-blocks"),value:"left"},{label:(0,n.__)("Center","essential-blocks"),value:"center"},{label:(0,n.__)("Right","essential-blocks"),value:"right"}],u=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"vh",value:"vh"}],g="popupWidth",f="popupHeight",y="popupMargin",h="popupPadding",v="popupBack",w="popupBorder",k="closeBorder",R="closePadding",_="containerPadding",C="btnBack",E="btnBorder",x="btnPadding",S="closeTop",B="closeRight",T="closeLeft",N="wrpMrg_",P="wrpPad_";function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},trigger:{type:"string",default:"btn_click"},btnType:{type:"string",default:"button"},btnText:{type:"string",default:"Open Popup"},btnIcon:{type:"string"},iconPosition:{type:"string",default:"left"},btnAlignment:{type:"string",default:"center"},triggerIcon:{type:"string",default:"fas fa-bullhorn"},displayCloseIcon:{type:"boolean",default:!0},escToExit:{type:"boolean",default:!0},clickToExit:{type:"boolean",default:!0},autoExit:{type:"boolean",default:!1},autoExitTime:{type:"string",default:"3"},autoHeight:{type:"boolean",default:!0},position:{type:"string",default:"middle_center"},pageLoadDelay:{type:"string",default:"1"},eleIdentifier:{type:"string",default:"#open-popup"},btnTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},btnHoverTextColor:{type:"string",default:"var(--eb-global-button-text-color)"},popupFullWidth:{type:"boolean",default:!1},useCloseIcon:{type:"boolean",default:!1},closeBtnText:{type:"string",default:"X"},closeBtnColor:{type:"string",default:"var(--eb-global-button-background-color)"},closeBtnHoverColor:{type:"string"},closeBtnBackColor:{type:"string"},closeBtnBackHoverColor:{type:"string"},overlayColor:{type:"string"},useCookies:{type:"boolean",default:!0},cookieExpireTime:{type:"string",default:""},disablePageScroll:{type:"boolean",default:!0},scrollType:{type:"string",default:"percentage"},scrollPercentage:{type:"number",default:50},scrollElement:{type:"string",default:""},scrollDistance:{type:"string",default:"100px"},scrollOffset:{type:"number",default:0}},(0,s.generateResponsiveRangeAttributes)(f)),(0,s.generateResponsiveRangeAttributes)(g,{defaultRange:650})),(0,s.generateResponsiveRangeAttributes)(T,{defaultRange:0})),(0,s.generateResponsiveRangeAttributes)(B,{defaultRange:10})),(0,s.generateResponsiveRangeAttributes)(S,{defaultRange:10})),(0,s.generateBackgroundAttributes)(C,{defaultFillColor:"var(--eb-global-button-background-color)",defaultHovFillColor:"var(--eb-global-tertiary-color)",noOverlay:!0,noMainBgi:!0})),(0,s.generateBorderShadowAttributes)(E)),(0,s.generateDimensionsAttributes)(x,{top:15,right:30,bottom:15,left:30,isLinked:!1})),(0,s.generateDimensionsAttributes)(R)),(0,s.generateDimensionsAttributes)(_)),(0,s.generateDimensionsAttributes)(N)),(0,s.generateDimensionsAttributes)(P)),(0,s.generateTypographyAttributes)(p,{fontSize:16})),(0,s.generateTypographyAttributes)(b)),(0,s.generateDimensionsAttributes)(y)),(0,s.generateDimensionsAttributes)(h)),(0,s.generateBackgroundAttributes)(v,{defaultFillColor:"var(--eb-global-background-color)"})),(0,s.generateBorderShadowAttributes)(w)),(0,s.generateBorderShadowAttributes)(k,{noShadow:!0}));function A(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.classHook,t.autoHeight),l=t.btnTextColor,c=t.btnHoverTextColor,i=t.popupFullWidth,d=t.closeBtnColor,m=t.closeBtnHoverColor,u=t.closeBtnBackColor,O=t.closeBtnBackHoverColor,I=t.overlayColor,D=(0,s.generateResponsiveRangeStyles)({controlName:g,property:"width",attributes:t}),A=D.rangeStylesDesktop,M=D.rangeStylesTab,L=D.rangeStylesMobile,F=(0,s.generateResponsiveRangeStyles)({controlName:f,property:"height",attributes:t}),j=F.rangeStylesDesktop,H=F.rangeStylesTab,z=F.rangeStylesMobile,U=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:p}),V=U.typoStylesDesktop,G=U.typoStylesTab,q=U.typoStylesMobile,W=(0,s.generateTypographyStyles)({attributes:t,prefixConstant:b}),Z=W.typoStylesDesktop,J=W.typoStylesTab,Y=W.typoStylesMobile,Q=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:x,styleFor:"padding"}),X=Q.dimensionStylesDesktop,$=Q.dimensionStylesTab,K=Q.dimensionStylesMobile,ee=(0,s.generateBackgroundControlStyles)({attributes:t,controlName:C}),te=ee.backgroundStylesDesktop,ae=ee.hoverBackgroundStylesDesktop,ne=ee.bgTransitionStyle,oe=(0,s.generateBorderShadowStyles)({controlName:E,attributes:t}),re=oe.styesDesktop,le=oe.styesTab,ce=oe.styesMobile,ie=oe.stylesHoverDesktop,se=oe.stylesHoverTab,pe=oe.stylesHoverMobile,be=oe.transitionStyle,de=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:h,styleFor:"padding"}),me=de.dimensionStylesDesktop,ue=de.dimensionStylesTab,ge=de.dimensionStylesMobile,fe=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:y,styleFor:"margin"}),ye=fe.dimensionStylesDesktop,he=fe.dimensionStylesTab,ve=fe.dimensionStylesMobile,we=(0,s.generateBackgroundControlStyles)({attributes:t,controlName:v}),ke=we.backgroundStylesDesktop,Re=we.hoverBackgroundStylesDesktop,_e=we.backgroundStylesTab,Ce=we.hoverBackgroundStylesTab,Ee=we.backgroundStylesMobile,xe=we.hoverBackgroundStylesMobile,Se=we.overlayStylesDesktop,Be=we.hoverOverlayStylesDesktop,Te=we.overlayStylesTab,Ne=we.hoverOverlayStylesTab,Pe=we.overlayStylesMobile,Oe=we.hoverOverlayStylesMobile,Ie=we.bgTransitionStyle,De=we.ovlTransitionStyle,Ae=(0,s.generateBorderShadowStyles)({controlName:w,attributes:t}),Me=Ae.styesDesktop,Le=Ae.styesTab,Fe=Ae.styesMobile,je=Ae.stylesHoverDesktop,He=Ae.stylesHoverTab,ze=Ae.stylesHoverMobile,Ue=Ae.transitionStyle,Ve=(0,s.generateBorderShadowStyles)({controlName:k,attributes:t,noShadow:!0}),Ge=Ve.styesDesktop,qe=Ve.styesTab,We=Ve.styesMobile,Ze=Ve.stylesHoverDesktop,Je=Ve.stylesHoverTab,Ye=Ve.stylesHoverMobile,Qe=Ve.transitionStyle,Xe=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:R,styleFor:"padding"}),$e=Xe.dimensionStylesDesktop,Ke=Xe.dimensionStylesTab,et=Xe.dimensionStylesMobile,tt=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:_,styleFor:"padding"}),at=tt.dimensionStylesDesktop,nt=tt.dimensionStylesTab,ot=tt.dimensionStylesMobile,rt=(0,s.generateResponsiveRangeStyles)({controlName:S,property:"top",attributes:t}),lt=rt.rangeStylesDesktop,ct=rt.rangeStylesTab,it=rt.rangeStylesMobile,st=(0,s.generateResponsiveRangeStyles)({controlName:B,property:"right",attributes:t}),pt=st.rangeStylesDesktop,bt=st.rangeStylesTab,dt=st.rangeStylesMobile,mt=(0,s.generateResponsiveRangeStyles)({controlName:T,property:"left",attributes:t}),ut=mt.rangeStylesDesktop,gt=mt.rangeStylesTab,ft=mt.rangeStylesMobile,yt=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:N,styleFor:"margin"}),ht=yt.dimensionStylesDesktop,vt=yt.dimensionStylesTab,wt=yt.dimensionStylesMobile,kt=(0,s.generateDimensionsControlStyles)({attributes:t,controlName:P,styleFor:"padding"}),Rt=kt.dimensionStylesDesktop,_t=kt.dimensionStylesTab,Ct=kt.dimensionStylesMobile,Et="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat(ht,"\n\t\t\t").concat(Rt,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":A,"\n\t\t\t").concat(r?"":j,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(V,"\n\t\t\t").concat(X,"\n\t\t\t").concat(te,"\n\t\t\t").concat(re,"\n\t\t\t").concat(l?"color: ".concat(l,";"):"","\n\t\t\ttransition: ").concat(ne,", ").concat(be,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(c?"color: ".concat(c,";"):"","\n\t\t\t").concat(ae,"\n\t\t\t").concat(ie,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(me,"\n\t\t\t").concat(ye,"\n\t\t\t").concat(ke,"\n\t\t\t").concat(Me,"\n\t\t\t// transition: ").concat(Ue,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(Re,"\n\t\t\t").concat(je,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(Se,"\n\t\t\ttransition: ").concat(Ie,";\n\t\t\tz-index: -1;\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover:before {\n\t\t\t").concat(Be,"\n\t\t\ttransition: ").concat(De,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(Ge,"\n\t\t\t").concat($e,"\n\t\t\t").concat(Z,"\n\t\t\t").concat(lt,"\n\t\t\t").concat(pt,"\n\t\t\t").concat(ut,"\n\t\t\t").concat(d?"color: ".concat(d,";"):"","\n\t\t\t").concat(u?"background-color: ".concat(u,";"):"","\n\t\t\ttransition: ").concat(Qe,";\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Ze,"\n\t\t\t").concat(m?"color: ".concat(m,";"):"","\n\t\t\t").concat(O?"background-color: ".concat(O,";"):"","\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(at,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-overlay {\n\t\t\t").concat(I?"background: ".concat(I,";"):"","\n\t\t}\n\t"),xt="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat(vt,"\n\t\t\t").concat(_t,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":M,"\n\t\t\t").concat(r?"":H,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(G,"\n\t\t\t").concat($,"\n\t\t\t").concat(le,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(se,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(ue,"\n\t\t\t").concat(he,"\n\t\t\t").concat(_e,"\n\t\t\t").concat(Le,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(Ce,"\n\t\t\t").concat(He,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(Te,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before:hover {\n\t\t\t").concat(Ne,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(qe,"\n\t\t\t").concat(Ke,"\n\t\t\t").concat(J,"\n\t\t\t").concat(ct,"\n\t\t\t").concat(bt,"\n\t\t\t").concat(gt,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Je,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(nt,"\n\t\t}\n\t"),St="\n\t\t.".concat(o,".eb-popup-container {\n\t\t\t").concat(wt,"\n\t\t\t").concat(Ct,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(i?"width: 100%;":L,"\n\t\t\t").concat(r?"":z,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor {\n\t\t\t").concat(q,"\n\t\t\t").concat(K,"\n\t\t\t").concat(ce,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-button a.eb-popup-button-anchor:hover {\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content {\n\t\t\t").concat(ge,"\n\t\t\t").concat(ve,"\n\t\t\t").concat(Ee,"\n\t\t\t").concat(Fe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:hover {\n\t\t\t").concat(xe,"\n\t\t\t").concat(ze,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before {\n\t\t\t").concat(Pe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-content-editor:before:hover,\n\t\t.").concat(o,".eb-popup-container .eb-popup-content:before:hover {\n\t\t\t").concat(Oe,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon {\n\t\t\t").concat(We,"\n\t\t\t").concat(et,"\n\t\t\t").concat(Y,"\n\t\t\t").concat(it,"\n\t\t\t").concat(dt,"\n\t\t\t").concat(ft,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-popup-close-icon:hover {\n\t\t\t").concat(Ye,"\n\t\t}\n\n\t\t.").concat(o,".eb-popup-container .eb-modal-container {\n\t\t\t").concat(ot,"\n\t\t}\n\t"),Bt=(0,s.softMinifyCssStrings)("\n\t\t".concat(Et,"\n\t")),Tt=(0,s.softMinifyCssStrings)("\n\t\t".concat(xt,"\n\t")),Nt=(0,s.softMinifyCssStrings)("\n\t\t".concat(St,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(s.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Bt,tabAllStyles:Tt,mobileAllStyles:Nt,blockName:n}))}var M=a(6427);const L=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.trigger),r=t.btnType,l=t.btnText,c=t.btnIcon,i=t.btnAlignment,O=t.triggerIcon,I=t.displayCloseIcon,D=t.escToExit,A=t.clickToExit,L=t.autoExit,F=t.autoExitTime,j=t.autoHeight,H=t.position,z=t.pageLoadDelay,U=t.eleIdentifier,V=t.btnTextColor,G=t.btnHoverTextColor,q=t.popupFullWidth,W=t.iconPosition,Z=t.useCloseIcon,J=t.closeBtnText,Y=t.closeBtnColor,Q=t.closeBtnHoverColor,X=t.closeBtnBackColor,$=t.closeBtnBackHoverColor,K=t.overlayColor,ee=t.useCookies,te=t.cookieExpireTime,ae=t.disablePageScroll,ne=t.scrollType,oe=t.scrollPercentage,re=t.scrollDistance,le=t.scrollElement;return React.createElement(React.Fragment,null,React.createElement(s.InspectorPanel,{advancedControlProps:{marginPrefix:N,paddingPrefix:P,hasBackground:!1,hasBorder:!1,hasMargin:!0}},React.createElement(s.InspectorPanel.General,null,React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(M.SelectControl,{label:(0,n.__)("Trigger","essential-blocks"),value:o,options:[{label:(0,n.__)("Button Click","essential-blocks"),value:"btn_click"},{label:(0,n.__)("Page Load","essential-blocks"),value:"page_load"},{label:(0,n.__)("External Element","essential-blocks"),value:"external"},{label:(0,n.__)("Exit Intent","essential-blocks"),value:"exit_intent"},{label:(0,n.__)("Scroll","essential-blocks"),value:"scroll"}],onChange:function(e){return a({trigger:e})}}),"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement(M.BaseControl,{label:(0,n.__)("Button Settings","essential-blocks")},React.createElement(M.SelectControl,{label:(0,n.__)("Type","essential-blocks"),value:r,options:[{label:(0,n.__)("Button","essential-blocks"),value:"button"},{label:(0,n.__)("Icon","essential-blocks"),value:"icon"}],onChange:function(e){return a({btnType:e})}})),"button"===r&&React.createElement(React.Fragment,null,React.createElement(s.DynamicInputControl,{label:(0,n.__)("Button Text","essential-blocks"),attrName:"btnText",inputValue:l,setAttributes:a,onChange:function(e){return a({btnText:e})}}),React.createElement(s.EBIconPicker,{value:c,onChange:function(e){return a({btnIcon:e})},title:(0,n.__)("Button Icon","essential-blocks")}),React.createElement(M.BaseControl,{label:(0,n.__)("Icon Position","essential-blocks"),id:"eb-button-icon-position"},React.createElement(M.ButtonGroup,{id:"eb-icon-position-btgrp"},d.map(function(e,t){return React.createElement(M.Button,{key:t,isSecondary:W!==e.value,isPrimary:W===e.value,onClick:function(){return a({iconPosition:e.value})}},e.label)})))),"icon"===r&&React.createElement(React.Fragment,null,React.createElement(s.EBIconPicker,{value:O,onChange:function(e){return a({triggerIcon:e})},title:(0,n.__)("Trigger Icon","essential-blocks")})),React.createElement(M.BaseControl,{label:(0,n.__)("Alignment ","essential-blocks"),id:"eb-popup-button-alignment"},React.createElement(M.ButtonGroup,null,m.map(function(e,t){return React.createElement(M.Button,{key:t,isSecondary:i!==e.value,isPrimary:i===e.value,onClick:function(){return a({btnAlignment:e.value})}},e.label)})))),"page_load"===o&&React.createElement(React.Fragment,null,React.createElement(M.BaseControl,null,React.createElement("h3",null,(0,n.__)("Page Load Settings","essential-blocks"))),React.createElement(M.TextControl,{label:(0,n.__)("Delay(Seconds)","essential-blocks"),value:z,onChange:function(e){return a({pageLoadDelay:e})}}),React.createElement(M.ToggleControl,{label:(0,n.__)("Use Cookies","essential-blocks"),checked:ee,onChange:function(){return a({useCookies:!ee})}}),ee&&React.createElement(M.TextControl,{label:(0,n.__)("Cookie Expire(In days)","essential-blocks"),value:te,onChange:function(e){return a({cookieExpireTime:e})},help:(0,n.__)("Leave blank if you want to delete cookie after browser closed.","essential-blocks")})),"external"===o&&React.createElement(React.Fragment,null,React.createElement(M.TextControl,{label:(0,n.__)("Identifier","essential-blocks"),value:U,onChange:function(e){return a({eleIdentifier:e})},help:(0,n.__)("You can also use class identifier such as .open-popup","essential-blocks")})),"exit_intent"===o&&React.createElement(React.Fragment,null,React.createElement(M.BaseControl,null,React.createElement("h3",null,(0,n.__)("Exit Intent Settings","essential-blocks"))),React.createElement(M.ToggleControl,{label:(0,n.__)("Use Cookies","essential-blocks"),checked:ee,onChange:function(){return a({useCookies:!ee})}}),ee&&React.createElement(M.TextControl,{label:(0,n.__)("Cookie Expire(In days)","essential-blocks"),value:te,onChange:function(e){return a({cookieExpireTime:e})},help:(0,n.__)("Leave blank if you want to delete cookie after browser closed.","essential-blocks")})),"scroll"===o&&React.createElement(React.Fragment,null,React.createElement(M.SelectControl,{label:(0,n.__)("Scroll Type","essential-blocks"),value:ne,options:[{label:(0,n.__)("Percentage","essential-blocks"),value:"percentage"},{label:(0,n.__)("Element in Viewport","essential-blocks"),value:"element"},{label:(0,n.__)("Fixed Distance","essential-blocks"),value:"fixed"}],onChange:function(e){return a({scrollType:e})}}),"percentage"===ne&&React.createElement(M.TextControl,{label:(0,n.__)("Scroll Percentage (%)","essential-blocks"),type:"number",min:1,max:100,value:oe,onChange:function(e){return a({scrollPercentage:parseInt(e)||50})}}),"fixed"===ne&&React.createElement(M.__experimentalUnitControl,{label:(0,n.__)("Scroll Distance","essential-blocks"),value:re,onChange:function(e){return a({scrollDistance:e})},units:[{value:"px",label:"px",default:100},{value:"em",label:"em",default:10}]}),"element"===ne&&React.createElement(React.Fragment,null,React.createElement(M.TextControl,{label:(0,n.__)("CSS Selector","essential-blocks"),value:le,onChange:function(e){return a({scrollElement:e})},help:(0,n.__)("Enter CSS selector (e.g., #section-id or .section-class)","essential-blocks")}),React.createElement(M.TextControl,{label:(0,n.__)("Offset (px)","essential-blocks"),type:"number",value:t.scrollOffset,onChange:function(e){return a({scrollOffset:parseInt(e)||0})},help:(0,n.__)("Additional offset in pixels when element is in viewport","essential-blocks")}))),React.createElement(M.__experimentalDivider,null),React.createElement(M.BaseControl,null,React.createElement("h3",null,(0,n.__)("Exit Settings","essential-blocks"))),React.createElement(M.ToggleControl,{label:(0,n.__)("Show Close Button","essential-blocks"),checked:I,onChange:function(){return a({displayCloseIcon:!I})}}),React.createElement(M.ToggleControl,{label:(0,n.__)("Esc to Exit","essential-blocks"),checked:D,onChange:function(){return a({escToExit:!D})},help:(0,n.__)("Close the modal box by pressing the Esc key","essential-blocks")}),React.createElement(M.ToggleControl,{label:(0,n.__)("Click to Exit","essential-blocks"),checked:A,onChange:function(){return a({clickToExit:!A})},help:(0,n.__)("Close the modal box by clicking anywhere outside the modal window","essential-blocks")}),React.createElement(M.ToggleControl,{label:(0,n.__)("Auto Exit","essential-blocks"),checked:L,onChange:function(){return a({autoExit:!L})}}),L&&React.createElement(M.TextControl,{label:(0,n.__)("Auto Exit Delay (Seconds)","essential-blocks"),value:F,onChange:function(e){return a({autoExitTime:e})}}),React.createElement(M.ToggleControl,{label:(0,n.__)("Enable Page Scroll","essential-blocks"),checked:ae,onChange:function(){return a({disablePageScroll:!ae})},help:(0,n.__)("Page scroll when popup open","essential-blocks")})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Size & Position","essential-blocks"),initialOpen:!1},React.createElement(M.ToggleControl,{label:(0,n.__)("Full Width","essential-blocks"),checked:q,onChange:function(){return a({popupFullWidth:!q})}}),!q&&React.createElement(React.Fragment,null,React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:g,min:0,max:1920,step:1})),React.createElement(M.ToggleControl,{label:(0,n.__)("Auto Height","essential-blocks"),checked:j,onChange:function(){return a({autoHeight:!j})}}),!j&&React.createElement(React.Fragment,null,React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:f,min:0,max:1e3,step:1,units:u})),React.createElement(M.SelectControl,{label:(0,n.__)("Position","essential-blocks"),value:H,options:[{label:(0,n.__)("Top Left","essential-blocks"),value:"top_left"},{label:(0,n.__)("Top Center","essential-blocks"),value:"top_center"},{label:(0,n.__)("Top Right","essential-blocks"),value:"top_right"},{label:(0,n.__)("Middle Left","essential-blocks"),value:"middle_left"},{label:(0,n.__)("Middle Center","essential-blocks"),value:"middle_center"},{label:(0,n.__)("Middle Right","essential-blocks"),value:"middle_right"},{label:(0,n.__)("Bottom Left","essential-blocks"),value:"bottom_left"},{label:(0,n.__)("Bottom Center","essential-blocks"),value:"bottom_center"},{label:(0,n.__)("Bottom Right","essential-blocks"),value:"bottom_right"}],onChange:function(e){return a({position:e})}})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(M.ToggleControl,{label:(0,n.__)("Use close Icon","essential-blocks"),checked:Z,onChange:function(){return a({useCloseIcon:!Z})}}),!Z&&React.createElement(M.TextControl,{label:(0,n.__)("Text","essential-blocks"),value:J,onChange:function(e){return a({closeBtnText:e})}}),React.createElement(M.__experimentalDivider,null),React.createElement(M.BaseControl,null,React.createElement("h3",null,(0,n.__)("Icon Position","essential-blocks"))),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Top","essential-blocks"),controlName:S,min:-500,max:500,step:1}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Right","essential-blocks"),controlName:B,min:-500,max:500,step:1}),React.createElement(s.ResponsiveRangeController,{baseLabel:(0,n.__)("Left","essential-blocks"),controlName:T,min:-500,max:500,step:1})))),React.createElement(s.InspectorPanel.Style,null,"btn_click"==o&&React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Button/Icon Styles","essential-blocks"),initialOpen:!0},React.createElement(React.Fragment,null,React.createElement(s.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:p}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:V,attributeName:"btnTextColor"}),React.createElement(s.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:G,attributeName:"btnHoverTextColor"}),React.createElement(M.__experimentalDivider,null),React.createElement(s.ResponsiveDimensionsControl,{controlName:x,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Background","essential-blocks"),initialOpen:!1},React.createElement(s.BackgroundControl,{controlName:C,noOverlay:!0,noMainBgi:!0})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(s.BorderShadowControl,{controlName:E})))),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Popup Design","essential-blocks"),initialOpen:!1},React.createElement(s.ColorControl,{label:(0,n.__)("Overlay Color","essential-blocks"),color:K,attributeName:"overlayColor"}),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Margin & Padding","essential-blocks"),initialOpen:!1},React.createElement(s.ResponsiveDimensionsControl,{controlName:y,baseLabel:"Margin"}),React.createElement(s.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Padding"})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Background ","essential-blocks"),initialOpen:!1},React.createElement(s.BackgroundControl,{controlName:v})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Border & Shadow","essential-blocks"),initialOpen:!1},React.createElement(s.BorderShadowControl,{controlName:w})),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Container Padding","essential-blocks"),initialOpen:!1},React.createElement(s.ResponsiveDimensionsControl,{controlName:_,baseLabel:"Padding"}))),I&&React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Close Button","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,!Z&&React.createElement(s.TypographyDropdown,{baseLabel:(0,n.__)("Typography","essential-blocks"),typographyPrefixConstant:b}),React.createElement(s.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Y,attributeName:"closeBtnColor"}),React.createElement(s.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:Q,attributeName:"closeBtnHoverColor"}),React.createElement(s.ColorControl,{label:(0,n.__)("Background Color","essential-blocks"),color:X,attributeName:"closeBtnBackColor"}),React.createElement(s.ColorControl,{label:(0,n.__)("Background Hover Color","essential-blocks"),color:$,attributeName:"closeBtnBackHoverColor"}),React.createElement(s.ResponsiveDimensionsControl,{controlName:R,baseLabel:(0,n.__)("Padding","essential-blocks")}),React.createElement(s.InspectorPanel.PanelBody,{title:(0,n.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(s.BorderShadowControl,{controlName:k,noShadow:!0})))))))};function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const H=(0,l.memo)((0,s.withBlockContext)(D)(function(e){var t=e.attributes,a=e.setAttributes,o=e.isSelected,r=e.clientId,l=(t.resOption,t.blockId),p=(t.blockMeta,t.classHook),b=t.trigger,d=t.btnText,m=t.btnIcon,u=t.iconPosition,g=t.btnAlignment,f=t.btnType,y=t.triggerIcon,h=t.useCloseIcon,v=t.displayCloseIcon,w=t.closeBtnText,k=j(j({},e),{},{blockPrefix:"eb-popup",style:React.createElement(A,e)}),R="left"===g?" alignment-left":"right"===g?" alignment-right":" alignment-center";return React.createElement(React.Fragment,null,o&&React.createElement(L,e),React.createElement(s.BlockProps.Edit,k,React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{className:"".concat(l," eb-popup-container"),"data-block-id":l},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(l," ").concat(p)},"btn_click"===b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(R)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===f&&React.createElement(React.Fragment,null,m&&"left"===u&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:m})),React.createElement(s.DynamicInputValueHandler,{value:d,className:"eb-popup-button-text",placeholder:(0,n.__)("Add Text..","essential-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough"],onChange:function(e){return a({btnText:e})},readOnly:!0}),m&&"right"===u&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:m}))),"icon"===f&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-icon",icon:y})))))),React.createElement("div",{className:"eb-popup-before-content"},React.createElement("p",null,React.createElement("strong",null,"Essential Blocks Popup:")," Design your popup content below using blocks")),React.createElement("div",{className:"eb-popup-content-editor"},v&&React.createElement("div",{className:"eb-popup-close-icon"},h?React.createElement("span",{className:"dashicons dashicons-no-alt"}):w),React.createElement(c.InnerBlocks,{orientation:"vertical",templateLock:!1,renderAppender:(0,i.select)("core/block-editor").getBlockOrder(r).length>0?void 0:c.InnerBlocks.ButtonBlockAppender}))))))})),z=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Popup","apiVersion":2,"name":"essential-blocks/popup","category":"essential-blocks","description":"Showcase your videos, images or other content with popup & trigger actions.","textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var U,V,G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}var W=a(6087);function Z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Y=[{attributes:(0,W.omit)(J({},D),["scrollType","scrollPercentage","scrollElement","scrollDistance","scrollOffset"]),supports:{align:["wide","full"]},migrate:function(e){return J(J({},e),{},{scrollType:"percentage",scrollPercentage:50,scrollElement:"",scrollDistance:"100px",scrollOffset:0})},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,p=t.btnAlignment,b=t.displayCloseIcon,d=t.escToExit,m=t.clickToExit,u=t.position,g=t.btnType,f=t.triggerIcon,y=t.pageLoadDelay,h=t.eleIdentifier,v=t.useCloseIcon,w=t.closeBtnText,k=t.autoExit,R=t.autoExitTime,_=t.useCookies,C=t.cookieExpireTime,E=t.disablePageScroll,x="left"===p?" alignment-left":"right"===p?" alignment-right":" alignment-center";return React.createElement(s.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?y:void 0,"data-external-identifier":"external"==o?h:void 0,"data-close-btn":b,"data-esc-btn":d,"data-click-exit":m,"data-auto-exit":k,"data-auto-exit-time":R,"data-use-cookie":_,"data-cookie-expire-time":C,"data-page-scroll":E},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(x)},React.createElement("a",{className:"eb-popup-button-anchor",role:"button"},"button"===g&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:l})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:l}))),"icon"===g&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-icon",icon:f})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},v?React.createElement("span",{className:"dashicons dashicons-no-alt"}):w)),React.createElement(c.InnerBlocks.Content,null)))))))}},{attributes:(0,W.omit)(J({},D),["disablePageScroll"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,p=t.btnAlignment,b=t.displayCloseIcon,d=t.escToExit,m=t.clickToExit,u=t.position,g=t.btnType,f=t.triggerIcon,y=t.pageLoadDelay,h=t.eleIdentifier,v=t.useCloseIcon,w=t.closeBtnText,k=t.autoExit,R=t.autoExitTime,_=t.useCookies,C=t.cookieExpireTime,E="left"===p?" alignment-left":"right"===p?" alignment-right":" alignment-center";return React.createElement(s.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?y:void 0,"data-external-identifier":"external"==o?h:void 0,"data-close-btn":b,"data-esc-btn":d,"data-click-exit":m,"data-auto-exit":k,"data-auto-exit-time":R,"data-use-cookie":_,"data-cookie-expire-time":C},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(E)},React.createElement("a",{className:"eb-popup-button-anchor",role:"button"},"button"===g&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:l})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:l}))),"icon"===g&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-icon",icon:f})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},v?React.createElement("span",{className:"dashicons dashicons-no-alt"}):w)),React.createElement(c.InnerBlocks.Content,null)))))))}},{attributes:J({},D),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,p=t.btnAlignment,b=t.displayCloseIcon,d=t.escToExit,m=t.clickToExit,u=t.position,g=t.btnType,f=t.triggerIcon,y=t.pageLoadDelay,h=t.eleIdentifier,v=t.useCloseIcon,w=t.closeBtnText,k=t.autoExit,R=t.autoExitTime,_=t.useCookies,C=t.cookieExpireTime,E="left"===p?" alignment-left":"right"===p?" alignment-right":" alignment-center";return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?y:void 0,"data-external-identifier":"external"==o?h:void 0,"data-close-btn":b,"data-esc-btn":d,"data-click-exit":m,"data-auto-exit":k,"data-auto-exit-time":R,"data-use-cookie":_,"data-cookie-expire-time":C},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(E)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===g&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:l})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:l}))),"icon"===g&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-icon",icon:f})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},v?React.createElement("span",{className:"dashicons dashicons-no-alt"}):w)),React.createElement(c.InnerBlocks.Content,null)))))))}},{attributes:J({},D),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,s=t.btnAlignment,p=t.displayCloseIcon,b=t.escToExit,d=t.clickToExit,m=t.position,u=t.btnType,g=t.triggerIcon,f=t.pageLoadDelay,y=t.eleIdentifier,h=t.useCloseIcon,v=t.closeBtnText,w=t.autoExit,k=t.autoExitTime,R=t.useCookies,_=t.cookieExpireTime,C="left"===s?" alignment-left":"right"===s?" alignment-right":" alignment-center";return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?f:void 0,"data-external-identifier":"external"==o?y:void 0,"data-close-btn":p,"data-esc-btn":b,"data-click-exit":d,"data-auto-exit":w,"data-auto-exit-time":k,"data-use-cookie":R,"data-cookie-expire-time":_},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(C)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===u&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(l," eb-popup-button-icon eb-popup-button-icon-left")})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(l," eb-popup-button-icon eb-popup-button-icon-right")}))),"icon"===u&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(g," eb-popup-icon")})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(m)},React.createElement("div",{className:"eb-popup-content"},p&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},h?React.createElement("span",{className:"dashicons dashicons-no-alt"}):v)),React.createElement(c.InnerBlocks.Content,null)))))))}},{attributes:(0,W.omit)(J({},D),["autoExit","autoExitTime","useCloseIcon","useCookies","cookieExpireTime"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,s=t.btnAlignment,p=t.displayCloseIcon,b=t.escToExit,d=t.clickToExit,m=t.position,u=t.btnType,g=t.triggerIcon,f=t.pageLoadDelay,y=t.eleIdentifier,h=t.closeBtnText,v="left"===s?" alignment-left":"right"===s?" alignment-right":" alignment-center";return React.createElement("div",c.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?f:void 0,"data-external-identifier":"external"==o?y:void 0,"data-close-btn":p,"data-esc-btn":b,"data-click-exit":d},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(v)},React.createElement("a",{className:"eb-popup-button-anchor"},"button"===u&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(l," eb-popup-button-icon eb-popup-button-icon-left")})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(l," eb-popup-button-icon eb-popup-button-icon-right")}))),"icon"===u&&React.createElement(React.Fragment,null,React.createElement("i",{className:"".concat(g," eb-popup-icon")})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(m)},React.createElement("div",{className:"eb-popup-content"},p&&React.createElement("div",{className:"eb-popup-close-icon"},h),React.createElement(c.InnerBlocks.Content,null)))))))}}];(0,s.ebConditionalRegisterBlockType)(z,{icon:function(e){return r.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),U||(U=r.createElement("path",{fill:"#6C3BFF",d:"M6.25 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.75 0A1.25 1.25 0 1 0 10 5a1.25 1.25 0 0 0 0 2.5m3.75 0a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5M50 41.594V19.656c0-.97-.395-1.9-1.098-2.585A3.8 3.8 0 0 0 46.25 16h-32.5a3.8 3.8 0 0 0-2.652 1.07A3.6 3.6 0 0 0 10 19.657v21.938c0 .97.395 1.9 1.098 2.585a3.8 3.8 0 0 0 2.652 1.071h15c.331 0 .65-.128.884-.357s.366-.538.366-.862-.132-.633-.366-.861a1.27 1.27 0 0 0-.884-.357h-15c-.332 0-.65-.129-.884-.357a1.2 1.2 0 0 1-.366-.862V25.75h31.25c.331 0 .65-.128.884-.357s.366-.538.366-.862-.132-.633-.366-.861a1.27 1.27 0 0 0-.884-.358H12.5v-3.656c0-.323.132-.633.366-.861.235-.23.553-.358.884-.358h32.5c.331 0 .65.129.884.357.234.229.366.539.366.862v21.938c0 .323-.132.633-.366.862a1.27 1.27 0 0 1-.884.357h-3.233l2.867-2.795a1.19 1.19 0 0 0 .27-1.328 1.23 1.23 0 0 0-.46-.547 1.27 1.27 0 0 0-.694-.205H33.75c-.331 0-.65.128-.884.357a1.2 1.2 0 0 0-.366.861v10.97c0 .24.073.476.21.676.138.2.333.357.562.449a1.28 1.28 0 0 0 1.362-.264l2.866-2.795 6.616 6.451c.235.229.553.357.884.357s.65-.128.884-.357l3.75-3.656c.234-.229.366-.539.366-.862s-.132-.633-.366-.861l-4.117-4.014h.733c.995 0 1.948-.385 2.652-1.07A3.6 3.6 0 0 0 50 41.593zm-5 10.464-6.616-6.45a1.27 1.27 0 0 0-.884-.357c-.331 0-.65.128-.884.356L35 47.183v-6.808h6.983l-1.617 1.576a1.2 1.2 0 0 0-.366.862c0 .323.132.633.366.861l1.25 1.22 5.367 5.231z"})),V||(V=r.createElement("path",{fill:"#6C3BFF",d:"M26.25 35h7.5c.22 0 .435.057.625.167a1.25 1.25 0 1 0 1.25-2.166 3.76 3.76 0 0 0-1.875-.501h-7.5a3.75 3.75 0 0 0 0 7.5h2.5a1.25 1.25 0 0 0 0-2.5h-2.5a1.25 1.25 0 0 1 0-2.5m-11-15a1.25 1.25 0 0 0 0 2.5h2.5a1.25 1.25 0 0 0 0-2.5z"})),G||(G=r.createElement("path",{fill:"#6C3BFF",d:"M56.25 0H3.75A3.75 3.75 0 0 0 0 3.75v7.5a1.25 1.25 0 0 0 1.25 1.25h52.5a1.25 1.25 0 0 0 0-2.5H2.5V3.75A1.25 1.25 0 0 1 3.75 2.5h52.5a1.25 1.25 0 0 1 1.25 1.25v52.5a1.25 1.25 0 0 1-1.25 1.25H3.75a1.25 1.25 0 0 1-1.25-1.25v-40a1.25 1.25 0 0 0-2.5 0v40A3.75 3.75 0 0 0 3.75 60h52.5A3.75 3.75 0 0 0 60 56.25V3.75A3.75 3.75 0 0 0 56.25 0"})))},attributes:D,keywords:[(0,n.__)("popup","essential-blocks"),(0,n.__)("modal","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:H,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.trigger,r=t.btnText,l=t.btnIcon,i=t.iconPosition,p=t.btnAlignment,b=t.displayCloseIcon,d=t.escToExit,m=t.clickToExit,u=t.position,g=t.btnType,f=t.triggerIcon,y=t.pageLoadDelay,h=t.eleIdentifier,v=t.useCloseIcon,w=t.closeBtnText,k=t.autoExit,R=t.autoExitTime,_=t.useCookies,C=t.cookieExpireTime,E=t.disablePageScroll,x=t.scrollType,S=t.scrollPercentage,B=t.scrollElement,T=t.scrollDistance,N=t.scrollOffset,P="left"===p?" alignment-left":"right"===p?" alignment-right":" alignment-center";return React.createElement(s.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper"},React.createElement("div",{id:a,className:"eb-popup-container ".concat(a),"data-block-id":a,"data-popup-type":o,"data-popup-delay":"page_load"==o?y:void 0,"data-external-identifier":"external"==o?h:void 0,"data-close-btn":b,"data-esc-btn":d,"data-click-exit":m,"data-auto-exit":k,"data-auto-exit-time":R,"data-use-cookie":_,"data-cookie-expire-time":C,"data-page-scroll":E,"data-scroll-type":x,"data-scroll-percentage":S,"data-scroll-element":B,"data-scroll-distance":T,"data-scroll-offset":N},React.createElement("div",{className:"eb-popup-btn-wrapper eb-parent-".concat(a," ").concat(n)},"btn_click"===o&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-button".concat(P)},React.createElement("a",{className:"eb-popup-button-anchor",role:"button"},"button"===g&&React.createElement(React.Fragment,null,l&&"left"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-left",icon:l})),React.createElement(c.RichText.Content,{value:r,tagName:"p"}),l&&"right"===i&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-button-icon eb-popup-button-icon-right",icon:l}))),"icon"===g&&React.createElement(React.Fragment,null,React.createElement(s.EBDisplayIcon,{classNam:"eb-popup-icon",icon:f})))))),React.createElement("div",{className:"eb-popup-overlay"}),React.createElement("div",{className:"modal-main-wrap"},React.createElement("div",{className:"eb-modal-container eb_popup_".concat(u)},React.createElement("div",{className:"eb-popup-content"},b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-popup-close-icon"},v?React.createElement("span",{className:"dashicons dashicons-no-alt"}):w)),React.createElement(c.InnerBlocks.Content,null)))))))},example:{attributes:{accordions:[{title:"Accordion Tab Title 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."},{title:"Accordion Tab Title 2",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}],displayIcon:!0,tabIcon:"fas fa-angle-right"}},deprecated:Y})},9021:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(4467),i=a(8468),s=a(7143),p=a(5694),b=a(6427),d="wrprBg",m="wrpMargin",u="wrpPadding",g="wrpBorderShadow",f="labelMargin",y="fieldBorder",h="fieldPadding",v="iconSize",w=((0,o.__)("Preset 1"),(0,o.__)("Preset 2"),(0,o.__)("Preset 3"),(0,o.__)("Preset 4"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Top"),(0,o.__)("Middle"),(0,o.__)("Bottom"),(0,o.__)("H1","essential-blocks"),(0,o.__)("H2","essential-blocks"),(0,o.__)("H3","essential-blocks"),(0,o.__)("H4","essential-blocks"),(0,o.__)("H5","essential-blocks"),(0,o.__)("H6","essential-blocks"),(0,o.__)("P","essential-blocks"),(0,o.__)("DIV","essential-blocks"),(0,o.__)("SPAN","essential-blocks"),(0,o.__)("Fill"),(0,o.__)("Gradient"),(0,o.__)("Image"),(0,o.__)("Auto"),(0,o.__)("Cover"),(0,o.__)("Contain"),(0,o.__)("None"),(0,o.__)("Dashed"),(0,o.__)("Solid"),(0,o.__)("Dotted"),(0,o.__)("Double"),(0,o.__)("Groove"),(0,o.__)("Inset"),(0,o.__)("Outset"),(0,o.__)("Ridge"),(0,o.__)("Select Hover Effect","essential-blocks"),(0,o.__)("Grow","essential-blocks"),(0,o.__)("Shrink","essential-blocks"),(0,o.__)("Pulse","essential-blocks"),(0,o.__)("Pulse Grow","essential-blocks"),(0,o.__)("Pulse Shrink","essential-blocks"),(0,o.__)("Push","essential-blocks"),(0,o.__)("Pop","essential-blocks"),(0,o.__)("Bounce In","essential-blocks"),(0,o.__)("Bounce Out","essential-blocks"),(0,o.__)("Rotate","essential-blocks"),(0,o.__)("Grow Rotate","essential-blocks"),(0,o.__)("Float","essential-blocks"),(0,o.__)("Sink","essential-blocks"),(0,o.__)("Bob","essential-blocks"),(0,o.__)("Hang","essential-blocks"),(0,o.__)("Skew","essential-blocks"),(0,o.__)("Skew Forward","essential-blocks"),(0,o.__)("Skew Backward","essential-blocks"),(0,o.__)("Wobble Horizontal","essential-blocks"),(0,o.__)("Wobble Vertical","essential-blocks"),(0,o.__)("Wobble To Bottom Right","essential-blocks"),(0,o.__)("Wobble To Top Right","essential-blocks"),(0,o.__)("Wobble Top","essential-blocks"),(0,o.__)("Wobble Bottom","essential-blocks"),(0,o.__)("Wobble Skew","essential-blocks"),(0,o.__)("Buzz","essential-blocks"),(0,o.__)("Buzz Out","essential-blocks"),(0,o.__)("Forward","essential-blocks"),(0,o.__)("Fade","essential-blocks"),(0,o.__)("Back Pulse","essential-blocks"),(0,o.__)("Sweep To Right","essential-blocks"),(0,o.__)("Sweep To Left","essential-blocks"),(0,o.__)("Sweep To Bottom","essential-blocks"),(0,o.__)("Sweep To Top","essential-blocks"),(0,o.__)("Bounce To Right","essential-blocks"),(0,o.__)("Bounce To Left","essential-blocks"),(0,o.__)("Bounce To Bottom","essential-blocks"),(0,o.__)("Bounce To Top","essential-blocks"),(0,o.__)("Radial Out","essential-blocks"),(0,o.__)("Radial In","essential-blocks"),(0,o.__)("Rectangle In","essential-blocks"),(0,o.__)("Rectangle Out","essential-blocks"),(0,o.__)("Shutter In Horizontal","essential-blocks"),(0,o.__)("Shutter Out Horizontal","essential-blocks"),(0,o.__)("Shutter In Vertical","essential-blocks"),(0,o.__)("Shutter Out Vertical","essential-blocks"),(0,o.__)("Curl Top Left","essential-blocks"),(0,o.__)("Curl Top Right","essential-blocks"),(0,o.__)("Curl Bottom Right","essential-blocks"),(0,o.__)("Curl Bottom Left","essential-blocks"),"label_"),k="validationText_",R="field_";function _(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?_(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const E=C(C(C(C(C(C(C(C(C(C(C(C(C(C({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Field Title"},fieldName:{type:"string"},placeholderText:{type:"string",default:"Enter your text here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!0},isHidden:{type:"boolean",default:!1},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas fa-user"},iconColor:{type:"string"}},(0,p.generateTypographyAttributes)("text_")),(0,p.generateTypographyAttributes)(w)),(0,p.generateTypographyAttributes)(k)),(0,p.generateTypographyAttributes)(R)),(0,p.generateDimensionsAttributes)(m)),(0,p.generateDimensionsAttributes)(u)),(0,p.generateBackgroundAttributes)(d)),(0,p.generateBorderShadowAttributes)(g)),(0,p.generateDimensionsAttributes)("wrpPadding")),(0,p.generateBorderShadowAttributes)("wrpBorder")),(0,p.generateDimensionsAttributes)(h)),(0,p.generateBorderShadowAttributes)(y)),(0,p.generateDimensionsAttributes)(f)),(0,p.generateResponsiveRangeAttributes)(v)),x=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=(t.resOption,t.showLabel),l=t.labelText,c=t.fieldName,i=t.defaultValue,s=t.placeholderText,_=t.isRequired,C=t.isHidden,E=t.validationMessage,x=t.labelColor,S=t.requiredColor,B=t.fieldColor,T=t.fieldPlaceholderColor,N=t.fieldBgColor,P=t.fieldValidationColor,O=t.fieldValidationBorderColor,I=t.isIcon,D=t.icon,A=t.iconColor,M=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:d,borderPrefix:g,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(b.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(p.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})},enableAi:!1}),React.createElement(p.EBTextControl,{label:(0,o.__)("Placeholder Text","essential-blocks"),value:s,onChange:function(e){return a({placeholderText:e})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:_,onChange:function(){return a({isRequired:!_})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Hidden Field?","essential-blocks"),checked:C,onChange:function(){a({isHidden:!C,showLabel:!1,isRequired:!1})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Icon?","essential-blocks"),checked:I,onChange:function(){return a({isIcon:!I})}}),I&&React.createElement(React.Fragment,null,React.createElement(p.EBIconPicker,{value:D,onChange:function(e){return a({icon:e})}}))),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:i,onChange:function(e){return a({defaultValue:e})},enableAi:!1,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(p.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),_&&React.createElement(p.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:E,onChange:function(e){return a({validationMessage:e})}})),React.createElement(p.FormConditionalLogics,{clientId:n,parentBlockId:M})),React.createElement(p.InspectorPanel.Style,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:x,attributeName:"labelColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:S,attributeName:"requiredColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:B,attributeName:"fieldColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Placeholder Color","essential-blocks"),color:T,attributeName:"fieldPlaceholderColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:N,attributeName:"fieldBgColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(p.BorderShadowControl,{controlName:y})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:P,attributeName:"fieldValidationColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Fields Border Color","essential-blocks"),color:O,attributeName:"fieldValidationBorderColor"})))),I&&React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:A,attributeName:"iconColor"}),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:v,min:1,max:100,step:1,noUnits:!0}))))))};function S(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.TextColor,t.TextBgColor,t.parentBlockId),l=t.labelColor,c=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,_=t.fieldValidationColor,C=t.fieldValidationBorderColor,E=t.iconColor,x=t.fieldPaddingLeft,S=t.fieldPaddingUnit,B=t.iconSizeRange,T=t.isIcon,N=t.parentIconColor,P=t.parentBlockPaddingLeft,O=t.parentBlockPaddingUnit,I=t.parentBlockIconSize,D=(0,p.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,p.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),j=F.dimensionStylesDesktop,H=F.dimensionStylesTab,z=F.dimensionStylesMobile,U=(0,p.generateBorderShadowStyles)({controlName:g,attributes:t}),V=U.styesDesktop,G=U.styesTab,q=U.styesMobile,W=U.stylesHoverDesktop,Z=U.stylesHoverTab,J=U.stylesHoverMobile,Y=U.transitionStyle,Q=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),X=Q.backgroundStylesDesktop,$=Q.hoverBackgroundStylesDesktop,K=Q.backgroundStylesTab,ee=Q.hoverBackgroundStylesTab,te=Q.backgroundStylesMobile,ae=Q.hoverBackgroundStylesMobile,ne=Q.bgTransitionStyle,oe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:w}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,p.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),se=ie.dimensionStylesDesktop,pe=ie.dimensionStylesTab,be=ie.dimensionStylesMobile,de=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:R}),me=de.typoStylesDesktop,ue=de.typoStylesTab,ge=de.typoStylesMobile,fe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:k}),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,p.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ce=(0,p.generateBorderShadowStyles)({controlName:y,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=(Ce.stylesHoverDesktop,Ce.stylesHoverTab,Ce.stylesHoverMobile,Ce.transitionStyle,(0,p.generateResponsiveRangeStyles)({controlName:v,property:"font-size",attributes:t,customUnit:"px"})),Te=Be.rangeStylesDesktop,Ne=(Be.rangeStylesTab,Be.rangeStylesMobile,"\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(X,"\n\t\t\t").concat(V,"\n\t\t\ttransition: ").concat(ne,", ").concat(Y,";\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat($,"\n\t\t\t").concat(W,"\n\t\t}\n\t")),Pe="\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(M,"\n\t\t\t").concat(H,"\n\t\t\t").concat(K,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(Z,"\n\t\t}\n\n\t"),Oe="\n\t\t.eb-text-field-wrapper.".concat(o,"{\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(te,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-text-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t"),Ie="\n .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(re,"\n ").concat(se,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-required{\n color: ").concat(c,";\n }\n\t"),De="\n .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n\t\t\t").concat(le,"\n ").concat(pe,"\n\t\t}\n\t"),Ae="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," > label {\n ").concat(ce,"\n ").concat(be,"\n\t\t}\n\t"),Me="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n ").concat(me,"\n ").concat(ke,"\n ").concat(Ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ye,"\n\t\t\tcolor: ").concat(_,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(C,";\n\t\t}\n\t"),Le="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ue,"\n ").concat(Re,"\n ").concat(xe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Fe="\n\t\t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ge,"\n ").concat(_e,"\n ").concat(Se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ve,"\n\t\t}\n\t"),je="\n \t.eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-input-icon {\n ").concat(Te,"\n color: ").concat(E||N,";\n \t}\n\n ").concat(T?"\n .eb-form-wrapper.".concat(r," .eb-text-field-wrapper.").concat(o," .eb-input-icon {\n left: ").concat(x||P).concat(S,";\n }\n .eb-form-wrapper.").concat(r," .eb-text-field-wrapper.").concat(o," .eb-field-input {\n padding-left: calc(").concat(B||I,"px + (").concat(x||(0==P?8:P)).concat(S||O," * 1.6));\n }"):"","\n "),He=(0,p.softMinifyCssStrings)("\n\t\t".concat(Ne,"\n\t\t").concat(Ie,"\n\t\t").concat(Me,"\n\t\t").concat(je,"\n\t")),ze=(0,p.softMinifyCssStrings)("\n\t\t".concat(Pe,"\n\t\t").concat(De,"\n\t\t").concat(Le,"\n\t")),Ue=(0,p.softMinifyCssStrings)("\n\t\t".concat(Oe,"\n\t\t").concat(Ae,"\n\t\t").concat(Fe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:He,tabAllStyles:ze,mobileAllStyles:Ue,blockName:n}))}function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,i.memo)((0,p.withBlockContext)(E)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=e.name,l=t.blockId,b=t.classHook,d=t.showLabel,m=t.labelText,u=t.fieldName,g=t.defaultValue,f=t.placeholderText,y=t.isRequired,h=t.isHidden,v=t.validationMessage,w=(t.validationRules,t.isIcon),k=t.icon,R=t.formStyle,_=T(T({},e),{},{blockPrefix:"eb-text-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(S,e)});return(0,i.useEffect)(function(){var e,t,n,l,c,i,b,d,m=(0,p.getBlockParentClientId)(o,"essential-blocks/form"),u=(0,s.select)("core/block-editor").getBlock(m),g=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,f=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,y=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.fieldsPaddingLeft,v=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;g&&a({parentBlockId:g,parentBlockPaddingLeft:h,parentBlockPaddingUnit:v,parentBlockIconSize:y,parentIconColor:f});var w=null==u||null===(i=u.attributes)||void 0===i?void 0:i.formStyle;w&&a({formStyle:w});var k=(0,s.select)("core/block-editor").wasBlockJustInserted(o),R=null==u||null===(b=u.attributes)||void 0===b?void 0:b.showLabel,_=null==u||null===(d=u.attributes)||void 0===d?void 0:d.showInputIcon;if(k&&void 0!==R&&void 0!==_&&a({showLabel:R,isIcon:_}),k&&m){var C=(0,s.select)("core/block-editor").getBlocksByClientId(m),E=(0,p.filterBlocksByName)(C,r),x=E.indexOf(o);-1!==x&&(1===E.length?a({fieldName:"text-field"}):a({fieldName:"text-field-".concat(x+1)}))}},[]),(0,i.useEffect)(function(){var e=(0,c.A)({},u,{isRequired:{status:y,message:v}});a({validationRules:e})},[y,u,v]),React.createElement(React.Fragment,null,n&&React.createElement(x,{clientId:o,attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,_,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(b)},React.createElement("div",{className:"".concat(l," eb-text-field-wrapper eb-field-wrapper")},d&&"form-style-modern"!=R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},React.createElement(p.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",y&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},w&&k&&React.createElement(p.EBDisplayIcon,{icon:k,className:"eb-input-icon"}),React.createElement("input",{type:h?"hidden":"text",id:u,name:u,className:"eb-field-input",value:g,placeholder:f,required:y}),"form-style-modern"==R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},m," ",y&&React.createElement("span",{className:"eb-required"},"*")))),y&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(u)},v))))))}));var P=a(4715);function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=[{attributes:I({},E),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,d=t.validationMessage,m=t.isIcon,u=t.icon,g=t.formStyle,f=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",f,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},m&&u&&React.createElement(p.EBDisplayIcon,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:b?"hidden":"text",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},d)))))}},{attributes:I({},E),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,p=t.isHidden,b=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle,g=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement("i",{className:"".concat(m," eb-input-icon")}),React.createElement("input",{type:p?"hidden":"text",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}}],A=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Text Field","apiVersion":2,"name":"essential-blocks/form-text-field","description":"Form Block Text Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,p.ebConditionalRegisterBlockType)(A,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 51 51"},e),n||(n=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M13.05 34.64c-.61 0-1.1-.49-1.1-1.1s.49-1.1 1.1-1.1h3.72V17.76h-1.49c-1.13 0-1.8 0-2.31.07-.33.04-.55.1-.7.2l-.08.05-.16.17-.04.07c-.09.15-.14.36-.18.68-.07.51-.07 1.18-.07 2.31 0 .61-.49 1.1-1.1 1.1s-1.1-.49-1.1-1.1c0-1.01 0-1.89.08-2.58.11-.87.36-1.48.8-1.98.09-.11.19-.2.29-.29.5-.45 1.11-.69 1.98-.8.69-.08 1.58-.08 2.45-.08h5.31c1 0 1.9 0 2.58.08.87.11 1.48.36 1.98.8.11.09.2.19.3.3.45.5.69 1.11.8 1.98.08.68.08 1.56.08 2.5 0 .69-.49 1.19-1.1 1.19s-1.1-.49-1.1-1.1c0-1.17 0-1.8-.07-2.31-.05-.43-.13-.6-.2-.7l-.05-.08-.16-.15-.06-.04c-.1-.06-.27-.14-.7-.19-.51-.07-1.17-.07-2.31-.07h-1.49v14.68h3.72c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1h-9.64z"}),r.createElement("path",{d:"M32.33 50.2c-.55 0-.99-.44-.99-.99V.99c0-.55.44-.99.99-.99s.99.44.99.99v3.83c6.67.04 10.97.32 13.76 3.11 3.12 3.11 3.12 7.81 3.12 17.16s0 14.05-3.12 17.16c-2.79 2.79-7.09 3.07-13.76 3.11v3.83c0 .55-.44.99-.99.99zm.99-43.39v36.58c6.72-.05 10.21-.38 12.36-2.53 2.54-2.53 2.54-6.95 2.54-15.76s0-13.23-2.53-15.76c-2.15-2.15-5.64-2.48-12.36-2.53zM25.1 45.38h-4.82c-9.35 0-14.05 0-17.16-3.11C0 39.16 0 34.46 0 25.11S0 11.05 3.12 7.94c3.11-3.12 7.81-3.12 17.16-3.12h4.82c.55 0 .99.44.99.99s-.44.99-.99.99h-4.82c-8.81 0-13.23 0-15.76 2.53s-2.53 6.95-2.53 15.76 0 13.23 2.53 15.76 6.95 2.53 15.76 2.53h4.82c.55 0 .99.44.99.99s-.44.99-.99.99z"}))))},attributes:E,edit:N,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.defaultValue,i=t.placeholderText,s=t.isRequired,b=t.isHidden,d=t.validationMessage,m=t.isIcon,u=t.icon,g=t.formStyle;return P.useBlockProps.save({className:"eb-form-field"}),React.createElement(p.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-text-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},m&&u&&React.createElement(p.EBDisplayIcon,{icon:u,className:"eb-input-icon"}),React.createElement("input",{type:b?"hidden":"text",id:l,name:l,className:"eb-field-input",value:c,placeholder:i,required:s}),"form-style-modern"==g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",s&&React.createElement("span",{className:"eb-required"},"*")))),s&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},d)))))},example:{},deprecated:D})},9280:e=>{e.exports=window.regeneratorRuntime},9420:(e,t,a)=>{var n=a(7723),o=a(8168),r=a(4467),l=a(1609),c=a(8468),i=a(5694),s=a(9394),p=a(6427),b=a(2619),d="dscs_",m="name_",u="job_",g="wrpMrg_",f="wrpPad_",y="dscP_",h="nameP_",v="jobP_",w="icnWp_",k="icnWm_",R="imgMrg_",_="imgPd_",C="cpd_",E="cmrg_",x="WrpBg_",S="imgBgP_",B="sclWBg_",T="wrpBdSd_",N="sclBdSd_",P="imgBd_",O="ovlBd_",I="wrpW_",D="imgW_",A="imgH_",M="icnZ_",L="icnPd_",F="icnSp_",j="icnRg_",H="imgBgH_",z="cSepW_",U="sSepW_",V="cSepH_",G="sSepH_",q="sdpr_",W="p9lG_";function Z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const Y=J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J(J({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},name:{type:"string",default:"John Doe"},jobTitle:{type:"string",default:"Software Engineer"},showDescs:{type:"boolean",default:!0},showDesignation:{type:"boolean",default:!0},description:{type:"string",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},imageUrl:{source:"attribute",selector:".avatar",attribute:"src"},imageNewClassUrl:{source:"attribute",selector:".eb-team-member-avatar",attribute:"src"},imageNewUrl:{type:"string",default:""},imageId:{type:"string"},imageAlt:{type:"string"},isImgHeightAuto:{type:"boolean",default:!1},icnEffect:{type:"string"},descsColor:{type:"string",default:"var(--eb-global-text-color)"},nameColor:{type:"string",default:"var(--eb-global-heading-color)"},jobColor:{type:"string",default:"var(--eb-global-heading-color)"},showSocials:{type:"boolean",default:!0},showLinkNewTab:{type:"boolean",default:!0},iconsJustify:{type:"string",default:"center"},iconsVAlign:{type:"string",default:"center"},socialDetails:{type:"array",default:[{title:"Facebook",icon:"fab fa-facebook-f",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"Twitter",icon:"fab fa-x-twitter",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"LinkedIn",icon:"fab fa-linkedin-in",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1},{title:"YouTube",icon:"fab fa-youtube",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1}]},contentsAlign:{type:"string",default:"center"},imageAlign:{type:"string",default:"center"},preset:{type:"string",default:"default"},socialInImage:{type:"Boolean",default:!1},imgBeforeEl:{type:"Boolean",default:!1},showCSeparator:{type:"Boolean",default:!1},showSSeparator:{type:"Boolean",default:!1},cSepAlign:{type:"string",default:"center"},sSepAlign:{type:"string",default:"center"},cSepColor:{type:"string"},sSepColor:{type:"string"},cSepType:{type:"string",default:"solid"},sSepType:{type:"string",default:"solid"},isIconsDevider:{type:"boolean",default:!1},icnsDevideColor:{type:"string"},icnSepW:{type:"number",default:1},icnSepH:{type:"number",default:30},hvIcnColor:{type:"string"},hvIcnBgc:{type:"string"},conVtAlign:{type:"string",default:"center"},isConBgGradient:{type:"boolean",default:!0},conBgGradient:{type:"string",default:"linear-gradient(211deg, #C8D2E3 0%, rgb(154 164 182 / 60%) 100%)"},conBgColor:{type:"string"},imgCnVtAlign:{type:"string",default:"flex-start"},isP9reverse:{type:"boolean",default:!1},avatarURL:{type:"string",default:""},newWindow:{type:"boolean",default:!1},isContentOverlay:{type:"boolean",default:!1},showSocialTitle:{type:"boolean",default:!1},hoverPreset:{type:"string",default:"hover-left"},titleTag:{type:"string",default:"h3"}},(0,i.generateTypographyAttributes)(d,{fontSize:16})),(0,i.generateTypographyAttributes)(m,{fontSize:20})),(0,i.generateTypographyAttributes)(u,{fontSize:16})),(0,i.generateResponsiveRangeAttributes)(D,{defaultRange:200})),(0,i.generateResponsiveRangeAttributes)(A,{defaultRange:200})),(0,i.generateResponsiveRangeAttributes)(M,{defaultRange:20,noUnits:!0})),(0,i.generateResponsiveRangeAttributes)(L,{defaultRange:1,noUnits:!0})),(0,i.generateResponsiveRangeAttributes)(F,{defaultRange:20,noUnits:!0})),(0,i.generateResponsiveRangeAttributes)(j,{defaultRange:4,noUnits:!0})),(0,i.generateResponsiveRangeAttributes)(I,{defaultUnit:"%",defaultRange:100})),(0,i.generateResponsiveRangeAttributes)(H,{defaultRange:150})),(0,i.generateResponsiveRangeAttributes)(z,{defaultRange:70})),(0,i.generateResponsiveRangeAttributes)(U,{defaultUnit:"%",defaultRange:90})),(0,i.generateResponsiveRangeAttributes)(V,{defaultRange:3})),(0,i.generateResponsiveRangeAttributes)(G,{defaultRange:1})),(0,i.generateResponsiveRangeAttributes)(q,{defaultRange:23})),(0,i.generateResponsiveRangeAttributes)(W,{defaultRange:20})),(0,i.generateBackgroundAttributes)(x,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,i.generateBackgroundAttributes)(B,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)",noMainBgi:!0,noOverlay:!0})),(0,i.generateBackgroundAttributes)(S,{defaultFillColor:"var(--eb-global-primary-color)",defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,i.generateBorderShadowAttributes)(T,{})),(0,i.generateBorderShadowAttributes)(P,{})),(0,i.generateBorderShadowAttributes)(N,{noShadow:!0,bdrDefaults:{top:1,bottom:1,right:1,left:1}})),(0,i.generateBorderShadowAttributes)(O,{noBdrHover:!0})),(0,i.generateDimensionsAttributes)(g)),(0,i.generateDimensionsAttributes)(f)),(0,i.generateDimensionsAttributes)(R)),(0,i.generateDimensionsAttributes)(_)),(0,i.generateDimensionsAttributes)(y,{top:15,bottom:20,isLinked:!1})),(0,i.generateDimensionsAttributes)(E,{top:20,bottom:20,left:20,right:20})),(0,i.generateDimensionsAttributes)(C,{top:50,bottom:50,left:50,right:50})),(0,i.generateDimensionsAttributes)(h,{top:20,bottom:15,isLinked:!1})),(0,i.generateDimensionsAttributes)(v,{})),(0,i.generateDimensionsAttributes)(w,{top:10,isLinked:!1})),(0,i.generateDimensionsAttributes)(k,{}));var Q=[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"}],X=[{label:"Center",value:"center"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"},{label:"Space Between",value:"space-between"},{label:"Space Around",value:"space-around"},{label:"Space Evenly",value:"space-evenly"}],$=[{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],K=((0,n.__)("Default","essential-blocks"),(0,n.__)("Preset 1","essential-blocks"),(0,n.__)("Preset 2 (hover overlay)"),(0,n.__)("Preset 3","essential-blocks"),(0,n.__)("Preset 4","essential-blocks"),(0,n.__)("Preset 5","essential-blocks"),[{label:(0,n.__)("Left","essential-blocks"),value:"hover-left"},{label:(0,n.__)("Right","essential-blocks"),value:"hover-right"}]),ee=[{label:(0,n.__)("Solid","essential-blocks"),value:"solid"},{label:(0,n.__)("Dashed","essential-blocks"),value:"dashed"},{label:(0,n.__)("Dotted","essential-blocks"),value:"dotted"},{label:(0,n.__)("Double","essential-blocks"),value:"double"},{label:(0,n.__)("Groove","essential-blocks"),value:"groove"},{label:(0,n.__)("Inset","essential-blocks"),value:"inset"},{label:(0,n.__)("Outset","essential-blocks"),value:"outset"},{label:(0,n.__)("Ridge","essential-blocks"),value:"ridge"}],te=[{label:(0,n.__)("Select Hover Effect","essential-blocks"),value:""},{label:(0,n.__)("Grow","essential-blocks"),value:"hvr-grow"},{label:(0,n.__)("Shrink","essential-blocks"),value:"hvr-shrink"},{label:(0,n.__)("Pulse","essential-blocks"),value:"hvr-pulse"},{label:(0,n.__)("Pulse Grow","essential-blocks"),value:"hvr-pulse-grow"},{label:(0,n.__)("Pulse Shrink","essential-blocks"),value:"hvr-pulse-shrink"},{label:(0,n.__)("Push","essential-blocks"),value:"hvr-push"},{label:(0,n.__)("Pop","essential-blocks"),value:"hvr-pop"},{label:(0,n.__)("Bounce In","essential-blocks"),value:"hvr-bounce-in"},{label:(0,n.__)("Bounce Out","essential-blocks"),value:"hvr-bounce-out"},{label:(0,n.__)("Rotate","essential-blocks"),value:"hvr-rotate"},{label:(0,n.__)("Grow Rotate","essential-blocks"),value:"hvr-grow-rotate"},{label:(0,n.__)("Float","essential-blocks"),value:"hvr-float"},{label:(0,n.__)("Sink","essential-blocks"),value:"hvr-sink"},{label:(0,n.__)("Bob","essential-blocks"),value:"hvr-bob"},{label:(0,n.__)("Hang","essential-blocks"),value:"hvr-hang"},{label:(0,n.__)("Skew","essential-blocks"),value:"hvr-skew"},{label:(0,n.__)("Skew Forward","essential-blocks"),value:"hvr-skew-forward"},{label:(0,n.__)("Skew Backward","essential-blocks"),value:"hvr-skew-backward"},{label:(0,n.__)("Wobble Horizontal","essential-blocks"),value:"hvr-wobble-horizontal"},{label:(0,n.__)("Wobble Vertical","essential-blocks"),value:"hvr-wobble-vertical"},{label:(0,n.__)("Wobble To Bottom Right","essential-blocks"),value:"hvr-wobble-to-bottom-right"},{label:(0,n.__)("Wobble To Top Right","essential-blocks"),value:"hvr-wobble-to-top-right"},{label:(0,n.__)("Wobble Top","essential-blocks"),value:"hvr-wobble-top"},{label:(0,n.__)("Wobble Bottom","essential-blocks"),value:"hvr-wobble-bottom"},{label:(0,n.__)("Wobble Skew","essential-blocks"),value:"hvr-wobble-skew"},{label:(0,n.__)("Buzz","essential-blocks"),value:"hvr-buzz"},{label:(0,n.__)("Buzz Out","essential-blocks"),value:"hvr-buzz-out"},{label:(0,n.__)("Forward","essential-blocks"),value:"hvr-forward"},{label:(0,n.__)("Fade","essential-blocks"),value:"hvr-fade"},{label:(0,n.__)("Back Pulse","essential-blocks"),value:"hvr-back-pulse"},{label:(0,n.__)("Sweep To Right","essential-blocks"),value:"hvr-sweep-to-right"},{label:(0,n.__)("Sweep To Left","essential-blocks"),value:"hvr-sweep-to-left"},{label:(0,n.__)("Sweep To Bottom","essential-blocks"),value:"hvr-sweep-to-bottom"},{label:(0,n.__)("Sweep To Top","essential-blocks"),value:"hvr-sweep-to-top"},{label:(0,n.__)("Bounce To Right","essential-blocks"),value:"hvr-bounce-to-right"},{label:(0,n.__)("Bounce To Left","essential-blocks"),value:"hvr-bounce-to-left"},{label:(0,n.__)("Bounce To Bottom","essential-blocks"),value:"hvr-bounce-to-bottom"},{label:(0,n.__)("Bounce To Top","essential-blocks"),value:"hvr-bounce-to-top"},{label:(0,n.__)("Radial Out","essential-blocks"),value:"hvr-radial-out"},{label:(0,n.__)("Radial In","essential-blocks"),value:"hvr-radial-in"},{label:(0,n.__)("Rectangle In","essential-blocks"),value:"hvr-rectangle-in"},{label:(0,n.__)("Rectangle Out","essential-blocks"),value:"hvr-rectangle-out"},{label:(0,n.__)("Shutter In Horizontal","essential-blocks"),value:"hvr-shutter-in-horizontal"},{label:(0,n.__)("Shutter Out Horizontal","essential-blocks"),value:"hvr-shutter-out-horizontal"},{label:(0,n.__)("Shutter In Vertical","essential-blocks"),value:"hvr-shutter-in-vertical"},{label:(0,n.__)("Shutter Out Vertical","essential-blocks"),value:"hvr-shutter-out-vertical"},{label:(0,n.__)("Icon Back","essential-blocks"),value:"hvr-icon-back"},{label:(0,n.__)("Icon Forward","essential-blocks"),value:"hvr-icon-forward"},{label:(0,n.__)("Icon Down","essential-blocks"),value:"hvr-icon-down"},{label:(0,n.__)("Icon Up","essential-blocks"),value:"hvr-icon-up"},{label:(0,n.__)("Icon Spin","essential-blocks"),value:"hvr-icon-spin"},{label:(0,n.__)("Icon Drop","essential-blocks"),value:"hvr-icon-drop"},{label:(0,n.__)("Icon Fade","essential-blocks"),value:"hvr-icon-fade"},{label:(0,n.__)("Icon Float Away","essential-blocks"),value:"hvr-icon-float-away"},{label:(0,n.__)("Icon Sink Away","essential-blocks"),value:"hvr-icon-sink-away"},{label:(0,n.__)("Icon Grow","essential-blocks"),value:"hvr-icon-grow"},{label:(0,n.__)("Icon Shrink","essential-blocks"),value:"hvr-icon-shrink"},{label:(0,n.__)("Icon Pulse","essential-blocks"),value:"hvr-icon-pulse"},{label:(0,n.__)("Icon Pulse Grow","essential-blocks"),value:"hvr-icon-pulse-grow"},{label:(0,n.__)("Icon Pulse Shrink","essential-blocks"),value:"hvr-icon-pulse-shrink"},{label:(0,n.__)("Icon Push","essential-blocks"),value:"hvr-icon-push"},{label:(0,n.__)("Icon Pop","essential-blocks"),value:"hvr-icon-pop"},{label:(0,n.__)("Icon Bounce","essential-blocks"),value:"hvr-icon-bounce"},{label:(0,n.__)("Icon Rotate","essential-blocks"),value:"hvr-icon-rotate"},{label:(0,n.__)("Icon Grow Rotate","essential-blocks"),value:"hvr-icon-grow-rotate"},{label:(0,n.__)("Icon Float","essential-blocks"),value:"hvr-icon-float"},{label:(0,n.__)("Icon Sink","essential-blocks"),value:"hvr-icon-sink"},{label:(0,n.__)("Icon Bob","essential-blocks"),value:"hvr-icon-bob"},{label:(0,n.__)("Icon Hang","essential-blocks"),value:"hvr-icon-hang"},{label:(0,n.__)("Icon Wobble Horizontal","essential-blocks"),value:"hvr-icon-wobble-horizontal"},{label:(0,n.__)("Icon Wobble Vertical","essential-blocks"),value:"hvr-icon-wobble-vertical"},{label:(0,n.__)("Icon Buzz","essential-blocks"),value:"hvr-icon-buzz"},{label:(0,n.__)("Icon Buzz Out","essential-blocks"),value:"hvr-icon-buzz-out"},{label:(0,n.__)("Curl Top Left","essential-blocks"),value:"hvr-curl-top-left"},{label:(0,n.__)("Curl Top Right","essential-blocks"),value:"hvr-curl-top-right"},{label:(0,n.__)("Curl Bottom Right","essential-blocks"),value:"hvr-curl-bottom-right"},{label:(0,n.__)("Curl Bottom Left","essential-blocks"),value:"hvr-curl-bottom-left"}],ae=[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"}];function ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const oe=function(e){var t,a=e.attributes,o=e.setAttributes,l=a.resOption,Z=a.blockId,J=(a.imageUrl,a.imageNewUrl),oe=(a.imageId,a.imageAlt,a.isImgHeightAuto),re=a.showDescs,le=a.descsColor,ce=a.jobColor,ie=a.nameColor,se=a.name,pe=a.jobTitle,be=a.description,de=a.showSocials,me=a.socialDetails,ue=a.iconsJustify,ge=a.iconsVAlign,fe=a.contentsAlign,ye=a.imageAlign,he=a.cSepAlign,ve=a.sSepAlign,we=a.preset,ke=a.imgBeforeEl,Re=a.showCSeparator,_e=a.showSSeparator,Ce=a.cSepType,Ee=a.sSepType,xe=a.cSepColor,Se=a.sSepColor,Be=a.isIconsDevider,Te=a.icnsDevideColor,Ne=a.icnSepW,Pe=a.icnSepH,Oe=a.hvIcnColor,Ie=a.hvIcnBgc,De=a.conVtAlign,Ae=a.isConBgGradient,Me=a.conBgGradient,Le=a.conBgColor,Fe=a.imgCnVtAlign,je=a.isP9reverse,He=a.icnEffect,ze=a.avatarURL,Ue=a.newWindow,Ve=a.showLinkNewTab,Ge=a.hoverPreset,qe=a.showDesignation,We=(a.showSocialTitle,a.isContentOverlay),Ze=(a.socialInImage,a.titleTag),Je={setAttributes:o,resOption:l,attributes:a,objAttributes:Y};return(0,c.useEffect)(function(){"preset3"===we&&o(We?{socialInImage:!1,nameColor:"#fff",jobColor:"#fff",descsColor:"#fff"}:{socialInImage:!0,nameColor:"#4b4b4b",jobColor:"#4b4b4b",descsColor:"#9f9f9f"})},[We,we]),React.createElement(i.InspectorPanel,{advancedControlProps:{marginPrefix:g,paddingPrefix:f,backgroundPrefix:x,borderPrefix:T,hasMargin:!0}},React.createElement(i.InspectorPanel.General,null,React.createElement(React.Fragment,null,React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Presets","essential-blocks"),initialOpen:!0},"preset5"===we&&React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,n.__)("Reverse Layout","essential-blocks"),checked:je,onChange:function(){return o({isP9reverse:!je})}}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Gap","essential-blocks"),controlName:W,min:0,max:100,step:1})),"new-preset3"===we&&React.createElement(p.SelectControl,{label:(0,n.__)("Hover Alignment","essential-blocks"),value:Ge,options:K,onChange:function(e){return o({hoverPreset:e})}}),"preset3"===we&&React.createElement(p.ToggleControl,{label:(0,n.__)("Content Overlay","essential-blocks"),checked:We,onChange:function(){return o({isContentOverlay:!We})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Designation","essential-blocks"),checked:qe,onChange:function(){return o({showDesignation:!qe})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Description","essential-blocks"),checked:re,onChange:function(){return o({showDescs:!re})}}),React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Social Profiles","essential-blocks"),checked:de,onChange:function(){return o({showSocials:!de})}})),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Content","essential-blocks"),initialOpen:!1},React.createElement(i.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,a=e.url,n=e.alt;return o({imageNewUrl:a,imageId:t,imageAlt:n})},value:J,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),J&&React.createElement(React.Fragment,null,React.createElement(i.EBTextControl,{label:(0,n.__)("URL","essential-blocks"),fieldType:"url",value:ze||"",onChange:function(e){return o({avatarURL:e})},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),React.createElement(i.DynamicInputControl,{label:(0,n.__)("Title","essential-blocks"),attrName:"name",inputValue:se,setAttributes:o,onChange:function(e){return o({name:e})}}),React.createElement(i.DynamicInputControl,{label:(0,n.__)("Designation","essential-blocks"),attrName:"jobTitle",inputValue:pe,setAttributes:o,onChange:function(e){return o({jobTitle:e})}}),React.createElement(i.DynamicInputControl,{label:(0,n.__)("Description","essential-blocks"),attrName:"description",inputValue:be,setAttributes:o,onChange:function(e){return o({description:e})},isTextarea:!0}),ze&&React.createElement(p.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:Ue,onChange:function(){return o({newWindow:!Ue})}}))),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Social Profiles","essential-blocks")},React.createElement(React.Fragment,null,de&&React.createElement(React.Fragment,null,React.createElement(p.ToggleControl,{label:(0,n.__)("Show link in new tab","essential-blocks"),checked:Ve,onChange:function(){return o({showLinkNewTab:!Ve,socialDetails:(0,s.A)(me)})}}),React.createElement(i.SortControl,{items:a.socialDetails,labelKey:"title",onSortEnd:function(e){return o({socialDetails:e})},onDeleteItem:function(e){o({socialDetails:a.socialDetails.filter(function(t,a){return a!==e})})},hasSettings:!0,settingsComponents:(t=function(e,t,n){var l=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ne(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},a.socialDetails[n]),c=(0,s.A)(a.socialDetails);c[n]=l,Array.isArray(e)?e.map(function(e,a){c[n][e]=t[a]}):c[n][e]=t,o({socialDetails:c})},a.socialDetails.map(function(e,a){return React.createElement("div",{key:a},React.createElement(i.EBIconPicker,{title:(0,n.__)("Social Media","essential-blocks"),value:e.icon||null,onChange:function(e){return t("icon",e,a)}}),React.createElement(i.EBTextControl,{label:(0,n.__)("Title","essential-blocks"),value:e.title,onChange:function(e){return t("title",e,a)},enableAi:!0}),React.createElement(i.ColorControl,{label:(0,n.__)("Icon Color","essential-blocks"),color:e.color,onChange:function(e){return t("color",e,a)}}),React.createElement(i.ColorControl,{label:(0,n.__)("Icon Background","essential-blocks"),color:e.bgColor,onChange:function(e){return t("bgColor",e,a)}}),React.createElement(i.EBTextControl,{label:(0,n.__)("URL","essential-blocks"),fieldType:"url",value:e.link,onChange:function(e){return t("link",e,a)},placeholder:"https://example.com",help:(0,n.__)("Enter a valid URL.","essential-blocks"),showValidation:!0,enableSecurity:!0}),Ve&&React.createElement(p.ToggleControl,{label:(0,n.__)("Open in New Tab","essential-blocks"),checked:e.linkOpenNewTab,onChange:function(e){return t("linkOpenNewTab",e,a)}}))})),hasAddButton:!0,onAddItem:function(){var e=[].concat((0,s.A)(a.socialDetails),[{title:"Facebook",icon:"fab fa-facebook-f",color:"#fff",bgColor:"#A0A8BD",link:"",linkOpenNewTab:!1,isExpanded:!1}]);o({socialDetails:e})},addButtonText:(0,n.__)("Add Social Profile","essential-blocks")})))),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Separators","essential-blocks")},React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Content Separator","essential-blocks"),checked:Re,onChange:function(){return o({showCSeparator:!Re})}}),de&&"preset3"!==we&&React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Social Separator","essential-blocks"),checked:_e,onChange:function(){return o({showSSeparator:!_e})}})))),React.createElement(i.InspectorPanel.Style,null,React.createElement(React.Fragment,null,React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Container width","essential-blocks"),initialOpen:!0},React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Max Width","essential-blocks"),controlName:I,min:100,max:2e3,step:1})),/preset[2,3,4,8,9]|new-preset1|new-preset2|new-preset3/i.test(we||"")&&React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Overlay Contents","essential-blocks")},/preset[3,4,]|new-preset1|new-preset2|new-preset3/i.test(we||"")&&React.createElement(React.Fragment,null,React.createElement(i.ResponsiveDimensionsControl,{controlName:E,baseLabel:"margin"}),React.createElement(i.ResponsiveDimensionsControl,{controlName:C,baseLabel:"Padding"}),"preset4"===we&&"new-preset1"===we&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{id:"eb-team-content-vertical-alignments",label:"Vertical alignments"},React.createElement(p.ButtonGroup,{id:"eb-team-content-vertical-alignments"},$.map(function(e,t){var a=e.value,n=e.label;return React.createElement(p.Button,{key:t,isSecondary:De!==a,isPrimary:De===a,onClick:function(){return o({conVtAlign:a})}},n)})))),React.createElement(i.BorderShadowControl,{controlName:O,noBdrHover:!0})),React.createElement(p.BaseControl,{label:(0,n.__)("Background","essential-blocks")}),React.createElement(p.ToggleControl,{label:(0,n.__)("Use Background Gradient","essential-blocks"),checked:Ae,onChange:function(){return o({isConBgGradient:!Ae})}}),Ae?React.createElement(i.GradientColorControl,{gradientColor:Me,onChange:function(e){return o({conBgGradient:e})}}):React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Le,attributeName:"conBgColor"}),(0,b.applyFilters)("eb_team_member_preset8_shadow","",a,o,Je),React.createElement("style",null,"".concat("preset2"===we?"\n\n\t\t\t\t\tdiv.".concat(Z,".eb-team-wrapper div.contents{\n\t\t\t\t\t\ttop: 50%;\n\t\t\t\t\t}\n\n\t\t\t\t"):"","\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t").concat("preset3"===we?"\n\t\t\t\tdiv.".concat(Z,".eb-team-wrapper ul.socials {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"):"","\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t").concat("preset4"===we?"\n\t\t\t\tdiv.".concat(Z,".eb-team-wrapper div.contents {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"):"","\n\n\t\t\t\t\t\t\t\t\t\t\t\t"))),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Alignments","essential-blocks")},"preset5"===we?React.createElement(p.BaseControl,{id:"eb-team-avatar-vertical-alignments",label:"Avatar/Content Vertical Alignment"},React.createElement(p.SelectControl,{value:Fe,options:$,onChange:function(e){return o({imgCnVtAlign:e})}})):React.createElement(p.BaseControl,{id:"eb-team-image-alignments",label:"Avatar Horizontal Alignments"},React.createElement(p.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(p.Button,{icon:function(){return React.createElement(i.LeftAlignIcon,{color:"left"===ye&&"#6c40f7"})},onClick:function(){return o({imageAlign:"left"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.CenterAlignIcon,{color:"center"===ye&&"#6c40f7"})},onClick:function(){return o({imageAlign:"center"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.RightAlignIcon,{color:"right"===ye&&"#6c40f7"})},onClick:function(){return o({imageAlign:"right"})}}))),React.createElement(p.BaseControl,{id:"eb-team-contents-alignments",label:"Contents Horizontal Alignments"},React.createElement(p.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(p.Button,{icon:function(){return React.createElement(i.LeftAlignIcon,{color:"left"===fe&&"#6c40f7"})},onClick:function(){return o({contentsAlign:"left"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.CenterAlignIcon,{color:"center"===fe&&"#6c40f7"})},onClick:function(){return o({contentsAlign:"center"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.RightAlignIcon,{color:"right"===fe&&"#6c40f7"})},onClick:function(){return o({contentsAlign:"right"})}}))),de&&React.createElement(React.Fragment,null,React.createElement(p.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Horizontal Alignments"},React.createElement(p.SelectControl,{value:ue,options:X,onChange:function(e){return o({iconsJustify:e})}})),"preset3"===we&&React.createElement(p.BaseControl,{id:"eb-team-icons-alignments",label:"Social Icons Vertical Alignments"},React.createElement(p.SelectControl,{value:ge,options:$,onChange:function(e){return o({iconsVAlign:e})}}))),Re&&React.createElement(p.BaseControl,{id:"eb-team-contents-alignments",label:"Content Separator Alignment"},React.createElement(p.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(p.Button,{icon:function(){return React.createElement(i.LeftAlignIcon,{color:"left"===he&&"#6c40f7"})},onClick:function(){return o({cSepAlign:"left"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.CenterAlignIcon,{color:"center"===he&&"#6c40f7"})},onClick:function(){return o({cSepAlign:"center"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.RightAlignIcon,{color:"right"===he&&"#6c40f7"})},onClick:function(){return o({cSepAlign:"right"})}}))),de&&_e&&React.createElement(p.BaseControl,{id:"eb-team-contents-alignments",label:"Social Separator Alignment"},React.createElement(p.ButtonGroup,{className:"eb-btngrp-align"},React.createElement(p.Button,{icon:function(){return React.createElement(i.LeftAlignIcon,{color:"left"===ve&&"#6c40f7"})},onClick:function(){return o({sSepAlign:"left"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.CenterAlignIcon,{color:"center"===ve&&"#6c40f7"})},onClick:function(){return o({sSepAlign:"center"})}}),React.createElement(p.Button,{icon:function(){return React.createElement(i.RightAlignIcon,{color:"right"===ve&&"#6c40f7"})},onClick:function(){return o({sSepAlign:"right"})}})))),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Avatar","essential-blocks"),initialOpen:!1},React.createElement(i.ImageComponent.GeneralTab,{onSelect:function(e){var t=e.id,a=e.url;return o({imageNewUrl:a,imageId:t,imageAlt:alt})},value:J,hasTag:!1,hasCaption:!1,hasStyle:!1,hasLink:!1,showInPanel:!1}),J&&React.createElement(React.Fragment,null,React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Width","essential-blocks"),controlName:D,units:Q,max:2e3}),React.createElement(p.ToggleControl,{label:(0,n.__)("Auto Image Height","essential-blocks"),checked:oe,onChange:function(){return o({isImgHeightAuto:!oe})}}),!oe&&React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Image Height","essential-blocks"),controlName:A,units:Q,max:2e3}),React.createElement(i.ResponsiveDimensionsControl,{controlName:R,baseLabel:"Margin"}),React.createElement(i.ResponsiveDimensionsControl,{controlName:_,baseLabel:"Padding"}),React.createElement(i.BorderShadowControl,{controlName:P}),React.createElement(p.ToggleControl,{label:(0,n.__)("Enable Background before Image","essential-blocks"),checked:ke,onChange:function(){return o({imgBeforeEl:!ke})}}),ke&&React.createElement(React.Fragment,null,React.createElement(i.BackgroundControl,{noOverlay:!0,noMainBgi:!0,controlName:S}),React.createElement(i.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Height","essential-blocks"),controlName:H,min:0,max:300,step:1})))),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Name","essential-blocks"),initialOpen:!1},React.createElement(p.BaseControl,{label:(0,n.__)("Tag","essential-blocks")},React.createElement(p.ButtonGroup,{className:"eb-advance-heading-alignment eb-html-tag-buttongroup"},ae.map(function(e,t){return React.createElement(p.Button,{key:t,isPrimary:Ze===e.value,isSecondary:Ze!==e.value,onClick:function(){return o({titleTag:e.value})}},e.label)}))),React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ie,attributeName:"nameColor"}),React.createElement(i.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:m}),React.createElement(i.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Padding"})),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Job Title","essential-blocks"),initialOpen:!1},React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:ce,attributeName:"jobColor"}),React.createElement(i.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:u}),React.createElement(i.ResponsiveDimensionsControl,{controlName:v,baseLabel:"Padding"})),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Description","essential-blocks"),initialOpen:!1},re&&React.createElement(React.Fragment,null,React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:le,attributeName:"descsColor"}),React.createElement(i.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:d}),React.createElement(i.ResponsiveDimensionsControl,{controlName:y,baseLabel:"Padding"}))),de&&React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Social Icons","essential-blocks"),initialOpen:!1},React.createElement(i.ColorControl,{label:(0,n.__)("Hover Color","essential-blocks"),color:Oe,attributeName:"hvIcnColor"}),React.createElement(i.ColorControl,{label:(0,n.__)("Hover Background","essential-blocks"),color:Ie,attributeName:"hvIcnBgc"}),React.createElement(i.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Size","essential-blocks"),controlName:M,min:5,max:300,step:1}),React.createElement(i.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Padding","essential-blocks"),controlName:L,min:0,max:6,step:.1}),React.createElement(i.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Spacing","essential-blocks"),controlName:F,min:0,max:100,step:1}),React.createElement(i.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Rows Gap","essential-blocks"),controlName:j,min:0,max:100,step:1}),React.createElement("label",{style:{display:"block",margin:"-20px 0 20px"}},React.createElement("i",null,"N.B. 'Rows Gap' is used when you have multiple rows of social profiles. Normally in case of only one row, it's not needed")),React.createElement(p.ToggleControl,{label:(0,n.__)("Icons Devider","essential-blocks"),checked:Be,onChange:function(){return o({isIconsDevider:!Be})}}),Be&&React.createElement(React.Fragment,null,React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Te,attributeName:"icnsDevideColor"}),React.createElement(p.RangeControl,{label:(0,n.__)("Width","essential-blocks"),value:Ne,onChange:function(e){return o({icnSepW:e})},step:1,min:1,max:50}),React.createElement(p.RangeControl,{label:(0,n.__)("Height","essential-blocks"),value:Pe,onChange:function(e){return o({icnSepH:e})},step:1,min:1,max:300}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Position From Right","essential-blocks"),controlName:q,min:0,max:80,step:1})),React.createElement(p.SelectControl,{label:(0,n.__)("Icon Hover Effect","essential-blocks"),value:He,options:te,onChange:function(e){o({icnEffect:e})}}),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Icons Border","essential-blocks"),initialOpen:!1},React.createElement(i.BorderShadowControl,{controlName:N,noShadow:!0})),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Container Background ","essential-blocks"),initialOpen:!1},React.createElement(i.BackgroundControl,{controlName:B,noMainBgi:!0,noOverlay:!0})),React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Container Margin Padding ","essential-blocks"),initialOpen:!1},React.createElement(i.ResponsiveDimensionsControl,{controlName:k,baseLabel:"Margin"}),React.createElement(i.ResponsiveDimensionsControl,{controlName:w,baseLabel:"Padding"}))),Re&&React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Content Separator","essential-blocks"),initialOpen:!1},React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:xe,attributeName:"cSepColor"}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:z,min:0,max:800,step:1}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:V,min:0,max:20,step:1}),React.createElement(p.BaseControl,{label:(0,n.__)("Separator Type","essential-blocks")},React.createElement(p.SelectControl,{value:Ce,options:ee,onChange:function(e){o({cSepType:e})}}))),de&&_e&&React.createElement(i.InspectorPanel.PanelBody,{title:(0,n.__)("Social Separator","essential-blocks"),initialOpen:!1},React.createElement(i.ColorControl,{label:(0,n.__)("Color","essential-blocks"),color:Se,attributeName:"sSepColor"}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Width","essential-blocks"),controlName:U,min:0,max:800,step:1}),React.createElement(i.ResponsiveRangeController,{baseLabel:(0,n.__)("Height","essential-blocks"),controlName:G,min:0,max:20,step:1}),React.createElement(p.BaseControl,{label:(0,n.__)("Separator Type","essential-blocks")},React.createElement(p.SelectControl,{value:Ee,options:ee,onChange:function(e){o({sSepType:e})}}))))))};function re(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,r=e.linkNewTab,l=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===l?"socials-title":"")},a.map(function(e,t){var a=e.title,c=e.link,s=e.icon;return React.createElement("li",{key:t},React.createElement("a",(0,o.A)({className:n||" ",href:c?(0,i.sanitizeURL)(c):""},c&&{target:r?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement(i.EBDisplayIcon,{className:"hvr-icon social-icon",icon:s}),"new-preset3"===l&&a?a:""))}))}function le(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockId),r=(t.blockMeta,t.name,t.jobTitle,t.description,t.showDescs),l=(t.imageUrl,t.imageId,t.isImgHeightAuto),c=t.descsColor,s=void 0===c?"#9f9f9f":c,p=t.jobColor,b=void 0===p?"#4b4b4b":p,Z=t.nameColor,J=void 0===Z?"#4b4b4b":Z,Y=t.showSocials,Q=t.socialDetails,X=t.iconsJustify,$=t.iconsVAlign,K=t.contentsAlign,ee=t.imageAlign,te=t.cSepAlign,ae=t.sSepAlign,ne=t.preset,oe=(t.socialInImage,t.imgBeforeEl),re=t.showCSeparator,le=t.showSSeparator,ce=t.cSepType,ie=void 0===ce?"solid":ce,se=t.sSepType,pe=void 0===se?"solid":se,be=t.cSepColor,de=void 0===be?"#84AFFF":be,me=t.sSepColor,ue=void 0===me?"#CACACA":me,ge=t.isIconsDevider,fe=t.icnsDevideColor,ye=void 0===fe?"#cacaca":fe,he=t.icnSepW,ve=void 0===he?1:he,we=t.icnSepH,ke=void 0===we?30:we,Re=t.hvIcnColor,_e=t.hvIcnBgc,Ce=t.conVtAlign,Ee=t.isConBgGradient,xe=t.conBgGradient,Se=t.conBgColor,Be=void 0===Se?"rgba(0,0,0,.4)":Se,Te=t.imgCnVtAlign,Ne=t.isP9reverse,Pe=t.icnEffect,Oe=(t.classHook,t.isContentOverlay),Ie=(0,i.generateTypographyStyles)({attributes:t,prefixConstant:m}),De=Ie.typoStylesDesktop,Ae=Ie.typoStylesTab,Me=Ie.typoStylesMobile,Le=(0,i.generateTypographyStyles)({attributes:t,prefixConstant:u}),Fe=Le.typoStylesDesktop,je=Le.typoStylesTab,He=Le.typoStylesMobile,ze=(0,i.generateTypographyStyles)({attributes:t,prefixConstant:d}),Ue=ze.typoStylesDesktop,Ve=ze.typoStylesTab,Ge=ze.typoStylesMobile,qe=(0,i.generateResponsiveRangeStyles)({controlName:I,property:"max-width",attributes:t}),We=qe.rangeStylesDesktop,Ze=qe.rangeStylesTab,Je=qe.rangeStylesMobile,Ye=(0,i.generateResponsiveRangeStyles)({controlName:D,property:"width",attributes:t}),Qe=Ye.rangeStylesDesktop,Xe=Ye.rangeStylesTab,$e=Ye.rangeStylesMobile,Ke=(0,i.generateResponsiveRangeStyles)({controlName:W,property:"Gap",attributes:t}),et=Ke.rangeStylesDesktop,tt=Ke.rangeStylesTab,at=Ke.rangeStylesMobile,nt=(0,i.generateResponsiveRangeStyles)({controlName:A,property:"height",attributes:t}),ot=nt.rangeStylesDesktop,rt=nt.rangeStylesTab,lt=nt.rangeStylesMobile,ct=(0,i.generateResponsiveRangeStyles)({controlName:M,customUnit:"px",property:"font-size",attributes:t}),it=ct.rangeStylesDesktop,st=ct.rangeStylesTab,pt=ct.rangeStylesMobile,bt=(0,i.generateResponsiveRangeStyles)({controlName:L,customUnit:"em",property:"padding",attributes:t}),dt=bt.rangeStylesDesktop,mt=bt.rangeStylesTab,ut=bt.rangeStylesMobile,gt=(0,i.generateResponsiveRangeStyles)({controlName:F,customUnit:"px",property:"column-gap",attributes:t}),ft=gt.rangeStylesDesktop,yt=gt.rangeStylesTab,ht=gt.rangeStylesMobile,vt=(0,i.generateResponsiveRangeStyles)({controlName:j,customUnit:"px",property:"row-gap",attributes:t}),wt=vt.rangeStylesDesktop,kt=vt.rangeStylesTab,Rt=vt.rangeStylesMobile,_t=(0,i.generateResponsiveRangeStyles)({controlName:H,customUnit:"px",property:"height",attributes:t}),Ct=_t.rangeStylesDesktop,Et=_t.rangeStylesTab,xt=_t.rangeStylesMobile,St=(0,i.generateResponsiveRangeStyles)({controlName:z,property:"width",attributes:t}),Bt=St.rangeStylesDesktop,Tt=St.rangeStylesTab,Nt=St.rangeStylesMobile,Pt=(0,i.generateResponsiveRangeStyles)({controlName:U,property:"width",attributes:t}),Ot=Pt.rangeStylesDesktop,It=Pt.rangeStylesTab,Dt=Pt.rangeStylesMobile,At=(0,i.generateResponsiveRangeStyles)({controlName:V,property:"border-bottom-width",attributes:t}),Mt=At.rangeStylesDesktop,Lt=At.rangeStylesTab,Ft=At.rangeStylesMobile,jt=(0,i.generateResponsiveRangeStyles)({controlName:G,property:"border-bottom-width",attributes:t}),Ht=jt.rangeStylesDesktop,zt=jt.rangeStylesTab,Ut=jt.rangeStylesMobile,Vt=(0,i.generateResponsiveRangeStyles)({controlName:q,property:"margin-right",attributes:t}),Gt=Vt.rangeStylesDesktop,qt=Vt.rangeStylesTab,Wt=Vt.rangeStylesMobile,Zt=(0,i.generateBackgroundControlStyles)({attributes:t,controlName:x}),Jt=Zt.backgroundStylesDesktop,Yt=Zt.hoverBackgroundStylesDesktop,Qt=Zt.backgroundStylesTab,Xt=Zt.hoverBackgroundStylesTab,$t=Zt.backgroundStylesMobile,Kt=Zt.hoverBackgroundStylesMobile,ea=Zt.overlayStylesDesktop,ta=Zt.hoverOverlayStylesDesktop,aa=Zt.overlayStylesTab,na=Zt.hoverOverlayStylesTab,oa=Zt.overlayStylesMobile,ra=Zt.hoverOverlayStylesMobile,la=Zt.bgTransitionStyle,ca=Zt.ovlTransitionStyle,ia=(0,i.generateBackgroundControlStyles)({attributes:t,controlName:S,noOverlay:!0,noMainBgi:!0}),sa=ia.backgroundStylesDesktop,pa=ia.hoverBackgroundStylesDesktop,ba=ia.bgTransitionStyle,da=(0,i.generateBackgroundControlStyles)({attributes:t,controlName:B,noOverlay:!0,noMainBgi:!0}),ma=da.backgroundStylesDesktop,ua=da.hoverBackgroundStylesDesktop,ga=da.bgTransitionStyle,fa=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:g,styleFor:"margin"}),ya=fa.dimensionStylesDesktop,ha=fa.dimensionStylesTab,va=fa.dimensionStylesMobile,wa=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:f,styleFor:"padding"}),ka=wa.dimensionStylesDesktop,Ra=wa.dimensionStylesTab,_a=wa.dimensionStylesMobile,Ca=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:y,styleFor:"padding"}),Ea=Ca.dimensionStylesDesktop,xa=Ca.dimensionStylesTab,Sa=Ca.dimensionStylesMobile,Ba=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:h,styleFor:"padding"}),Ta=Ba.dimensionStylesDesktop,Na=Ba.dimensionStylesTab,Pa=Ba.dimensionStylesMobile,Oa=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:v,styleFor:"padding"}),Ia=Oa.dimensionStylesDesktop,Da=Oa.dimensionStylesTab,Aa=Oa.dimensionStylesMobile,Ma=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:w,styleFor:"padding"}),La=Ma.dimensionStylesDesktop,Fa=Ma.dimensionStylesTab,ja=Ma.dimensionStylesMobile,Ha=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:k,styleFor:"margin"}),za=Ha.dimensionStylesDesktop,Ua=Ha.dimensionStylesTab,Va=Ha.dimensionStylesMobile,Ga=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:R,styleFor:"margin"}),qa=Ga.dimensionStylesDesktop,Wa=Ga.dimensionStylesTab,Za=Ga.dimensionStylesMobile,Ja=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:_,styleFor:"padding"}),Ya=Ja.dimensionStylesDesktop,Qa=Ja.dimensionStylesTab,Xa=Ja.dimensionStylesMobile,$a=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:C,styleFor:"padding"}),Ka=$a.dimensionStylesDesktop,en=$a.dimensionStylesTab,tn=$a.dimensionStylesMobile,an=(0,i.generateDimensionsControlStyles)({attributes:t,controlName:E,styleFor:"margin"}),nn=an.dimensionStylesDesktop,on=an.dimensionStylesTab,rn=an.dimensionStylesMobile,ln=(0,i.generateBorderShadowStyles)({controlName:T,attributes:t}),cn=ln.styesDesktop,sn=ln.styesTab,pn=ln.styesMobile,bn=ln.stylesHoverDesktop,dn=ln.stylesHoverTab,mn=ln.stylesHoverMobile,un=ln.transitionStyle,gn=(0,i.generateBorderShadowStyles)({controlName:N,attributes:t,noShadow:!0}),fn=gn.styesDesktop,yn=gn.styesTab,hn=gn.styesMobile,vn=gn.stylesHoverDesktop,wn=gn.stylesHoverTab,kn=gn.stylesHoverMobile,Rn=gn.transitionStyle,_n=(0,i.generateBorderShadowStyles)({controlName:P,attributes:t}),Cn=_n.styesDesktop,En=_n.styesTab,xn=_n.styesMobile,Sn=_n.stylesHoverDesktop,Bn=_n.stylesHoverTab,Tn=_n.stylesHoverMobile,Nn=_n.transitionStyle,Pn=(0,i.generateBorderShadowStyles)({controlName:O,attributes:t}),On=Pn.styesDesktop,In=Pn.styesTab,Dn=Pn.styesMobile,An=Q.reduce(function(e,t,a){return"\n\t\t ".concat(e,"\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:nth-child(").concat(a+1,") a {\n\t\t\t background-color: ").concat(t.bgColor||"#000",";\n\t\t\t color: ").concat(t.color||"#fff",";\n\t\t }\n\t\t ")},""),Mn="\n\t\t div.eb-team-wrapper h3,\n\t\t div.eb-team-wrapper h4,\n\t\t div.eb-team-wrapper p,\n\t\t div.eb-team-wrapper ul {\n\t\t\t margin: 0;\n\t\t\t padding:0;\n\t\t }\n\n\t\t .social-icon {\n\t\t\t font-style: normal;\n\t\t }\n\n\n\t\t .".concat(o,".eb-team-wrapper > *{\n\t\t\t position:relative;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper {\n\t\t\t position:relative;\n\t\t\t overflow:hidden;\n\t\t\t margin:auto;\n\t\t\t ").concat(We,"\n\t\t\t ").concat(Jt,"\n\t\t\t ").concat(ya,"\n\t\t\t ").concat(ka,"\n\t\t\t ").concat(cn,"\n\t\t\t transition: ").concat(la,", ").concat(un,";\n\t\t }\n\n\n\t\t ").concat("preset3"===ne?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image{\n\t\t\t\t\t position: relative;\n\t\t\t\t }\n\t\t\t\t "):"","\n\t\t ").concat("preset3"===ne&&Oe?"\n .".concat(o,".eb-team-wrapper.content-overlay .eb-team-member-contents {\n justify-content: ").concat(Ce||"center",";\n ").concat(Ka,"\n ").concat(nn,"\n ").concat(On,"\n ").concat(Ee?"background-image: ".concat(xe,";"):"background-color: ".concat(Be,";"),"\n }\n\t\t\t\t "):"","\n\n\t\t ").concat("preset2"===ne?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents{\n\t\t\t\t\t ").concat(Ee?"background-image: ".concat(xe,";"):"background-color: ".concat(Be,";"),"\n\t\t\t\t\t height: 50%;\n\t\t\t\t\t display: flex;\n\t\t\t\t\t flex-direction: column;\n\t\t\t\t\t justify-content: center;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title {\n\t\t\t\t\t display: block;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper div.eb-team-member-contents ul.socials {\n\t\t\t\t\t display: flex;\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents{\n\t\t\t\t\t top: 50%;\n\t\t\t\t }\n\n\t\t\t\t "):"","\n\n ").concat("new-preset1"===ne||"new-preset2"===ne||"new-preset3"===ne?"\n .".concat(o,".eb-team-wrapper .eb-team-member-contents-inner{\n ").concat(Ee?"background-image: ".concat(xe,";"):"background-color: ".concat(Be,";"),"\n ").concat(Ka,"\n\t\t\t ").concat(nn,"\n\t\t\t ").concat(On,"\n }\n\n .").concat(o,".eb-team-wrapper .eb-team-member-job-title {\n ").concat(Fe,"\n ").concat(Ia,"\n color: ").concat(b,";\n ").concat("preset2"===ne?"display:none;":"","\n }\n\n .").concat(o,".eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title {\n display: block;\n }\n\n .").concat(o,".eb-team-wrapper div.eb-team-member-contents ul.socials {\n display: flex;\n }\n\n .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents{\n top: 50%;\n }\n\n "):"","\n\n\n\t\t ").concat("preset5"===ne?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t\t display: flex;\n\t\t\t\t\t justify-content: space-between;\n\t\t\t\t\t flex-direction: ").concat(Ne?"row-reverse":"row",";\n\t\t\t\t\t align-items: ").concat(Te||"flex-start",";\n\t\t\t\t\t ").concat(et,"\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t\t ").concat(Qe,"\n\t\t\t\t }\n\n\t\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t\t\t flex:1;\n\t\t\t\t }\n\t\t\t\t "):"","\n\n\n\n\t\t .").concat(o,".eb-team-wrapper:hover{\n\t\t\t ").concat("preset2"===ne?"overflow:hidden;":"","\n\n\t\t\t ").concat(Yt,"\n\t\t\t ").concat(bn,"\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:before{\n\t\t\t ").concat(ea,"\n\t\t\t transition: ").concat(ca,";\n\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t\t ").concat(ta,"\n\n\t\t }\n\n .").concat(o,".eb-team-wrapper .eb-team-member-image {\n ").concat("left"===ee?"text-align: left;":"right"===ee?"text-align: right;":"text-align: center","\n }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image img {\n\t\t\t max-width: 100%;\n\t\t\t object-fit: cover;\n\t\t\t display: inline-block;\n\t\t\t ").concat("preset5"===ne?"width:100%;":Qe,"\n\t\t\t ").concat(Cn,"\n\t\t\t ").concat(qa,"\n\t\t\t ").concat(Ya,"\n\t\t\t ").concat(l?"height:auto;":ot,"\n\t\t\t ").concat("preset6"===ne?"clipPath: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);":"","\n\t\t }\n\n\n\t\t ").concat(oe?"\n\t\t\t .".concat(o,'.eb-team-wrapper .eb-team-member-image:before {\n\t\t\t\t content: "";\n\t\t\t\t display: block;\n\t\t\t\t ').concat(Ct,"\n\t\t\t\t ").concat(sa,"\n\t\t\t\t transition: ").concat(ba,";\n\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover:before{\n\t\t\t\t ").concat(pa,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t\t ").concat(Sn,"\n\t\t\t transition: ").concat(Nn,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t text-align: ").concat(K,";\n\t\t\t box-sizing: border-box;\n\t\t\t ").concat("preset2"===ne?"\n\t\t\t\t\t position: absolute;\n\t\t\t\t\t left: 0;\n\t\t\t\t\t right: 0;\n\t\t\t\t\t top: 100%;\n\t\t\t\t\t transition: 0.5s;\n\t\t\t\t\t ":"","\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t\t ").concat(De,"\n\t\t\t ").concat(Ta,"\n\t\t\t color: ").concat(J,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t\t ").concat(Fe,"\n\t\t\t ").concat(Ia,"\n\t\t\t color: ").concat(b,";\n\t\t\t ").concat("preset2"===ne?"display:none;":"","\n\t\t }\n\n\t\t ").concat(r?"\n\t\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t\t color: ").concat(s,";\n\t\t\t\t\t ").concat(Ea,"\n\t\t\t\t\t ").concat(Ue,"\n\t\t\t\t }\n\t\t\t\t "):"","\n\n ").concat(re?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t border: none;\n\t\t\t margin: auto;\n\t\t\t border-bottom: 1px ").concat(ie," ").concat(de,";\n\t\t\t ").concat(Bt,"\n\t\t\t ").concat(Mt,"\n\t\t\t ").concat("left"===te?"margin-left:0;":"right"===te?"margin-right:0;":"","\n\t\t }\n\t\t "):"","\n\n ").concat(Y&&le?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t border: none;\n\t\t\t margin: auto;\n\t\t\t border-bottom: 1px ").concat(pe," ").concat(ue,";\n\t\t\t ").concat(Ot,"\n\t\t\t ").concat(Ht,"\n\t\t\t ").concat("left"===ae?"margin-left:0;":"right"===ae?"margin-right:0;":"","\n\t\t }\n\t\t "):"","\n\n ").concat("preset4"===ne?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t position: relative;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper:hover .eb-team-member-contents {\n\t\t\t opacity: 1;\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t transition: 0.5s;\n\t\t\t opacity: 0;\n\t\t\t position: absolute;\n\t\t\t top: 0;\n\t\t\t left: 0;\n\t\t\t right: 0;\n\t\t\t bottom: 0;\n\t\t\t display: flex;\n\t\t\t flex-direction: column;\n\t\t\t justify-content: ").concat(Ce||"center",";\n\t\t\t ").concat(Ka,"\n\t\t\t ").concat(nn,"\n\t\t\t ").concat(On,"\n\t\t\t ").concat(Ee?"background-image: ".concat(xe,";"):"background-color: ".concat(Be,";"),"\n\t\t }\n\n\t\t "):"","\n\n ").concat(Y?"\n\t\t ".concat(An,"\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t list-style: none;\n\t\t\t flex-wrap: wrap;\n\t\t\t align-items: ").concat($||"center",";\n\t\t\t justify-content: ").concat(X,";\n\t\t\t ").concat(ft,"\n\t\t\t ").concat(wt,"\n\t\t\t ").concat(ma,"\n\t\t\t transition: ").concat(ga,", opacity .5s;\n\t\t\t ").concat("preset2"===ne?"display:none;":"display: flex;","\n\t\t\t ").concat("preset3"!==ne||Oe?"\n\t\t\t\t\t ".concat(za,"\n\t\t\t\t\t ").concat(La,"\n\t\t\t\t\t "):"\n\t\t\t\t opacity:0;\n\t\t\t\t position: absolute;\n\t\t\t\t top: 0;\n\t\t\t\t bottom: 0;\n\t\t\t\t left:0;\n\t\t\t\t right:0;\n\t\t\t\t box-sizing:border-box;\n\t\t\t\t ".concat(Ka,"\n\t\t\t\t ").concat(nn,"\n\t\t\t\t ").concat(On,"\n\t\t\t\t ").concat(Ee?"background-image: ".concat(xe,";"):"background-color: ".concat(Be,";"),"\n\t\t\t "),"\n\t\t }\n\n\t\t ").concat("preset3"===ne?"\n\t\t\t\t .".concat(o,".eb-team-wrapper:hover ul.socials {\n\t\t\t\t\t opacity: 1;\n\t\t\t\t }\n\t\t\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials:hover {\n\t\t\t ").concat(ua,"\n\t\t }\n\n\t ").concat(ge?"\n\t\t .".concat(o,".eb-team-wrapper ul.socials li{\n\t\t\t position:relative;\n\t\t }\n\n\t\t .").concat(o,'.eb-team-wrapper ul.socials li + li:before {\n\t\t\t content: "";\n\t\t\t background-color: ').concat(ye,";\n\t\t\t height: ").concat(ke,"px;\n\t\t\t width: ").concat(ve,"px;\n\t\t\t position: absolute;\n\t\t\t top: 2px;\n\t\t\t right: 100%;\n\t\t\t ").concat(Gt,"\n\t\t }\n\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t box-sizing:content-box;\n\t\t\t text-decoration: none;\n\t\t\t cursor: pointer;\n\t\t\t display: flex;\n\t\t\t justify-content: center;\n\t\t\t align-items: center;\n\t\t\t height: 0;\n\t\t\t width: 0;\n line-height: 1em;\n\t\t\t ").concat(it,"\n\t\t\t ").concat(dt,"\n\t\t\t ").concat(fn,"\n\t\t\t transition: color 0.5s, background-color 0.5s, ").concat(Rn,";\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t background-color:").concat(_e,";\n\t\t\t color:").concat(Re,";\n\t\t\t ").concat(vn,"\n\t\t }\n\n ").concat(Pe?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n background-color:").concat(_e,";\n\t\t\t color:").concat(Re,";\n\t\t\t ").concat(vn,"\n\t\t\t}\n\t\t\t"):"","\n\n\t\t "):"","\n\n\n\n\t "),Ln="\n\t .".concat(o,".eb-team-wrapper {\n\t\t ").concat(Ze,"\n\t\t ").concat(Qt,"\n\t\t ").concat(ha,"\n\t\t ").concat(Ra,"\n\t\t ").concat(sn,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover{\n\t\t ").concat(Xt,"\n\t\t ").concat(dn,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:before{\n\t\t ").concat(aa,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t ").concat(na,"\n\n\t }\n\n\n\t ").concat("preset5"===ne?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t ").concat(Xe,"\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t ").concat(tt,"\n\t\t\t }\n\n\t\t\t "):"","\n\n\n\t ").concat(oe?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image:before {\n\t\t\t ").concat(Et,"\n\t\t }\n\t\t "):"","\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image > img {\n\t\t ").concat(En,"\n\t\t ").concat(Wa,"\n\t\t ").concat(Qa,"\n\t\t ").concat("preset5"===ne?"":Xe,"\n\t\t ").concat(l?"":rt,"\n\t }\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t ").concat(Bn,"\n\n\t }\n\n\n\t ").concat(r?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t ").concat(Ve,"\n\t\t\t\t ").concat(xa,"\n\t\t\t }\n\t\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t ").concat(Ae,"\n\t\t ").concat(Na,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t ").concat(je,"\n\t\t ").concat(Da,"\n\t }\n\n\n\n ").concat(re?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t ").concat(Tt,"\n\t\t\t ").concat(Lt,"\n\t\t }\n\t\t "):"","\n\n ").concat(Y&&le?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t ").concat(It,"\n\t\t\t ").concat(zt,"\n\t\t }\n\t\t "):"","\n\n ").concat("preset4"===ne?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t ").concat(en,"\n\t\t\t ").concat(on,"\n\t\t\t ").concat(In,"\n\t\t }\n\t\t "):"","\n\n ").concat(Y?"\n\t\t ".concat(An,"\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t ").concat(Ua,"\n\t\t\t ").concat(Fa,"\n\t\t\t ").concat(yt,"\n\t\t\t ").concat(kt,"\n\t\t\t ").concat("preset3"===ne?"\n\t\t\t\t\t\t ".concat(en,"\n\t\t\t\t\t\t ").concat(on,"\n\t\t\t\t\t\t ").concat(In,"\n\t\t\t\t\t "):"","\n\t\t }\n\n\n\t ").concat(ge?"\n\t\t\t .".concat(o,".eb-team-wrapper ul.socials li + li:before {\n\t\t\t\t ").concat(qt,"\n\t\t\t }\n\t\t\t "):"","\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t ").concat(st,"\n\t\t\t ").concat(mt,"\n\t\t\t ").concat(yn,"\n\t\t }\n\n\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t ").concat(wn,"\n\t\t }\n\t\t "):"","\n\n ").concat(Pe?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n ").concat(wn,"\n }\n "):"","\n\n\n\t "),Fn="\n\t .".concat(o,".eb-team-wrapper {\n\t\t ").concat(Je,"\n\t\t ").concat($t,"\n\t\t ").concat(va,"\n\t\t ").concat(_a,"\n\t\t ").concat(pn,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover{\n\t\t ").concat(Kt,"\n\t\t ").concat(mn,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:before{\n\t\t ").concat(oa,"\n\n\t }\n\n\t .").concat(o,".eb-team-wrapper:hover:before{\n\t\t ").concat(ra,"\n\n\t }\n\n\t ").concat("preset5"===ne?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image {\n\t\t\t\t ").concat($e,"\n\t\t\t }\n\n\t\t\t .").concat(o,".eb-team-wrapper .eb-team-inner {\n\t\t\t\t ").concat(at,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\t ").concat(oe?"\n\t\t .".concat(o,".eb-team-wrapper .eb-team-member-image:before {\n\t\t\t ").concat(xt,"\n\t\t }\n\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image > img {\n\t\t ").concat("preset5"===ne?"":$e,"\n\t\t ").concat(xn,"\n\t\t ").concat(Za,"\n\t\t ").concat(Xa,"\n\n\t\t ").concat(l?"":lt,"\n\t }\n\n\n\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-image:hover > img {\n\t\t ").concat(Tn,"\n\t }\n\n\t ").concat(r?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-description {\n\t\t\t\t ").concat(Ge,"\n\t\t\t\t ").concat(Sa,"\n\t\t\t }\n\t\t\t "):"","\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-name {\n\t\t ").concat(Me,"\n\t\t ").concat(Pa,"\n\t }\n\n\t .").concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title {\n\t\t ").concat(He,"\n\t\t ").concat(Aa,"\n\t }\n\n\n\n\t ").concat(re?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator {\n\t\t\t\t ").concat(Nt,"\n\t\t\t\t ").concat(Ft,"\n\t\t\t }\n\t\t\t "):"","\n\n\t ").concat(Y&&le?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-social-separator {\n\t\t\t\t ").concat(Dt,"\n\t\t\t\t ").concat(Ut,"\n\t\t\t }\n\t\t\t "):"","\n\n\n\t ").concat("preset4"===ne?"\n\t\t\t .".concat(o,".eb-team-wrapper .eb-team-member-contents {\n\t\t\t\t ").concat(tn,"\n\t\t\t\t ").concat(rn,"\n\t\t\t\t ").concat(Dn,"\n\t\t\t }\n\t\t\t "):"","\n\n\t ").concat(Y?"\n\t\t\t ".concat(An,"\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials {\n\t\t\t\t ").concat(ht,"\n\t\t\t\t ").concat(Rt,"\n\t\t\t\t ").concat(ja,"\n\t\t\t\t ").concat(Va,"\n\t\t\t\t ").concat("preset3"===ne?"\n\t\t\t\t\t\t\t ".concat(tn,"\n\t\t\t\t\t\t\t ").concat(rn,"\n\t\t\t\t\t\t\t ").concat(Dn,"\n\t\t\t\t\t\t "):"","\n\t\t\t }\n\n\t\t\t ").concat(ge?"\n\t\t\t\t\t .".concat(o,".eb-team-wrapper ul.socials li + li:before {\n\t\t\t\t\t\t ").concat(Wt,"\n\t\t\t\t\t }\n\t\t\t\t\t "):"","\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials li a {\n\t\t\t\t ").concat(pt,"\n\t\t\t\t ").concat(ut,"\n\t\t\t\t ").concat(hn,"\n\t\t\t }\n\n\n\t\t\t .").concat(o,".eb-team-wrapper ul.socials li:hover a {\n\t\t\t\t ").concat(kn,"\n\t\t\t }\n\n ").concat(Pe?".".concat(o,".eb-team-wrapper ul.socials li a:before {\n ").concat(kn,"\n }\n "):"","\n\n\t\t\t "):"","\n\n\n\t "),jn=(0,i.softMinifyCssStrings)("\n\t\t ".concat(Mn,"\n\n\n\t ")),Hn=(0,i.softMinifyCssStrings)("\n\t\t ".concat(Ln,"\n\n\n\t ")),zn=(0,i.softMinifyCssStrings)("\n\t\t ".concat(Fn,"\n\n\n\t "));return React.createElement(React.Fragment,null,React.createElement(i.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:jn,tabAllStyles:Hn,mobileAllStyles:zn,blockName:n}))}var ce;function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ie.apply(null,arguments)}var se=function(e){return l.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 57 60"},e),ce||(ce=l.createElement("path",{fill:"#6C3BFF",d:"m56.4 51.429-2.314-8.572-.086-.086s-.086-.085-.086-.171-.085-.171-.085-.171c-1.629-4.715-5.4-8.229-10.115-9.343l-.685-.172c-.258-.085-.515-.085-.772-.085-.857 0-1.714.428-2.4 1.028-2.4 2.829-5.657 3-8.828 3-3.515 0-6.515-.171-8.829-3q-.9-1.029-2.314-1.028c-.257 0-.6 0-.857.085l-.858.172c-3.428.771-6.428 3-8.571 6.085H2.743c0-.085 0-.085-.086-.171l1.457-5.057C5.4 29.829 7.8 28.8 12.686 27.514h.085l.086-.085s.086-.086.172-.086h.085c.429.257.772.6 1.2.686.257.257.6.257.772.257.514 0 1.028-.257 1.285-.857.172-.515.258-.943.086-1.372-.171-.257-.428-.6-.771-.6C13.2 24.171 11.4 20.4 11.4 16.543a6.054 6.054 0 0 1 6.086-6.086c.428 0 .857.086 1.371.172-.6 1.457-.857 3-.857 4.8 0 10.028 5.914 18.257 13.2 18.257 7.114 0 13.2-8.572 13.2-18.257 0-7.286-5.914-13.2-13.2-13.2-4.371 0-8.486 2.142-10.886 5.742-.943-.257-1.971-.514-2.828-.514-3.086 0-5.915 1.543-7.8 4.286-.429.514-.515.857-.857 1.886-.258.685-.429 1.8-.429 2.742 0 3 .943 6.086 2.657 8.486-3.6.943-6.343 2.229-8.143 5.143 0 .086-1.028 1.543-1.371 3.086L.17 38.4c-.257.943 0 1.886.6 2.4.515.686 1.2 1.2 1.972 1.2H8.4c-.086.257-.171.6-.171.771l-2.315 8.486c-.171.943-.171 2.143.772 3.086.771.943 1.628 1.457 2.743 1.457h43.714c1.028 0 1.971-.514 2.743-1.371.685-.686.857-1.8.514-3M21.514 13.286c.172-.857.429-1.715.686-2.4l.429-.429c1.885-3.171 5.142-5.143 8.828-5.143 4.372 0 8.229 2.743 9.686 6.772h-.6c-1.714 0-3.172-.772-4.114-2.057-.258-.429-.686-.6-1.2-.6-.429 0-.686.085-.943.428-.172.172-.429.429-.429.772l-.086.171c-1.2 2.229-4.2 3.6-8.228 3.6-1.372 0-2.743-.086-4.2-.429.086-.257.171-.428.171-.685m3.772 3.771c4.885 0 8.485-1.371 10.285-3.943 1.286 1.029 2.915 1.629 5.058 1.629.257 0 .6-.086.857-.086h.257c.086.172.086.429.086.686 0 8.143-4.8 15.428-10.286 15.428-4.972 0-9.6-6.342-10.2-13.971 1.286.257 2.657.257 3.943.257M53.57 52.8c-.171.171-.171.171-.428.171H8.914v-.085L8.83 52.8s-.086-.086-.086-.514l2.314-8.486c1.029-3.771 4.114-6.686 8.057-7.886l.772-.171s.085 0 .085.086c.086 0 .086.085.172.085 3.086 3.6 6.771 3.857 10.971 3.857 3.772 0 7.8-.257 10.972-3.857.085-.085.085-.085.171-.085l.172.085.685.172c3.772.943 6.857 3.943 8.057 7.885l.943 3.686.172.343.085.086 1.372 4.371c0-.086-.086.172-.172.343z"})))},pe=[{title:"Default Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-kdij4","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-kdij4.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-kdij4.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:100%; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-kdij4.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:200px; height:200px }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; color:var(\\u002d\\u002deb-global-heading-color) }.eb-team-member-kdij4.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:var(\\u002d\\u002deb-global-text-color); padding-top:15px; padding-bottom:20px; font-size:16px }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:20px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:10px }.eb-team-member-kdij4.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }","tab":".eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-kdij4.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"commonStyles":{"desktop":".eb-parent-eb-team-member-kdij4 { display:block }.root-eb-team-member-kdij4 { position:relative }","tab":".eb-parent-eb-team-member-kdij4 { display:block }","mobile":".eb-parent-eb-team-member-kdij4 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-kdij4"><div class="eb-parent-wrapper eb-parent-eb-team-member-kdij4 "><div class="eb-team-member-kdij4 eb-team-wrapper default "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Classic Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-3blic","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-3blic.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-3blic.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:100%; background-color:rgba(255,255,255,1); box-shadow:rgba(0,0,0,0.3) 0px 5px 20px 0px ; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper:hover { box-shadow:rgba(0,0,0,0.3) 0px 5px 20px 0px }.eb-team-member-3blic.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:200px; border-width:5px; border-color:rgba(255,255,255,1); border-style:solid; border-radius:50%; margin-top:-100px; height:200px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image:before { content:\\u0022\\u0022; display:block; height:150px; background-color:var(\\u002d\\u002deb-global-primary-color); transition:background 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#9f9f9f; padding-top:15px; padding-right:20px; padding-left:20px; padding-bottom:20px; font-size:16px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-contents .eb-team-member-content-separator { border:none; margin:auto; border-bottom:1px solid #E1E7F1; width:70px; border-bottom-width:3px }.eb-team-member-3blic.eb-team-wrapper .eb-team-member-social-separator { border:none; margin:auto; border-bottom:1px solid #E1E7F1; width:90%; border-bottom-width:1px }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:50px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:20px; padding-right:40px; padding-left:40px; padding-bottom:20px }.eb-team-member-3blic.eb-team-wrapper ul.socials li { position:relative }.eb-team-member-3blic.eb-team-wrapper ul.socials li + li:before { content:\\u0022\\u0022; background-color:#cacaca; height:38px; width:1px; position:absolute; top:2px; right:100%; margin-right:23px }.eb-team-member-3blic.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-3blic.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-3blic.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#9f9f9f","nameColor":"#4b4b4b","jobColor":"#4b4b4b","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"preset1","imgBeforeEl":true,"showCSeparator":true,"showSSeparator":true,"cSepColor":"#E1E7F1","sSepColor":"#E1E7F1","isIconsDevider":true,"icnSepH":38,"hvIcnColor":"#fff","hvIcnBgc":"#909AA9","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":20,"icnSp_Range":50,"WrpBg_backgroundColor":"rgba(255,255,255,1)","imgBgP_gradientColor":"linear-gradient(45deg, rgba(120,102,255,0.49) 0% , rgba(195,120,242,0.52) 100%)","hov_imgBgP_gradientColor":"linear-gradient(45deg, rgba(0,0,0,0.8) 0% , rgba(0,0,0,0.4) 100%)","wrpBdSd_hOffset":0,"wrpBdSd_vOffset":5,"wrpBdSd_blur":20,"wrpBdSd_spread":0,"wrpBdSd_shadowColor":"rgba(0,0,0,0.3)","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_borderStyle":"solid","imgBd_Bdr_Top":"5","imgBd_Bdr_Right":"5","imgBd_Bdr_Bottom":"5","imgBd_Bdr_Left":"5","imgBd_Rds_Unit":"%","imgBd_Rds_Top":"50","imgBd_Rds_Right":"50","imgBd_Rds_Bottom":"50","imgBd_Rds_Left":"50","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","wrpMrg_isLinked":false,"wrpPad_isLinked":false,"imgMrg_isLinked":false,"imgMrg_Top":"-100","dscP_Right":"20","dscP_Left":"20","jobP_isLinked":false,"jobP_Bottom":"15","icnWp_Top":"20","icnWp_Right":"40","icnWp_Bottom":"20","icnWp_Left":"40","commonStyles":{"desktop":".eb-parent-eb-team-member-3blic { display:block }.root-eb-team-member-3blic { position:relative }","tab":".eb-parent-eb-team-member-3blic { display:block }","mobile":".eb-parent-eb-team-member-3blic { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-3blic"><div class="eb-parent-wrapper eb-parent-eb-team-member-3blic "><div class="eb-team-member-3blic eb-team-wrapper preset1 "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><hr class="eb-team-member-content-separator"/><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><hr class="eb-team-member-social-separator"/><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Modern Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-h0la5","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-h0la5.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-h0la5.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:400px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image { position:relative }.eb-team-member-h0la5.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:100%; border-radius:0%; height:auto }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:20px; padding-top:20px; padding-bottom:15px; color:#4b4b4b }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; color:#4b4b4b }.eb-team-member-h0la5.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#9f9f9f; padding-top:15px; padding-right:0px; padding-left:0px; padding-bottom:20px; font-size:16px }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:flex-end; justify-content:center; column-gap:20px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; opacity:0; position:absolute; top:0; bottom:0; left:0; right:0; box-sizing:border-box; padding:50px; margin:20px; border-radius:0px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px ; background-image:linear-gradient(211deg, #C8D2E3 0%, #DAE2F0 100%) }.eb-team-member-h0la5.eb-team-wrapper:hover ul.socials { opacity:1 }.eb-team-member-h0la5.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:20px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }","mobile":".eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#A0A8BD; color:#fff }.eb-team-member-h0la5.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#A0A8BD; color:#fff }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","isImgHeightAuto":true,"descsColor":"#9f9f9f","nameColor":"#4b4b4b","jobColor":"#4b4b4b","iconsVAlign":"flex-end","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#fff","bgColor":"#A0A8BD","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"preset3","socialInImage":true,"hvIcnColor":"#fff","hvIcnBgc":"#909AA9","conBgGradient":"linear-gradient(211deg, #C8D2E3 0%, #DAE2F0 100%)","conBgColor":"#fff","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":20,"imgW_Unit":"%","wrpW_Range":400,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Unit":"%","imgBd_Rds_Top":"0","imgBd_Rds_Right":"0","imgBd_Rds_Bottom":"0","imgBd_Rds_Left":"0","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"0","ovlBd_Rds_Right":"0","ovlBd_Rds_Bottom":"0","ovlBd_Rds_Left":"0","dscP_Right":"0","dscP_Left":"0","jobP_Bottom":"0","icnWp_Top":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-h0la5 { display:block }.root-eb-team-member-h0la5 { position:relative }","tab":".eb-parent-eb-team-member-h0la5 { display:block }","mobile":".eb-parent-eb-team-member-h0la5 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-h0la5"><div class="eb-parent-wrapper eb-parent-eb-team-member-h0la5 "><div class="eb-team-member-h0la5 eb-team-wrapper preset3 "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div><div class="eb-team-member-contents"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Funky Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-7rl3d","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-7rl3d.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-7rl3d.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:424px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents-inner { background-color:#fff; padding:24px; margin:20px; border-radius:5px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-job-title { font-size:32px; color:#CAD2DF }.eb-team-member-7rl3d.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-7rl3d.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-7rl3d.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-7rl3d.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:424px; border-radius:5px; height:558px }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents { text-align:left; box-sizing:border-box }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#1C1B1F }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:32px; color:#CAD2DF }.eb-team-member-7rl3d.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#768399; padding-top:10px; padding-right:0px; padding-left:0px; padding-bottom:10px; font-size:16px }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:17px; padding:1em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:50px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:hover a { background-color:#A0A8BD; color:#fff }","tab":".eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }","mobile":".eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#fff; color:#A0A8BD }.eb-team-member-7rl3d.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#fff; color:#A0A8BD }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#768399","nameColor":"#1C1B1F","jobColor":"#CAD2DF","iconsJustify":"flex-start","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#A0A8BD","bgColor":"#fff","link":"","linkOpenNewTab":false,"isExpanded":false}],"contentsAlign":"left","preset":"new-preset1","hvIcnColor":"#fff","hvIcnBgc":"#A0A8BD","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","conBgColor":"#fff","dscs_FontSize":16,"job_FontSize":32,"name_FontSize":24,"imgW_Range":424,"imgH_Range":558,"icnZ_Range":17,"icnSp_Range":8,"wrpW_Range":424,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"5","imgBd_Rds_Right":"5","imgBd_Rds_Bottom":"5","imgBd_Rds_Left":"5","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"50","sclBdSd_Rds_Right":"50","sclBdSd_Rds_Bottom":"50","sclBdSd_Rds_Left":"50","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"5","ovlBd_Rds_Right":"5","ovlBd_Rds_Bottom":"5","ovlBd_Rds_Left":"5","dscP_Top":"10","dscP_Right":"0","dscP_Bottom":"10","dscP_Left":"0","cpd_Top":"24","cpd_Right":"24","cpd_Bottom":"24","cpd_Left":"24","nameP_Top":"10","nameP_Bottom":"10","jobP_Bottom":"0","icnWp_Top":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-7rl3d { display:block }.root-eb-team-member-7rl3d { position:relative }","tab":".eb-parent-eb-team-member-7rl3d { display:block }","mobile":".eb-parent-eb-team-member-7rl3d { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-7rl3d"><div class="eb-parent-wrapper eb-parent-eb-team-member-7rl3d "><div class="eb-team-member-7rl3d eb-team-wrapper new-preset1 "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/><h4 class="eb-team-member-job-title">Software Engineer</h4></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Vanguard Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-ueyq3","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-ueyq3.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-ueyq3.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:424px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents-inner { background-image:linear-gradient(214deg, #949CAA -14.68% , #606977 103.07%); padding:24px; margin:24px; border-radius:8px; box-shadow:rgba(0,0,0,0.16) 2px 5px 17px 0px }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-job-title { font-size:16px; padding:0px; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-ueyq3.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-ueyq3.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-ueyq3.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:424px; border-radius:8px; height:558px }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents { text-align:center; box-sizing:border-box }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#fff }.eb-team-member-ueyq3.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding:0px; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:center; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:10px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:14px; padding:0.9em; border-width:1px; border-color:#A0A8BD; border-style:solid; border-radius:50px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:hover a { background-color:#909AA9; color:#fff }","tab":".eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }","mobile":".eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:#909AA9; color:#D5D5D5 }.eb-team-member-ueyq3.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:#909AA9; color:#D5D5D5 }"},"showDescs":false,"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#fff","nameColor":"#fff","jobColor":"#D5D5D5","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#D5D5D5","bgColor":"#909AA9","link":"","linkOpenNewTab":false,"isExpanded":false}],"preset":"new-preset2","hvIcnColor":"#fff","hvIcnBgc":"#909AA9","conBgGradient":"linear-gradient(214deg, #949CAA -14.68% , #606977 103.07%)","conBgColor":"#949CAA","dscs_FontSize":16,"job_FontSize":16,"name_FontSize":24,"imgW_Range":424,"imgH_Range":558,"icnZ_Range":14,"icnPd_Range":0.9,"icnSp_Range":8,"wrpW_Range":424,"wrpW_Unit":"px","imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"8","imgBd_Rds_Right":"8","imgBd_Rds_Bottom":"8","imgBd_Rds_Left":"8","sclBdSd_borderColor":"#A0A8BD","sclBdSd_borderStyle":"solid","sclBdSd_Rds_Top":"50","sclBdSd_Rds_Right":"50","sclBdSd_Rds_Bottom":"50","sclBdSd_Rds_Left":"50","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0.16)","ovlBd_Rds_Top":"8","ovlBd_Rds_Right":"8","ovlBd_Rds_Bottom":"8","ovlBd_Rds_Left":"8","dscP_Top":"10","dscP_Bottom":"10","cmrg_Top":"24","cmrg_Right":"24","cmrg_Bottom":"24","cmrg_Left":"24","cpd_Top":"24","cpd_Right":"24","cpd_Bottom":"24","cpd_Left":"24","nameP_Top":"10","nameP_Bottom":"10","jobP_Top":"0","jobP_Bottom":"0","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-ueyq3 { display:block }.root-eb-team-member-ueyq3 { position:relative }","tab":".eb-parent-eb-team-member-ueyq3 { display:block }","mobile":".eb-parent-eb-team-member-ueyq3 { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-ueyq3"><div class="eb-parent-wrapper eb-parent-eb-team-member-ueyq3 "><div class="eb-team-member-ueyq3 eb-team-wrapper new-preset2 "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4></div><ul class="socials "><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i></a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i></a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i></a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i></a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'},{title:"Spotlight Layout",content:'\x3c!-- wp:essential-blocks/team-member {"blockId":"eb-team-member-zauyq","blockMeta":{"desktop":"div.eb-team-wrapper h3,div.eb-team-wrapper h4,div.eb-team-wrapper p,div.eb-team-wrapper ul { margin:0; padding:0 }.social-icon { font-style:normal }.eb-team-member-zauyq.eb-team-wrapper \\u003e * { position:relative }.eb-team-member-zauyq.eb-team-wrapper { position:relative; overflow:hidden; margin:auto; max-width:400px; transition:background 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents-inner { background-color:#EBF0F8; padding:34px; margin:0px; border-radius:0px; box-shadow:rgba(0,0,0,0) 2px 5px 17px 0px }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-job-title { font-size:16px; padding-top:0px; padding-right:0px; padding-left:0px; color:#736D8B }.eb-team-member-zauyq.eb-team-wrapper div.eb-team-member-contents .eb-team-member-job-title { display:block }.eb-team-member-zauyq.eb-team-wrapper div.eb-team-member-contents ul.socials { display:flex }.eb-team-member-zauyq.eb-team-wrapper:hover .eb-team-member-contents { top:50% }.eb-team-member-zauyq.eb-team-wrapper:before { transition:background 0.5s, opacity 0.5s, filter 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image { text-align:center }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image img { max-width:100%; object-fit:cover; display:inline-block; width:400px; border-radius:0px; height:400px }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-image:hover \\u003e img { transition:border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents { text-align:left; box-sizing:border-box }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-name { font-size:24px; padding-top:10px; padding-bottom:10px; color:#342E4C }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-job-title { font-size:16px; padding-top:0px; padding-right:0px; padding-left:0px; color:#736D8B }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-contents .eb-team-member-description { color:#342E4C; padding-top:10px; padding-bottom:50px; font-size:16px }.eb-team-member-zauyq.eb-team-wrapper .eb-team-member-social-separator { border:none; margin:auto; border-bottom:1px solid #CACACA; width:100%; border-bottom-width:1px }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials { list-style:none; flex-wrap:wrap; align-items:center; justify-content:flex-start; column-gap:8px; row-gap:4px; transition:background 0.5s, opacity .5s; display:flex; padding-top:20px; padding-right:0px; padding-left:0px; padding-bottom:0px }.eb-team-member-zauyq.eb-team-wrapper ul.socials li a { box-sizing:content-box; text-decoration:none; cursor:pointer; display:flex; justify-content:center; align-items:center; height:0; width:0; line-height:1em; font-size:13px; padding:0em; border-radius:0px; transition:color 0.5s, background-color 0.5s, border 0.5s, border-radius 0.5s, box-shadow 0.5s }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:hover a { background-color:rgba(0,0,0,0); color:#000 }","tab":".eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }","mobile":".eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(1) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(2) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(3) a { background-color:rgba(0,0,0,0); color:#645F7D }.eb-team-member-zauyq.eb-team-wrapper ul.socials li:nth-child(4) a { background-color:rgba(0,0,0,0); color:#645F7D }"},"imageNewUrl":"data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A","descsColor":"#342E4C","nameColor":"#342E4C","jobColor":"#736D8B","iconsJustify":"flex-start","profilesOnly":[{"title":"Facebook","icon":"fab fa-facebook-f","link":"","linkOpenNewTab":false},{"title":"Twitter","icon":"fab fa-x-twitter","link":"","linkOpenNewTab":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","link":"","linkOpenNewTab":false},{"title":"YouTube","icon":"fab fa-youtube","link":"","linkOpenNewTab":false}],"socialDetails":[{"title":"Facebook","icon":"fab fa-facebook-f","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"Twitter","icon":"fab fa-x-twitter","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"LinkedIn","icon":"fab fa-linkedin-in","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false},{"title":"YouTube","icon":"fab fa-youtube","color":"#645F7D","bgColor":"rgba(0,0,0,0)","link":"","linkOpenNewTab":false,"isExpanded":false}],"contentsAlign":"left","preset":"new-preset3","showSSeparator":true,"hvIcnColor":"#000","hvIcnBgc":"rgba(0,0,0,0)","isConBgGradient":false,"conBgGradient":"linear-gradient(45deg, #7967ff, rgba(194,119,242,0.8))","conBgColor":"#EBF0F8","showSocialTitle":true,"dscs_FontSize":16,"job_FontSize":16,"name_FontSize":24,"imgW_Range":400,"imgH_Range":400,"icnZ_Range":13,"icnPd_Range":0,"icnSp_Range":8,"wrpW_Range":400,"wrpW_Unit":"px","sSepW_Range":100,"imgBd_borderColor":"rgba(255,255,255,1)","imgBd_Bdr_Top":"0","imgBd_Bdr_Right":"0","imgBd_Bdr_Bottom":"0","imgBd_Bdr_Left":"0","imgBd_Rds_Top":"0","imgBd_Rds_Right":"0","imgBd_Rds_Bottom":"0","imgBd_Rds_Left":"0","sclBdSd_borderColor":"#A0A8BD","sclBdSd_Rds_Top":"0","sclBdSd_Rds_Right":"0","sclBdSd_Rds_Bottom":"0","sclBdSd_Rds_Left":"0","ovlBd_hOffset":2,"ovlBd_vOffset":5,"ovlBd_blur":17,"ovlBd_shadowColor":"rgba(0,0,0,0)","ovlBd_Rds_Top":"0","ovlBd_Rds_Right":"0","ovlBd_Rds_Bottom":"0","ovlBd_Rds_Left":"0","dscP_Top":"10","dscP_Bottom":"50","cmrg_Top":"0","cmrg_Right":"0","cmrg_Bottom":"0","cmrg_Left":"0","cpd_Top":"34","cpd_Right":"34","cpd_Bottom":"34","cpd_Left":"34","nameP_Top":"10","nameP_Bottom":"10","jobP_isLinked":false,"jobP_Top":"0","jobP_Right":"0","jobP_Bottom":"","jobP_Left":"0","icnWp_Top":"20","icnWp_Right":"0","icnWp_Bottom":"0","icnWp_Left":"0","commonStyles":{"desktop":".eb-parent-eb-team-member-zauyq { display:block }.root-eb-team-member-zauyq { position:relative }","tab":".eb-parent-eb-team-member-zauyq { display:block }","mobile":".eb-parent-eb-team-member-zauyq { display:block }"}} --\x3e\n<div class="wp-block-essential-blocks-team-member root-eb-team-member-zauyq"><div class="eb-parent-wrapper eb-parent-eb-team-member-zauyq "><div class="eb-team-member-zauyq eb-team-wrapper new-preset3 hover-left "><div class="eb-team-inner"><div class="eb-team-member-image"><img class="eb-team-member-avatar" src="data:image/svg+xml,%3Csvg width=\'700\' height=\'700\' viewBox=\'0 0 700 700\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect width=\'700\' height=\'700\' fill=\'%23EAEEF9\'/%3E%3Cpath d=\'M408.679 482.748L339.433 353.977L394.137 261.498L510.471 482.748H408.679ZM292.346 320.498L379.596 482.748H205.096L292.346 320.498ZM255.992 290.998C235.914 290.998 219.637 274.488 219.637 254.123C219.637 233.757 235.914 217.248 255.992 217.248C276.069 217.248 292.346 233.757 292.346 254.123C292.346 274.488 276.069 290.998 255.992 290.998Z\' fill=\'%23CAD2DF\'/%3E%3C/svg%3E%0A" alt="John Doe"/></div><div class="eb-team-member-contents"><div class="eb-team-member-contents-inner"><div class="eb-team-member-texts"><h3 class="eb-team-member-name">John Doe</h3><h4 class="eb-team-member-job-title">Software Engineer</h4><p class="eb-team-member-description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.</p></div><hr class="eb-team-member-social-separator"/><ul class="socials socials-title"><li><a class=" " href="" rel="noopener" title="Facebook"><i class="fab fa-facebook-f hvr-icon social-icon" icon="fab fa-facebook-f"></i>Facebook</a></li><li><a class=" " href="" rel="noopener" title="Twitter"><i class="fab fa-x-twitter hvr-icon social-icon" icon="fab fa-x-twitter"></i>Twitter</a></li><li><a class=" " href="" rel="noopener" title="LinkedIn"><i class="fab fa-linkedin-in hvr-icon social-icon" icon="fab fa-linkedin-in"></i>LinkedIn</a></li><li><a class=" " href="" rel="noopener" title="YouTube"><i class="fab fa-youtube hvr-icon social-icon" icon="fab fa-youtube"></i>YouTube</a></li></ul></div></div></div></div></div></div>\n\x3c!-- /wp:essential-blocks/team-member --\x3e'}];function be(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function de(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?be(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):be(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const me=(0,c.memo)((0,i.withBlockContext)(Y)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,r=(t.resOption,t.blockId),l=(t.blockMeta,t.name),c=t.jobTitle,s=t.description,p=t.showDescs,b=(t.imageUrl,t.imageNewClassUrl,t.imageNewUrl),d=(t.imageId,t.showSocials),m=t.socialDetails,u=t.socialInImage,g=t.showCSeparator,f=t.showSSeparator,y=t.icnEffect,h=t.classHook,v=t.hoverPreset,w=t.showDesignation,k=t.isContentOverlay,R=t.preset,_=t.showBlockContent,C=t.titleTag,E=de(de({},e),{},{blockPrefix:"eb-team-member",style:React.createElement(le,e)});return React.createElement(React.Fragment,null,n&&_&&React.createElement(oe,{attributes:t,setAttributes:a}),React.createElement(i.BlockProps.Edit,E,React.createElement(i.BrowseTemplate,(0,o.A)({},e,{Icon:se,title:"Team Members",description:"Choose a template for the Team Members or start blank.",patterns:pe})),_&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(r," ").concat(h)},React.createElement("div",{className:"".concat(r," eb-team-wrapper ").concat(R," ").concat("new-preset3"===R?v:""," ").concat("preset3"===R&&k?"content-overlay":""," ")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},React.createElement("img",{className:"eb-team-member-avatar",alt:"member",src:""===b?i.ImgPlaceholder:b}),u&&d&&React.createElement(re,{socialDetails:m,icnEffect:y,preset:R}),"new-preset1"===R&&w&&React.createElement(i.DynamicInputValueHandler,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===R||"new-preset2"===R||"new-preset3"===R)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},React.createElement(i.DynamicInputValueHandler,{value:l,tagName:C,className:"eb-team-member-name",onChange:function(e){return a({name:e})},readOnly:!0}),"new-preset1"!=R&&w&&React.createElement(i.DynamicInputValueHandler,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0}),g&&React.createElement("hr",{className:"eb-team-member-content-separator"}),p&&React.createElement(i.DynamicInputValueHandler,{value:s,tagName:"p",className:"eb-team-member-description",onChange:function(e){return a({description:e})},readOnly:!0})),!u&&d&&React.createElement(React.Fragment,null,f&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:m,icnEffect:y,preset:R}))),"new-preset1"!=R&&"new-preset2"!=R&&"new-preset3"!=R&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},React.createElement(i.DynamicInputValueHandler,{value:l,tagName:C,className:"eb-team-member-name",onChange:function(e){return a({name:e})},readOnly:!0}),"new-preset1"!=R&&w&&React.createElement(i.DynamicInputValueHandler,{value:c,tagName:"h4",className:"eb-team-member-job-title",onChange:function(e){return a({jobTitle:e})},readOnly:!0}),g&&React.createElement("hr",{className:"eb-team-member-content-separator"}),p&&React.createElement(i.DynamicInputValueHandler,{value:s,tagName:"p",className:"eb-team-member-description",onChange:function(e){return a({description:e})},readOnly:!0})),!u&&d&&React.createElement(React.Fragment,null,f&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:m,icnEffect:y,preset:R}))))))))))}));var ue=a(4715);function ge(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect;return React.createElement("ul",{className:"socials"},a.map(function(e,t){var a=e.link,o=e.icon;return React.createElement("li",{key:t},React.createElement("a",{className:n||" ",href:(0,i.sanitizeURL)(a)},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))}))}function fe(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect;return React.createElement("ul",{className:"socials"},a.map(function(e,t){var a=e.link,o=e.icon,r=e.linkOpenNewTab;return React.createElement("li",{key:t},React.createElement("a",{className:n||" ",href:(0,i.sanitizeURL)(a),target:r?"_blank":"_self",rel:"noopener"},React.createElement("i",{className:"hvr-icon social-icon ".concat(o)})))}))}function ye(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,r=e.linkNewTab,l=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===l?"socials-title":"")},a.map(function(e,t){var a=e.title,c=e.link,s=e.icon;return React.createElement("li",{key:t},React.createElement("a",(0,o.A)({className:n||" ",href:c?(0,i.sanitizeURL)(c):"#"},c&&{target:r?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement("i",{className:"hvr-icon social-icon ".concat(s)}),"new-preset3"===l&&a?a:""))}))}function he(e){var t=e.socialDetails,a=void 0===t?[]:t,n=e.icnEffect,r=e.linkNewTab,l=e.preset;return React.createElement("ul",{className:"socials ".concat("new-preset3"===l?"socials-title":"")},a.map(function(e,t){var a=e.title,c=e.link,s=e.icon;return React.createElement("li",{key:t},React.createElement("a",(0,o.A)({className:n||" ",href:c?(0,i.sanitizeURL)(c):"#"},c&&{target:r?"_blank":"_self"},{rel:"noopener",title:a||""}),React.createElement(i.EBDisplayIcon,{className:"hvr-icon social-icon",icon:s}),"new-preset3"===l&&a?a:""))}))}function ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function we(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ve(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var ke=lodash.omit;const Re=[{attributes:ke(we({},Y),["titleTag"]),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageNewUrl,m=t.imageUrl,u=t.imageNewClassUrl,g=t.socialDetails,f=t.socialInImage,y=t.icnEffect,h=t.classHook,v=t.avatarURL,w=t.newWindow,k=t.showLinkNewTab,R=t.imageAlt,_=t.preset,C=t.showDesignation,E=t.hoverPreset,x=t.isContentOverlay;if(t.showBlockContent){var S=m||u||i.ImgPlaceholder,B=d||S;return React.createElement(i.BlockProps.Save,{attributes:Y},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(_," ").concat("new-preset3"===_?E:""," ").concat("preset3"===_&&x?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},v&&React.createElement("a",(0,o.A)({href:v?(0,i.sanitizeURL)(v):""},w&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:B,alt:R||n})),!v&&React.createElement("img",{className:"eb-team-member-avatar",src:B,alt:R||n}),f&&s&&React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}),"new-preset1"===_&&C&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===_||"new-preset2"===_||"new-preset3"===_)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=_&&C&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!f&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}))),"new-preset1"!=_&&"new-preset2"!=_&&"new-preset3"!=_&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),C&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!f&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}))))))))}}},{attributes:ke(we({},Y),["imageNewUrl"]),migrate:function(e){var t=e.imageUrl,a=we({},e);return we(we({},a),{},{imageNewUrl:t})},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,i=t.showSocials,s=t.showCSeparator,p=t.showSSeparator,b=t.imageUrl,d=t.profilesOnly,m=t.socialInImage,u=t.icnEffect,g=t.classHook,f=t.avatarURL,y=t.newWindow,h=t.showLinkNewTab,v=t.imageAlt,w=t.preset,k=t.showDesignation,R=t.hoverPreset,_=t.isContentOverlay;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(g)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(w," ").concat("new-preset3"===w?R:""," ").concat("preset3"===w&&_?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},f&&React.createElement("a",(0,o.A)({href:f||""},y&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n})),!f&&React.createElement("img",{className:"eb-team-member-avatar",src:b,alt:v||n}),m&&i&&React.createElement(re,{socialDetails:d,icnEffect:u,linkNewTab:h,preset:w}),"new-preset1"===w&&k&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===w||"new-preset2"===w||"new-preset3"===w)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=w&&k&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),s&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!m&&i&&React.createElement(React.Fragment,null,p&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:d,icnEffect:u,linkNewTab:h,preset:w}))),"new-preset1"!=w&&"new-preset2"!=w&&"new-preset3"!=w&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),k&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),s&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!m&&i&&React.createElement(React.Fragment,null,p&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:d,icnEffect:u,linkNewTab:h,preset:w}))))))))}},{attributes:we({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageUrl,m=t.profilesOnly,u=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,h=t.newWindow,v=t.showLinkNewTab,w=t.imageAlt,k=t.preset,R=t.showDesignation,_=t.hoverPreset,C=t.isContentOverlay;if(t.showBlockContent)return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(k," ").concat("new-preset3"===k?_:""," ").concat("preset3"===k&&C?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},y&&React.createElement("a",(0,o.A)({href:y||""},h&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:""===d?i.ImgPlaceholder:d,alt:w||n})),!y&&React.createElement("img",{className:"eb-team-member-avatar",src:""===d?i.ImgPlaceholder:d,alt:w||n}),u&&s&&React.createElement(re,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}),"new-preset1"===k&&R&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===k||"new-preset2"===k||"new-preset3"===k)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=k&&R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))),"new-preset1"!=k&&"new-preset2"!=k&&"new-preset3"!=k&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))))))))}},{attributes:we({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageUrl,m=t.profilesOnly,u=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,h=t.newWindow,v=t.showLinkNewTab,w=t.imageAlt,k=t.preset,R=t.showDesignation,_=t.hoverPreset,C=t.isContentOverlay;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(k," ").concat("new-preset3"===k?_:""," ").concat("preset3"===k&&C?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},y&&React.createElement("a",(0,o.A)({href:y?(0,i.sanitizeURL)(y):""},h&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:d,alt:w||n})),!y&&React.createElement("img",{className:"eb-team-member-avatar",src:d,alt:w||n}),u&&s&&React.createElement(he,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}),"new-preset1"===k&&R&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===k||"new-preset2"===k||"new-preset3"===k)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),"new-preset1"!=k&&R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(he,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))),"new-preset1"!=k&&"new-preset2"!=k&&"new-preset3"!=k&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"eb-team-member-name",value:n}),R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(he,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))))))))}},{attributes:we({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageUrl,m=t.profilesOnly,u=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,h=t.newWindow,v=t.showLinkNewTab,w=t.imageAlt,k=t.preset,R=t.showDesignation,_=t.hoverPreset,C=t.isContentOverlay;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(k," ").concat("new-preset3"===k?_:""," ").concat("preset3"===k&&C?"content-overlay":""," ")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},y&&React.createElement("a",(0,o.A)({href:y?(0,i.sanitizeURL)(y):""},h&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:d,alt:w||n})),!y&&React.createElement("img",{className:"avatar",src:d,alt:w||n}),u&&s&&React.createElement(ye,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}),"new-preset1"===k&&R&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:r})),React.createElement("div",{className:"contents"},("new-preset1"===k||"new-preset2"===k||"new-preset3"===k)&&React.createElement("div",{className:"contents-inner"},React.createElement("div",{className:"texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),"new-preset1"!=k&&R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:r}),p&&React.createElement("hr",{className:"content_separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"social_separator"}),React.createElement(ye,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))),"new-preset1"!=k&&"new-preset2"!=k&&"new-preset3"!=k&&React.createElement(React.Fragment,null,React.createElement("div",{className:"texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),R&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:r}),p&&React.createElement("hr",{className:"content_separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"social_separator"}),React.createElement(ye,{socialDetails:m,icnEffect:g,linkNewTab:v,preset:k}))))))))}},{attributes:we({},ke(we({},Y),["showDesignation","showSocialTitle","hoverPreset","isContentOverlay"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageUrl,m=t.profilesOnly,u=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,h=t.newWindow,v=t.showLinkNewTab,w=t.imageAlt;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},y&&React.createElement("a",(0,o.A)({href:y?(0,i.sanitizeURL)(y):""},h&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:d,alt:w||n})),!y&&React.createElement("img",{className:"avatar",src:d,alt:w||n}),u&&s&&React.createElement(re,{socialDetails:m,icnEffect:g,linkNewTab:v})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:r}),p&&React.createElement("hr",{className:"content_separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"social_separator"}),React.createElement(re,{socialDetails:m,icnEffect:g,linkNewTab:v})))))))}},{attributes:we({},ke(we({},Y),["imageAlt","showLinkNewTab"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageUrl,m=t.profilesOnly,u=t.socialInImage,g=t.icnEffect,f=t.classHook,y=t.avatarURL,h=t.newWindow;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(f)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},y&&React.createElement("a",(0,o.A)({href:y?(0,i.sanitizeURL)(y):""},h&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"avatar",src:d,alt:"member"})),!y&&React.createElement("img",{className:"avatar",src:d,alt:"member"}),u&&s&&React.createElement(fe,{socialDetails:m,icnEffect:g})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},n&&React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:r}),p&&React.createElement("hr",{className:"content_separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:l})),!u&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"social_separator"}),React.createElement(fe,{socialDetails:m,icnEffect:g})))))))}},{attributes:we({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,l=t.showDescs,c=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,p=t.imageUrl,b=t.profilesOnly,d=t.socialInImage,m=t.icnEffect,u=t.classHook;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(u)},React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},React.createElement("img",{className:"avatar",src:p,alt:"member"}),d&&c&&React.createElement(re,{socialDetails:b,icnEffect:m})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:r})),!d&&c&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(ge,{socialDetails:b,icnEffect:m})))))))}},{attributes:we({},Y),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.name,o=t.jobTitle,r=t.description,l=t.showDescs,c=t.showSocials,i=t.showCSeparator,s=t.showSSeparator,p=t.imageUrl,b=t.profilesOnly,d=t.socialInImage,m=t.icnEffect;return React.createElement("div",ue.useBlockProps.save(),React.createElement("div",{className:"".concat(a," eb-team-wrapper")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"image"},React.createElement("img",{className:"avatar",src:p,alt:"member"}),d&&c&&React.createElement(re,{socialDetails:b,icnEffect:m})),React.createElement("div",{className:"contents"},React.createElement("div",{className:"texts"},React.createElement(ue.RichText.Content,{tagName:"h3",className:"name",value:n}),React.createElement(ue.RichText.Content,{tagName:"h4",className:"job_title",value:o}),i&&React.createElement("hr",{className:"content_separator"}),l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"description",value:r})),!d&&c&&React.createElement(React.Fragment,null,s&&React.createElement("hr",{className:"social_separator"}),React.createElement(re,{socialDetails:b,icnEffect:m}))))))}}],_e=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Team Members","name":"essential-blocks/team-member","description":"Present your team members beautifully & gain instant credibility","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');(0,i.ebConditionalRegisterBlockType)(_e,{icon:se,attributes:Y,keywords:[(0,n.__)("team","essential-blocks"),(0,n.__)("member","essential-blocks"),(0,n.__)("eb essential","essential-blocks")],edit:me,save:function(e){var t=e.attributes,a=t.blockId,n=t.name,r=t.jobTitle,l=t.description,c=t.showDescs,s=t.showSocials,p=t.showCSeparator,b=t.showSSeparator,d=t.imageNewUrl,m=t.imageUrl,u=t.imageNewClassUrl,g=t.socialDetails,f=t.socialInImage,y=t.icnEffect,h=t.classHook,v=t.avatarURL,w=t.newWindow,k=t.showLinkNewTab,R=t.imageAlt,_=t.preset,C=t.showDesignation,E=t.hoverPreset,x=t.isContentOverlay,S=t.showBlockContent,B=t.titleTag;if(S){var T=m||u||i.ImgPlaceholder,N=d||T;return React.createElement(i.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(h)},React.createElement("div",{className:"".concat(a," eb-team-wrapper ").concat(_," ").concat("new-preset3"===_?E:""," ").concat("preset3"===_&&x?"content-overlay":"")},React.createElement("div",{className:"eb-team-inner"},React.createElement("div",{className:"eb-team-member-image"},v&&React.createElement("a",(0,o.A)({href:v?(0,i.sanitizeURL)(v):""},w&&{target:"_blank"},{rel:"noopener"}),React.createElement("img",{className:"eb-team-member-avatar",src:N,alt:R||n})),!v&&React.createElement("img",{className:"eb-team-member-avatar",src:N,alt:R||n}),f&&s&&React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}),"new-preset1"===_&&C&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r})),React.createElement("div",{className:"eb-team-member-contents"},("new-preset1"===_||"new-preset2"===_||"new-preset3"===_)&&React.createElement("div",{className:"eb-team-member-contents-inner"},React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:B,className:"eb-team-member-name",value:n}),"new-preset1"!=_&&C&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!f&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}))),"new-preset1"!=_&&"new-preset2"!=_&&"new-preset3"!=_&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-team-member-texts"},n&&React.createElement(ue.RichText.Content,{tagName:B,className:"eb-team-member-name",value:n}),C&&r&&React.createElement(ue.RichText.Content,{tagName:"h4",className:"eb-team-member-job-title",value:r}),p&&React.createElement("hr",{className:"eb-team-member-content-separator"}),c&&l&&React.createElement(ue.RichText.Content,{tagName:"p",className:"eb-team-member-description",value:l})),!f&&s&&React.createElement(React.Fragment,null,b&&React.createElement("hr",{className:"eb-team-member-social-separator"}),React.createElement(re,{socialDetails:g,icnEffect:y,linkNewTab:k,preset:_}))))))))}},example:{attributes:{}},deprecated:Re})},9491:e=>{e.exports=window.wp.compose},9651:(e,t,a)=>{var n=a(7723),o=a(4467),r=a(1609),l=a(8468),c=a(6427),i=[{label:(0,n.__)("Top","essential-blocks"),value:"top"},{label:(0,n.__)("Bottom","essential-blocks"),value:"bottom"}],s="wrpMargin",p="wrpPadding",b="wrpBorderShadow",d="wrpBG",m="shapeDivider",u=a(5694);const g=function(e){var t=e.attributes,a=e.setAttributes,o=(t.resOption,t.shapeDividerPosition);return React.createElement(React.Fragment,null,React.createElement(u.InspectorPanel,{advancedControlProps:{marginPrefix:s,paddingPrefix:p,borderPrefix:b,backgroundPrefix:d},hideTabs:["styles"]},React.createElement(u.InspectorPanel.General,null,React.createElement(u.InspectorPanel.PanelBody,{title:(0,n.__)("Options","essential-blocks"),initialOpen:!0},React.createElement(c.SelectControl,{label:(0,n.__)("Position","essential-blocks"),value:o,options:i,onChange:function(e){return a({shapeDividerPosition:e})}}),React.createElement(u.ShapeDividerControl,{controlName:m,position:o})))))};function f(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.shapeDividerPosition),l=(0,u.generateShapeDividerStyles)({controlName:m,position:r,attributes:t}),c=l.desktopShapeStyle,i=l.tabShapeStyle,g=l.mobShapeStyle,f=(0,u.generateDimensionsControlStyles)({controlName:s,styleFor:"margin",attributes:t}),y=f.dimensionStylesDesktop,h=f.dimensionStylesTab,v=f.dimensionStylesMobile,w=(0,u.generateDimensionsControlStyles)({controlName:p,styleFor:"padding",attributes:t}),k=w.dimensionStylesDesktop,R=w.dimensionStylesTab,_=w.dimensionStylesMobile,C=(0,u.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),E=C.backgroundStylesDesktop,x=C.hoverBackgroundStylesDesktop,S=C.backgroundStylesTab,B=C.hoverBackgroundStylesTab,T=C.backgroundStylesMobile,N=C.hoverBackgroundStylesMobile,P=C.bgTransitionStyle,O=(0,u.generateBorderShadowStyles)({controlName:b,attributes:t}),I=O.styesDesktop,D=O.styesTab,A=O.styesMobile,M=O.stylesHoverDesktop,L=O.stylesHoverTab,F=O.stylesHoverMobile,j=O.transitionStyle,H="\n .eb-shape-divider-wrapper.".concat(o,"{\n \t\tdisplay: block;\n \t\tposition: relative;\n \t\t").concat(y,"\n \t\t").concat(k,"\n \t\t").concat(E,"\n \t\t").concat(I,"\n \t\ttransition: ").concat(P,", ").concat(j,";\n \t}\n \t.eb-shape-divider-wrapper.").concat(o,":hover {\n \t\t").concat(x,"\n \t\t").concat(M,"\n \t}\n "),z="\n \t.eb-shape-divider-wrapper.".concat(o,"{\n \t\t").concat(h,"\n \t\t").concat(R,"\n \t\t").concat(S,"\n \t\t").concat(D,"\n \t}\n \t.eb-shape-divider-wrapper.").concat(o,":hover {\n \t\t").concat(B,"\n \t\t").concat(L,"\n \t}\n "),U="\n \t.eb-shape-divider-wrapper.".concat(o,"{\n \t\t").concat(v,"\n \t\t").concat(_,"\n \t\t").concat(T,"\n \t\t").concat(A,"\n \t}\n \t.eb-shape-divider-wrapper.").concat(o,":hover {\n \t\t").concat(N,"\n \t\t").concat(F,"\n \t}\n "),V="\n .eb-shape-divider-wrapper.".concat(o," .eb-shape-divider-bottom {\n z-index: unset;\n }\n ").concat(c,"\n "),G="\n ".concat(i,"\n "),q="\n ".concat(g,"\n "),W=(0,u.softMinifyCssStrings)("\n\t\t".concat(H,"\n\t\t").concat(V,"\n\t")),Z=(0,u.softMinifyCssStrings)("\n\t\t".concat(z,"\n\t\t").concat(G,"\n\t")),J=(0,u.softMinifyCssStrings)("\n\t\t".concat(U,"\n\t\t").concat(q,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(u.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:W,tabAllStyles:Z,mobileAllStyles:J,blockName:n}))}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const v=h(h(h(h(h(h({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"}},(0,u.generateDimensionsAttributes)(s)),(0,u.generateDimensionsAttributes)(p)),(0,u.generateBorderShadowAttributes)(b,{})),(0,u.generateBackgroundAttributes)(d,{noOverlay:!0})),(0,u.generateShapeDividerAttributes)(m,{dividerType:"style_1",defaultColor:"var(--eb-global-primary-color)"})),{},{shapeDividerPosition:{type:"string",default:"top"}});function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function k(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const R=(0,l.memo)((0,u.withBlockContext)(v)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,r=(t.blockMeta,t.resOption,t.shapeDividerPosition),c=t.shapeDividerInvert,i=(t.shapeDividerType,t.classHook),s=k(k({},e),{},{blockPrefix:"eb-shape-divider",style:React.createElement(f,e)});return(0,l.useEffect)(function(){a({shapeDividerInvert:!1})},[r,t["".concat(m,"Type")]]),React.createElement(React.Fragment,null,n&&React.createElement(g,e),React.createElement(u.BlockProps.Edit,s,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(i)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(o),"data-id":o},React.createElement(u.ShapeDividerContent,{position:r,style:""!=t["".concat(m,"Type")]?t["".concat(m,"Type")]:"style_1",negative:c})))))}));var _=a(4715);function C(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}const E=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?C(Object(a),!0).forEach(function(t){(0,o.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):C(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({},v),save:function(e){var t=e.attributes,a=t.blockId,n=t.shapeDividerPosition,o=t.shapeDividerInvert,r=t.classHook;return React.createElement("div",_.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(r)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(a)},React.createElement(u.ShapeDividerContent,{position:n,style:t["".concat(m,"Type")],negative:o}))))}}];var x;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},S.apply(null,arguments)}const B=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Shape Divider","name":"essential-blocks/shape-divider","description":"Make your website designs stand out by showcasing different sections with stunning shape dividers","category":"essential-blocks","apiVersion":2,"textdomain":"essential-blocks","editorScript":"essential-blocks-editor-script","supports":{"anchor":true,"align":["wide","full"]}}');(0,u.ebConditionalRegisterBlockType)(B,{keywords:[(0,n.__)("Shape Divider","essential-blocks"),(0,n.__)("Shape","essential-blocks"),(0,n.__)("Divider","essential-blocks"),(0,n.__)("EB shape divider","essential-blocks")],icon:function(e){return r.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 60"},e),x||(x=r.createElement("path",{fill:"#6C3BFF",d:"M59.2 44.2c-.4 0-.8-.3-.8-.8 0-1.9-.7-3.6-2.1-5-1.3-1.3-3.1-2.1-5-2.1-.4 0-.9 0-1.3.1s-.7-.1-.8-.5c-1.1-3.3-4.2-5.4-7.6-5.5-1.2 0-2.4.3-3.4.8-.3.2-.7.1-.9-.2-4.1-5.1-11.6-5.9-16.7-1.9-1.6 1.3-2.9 3-3.6 4.9-.1.2-.2.3-.4.4q-.3.15-.6 0c-2.4-1.2-5.1-1.4-7.6-.6s-4.6 2.6-5.8 5c-.7 1.4-1.1 2.9-1.1 4.5 0 .4-.3.8-.7.8s-.7-.3-.8-.7V15.9c0-.4.3-.8.8-.8h58.3c.4 0 .8.3.8.8v27.5c0 .4-.3.8-.7.8m-7.8-9.3c2.3 0 4.4.9 6 2.5.4.4.7.8 1 1.2V16.7H1.6v21.1C3 35.3 5.2 33.5 8 32.6c2.6-.9 5.5-.8 8 .3.9-1.8 2.2-3.5 3.8-4.8 5.6-4.5 13.7-3.7 18.4 1.6 1.1-.5 2.3-.7 3.5-.7 3.9 0 7.3 2.4 8.8 5.9z"})))},attributes:v,edit:R,save:function(e){var t=e.attributes,a=t.blockId,n=t.shapeDividerPosition,o=t.shapeDividerInvert,r=t.classHook;return React.createElement(u.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(r)},React.createElement("div",{className:"eb-shape-divider-wrapper ".concat(a)},React.createElement(u.ShapeDividerContent,{position:n,style:t["".concat(m,"Type")],negative:o}))))},deprecated:E,example:{}})},9666:(e,t,a)=>{var n,o=a(7723),r=a(1609);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},l.apply(null,arguments)}var c=a(4467),i=a(8468),s=a(7143),p=a(5694),b=a(6427),d="wrprBg",m="wrpMargin",u="wrpPadding",g="wrpBorderShadow",f="labelMargin",y="fieldBorder",h="fieldPadding",v="iconSize",w=((0,o.__)("Preset 1"),(0,o.__)("Preset 2"),(0,o.__)("Preset 3"),(0,o.__)("Preset 4"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Left"),(0,o.__)("Center"),(0,o.__)("Right"),(0,o.__)("Top"),(0,o.__)("Middle"),(0,o.__)("Bottom"),(0,o.__)("H1","essential-blocks"),(0,o.__)("H2","essential-blocks"),(0,o.__)("H3","essential-blocks"),(0,o.__)("H4","essential-blocks"),(0,o.__)("H5","essential-blocks"),(0,o.__)("H6","essential-blocks"),(0,o.__)("P","essential-blocks"),(0,o.__)("DIV","essential-blocks"),(0,o.__)("SPAN","essential-blocks"),(0,o.__)("Fill"),(0,o.__)("Gradient"),(0,o.__)("Image"),(0,o.__)("Auto"),(0,o.__)("Cover"),(0,o.__)("Contain"),(0,o.__)("None"),(0,o.__)("Dashed"),(0,o.__)("Solid"),(0,o.__)("Dotted"),(0,o.__)("Double"),(0,o.__)("Groove"),(0,o.__)("Inset"),(0,o.__)("Outset"),(0,o.__)("Ridge"),(0,o.__)("Select Hover Effect","essential-blocks"),(0,o.__)("Grow","essential-blocks"),(0,o.__)("Shrink","essential-blocks"),(0,o.__)("Pulse","essential-blocks"),(0,o.__)("Pulse Grow","essential-blocks"),(0,o.__)("Pulse Shrink","essential-blocks"),(0,o.__)("Push","essential-blocks"),(0,o.__)("Pop","essential-blocks"),(0,o.__)("Bounce In","essential-blocks"),(0,o.__)("Bounce Out","essential-blocks"),(0,o.__)("Rotate","essential-blocks"),(0,o.__)("Grow Rotate","essential-blocks"),(0,o.__)("Float","essential-blocks"),(0,o.__)("Sink","essential-blocks"),(0,o.__)("Bob","essential-blocks"),(0,o.__)("Hang","essential-blocks"),(0,o.__)("Skew","essential-blocks"),(0,o.__)("Skew Forward","essential-blocks"),(0,o.__)("Skew Backward","essential-blocks"),(0,o.__)("Wobble Horizontal","essential-blocks"),(0,o.__)("Wobble Vertical","essential-blocks"),(0,o.__)("Wobble To Bottom Right","essential-blocks"),(0,o.__)("Wobble To Top Right","essential-blocks"),(0,o.__)("Wobble Top","essential-blocks"),(0,o.__)("Wobble Bottom","essential-blocks"),(0,o.__)("Wobble Skew","essential-blocks"),(0,o.__)("Buzz","essential-blocks"),(0,o.__)("Buzz Out","essential-blocks"),(0,o.__)("Forward","essential-blocks"),(0,o.__)("Fade","essential-blocks"),(0,o.__)("Back Pulse","essential-blocks"),(0,o.__)("Sweep To Right","essential-blocks"),(0,o.__)("Sweep To Left","essential-blocks"),(0,o.__)("Sweep To Bottom","essential-blocks"),(0,o.__)("Sweep To Top","essential-blocks"),(0,o.__)("Bounce To Right","essential-blocks"),(0,o.__)("Bounce To Left","essential-blocks"),(0,o.__)("Bounce To Bottom","essential-blocks"),(0,o.__)("Bounce To Top","essential-blocks"),(0,o.__)("Radial Out","essential-blocks"),(0,o.__)("Radial In","essential-blocks"),(0,o.__)("Rectangle In","essential-blocks"),(0,o.__)("Rectangle Out","essential-blocks"),(0,o.__)("Shutter In Horizontal","essential-blocks"),(0,o.__)("Shutter Out Horizontal","essential-blocks"),(0,o.__)("Shutter In Vertical","essential-blocks"),(0,o.__)("Shutter Out Vertical","essential-blocks"),(0,o.__)("Curl Top Left","essential-blocks"),(0,o.__)("Curl Top Right","essential-blocks"),(0,o.__)("Curl Bottom Right","essential-blocks"),(0,o.__)("Curl Bottom Left","essential-blocks"),"label_"),k="validationText_",R="field_";const _=function(e){var t=e.attributes,a=e.setAttributes,n=e.clientId,r=(t.resOption,t.showLabel),l=t.labelText,c=t.fieldName,i=t.textareaRows,s=t.defaultValue,_=t.placeholderText,C=t.isRequired,E=t.validationMessage,x=t.labelColor,S=t.requiredColor,B=t.fieldColor,T=t.fieldPlaceholderColor,N=t.fieldBgColor,P=t.fieldValidationColor,O=t.fieldValidationBorderColor,I=t.isIcon,D=t.icon,A=t.iconColor,M=t.parentBlockId;return React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel,{advancedControlProps:{marginPrefix:m,paddingPrefix:u,backgroundPrefix:d,borderPrefix:g,hasMargin:!0}},React.createElement(p.InspectorPanel.General,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("General","essential-blocks"),initialOpen:!0},React.createElement(b.ToggleControl,{label:(0,o.__)("Show Label?","essential-blocks"),checked:r,onChange:function(){return a({showLabel:!r})}}),r&&React.createElement(p.DynamicInputControl,{label:(0,o.__)("Label Text","essential-blocks"),attrName:"labelText",inputValue:l,setAttributes:a,onChange:function(e){return a({labelText:e})}}),React.createElement(p.EBTextControl,{label:(0,o.__)("Placeholder Text","essential-blocks"),value:_,onChange:function(e){return a({placeholderText:e})},enableAi:!0}),React.createElement(b.RangeControl,{label:(0,o.__)("Rows","essential-blocks"),value:i,onChange:function(e){return a({textareaRows:e})},min:1,max:20}),React.createElement(b.ToggleControl,{label:(0,o.__)("Required?","essential-blocks"),checked:C,onChange:function(){return a({isRequired:!C})}}),React.createElement(b.ToggleControl,{label:(0,o.__)("Icon?","essential-blocks"),checked:I,onChange:function(){return a({isIcon:!I})}}),I&&React.createElement(React.Fragment,null,React.createElement(p.EBIconPicker,{value:D,onChange:function(e){return a({icon:e})}}))),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Advanced Settings","essential-blocks"),initialOpen:!0},React.createElement(p.EBTextControl,{label:(0,o.__)("Default Value","essential-blocks"),value:s,onChange:function(e){return a({defaultValue:e})},enableAi:!0,help:(0,o.__)("Leave empty if no default value.","essential-blocks")}),React.createElement(p.EBTextControl,{label:(0,o.__)("Field Custom Name Attribute","essential-blocks"),value:c,onChange:function(e){return a({fieldName:e})},enableAi:!1,help:(0,o.__)("This is for the name attributes which is used to submit form data, Name must be unique.","essential-blocks")}),C&&React.createElement(p.EBTextControl,{label:(0,o.__)("Custom Validation Message","essential-blocks"),value:E,onChange:function(e){return a({validationMessage:e})},enableAi:!0})),React.createElement(p.FormConditionalLogics,{clientId:n,parentBlockId:M})),React.createElement(p.InspectorPanel.Style,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Label","essential-blocks"),initialOpen:!0},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:w}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:x,attributeName:"labelColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Requied Color","essential-blocks"),color:S,attributeName:"requiredColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:f,baseLabel:(0,o.__)("Margin","essential-blocks")})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Field","essential-blocks"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:R}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:B,attributeName:"fieldColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Placeholder Color","essential-blocks"),color:T,attributeName:"fieldPlaceholderColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:N,attributeName:"fieldBgColor"}),React.createElement(p.ResponsiveDimensionsControl,{controlName:h,baseLabel:(0,o.__)("Padding","essential-blocks")}),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Border","essential-blocks"),initialOpen:!1},React.createElement(p.BorderShadowControl,{controlName:y})),React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Validation","essential-blocks"),initialOpen:!1},React.createElement(p.TypographyDropdown,{baseLabel:(0,o.__)("Typography","essential-blocks"),typographyPrefixConstant:k}),React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:P,attributeName:"fieldValidationColor"}),React.createElement(p.ColorControl,{label:(0,o.__)("Fields Border Color","essential-blocks"),color:O,attributeName:"fieldValidationBorderColor"})))),I&&React.createElement(React.Fragment,null,React.createElement(p.InspectorPanel.PanelBody,{title:(0,o.__)("Icon","essential-blocks"),initialOpen:!1},React.createElement(p.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:A,attributeName:"iconColor"}),React.createElement(p.ResponsiveRangeController,{baseLabel:(0,o.__)("Size (PX)","essential-blocks"),controlName:v,min:1,max:100,step:1,noUnits:!0}))))))};function C(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.parentBlockId),l=t.labelColor,c=t.requiredColor,i=t.fieldColor,s=t.fieldPlaceholderColor,b=t.fieldBgColor,_=t.fieldValidationColor,C=t.fieldValidationBorderColor,E=t.iconColor,x=t.fieldPaddingLeft,S=t.fieldPaddingUnit,B=t.iconSizeRange,T=t.parentBlockPaddingLeft,N=t.parentBlockPaddingUnit,P=t.parentBlockIconSize,O=t.isIcon,I=t.parentIconColor,D=(0,p.generateDimensionsControlStyles)({controlName:m,styleFor:"margin",attributes:t}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,p.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),j=F.dimensionStylesDesktop,H=F.dimensionStylesTab,z=F.dimensionStylesMobile,U=(0,p.generateBorderShadowStyles)({controlName:g,attributes:t}),V=U.styesDesktop,G=U.styesTab,q=U.styesMobile,W=U.stylesHoverDesktop,Z=U.stylesHoverTab,J=U.stylesHoverMobile,Y=U.transitionStyle,Q=(0,p.generateBackgroundControlStyles)({attributes:t,controlName:d,noOverlay:!0}),X=Q.backgroundStylesDesktop,$=Q.hoverBackgroundStylesDesktop,K=Q.backgroundStylesTab,ee=Q.hoverBackgroundStylesTab,te=Q.backgroundStylesMobile,ae=Q.hoverBackgroundStylesMobile,ne=Q.bgTransitionStyle,oe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:w}),re=oe.typoStylesDesktop,le=oe.typoStylesTab,ce=oe.typoStylesMobile,ie=(0,p.generateDimensionsControlStyles)({controlName:f,styleFor:"margin",attributes:t}),se=ie.dimensionStylesDesktop,pe=ie.dimensionStylesTab,be=ie.dimensionStylesMobile,de=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:R}),me=de.typoStylesDesktop,ue=de.typoStylesTab,ge=de.typoStylesMobile,fe=(0,p.generateTypographyStyles)({attributes:t,prefixConstant:k}),ye=fe.typoStylesDesktop,he=fe.typoStylesTab,ve=fe.typoStylesMobile,we=(0,p.generateDimensionsControlStyles)({controlName:h,styleFor:"padding",attributes:t}),ke=we.dimensionStylesDesktop,Re=we.dimensionStylesTab,_e=we.dimensionStylesMobile,Ce=(0,p.generateBorderShadowStyles)({controlName:y,attributes:t}),Ee=Ce.styesDesktop,xe=Ce.styesTab,Se=Ce.styesMobile,Be=(Ce.stylesHoverDesktop,Ce.stylesHoverTab,Ce.stylesHoverMobile,Ce.transitionStyle,(0,p.generateResponsiveRangeStyles)({controlName:v,property:"font-size",attributes:t,customUnit:"px"})),Te=Be.rangeStylesDesktop,Ne=(Be.rangeStylesTab,Be.rangeStylesMobile,"\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(A,"\n\t\t\t").concat(j,"\n\t\t\t").concat(X,"\n\t\t\t").concat(V,"\n\t\t\ttransition: ").concat(ne,", ").concat(Y,";\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat($,"\n\t\t\t").concat(W,"\n\t\t}\n\t")),Pe="\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(M,"\n\t\t\t").concat(H,"\n\t\t\t").concat(K,"\n\t\t\t").concat(G,"\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ee,"\n\t\t\t").concat(Z,"\n\t\t}\n\n\t"),Oe="\n\t\t.eb-textarea-field-wrapper.".concat(o,"{\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(te,"\n\t\t\t").concat(q,"\n\t\t}\n\t\t.eb-textarea-field-wrapper.").concat(o,":hover {\n\t\t\t").concat(ae,"\n\t\t\t").concat(J,"\n\t\t}\n\n\t"),Ie="\n .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n\t\t\tcolor: ").concat(l,";\n ").concat(re,"\n ").concat(se,"\n\t\t}\n .eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-required{\n color: ").concat(c,";\n }\n\t"),De="\n .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n\t\t\t").concat(le,"\n ").concat(pe,"\n\t\t}\n\t"),Ae="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," > label {\n ").concat(ce,"\n ").concat(be,"\n\t\t}\n\t"),Me="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n\t\t\tcolor: ").concat(i,";\n\t\t\tbackground-color: ").concat(b,";\n ").concat(me,"\n ").concat(ke,"\n ").concat(Ee,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input::placeholder {\n\t\t\tcolor: ").concat(s,";\n\t\t}\n\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ye,"\n\t\t\tcolor: ").concat(_,";\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-field-input {\n\t\t\tborder-color: ").concat(C,";\n\t\t}\n\t"),Le="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ue,"\n ").concat(Re,"\n ").concat(xe,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(he,"\n\t\t}\n\t"),Fe="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n ").concat(ge,"\n ").concat(_e,"\n ").concat(Se,"\n\t\t}\n\t\t.eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o,".eb-validation-error .eb-form-validation {\n ").concat(ve,"\n\t\t}\n\t"),je="\n\t\t.eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-input-icon {\n ").concat(Te,"\n color: ").concat(E||I,";\n\t\t}\n\n ").concat(O?"\n .eb-form-wrapper.".concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-input-icon {\n left: ").concat(x||T).concat(S,";\n }\n .eb-form-wrapper.").concat(r," .eb-textarea-field-wrapper.").concat(o," .eb-field-input {\n padding-left: calc(").concat(B||P,"px + (").concat(x||(0==T?8:T)).concat(S||N," * 1.6));\n }"):"","\n\t"),He=(0,p.softMinifyCssStrings)("\n\t\t".concat(Ne,"\n\t\t").concat(Ie,"\n\t\t").concat(Me,"\n\t\t").concat(je,"\n\t")),ze=(0,p.softMinifyCssStrings)("\n\t\t".concat(Pe,"\n\t\t").concat(De,"\n\t\t").concat(Le,"\n\t")),Ue=(0,p.softMinifyCssStrings)("\n\t\t".concat(Oe,"\n\t\t").concat(Ae,"\n\t\t").concat(Fe,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(p.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:He,tabAllStyles:ze,mobileAllStyles:Ue,blockName:n}))}function E(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?E(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):E(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const S=x(x(x(x(x(x(x(x(x(x(x({resOption:{type:"string",default:"Desktop"},parentBlockId:{type:"string"},parentBlockPaddingLeft:{type:"string"},parentBlockPaddingUnit:{type:"string"},parentBlockIconSize:{type:"string"},parentIconColor:{type:"string"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},formStyle:{type:"string"},showLabel:{type:"boolean",default:!0},labelText:{type:"string",default:"Message"},fieldName:{type:"string"},textareaRows:{type:"number",default:4},placeholderText:{type:"string",default:"Enter your message here..."},defaultValue:{type:"string"},isRequired:{type:"boolean",default:!1},validationRules:{type:"object"},validationMessage:{type:"string",default:"This field is required."},labelColor:{type:"string"},requiredColor:{type:"string"},fieldColor:{type:"string"},fieldPlaceholderColor:{type:"string"},fieldBgColor:{type:"string"},fieldValidationColor:{type:"string"},fieldValidationBorderColor:{type:"string"},isIcon:{type:"boolean",default:!0},icon:{type:"string",default:"far fa-edit"},iconColor:{type:"string"}},(0,p.generateTypographyAttributes)(w)),(0,p.generateTypographyAttributes)(k)),(0,p.generateTypographyAttributes)(R)),(0,p.generateDimensionsAttributes)(m)),(0,p.generateDimensionsAttributes)(u)),(0,p.generateBackgroundAttributes)(d)),(0,p.generateBorderShadowAttributes)(g)),(0,p.generateDimensionsAttributes)(h)),(0,p.generateBorderShadowAttributes)(y)),(0,p.generateDimensionsAttributes)(f)),(0,p.generateResponsiveRangeAttributes)(v));function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function T(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const N=(0,i.memo)((0,p.withBlockContext)(S)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=e.clientId,r=(e.className,e.name),l=t.blockId,b=t.classHook,d=t.showLabel,m=t.labelText,u=t.fieldName,g=t.textareaRows,f=t.defaultValue,y=t.placeholderText,h=t.isRequired,v=(t.validationRules,t.validationMessage),w=t.isIcon,k=t.icon,R=t.formStyle,E=T(T({},e),{},{blockPrefix:"eb-textarea-field",rootClass:"eb-guten-block-main-parent-wrapper eb-form-field",style:React.createElement(C,e)});return(0,i.useEffect)(function(){var e,t,n,l,c,i,b,d,m=(0,p.getBlockParentClientId)(o,"essential-blocks/form"),u=(0,s.select)("core/block-editor").getBlock(m),g=null==u||null===(e=u.attributes)||void 0===e?void 0:e.blockId,f=null==u||null===(t=u.attributes)||void 0===t?void 0:t.inputIconColor,y=null==u||null===(n=u.attributes)||void 0===n?void 0:n.inputIconSizeRange,h=null==u||null===(l=u.attributes)||void 0===l?void 0:l.fieldsPaddingLeft,v=null==u||null===(c=u.attributes)||void 0===c?void 0:c.fieldsPaddingUnit;g&&a({parentBlockId:g,parentBlockPaddingLeft:h,parentBlockPaddingUnit:v,parentBlockIconSize:y,parentIconColor:f});var w=null==u||null===(i=u.attributes)||void 0===i?void 0:i.formStyle;w&&a({formStyle:w});var k=(0,s.select)("core/block-editor").wasBlockJustInserted(o),R=null==u||null===(b=u.attributes)||void 0===b?void 0:b.showLabel,_=null==u||null===(d=u.attributes)||void 0===d?void 0:d.showInputIcon;if(k&&void 0!==R&&void 0!==_&&a({showLabel:R,isIcon:_}),k&&m){var C=(0,s.select)("core/block-editor").getBlocksByClientId(m),E=(0,p.filterBlocksByName)(C,r),x=E.indexOf(o);-1!==x&&(a({fieldName:"textarea-field-".concat(x+1)}),1===E.length?a({fieldName:"textarea-field"}):a({fieldName:"textarea-field-".concat(x+1)}))}},[]),(0,i.useEffect)(function(){var e=(0,c.A)({},u,{isRequired:{status:h,message:v}});a({validationRules:e})},[h,u,v]),React.createElement(React.Fragment,null,n&&React.createElement(_,{clientId:o,attributes:t,setAttributes:a}),React.createElement(p.BlockProps.Edit,E,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(l," ").concat(b)},React.createElement("div",{className:"".concat(l," eb-textarea-field-wrapper eb-field-wrapper")},d&&"form-style-modern"!=R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},React.createElement(p.DynamicInputValueHandler,{value:m,onChange:function(e){return a({labelText:e})},readOnly:!0})," ",h&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},w&&k&&React.createElement(p.EBDisplayIcon,{icon:k,className:"eb-input-icon"}),React.createElement("textarea",{rows:g,cols:"100",id:u,className:"eb-field-input",name:u,placeholder:y},f),"form-style-modern"==R&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:u},m," ",h&&React.createElement("span",{className:"eb-required"},"*")))),h&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(u)},v))))))}));var P=a(4715);function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=[{attributes:I({},S),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,d=t.validationMessage,m=t.isIcon,u=t.icon,g=t.formStyle,f=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",f,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",b&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},m&&u&&React.createElement(p.EBDisplayIcon,{icon:u,className:"eb-input-icon"}),React.createElement("textarea",{rows:c,cols:"100",id:l,className:"eb-field-input",name:l,placeholder:s},i),"form-style-modern"==g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",b&&React.createElement("span",{className:"eb-required"},"*")))),b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},d)))))}},{attributes:I({},S),supports:{align:["full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.textareaRows,i=t.defaultValue,s=t.placeholderText,p=t.isRequired,b=t.validationMessage,d=t.isIcon,m=t.icon,u=t.formStyle,g=P.useBlockProps.save({className:"eb-form-field"});return React.createElement("div",g,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",p&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},d&&m&&React.createElement("i",{className:"".concat(m," eb-input-icon")}),React.createElement("textarea",{rows:c,cols:"100",id:l,className:"eb-field-input",name:l,placeholder:s},i),"form-style-modern"==u&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",p&&React.createElement("span",{className:"eb-required"},"*")))),p&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},b)))))}}],A=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Textarea Field","apiVersion":2,"name":"essential-blocks/form-textarea-field","description":"Form Block Textarea Field","category":"essential-blocks","textdomain":"essential-blocks","ancestor":["essential-blocks/form"],"supports":{"anchor":true},"editorScript":"essential-blocks-editor-script"}');(0,p.ebConditionalRegisterBlockType)(A,{keywords:[(0,o.__)("EB Form","essential-blocks"),(0,o.__)("Form Block","essential-blocks"),(0,o.__)("Contact Form","essential-blocks"),(0,o.__)("Subscription Form","essential-blocks")],icon:function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 42 39"},e),n||(n=r.createElement("g",{fill:"#6C3BFF"},r.createElement("path",{d:"M20.88 30.35a.92.92 0 0 1-.93-.92V10.4h-7.63c-.52 0-.92-.41-.92-.93s.41-.93.92-.93h17.1c.52 0 .92.41.92.93s-.41.93-.92.93h-7.63v19.03c0 .52-.41.92-.93.92z"}),r.createElement("path",{d:"M6.63 38.9c-1.3 0-2.35-1.05-2.35-2.35V24.57l-.37-.1c-2.3-.6-3.9-2.67-3.9-5.03s1.6-4.43 3.9-5.03l.37-.1V2.35C4.28 1.05 5.33 0 6.63 0h28.5c1.3 0 2.35 1.05 2.35 2.35v11.98l.37.1c2.3.6 3.9 2.67 3.9 5.03s-1.6 4.43-3.9 5.03l-.37.1v11.98c0 1.3-1.05 2.35-2.35 2.35H6.63zm-.5-24.58.37.1c2.3.6 3.9 2.67 3.9 5.03s-1.6 4.43-3.9 5.03l-.37.1v12.48h29.5V24.58l-.37-.1c-2.3-.6-3.9-2.67-3.9-5.03s1.6-4.43 3.9-5.03l.37-.1V1.85H6.13v12.48zm30.43 1.77a3.35 3.35 0 1 0 0 6.7 3.35 3.35 0 0 0 0-6.7m-31.35 0a3.35 3.35 0 1 0 0 6.7 3.35 3.35 0 0 0 0-6.7"}))))},attributes:S,edit:N,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook,o=t.showLabel,r=t.labelText,l=t.fieldName,c=t.textareaRows,i=t.defaultValue,s=t.placeholderText,b=t.isRequired,d=t.validationMessage,m=t.isIcon,u=t.icon,g=t.formStyle;return P.useBlockProps.save({className:"eb-form-field"}),React.createElement(p.BlockProps.Save,{attributes:t,rootClass:"eb-form-field"},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"".concat(a," eb-textarea-field-wrapper eb-field-wrapper")},o&&"form-style-modern"!=g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",b&&React.createElement("span",{className:"eb-required"},"*"))),React.createElement("div",{className:"eb-field-input-wrap"},m&&u&&React.createElement(p.EBDisplayIcon,{icon:u,className:"eb-input-icon"}),React.createElement("textarea",{rows:c,cols:"100",id:l,className:"eb-field-input",name:l,placeholder:s},i),"form-style-modern"==g&&React.createElement(React.Fragment,null,React.createElement("label",{htmlFor:l},r," ",b&&React.createElement("span",{className:"eb-required"},"*")))),b&&React.createElement(React.Fragment,null,React.createElement("div",{className:"eb-form-validation eb-validate-".concat(l)},d)))))},example:{},deprecated:D})},9705:(e,t,a)=>{var n=a(7723),o=a(4997),r=a(4467),l=a(9394),c=a(3453),i=a(1609),s=a(4715),p=a(8468),b=a(7143),d=a(6087),m=(a(6942),a(6427)),u=[{label:(0,n.__)("Full Width","essential-blocks"),value:"full"},{label:(0,n.__)("Boxed","essential-blocks"),value:"boxed"}],g=[{label:(0,n.__)("Default","essential-blocks"),value:"default"},{label:(0,n.__)("Fit To Screen","essential-blocks"),value:"fit"},{label:(0,n.__)("Min Height","essential-blocks"),value:"minH"},{label:(0,n.__)("Equal Height","essential-blocks"),value:"equalH"}],f=[{label:(0,n.__)("Visible","essential-blocks"),value:"visible"},{label:(0,n.__)("Hidden","essential-blocks"),value:"hidden"}],y=[{label:"Default",value:""},{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],h=[{label:"Default",value:"default"},{label:"Reverse Columns",value:"row-reverse"},{label:"Custom Order",value:"custom"}],v=((0,n.__)("Start","essential-blocks"),(0,n.__)("Center","essential-blocks"),(0,n.__)("End","essential-blocks"),(0,n.__)("Space-Between","essential-blocks"),(0,n.__)("Space-around","essential-blocks"),(0,n.__)("Space-Evenly","essential-blocks"),a(5694)),w="wrpMrg_",k="wrpPad_",R="minH_",_="maxW_",C="clGp_",E="clNum_",x="wrpBg_",S="wrpBdS_",B="rovP_",T="colOrder_";const N=function(e){var t=e.attributes,a=e.setAttributes,o=t.resOption,r=t.rowWidthName,l=t.rowHeightName,c=(t.rowOverFlow,t.rowAli);return React.createElement(v.InspectorPanel,{hideTabs:["styles"],advancedControlProps:{marginPrefix:w,paddingPrefix:k,backgroundPrefix:x,borderPrefix:S,hasMargin:!0}},React.createElement(v.InspectorPanel.General,null,React.createElement(v.InspectorPanel.PanelBody,{title:(0,n.__)("Row settings","essential-blocks"),initialOpen:!0},React.createElement(m.BaseControl,{label:(0,n.__)("Layout","essential-blocks")},React.createElement(m.SelectControl,{value:r,options:u,onChange:function(e){return a({rowWidthName:e})}})),"boxed"===r&&React.createElement(v.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Max Width (px)","essential-blocks"),controlName:_,min:0,max:1800,step:1}),React.createElement(v.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Columns Number","essential-blocks"),controlName:E,min:1,max:6,step:1}),React.createElement(v.ResponsiveRangeController,{noUnits:!0,baseLabel:(0,n.__)("Columns Gap","essential-blocks"),controlName:C,min:0,max:100,step:1}),React.createElement(m.BaseControl,{label:(0,n.__)("Height","essential-blocks")},React.createElement(m.SelectControl,{value:l,options:g,onChange:function(e){return a({rowHeightName:e})}})),"minH"===l&&React.createElement(v.ResponsiveRangeController,{units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],baseLabel:(0,n.__)("Minimum height","essential-blocks"),controlName:R,min:0,max:1500,step:1}),React.createElement(m.BaseControl,{label:(0,n.__)("Columns Vertical Align","essential-blocks")},React.createElement(m.SelectControl,{value:c,options:y,onChange:function(e){a({rowAli:e})}})),React.createElement(v.ResponsiveSelectController,{baseLabel:"Columns Order",controlName:T,options:h,resOption:o}),React.createElement(v.ResponsiveSelectController,{baseLabel:"Overflow",controlName:B,options:f,resOption:o}))))};function P(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=t.blockId,r=(t.blockMeta,t.resOption,t.rowWidthName),l=t.rowHeightName,c=t.rowAli,i=t.clGp_Range,s=t.TABclGp_Range,p=t.MOBclGp_Range,b=(t["".concat(E,"Range")],t["TAB".concat(E,"Range")],t["MOB".concat(E,"Range")],t["".concat(T,"Option")]),d=t["TAB".concat(T,"Option")],m=t["MOB".concat(T,"Option")],u=(t.classHook,(0,v.generateResponsiveSelectControlStyles)({controlName:B,property:"overflow",attributes:t})),g=u.selectStylesDesktop,f=u.selectStylesTab,y=u.selectStylesMobile,h=(0,v.generateResponsiveRangeStyles)({controlName:R,property:"min-height",attributes:t}),C=h.rangeStylesDesktop,N=h.rangeStylesTab,P=h.rangeStylesMobile,O=(0,v.generateResponsiveRangeStyles)({controlName:_,property:"max-width",attributes:t,customUnit:"px"}),I=O.rangeStylesDesktop,D=O.rangeStylesTab,A=O.rangeStylesMobile,M=(0,v.generateDimensionsControlStyles)({attributes:t,controlName:w,styleFor:"margin",disableLeftRight:!0}),L=M.dimensionStylesDesktop,F=M.dimensionStylesTab,j=M.dimensionStylesMobile,H=(0,v.generateDimensionsControlStyles)({attributes:t,controlName:k,styleFor:"padding"}),z=H.dimensionStylesDesktop,U=H.dimensionStylesTab,V=H.dimensionStylesMobile,G=(0,v.generateBackgroundControlStyles)({attributes:t,controlName:x}),q=G.backgroundStylesDesktop,W=G.hoverBackgroundStylesDesktop,Z=G.backgroundStylesTab,J=G.hoverBackgroundStylesTab,Y=G.backgroundStylesMobile,Q=G.hoverBackgroundStylesMobile,X=G.overlayStylesDesktop,$=G.hoverOverlayStylesDesktop,K=G.overlayStylesTab,ee=G.hoverOverlayStylesTab,te=G.overlayStylesMobile,ae=G.hoverOverlayStylesMobile,ne=G.bgTransitionStyle,oe=G.ovlTransitionStyle,re=(0,v.generateBorderShadowStyles)({controlName:S,attributes:t}),le=re.styesDesktop,ce=re.styesTab,ie=re.styesMobile,se=re.stylesHoverDesktop,pe=re.stylesHoverTab,be=re.stylesHoverMobile,de=re.transitionStyle,me=(0,v.softMinifyCssStrings)("\n\n\n\t\t.".concat(o,".eb-row-root-container > *{\n\t\t\tposition:relative;\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container{\n\t\t\t").concat(g,"\n\n\t\t\t").concat(q,"\n\t\t\t").concat(L,"\n\t\t\t").concat(z,"\n\t\t\t").concat(le,"\n\t\t\ttransition:all 0.5s, ").concat(ne,", ").concat(de,";\n\t\t}\n\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(W,"\n\t\t\t").concat(se,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(X,"\n\t\t\ttransition:all 0.5s, ").concat(oe,";\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat($,"\n\n\t\t}\n\n\t")),ue=(0,v.softMinifyCssStrings)("\n\n\t\t.".concat(o,".eb-row-root-container{\n\t\t\t").concat(f,"\n\n\t\t\t").concat(Z,"\n\t\t\t").concat(F,"\n\t\t\t").concat(U,"\n\t\t\t").concat(ce,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(J,"\n\t\t\t").concat(pe,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(K,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat(ee,"\n\n\t\t}\n\t")),ge=(0,v.softMinifyCssStrings)("\n\t\t.".concat(o,".eb-row-root-container{\n\t\t\t").concat(y,"\n\n\t\t\t").concat(Y,"\n\t\t\t").concat(j,"\n\t\t\t").concat(V,"\n\t\t\t").concat(ie,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover{\n\t\t\t").concat(Q,"\n\t\t\t").concat(be,"\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:before{\n\t\t\t").concat(te,"\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container:hover:before{\n\t\t\t").concat(ae,"\n\n\t\t}\n\t")),fe="\n\t\t".concat(me,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?I:"","\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout {\n\t\t\t").concat("minH"===l?C:"fit"===l?"min-height:100vh;":"","\n\t\t\t").concat(c?"align-items:".concat(c,";"):"","\n\t\t\t").concat(i||0===i?"gap:".concat(i,"px;"):"","\n\t\t\t").concat("row-reverse"===b?"flex-flow: row-reverse;":"flex-flow: row;","\n\t\t\t").concat("equalH"===l?"align-items: unset;":"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\tbox-sizing:border-box;\n\t\t\t").concat("minH"===l?C:"","\n\t\t\t").concat("equalH"===l?"\n\t\t\t\tdisplay:flex;\n\t\t\t\talign-items: ".concat(c,";\n\t\t\t"):"","\n\t\t}\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap > .eb-parent-wrapper {\n\t\t\t").concat("equalH"===l?"width: 100%;":"","\n\t\t}\n\n\t"),ye="\n\t\t".concat(ue,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?D:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout{\n\t\t\tflex-wrap: wrap;\n\t\t\t").concat("minH"===l?N:"fit"===l?"min-height:100vh":"","\n\t\t\t").concat(s||0===s?"gap:".concat(s,"px;"):"","\n\t\t\t").concat("row-reverse"===d?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\tbox-sizing:border-box;\n\t\t\t").concat("minH"===l?N||C:"","\n\t\t}\n\t"),he="\n\t\t".concat(ge,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks {\n\t\t\t").concat("boxed"===r?A:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout{\n\t\t\t").concat("minH"===l?P:"fit"===l?"min-height:100vh":"","\n\t\t\t").concat(p||0===p?"gap:".concat(p,"px;"):"","\n\t\t\t").concat("row-reverse"===m?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .block-editor-inner-blocks > .block-editor-block-list__layout > .eb-column-editor-wrap{\n\t\t\tbox-sizing:border-box;\n\t\t\t").concat("minH"===l?P||C:"","\n\t\t}\n\n\t"),ve=(0,v.softMinifyCssStrings)("\n\t\t".concat(me,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?I:"","\n\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===l?C:"fit"===l?"min-height:100vh;":"","\n\n\t\t\t").concat(c?"align-items:".concat(c,";"):"","\n\t\t\t").concat(i||0===i?"gap:".concat(i,"px;"):"","\n\t\t\t").concat("row-reverse"===b?"flex-flow: row-reverse;":"flex-flow: row;","\n\t\t\t").concat("equalH"===l?"align-items: unset;":"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .wp-block-essential-blocks-column{\n\t\t\t").concat("minH"===l?C:"","\n\t\t\t").concat("equalH"===l?"\n\t\t\t\tdisplay:flex;\n\t\t\t\talign-items: ".concat(c,";\n\t\t\t"):"","\n\t\t}\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .wp-block-essential-blocks-column > * {\n\t\t\t").concat("equalH"===l?"width: 100%;":"","\n\t\t}\n\n\t")),we=(0,v.softMinifyCssStrings)("\n\t\t".concat(ue,"\n\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?D:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===l?N:"fit"===l?"min-height:100vh":"","\n\t\t\t").concat(s||0===s?"gap: ".concat(s,"px;"):"","\n\t\t\t").concat("row-reverse"===d?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .wp-block-essential-blocks-column{\n\t\t\t").concat("minH"===l?N||C:"","\n\t\t}\n\n\t")),ke=(0,v.softMinifyCssStrings)("\n\t\t".concat(ge,"\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper{\n\t\t\t").concat("boxed"===r?A:"","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner {\n\t\t\t").concat("minH"===l?P:"fit"===l?"min-height:100vh":"","\n\t\t\t").concat(p||0===p?"gap: ".concat(p,"px;"):"","\n\n\t\t\t").concat("row-reverse"===m?"flex-flow: row-reverse; flex-wrap: wrap-reverse !important;":"flex-flow: row; flex-wrap: wrap !important;","\n\t\t}\n\n\t\t.").concat(o,".eb-row-root-container > .eb-row-wrapper > .eb-row-inner > .wp-block-essential-blocks-column{\n\t\t\t").concat("minH"===l?P||C:"","\n\t\t}\n\n\t"));return React.createElement(React.Fragment,null,React.createElement(v.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:ve,tabAllStyles:we,mobileAllStyles:ke,editorDesktopStyles:fe,editorTabStyles:ye,editorMobileStyles:he,blockName:n}))}function O(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function I(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?O(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const D=I(I(I(I(I(I(I(I(I(I({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},align:{type:"string",default:"full"},isLayoutSelected:{type:"boolean",default:!1},rowWidthName:{type:"string",default:"boxed"},rowHeightName:{type:"string",default:"default"},rowOverFlow:{type:"string"},rowAli:{type:"string"}},(0,v.generateResponsiveRangeAttributes)(R,{})),(0,v.generateResponsiveRangeAttributes)(C,{defaultRange:20,noUnits:!0})),(0,v.generateResponsiveRangeAttributes)(_,{defaultRange:1170,noUnits:!0})),(0,v.generateResponsiveRangeAttributes)(E,{noUnits:!0})),(0,v.generateBorderShadowAttributes)(S,{})),(0,v.generateBackgroundAttributes)(x,{defaultBgGradient:"linear-gradient(45deg,#7967ff,#c277f2)"})),(0,v.generateDimensionsAttributes)(w,{disableLeftRight:!0})),(0,v.generateDimensionsAttributes)(k)),(0,v.generateResponsiveSelectControlAttributes)(B)),(0,v.generateResponsiveSelectControlAttributes)(T));function A(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?A(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var L=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).widthArr,a=void 0===t?[]:t;return(0,d.times)(e,function(e){return["essential-blocks/column",{cw_Range:a[e]||20}]})};const F=(0,p.memo)((0,v.withBlockContext)(D)(function(e){var t=e.attributes,a=e.setAttributes,n=(e.className,e.clientId),i=e.isSelected,m=(0,p.useState)([]),u=(0,c.A)(m,2),g=u[0],f=u[1],y=t.blockId,h=(t.blockMeta,t.resOption),w=t.isLayoutSelected,k=(t.rowWidthName,t.rowHeightName,t.rowOverFlow,t.rowAli,t.clGp_Range,t.TABclGp_Range,t.MOBclGp_Range,t["".concat(E,"Range")]),R=t["TAB".concat(E,"Range")],_=t["MOB".concat(E,"Range")],C=(t["".concat(T,"Option")],t["TAB".concat(T,"Option")],t["MOB".concat(T,"Option")],t.classHook),x=(0,b.useSelect)(function(e){return e("core/block-editor").getBlocksByClientId(n)[0]}),S=(x.innerBlocks&&x.innerBlocks,x.innerBlocks?x.innerBlocks.length:0),B=(0,p.useRef)(S),O=(0,p.useRef)(!1),I=(0,b.useDispatch)(s.store).replaceInnerBlocks;(0,p.useEffect)(function(){B.current=S},[g]);var D=function(e,t,a,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return e.map(function(e){return(0,d.merge)({},e,{attributes:{cw_Range:!o&&e.attributes.cw_Range?e.attributes.cw_Range:parseFloat("".concat(t)),TABcw_Range:!o&&e.attributes.TABcw_Range?e.attributes.TABcw_Range:parseFloat("".concat(a)),MOBcw_Range:!o&&e.attributes.MOBcw_Range?e.attributes.MOBcw_Range:parseFloat("".concat(n)),resOption:h}})})},A=(0,p.useRef)(R),F=(0,p.useRef)(_);(0,p.useEffect)(function(){if("number"==typeof k&&"number"==typeof S&&"number"==typeof B.current){var e=k-B.current;B.current=k;var t,a=(100/k).toFixed(2),r=50..toFixed(2),c=100..toFixed(2),i=(0,b.select)("core/block-editor").getBlocksByClientId(n)[0],s=i&&i.innerBlocks?i.innerBlocks:[],p=(0,l.A)(s);if(0!==p.length)if(k>6&&(a=(100/6).toFixed(2),p=s.filter(function(e,t){if(t<=5)return e})),"number"==typeof R&&R<=k&&(r=(100/R).toFixed(2)),"number"==typeof _&&_<=k&&(c=(100/_).toFixed(2)),e>0)O.current?(t=(0,l.A)(D(p,a,r,c,!0)),O.current=!1):t=[].concat((0,l.A)(D(p,a,r,c,!0)),(0,l.A)((0,d.times)(e,function(){return(0,o.createBlock)("essential-blocks/column",{cw_Range:parseFloat("".concat(a))})}))),I(n,t);else if(e<0){var m=(0,l.A)(D(p,a,r,c,!0)).filter(function(t,a){if(a<=k-Math.abs(e))return t});I(n,m)}else{var u=(0,l.A)(D(p,a,r,c,"Desktop"!==h&&(R!=A.current?(A.current=R,!0):_!=F.current&&(F.current=_,!0))));I(n,u)}}},[k,R,_,h]),(0,p.useEffect)(function(){"number"==typeof S&&S!=k&&(B.current=k,O.current=!0,a((0,r.A)({},"".concat(E,"Range"),S)))},[S]);var j=(0,p.useRef)(null),H=M(M({},e),{},{blockPrefix:"eb-row",style:React.createElement(P,e)});(0,p.useEffect)(function(){var e=j.current;e&&(e.closest(".wp-block:not(.eb-guten-block-main-parent-wrapper)")||{classList:{add:function(){}}}).classList.add("marginPaddingNaai")},[j]),(0,p.useEffect)(function(){"Desktop"==h?document.body.classList.add("eb-responsive-preview-option-Desktop"):document.body.classList.remove("eb-responsive-preview-option-Desktop")},[h]);var z=function(e){switch(e){case"01":f(L(1,{widthArr:[100]})),a((0,r.A)({},"".concat(E,"Range"),1));break;case"02":f(L(2,{widthArr:[50,50]})),a((0,r.A)({},"".concat(E,"Range"),2));break;case"03":f(L(3,{widthArr:[33.33,33.33,33.33]})),a((0,r.A)({},"".concat(E,"Range"),3));break;case"04":f(L(4,{widthArr:[25,25,25,25]})),a((0,r.A)({},"".concat(E,"Range"),4));break;case"05":f(L(2,{widthArr:[34,66]})),a((0,r.A)({},"".concat(E,"Range"),2));break;case"06":f(L(2,{widthArr:[66,34]})),a((0,r.A)({},"".concat(E,"Range"),2));break;case"07":f(L(3,{widthArr:[25,25,50]})),a((0,r.A)({},"".concat(E,"Range"),3));break;case"08":f(L(3,{widthArr:[50,25,25]})),a((0,r.A)({},"".concat(E,"Range"),3));break;case"09":f(L(3,{widthArr:[25,50,25]})),a((0,r.A)({},"".concat(E,"Range"),3));break;case"10":f(L(5,{widthArr:[20,20,20,20,20]})),a((0,r.A)({},"".concat(E,"Range"),5));break;case"11":f(L(6,{widthArr:[16.666,16.666,16.666,16.666,16.666,16.666]})),a((0,r.A)({},"".concat(E,"Range"),6));break;case"12":f(L(3,{widthArr:[17,66,17]})),a((0,r.A)({},"".concat(E,"Range"),3))}a({isLayoutSelected:!0})};return React.createElement(React.Fragment,null,i&&React.createElement(N,e),React.createElement(v.BlockProps.Edit,H,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(y," ").concat(C)},React.createElement("div",{className:"eb-row-root-container ".concat(y),ref:j},React.createElement("div",{className:"eb-row-wrapper for-editor-page"},React.createElement("div",{className:"eb-row-inner"},w?React.createElement(React.Fragment,null,React.createElement(s.InnerBlocks,{templateLock:!1,template:g||[["essential-blocks/column",{cw_Range:20}],["essential-blocks/column",{cw_Range:80}]],orientation:"horizontal",allowedBlocks:["essential-blocks/column"]})):React.createElement(React.Fragment,null,React.createElement("style",null,"\n\n\t\t\t\t\t.".concat(y,".eb-row-root-container .layoutPicker{\n\t\t\t\t\t\tpadding: 30px 0px;\n\t\t\t\t\t\tbackground: #fff;\n\t\t\t\t\t\tborder: 1px dashed #ccc;\n\t\t\t\t\t\tborder-radius: 10px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker h3{\n\t\t\t\t\t\ttext-align:center;\n\t\t\t\t\t\ttext-transform:uppercase;\n\t\t\t\t\t\tfont-size:30px;\n\t\t\t\t\t\tfont-size: 18px;\n\t\t\t\t\t\tcolor: #666;\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts{\n\t\t\t\t\t\tdisplay:flex;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tflex-wrap:wrap;\n\t\t\t\t\t\tmax-width:650px;\n\t\t\t\t\t\tpadding:0;\n\t\t\t\t\t\tmargin:auto;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li{\n\t\t\t\t\t\twidth: 20%;\n\t\t\t\t\t\tpadding:5px 10px;\n\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\tcursor:pointer;\n\t\t\t\t\t\tposition:relative;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li > h6{\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tfont-family:sans-sarif;\n\t\t\t\t\t\tposition: absolute;\n\t\t\t\t\t\ttop:90%;\n\t\t\t\t\t\tleft: 50px;\n\t\t\t\t\t\tdisplay:none;\n\t\t\t\t\t\tmargin: 0 !important;\n\t\t\t\t\t\tpadding: 5px 10px !important;\n\t\t\t\t\t\tz-index: 222;\n\t\t\t\t\t\ttext-transform: uppercase;\n\t\t\t\t\t\tbackground-color: #444;\n\t\t\t\t\t\tcolor: #fff;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(3) > h6{\n\t\t\t\t\t\tleft: 25px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(4) > h6{\n\t\t\t\t\t\tleft: 0px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(7) > h6,\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(8) > h6,\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(9) > h6,\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(12) > h6,\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(10) > h6\n\t\t\t\t\t{\n\t\t\t\t\t\tleft: -25px;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:nth-child(11) > h6{\n\t\t\t\t\t\tleft: -60px;\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li .colLayouts__st0{\n\t\t\t\t\t\tfill:#e5ebf3;\n\t\t\t\t\t}\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:hover .colLayouts__st0{\n\t\t\t\t\t\tfill:#cdd6e3;\n\t\t\t\t\t}\n\n\n\t\t\t\t\t.").concat(y,".eb-row-root-container .layoutPicker ul.layouts > li:hover > h6{\n\t\t\t\t\t\tdisplay:block;\n\t\t\t\t\t}\n\n\t\t\t\t\t\t\t")),React.createElement("div",{className:"layoutPicker"},React.createElement("h3",null,"Select Column layout"),React.createElement("ul",{className:"layouts"},React.createElement("li",{onClick:function(){z("01")}},React.createElement("h6",null,"1"),React.createElement(v.Icon01z1x100,null)),React.createElement("li",{onClick:function(){z("02")}},React.createElement("h6",null,"1/2 1/2"),React.createElement(v.Icon02z2x50,null)),React.createElement("li",{onClick:function(){z("03")}},React.createElement("h6",null,"1/3 1/3 1/3"),React.createElement(v.Icon03z3x33_33,null)),React.createElement("li",{onClick:function(){z("04")}},React.createElement("h6",null,"1/4 1/4 1/4 1/4"),React.createElement(v.Icon04z4x25,null)),React.createElement("li",{onClick:function(){z("05")}},React.createElement("h6",null,"1/3 2/3"),React.createElement(v.Icon05z34y66,null)),React.createElement("li",{onClick:function(){z("06")}},React.createElement("h6",null,"2/3 1/3"),React.createElement(v.Icon06z66y34,null)),React.createElement("li",{onClick:function(){z("07")}},React.createElement("h6",null,"1/4 1/4 2/4"),React.createElement(v.Icon07z25y25y50,null)),React.createElement("li",{onClick:function(){z("08")}},React.createElement("h6",null,"2/4 1/4 1/4"),React.createElement(v.Icon08z50y25y25,null)),React.createElement("li",{onClick:function(){z("09")}},React.createElement("h6",null,"1/4 2/4 1/4"),React.createElement(v.Icon09z25y50y25,null)),React.createElement("li",{onClick:function(){z("10")}},React.createElement("h6",null,"1/5 1/5 1/5 1/5 1/5"),React.createElement(v.Icon10z5x20,null)),React.createElement("li",{onClick:function(){z("11")}},React.createElement("h6",null,"1/6 1/6 1/6 1/6 1/6 1/6"),React.createElement(v.Icon11z6x16_66,null)),React.createElement("li",{onClick:function(){z("12")}},React.createElement("h6",null,"1/6 4/6 1/6"),React.createElement(v.Icon12z16y66y16,null)))))))))))})),j=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Row","name":"essential-blocks/row","category":"essential-blocks","description":"Create complex Row layouts with plenty of styling controls & responsive options","apiVersion":2,"textdomain":"essential-blocks","supports":{"align":["wide","full"],"html":false,"anchor":true},"editorScript":"essential-blocks-editor-script"}');function H(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?H(Object(a),!0).forEach(function(t){(0,r.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):H(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const U=[{attributes:z({},D),supports:{html:!1,anchor:!0,align:["wide","full"]},save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-row-root-container ".concat(a),"data-id":a},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(s.InnerBlocks.Content,null))))))}},{attributes:z({},D),supports:{html:!1,anchor:!0,align:["wide","full"]},save:function(e){var t=e.attributes.blockId;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-row-root-container ".concat(t),"data-id":t},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(s.InnerBlocks.Content,null)))))}},{supports:{html:!1,anchor:!0,align:["wide","full"]},attributes:(0,d.omit)(z(z({},D),{},{wrpMrg_Right:{type:"string"},wrpMrg_Left:{type:"string"},TABwrpMrg_Right:{type:"string"},TABwrpMrg_Left:{type:"string"},MOBwrpMrg_Right:{type:"string"},MOBwrpMrg_Left:{type:"string"}}),[]),save:function(e){var t=e.attributes.blockId;return React.createElement("div",s.useBlockProps.save(),React.createElement("div",{className:"eb-row-wrapper ".concat(t),"data-id":t},React.createElement("div",{className:"eb-row-inner"},React.createElement(s.InnerBlocks.Content,null))))}}];var V,G;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q.apply(null,arguments)}(0,v.ebConditionalRegisterBlockType)(j,{icon:function(e){return i.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 60 41"},e),V||(V=i.createElement("path",{fill:"#6C3BFF",d:"M57.867 9.267H39c-.333-4.667-4.267-8.4-9-8.4-4.8 0-8.667 3.733-9 8.4H2.2C1 9.267.067 10.2.067 11.4v27.267c0 1.2.933 2.133 2.133 2.133h55.667c1.2 0 2.133-.933 2.133-2.133V11.533c0-1.333-1-2.266-2.133-2.266M30 2.6c4.067 0 7.4 3.333 7.4 7.4s-3.333 7.333-7.4 7.333-7.4-3.333-7.4-7.4C22.6 5.867 25.933 2.6 30 2.6m28.333 36c0 .267-.266.533-.533.533H2.2c-.267 0-.533-.266-.533-.533V11.533c0-.266.266-.533.533-.533h18.867c.533 4.467 4.333 8 9 8s8.466-3.533 9-8h18.866c.267 0 .534.267.534.533V38.6z"})),G||(G=i.createElement("path",{fill:"#6C3BFF",d:"M29.2 13.667h1.667V10.8h2.8V9.133h-2.8V6.267H29.2v2.866h-2.867V10.8H29.2z"})))},attributes:D,keywords:[(0,n.__)("EB row","essential-blocks"),(0,n.__)("row","essential-blocks")],edit:F,save:function(e){var t=e.attributes,a=t.blockId,n=t.classHook;return React.createElement(v.BlockProps.Save,{attributes:t},React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(a," ").concat(n)},React.createElement("div",{className:"eb-row-root-container ".concat(a),"data-id":a},React.createElement("div",{className:"eb-row-wrapper"},React.createElement("div",{className:"eb-row-inner"},React.createElement(s.InnerBlocks.Content,null))))))},deprecated:U,example:{attributes:{}}})},9877:e=>{e.exports=window.wp.escapeHtml},9908:(e,t,a)=>{var n={};a.r(n),a.d(n,{typoTabContent:()=>_,typoTabTitle:()=>R});var o=a(7723),r=a(5694),l=a(4467),c=a(1609),i=a(8468),s=a(6427),p="wrprBg",b="wrpMargin",d="wrpPadding",m="wrpBorderShadow",u="tabTitlePadding",g="tabTitleMargin",f="tabTitleBdShadow",y="tabContentPadding",h="tabContentMargin",v="tabContentBdShadow",w=[{label:"Normal",value:"normal"},{label:"Hover",value:"hover"}],k=[{id:"description",title:"Description",active:!0,content:(0,o.__)("This block lists description, attributes and reviews for a single product.","woocommerce")},{id:"additional_information",title:"Additional Information",active:!1},{id:"reviews",title:"Reviews",active:!1}],R="typoTabTitle",_="typoTabContent";function C(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function E(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?C(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):C(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const x=E(E(E(E(E(E(E(E(E(E(E({resOption:{type:"string",default:"Desktop"},blockId:{type:"string"},blockRoot:{type:"string",default:"essential_block"},blockMeta:{type:"object"},align:{type:"string",default:"wide"},showDescriptionTab:{type:"boolean",default:!0},showAdditionalTab:{type:"boolean",default:!0},showReviewsTab:{type:"boolean",default:!0},tabTitleType:{type:"string",default:"normal"},tabTitleColor:{type:"string",default:"var(--eb-global-heading-color)"},tabTitleBGColor:{type:"string"},tabTitleHvColor:{type:"string",default:"var(--eb-global-heading-color)"},tabTitleHvBGColor:{type:"string"},tabTitleActiveColor:{type:"string",default:"var(--eb-global-heading-color)"},tabTitleActiveBGColor:{type:"string"},tabTitleActiveHvColor:{type:"string",default:"var(--eb-global-heading-color)"},tabTitleActiveHvBGColor:{type:"string"},tabContentColor:{type:"string",default:"var(--eb-global-text-color)"}},(0,r.generateTypographyAttributes)(Object.values(n))),(0,r.generateDimensionsAttributes)(b)),(0,r.generateDimensionsAttributes)(d)),(0,r.generateBorderShadowAttributes)(m,{bdrDefaults:{top:0,bottom:0,right:0,left:0}})),(0,r.generateBackgroundAttributes)(p,{defaultBgGradient:"linear-gradient(45deg,#ffffff,#ffffff)"})),(0,r.generateDimensionsAttributes)(u)),(0,r.generateDimensionsAttributes)(g)),(0,r.generateBorderShadowAttributes)(f)),(0,r.generateDimensionsAttributes)(h)),(0,r.generateDimensionsAttributes)(y)),(0,r.generateBorderShadowAttributes)(v)),S=function(e){var t=e.attributes,a=e.setAttributes,n=(t.resOption,t.showDescriptionTab),l=t.showAdditionalTab,c=t.showReviewsTab,i=t.tabTitleType,k=t.tabTitleColor,C=t.tabTitleBGColor,E=t.tabTitleHvColor,x=t.tabTitleHvBGColor,S=t.tabTitleActiveColor,B=t.tabTitleActiveBGColor,T=t.tabTitleActiveHvColor,N=t.tabTitleActiveHvBGColor,P=t.tabContentColor;return React.createElement(r.InspectorPanel,{advancedControlProps:{marginPrefix:b,paddingPrefix:d,backgroundPrefix:p,borderPrefix:m,hasMargin:!0}},React.createElement(r.InspectorPanel.General,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Settings","essential-blocks"),initialOpen:!0},React.createElement(s.ToggleControl,{label:(0,o.__)("Show Description Tab"),checked:n,onChange:function(){a({showDescriptionTab:!n})}}),React.createElement(s.ToggleControl,{label:(0,o.__)("Show Additional Info Tab"),checked:l,onChange:function(){a({showAdditionalTab:!l})}}),React.createElement(s.ToggleControl,{label:(0,o.__)("Show Reviews Tab"),checked:c,onChange:function(){a({showReviewsTab:!c})}}))),React.createElement(r.InspectorPanel.Style,null,React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Tab Title","essential-blocks"),initialOpen:!0},React.createElement(r.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:R}),React.createElement(s.BaseControl,null,React.createElement(s.ButtonGroup,{id:"eb-accordion-image-icon"},w.map(function(e,t){var n=e.label,o=e.value;return React.createElement(s.Button,{key:t,isSecondary:i!==o,isPrimary:i===o,onClick:function(){return a({tabTitleType:o})}},n)}))),"normal"===i&&React.createElement(React.Fragment,null,React.createElement(r.ColorControl,{label:(0,o.__)("Text","essential-blocks"),color:k,attributeName:"tabTitleColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:C,attributeName:"tabTitleBGColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Active Tab Text","essential-blocks"),color:S,attributeName:"tabTitleActiveColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Active Tab Background","essential-blocks"),color:B,attributeName:"tabTitleActiveBGColor"})),"hover"===i&&React.createElement(React.Fragment,null,React.createElement(r.ColorControl,{label:(0,o.__)("Text","essential-blocks"),color:E,attributeName:"tabTitleHvColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Background","essential-blocks"),color:x,attributeName:"tabTitleHvBGColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Ative Tab Text","essential-blocks"),color:T,attributeName:"tabTitleActiveHvColor"}),React.createElement(r.ColorControl,{label:(0,o.__)("Ative Tab Background","essential-blocks"),color:N,attributeName:"tabTitleActiveHvBGColor"})),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Border & Shadow"),initialOpen:!1},React.createElement(r.BorderShadowControl,{controlName:f})),React.createElement(r.ResponsiveDimensionsControl,{controlName:u,baseLabel:"Padding"}),React.createElement(r.ResponsiveDimensionsControl,{controlName:g,baseLabel:"Margin"})),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Content"),initialOpen:!1},React.createElement(r.TypographyDropdown,{baseLabel:"Typography",typographyPrefixConstant:_}),React.createElement(r.ColorControl,{label:(0,o.__)("Color","essential-blocks"),color:P,attributeName:"tabContentColor"}),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Margin Padding","essential-blocks")},React.createElement(r.ResponsiveDimensionsControl,{controlName:h,baseLabel:"Margin"}),React.createElement(r.ResponsiveDimensionsControl,{controlName:y,baseLabel:"Padding"})),React.createElement(r.InspectorPanel.PanelBody,{title:(0,o.__)("Border & Shadow"),initialOpen:!1},React.createElement(r.BorderShadowControl,{controlName:v})))))};function B(e){var t=e.attributes,a=e.setAttributes,n=e.name,o=(t.resOption,t.blockMeta,t.blockId),l=t.tabTitleColor,c=t.tabTitleBGColor,i=t.tabTitleHvColor,s=t.tabTitleHvBGColor,w=t.tabTitleActiveColor,k=t.tabTitleActiveBGColor,C=t.tabTitleActiveHvColor,E=t.tabTitleActiveHvBGColor,x=t.tabContentColor,S=t.showDescriptionTab,B=t.showAdditionalTab,T=t.showReviewsTab,N=(0,r.generateDimensionsControlStyles)({controlName:b,styleFor:"margin",attributes:t}),P=N.dimensionStylesDesktop,O=N.dimensionStylesTab,I=N.dimensionStylesMobile,D=(0,r.generateDimensionsControlStyles)({controlName:d,styleFor:"padding",attributes:t}),A=D.dimensionStylesDesktop,M=D.dimensionStylesTab,L=D.dimensionStylesMobile,F=(0,r.generateBackgroundControlStyles)({attributes:t,controlName:p}),j=F.backgroundStylesDesktop,H=F.hoverBackgroundStylesDesktop,z=F.backgroundStylesTab,U=F.hoverBackgroundStylesTab,V=F.backgroundStylesMobile,G=F.hoverBackgroundStylesMobile,q=F.overlayStylesDesktop,W=F.hoverOverlayStylesDesktop,Z=F.overlayStylesTab,J=F.hoverOverlayStylesTab,Y=F.overlayStylesMobile,Q=F.hoverOverlayStylesMobile,X=F.bgTransitionStyle,$=F.ovlTransitionStyle,K=(0,r.generateBorderShadowStyles)({controlName:m,attributes:t}),ee=K.styesDesktop,te=K.styesTab,ae=K.styesMobile,ne=K.stylesHoverDesktop,oe=K.stylesHoverTab,re=K.stylesHoverMobile,le=K.transitionStyle,ce=(0,r.generateBorderShadowStyles)({controlName:f,attributes:t}),ie=ce.styesDesktop,se=ce.styesTab,pe=ce.styesMobile,be=ce.stylesHoverDesktop,de=ce.stylesHoverTab,me=ce.stylesHoverMobile,ue=(ce.transitionStyle,(0,r.generateBorderShadowStyles)({controlName:v,attributes:t})),ge=ue.styesDesktop,fe=ue.styesTab,ye=ue.styesMobile,he=ue.stylesHoverDesktop,ve=ue.stylesHoverTab,we=ue.stylesHoverMobile,ke=(ue.transitionStyle,(0,r.generateTypographyStyles)({attributes:t,prefixConstant:R,defaultFontSize:16})),Re=ke.typoStylesDesktop,_e=ke.typoStylesTab,Ce=ke.typoStylesMobile,Ee=(0,r.generateTypographyStyles)({attributes:t,prefixConstant:_,defaultFontSize:16}),xe=Ee.typoStylesDesktop,Se=Ee.typoStylesTab,Be=Ee.typoStylesMobile,Te=(0,r.generateDimensionsControlStyles)({controlName:u,styleFor:"padding",attributes:t}),Ne=Te.dimensionStylesDesktop,Pe=Te.dimensionStylesTab,Oe=Te.dimensionStylesMobile,Ie=(0,r.generateDimensionsControlStyles)({controlName:g,styleFor:"margin",attributes:t}),De=Ie.dimensionStylesDesktop,Ae=Ie.dimensionStylesTab,Me=Ie.dimensionStylesMobile,Le=(0,r.generateDimensionsControlStyles)({controlName:y,styleFor:"padding",attributes:t}),Fe=Le.dimensionStylesDesktop,je=Le.dimensionStylesTab,He=Le.dimensionStylesMobile,ze=(0,r.generateDimensionsControlStyles)({controlName:h,styleFor:"margin",attributes:t}),Ue=ze.dimensionStylesDesktop,Ve=ze.dimensionStylesTab,Ge=ze.dimensionStylesMobile,qe="\n\t\t.".concat(o,".eb-product-details-wrapper {\n\t\t\t").concat(P,"\n\t\t\t").concat(A,"\n\t\t\t").concat(ee,"\n\t\t\t").concat(j,"\n\t\t\ttransition:").concat(X,", ").concat(le,";\n\t\t}\n .").concat(o,".eb-product-details-wrapper:hover {\n\t\t\t").concat(H,"\n\t\t\t").concat(ne,"\n\t\t}\n .").concat(o,".eb-product-details-wrapper:before{\n\t\t\t").concat(q,"\n\t\t\ttransition:").concat($,";\n\t\t}\n\t\t.").concat(o,".eb-product-details-wrapper:hover:before{\n\t\t\t").concat(W,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li {\n ").concat(c?"background-color: ".concat(c,";"):"","\n ").concat(De,"\n ").concat(ie,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover {\n ").concat(s?"background-color: ".concat(s,";"):"","\n ").concat(be,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a {\n\t\t\t").concat(Re,"\n ").concat(l?"color: ".concat(l,";"):"","\n ").concat(Ne,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover a {\n ").concat(i?"color: ".concat(i,";"):"","\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active{\n ").concat(k?"background-color: ".concat(k,";"):"","\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active:hover a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active:hover a {\n ").concat(E?"background-color: ".concat(E,";"):"","\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active a {\n ").concat(w?"color: ".concat(w,";"):"","\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active:hover a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li.active:hover a {\n ").concat(C?"color: ".concat(C,";"):"","\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel {\n ").concat(x?"color: ".concat(x,";"):"","\n ").concat(xe,"\n ").concat(Ue,"\n ").concat(Fe,"\n ").concat(ge,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover {\n ").concat(he,"\n\t\t}\n\n .").concat(o,".eb-product-details-wrapper .eb-wc-tabs-editor .description_tab{\n display: ").concat(S?"inline-block":"none",";\n }\n .").concat(o,".eb-product-details-wrapper .eb-wc-tabs-editor .additional_information_tab{\n display: ").concat(B?"inline-block":"none",";\n }\n .").concat(o,".eb-product-details-wrapper .eb-wc-tabs-editor .reviews_tab {\n display: ").concat(T?"inline-block":"none",";\n }\n\n\t"),We="\n\t\t.".concat(o,".eb-product-details-wrapper {\n\t\t\t").concat(O,"\n\t\t\t").concat(M,"\n\t\t\t").concat(te,"\n\t\t\t").concat(z,"\n\t\t}\n .").concat(o,".eb-product-details-wrapper:hover {\n\t\t\t").concat(oe,"\n ").concat(U,"\n\t\t}\n .").concat(o,".eb-product-details-wrapper:before{\n\t\t\t").concat(Z,"\n\t\t}\n\t\t.").concat(o,".eb-product-details-wrapper:hover:before{\n\t\t\t").concat(J,"\n\t\t}\n\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li {\n ").concat(Ae,"\n ").concat(se,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover {\n ").concat(de,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a {\n\t\t\t").concat(_e,"\n ").concat(Pe,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel {\n ").concat(Se,"\n ").concat(Ve,"\n ").concat(je,"\n ").concat(fe,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover {\n ").concat(ve,"\n\t\t}\n\t"),Ze="\n\t\t.".concat(o,".eb-icon-wrapper {\n\t\t\t").concat(I,"\n\t\t\t").concat(L,"\n\t\t\t").concat(ae,"\n\t\t\t").concat(V,"\n\t\t}\n\n\t\t.").concat(o,".eb-icon-wrapper:hover {\n\t\t\t").concat(G,"\n\t\t\t").concat(re,"\n\t\t}\n\n .").concat(o,".eb-product-details-wrapper:before{\n\t\t\t").concat(Y,"\n\t\t}\n\t\t.").concat(o,".eb-product-details-wrapper:hover:before{\n\t\t\t").concat(Q,"\n\t\t}\n\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li {\n ").concat(Me,"\n ").concat(pe,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li:hover {\n ").concat(me,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs ul.tabs li a {\n\t\t\t").concat(Ce,"\n ").concat(Oe,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel {\n ").concat(Be,"\n ").concat(Ge,"\n ").concat(He,"\n ").concat(ye,"\n\t\t}\n html body.woocommerce .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover,\n .").concat(o,".eb-product-details-wrapper .woocommerce-tabs .panel:hover {\n ").concat(we,"\n\t\t}\n\t"),Je=(0,r.softMinifyCssStrings)("\n\t\t".concat(qe,"\n\t")),Ye=(0,r.softMinifyCssStrings)("\n\t\t".concat(We,"\n\t")),Qe=(0,r.softMinifyCssStrings)("\n\t\t".concat(Ze,"\n\t"));return React.createElement(React.Fragment,null,React.createElement(r.StyleComponent,{attributes:t,setAttributes:a,desktopAllStyles:Je,tabAllStyles:Ye,mobileAllStyles:Qe,blockName:n}))}function T(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?T(Object(a),!0).forEach(function(t){(0,l.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const P=(0,i.memo)((0,r.withBlockContext)(x)(function(e){var t=e.attributes,a=e.setAttributes,n=e.isSelected,o=t.blockId,l=t.classHook,c=N(N({},e),{},{blockPrefix:"eb-product-details",style:React.createElement(B,e)});return React.createElement(React.Fragment,null,n&&React.createElement(S,{attributes:t,setAttributes:a}),React.createElement(r.BlockProps.Edit,c,React.createElement("div",{className:"eb-parent-wrapper eb-parent-".concat(o," ").concat(l)},React.createElement("div",{className:"eb-product-details-wrapper ".concat(o),"data-id":o},React.createElement("div",{className:"woocommerce-tabs wc-tabs-wrapper"},React.createElement("ul",{className:"wc-tabs tabs eb-wc-tabs-editor",role:"tablist"},k.map(function(e){var t=e.id,a=e.title,n=e.active;return React.createElement("li",{className:"".concat(t,"_tab ").concat(n?"active":""),id:"tab-title-".concat(t),role:"tab","aria-controls":"tab-".concat(t)},React.createElement("a",{href:"#tab-".concat(t)},a))})),k.map(function(e){var t=e.id,a=e.content,n=e.active;return React.createElement("div",{className:"".concat(t,"_tab panel"),id:"tab-title-".concat(t),role:"tab","aria-controls":"tab-".concat(t),style:{display:n?"block":"none"}},a)}))))))})),O=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","title":"Product Details","name":"essential-blocks/product-details","category":"essential-blocks","description":"Display WooCommerce product details with an organized layout that helps grab customers\' attention","apiVersion":2,"textdomain":"essential-blocks","supports":{"anchor":true,"align":["wide","full"]},"editorScript":"essential-blocks-editor-script"}');var I,D,A;function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},M.apply(null,arguments)}(0,r.ebConditionalRegisterBlockType)(O,{keywords:[(0,o.__)("WooCommerce Product Details","essential-blocks"),(0,o.__)("Product Details","essential-blocks"),(0,o.__)("Product summary","essential-blocks"),(0,o.__)("Product review","essential-blocks"),(0,o.__)("Additional information","essential-blocks")],icon:function(e){return c.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 32 32"},e),I||(I=c.createElement("path",{fill:"#6C3BFF",d:"M1.067 27.045c0 1.292 1.009 2.288 2.317 2.288h25.232c1.308 0 2.317-.996 2.317-2.288V4.422c0-1.292-1.009-2.289-2.317-2.289H3.384c-1.308 0-2.317.997-2.317 2.289zM2.3 4.422c0-.591.524-1.218 1.234-1.218h25.194c.598 0 1.233.516 1.233 1.218v22.623c0 .59-.523 1.218-1.233 1.218H3.384c-.598 0-1.233-.517-1.233-1.218z"})),D||(D=c.createElement("path",{fill:"#6C3BFF",fillRule:"evenodd",d:"M8.814 5.477c.125.09.2.235.2.39a1.12 1.12 0 0 0 2.24 0 .48.48 0 0 1 .631-.456l3.2 1.067a.48.48 0 0 1 .328.455V9.6a.48.48 0 0 1-.48.48h-1.12v4.32a1.013 1.013 0 0 1-1.013 1.013H7.467A1.013 1.013 0 0 1 6.453 14.4v-4.32h-1.12a.48.48 0 0 1-.48-.48V6.933a.48.48 0 0 1 .329-.455l3.2-1.067a.48.48 0 0 1 .432.066m-3 1.802V9.12h1.12a.48.48 0 0 1 .48.48v4.8a.053.053 0 0 0 .053.053H12.8a.053.053 0 0 0 .053-.053V9.6a.48.48 0 0 1 .48-.48h1.12V7.28l-2.338-.78a2.08 2.08 0 0 1-3.963 0zM1.653 17.867a.48.48 0 0 1 .48-.48h28a.48.48 0 1 1 0 .96h-28a.48.48 0 0 1-.48-.48",clipRule:"evenodd"})),A||(A=c.createElement("path",{fill:"#6C3BFF",d:"M27.461 21.333H5.368c-.314 0-.568.24-.568.534s.254.533.568.533h22.099c.314 0 .568-.239.568-.533s-.254-.534-.568-.534zM20.528 24.533H5.368c-.314 0-.568.24-.568.534s.254.533.568.533h15.165c.314 0 .569-.239.569-.533s-.255-.534-.569-.534zM25.549 7.467h-6.831c-.32 0-.585-.242-.585-.534s.265-.533.585-.533h6.83c.32 0 .585.241.585.533s-.264.534-.584.534M25.55 10.667h-6.833c-.32 0-.584-.242-.584-.534s.265-.533.584-.533h6.833c.32 0 .583.241.583.533s-.264.534-.584.534M23.423 13.867H18.71c-.316 0-.577-.242-.577-.534s.261-.533.577-.533h4.713c.316 0 .577.241.577.533s-.26.534-.577.534"})))},attributes:x,edit:P,save:function(){return null},example:{attributes:{}}})}},a={};function n(e){var o=a[e];if(void 0!==o)return o.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=t,n.amdO={},e=[],n.O=(t,a,o,r)=>{if(!a){var l=1/0;for(p=0;p<e.length;p++){for(var[a,o,r]=e[p],c=!0,i=0;i<a.length;i++)(!1&r||l>=r)&&Object.keys(n.O).every(e=>n.O[e](a[i]))?a.splice(i--,1):(c=!1,r<l&&(l=r));if(c){e.splice(p--,1);var s=o();void 0!==s&&(t=s)}}return t}r=r||0;for(var p=e.length;p>0&&e[p-1][2]>r;p--)e[p]=e[p-1];e[p]=[a,o,r]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=3260,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");if(a.length)for(var o=a.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=a[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../../"})(),(()=>{var e={3260:0};n.O.j=t=>0===e[t];var t=(t,a)=>{var o,r,[l,c,i]=a,s=0;if(l.some(t=>0!==e[t])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(i)var p=i(n)}for(t&&t(a);s<l.length;s++)r=l[s],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(p)},a=globalThis.webpackChunkessential_blocks=globalThis.webpackChunkessential_blocks||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),n.nc=void 0,n.O(void 0,[3935,7916],()=>n(4144)),n.O(void 0,[3935,7916],()=>n(8717)),n.O(void 0,[3935,7916],()=>n(383)),n.O(void 0,[3935,7916],()=>n(2709)),n.O(void 0,[3935,7916],()=>n(3378)),n.O(void 0,[3935,7916],()=>n(7481)),n.O(void 0,[3935,7916],()=>n(7176)),n.O(void 0,[3935,7916],()=>n(1412)),n.O(void 0,[3935,7916],()=>n(7378)),n.O(void 0,[3935,7916],()=>n(8112)),n.O(void 0,[3935,7916],()=>n(8434)),n.O(void 0,[3935,7916],()=>n(8471)),n.O(void 0,[3935,7916],()=>n(6648)),n.O(void 0,[3935,7916],()=>n(1117)),n.O(void 0,[3935,7916],()=>n(4464)),n.O(void 0,[3935,7916],()=>n(882)),n.O(void 0,[3935,7916],()=>n(3277)),n.O(void 0,[3935,7916],()=>n(3840)),n.O(void 0,[3935,7916],()=>n(3619)),n.O(void 0,[3935,7916],()=>n(7478)),n.O(void 0,[3935,7916],()=>n(6363)),n.O(void 0,[3935,7916],()=>n(1711)),n.O(void 0,[3935,7916],()=>n(2776)),n.O(void 0,[3935,7916],()=>n(9021)),n.O(void 0,[3935,7916],()=>n(9666)),n.O(void 0,[3935,7916],()=>n(2979)),n.O(void 0,[3935,7916],()=>n(4727)),n.O(void 0,[3935,7916],()=>n(5138)),n.O(void 0,[3935,7916],()=>n(5050)),n.O(void 0,[3935,7916],()=>n(5071)),n.O(void 0,[3935,7916],()=>n(8142)),n.O(void 0,[3935,7916],()=>n(4366)),n.O(void 0,[3935,7916],()=>n(8022)),n.O(void 0,[3935,7916],()=>n(335)),n.O(void 0,[3935,7916],()=>n(8190)),n.O(void 0,[3935,7916],()=>n(795)),n.O(void 0,[3935,7916],()=>n(6849)),n.O(void 0,[3935,7916],()=>n(2168)),n.O(void 0,[3935,7916],()=>n(8957)),n.O(void 0,[3935,7916],()=>n(1369)),n.O(void 0,[3935,7916],()=>n(5927)),n.O(void 0,[3935,7916],()=>n(3889)),n.O(void 0,[3935,7916],()=>n(7243)),n.O(void 0,[3935,7916],()=>n(7683)),n.O(void 0,[3935,7916],()=>n(9908)),n.O(void 0,[3935,7916],()=>n(977)),n.O(void 0,[3935,7916],()=>n(3201)),n.O(void 0,[3935,7916],()=>n(510)),n.O(void 0,[3935,7916],()=>n(6416)),n.O(void 0,[3935,7916],()=>n(9705)),n.O(void 0,[3935,7916],()=>n(9651)),n.O(void 0,[3935,7916],()=>n(8417)),n.O(void 0,[3935,7916],()=>n(4386)),n.O(void 0,[3935,7916],()=>n(7232)),n.O(void 0,[3935,7916],()=>n(4937)),n.O(void 0,[3935,7916],()=>n(5846)),n.O(void 0,[3935,7916],()=>n(5489)),n.O(void 0,[3935,7916],()=>n(9420)),n.O(void 0,[3935,7916],()=>n(3160)),n.O(void 0,[3935,7916],()=>n(2556)),n.O(void 0,[3935,7916],()=>n(4983)),n.O(void 0,[3935,7916],()=>n(8500)),n.O(void 0,[3935,7916],()=>n(2623)),n.O(void 0,[3935,7916],()=>n(1225));var o=n.O(void 0,[3935,7916],()=>n(6170));o=n.O(o)})();
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.19 |
proxy
|
phpinfo
|
Настройка