PageSourceSearch

https://atomicpoet.org/packs/js/features/account_timeline-37c4d937696894609b62.chunk.js

js atomicpoet.org collected 2026-10-04 02:42:44 UTC 9,375 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[7],{1173:function(e,t,a){a.r(t);var n=a(1855),i=(a(1),a(0)),o=a(1871),s=a(1865),c=a(13),r=a(453),d=a(25),l=a(69),u=a(339),m=a(2),f=a(3),v=a(9),Z=(0,v.$r)();t.default=function(e){var t=e.params,a=e.withReplies,g=void 0!==a&&a,p=(0,s.k6)(),h=(0,f.TL)(),_=(0,f.hz)(),w=(0,f.rV)(),y=(0,f.Dn)(),x=(0,f.CG)((function(e){return(0,v.XO)(e,t.username)})),b=(0,i.useState)(!x),k=b[0],M=b[1],I=g?"".concat(null==x?void 0:x.id,":with_replies"):null==x?void 0:x.id,U=!0===w.getIn(["account_timeline","shows","pinned"])&&!g,C=(0,f.CG)((function(e){return Z(e,{type:"account:".concat(I),prefix:"account_timeline"})})),z=(0,f.CG)((function(e){return Z(e,{type:"account:".concat(null==x?void 0:x.id,":pinned"),prefix:"account_timeline"})})),N=(0,f.CG)((function(e){return!0===e.relationships.getIn([null==x?void 0:x.id,"blocked_by"])})),L=N&&!_.blockersVisible,O=!0===y.getIn(["extensions","patron","enabled"]),D=(0,f.CG)((function(e){return!0===e.getIn(["timelines","account:".concat(I),"isLoading"])})),T=(0,f.CG)((function(e){return!0===e.getIn(["timelines","account:".concat(I),"hasMore"])})),G=(null==x?void 0:x.username)||t.username;return(0,i.useEffect)((function(){h((0,c.ULQ)(t.username,p)).then((function(){return M(!1)})).catch((function(){return M(!1)}))}),[t.username]),(0,i.useEffect)((function(){x&&!g&&h((0,d.hj)(x.id))}),[null==x?void 0:x.id,g]),(0,i.useEffect)((function(){x&&O&&h((0,r.wp)(x.url))}),[null==x?void 0:x.url,O]),(0,i.useEffect)((function(){x&&h((0,d.Cn)(x.id,{withReplies:g}))}),[null==x?void 0:x.id,g]),!x&&k?(0,n.Z)(m.$j,{}):x?L?(0,n.Z)(m.Zb,{},void 0,(0,n.Z)(m.eW,{},void 0,(0,n.Z)(m.xv,{align:"center"},void 0,N?(0,n.Z)(o.Z,{id:"empty_column.account_blocked",defaultMessage:"You are blocked by @{accountUsername}.",values:{accountUsername:G}}):(0,n.Z)(o.Z,{id:"empty_column.account_unavailable",defaultMessage:"Profile unavailable"})))):(0,n.Z)(u.Z,{scrollKey:"account_timeline",statusIds:C,featuredStatusIds:U?z:void 0,isLoading:D,hasMore:T,onLoadMore:function(e){x&&h((0,d.Cn)(x.id,{maxId:e,withReplies:g}))},emptyMessage:(0,n.Z)(o.Z,{id:"empty_column.account_timeline",defaultMessage:"No posts here!"})}):(0,n.Z)(l.Z,{nested:!0})}},992:function(e,t,a){a.r(t);var n=a(1855),i=a(5),o=a.n(i),s=a(1841),c=a(1842),r=a(2),d=a(43),l=a(35),u=function(e){return(e.match(/\$([a-zA-Z]*)/i)||[])[1]},m=(0,s.vU)({linkVerifiedOn:{id:"account.link_verified_on",defaultMessage:"Ownership of this link was checked on {date}"},account_locked:{id:"account.locked_info",defaultMessage:"This account privacy status is set to locked. The owner manually reviews who can follow them."},deactivated:{id:"account.deactivated",defaultMessage:"Deactivated"},bot:{id:"account.badges.bot",defaultMessage:"Bot"}}),f={month:"short",day:"numeric",year:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit"},v=function(e){var t,i=e.field,s=(0,c.Z)();return t=i.name,Boolean(u(t))?(0,n.Z)(d.Z,{fetchComponent:l.UE},void 0,(function(e){return(0,n.Z)(e,{ticker:u(i.name).toLowerCase(),address:i.value_plain})})):(0,n.Z)("dl",{},void 0,(0,n.Z)("dt",{title:i.name},void 0,(0,n.Z)(r.xv,{weight:"bold",tag:"span",dangerouslySetInnerHTML:{__html:i.name_emojified}})),(0,n.Z)("dd",{className:o()({"text-success-500":i.verified_at}),title:i.value_plain},void 0,(0,n.Z)(r.Ug,{space:2,alignItems:"center"},void 0,i.verified_at&&(0,n.Z)("span",{className:"flex-none",title:s.formatMessage(m.linkVerifiedOn,{date:s.formatDate(i.verified_at,f)})},void 0,(0,n.Z)(r.JO,{src:a(84)})),(0,n.Z)(r.xv,{className:"break-words overflow-hidden",tag:"span",dangerouslySetInnerHTML:{__html:i.value_emojified}}))))};t.default=function(e){var t=e.account;return(0,n.Z)(r.Kq,{space:4},void 0,t.fields.map((function(e,t){return(0,n.Z)(v,{field:e},t)})))}},1209:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});var n=a(1855),i=(a(1),a(42),a(21),a(7),a(1841)),o=a(1842),s=a(1871),c=a(540),r=a(2),d=a(117),l=a(3),u=a(53),m=a(308),f=a(0),v=a(6),Z=a(1870),g=a(578),p=a(1857),h=a(133),_=(0,a(9).Tm)(),w=function(e){var t=e.account,a=(0,v.I0)(),o=(0,l.CG)((function(e){return e.me})),c=(0,l.hz)(),u=(0,l.CG)((function(e){var a;return(null===(a=e.user_lists.familiar_followers.get(t.id))||void 0===a?void 0:a.items)||(0,m.OrderedSet)()})),w=(0,l.CG)((function(e){return u.slice(0,2).map((function(t){return _(e,t)}))}));if((0,f.useEffect)((function(){o&&c.familiarFollowers&&a((0,g.ne)(t.id))}),[]),0===u.size)return null;var y=w.map((function(e){return!!e&&(0,n.Z)(h.ZP,{accountId:e.id,inline:!0}
1,void 0,(0,n.Z)(Z.rU,{className:"mention",to:"/@".concat(e.acct)},void 0,(0,n.Z)("span",{dangerouslySetInnerHTML:{__html:e.display_name_html}}),e.verified&&(0,n.Z)(d.Z,{})))})).toArray();return u.size>2&&y.push((0,n.Z)("span",{className:"hover:underline cursor-pointer",role:"presentation",onClick:function(){a((0,p.h7)("FAMILIAR_FOLLOWERS",{accountId:t.id}))}},void 0,(0,n.Z)(s.Z,{id:"account.familiar_followers.more",defaultMessage:"{count} {count, plural, one {other} other {others}} you follow",values:{count:u.size-w.size}}))),(0,n.Z)(r.xv,{theme:"muted",size:"sm"},void 0,(0,n.Z)(s.Z,{id:"account.familiar_followers",defaultMessage:"Followed by {accounts}",values:{accounts:(0,n.Z)(i.yX,{type:"conjunction",value:y})}}))},y=a(930),x=(0,i.vU)({linkVerifiedOn:{id:"account.link_verified_on",defaultMessage:"Ownership of this link was checked on {date}"},account_locked:{id:"account.locked_info",defaultMessage:"This account privacy status is set to locked. The owner manually reviews who can follow them."},deactivated:{id:"account.deactivated",defaultMessage:"Deactivated"},bot:{id:"account.badges.bot",defaultMessage:"Bot"}}),b=function(e){var t=e.account,i=e.username,m=(0,o.Z)(),f=(0,l.Dn)().displayFqn;if(!t)return(0,n.Z)("div",{className:"mt-6 min-w-0 flex-1 sm:px-2"},void 0,(0,n.Z)(r.Kq,{space:2},void 0,(0,n.Z)(r.Kq,{},void 0,(0,n.Z)(r.Ug,{space:1,alignItems:"center"},void 0,(0,n.Z)(r.xv,{size:"sm",theme:"muted"},void 0,"@",i)))));var v={__html:t.note_emojified},Z=1==!t.pleroma.get("is_active",!0)?{__html:m.formatMessage(x.deactivated)}:{__html:t.display_name_html},g=m.formatDate(t.created_at,{month:"long",year:"numeric"}),p=t.verified,h=function(){var e=null!=t&&t.admin?(0,n.Z)(c.Z,{slug:"admin",title:(0,n.Z)(s.Z,{id:"account.badges.admin",defaultMessage:"Admin"})},"staff"):null!=t&&t.moderator?(0,n.Z)(c.Z,{slug:"moderator",title:(0,n.Z)(s.Z,{id:"account.badges.moderator",defaultMessage:"Moderator"})},"staff"):null,a=!0===t.getIn(["patron","is_patron"]),i=[];return e&&i.push(e),a&&i.push((0,n.Z)(c.Z,{slug:"patron",title:(0,n.Z)(s.Z,{id:"account.badges.patron",defaultMessage:"Patron"})},"patron")),t.donor&&i.push((0,n.Z)(c.Z,{slug:"donor",title:(0,n.Z)(s.Z,{id:"account.badges.donor",defaultMessage:"Donor"})},"donor")),i}();return(0,n.Z)("div",{className:"mt-6 min-w-0 flex-1 sm:px-2"},void 0,(0,n.Z)(r.Kq,{space:2},void 0,(0,n.Z)(r.Kq,{},void 0,(0,n.Z)(r.Ug,{space:1,alignItems:"center"},void 0,(0,n.Z)(r.xv,{size:"lg",weight:"bold",dangerouslySetInnerHTML:Z}),p&&(0,n.Z)(d.Z,{}),t.bot&&(0,n.Z)(c.Z,{slug:"bot",title:m.formatMessage(x.bot)}),h.length>0&&(0,n.Z)(r.Ug,{space:1,alignItems:"center"},void 0,h)),(0,n.Z)(r.Ug,{alignItems:"center",space:.5},void 0,(0,n.Z)(r.xv,{size:"sm",theme:"muted"},void 0,"@",f?t.fqn:t.acct),t.locked&&(0,n.Z)(r.JO,{src:a(119),alt:m.formatMessage(x.account_locked),className:"w-4 h-4 text-gray-600"}))),(0,n.Z)(y.Z,{account:t}),t.note.length>0&&"<p></p>"!==t.note&&(0,n.Z)(r.xv,{size:"sm",dangerouslySetInnerHTML:v}),(0,n.Z)("div",{className:"flex flex-col md:flex-row items-start md:flex-wrap md:items-center gap-2"},void 0,(0,u.D0)(t)?(0,n.Z)(r.Ug,{alignItems:"center",space:.5},void 0,(0,n.Z)(r.JO,{src:a(1290),className:"w-4 h-4 text-gray-800 dark:text-gray-200"}),(0,n.Z)(r.xv,{size:"sm"},void 0,(0,n.Z)(s.Z,{id:"account.member_since",defaultMessage:"Joined {date}",values:{date:g}}))):null,t.location?(0,n.Z)(r.Ug,{alignItems:"center",space:.5},void 0,(0,n.Z)(r.JO,{src:a(1291),className:"w-4 h-4 text-gray-800 dark:text-gray-200"}),(0,n.Z)(r.xv,{size:"sm"},void 0,t.location)):null,t.website?(0,n.Z)(r.Ug,{alignItems:"center",space:.5},void 0,(0,n.Z)(r.JO,{src:a(541),className:"w-4 h-4 text-gray-800 dark:text-gray-200"}),(0,n.Z)("div",{className:"max-w-[300px]"},void 0,(0,n.Z)(r.xv,{size:"sm",truncate:!0},void 0,function(e){try{var t=new URL(e);return["http:","https:"].includes(t.protocol)}catch(e){return!1}}(t.website)?(0,n.Z)("a",{className:"text-primary-600 dark:text-primary-400 hover:underline",href:t.website,target:"_blank"},void 0,t.website):t.website))):null,function(){var e=t.birthday;if(!e)return null;var i=m.formatDate(e,{timeZone:"UTC",day:"numeric",month:"long",year:"numeric"}),o=new Date(e),c=new Date,d=o.getDate()===c.getDate()&&o.getMonth()===c.getMonth();
1return(0,n.Z)(r.Ug,{alignItems:"center",space:.5},void 0,(0,n.Z)(r.JO,{src:a(597),className:"w-4 h-4 text-gray-800 dark:text-gray-200"}),(0,n.Z)(r.xv,{size:"sm"},void 0,d?(0,n.Z)(s.Z,{id:"account.birthday_today",defaultMessage:"Birthday is today!"}):(0,n.Z)(s.Z,{id:"account.birthday",defaultMessage:"Born {date}",values:{date:i}})))}()),(0,n.Z)(w,{account:t})))}},1290:function(e,t,a){e.exports=a.p+"packs/icons/calendar-350530e0.svg"},1291:function(e,t,a){e.exports=a.p+"packs/icons/map-pin-883d564a.svg"}}]);
2//# sourceMappingURL=account_timeline-37c4d937696894609b62.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.