1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[65],{1214:function(e,t,s){s.r(t),s.d(t,{default:function(){return O}});var a=s(1855),n=s(22),i=s.n(n),d=s(0),u=s(1841),l=s(1842),c=s(1871),o=s(190),r=s(20),f=s(3),_=s(27),m=s(1869),g=s(1858),h=s(5),p=s.n(h),v=s(213),Z=s(283),y=s(136),M=s(2),C=s(23),b=s(515),w=(s(4),s(308)),x=s(188),I=s(455),k=s(9),G=s(1857),L=s(16),N=s(55),T=(0,u.vU)({cancel:{id:"scheduled_status.cancel",defaultMessage:"Cancel"},deleteConfirm:{id:"confirmations.scheduled_status_delete.confirm",defaultMessage:"Cancel"},deleteHeading:{id:"confirmations.scheduled_status_delete.heading",defaultMessage:"Cancel scheduled post"},deleteMessage:{id:"confirmations.scheduled_status_delete.message",defaultMessage:"Are you sure you want to cancel this scheduled post?"}}),U=function(e){var t=e.status,n=(0,l.Z)(),i=(0,f.TL)();return(0,a.Z)(M.Ug,{justifyContent:"end"},void 0,(0,a.Z)(N.Z,{title:n.formatMessage(T.cancel),text:n.formatMessage(T.cancel),src:s(26),onClick:function(){i((function(e,a){var d=(0,L.Gw)(a()).get("deleteModal");i(d?(0,G.h7)("CONFIRM",{icon:s(801),heading:n.formatMessage(T.deleteHeading),message:n.formatMessage(T.deleteMessage),confirm:n.formatMessage(T.deleteConfirm),onConfirm:function(){return i((0,o.Kl)(t.id))}}):(0,o.Kl)(t.id))}))}}))},j=["statusId"],E=function(e){var t=e.statusId,s=(0,g.Z)(e,j),n=(0,f.CG)((function(e){return function(e,t){var s=(0,k.Tm)()(e,e.me);if(!t)return null;var a=(0,w.Map)({account:s,content:t.text.replace(new RegExp("\n","g"),"<br>"),created_at:t.scheduled_at,id:t.id,in_reply_to_id:t.in_reply_to_id,media_attachments:t.media_attachments,poll:t.poll,sensitive:t.sensitive,uri:"/scheduled_statuses/".concat(t.id),url:"/scheduled_statuses/".concat(t.id),visibility:t.visibility});return(0,I.M)((0,x.f)(a))}(e,e.scheduled_statuses.get(t))}));if(!n)return null;var i=n.account;return(0,a.Z)("div",{className:p()("status__wrapper","status__wrapper-".concat(n.visibility),{"status__wrapper-reply":!!n.in_reply_to_id}),tabIndex:0},void 0,(0,a.Z)("div",{className:p()("status","status-".concat(n.visibility),{"status-reply":!!n.in_reply_to_id}),"data-id":n.id},void 0,(0,a.Z)("div",{className:"mb-4"},void 0,(0,a.Z)(M.Ug,{justifyContent:"between",alignItems:"start"},void 0,(0,a.Z)(C.Z,{id:i.id,timestamp:n.created_at,futureTimestamp:!0},i.id))),(0,a.Z)(Z.Z,{status:n}),(0,a.Z)(y.Z,{status:n,expanded:!0,collapsable:!0}),n.media_attachments.size>0&&(0,a.Z)(v.Z,{media:n.media_attachments,sensitive:n.sensitive}),n.poll&&(0,a.Z)(b.Z,{pollId:n.poll}),d.createElement(U,(0,m.Z)({status:n},s))))},K=(0,u.vU)({heading:{id:"column.scheduled_statuses",defaultMessage:"Scheduled Posts"}}),H=i()((function(e){e((0,o.xj)())}),300,{leading:!0}),O=function(){var e=(0,l.Z)(),t=(0,f.TL)(),s=(0,f.CG)((function(e){return e.status_lists.get("scheduled_statuses").items})),n=(0,f.CG)((function(e){return e.status_lists.get("scheduled_statuses").isLoading})),i=(0,f.CG)((function(e){return!!e.status_lists.get("scheduled_statuses").next}));(0,d.useEffect)((function(){t((0,o.fO)())}),[]);var u=(0,a.Z)(c.Z,{id:"empty_column.scheduled_statuses",defaultMessage:"You don't have any scheduled statuses yet. When you add one, it will show up here."});return(0,a.Z)(_.Z,{icon:"calendar",label:e.formatMessage(K.heading)},void 0,(0,a.Z)(r.Z,{scrollKey:"scheduled_statuses",hasMore:i,isLoading:"boolean"!=typeof n||n,onLoadMore:function(){return H(t)},emptyMessage:u},void 0,s.map((function(e){return(0,a.Z)(E,{statusId:e},e)}))))}}}]); 2//# sourceMappingURL=scheduled_statuses-408ef1defa0116b464b8.chunk.js.map
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.