import{C as a}from"./DB-BdW1A.js";import{a as s}from"./DokyoHAC.js";const u=()=>{const e=s({}),{data:t,fetch:r,pending:i}=a("getCategoryById","getCategories",e,{immediate:!1}),g=async(f,m)=>(e.value={categoryIds:f,parameters:m},await r(),t),o=s({}),{data:c,fetch:n,pending:C}=a("getRootCategories","getRootCategories",o,{immediate:!1});return{paramsGetRootCategories:o,categories:t,fetchCategories:g,fetchingCategories:i,fetchingRootCategories:C,fetchRootCategories:n,rootCategories:c}};export{u};