text: export const post = {
    _id: 19832,
    _source: {
      post_id: 472479,
      type: 'post',
      site: 'share.america.gov',
      owner: 'ShareAmerica',
      published: '2017-09-06T00:03:01+00:00',
      modified: '2017-12-14T12:27:47+00:00',
      author: {
        id: 173,
        name: 'Mary Jane Maxwell',
      },
      link: 'https://share.america.gov/latin-american-farmers-link-with-u-s-coffee-firms/',
      title: 'Latin American farmers team up with U.S. coffee firms [video]',
      slug: 'latin-american-farmers-link-with-u-s-coffee-firms',
      content: '<p>Some farmers in Colombia are turning away from growing coca, the plant used in making cocaine, and instead growing coffee.</p>',
      excerpt: 'Big U.S. coffee companies need coffee beans, and small coffee farmers around the world need a sustainable market. See how partnerships are helping both.',
      language: {
        language_code: 'en',
        display_name: 'English',
        native_name: 'English',
        locale: 'en-us',
        text_direction: 'ltr',
      },
      languages: [
        {
          post_id: 480707,
          language: {
            language_code: 'ar',
            display_name: 'Arabic',
            native_name: 'العربية',
            locale: 'ar',
            text_direction: 'rtl',
          },
        },
        {
          post_id: 480560,
          language: {
            language_code: 'es',
            display_name: 'Spanish',
            native_name: 'Español',
            locale: 'es-es',
            text_direction: 'ltr',
          },
        },
        {
          post_id: 480592,
          language: {
            language_code: 'fr',
            display_name: 'French',
            native_name: 'Français',
            locale: 'fr-fr',
            text_direction: 'ltr',
          },
        },
        {
          post_id: 480738,
          language: {
            language_code: 'pt-br',
            display_name: 'Portuguese (Brazil)',
            native_name: 'Português',
            locale: 'pt-br',
            text_direction: 'ltr',
          },
        },
        {
          post_id: 480557,
          language: {
            language_code: 'ru',
            display_name: 'Russian',
            native_name: 'Русский',
            locale: 'ru-ru',
            text_direction: 'ltr',
          },
        },
        {
          post_id: 480480,
          language: {
            language_code: 'zh-hans',
            display_name: 'Chinese (Simplified)',
            native_name: '简体中文',
            locale: 'zh-cn',
            text_direction: 'ltr',
          },
        },
      ],
      tags: [
        'foreign aid',
        'regional: wha',
        'rss',
        'rss: feature',
        'source: department',
        'type: text',
        'type: video',
      ],
      thumbnail: {
        name: 'Farmers picking coffee beans (Greg Kahn for USAID)',
        alt: 'Farmers picking coffee beans (Greg Kahn for USAID)',
        caption: 'Workers pick the first of three cycles of coffee beans throughout the year in a USAID-supported project in Guatemala. (Greg Kahn for USAID) ',
        longdesc: 'Antonio Hermoso Matomb, with his wife Micaela Santiago, and son Francisco Hermoso, 16, pick the first of three cycles of coffee beans throughout the year. (Greg Kahn for USAID)',
        sizes: {
          small: {
            height: 220,
            width: 356,
            url: 'https://staticcdp.s3.amazonaws.com/2017/09/share.america.gov_472479/94eebe79aec053e28ae4b50f52626187.jpg',
            orientation: 'landscape',
            md5: '94eebe79aec053e28ae4b50f52626187',
          },
          medium: {
            height: 518,
            width: 768,
            url: 'https://staticcdp.s3.amazonaws.com/2017/09/share.america.gov_472479/8ed0024afb6f4d2b3596309e49ab4fd6.jpg',
            orientation: 'landscape',
            md5: '8ed0024afb6f4d2b3596309e49ab4fd6',
          },
          large: {
            url: 'https://staticcdp.s3.amazonaws.com/2017/09/share.america.gov_472479/fc5a3bdf0b9b9f18fa6bd13ad67503e6.jpg',
            height: 1215,
            width: 1800,
            orientation: 'landscape',
            md5: 'fc5a3bdf0b9b9f18fa6bd13ad67503e6',
          },
          full: {
            url: 'https://staticcdp.s3.amazonaws.com/2017/09/share.america.gov_472479/fc5a3bdf0b9b9f18fa6bd13ad67503e6.jpg',
            height: 1215,
            width: 1800,
            orientation: 'landscape',
            md5: 'fc5a3bdf0b9b9f18fa6bd13ad67503e6',
          },
        },
      },
      site_taxonomies: {
        categories: [
          { id: 328, name: 'Development' },
          { id: 41701, name: 'Foreign Aid' },
          { id: 8796, name: 'International Trade' },
          { id: 265, name: 'Regional: WHA' },
          { id: 21956, name: 'RSS' },
          { id: 21960, name: 'RSS: Feature' },
          { id: 255, name: 'Source: Department' },
          { id: 259, name: 'Type: Text' },
          { id: 257, name: 'Type: Video' },
        ],
        tags: [
          { id: 43167, name: 'agriculture' },
          { id: 41842, name: 'development assistance' },
          { id: 41841, name: 'economic development' },
          { id: 43483, name: 'IIP Videos' },
          { id: 43209, name: 'training' },
          { id: 41845, name: 'USAID' },
        ],
      },
      categories: [
        { id: 'CVqWJ2MBNxuyMP4E3Cip', name: 'agriculture' },
        { id: '_FqWJ2MBNxuyMP4E2SdS', name: 'development' },
        { id: 'bLWWJ2MBCLPpGnLD2j9T', name: 'foreign aid' },
        { id: 'eLWWJ2MBCLPpGnLD3T_L', name: 'international trade' },
        { id: 'dLWWJ2MBCLPpGnLD3D-N', name: 'economic opportunity' },
        { id: 'JFqWJ2MBNxuyMP4E5Cgn', name: 'global issues' },
      ],
    },
  };
  
  export const video = {
    _id: 88888,
    _source: {
      post_id: 1424,
      site: 'courses.america.gov',
      type: 'video',
      published: '2018-05-04T00:32:20+00:00',
      modified: '2018-07-30T17:40:44+00:00',
      owner: 'IIP Video',
      author: '',
      duration: 0,
      unit: [
        {
          transcript: {},
          srt: {
            srcUrl: 'https://staticcdp.s3.amazonaws.com/2018/05/7fa40a77c8b9eefec04e3b50bd6ebc46.srt',
            md5: '7fa40a77c8b9eefec04e3b50bd6ebc46',
          },
          language: {
            language_code: 'en',
            text_direction: 'ltr',
            display_name: 'English',
            locale: 'en-us',
            native_name: 'English',
          },
          source: [
            {
              streamUrl: [
                {
                  site: 'youtube',
                  url: 'https://youtu.be/2lx30kzRpk8',
                },
              ],
              duration: null,
              filetype: '',
              burnedInCaptions: 'false',
              use: 'Clean',
              size: {
                width: '1920',
                bitrate: '15346707',
                filesize: '174902588',
                height: '1080',
              },
              stream: {
                uid: 'a16161e018d50d8ed8ec5814755b284f',
                thumbnail: 'https://cloudflarestream.com/a16161e018d50d8ed8ec5814755b284f/thumbnails/thumb_5_0.png',
                url: 'https://watch.cloudflarestream.com/a16161e018d50d8ed8ec5814755b284f',
              },
              video_quality: 'web',
              downloadUrl: 'https://staticcdp.s3.amazonaws.com/2018/05/fc6ce5972a59935b31515578acd37695.mp4',
              md5: 'fc6ce5972a59935b31515578acd37695',
            },
          ],
          categories: [],
          title: 'U.S. Coffee Partnerships',
          desc: 'Big coffee companies in the United States need coffee beans, and small coffee farmers around the world need a sustainable market for their product. These mutual interests prompted the United States Agency for International Development (USAID) to unite U.S. coffee companies directly with coffee farmers around the world.',
        },
        {
          transcript: {},
          srt: {
            srcUrl: 'https://staticcdp.s3.amazonaws.com/2018/05/df022a2fadd2323e1dbbf976294fed85.srt',
            md5: 'df022a2fadd2323e1dbbf976294fed85',
          },
          language: {
            language_code: 'fr',
            text_direction: 'ltr',
            display_name: 'French',
            locale: 'fr-fr',
            native_name: 'Français',
          },
          source: [
            {
              streamUrl: [
                {
                  site: 'youtube',
                  url: 'https://youtu.be/l9rmUc4L0xU',
                },
              ],
              duration: null,
              filetype: '',
              burnedInCaptions: 'true',
              use: 'Full Video',
              size: {
                width: '1920',
                bitrate: '15259627',
                filesize: '173896800',
                height: '1080',
              },
              stream: {
                uid: 'cd3b9131bca53c23818712737c8e0a0e',
                thumbnail: 'https://cloudflarestream.com/cd3b9131bca53c23818712737c8e0a0e/thumbnails/thumb_5_0.png',
                url: 'https://watch.cloudflarestream.com/cd3b9131bca53c23818712737c8e0a0e',
              },
              video_quality: 'web',
              downloadUrl: 'https://staticcdp.s3.amazonaws.com/2018/05/c5efa6494787877c563c744b46aeb19d.mp4',
              md5: 'c5efa6494787877c563c744b46aeb19d',
            },
          ],
          categories: [],
          title: 'Les partenariats dans la filière café aux États-Unis',
          desc: 'Les grandes entreprises caféières américaines ont besoin de grains de café, et les petits producteurs à travers le monde ont besoin d’un marché durable pour leurs produits. Ces intérêts communs ont incité l’Agence des États-Unis pour le développement international (USAID) à mettre les entreprises caféières américaines en contact direct avec les producteurs de café à travers le monde.',
        },
      ],
      thumbnail: {
        small: {
          height: 196,
          width: 380,
          url: 'https://staticcdp.s3.amazonaws.com/2018/05/fadb6c95d0bf83c5711e341a30c6b395.jpg',
          orientation: 'landscape',
          md5: 'fadb6c95d0bf83c5711e341a30c6b395',
        },
        medium: {
          height: 393,
          width: 770,
          url: 'https://staticcdp.s3.amazonaws.com/2018/05/86d39f4e0f1e9156284ba22cdde05983.jpg',
          orientation: 'landscape',
          md5: '86d39f4e0f1e9156284ba22cdde05983',
        },
        large: {
          url: 'https://staticcdp.s3.amazonaws.com/2018/05/a12de91493ba22e98753f8d1c662e849.jpg',
          height: 675,
          width: 1200,
          orientation: 'landscape',
          md5: 'a12de91493ba22e98753f8d1c662e849',
        },
        full: {
          url: 'https://staticcdp.s3.amazonaws.com/2018/05/a12de91493ba22e98753f8d1c662e849.jpg',
          height: 675,
          width: 1200,
          orientation: 'landscape',
          md5: 'a12de91493ba22e98753f8d1c662e849',
        },
      },
      site_taxonomies: {},
    },
  };
  
  export const imageJPG = {
    _id: 77777,
    _source: {
      post_id: 1423,
      site: 'courses.america.gov',
      type: 'image',
      published: '2018-05-04T00:32:20+00:00',
      modified: '2018-07-30T17:40:44+00:00',
      owner: 'IIP Video',
      author: '',
      duration: 0,
      unit: [
        {
          title: 'U.S. Coffee Partnerships',
          desc: 'Big coffee companies in the United States need coffee beans, and small coffee farmers around the world need a sustainable market for their product. These mutual interests prompted the United States Agency for International Development (USAID) to unite U.S. coffee companies directly with coffee farmers around the world.',
          categories: [],
          tags: [],
          language: {
            language_code: 'en',
            text_direction: 'ltr',
            display_name: 'English',
            locale: 'en-us',
            native_name: 'English',
          },
          images: [
            {
              src: 'https://www.source.com/image-1.jpg',
              filetype: 'jpg',
            },
            {
              src: 'https://www.source.com/image-2.jpg',
              filetype: 'jpg',
            },
          ],
        },
        {
          title: 'Les partenariats dans la filière café aux États-Unis',
          desc: 'Les grandes entreprises caféières américaines ont besoin de grains de café, et les petits producteurs à travers le monde ont besoin d’un marché durable pour leurs produits. Ces intérêts communs ont incité l’Agence des États-Unis pour le développement international (USAID) à mettre les entreprises caféières américaines en contact direct avec les producteurs de café à travers le monde.',
          language: {
            language_code: 'fr',
            text_direction: 'ltr',
            display_name: 'French',
            locale: 'fr-fr',
            native_name: 'Français',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/file-1.pdf',
              filetype: 'pdf',
            },
          ],
        },
        {
          title: 'Café: parcerias nos EUA',
          desc: 'As grandes empresas de café nos Estados Unidos precisam de grãos de café, e os pequenos cafeicultores do mundo precisam de um mercado sustentável para seus produtos. Esses interesses mútuos levaram a Agência dos Estados Unidos para o Desenvolvimento Internacional (Usaid) a conectar empresas de café dos EUA diretamente com cafeicultores ao redor do mundo.',
          language: {
            language_code: 'pt-br',
            text_direction: 'ltr',
            display_name: 'Portuguese (Brazil)',
            locale: 'pt-br',
            native_name: 'Português',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/image-br.jpg',
              filetype: 'jpg',
            },
          ],
        },
      ],
    },
  };
  
  export const imageNoEnglishJPG = {
    _id: 77777,
    _source: {
      post_id: 1423,
      site: 'courses.america.gov',
      type: 'image',
      published: '2018-05-04T00:32:20+00:00',
      modified: '2018-07-30T17:40:44+00:00',
      owner: 'IIP Video',
      author: '',
      duration: 0,
      unit: [
        {
          title: 'Les partenariats dans la filière café aux États-Unis',
          desc: 'Les grandes entreprises caféières américaines ont besoin de grains de café, et les petits producteurs à travers le monde ont besoin d’un marché durable pour leurs produits. Ces intérêts communs ont incité l’Agence des États-Unis pour le développement international (USAID) à mettre les entreprises caféières américaines en contact direct avec les producteurs de café à travers le monde.',
          language: {
            language_code: 'fr',
            text_direction: 'ltr',
            display_name: 'French',
            locale: 'fr-fr',
            native_name: 'Français',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/image.jpg',
              filetype: 'jpg',
            },
          ],
        },
        {
          title: 'Café: parcerias nos EUA',
          desc: 'As grandes empresas de café nos Estados Unidos precisam de grãos de café, e os pequenos cafeicultores do mundo precisam de um mercado sustentável para seus produtos. Esses interesses mútuos levaram a Agência dos Estados Unidos para o Desenvolvimento Internacional (Usaid) a conectar empresas de café dos EUA diretamente com cafeicultores ao redor do mundo.',
          language: {
            language_code: 'pt-br',
            text_direction: 'ltr',
            display_name: 'Portuguese (Brazil)',
            locale: 'pt-br',
            native_name: 'Português',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/image-br.jpg',
              filetype: 'jpg',
            },
          ],
        },
      ],
    },
  };
  
  export const imagePDF = {
    _id: 77777,
    _source: {
      post_id: 1423,
      site: 'courses.america.gov',
      type: 'image',
      published: '2018-05-04T00:32:20+00:00',
      modified: '2018-07-30T17:40:44+00:00',
      owner: 'IIP Video',
      author: '',
      duration: 0,
      unit: [
        {
          title: 'U.S. Coffee Partnerships',
          desc: 'Big coffee companies in the United States need coffee beans, and small coffee farmers around the world need a sustainable market for their product. These mutual interests prompted the United States Agency for International Development (USAID) to unite U.S. coffee companies directly with coffee farmers around the world.',
          categories: [],
          tags: [],
          language: {
            language_code: 'en',
            text_direction: 'ltr',
            display_name: 'English',
            locale: 'en-us',
            native_name: 'English',
          },
          images: [
            {
              src: 'https://www.source.com/file-1.pdf',
              filetype: 'pdf',
            },
            {
              src: 'https://www.source.com/file-2.pdf',
              filetype: 'pdf',
            },
          ],
        },
        {
          title: 'Les partenariats dans la filière café aux États-Unis',
          desc: 'Les grandes entreprises caféières américaines ont besoin de grains de café, et les petits producteurs à travers le monde ont besoin d’un marché durable pour leurs produits. Ces intérêts communs ont incité l’Agence des États-Unis pour le développement international (USAID) à mettre les entreprises caféières américaines en contact direct avec les producteurs de café à travers le monde.',
          language: {
            language_code: 'fr',
            text_direction: 'ltr',
            display_name: 'French',
            locale: 'fr-fr',
            native_name: 'Français',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/file-1.pdf',
              filetype: 'pdf',
            },
          ],
        },
        {
          title: 'Café: parcerias nos EUA',
          desc: 'As grandes empresas de café nos Estados Unidos precisam de grãos de café, e os pequenos cafeicultores do mundo precisam de um mercado sustentável para seus produtos. Esses interesses mútuos levaram a Agência dos Estados Unidos para o Desenvolvimento Internacional (Usaid) a conectar empresas de café dos EUA diretamente com cafeicultores ao redor do mundo.',
          language: {
            language_code: 'pt-br',
            text_direction: 'ltr',
            display_name: 'Portuguese (Brazil)',
            locale: 'pt-br',
            native_name: 'Português',
          },
          categories: [],
          tags: [],
          images: [
            {
              src: 'https://www.source.com/image-br.jpg',
              filetype: 'jpg',
            },
          ],
        },
      ],
    },
  };
  
  export const response = {
    hits: {
      hits: [
        {
          _index: 'posts_20181005',
          _type: '_doc',
          _id: '7UDlFW0BDYs_e7AigX73',
          _score: 35.15349,
          _source: {
            post_id: 6489,
            type: 'post',
            site: 'ylai.state.gov',
            owner: 'Young Leaders of the Americas Initiative',
            published: '2019-09-09T08:00:17-04:00',
            modified: '2019-09-09T12:27:09-04:00',
            author: {
              id: 35,
              name: 'saundersjm',
            },
            link: 'http://ylai.state.gov/honoring-a-family-coffee-trade-with-new-innovations/',
            title: 'Honoring a family coffee trade with new innovations',
            slug: 'honoring-a-family-coffee-trade-with-new-innovations',
            content: '<p>“You start every day with coffee, and you end every day with coffee.” From age 7, David Dávila, learned how to brew his own coffee before he went to school. Coffee before and after school was the norm in his household.</p>\n',
            excerpt: 'The YLAI Network profiles Dávila Kafe founder David Dávila on his innovative coffee company that honors his family trade of coffee producing.',
            language: {
              language_code: 'en',
              display_name: 'English',
              native_name: 'English',
              locale: 'en-us',
              text_direction: 'ltr',
            },
            languages: [],
            tags: [],
            thumbnail: {
              name: 'david and gaina',
              alt: '',
              caption: '',
              longdesc: '',
              sizes: {
                small: {
                  height: 269,
                  width: 359,
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6489/82a4e77c89c26151512350db71d26153.png',
                  orientation: 'landscape',
                  md5: '82a4e77c89c26151512350db71d26153',
                },
                medium: {
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6489/489daa34c0ad7a223415bf1579cbf73a.png',
                  height: 520,
                  width: 720,
                  orientation: 'landscape',
                  md5: '489daa34c0ad7a223415bf1579cbf73a',
                },
                large: null,
                full: {
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6489/489daa34c0ad7a223415bf1579cbf73a.png',
                  height: 520,
                  width: 720,
                  orientation: 'landscape',
                  md5: '489daa34c0ad7a223415bf1579cbf73a',
                },
              },
            },
            site_taxonomies: {
              categories: [
                {
                  name: 'Leadership Skills &amp; Development',
                  id: 980,
                },
                {
                  name: 'Personal Branding &amp; Professional Development',
                  id: 76,
                },
              ],
              tags: [
                {
                  name: 'Haiti',
                  id: 1238,
                },
                {
                  name: 'Nicaragua',
                  id: 1242,
                },
              ],
            },
            categories: [
              {
                name: 'economic opportunity',
                id: 'dLWWJ2MBCLPpGnLD3D-N',
              },
            ],
          },
        },
        {
          _index: 'posts_20181005',
          _type: '_doc',
          _id: 'H-wYP20BtlvrGW0DbFjE',
          _score: 33.561363,
          _source: {
            post_id: 6491,
            type: 'post',
            site: 'ylai.state.gov',
            owner: 'Young Leaders of the Americas Initiative',
            published: '2019-09-17T08:00:09-04:00',
            modified: '2019-09-17T11:58:45-04:00',
            author: {
              id: 35,
              name: 'saundersjm',
            },
            link: 'http://ylai.state.gov/advancing-your-business-with-the-help-of-an-accelerator/',
            title: 'Advancing your business with the help of an accelerator',
            slug: 'advancing-your-business-with-the-help-of-an-accelerator',
            content: '<p>When emerging entrepreneur <a href=\'https://www.davilakafe.com/\' target=\'_blank\' rel=\'noopener noreferrer\'>David Davila</a> started to develop his idea of a family business selling coffee, one of his friends recognized that he had a great idea and encouraged him to apply to Union Kitchen, a startup accelerator in the United States.</p>\n',
            excerpt: 'The YLAI Network’s series on David Davila continues with his experiences working with an accelerator and how they can help emerging entrepreneurs. ',
            language: {
              language_code: 'en',
              display_name: 'English',
              native_name: 'English',
              locale: 'en-us',
              text_direction: 'ltr',
            },
            languages: [],
            tags: [],
            thumbnail: {
              name: 'davila roasts720',
              alt: '',
              caption: '',
              longdesc: '',
              sizes: {
                small: {
                  height: 269,
                  width: 359,
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6491/d22fa6b8afb11c61fdc890686fc9c874.png',
                  orientation: 'landscape',
                  md5: 'd22fa6b8afb11c61fdc890686fc9c874',
                },
                medium: {
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6491/a4d25558cca0ef493a428b2812dad9d1.png',
                  height: 520,
                  width: 720,
                  orientation: 'landscape',
                  md5: 'a4d25558cca0ef493a428b2812dad9d1',
                },
                large: null,
                full: {
                  url: 'https://staticcdp.s3.amazonaws.com/2019/09/ylai.state.gov_6491/a4d25558cca0ef493a428b2812dad9d1.png',
                  height: 520,
                  width: 720,
                  orientation: 'landscape',
                  md5: 'a4d25558cca0ef493a428b2812dad9d1',
                },
              },
            },
            site_taxonomies: {
              categories: [
                {
                  name: 'Leadership Skills &amp; Development',
                  id: 980,
                },
                {
                  name: 'Personal Branding &amp; Professional Development',
                  id: 76,
                },
              ],
              tags: [
                {
                  name: 'Haiti',
                  id: 1238,
                },
                {
                  name: 'Nicaragua',
                  id: 1242,
                },
              ],
            },
            categories: [
              {
                name: 'economic opportunity',
                id: 'dLWWJ2MBCLPpGnLD3D-N',
              },
            ],
          },
        },
      ],
    },
  };
  