const getFavorites = () => JSON.parse(localStorage.getItem("favorites")) || [];
const setFavorites = (data) => localStorage.setItem("favorites", JSON.stringify(data));

const getStatuses = () => JSON.parse(localStorage.getItem("statuses")) || {};
const setStatuses = (data) => localStorage.setItem("statuses", JSON.stringify(data));

const getRatings = () => JSON.parse(localStorage.getItem("ratings")) || {};
const setRatings = (data) => localStorage.setItem("ratings", JSON.stringify(data));
