PageSourceSearch

https://www.filmsupply.com/assets/userAbilities-D2YBbUkJ.js

js filmsupply.com collected 2026-10-02 06:23:10 UTC 1,046 bytes, 1 lines download raw bytes

1import{v as y,k as u}from"./index-CHlGMo7V.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"[email protected]"};var e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="54eb7852-e6c1-4602-9dda-c72f58c1a6d7",s._sentryDebugIdIdentifier="sentry-dbid-54eb7852-e6c1-4602-9dda-c72f58c1a6d7")}catch{}})();const g=({enabled:s=!1})=>{const{data:e,isLoading:n,refetch:a,error:f}=y({queryKey:u.getUserAbilities.queryKey,queryFn:u.getUserAbilities.queryFn,retry:!1,refetchOnMount:!0,refetchOnWindowFocus:!0,staleTime:1/0,gcTime:1/0,enabled:s}),r=!!(e!=null&&e.can_change_owner),i=!!(e!=null&&e.can_access_admin),c=!!(e!=null&&e.can_manage_orders),o=!!(e!=null&&e.can_purchase),t=!!(e!=null&&e.can_access_footage_manager);return{data:e,roles:{isOwner:r,isAdmin:i,isPurchaseManager:c,isPurchaser:o,isAssetManager:t},permissions:{canPayPermission:r||i||c||o||t},isLoading:n,refetch:a,error:f}};export{g as u};

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.