import type { Vouch } from '@vouchfor/video-utils';

import { VIDEOA, VIDEOB, VIDEOC } from './media-data';

/* eslint-disable max-lines */
const data: Vouch = {
  id: '85a7f7fb-897c-41a4-be7b-2636cf991f2c',
  hashId: '6JQEIPeStt',
  settings: {
    branding: {
      base: {
        primary: {
          color: '#48aff7',
          text: '#def2ff'
        },
        secondary: {
          color: '#fdbdfa',
          text: '#8b26bf'
        },
        radius: '8px'
      }
    }
  },
  questions: {
    items: [
      {
        id: '5c66bb3a-ed68-41a0-a601-a49865104418',
        title: "What is the business problem you're trying to solve?",
        answer: {
          id: '5c66bb3a-ed68-41a0-a601-a49865104418',
          label: null,
          metadata: {
            duration: VIDEOA.duration
          },
          settings: {
            endOffset: 0,
            startOffset: 0
          },
          media: {
            input: VIDEOA.mp4,
            video: VIDEOA.mp4,
            playlist: VIDEOA.m3u8,
            thumbnail: VIDEOA.jpg,
            videos: {
              xs: VIDEOA.mp4
            }
          },
          contact: {
            id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
            name: 'Aaron Williams',
            roleTitle: 'Software Engineer',
            client: {
              id: '03540d70-1c75-4867-a235-bac842ed6ce4',
              name: 'Not Supplied',
              logoSrc: 'https://vouch-clients.s3.ap-southeast-2.amazonaws.com/vouch/logos/vouch-logotype-teal.png'
            }
          },
          captions: {
            current:
              "WEBVTT\r\n\r\n1\r\n00:00:01.710 --> 00:00:05.250\r\nwe are trying to solve, uh, world hunger.\r\n\r\n2\r\n00:00:05.420 --> 00:00:08.369\r\nI think it's an important goal. Uh, we\r\n\r\n3\r\n00:00:08.380 --> 00:00:09.489\r\nalso would like to get rid of\r\n\r\n4\r\n00:00:09.500 --> 00:00:12.050\r\ntuberculosis. Um, in general. And\r\n\r\n5\r\n00:00:12.060 --> 00:00:15.329\r\nprobably malaria, too. Uh, it's gonna be\r\n\r\n6\r\n00:00:15.340 --> 00:00:17.180\r\na couple of weeks, but I think we can do\r\n\r\n7\r\n00:00:17.190 --> 00:00:17.319\r\nit.\r\n",
            translation:
              'WEBVTT\n\n1\n00:00:01.549 --> 00:00:05.920\n🇯🇵 🙏 こんにちは 藤森 章 です 。 え ？ 今 日本 の え ？ 東京 に 住ん で\n\n2\n00:00:05.929 --> 00:00:11.359\nいる 高校 三 年 生 です 。 えっと 父親 が 日本 人 で 母親 が は\n\n3\n00:00:11.619 --> 00:00:13.130\nえー 中国 人 な ん です けれど も 。\n\n4\n00:00:13.939 --> 00:00:17.889\nえ ？ 上海 に 行っ た 時 に 国際 学校 に 通っ て い た の で 。\n\n5\n00:00:17.899 --> 00:00:20.389\nえー 英語 を 日本 語 、 中国 語 、 三 語 を しゃ ます\n\n6\n00:00:21.030 --> 00:00:23.549\nえー で 、 その 中 で 経験 し た こと な ん です けれど も 、\n\n7\n00:00:24.040 --> 00:00:26.700\n日本 語 の 素晴らしい ところ って いう の は 、\n\n8\n00:00:27.260 --> 00:00:27.809\nやっぱり\n\n9\n00:00:28.489 --> 00:00:31.540\n和歌 に も 見 られる よう な 多彩 な 表現 力 と\n\n10\n00:00:32.349 --> 00:00:33.819\nえ 奥深い\n\n11\n00:00:34.770 --> 00:00:38.520\nえー 、 感情 表現 など に ある と 思い ます 。 えー これ を 見 て\n\n12\n00:00:38.759 --> 00:00:41.599\n日本 語 に 興味 を 持っ た 方 は 、 是非 その\n\n13\n00:00:43.180 --> 00:00:43.770\n奥深い\n\n14\n00:00:44.299 --> 00:00:45.630\n表現 など を え 、\n\n15\n00:00:46.299 --> 00:00:49.209\n見 て 、 感じ て えー 、 触れ て み て ください 。 ありがとう\n\n16\n00:00:49.220 --> 00:00:49.599\nござい まし た 。\n'
          },
          transcription: {
            language: 'en',
            translation: {
              language: 'ja'
            },
            items: []
          }
        }
      },
      {
        id: '5c66bb3a-ed68-41a0-a601-a49865104418',
        title: "What is the business problem you're trying to solve?",
        answer: {
          id: '5c66bb3a-ed68-41a0-a601-a49865104418',
          label: null,
          metadata: {
            duration: VIDEOA.duration
          },
          settings: {
            endOffset: 0.385945945945946,
            startOffset: 0.3037837837837838,
            crop: {
              x: 0.4,
              y: 0.4,
              width: 0.4,
              height: 0.4
            }
          },
          media: {
            input: VIDEOA.mp4,
            video: VIDEOA.mp4,
            playlist: VIDEOA.m3u8,
            thumbnail: VIDEOA.jpg,
            videos: {
              xs: VIDEOA.mp4
            }
          },
          contact: {
            id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
            name: 'Aaron Williams',
            roleTitle: 'Software Engineer',
            client: {
              id: '03540d70-1c75-4867-a235-bac842ed6ce4',
              logoSrc: 'https://vouch-clients.s3.ap-southeast-2.amazonaws.com/vouch/logos/vouch-logotype-teal.png'
            }
          },
          captions: {
            current:
              "WEBVTT\r\n\r\n1\r\n00:00:01.710 --> 00:00:05.250\r\nwe are trying to solve, uh, world hunger.\r\n\r\n2\r\n00:00:05.420 --> 00:00:08.369\r\nI think it's an important goal. Uh, we\r\n\r\n3\r\n00:00:08.380 --> 00:00:09.489\r\nalso would like to get rid of\r\n\r\n4\r\n00:00:09.500 --> 00:00:12.050\r\ntuberculosis. Um, in general. And\r\n\r\n5\r\n00:00:12.060 --> 00:00:15.329\r\nprobably malaria, too. Uh, it's gonna be\r\n\r\n6\r\n00:00:15.340 --> 00:00:17.180\r\na couple of weeks, but I think we can do\r\n\r\n7\r\n00:00:17.190 --> 00:00:17.319\r\nit.\r\n"
          },
          transcription: {
            language: 'en',
            translation: {
              language: 'fr'
            },
            items: []
          }
        }
      },
      {
        id: 'e77c81a7-f6ef-4eae-91fc-b620d092d8d6',
        title: 'What are the priorities for your business/team this quarter?',
        answer: {
          id: 'e77c81a7-f6ef-4eae-91fc-b620d092d8d6',
          label: 'Hello this label is overridden',
          metadata: {
            duration: VIDEOB.duration
          },
          settings: {
            endOffset: 0,
            startOffset: 0
          },
          media: {
            input: VIDEOB.mp4,
            video: VIDEOB.mp4,
            playlist: VIDEOB.m3u8,
            thumbnail: VIDEOB.jpg,
            videos: {
              xs: VIDEOB.mp4
            }
          },
          contact: {
            id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
            name: 'Aaron Williams',
            roleTitle: 'Software Engineer',
            client: {
              id: '03540d70-1c75-4867-a235-bac842ed6ce4',
              name: 'Vouch',
              logoSrc: 'https://vouch-clients.s3.ap-southeast-2.amazonaws.com/vouch/logos/vouch-logotype-teal.png'
            }
          },
          captions: {
            current:
              'WEBVTT\r\n\r\n1\r\n00:00:00.709 --> 00:00:03.059\r\npriorities for this business. Uh, for\r\n\r\n2\r\n00:00:03.069 --> 00:00:06.010\r\nthis quarter, uh, to make more money,\r\n\r\n3\r\n00:00:06.019 --> 00:00:09.050\r\nmore profits, Uh, get everything, uh,\r\n\r\n4\r\n00:00:09.069 --> 00:00:13.439\r\nswept away. All our heuristics should be\r\n\r\n5\r\n00:00:13.529 --> 00:00:15.119\r\ntop of the line.\r\n'
          },
          transcription: {
            language: 'en',
            translation: {
              language: 'de'
            },
            items: []
          }
        }
      },
      {
        id: '39fd188d-a4dc-43b9-bac8-32fd71bfbc90',
        title: `"Emoji": 🇯🇵 🙏
          \t\t'Arabic': خَرَجَ الوَلَدُ.
          Chinese: 简化字不讲理\f
          Hebrew: עִבְרִית\r\r
          Japanese Kanji: 漢字\n
          \\\\\\///
          Japanese Hiragana: 平仮名
          Japanese Katakana: 片仮名
          Devangari Hindi: ॳॴॶॷऎऒऔ
          Korean Hangul: 정음/正音
          Cyrillic: АБВГДЕЖЗИКЛМН
          Greek: αβγδ`,
        answer: {
          id: '39fd188d-a4dc-43b9-bac8-32fd71bfbc90',
          label: null,
          metadata: {
            duration: VIDEOC.duration
          },
          settings: {
            endOffset: 0,
            startOffset: 0
          },
          media: {
            input: VIDEOC.mp4,
            video: VIDEOC.mp4,
            playlist: VIDEOC.m3u8,
            thumbnail: VIDEOC.jpg,
            videos: {
              xs: VIDEOC.mp4
            }
          },
          contact: {
            id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
            name: 'Aaron Williams',
            client: {
              id: '03540d70-1c75-4867-a235-bac842ed6ce4',
              name: 'Vouch',
              logoSrc: 'https://vouch-clients.s3.ap-southeast-2.amazonaws.com/vouch/logos/vouch-logotype-teal.png'
            }
          },
          captions: {
            current:
              "WEBVTT\r\n\r\n1\r\n00:00:00.790 --> 00:00:03.269\r\nuh, the biggest pain points this this\r\n\r\n2\r\n00:00:03.279 --> 00:00:07.170\r\nquarter. Um, Jerry has been doing the\r\n\r\n3\r\n00:00:07.179 --> 00:00:09.180\r\nworst work that he's ever been doing.\r\n\r\n4\r\n00:00:09.390 --> 00:00:11.680\r\nAnd we must fire him, Jerry. Goodbye,\r\n\r\n5\r\n00:00:11.689 --> 00:00:12.149\r\nJerry.\r\n"
          }
        }
      }
    ]
  }
};

const withNullAnswer = {
  ...data,
  questions: {
    items: [...data.questions.items, { id: 'null', answer: null }]
  }
} as Vouch;

export { data, withNullAnswer };
