export function encodeString(str: string): string {
  return str.split(' ').map(encodeURIComponent).join('+');
}