{"version":3,"file":"useCache.mjs","sources":["../../../../src/composables/useCache.ts"],"sourcesContent":["import { inject } from '../services/current-app'\nimport { VaAppCachePluginKey } from '../services/cache/plugin/index'\nimport { AppCache } from '../services/cache/types'\n\nexport const useCache = (): AppCache => {\n  const cache = inject(VaAppCachePluginKey)\n\n  if (!cache) {\n    return {\n      colorContrast: {},\n    }\n  }\n\n  return cache\n}\n"],"names":[],"mappings":";;AAIO,MAAM,WAAW,MAAgB;AAChC,QAAA,QAAQ,OAAO,mBAAmB;AAExC,MAAI,CAAC,OAAO;AACH,WAAA;AAAA,MACL,eAAe,CAAC;AAAA,IAAA;AAAA,EAEpB;AAEO,SAAA;AACT;"}