| Current Path : /proc/thread-self/root/snap/lxd/39313/share/lxd-ui/assets/ |
| Current File : //proc/thread-self/root/snap/lxd/39313/share/lxd-ui/assets/useImageRegistries-BcqfYS33.js |
import{u as r,ae as a,w as i}from"./index-BFGypnt-.js";import{f as t,b as u,a as y}from"./image-registries-YAuyq4CZ.js";const m=(e=!0)=>{const{isFineGrained:s}=r();return a({queryKey:[i.imageRegistries],queryFn:async()=>t(s),enabled:e&&s!==null})},o=(e,s=!0)=>{const{isFineGrained:n}=r();return a({queryKey:[i.imageRegistries,e],queryFn:async()=>u(e,n),enabled:s&&n!==null})},l=e=>{const{isFineGrained:s}=r();return a({queryKey:[i.imageRegistries,e,"images"],queryFn:async()=>y(e,s),enabled:s!==null})};export{o as a,l as b,m as u};