text: export default {
  
      // if set to true, the user will be routed to /tutorial instead of /play if
      // they haven't taken a tutorial
    needsTutorial: true,
      // each time the app is run, it will check this manifest and update the firebase database
      // if new entries are there, they will be added, and entries that aren't in the manifest
      // but are in the firebase database will be *removed*
    manifestUrl: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/manifest.json',
    manifestType: 'json',
    widgetType: 'ImageSwipe',
    widgetProperties: {
      baseUrlTemplate: 'https://s3-us-west-2.amazonaws.com/abcd-braindr/abcd-surf/{0}.png',
      delimiter: '%',
      leftSwipeLabel: 'Fail',
      rightSwipeLabel: 'Pass',
    },
  
      // if manifestType = 'pubmed' then you should also include a manifestQuery key.
      // if manifestType = 'json' then you're fine
      // if manifestType = 'github' then you need to provide a github user, repo,
      // and path under manifestGitHub
  
    // manifestType: 'github',
    // manifestQuery: '(neuroimaging OR "Magnetic Resonance Imaging" OR "MRI") AND brain AND autism',
    // manifestGitHub: { user: 'akeshavan',
    //   repo: 'mHealthLandscape',
    //   path: 'ios',
    // },
  
    // manifestType: 'S3',
    // manifestS3: {
    //   bucket: 'himatdata',
    //   prefix: 'BeringStrait',
    //   delimiter: '.wav',
    //   max_keys: 10000,
    // },
  
    // widgetType: 'ImageSwipe', //'BranchingTemplateWidget',
    /* eslint-disable */
    // widgetProperties: {
      // titleKey: 'trackName',
      // textKey: 'description',
      // baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      // delimiter: '%',
      // autoComplete: [
      //   'active data entry',
      //   'passive data entry',
      //   'gamified',
      //   'social media',
      //   'educational',
      //   'sensors',
      // ],
      // stages: [
      //   {
      //     id: 'relevant',
      //     showCriteria: {},
      //     question: 'Is this app about mental health?',
      //     responseProperties: {
      //       widgetType: 'TextBinarySwipe',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         leftSwipeLabel: 'No',
      //         rightSwipeLabel: 'Yes',
      //       },
      //     },
      //   },
      //   {
      //     id: 'datacollection',
      //     showCriteria: {
      //       node: 'relevant',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'Does this app collect user data?',
      //     responseProperties: {
      //       widgetType: 'TextBinarySwipe',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         leftSwipeLabel: 'No',
      //         rightSwipeLabel: 'Yes',
      //       },
      //     },
      //   },
      //   {
      //     id: 'sensors',
      //     showCriteria: {
      //       node: 'datacollection',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'Interoperable with sensors/wearables?',
      //     responseProperties: {
      //       widgetType: 'TextBinarySwipe',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         leftSwipeLabel: 'No',
      //         rightSwipeLabel: 'Yes, sensors',
      //       },
      //     },
      //   },
      //   {
      //     id: 'social',
      //     showCriteria: {
      //       node: 'datacollection',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'Is there a social component?',
      //     responseProperties: {
      //       widgetType: 'TextBinarySwipe',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         leftSwipeLabel: 'Not social',
      //         rightSwipeLabel: 'Yes, social',
      //       },
      //     },
      //   },
      //   {
      //     id: 'game',
      //     showCriteria: {
      //       node: 'datacollection',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'Are there game elements?',
      //     responseProperties: {
      //       widgetType: 'TextBinarySwipe',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         leftSwipeLabel: 'No',
      //         rightSwipeLabel: 'Yes',
      //       },
      //     },
      //   },
      //   {
      //     id: 'disorder',
      //     showCriteria: {
      //       node: 'datacollection',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'What disorders does it target?',
      //     responseProperties: {
      //       widgetType: 'TextTagger',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         autoComplete: ['depression', 'anxiety', 'sleep'],
      //       },
      //     },
      //   },
      //   {
      //     id: 'treatment',
      //     showCriteria: {
      //       node: 'datacollection',
      //       statement: '==',
      //       value: 1,
      //     },
      //     question: 'What is the treatment strategy?',
      //     responseProperties: {
      //       widgetType: 'TextTagger',
      //       widgetProperties: {
      //         titleKey: 'trackName',
      //         textKey: 'description',
      //         delimiter: '%',
      //         baseUrlTemplate: 'https://raw.githubusercontent.com/akeshavan/mHealthLandscape/master/ios/{0}.json',
      //         autoComplete: ['CBT', 'journal'],
      //       },
      //     },
      //   },
      // ],
    // },
    /* eslint-enable */
    iconAttribute: {
      name: 'openmoji',
      url: 'http://openmoji.org',
    },
  
    levels: {
      0: {
        level: 0,
        min: 0,
        max: 100,
        character: null,
        img: null,
        img_grey: null,
      },
      1: {
        level: 1,
        min: 101,
        max: 350,
        character: 'fish',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F41F.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F41F.svg?sanitize=true',
      },
      2: {
        level: 2,
        min: 351,
        max: 750,
        character: 'frog',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F438.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F438.svg?sanitize=true',
      },
      3: {
        level: 3,
        min: 751,
        max: 1000,
        character: 'duck',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F986.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F986.svg?sanitize=true',
      },
      4: {
        level: 4,
        min: 1001,
        max: 1500,
        character: 'koala',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F428.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F428.svg?sanitize=true',
      },
      5: {
        level: 5,
        min: 1501,
        max: 2000,
        character: 'cat',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F408.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F408.svg?sanitize=true',
      },
      6: {
        level: 6,
        min: 2001,
        max: 2500,
        character: 'lion',
        img: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F981.svg?sanitize=true',
        img_grey: 'https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/black/svg/1F981.svg?sanitize=true',
      },
    },
  
  
      // this shows a 'beta' ribbon in the bottom right corner
    betaMode: false,
  
    firebaseKeys: {
      apiKey: 'AIzaSyA9aYythZnbzbPDil6HYSk2lx80kMctnXc',
      authDomain: 'abcd-surf.firebaseapp.com',
      databaseURL: 'https://abcd-surf.firebaseio.com',
      projectId: 'abcd-surf',
      storageBucket: 'abcd-surf.appspot.com',
      messagingSenderId: '449971967589',
    },
  
    app: {
      navbarVariant: 'info',
    },
  
      // Homepage configuration
      // your app's title and tagline
    home: {
      title: 'ABCD Surface Swipes For Science',
      tagline: 'Quality control of ABCD Study surface delineations',
        // background image on Homepage
      backgroundUrl: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/homepage.png',
    },
  
      // Play configuration
    play: {
      blankImage: 'https://raw.githubusercontent.com/SwipesForScience/testConfig/master/images/undraw_blank_canvas.svg?sanitize=true',
  
    },
  
      // Chats configuration
    chats: {
      blankImage: 'https://raw.githubusercontent.com/SwipesForScience/testConfig/master/images/undraw_no_data.svg?sanitize=true',
    },
  
      // Profile configuration
    profile: {
      blankImage: 'https://raw.githubusercontent.com/SwipesForScience/testConfig/master/images/undraw_chatting.svg?sanitize=true',
    },
  
      // your app's tutorial page
      // describe your problem and the way you want people to annotate
    tutorial: {
        // there is only 1 available custom animiation right now, and its 'Bubbles'
      customBackgroundAnimation: 'Bubbles',
        // steps have 2 parts, the intro and examples. In the intro you provide
        // text and images. In the examples, you provide text, data pointers, and tutorial steps
        // that the widget will display
      steps: {
        intro: [
          {
              // keep the text really short
            text: 'In the ABCD Study the structural image of the brain is the T1-weighted image (T1). \nThis image is a clear snapshot of the brain at one point in time and is used to measure physical characteristics like shape and size.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/atlas_justimg.jpg',
          },
          {
              // use \n to linebreak the text
            text: 'On the T1, you can classify white and gray matter. \nGray matter is made up of folds with the “hills” called gyri and “valleys” called sulci delineated by red lines. \nWhite matter is delineated by dark gray lines.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/GM_WM.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'There are 7 types of images in 3 different planes to assess the surface delineation quality on the T1.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/planes.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'Ignore the subcortical regions highlighted between the temporal lobes in the coronal view. \nSurface delineation is only concerned with the outer area of the brain called the cortex.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/subcort.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'The lines separating the gray and white matter are called surface delineations. \nHow well the gray and white matter are delineated will signify the quality of the surface delineations. \nLook below for common errors in surface delineation.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/deline.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'Blurriness occurs when the participant is moving in the scanner and can make it difficult to delineate the surface.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/blurryfail.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'Blurriness in the T1 does not always make the surface delineation bad quality.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/blurrypass.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'Ringing occurs when the participant is moving in the scanner and can disrupt the surface delineation \nbecause the rings can be mistaken as brain or make the brain unrecognizable.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/ringingfail.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'Ringing in the T1 does not always make the surface delineation bad quality.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/ringingpass.JPG',
          },
          {
              // use \n to linebreak the text
            text: 'White matter extension is when the white matter is poorly delineated and extends to the gray matter line.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/whitematter.PNG',
          },
          {
            text: 'Another error is when the surface delineation goes outside of the brain and into the dura or skull. \nThe dura is the faint gray line between the brain and the skull. The skull is the thick white line.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/duraskull.JPG',
          },
          {
            text: 'The image is also bad quality when the white and gray matter surface delineations cross over each other.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/14-T1Surf.jpg',
          },
          {
            text: 'Warps of the brain, skull, and surface delineations are caused by poor atlas registration. \nThese warps appear to "pull" the brain and surface delineations.',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/15-T1Surf.jpg',
          },
          {
            text: 'Below are examples of good and bad quality surface delineation:',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/17-T1Surf.jpg',
          },
          {
            text: '',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/18-T1Surf.jpg',
          },
          {
            text: '',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/16-T1Surf.jpg',
          },
  
          {
            text: '',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/19-T1Surf.jpg',
          },
          {
            text: '',
            image: 'https://raw.githubusercontent.com/DCAN-Labs/abcd-surf/master/config/tutorial_imgs/20-T1Surf.jpg',
          },
        ],
        examples: [
          {
              // fill these with examples with respect to the widget you're using
            text: 'Swipe right when the image is good quality',
            pointer: 'NDARINV02RCED7D_baselineYear1Arm1_T1-Coronal-OrbitoFrontal',
            answer: 1,
            tutorialStep: 0,
          },
          {
            text: `Swipe left when it's bad`,
            pointer: 'old_NDARINVTMFT5TJF_baselineYear1Arm1_T1-Sagittal-Insula-FrontoTemporal_copy1',
            answer: 0,
            tutorialStep: 1,
          },
          {
            text: `If you're not sure, click 'help' \n to discuss with scientists ${''}`,
            pointer: 'NDARINV00HEV6HB_baselineYear1Arm1_T1-Axial-BasalGangila-Putamen',
            answer: 0,
            tutorialStep: 2,
          },
          {
            text: 'Are you ready to play?',
            tutorialCompleted: true,
          },
        ],
      },
    },
  
  };
  