Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import{f as r,e as u,b as o}from"./CoIuAmXb.js";import{u as b}from"./UKDxjrZ2.js";import{a as T}from"./Bxz5a8QK.js";import{g as c,a as p,M as q,b as f,c as C,d as O,e as L,f as U,h as S,i as m,j as g,k as A,l as v,m as l,r as _,n as h,o as D,p as K,u as R,q as w}from"./C5zQvOoZ.js";import{a as d,b as F}from"./DkGcvM61.js";import{u as y}from"./CWcPlVBz.js";import{u as i}from"./AyVnYNqP.js";async function j({orgname:e}){await T(`/v2/orgs/${e}/deactivate/`,{method:"POST"})}function E(e,t){return u({...S(e),select(s){return s?.type==="Organization"?s:null},...t})}function k(e,t){return u({...U(e),...t})}function G({orgName:e,membersType:t=q.Member},s){const{data:a}=k({orgName:e??"",page:1,pageSize:1,type:t},s);return a?.count}function H(e,t){return u({...L(e),...t})}function J(){const e=r();return i(h,{onSuccess:(s,{orgname:a,team:n})=>{e.invalidateQueries([v(a,n)])}})}function N(){const{username:e}=o(y()),t=r();return i(_,{onSuccess:(a,{orgName:n,teamName:M,member:Q})=>{t.invalidateQueries([v(n,M)]),t.invalidateQueries([l(n)]),e===Q&&(t.invalidateQueries(c(t,e).queryKey),t.invalidateQueries(d({username:e}).queryKey))}})}function V(){const{username:e}=o(y()),t=r();return i(K,{onSuccess:(s,{orgName:a,username:n})=>{t.invalidateQueries([l(a)]),e===n&&(t.invalidateQueries([f(t,{username:n}).queryKey[0]]),t.invalidateQueries(c(t,n).queryKey),t.invalidateQueries(d({username:n}).queryKey))}})}function X(){const e=r();return i(R,{onSuccess:async(t,{orgName:s})=>{await e.invalidateQueries([l(s)])}})}function Y(e,t){return u({...p(e),...t})}function Z({orgName:e,teamName:t},s){return u({...C({orgName:e,teamName:t}),...s})}function ee(){const e=r();return i(D,{onSuccess:(t,{orgName:s})=>{e.invalidateQueries([m(s)])}})}function te(){const e=r();return i(A,{onSuccess:(t,{orgName:s,teamName:a})=>{e.invalidateQueries([m(s)]),e.invalidateQueries([g(s,a)])}})}function se(){const e=r();return i(w,{onSuccess:(t,{orgName:s,teamName:a})=>{e.invalidateQueries([m(s)]),e.invalidateQueries([g(s,a)])}})}function ae(){const{username:e}=o(y()),t=r();return i(j,{onSuccess:()=>{t.invalidateQueries([F(e)])}})}function re({username:e,withParentName:t},s){const a=r();return u({...f(a,{username:e,withParentName:t}),...s})}function ne(e,t){const s=r();return u({...c(s,e),...t})}function ie({orgName:e,teamName:t},s){return u({...O(e,t),...s})}function ue(){const e=r();return i(b,{async onSuccess(t,{username:s}){await e.invalidateQueries(d({username:s}))}})}export{ne as a,E as b,Z as c,ie as d,ee as e,re as f,te as g,se as h,ue as i,J as j,k,N as l,H as m,ae as n,G as o,X as p,V as q,Y as u};