{
  "version": 3,
  "sources": ["ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchBrandSaleGroup.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchBrandSales.js"],
  "sourcesContent": ["import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { brandSaleApi } from \"../../apis/brand-sale/BrandSaleApiService.js\";\nconst BRAND_SALE_GROUP = \"brand-sale-group\";\nconst useFetchBrandSaleGroup = (brandSaleGroupId, enabled = true) => {\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [BRAND_SALE_GROUP, brandSaleGroupId] : null, () => brandSaleApi.getBrandSaleGroup(brandSaleGroupId), {\n    keepPreviousData: true\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    ...rest\n  };\n};\nexport {\n  useFetchBrandSaleGroup\n};\n", "import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { brandSaleApi } from \"../../apis/brand-sale/BrandSaleApiService.js\";\nconst BRAND_SALES = \"brand-sales\";\nconst useFetchBrandSales = (brandSaleId, enabled = true) => {\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [BRAND_SALES, brandSaleId] : null, () => brandSaleApi.getBrandSales(brandSaleId), {\n    keepPreviousData: true\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    ...rest\n  };\n};\nexport {\n  useFetchBrandSales\n};\n"],
  "mappings": "kFAEA,IAAMA,EAAmB,mBACnBC,EAAyB,CAACC,EAAkBC,EAAU,KAAS,CACnE,GAAM,CACJ,UAAAC,EACA,GAAGC,CACL,EAAIC,EAAOH,EAAU,CAACH,EAAkBE,CAAgB,EAAI,KAAM,IAAMK,EAAa,kBAAkBL,CAAgB,EAAG,CACxH,iBAAkB,EACpB,CAAC,EACD,MAAO,CACL,UAAWE,GAAa,CAACD,EACzB,GAAGE,CACL,CACF,ECZA,IAAMG,EAAc,cACdC,EAAqB,CAACC,EAAaC,EAAU,KAAS,CAC1D,GAAM,CACJ,UAAAC,EACA,GAAGC,CACL,EAAIC,EAAOH,EAAU,CAACH,EAAaE,CAAW,EAAI,KAAM,IAAMK,EAAa,cAAcL,CAAW,EAAG,CACrG,iBAAkB,EACpB,CAAC,EACD,MAAO,CACL,UAAWE,GAAa,CAACD,EACzB,GAAGE,CACL,CACF",
  "names": ["BRAND_SALE_GROUP", "useFetchBrandSaleGroup", "brandSaleGroupId", "enabled", "isLoading", "rest", "useSWR", "brandSaleApi", "BRAND_SALES", "useFetchBrandSales", "brandSaleId", "enabled", "isLoading", "rest", "useSWR", "brandSaleApi"]
}
