PageSourceSearch

https://app.manageplus.io/_next/static/chunks/1167.690e295312804555.js

js manageplus.io collected 2026-09-24 12:57:16 UTC 3,137 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1167],{21167:function(e,i,n){n.r(i);var o=n(26042),l=n(29815),d=n(85893),t=n(94129),a=n(32393),r=n(19238),s=n(67294),u=n(4480),m=n(24003),c=n(22871),v=n(49567),h=n(15861),p={toolbar:{container:[["link"]],clipboard:{matchVisual:!1},cursorPosition:!0}},f=(0,c.Z)((function(){return Promise.all([n.e(9774),n.e(2937),n.e(5228),n.e(9936)]).then(n.bind(n,39936))}),{ssr:!1});i.default=function(e){var i,n,c,g,x,_,C,Z,y,I,b=e.name,M=e.values,j=e.commentMedia,F=e.platform,D=e.contentValue,k=e.disabled,w=e.touched,L=e.errors,R=e.contentId,S=e.setCommentMedia,T=e.handleCommentEditorLoad,E=e.selectFile,P=e.handleRemoveFile,B=e.setHashTagOpen,H=e.setCampaginModal,N=(e.setEmojiModal,e.handleCommentChange),V=t.Uy[F]-(null===(n=(0,a.iT)(null===D||void 0===D||null===(i=D.comment)||void 0===i?void 0:i.text))||void 0===n?void 0:n.length),z=V<=0?void 0:e.onSubmit,A=!!m.sn[F]&&m.sn[F][e.post_type],G=(0,s.useMemo)((function(){var e,i;return(null===D||void 0===D||null===(e=D.comment)||void 0===e||null===(i=e.medias)||void 0===i?void 0:i.length)?(0,l.Z)(D.comment.medias).concat((0,l.Z)(j)):(0,l.Z)(j)}),[null===D||void 0===D||null===(c=D.comment)||void 0===c?void 0:c.medias,j]),K=function(e,i){P(e,i,!0)};return(0,d.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,d.jsxs)(r.Z,{children:[(0,d.jsx)(h.Z,{variant:"h4",sx:{fontSize:14,mb:.5},children:"Add First Comment:"}),(0,d.jsx)(f,{name:b,id:"simple-popover",idea_id:e.ideaId,editorConfig:p,editLoad:T,value:null!==(y=null===D||void 0===D||null===(g=D.comment)||void 0===g?void 0:g.text)&&void 0!==y?y:"",onChange:N,onBlur:z,placeholder:"Write your first comment here...",helperText:w.description&&L.description,error:Boolean(w.description&&L.description)})]}),(0,d.jsx)(u.Y,{charLength:!0,showGallery:!0!==A,id:"simple-popover",showDocs:!1,ideaType:"final_media",type:M.type_id,platformLogo:t.DB[F],platformCharacters:V,idea_id:e.ideaId,finalMedia:j,setDeleleteResponse:function(e){if((null===e||void 0===e?void 0:e.isDeleted)&&(null===e||void 0===e?void 0:e.deleteId)){var i=j.findIndex((function(i){return i.media_id===e.deleteId})),n=(0,l.Z)(j);n.splice(i,1),S(n)}},setFinalMedia:function(){S([])},selectFile:E,isCampaignSelected:!!(null===D||void 0===D||null===(x=D.comment)||void 0===x||null===(_=x.campaigns)||void 0===_?void 0:_.length),isHashtagSelected:!!(null===D||void 0===D||null===(C=D.comment)||void 0===C||null===(Z=C.hashtags)||void 0===Z?void 0:Z.length),handleDone:function(){E(!0)},handleSelectMedia:function(e,i){e.stopPropagation();var n=(0,o.Z)({media_id:i._id,type:null===i||void 0===i?void 0:i.mimetype,url:i.url,isLocal:!0},i),d=j.findIndex((function(e){return e.media_id===n.media_id}));if(-1!==d){var t=(0,l.Z)(j);return t.splice(d,1),void S(t)}var a=(0,l.Z)(j).concat([n]);S(a)},handleRemoveFile:K,handleHashTag:function(){return B(!0)},handleCampaign:function(){return H(!0)}}),(0,d.jsx)(v.Z,{list:G,ideaId:e.ideaId,contentId:R,urlKey:"url",isPublished:k,showRemove:!k,getFileName:function(e){return null!==(I=e.name)&&void 0!==I?I:e.file_name},handleRemove:K})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.