File: /home/eblama1/mintawon.farm/wp-content/plugins/gutenkit-blocks-addon/build/blocks/heading/index.js
(()=>{var e,t,i,o={730:(e,t,i)=>{"use strict";const o=window.wp.blocks,r=window.wp.blockEditor;var a=i(6942),s=i.n(a);const l=i.p+"images/placeholder.e4997309.jpg";var n=i(790);const d=({image:e,className:t="",isEdit:i=!1,...o})=>{let r=null;const a=s()({[`wp-image-${e.id}`]:e.id,"is-dynamic-image":e?.isDynamicContent,[t]:""!==t}),d={dynamicContentType:e?.dynamicContentType,dynamicLabel:e?.dynamicLabel,fallbackimage:e?.fallbackimage?JSON.stringify(e?.fallbackimage):null,isDynamicContent:e?.isDynamicContent,originalUrl:e?.url&&"placeholder"===e?.url?l:e?.selectedImage||e?.url};return e?.isDynamicContent&&("acfimage"===e?.dynamicContentType&&e?.acffield&&(d.acffield=e?.acffield),o={...o,"data-dynamic-content":JSON.stringify(d)}),i&&(o={...o,loading:"lazy"}),e?.url&&"placeholder"===e?.url&&(r=(0,n.jsx)("img",{src:l,alt:"Placeholder image",className:a,...o})),e?.url&&"placeholder"!==e?.url&&(r=(0,n.jsx)("img",{src:e.selectedImage||e?.url,className:a,alt:e?.alt,...o})),r},c=e=>(0,n.jsx)("div",{...e?.wrapper,children:e?.isCustom?e.isCustom:(0,n.jsx)("div",{...e?.divider})}),p=JSON.parse('{"UU":"gutenkit/heading","uK":{"blockID":{"type":"string"},"blockClass":{"type":"string"},"blocksCSS":{"type":"object"},"content":{"type":"string","source":"html","selector":".gkit-heading-title","default":"Grow your <strong>report</strong>","role":"content","excludeCopy":true},"linkSwitch":{"type":"boolean","default":false,"excludeCopy":true},"link":{"type":"object","default":"#","excludeCopy":true},"htmlTag":{"type":"string","default":"h2","excludeCopy":true},"showBorder":{"type":"boolean","default":false,"excludeCopy":true},"borderPosition":{"type":"string","default":"start","excludeCopy":true},"showSubtitle":{"type":"boolean","default":false,"excludeCopy":true},"borderSubtitle":{"type":"boolean","default":false,"excludeCopy":true},"showOutline":{"type":"boolean","default":false,"excludeCopy":true},"subtitleContent":{"type":"string","source":"html","selector":".gkit-heading-subtitle","default":"Time has changed","excludeCopy":true},"subtitlePosition":{"type":"string","default":"after-title","excludeCopy":true},"subtitleHtmlTag":{"type":"string","default":"h3","excludeCopy":true},"showDescription":{"type":"boolean","default":false,"excludeCopy":true},"descriptionContent":{"type":"string","source":"html","selector":".gkit-heading-description p","default":"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradise","excludeCopy":true},"descriptionMaxWidthDesktop":{"type":"object","default":{"unit":"%","size":100}},"descriptionMaxWidthTablet":{"type":"object"},"descriptionMaxWidthMobile":{"type":"object"},"descriptionMaxWidthTabletLandscape":{"type":"object"},"descriptionMaxWidthMobileLandscape":{"type":"object"},"descriptionMaxWidthLaptop":{"type":"object"},"descriptionMaxWidthWideScreen":{"type":"object"},"showShadowText":{"type":"boolean","default":false,"excludeCopy":true},"shadowTextContent":{"type":"string","default":"bussiness","excludeCopy":true},"showSeparator":{"type":"boolean","default":true,"excludeCopy":true},"separatorStyle":{"type":"string","default":"dotted","excludeCopy":true},"separatorPosition":{"type":"string","default":"after-title","excludeCopy":true},"separatorImage":{"type":"object","default":{"url":"placeholder"},"excludeCopy":true},"generalTextAlignmentDesktop":{"type":"string"},"generalTextAlignmentTablet":{"type":"string"},"generalTextAlignmentMobile":{"type":"string"},"generalTextAlignmentTabletLandscape":{"type":"string"},"generalTextAlignmentMobileLandscape":{"type":"string"},"generalTextAlignmentLaptop":{"type":"string"},"generalTextAlignmentWideScreen":{"type":"string"},"titleColor":{"type":"string"},"titleHoverColor":{"type":"string"},"titleTextShadow":{"type":"object"},"titleMarginDesktop":{"type":"object"},"titleMarginTablet":{"type":"object"},"titleMarginMobile":{"type":"object"},"titleMarginTabletLandscape":{"type":"object"},"titleMarginMobileLandscape":{"type":"object"},"titleMarginLaptop":{"type":"object"},"titleMarginWideScreen":{"type":"object"},"titleTypography":{"type":"object"},"titleBorderWidth":{"type":"object","default":{"unit":"px","size":5}},"titleBorderHeight":{"type":"object","default":{"unit":"%","size":100}},"titleBorderVerticalPosition":{"type":"object","default":{"unit":"px","size":0}},"titleBorderRightGap":{"type":"object","default":{"unit":"px","size":30}},"titleBorderLeftGap":{"type":"object","default":{"unit":"px","size":30}},"titleBorderBackground":{"type":"string"},"focusedTitleColor":{"type":"string"},"focusedTitleHoverColor":{"type":"string"},"focusedTitleTypography":{"type":"object"},"focusedTitleTextDecorationColor":{"type":"string"},"focusedTitleTextShadow":{"type":"object"},"focusedTitlePaddingDesktop":{"type":"object"},"focusedTitlePaddingTablet":{"type":"object"},"focusedTitlePaddingMobile":{"type":"object"},"focusedTitlePaddingTabletLandscape":{"type":"object"},"focusedTitlePaddingMobileLandscape":{"type":"object"},"focusedTitlePaddingLaptop":{"type":"object"},"focusedTitlePaddingWideScreen":{"type":"object"},"focusedTitleUseBackground":{"type":"boolean","default":false},"focusedTitleBackgroundColor":{"type":"object","selector":"{{WRAPPER}}"},"focusedTitleBorderRadius":{"type":"object"},"focusedTitleUseTextFill":{"type":"boolean","default":false},"focusedTitleTextFillBackground":{"type":"object","selector":"{{WRAPPER}}"},"focusedTitleUseStroke":{"type":"boolean","default":false},"focusedTitleStrokeWidth":{"type":"object"},"focusedTitleStrokeColor":{"type":"string"},"subtitleColor":{"type":"string"},"subtitleTypography":{"type":"object"},"subtitleMarginDesktop":{"type":"object"},"subtitleMarginTablet":{"type":"object"},"subtitleMarginMobile":{"type":"object"},"subtitleMarginTabletLandscape":{"type":"object"},"subtitleMarginMobileLandscape":{"type":"object"},"subtitleMarginLaptop":{"type":"object"},"subtitleMarginWideScreen":{"type":"object"},"subtitlePaddingDesktop":{"type":"object","default":{"top":"8px","right":"32px","bottom":"8px","left":"32px"}},"subtitlePaddingTablet":{"type":"object"},"subtitlePaddingMobile":{"type":"object"},"subtitlePaddingTabletLandscape":{"type":"object"},"subtitlePaddingMobileLandscape":{"type":"object"},"subtitlePaddingLaptop":{"type":"object"},"subtitlePaddingWideScreen":{"type":"object"},"subtitleUseTextFill":{"type":"boolean","default":false},"subtitleTextFillBackground":{"type":"object","selector":"{{WRAPPER}}"},"subtitleBorderLeftBackground":{"type":"object"},"subtitleBorderLeftWidthDesktop":{"type":"object"},"subtitleBorderLeftWidthTablet":{"type":"object"},"subtitleBorderLeftWidthMobile":{"type":"object"},"subtitleBorderLeftWidthTabletLandscape":{"type":"object"},"subtitleBorderLeftWidthMobileLandscape":{"type":"object"},"subtitleBorderLeftWidthLaptop":{"type":"object"},"subtitleBorderLeftWidthWideScreen":{"type":"object"},"subtitleBorderLeftMarginDesktop":{"type":"object"},"subtitleBorderLeftMarginTablet":{"type":"object"},"subtitleBorderLeftMarginMobile":{"type":"object"},"subtitleBorderLeftMarginTabletLandscape":{"type":"object"},"subtitleBorderLeftMarginMobileLandscape":{"type":"object"},"subtitleBorderLeftMarginLaptop":{"type":"object"},"subtitleBorderLeftMarginWideScreen":{"type":"object"},"subtitleBorderRightBackground":{"type":"object"},"subtitleBorderRightWidthDesktop":{"type":"object"},"subtitleBorderRightWidthTablet":{"type":"object"},"subtitleBorderRightWidthMobile":{"type":"object"},"subtitleBorderRightWidthTabletLandscape":{"type":"object"},"subtitleBorderRightWidthMobileLandscape":{"type":"object"},"subtitleBorderRightWidthLaptop":{"type":"object"},"subtitleBorderRightWidthWideScreen":{"type":"object"},"subtitleBorderRightMarginDesktop":{"type":"object"},"subtitleBorderRightMarginTablet":{"type":"object"},"subtitleBorderRightMarginMobile":{"type":"object"},"subtitleBorderRightMarginTabletLandscape":{"type":"object"},"subtitleBorderRightMarginMobileLandscape":{"type":"object"},"subtitleBorderRightMarginLaptop":{"type":"object"},"subtitleBorderRightMarginWideScreen":{"type":"object"},"subtitleBorderRightHeightDesktop":{"type":"object"},"subtitleBorderRightHeightTablet":{"type":"object"},"subtitleBorderRightHeightMobile":{"type":"object"},"subtitleBorderRightHeightTabletLandscape":{"type":"object"},"subtitleBorderRightHeightMobileLandscape":{"type":"object"},"subtitleBorderRightHeightLaptop":{"type":"object"},"subtitleBorderRightHeightWideScreen":{"type":"object"},"subtitleBorderRightVerticalPositionDesktop":{"type":"object"},"subtitleBorderRightVerticalPositionTablet":{"type":"object"},"subtitleBorderRightVerticalPositionMobile":{"type":"object"},"subtitleBorderRightVerticalPositionTabletLandscape":{"type":"object"},"subtitleBorderRightVerticalPositionMobileLandscape":{"type":"object"},"subtitleBorderRightVerticalPositionLaptop":{"type":"object"},"subtitleBorderRightVerticalPositionWideScreen":{"type":"object"},"subtitleOutlineBorder":{"type":"object"},"subtitleOutlineBorderRadiusDesktop":{"type":"object","default":{"top":"2em","right":"2em","bottom":"2em","left":"2em"}},"subtitleOutlineBorderRadiusTablet":{"type":"object"},"subtitleOutlineBorderRadiusMobile":{"type":"object"},"subtitleOutlineBorderRadiusTabletLandscape":{"type":"object"},"subtitleOutlineBorderRadiusMobileLandscape":{"type":"object"},"subtitleOutlineBorderRadiusLaptop":{"type":"object"},"subtitleOutlineBorderRadiusWideScreen":{"type":"object"},"descriptionColor":{"type":"string"},"descriptionTypography":{"type":"object"},"descriptionMarginDesktop":{"type":"object"},"descriptionMarginTablet":{"type":"object"},"descriptionMarginMobile":{"type":"object"},"descriptionMarginTabletLandscape":{"type":"object"},"descriptionMarginMobileLandscape":{"type":"object"},"descriptionMarginLaptop":{"type":"object"},"descriptionMarginWideScreen":{"type":"object"},"separatorWidthDesktop":{"type":"object","default":{"unit":"px","size":100}},"separatorWidthTablet":{"type":"object"},"separatorWidthMobile":{"type":"object"},"separatorWidthTabletLandscape":{"type":"object"},"separatorWidthMobileLandscape":{"type":"object"},"separatorWidthLaptop":{"type":"object"},"separatorWidthWideScreen":{"type":"object"},"separatorHeightDesktop":{"type":"object","default":{"unit":"px","size":4}},"separatorHeightTablet":{"type":"object"},"separatorHeightMobile":{"type":"object"},"separatorHeightTabletLandscape":{"type":"object"},"separatorHeightMobileLandscape":{"type":"object"},"separatorHeightLaptop":{"type":"object"},"separatorHeightWideScreen":{"type":"object"},"separatorMarginDesktop":{"type":"object"},"separatorMarginTablet":{"type":"object"},"separatorMarginMobile":{"type":"object"},"separatorMarginTabletLandscape":{"type":"object"},"separatorMarginMobileLandscape":{"type":"object"},"separatorMarginLaptop":{"type":"object"},"separatorMarginWideScreen":{"type":"object"},"separatorColor":{"type":"string"},"shadowTextPositionDesktop":{"type":"object","default":{"top":"-35%","left":"55%"}},"shadowTextPositionTablet":{"type":"object"},"shadowTextPositionMobile":{"type":"object"},"shadowTextPositionTabletLandscape":{"type":"object"},"shadowTextPositionMobileLandscape":{"type":"object"},"shadowTextPositionLaptop":{"type":"object"},"shadowTextPositionWideScreen":{"type":"object"},"shadowTextTypography":{"type":"object"},"shadowTextColor":{"type":"string"},"shadowTextStrokeWidth":{"type":"object"},"shadowTextStrokeColor":{"type":"string"}}}');var g=i(7723);const u=({attributes:e,setAttributes:t,SubtitleTag:i,subTitleProps:o,isDeprecated:a,isEdit:s})=>{const l="gkit-heading-subtitle",d=a?l:o?.className||l,c={tagName:i,value:e?.subtitleContent,className:d};return(0,n.jsx)(n.Fragment,{children:s?(0,n.jsx)(r.RichText,{...c,onChange:e=>t({subtitleContent:e}),placeholder:(0,g.__)("Write subtitle here...","gutenkit-blocks-addon")}):(0,n.jsx)(r.RichText.Content,{...c})})},b=({attributes:e,setAttributes:t,SubtitleTag:i,subTitleProps:o,isEdit:r,isDeprecated:a})=>{const{GkitImage:l}=window.GkitComponents;return(0,n.jsxs)(n.Fragment,{children:["top"===e?.separatorPosition&&e?.showSeparator&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(l,{image:e?.separatorImage,isEdit:r})}),e?.showShadowText&&(0,n.jsx)("span",{className:"gkit-heading-shadow-text",children:e?.shadowTextContent}),"before-title"===e?.subtitlePosition&&(0,n.jsx)(n.Fragment,{children:e?.showSubtitle&&(0,n.jsx)(u,{attributes:e,setAttributes:t,SubtitleTag:i,subTitleProps:o,isDeprecated:a,isEdit:r})}),"before-title"===e?.separatorPosition&&e?.showSeparator&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(l,{image:e?.separatorImage,isEdit:r})})]})},h=({attributes:e,setAttributes:t,SubtitleTag:i,subTitleProps:o,isDeprecated:a,isEdit:l})=>{const{GkitImage:d}=window.GkitComponents;return(0,n.jsxs)(n.Fragment,{children:["after-title"===e?.separatorPosition&&e?.showSeparator&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage,isEdit:l})}),"after-title"===e?.subtitlePosition&&(0,n.jsx)(n.Fragment,{children:e?.showSubtitle&&(0,n.jsx)(u,{attributes:e,setAttributes:t,SubtitleTag:i,subTitleProps:o,isDeprecated:a,isEdit:l})}),e?.showDescription&&(0,n.jsx)("div",{className:"gkit-heading-description",children:l?(0,n.jsx)(r.RichText,{tagName:"p",value:e?.descriptionContent,onChange:e=>t({descriptionContent:e}),placeholder:(0,g.__)("Write description here...","gutenkit-blocks-addon")}):(0,n.jsx)(r.RichText.Content,{tagName:"p",value:e?.descriptionContent})}),"bottom"===e?.separatorPosition&&e?.showSeparator&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage,isEdit:l})})]})},k=[{attributes:p.uK,save({attributes:e}){const{linkGenerator:t}=window.GkitHelpers,i=r.useBlockProps.save({className:s()({"gkit-heading-has-border":e?.showBorder,[`gkit-heading-border-position-${e?.borderPosition}`]:e?.borderPosition}),id:"block-"+e?.blockID}),o=e?.subtitleHtmlTag||"h3",a={};a.className=s()({"gkit-heading-subtitle":e?.showSubtitle,"gkit-heading-subtitle-has-border":e?.borderSubtitle,"gkit-heading-subtitle-has-outline":e?.showOutline,"gkit-heading-subtitle-has-text-fill":e?.subtitleUseTextFill});const l=e?.linkSwitch?t(e?.link):"";return(0,n.jsxs)("div",{...i,children:[(0,n.jsxs)(n.Fragment,{children:["top"===e?.separatorPosition&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage})}),e?.showShadowText&&(0,n.jsx)("span",{className:"gkit-heading-shadow-text",children:e?.shadowTextContent}),"before-title"===e?.subtitlePosition&&(0,n.jsx)(n.Fragment,{children:e?.showSubtitle&&(0,n.jsx)(o,{...a,children:e?.subtitleContent})}),"before-title"===e?.separatorPosition&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage})})]}),e?.linkSwitch?(0,n.jsx)("a",{...l,className:"external-link",children:(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})})}):(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})}),(0,n.jsxs)(n.Fragment,{children:["after-title"===e?.separatorPosition&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage})}),"after-title"===e?.subtitlePosition&&(0,n.jsx)(n.Fragment,{children:e?.showSubtitle&&(0,n.jsx)(o,{...a,children:e?.subtitleContent})}),e?.showDescription&&(0,n.jsx)("div",{className:"gkit-heading-description",children:(0,n.jsx)("p",{children:e?.descriptionContent})}),"bottom"===e?.separatorPosition&&(0,n.jsx)(c,{wrapper:{className:s()({"gkit-heading-separetor":e?.showSeparator,[`gkit-heading-separetor-${e?.separatorPosition}`]:e?.separatorPosition,[`gkit-heading-separetor-style-${e?.separatorStyle}`]:e?.separatorStyle})},divider:{className:s()({"gkit-heading-separetor-divider":e?.showSeparator})},isCustom:!(!e?.showSeparator||"custom"!==e?.separatorStyle)&&(0,n.jsx)(d,{image:e?.separatorImage})})]})]})}},{attributes:p.uK,save({attributes:e}){const{linkGenerator:t}=window.GkitHelpers,i=r.useBlockProps.save({className:s()({"gkit-heading-has-border":e?.showBorder,[`gkit-heading-border-position-${e?.borderPosition}`]:e?.borderPosition}),id:"block-"+e?.blockID}),o=e?.subtitleHtmlTag||"h3",a={};a.className=s()({"gkit-heading-subtitle":e?.showSubtitle,"gkit-heading-subtitle-has-border":e?.borderSubtitle,"gkit-heading-subtitle-has-outline":e?.showOutline,"gkit-heading-subtitle-has-text-fill":e?.subtitleUseTextFill});const l=e?.linkSwitch?t(e?.link):"";return(0,n.jsxs)("div",{...i,children:[(0,n.jsx)(b,{attributes:e,SubtitleTag:o,subTitleProps:a,isEdit:!1,isDeprecated:!0}),e?.linkSwitch?(0,n.jsx)("a",{...l,className:"external-link",children:(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})})}):(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})}),(0,n.jsx)(h,{attributes:e,SubtitleTag:o,subTitleProps:a,isEdit:!1,isDeprecated:!0})]})}}],y=(0,i(6087).lazy)(()=>i.e(2311).then(i.bind(i,2311))),{heading:f}=window.gutenkit.editorIcon;(0,o.registerBlockType)(p.UU,{edit:function({attributes:e,setAttributes:t,clientId:i,advancedControl:o,isSelected:a,isDeprecated:l}){const{GkitStyle:d,GkitSuspense:c}=window.GkitComponents,{useDeviceType:p,gkitResponsiveValue:u,linkGenerator:k,useBlockStyles:f,useDeviceList:x}=window.GkitHelpers,T=x(),j=p(),m=u(e,"generalTextAlignment",j),w=(0,r.useBlockProps)({className:s()({[`has-text-align-${m}`]:m,"gkit-heading-has-border":e?.showBorder,[`gkit-heading-border-position-${e?.borderPosition}`]:e?.borderPosition})}),S=e?.subtitleHtmlTag||"h3",v={};v.className=s()({"gkit-heading-subtitle":e?.showSubtitle,"gkit-heading-subtitle-has-border":e?.borderSubtitle,"gkit-heading-subtitle-has-outline":e?.showOutline,"gkit-heading-subtitle-has-text-fill":e?.subtitleUseTextFill});const B=f(e,t,"blocksCSS",((e,t)=>{const{parseCSS:i,backgroundGenerator:o,fillBackgroundGenerator:r,getBoxValue:a,getBorderValue:s,getTypographyValue:l,getSliderValue:n,getBoxShadowValue:d,getColor:c}=window.GkitHelpers,p=e.blockClass;return i([[{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-description`,color:c(e?.descriptionColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title, \n\t\t\t.${p}.wp-block-gutenkit-heading > a.external-link`,color:c(e?.titleColor),"text-shadow":d(e?.titleTextShadow)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title strong`,color:c(e?.focusedTitleColor),"text-decoration-color":c(e?.focusedTitleTextDecorationColor),"text-shadow":d(e?.focusedTitleTextShadow),...a(e?.focusedTitleBorderRadius,"border-radius"),"-webkit-text-stroke-width":e?.focusedTitleUseStroke&&n(e?.focusedTitleStrokeWidth),"-webkit-text-stroke-color":e?.focusedTitleUseStroke&&c(e?.focusedTitleStrokeColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title strong a`,color:c(e?.focusedTitleColor),"text-decoration-color":c(e?.focusedTitleTextDecorationColor),"text-shadow":d(e?.focusedTitleTextShadow),background:e?.focusedTitleUseBackground&&o(e?.focusedTitleBackgroundColor).background,...a(e?.focusedTitleBorderRadius,"border-radius")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title.gkit-heading-title-text-fill strong`,...r(e?.focusedTitleTextFillBackground)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title:hover strong`,color:c(e?.focusedTitleHoverColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title:hover strong a`,color:c(e?.focusedTitleHoverColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title:hover`,color:c(e?.titleHoverColor)},{selector:`.${p}.gkit-heading-has-border .gkit-heading-title::before`,width:n(e?.titleBorderWidth),height:n(e?.titleBorderHeight),top:n(e?.titleBorderVerticalPosition),background:e?.titleBorderBackground},{selector:`.${p}.gkit-heading-has-border .gkit-heading-title, \n\t\t\t.${p}.gkit-heading-has-border .gkit-heading-separetor`,"padding-left":"start"===e?.borderPosition?n(e?.titleBorderRightGap):void 0,"padding-right":"end"===e?.borderPosition?n(e?.titleBorderLeftGap):void 0},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle`,color:c(e?.subtitleColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle.gkit-heading-subtitle-has-text-fill`,...r(e?.subtitleTextFillBackground)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::before`,background:e?.borderSubtitle&&o(e?.subtitleBorderLeftBackground).background},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::after`,background:e?.borderSubtitle&&o(e?.subtitleBorderRightBackground).background},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-separetor .gkit-heading-separetor-divider`,color:c(e?.separatorColor),"margin-left":"right"===e?.generalTextAlignmentDesktop?"auto":void 0,"margin-right":"center"===e?.generalTextAlignmentDesktop?"auto":"right"===e?.generalTextAlignmentDesktop?"0":void 0,margin:"center"===e?.generalTextAlignmentDesktop?"0 auto":void 0},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-shadow-text`,"-webkit-text-fill-color":c(e?.shadowTextColor),"-webkit-text-stroke-width":n(e?.shadowTextStrokeWidth),"-webkit-text-stroke-color":c(e?.shadowTextStrokeColor)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-outline:not(.gkit-heading-subtitle-has-border)`,...s(e?.showOutline&&e?.subtitleOutlineBorder)}],t=>[{selector:`.${p}.wp-block-gutenkit-heading`,"text-align":e?.[`generalTextAlignment${t}`]},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-description`,"max-width":n(e?.[`descriptionMaxWidth${t}`]),...l(e?.descriptionTypography,t),...a(e?.[`descriptionMargin${t}`],"margin")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title`,...a(e?.[`titleMargin${t}`],"margin"),...l(e?.titleTypography,t)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-title strong`,background:e?.focusedTitleUseBackground&&o(e?.focusedTitleBackgroundColor,t).background,"background-size":o(e?.focusedTitleBackgroundColor,t).size,...l(e?.focusedTitleTypography,t),...a(e?.[`focusedTitlePadding${t}`],"padding"),background:e?.focusedTitleUseBackground&&o(e?.focusedTitleBackgroundColor,t).background,"background-size":e?.focusedTitleUseBackground&&o(e?.focusedTitleBackgroundColor,t).size},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle.gkit-heading-subtitle-has-text-fill`,...r(e?.subtitleTextFillBackground,t)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle`,...l(e?.subtitleTypography,t),...a(e?.[`subtitleMargin${t}`],"margin")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::before`,width:e?.borderSubtitle&&n(e?.[`subtitleBorderLeftWidth${t}`]),...a(e?.borderSubtitle&&e?.[`subtitleBorderLeftMargin${t}`],"margin")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::after`,width:e?.borderSubtitle&&n(e?.[`subtitleBorderRightWidth${t}`]),...a(e?.borderSubtitle&&e?.[`subtitleBorderRightMargin${t}`],"margin")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::after, \n\t\t\t\t.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-border::before`,height:e?.borderSubtitle&&n(e?.[`subtitleBorderRightHeight${t}`]),transform:e?.borderSubtitle&&`translateY(${n(e?.[`subtitleBorderRightVerticalPosition${t}`])})`},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-separetor`,...a(e?.[`separatorMargin${t}`],"margin")},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-separetor .gkit-heading-separetor-divider`,width:n(e?.[`separatorWidth${t}`]),height:n(e?.[`separatorHeight${t}`])},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-separetor .gkit-heading-separetor-divider::before`,height:n(e?.[`separatorHeight${t}`])},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-shadow-text`,top:e?.[`shadowTextPosition${t}`]?.top,left:e?.[`shadowTextPosition${t}`]?.left,...l(e?.shadowTextTypography,t)},{selector:`.${p}.wp-block-gutenkit-heading .gkit-heading-subtitle-has-outline:not(.gkit-heading-subtitle-has-border)`,...a(e?.showOutline&&e?.[`subtitleOutlineBorderRadius${t}`],"border-radius"),...a(e?.[`subtitlePadding${t}`],"padding")}]],t)})(e,T));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d,{blocksCSS:B}),a&&(0,n.jsx)(c,{children:(0,n.jsx)(y,{attributes:e,setAttributes:t,device:j,advancedControl:o})}),(0,n.jsxs)("div",{...w,children:[(0,n.jsx)(b,{attributes:e,setAttributes:t,SubtitleTag:S,subTitleProps:v,isEdit:!0,isDeprecated:l}),e.linkSwitch?(0,n.jsx)("a",{...k(e?.link),className:"external-link",children:(0,n.jsx)(r.RichText,{identifier:"content",tagName:e?.htmlTag,value:e?.content,onChange:e=>{t({content:e})},placeholder:(0,g.__)("Enter your heading here...","gutenkit-blocks-addon"),className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})})}):(0,n.jsx)(r.RichText,{identifier:"content",tagName:e?.htmlTag,value:e?.content,onChange:e=>{t({content:e})},placeholder:(0,g.__)("Enter your heading here...","gutenkit-blocks-addon"),className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})}),(0,n.jsx)(h,{attributes:e,setAttributes:t,SubtitleTag:S,subTitleProps:v,isEdit:!0,isDeprecated:l})]})]})},icon:{src:f},save:function({attributes:e}){const{linkGenerator:t}=window.GkitHelpers,i=r.useBlockProps.save({className:s()({"gkit-heading-has-border":e?.showBorder,[`gkit-heading-border-position-${e?.borderPosition}`]:e?.borderPosition}),id:"block-"+e?.blockID}),o=e?.subtitleHtmlTag||"h3",a={};a.className=s()({"gkit-heading-subtitle":e?.showSubtitle,"gkit-heading-subtitle-has-border":e?.borderSubtitle,"gkit-heading-subtitle-has-outline":e?.showOutline,"gkit-heading-subtitle-has-text-fill":e?.subtitleUseTextFill});const l=e?.linkSwitch?t(e?.link):"";return(0,n.jsxs)("div",{...i,children:[(0,n.jsx)(b,{attributes:e,SubtitleTag:o,subTitleProps:a,isEdit:!1}),e?.linkSwitch?(0,n.jsx)("a",{...l,className:"external-link",children:(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})})}):(0,n.jsx)(r.RichText.Content,{tagName:e?.htmlTag,value:e?.content,className:s()({"gkit-heading-title":!0,"gkit-heading-title-text-fill":e?.focusedTitleUseTextFill})}),(0,n.jsx)(h,{attributes:e,SubtitleTag:o,subTitleProps:a,isEdit:!1})]})},deprecated:k})},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},5573:e=>{"use strict";e.exports=window.wp.primitives},6087:e=>{"use strict";e.exports=window.wp.element},6427:e=>{"use strict";e.exports=window.wp.components},6942:(e,t)=>{var i;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=s(e,a(i)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)o.call(e,i)&&e[i]&&(t=s(t,i));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},7723:e=>{"use strict";e.exports=window.wp.i18n}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,a),i.exports}a.m=o,e=[],a.O=(t,i,o,r)=>{if(!i){var s=1/0;for(c=0;c<e.length;c++){for(var[i,o,r]=e[c],l=!0,n=0;n<i.length;n++)(!1&r||s>=r)&&Object.keys(a.O).every(e=>a.O[e](i[n]))?i.splice(n--,1):(l=!1,r<s&&(s=r));if(l){e.splice(c--,1);var d=o();void 0!==d&&(t=d)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[i,o,r]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>e+".js?ver=15c00cea790e02bc0201",a.miniCssF=e=>{},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},i="gutenkit-blocks-addon:",a.l=(e,o,r,s)=>{if(t[e])t[e].push(o);else{var l,n;if(void 0!==r)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var p=d[c];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==i+r){l=p;break}}l||(n=!0,(l=document.createElement("script")).charset="utf-8",a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",i+r),l.src=e),t[e]=[o];var g=(i,o)=>{l.onerror=l.onload=null,clearTimeout(u);var r=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),r&&r.forEach(e=>e(o)),i)return i(o)},u=setTimeout(g.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=g.bind(null,l.onerror),l.onload=g.bind(null,l.onload),n&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var o=i.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=i[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e+"../../"})(),(()=>{var e={5119:0,6295:0};a.f.j=(t,i)=>{var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else if(6295!=t){var r=new Promise((i,r)=>o=e[t]=[i,r]);i.push(o[2]=r);var s=a.p+a.u(t),l=new Error;a.l(s,i=>{if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var r=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;l.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",l.name="ChunkLoadError",l.type=r,l.request=s,o[1](l)}},"chunk-"+t,t)}else e[t]=0},a.O.j=t=>0===e[t];var t=(t,i)=>{var o,r,[s,l,n]=i,d=0;if(s.some(t=>0!==e[t])){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(n)var c=n(a)}for(t&&t(i);d<s.length;d++)r=s[d],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(c)},i=globalThis.webpackChunkgutenkit_blocks_addon=globalThis.webpackChunkgutenkit_blocks_addon||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var s=a.O(void 0,[6295],()=>a(730));s=a.O(s)})();