PageSourceSearch

https://app.avify.com/assets/chunks/chunk-D1F5Kype.js

js avify.com collected 2026-09-24 19:18:07 UTC 741 bytes, 21 lines download raw bytes

1import { c as useMetaSdk, cA as useApolloClient, b as authClient, cw as deleteUser, Y as useBehaviorAnalytics, n as navigate, L as LOGIN_URL } from "./chunk-BU8s67O7.js";
2import "./chunk-gQZ1vf8Q.js";
3import { b as useQueryClient } from "./chunk-BK1F59BV.js";
4const useLogout = () => {
5  const { resetInstance } = useBehaviorAnalytics();
6  const { clearMetaId } = useMetaSdk();
7  const apolloClient = useApolloClient();
8  const queryClient = useQueryClient();
9  return async () => {
10    await authClient.signOut({ fetchOptions: { credentials: "include" } });
11    deleteUser();
12    await apolloClient.clearStore();
13    queryClient.clear();
14    resetInstance();
15    clearMetaId();
16    navigate(LOGIN_URL);
17  };
18};
19export {
20  useLogout as u
21};

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.