<commit_before><?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/halo" xmlns:s="library://ns.adobe.com/flex/spark">
	
	<fx:Script>
		<![CDATA[
			import mx.collections.ArrayCollection;
			
			public function generateDataProvider(nItems:int = 10000):ArrayCollection {
				var ac:ArrayCollection = new ArrayCollection();
				
				var sources:Array = ['San Francisco', 'New York', 'Vancouver', 'Denver', 'Hong Kong'];
				var destinations:Array = ['London', 'Houston', 'Orlando', 'Los Angeles', 'Seattle'];
				var airlines:Array = ['Air Southwest', 'Air Northwest', 'Yellow Jet', 'Blue Jet', 'Red Jet'];
				var dates:Array = ['March 23-29', 'April 23-29', 'May 1-3', 'May 10-13', 'June 6'];
				
				// create a collection of random flights
				for (var i:int = 0; i < nItems; i++){
					var temp:Object = new Object();
					var random:int = Math.random() * 5;
					
					temp.start = sources[random];
					temp.end = destinations[random];
					temp.details = dates[random] + ', ' + airlines[random] + " (Flight " + i + ")";
					ac.addItem(temp);
				}
				
				return ac;
			
			}
		]]>
	</fx:Script>
	
	<s:Scroller>
		<s:DataGroup width="600" height="200" clipAndEnableScrolling="true" dataProvider="{generateDataProvider(9000)}">
			<s:layout>
				<s:VerticalLayout gap="1" useVirtualLayout="true" />
			</s:layout>
			<s:itemRenderer>
				<fx:Component>
					<s:ItemRenderer height="20" width="600">
						<s:states>
							<mx:State name="normal" />
							<mx:State name="hovered" />
							<mx:State name="selected" />		
						</s:states>
						
						<s:transitions>
							<mx:Transition fromState="normal" toState="hovered">
								<s:Animate target="{plan}" duration="200">
									<s:AnimationProperty property="width" />
								</s:Animate>
							</mx:Transition>
							<mx:Transition fromState="hovered" toState="normal">
								<s:Animate target="{plan}" duration="200" >
									<s:AnimationProperty property="width" />
								</s:Animate>
							</mx:Transition>
						</s:transitions>
					
						<s:Rect left="0" right="0" top="0" bottom="0" radiusX="5" radiusY="5">
							<s:fill>
								<mx:SolidColor color="#E1ECF4" />
							</s:fill>
						</s:Rect>
					
						<s:HGroup verticalAlign="middle">
					
							<s:Group id="plan" height="20" width.hovered="330" width="300">
							
								<s:Rect left="0" right="0" top="0" bottom="0" radiusX="5" radiusY="5">
									<s:fill><commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after><?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/halo" xmlns:s="library://ns.adobe.com/flex/spark">
	
	<fx:Script>
		<![CDATA[
			import mx.collections.ArrayCollection;
			
			public function generateDataProvider(nItems:int = 10000):ArrayCollection {
				var ac:ArrayCollection = new ArrayCollection();
				
				var sources:Array = ['San Francisco', 'New York', 'Vancouver', 'Denver', 'Hong Kong'];
				var destinations:Array = ['London', 'Houston', 'Orlando', 'Los Angeles', 'Seattle'];
				var airlines:Array = ['Air Southwest', 'Air Northwest', 'Yellow Jet', 'Blue Jet', 'Red Jet'];
				var dates:Array = ['March 23-29', 'April 23-29', 'May 1-3', 'May 10-13', 'June 6'];
				
				// create a collection of random flights
				for (var i:int = 0; i < nItems; i++){
					var temp:Object = new Object();
					var random:int = Math.random() * 5;
					
					temp.start = sources[random];
					temp.end = destinations[random];
					temp.details = dates[random] + ', ' + airlines[random] + " (Flight " + i + ")";
					ac.addItem(temp);
				}
				
				return ac;
			
			}
		]]>
	</fx:Script>
	
	<s:Scroller>
		<s:DataGroup width="600" height="200" clipAndEnableScrolling="true" dataProvider="{generateDataProvider(9000)}">
			<s:layout>
				<s:VerticalLayout gap="1" useVirtualLayout="true" />
			</s:layout>
			<s:itemRenderer>
				<fx:Component>
					<s:ItemRenderer height="20" width="600">
						<s:states>
							<mx:State name="normal" />
							<mx:State name="hovered" />
							<mx:State name="selected" />		
						</s:states>
						
						<s:transitions>
							<mx:Transition fromState="normal" toState="hovered">
								<s:Animate target="{plan}" duration="200">
									<s:SimpleMotionPath property="width" />
								</s:Animate>
							</mx:Transition>
							<mx:Transition fromState="hovered" toState="normal">
								<s:Animate target="{plan}" duration="200" >
									<s:SimpleMotionPath property="width" />
								</s:Animate>
							</mx:Transition>
						</s:transitions>
					
						<s:Rect left="0" right="0" top="0" bottom="0" radiusX="5" radiusY="5">
							<s:fill>
								<mx:SolidColor color="#E1ECF4" />
							</s:fill>
						</s:Rect>
					
						<s:HGroup verticalAlign="middle">
					
							<s:Group id="plan" height="20" width.hovered="330" width="300">
							
								<s:Rect left="0" right="0" top="0" bottom="0" radiusX="5" radiusY="5">
									<s:fill>
{'fraction_non_alphanumeric': 0.18422613164657048, 'fraction_numerical': 0.028859458390986362, 'mean_word_length': 3.0806451612903225, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 2, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5533063', 'n_tokens_mistral': 2369, 'n_tokens_neox': 1661, 'n_words': 342}