'use strict';

angular.module('Data', [])
	.constant('AnnotationEditorData', {
		review: {
			'__v': 0,
			'_id': '5425f6340b751fc2ca270113',
			'aggregatedSentiment': 2,
			'analysis': {
				'hasBeenManuallyAnnotated': true
			},
			'feature2sentiment': [{
				'category': 'Primary Performance',
				'name': 'very easy to use',
				'text': 'It is very easy to use',
				'syn': 'very easy to use',
				'sentiment': 1,
				'start': 123,
				'offset': 22,
				'uid': 'Overall Performance',
				'version': 'v2'
			}, {
				'category': 'Primary Performance',
				'name': 'shower',
				'text': ' can be used in shower also',
				'syn': 'shower',
				'sentiment': 1,
				'start': 168,
				'offset': 27,
				'uid': 'Overall Performance',
				'version': 'v2'
			}, {
				'category': 'Primary Performance',
				'name': 'liked',
				'offset': 18,
				'sentiment': 0,
				'start': 250,
				'syn': 'liked',
				'text': 'Liked this product',
				'uid': 'Overall Performance',
				'version': 'v2'
			}],
			'geo': [{
				'countryCode': 'IN',
				'streetNumber': null,
				'streetName': null,
				'zipcode': null,
				'stateCode': 'MH',
				'state': 'Maharashtra',
				'city': 'Pune',
				'country': 'India',
				'longitude': 73.8567437,
				'latitude': 18.5204303
			}],
			'html': null,
			'manualAnnotation': {
				'lastUpdate': '2014-09-30T15:23:00.948Z'
			},
			'review': {
				'__v': 0,
				'_id': '541dbd860b751fc2ca216679',
				'authorAge': '18-30',
				'authorGender': 'Male',
				'authorLocation': 'Pune, Maharashtra, India',
				'authorName': 'Devendra',
				'categories': [

				],
				'channel': 'philips.co.in',
				'cons': 'bit longer charging time',
				'hash': 'ac99f13b2d81e17066cc87a975d99c1d',
				'helpfulness': {
					'total': 0,
					'positiveVotes': 0
				},
				'html': '<div class="BVRRReviewTextParagraph BVRRReviewTextFirstParagraph BVRRReviewTextLastParagraph"><span class="BVRRReviewText">It is very easy to use. I liked it because it can be used in shower also!! Blades are sharp and gives you perfect clean shave. liked this product</div>',
				'keywords': [

				],
				'language': 'gb',
				'link': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'linkToProductPage': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/',
				'linkToSingleReview': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'normalizedProductInfos': [

				],
				'productNames': [

				],
				'pros': 'sharp blades, easy to use, waterproof',
				'pubDate': '2013-10-04T22:00:00.000Z',
				'rating': {
					'best': 5,
					'value': 5
				},
				'source': 'philips.in',
				'subtitle': 'Must for every men',
				'title': 'AT610/14',
				'country': 'India'
			},
			'state': 2
		}
	})
	.constant('TagSelectionData', {
		tagsInput: [{
			'_id': '564499a9cf53f30100411fee',
			'name': 'angle',
			'type': 'user-generated',
			'domain': 'male grooming',
			'languages': [
				'us'
			],
			'syn': 'angle',
			'uid': 'Ergonomics',
			'category': 'Overall Performance'
		}, {
			'_id': '562c9b30b6685c010003acaa',
			'name': 'attachments size',
			'type': 'user-generated',
			'domain': 'male grooming',
			'languages': [
				'us'
			],
			'syn': 'attachment size',
			'uid': 'Accessories',
			'category': 'Product execution / Features'
		}, {
			'_id': '562cb5dfb6685c010003acbf',
			'name': 'beard trimmer',
			'type': 'user-generated',
			'domain': 'male grooming',
			'languages': [
				'gb'
			],
			'syn': 'beard trimmer',
			'uid': 'Accessories',
			'category': 'Product execution / Features'
		}],
		expectedCategories: {
			'Overall Performance': {
				uid: {
					'Ergonomics': {
						'_status': {
							'isOpen': false,
							'mouseOver': false,
							'sentiment': null,
							'newSynonym': ''
						},
						'angle': {

						},
						'syns': 'angle',
						'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
					}
				},
				uidKeys: ['Ergonomics']
			},
			'Product execution / Features': {
				uid: {
					'Accessories': {
						'_status': {
							'isOpen': false,
							'mouseOver': false,
							'sentiment': null,
							'newSynonym': ''
						},
						'attachments size': {

						},
						'beard trimmer': {

						},
						'syns': 'attachments size, beard trimmer',
						'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
					}
				},
				uidKeys: ['Accessories']
			}
		},
		expectedUidTree: {
			'Ergonomics': {
				'_status': {
					'isOpen': false,
					'mouseOver': false,
					'sentiment': null,
					'newSynonym': ''
				},
				'angle': {

				},
				'syns': 'angle',
				'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
			},
			'Accessories': {
				'_status': {
					'isOpen': false,
					'mouseOver': false,
					'sentiment': null,
					'newSynonym': ''
				},
				'attachments size': {

				},
				'beard trimmer': {

				},
				'syns': 'attachments size, beard trimmer',
				'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
			}
		},
		uidsKeys: [
			'Ergonomics',
			'Accessories'
		],
		categoriesKeys: [
			'Overall Performance',
			'Product execution / Features'
		],
		review: {
			'__v': 0,
			'_id': '5425f6340b751fc2ca270113',
			'aggregatedSentiment': 2,
			'analysis': {
				'hasBeenManuallyAnnotated': true
			},
			'feature2sentiment': [{
				'category': 'Primary Performance',
				'name': 'very easy to use',
				'text': 'It is very easy to use',
				'syn': 'very easy to use',
				'sentiment': 1,
				'start': 123,
				'offset': 22,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01E'
			}, {
				'category': 'Product execution / Features',
				'name': 'pippo',
				'text': 'I liked it because it can',
				'syn': 'pippo',
				'sentiment': 1,
				'start': 147,
				'offset': 25,
				'uid': 'Accessories',
				'version': 'v2',
				'$$hashKey': '01G'
			}, {
				'category': 'Primary Performance',
				'name': 'shower',
				'text': ' can be used in shower also',
				'syn': 'shower',
				'sentiment': 1,
				'start': 168,
				'offset': 27,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01F'
			}, {
				'category': 'Primary Performance',
				'name': 'liked',
				'text': 'Liked this product',
				'syn': 'liked',
				'sentiment': 0,
				'start': 250,
				'offset': 18,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01K'
			}],
			'geo': [{
				'countryCode': 'IN',
				'streetNumber': null,
				'streetName': null,
				'zipcode': null,
				'stateCode': 'MH',
				'state': 'Maharashtra',
				'city': 'Pune',
				'country': 'India',
				'longitude': 73.8567437,
				'latitude': 18.5204303
			}],
			'html': null,
			'manualAnnotation': {
				'lastUpdate': '2014-09-30T15:23:00.948Z'
			},
			'review': {
				'__v': 0,
				'_id': '541dbd860b751fc2ca216679',
				'authorAge': '18-30',
				'authorGender': 'Male',
				'authorLocation': 'Pune, Maharashtra, India',
				'authorName': 'Devendra',
				'categories': [

				],
				'channel': 'philips.co.in',
				'cons': 'bit longer charging time',
				'hash': 'ac99f13b2d81e17066cc87a975d99c1d',
				'helpfulness': {
					'total': 0,
					'positiveVotes': 0
				},
				'html': '<div class="BVRRReviewTextParagraph BVRRReviewTextFirstParagraph BVRRReviewTextLastParagraph"><span class="BVRRReviewText">It is <span id="aspect-annotation-0" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(0)"><b>#very easy to use</b></span>. I liked it because it can be used in <span id="aspect-annotation-2" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(2)"><b>#shower</b></span> also!! Blades are sharp and gives you perfect clean shave. <span id="aspect-annotation-3" class="neg-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(3)"><b>#liked</b></span> this product</div>',
				'keywords': [

				],
				'language': 'gb',
				'link': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'linkToProductPage': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/',
				'linkToSingleReview': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'normalizedProductInfos': [

				],
				'productNames': [

				],
				'pros': 'sharp blades, easy to use, waterproof',
				'pubDate': '2013-10-04T22:00:00.000Z',
				'rating': {
					'best': 5,
					'value': 5
				},
				'source': 'philips.in',
				'subtitle': 'Must for every men',
				'title': 'AT610/14',
				'country': 'India'
			},
			'state': 2
		},
		expectedCategoriesAfterAddingNewTag: {

			'Overall Performance': {
				uid: {
					'Ergonomics': {
						'_status': {
							'isOpen': false,
							'mouseOver': false,
							'sentiment': null,
							'newSynonym': ''
						},
						'angle': {

						},
						'blades are sharp': {},
						'syns': 'angle, blades are sharp',
						'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
					}
				},
				'uidKeys': [
					'Ergonomics'
				]
			},
			'Product execution / Features': {
				uid: {
					'Accessories': {
						'_status': {
							'isOpen': false,
							'mouseOver': false,
							'sentiment': null,
							'newSynonym': ''
						},
						'attachments size': {

						},
						'beard trimmer': {

						},
						'syns': 'attachments size, beard trimmer',
						'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
					}
				},
				'uidKeys': [
					'Accessories'
				]
			}
		},
		expectedUidTreeAfterAddingNewTag: {
			'Ergonomics': {
				'_status': {
					'isOpen': false,
					'mouseOver': false,
					'sentiment': null,
					'newSynonym': ''
				},
				'angle': {},
				'blades are sharp': {},
				'syns': 'angle, blades are sharp',
				'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
			},
			'Accessories': {
				'_status': {
					'isOpen': false,
					'mouseOver': false,
					'sentiment': null,
					'newSynonym': ''
				},
				'attachments size': {

				},
				'beard trimmer': {

				},
				'syns': 'attachments size, beard trimmer',
				'definition': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac lacus erat. Praesent aliquet pulvinar velit, vitae tempus mi molestie mattis. Ut eget tellus nisi.'
			}
		},
		review1: {
			'__v': 0,
			'_id': '5425f6340b751fc2ca270113',
			'aggregatedSentiment': 2,
			'analysis': {
				'hasBeenManuallyAnnotated': true
			},
			'feature2sentiment': [{
				'category': 'Primary Performance',
				'name': 'very easy to use',
				'text': 'It is very easy to use',
				'syn': 'very easy to use',
				'sentiment': 1,
				'start': 123,
				'offset': 22,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01E'
			}, {
				'category': 'Product execution / Features',
				'name': 'pippo',
				'text': 'I liked it because it can',
				'syn': 'pippo',
				'sentiment': 1,
				'start': 147,
				'offset': 25,
				'uid': 'Accessories',
				'version': 'v2',
				'$$hashKey': '01G'
			}, {
				'category': 'Primary Performance',
				'name': 'shower',
				'text': ' can be used in shower also',
				'syn': 'shower',
				'sentiment': 1,
				'start': 168,
				'offset': 27,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01F'
			}, {
				'category': 'Primary Performance',
				'name': 'liked',
				'text': 'Liked this product',
				'syn': 'liked',
				'sentiment': 0,
				'start': 250,
				'offset': 18,
				'uid': 'Overall Performance',
				'version': 'v2',
				'$$hashKey': '01K'
			}, {
				'category': 'Primary Performance',
				'name': 'blades are sharp',
				'syn': 'blades are sharp',
				'sentiment': 1,
				'uid': 'Overall Performance',
				'version': 'v2',
				'start': 219,
				'offset': 20,
				'text': 'blades are sharp'
			}],
			'geo': [{
				'countryCode': 'IN',
				'streetNumber': null,
				'streetName': null,
				'zipcode': null,
				'stateCode': 'MH',
				'state': 'Maharashtra',
				'city': 'Pune',
				'country': 'India',
				'longitude': 73.8567437,
				'latitude': 18.5204303
			}],
			'html': null,
			'manualAnnotation': {
				'lastUpdate': '2014-09-30T15:23:00.948Z'
			},
			'review': {
				'__v': 0,
				'_id': '541dbd860b751fc2ca216679',
				'authorAge': '18-30',
				'authorGender': 'Male',
				'authorLocation': 'Pune, Maharashtra, India',
				'authorName': 'Devendra',
				'categories': [

				],
				'channel': 'philips.co.in',
				'cons': 'bit longer charging time',
				'hash': 'ac99f13b2d81e17066cc87a975d99c1d',
				'helpfulness': {
					'total': 0,
					'positiveVotes': 0
				},
				'html': '<div class="BVRRReviewTextParagraph BVRRReviewTextFirstParagraph BVRRReviewTextLastParagraph"><span class="BVRRReviewText">It is <span id="aspect-annotation-0" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(0)"><b>#very easy to use</b></span>. I liked it because it can be used in <span id="aspect-annotation-2" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(2)"><b>#shower</b></span> also!! Blades are sharp and gives you perfect clean shave. <span id="aspect-annotation-3" class="neg-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(3)"><b>#liked</b></span> this product</div>',
				'keywords': [

				],
				'language': 'gb',
				'link': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'linkToProductPage': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/',
				'linkToSingleReview': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'normalizedProductInfos': [

				],
				'productNames': [

				],
				'pros': 'sharp blades, easy to use, waterproof',
				'pubDate': '2013-10-04T22:00:00.000Z',
				'rating': {
					'best': 5,
					'value': 5
				},
				'source': 'philips.in',
				'subtitle': 'Must for every men',
				'title': 'AT610/14',
				'country': 'India'
			},
			'state': 2
		},
		review2: {
			'__v': 0,
			'_id': '5425f6340b751fc2ca270113',
			'aggregatedSentiment': 2,
			'analysis': {
				'hasBeenManuallyAnnotated': true
			},
			'feature2sentiment': [{
				'category': 'Primary Performance',
				'name': 'very easy to use',
				'text': 'It is very easy to use',
				'syn': 'very easy to use',
				'sentiment': 1,
				'start': 123,
				'offset': 22,
				'uid': 'Overall Performance',
				'version': 'v2'
			}, {
				'category': 'Product execution / Features',
				'name': 'pippo',
				'text': 'I liked it because it can',
				'syn': 'pippo',
				'sentiment': 1,
				'start': 147,
				'offset': 25,
				'uid': 'Accessories',
				'version': 'v2'
			}, {
				'category': 'Primary Performance',
				'name': 'shower',
				'text': ' can be used in shower also',
				'syn': 'shower',
				'sentiment': 1,
				'start': 168,
				'offset': 27,
				'uid': 'Overall Performance',
				'version': 'v2'
			}, {
				'category': 'Primary Performance',
				'name': 'liked',
				'text': 'Liked this product',
				'syn': 'liked',
				'sentiment': 0,
				'start': 250,
				'offset': 18,
				'uid': 'Overall Performance',
				'version': 'v2'
			}, {
				'category': 'Overall Performance',
				'name': 'blades are sharp',
				'text': 'blades are sharp',
				'syn': 'blades are sharp',
				'sentiment': 1,
				'start': 219,
				'offset': 20,
				'uid': 'Ergonomics',
				'version': 'v2',
				'origin':undefined,
				'id':'_bladesaresharp_219_20_Ergonomics_OverallPerformance_'
			}],
			'geo': [{
				'countryCode': 'IN',
				'streetNumber': null,
				'streetName': null,
				'zipcode': null,
				'stateCode': 'MH',
				'state': 'Maharashtra',
				'city': 'Pune',
				'country': 'India',
				'longitude': 73.8567437,
				'latitude': 18.5204303
			}],
			'html': null,
			'manualAnnotation': {
				'lastUpdate': '2014-09-30T15:23:00.948Z'
			},
			'review': {
				'__v': 0,
				'_id': '541dbd860b751fc2ca216679',
				'authorAge': '18-30',
				'authorGender': 'Male',
				'authorLocation': 'Pune, Maharashtra, India',
				'authorName': 'Devendra',
				'categories': [

				],
				'channel': 'philips.co.in',
				'cons': 'bit longer charging time',
				'hash': 'ac99f13b2d81e17066cc87a975d99c1d',
				'helpfulness': {
					'total': 0,
					'positiveVotes': 0
				},
				'html': '<div class="BVRRReviewTextParagraph BVRRReviewTextFirstParagraph BVRRReviewTextLastParagraph"><span class="BVRRReviewText">It is <span id="aspect-annotation-0" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(0)"><b>#very easy to use</b></span>. I liked it because it can be used in <span id="aspect-annotation-2" class="pos-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(2)"><b>#shower</b></span> also!! Blades are sharp and gives you perfect clean shave. <span id="aspect-annotation-3" class="neg-sentiment-highlight annotation-highlight" aspect-annotation ng-click="AspectAnnotation.click(3)"><b>#liked</b></span> this product</div>',
				'keywords': [

				],
				'language': 'gb',
				'link': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'linkToProductPage': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/',
				'linkToSingleReview': 'http://www.philips.co.in/c/mens-shaving/aquatouch-electric-shaver-wet-dry-with-aquatec-wet-dry-at620_14/prd/?st=user&t=awards#page6',
				'normalizedProductInfos': [

				],
				'productNames': [

				],
				'pros': 'sharp blades, easy to use, waterproof',
				'pubDate': '2013-10-04T22:00:00.000Z',
				'rating': {
					'best': 5,
					'value': 5
				},
				'source': 'philips.in',
				'subtitle': 'Must for every men',
				'title': 'AT610/14',
				'country': 'India'
			},
			'state': 2
		}
	});