"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["20810"],{665243:function(e,t){t.Z={"hide-empty-block-type-10000":"hide-empty-block-type-10000-eQx1tj",hideEmptyBlockType10000:"hide-empty-block-type-10000-eQx1tj"}},127193:function(e,t,o){o.r(t),o.d(t,{ShareReceiveCreationNodeRenderPlugin:()=>h});var n=o(87608),s=o.n(n),i=o(665243),c=e=>({message:e}),l=o(397458),r=o(652983),a=o(524112),p=o(526694),u=o(979623),d=(0,r.memo)(e=>{var t,o,{node:n,message:s}=e,i=(null===(o=n.block.content)||void 0===o?void 0:null===(t=o.creation_block)||void 0===t?void 0:t.creations)||[],c=(0,r.useMemo)(()=>i.reduce((e,t)=>{var o;return(null===(o=e[e.length-1])||void 0===o?void 0:o.type)!==t.type&&e.push({type:t.type,list:[]}),e[e.length-1].list.push(t),e},[]),[i]);return(0,l.jsx)(l.Fragment,{children:c.map((e,t)=>{var{type:o,list:n}=e;return o===a.PO.CreationTypeImage?(0,l.jsx)(u.U,{creationsImageList:n,message:s},"".concat(t,"_").concat(o)):o===a.PO.CreationTypeVideo?(0,l.jsx)(p.s,{creationsVideoList:n,message:s},"".concat(t,"_").concat(o)):null})})});class h{constructor(){this.nodeTypes=["block_type:2074"],this.Content=d,this.usePropsSelector=c,this.useNodeWrapperClassName=()=>s()("flex w-full flex-col gap-20",i.Z["hide-empty-block-type-10000"])}}}}]);
//# sourceMappingURL=20810.js.map