PageSourceSearch

https://tooter.in/packs/js/components/group_member_options_popover-401f54365a77905608e5.chunk.js

js tooter.in collected 2026-10-01 10:13:33 UTC 1,718 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1048:function(o,b,h){"use strict";h.r(b),function(o,e,n){h.d(b,"default",function(){return f});var t,r,c,i=h(0),u=h(2),a=h(3),p=h(1),s=h(34),d=h(29),l=h(1010),O=h(179),f=o(null,function(t){return{onUpdateRole:function(o,e,n){t(Object(s.c)()),t(Object(d.C)(o,e,n))},onCreateRemovedAccount:function(o,e){t(Object(s.c)()),t(Object(d.o)(o,e))},onClosePopover:function(){return t(Object(s.c)())}}})((c=r=function(r){function o(){for(var o,e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return o=r.call.apply(r,[this].concat(n))||this,Object(p.a)(Object(u.a)(o),"handleOnRemoveFromGroup",function(){o.props.onCreateRemovedAccount(o.props.groupId,o.props.accountId)}),Object(p.a)(Object(u.a)(o),"handleOnMakeAdmin",function(){o.props.onUpdateRole(o.props.groupId,o.props.accountId,"admin")}),Object(p.a)(Object(u.a)(o),"handleOnClosePopover",function(){o.props.onClosePopover()}),o}return Object(a.a)(o,r),o.prototype.render=function(){var o=this.props.isXS,e=[{hideArrow:!0,icon:"block",title:"Remove from group",onClick:this.handleOnRemoveFromGroup},{hideArrow:!0,icon:"groups",title:"Make group admin",onClick:this.handleOnMakeAdmin}];return Object(i.a)(l.a,{width:210,isXS:o,onClose:this.handleOnClosePopover},void 0,Object(i.a)(O.a,{scrollKey:"group_options",items:e,size:"large"}))},o}(e),Object(p.a)(r,"defaultProps",{accountId:n.string.isRequired,groupId:n.string.isRequired,isXS:n.bool,onClosePopover:n.func.isRequired,onCreateRemovedAccount:n.func.isRequired,onUpdateRole:n.func.isRequired}),t=c))||t}.call(this,h(22).connect,h(4).PureComponent,h(12))}}]);
2//# sourceMappingURL=group_member_options_popover-401f54365a77905608e5.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.