module.exports=[20903,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(66986),e=a.i(41487);let f=(0,c.forwardRef)(({title:a="",category:f="",children:g=null},h)=>{let i="string"==typeof a?a:(0,e.extractTextFromReactNode)(a),j=f?`${f} - ${i}`:i,k=(0,e.generateIdForBlogTitle)(j),l=(0,c.useRef)(null),m=(0,c.useRef)([]),n=(0,c.useRef)(null);(0,c.useImperativeHandle)(h,()=>{let a={parentRef:l.current,childRefs:m.current};return n.current=a,a}),(0,c.useEffect)(()=>{"function"==typeof h&&n.current&&h(n.current)},[a,f]);let o=a=>{if(!a)return;let{parentRef:b}=a;!b||(m.current.some(a=>a.parentRef===b)||m.current.push(a),"function"==typeof h&&n.current&&h(n.current))};return(0,b.jsxs)("div",{className:d.default["blog-section"],"data-title":i,"data-id":k,ref:l,children:[(0,b.jsx)("h3",{className:`${d.default["blog-section__title"]} ${a?"":d.default["blog-section__title--empty"]}`,children:a?(0,b.jsx)("a",{href:(0,e.generateSectionHref)(k),className:d.default["blog-section__title-link"],onClick:a=>a.preventDefault(),children:a}):(0,b.jsx)("p",{children:"No title"})}),c.Children.map(g,a=>(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{ref:o}):a)]})});f.displayName="BlogSection",a.s(["default",0,f])}];

//# sourceMappingURL=0_lp_modules_%40san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0_2~y_9.js.map