05ea918ee1
- Import toggleFavoriteScript from epicScript service - Change toggleFavorite from sync local-only to async with API call - Implement optimistic update pattern: update local cache first, then call backend - Rollback on API failure with error toast - Preserves localFavorites for offline/fast-render scenarios