1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6056dc3-552b-50ba-bbac-3400dfbff84e")}catch(e){}}(); 3import{n as e,z as t}from"./QueryClientProvider-Cdu2unP4.js";import{n,r}from"./MemberProfileLink-DTH-ashB.js";import{t as i}from"./useCommunityActionBase-hxxvQypu.js";var a={all:[`community-member-blocks`]},o=`/community/member_blocks`,s=async e=>{let t=new URLSearchParams;e&&t.set(`cursor`,e);let n=t.toString(),r=await fetch(n?`${o}?${n}`:o);if(!r.ok)throw Error(`Failed to fetch community member blocks`);let i=await r.json();return{items:i.members,meta:i.meta}},c=({initialMembers:e,initialMeta:t}={})=>{let{items:r,...i}=n({queryKey:a.all,fetchPage:s,initialItems:e,initialMeta:t});return{members:r,...i}},l=`/community_member_block`,u=`communityChatToken`,d=()=>{let n=e();return i({buildRequest:({memberId:e,block:n,pageBlock:r})=>({path:l,fields:t({member_id:e,action_type:n?`block`:`unblock`},r)}),onSettled:()=>{r(n),n.invalidateQueries({queryKey:[u]}),n.invalidateQueries({queryKey:a.all})}})};export{c as n,d as t}; 4//# sourceMappingURL=useBlockMemberMutation-DDCpl7S2.js.map 5//# debugId=f6056dc3-552b-50ba-bbac-3400dfbff84e
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.