public
Fork of caffo/colorplan
Description: Managing projects using colors.
Homepage: http://colorplanit.com/
Clone URL: git://github.com/tiefox/colorplan.git
Updated codebase to rails 2.0-stable
caffo (author)
Wed Mar 19 19:57:13 -0700 2008
commit  61ec3623405858411a7d4450ee4376c55908594f
tree    4a13d99fa53b6b28060e6a278c7f6e1e14ba1230
parent  8436bab9875a9fa34ddbd1a29a482411c0f2d857
0
...
1
2
3
 
 
 
4
5
6
7
8
...
1
2
 
3
4
5
6
 
7
8
9
0
@@ -1,8 +1,9 @@
0
 = colorplan
0
 
0
-colorplan is a toy project created to help myself find a little peace in the middle of all my projects. The idea was to provide an interface I can just set my eyes on, spot the project that requires more attention, work and mark it as worked. Using Ruby on Rails, a bit of gaming theory and aging algorithms I got something along those lines in one evening.
0
+colorplan is a toy project created to help myself find a little peace in the middle of all my projects. The idea was provide an interface where I can just set my eyes on, spot the project that requires more attention, work and mark it as worked. Using Ruby on Rails, a bit of gaming theory and aging algorithms I got something along those lines in one evening.
0
+
0
+In colorplan, projects 'age' while waiting for your attention. Every project have its own aging priority and will get older based on that. This 'age' is reflected on the interface as the projects' background color: A 'green' project has been worked on just a few minutes ago, while a 'red' project requires immediate attention. After finishing a task related to a project, you mark the project as worked and - ding! - he gets a shiny green background again!
0
 
0
-In colorplan, projects 'age' while waiting for your attention. Every project can have its own aging priority and will get older based on that. This 'age' is reflected on the interface as the projects' background color: A 'green' project has been worked on just a few minutes ago, while a 'red' project requires immediate attention. After finishing a task related to a project, you mark the project as worked and - ding! - he gets a shiny green background again!
0
 The concept is pretty simple: if a project is more important than another, you should spend more time on it. And if you are doing your homework and breaking your projects in small, doable quests/tasks, you will be able to do all of them pretty well.
0
 
0
 == INSTRUCTIONS:
...
1
 
 
2
3
4
 
5
6
7
8
9
 
 
 
 
 
 
 
 
10
11
12
 
 
 
13
14
15
16
17
18
 
 
 
 
 
 
 
19
20
21
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
24
25
 
 
 
 
 
 
26
27
28
29
 
 
 
30
31
32
33
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
36
37
38
39
 
 
 
 
 
 
 
 
 
40
41
 
42
43
44
45
 
 
...
 
1
2
3
 
 
4
5
 
 
 
 
6
7
8
9
10
11
12
13
14
 
 
15
16
17
18
 
 
 
 
 
19
20
21
22
23
24
25
26
 
 
 
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
 
49
50
51
52
53
54
55
 
 
 
56
57
58
59
 
 
 
 
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
 
 
 
94
95
96
97
98
99
100
101
102
103
104
105
106
 
 
107
108
109
0
@@ -1,44 +1,108 @@
0
-# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
0
+# Don't change this file!
0
+# Configure your app in config/environment.rb and config/environments/*.rb
0
 
0
-unless defined?(RAILS_ROOT)
0
- root_path = File.join(File.dirname(__FILE__), '..')
0
+RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
0
 
0
- unless RUBY_PLATFORM =~ /mswin32/
0
- require 'pathname'
0
- root_path = Pathname.new(root_path).cleanpath(true).to_s
0
- end
0
+module Rails
0
+ class << self
0
+ def boot!
0
+ unless booted?
0
+ preinitialize
0
+ pick_boot.run
0
+ end
0
+ end
0
 
0
- RAILS_ROOT = root_path
0
-end
0
+ def booted?
0
+ defined? Rails::Initializer
0
+ end
0
 
0
-unless defined?(Rails::Initializer)
0
- if File.directory?("#{RAILS_ROOT}/vendor/rails")
0
- require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
0
- else
0
- require 'rubygems'
0
+ def pick_boot
0
+ (vendor_rails? ? VendorBoot : GemBoot).new
0
+ end
0
+
0
+ def vendor_rails?
0
+ File.exist?("#{RAILS_ROOT}/vendor/rails")
0
+ end
0
 
0
- environment_without_comments = IO.readlines(File.dirname(__FILE__) + '/environment.rb').reject { |l| l =~ /^#/ }.join
0
- environment_without_comments =~ /[^#]RAILS_GEM_VERSION = '([\d.]+)'/
0
- rails_gem_version = $1
0
+ def preinitialize
0
+ load(preinitializer_path) if File.exist?(preinitializer_path)
0
+ end
0
+
0
+ def preinitializer_path
0
+ "#{RAILS_ROOT}/config/preinitializer.rb"
0
+ end
0
+ end
0
+
0
+ class Boot
0
+ def run
0
+ load_initializer
0
+ Rails::Initializer.run(:set_load_path)
0
+ end
0
+ end
0
+
0
+ class VendorBoot < Boot
0
+ def load_initializer
0
+ require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
0
+ end
0
+ end
0
 
0
- if version = defined?(RAILS_GEM_VERSION) ? RAILS_GEM_VERSION : rails_gem_version
0
- rails_gem = Gem.cache.search('rails', "=#{version}").first
0
+ class GemBoot < Boot
0
+ def load_initializer
0
+ self.class.load_rubygems
0
+ load_rails_gem
0
+ require 'initializer'
0
+ end
0
 
0
- if rails_gem
0
- require_gem "rails", "=#{version}"
0
- require rails_gem.full_gem_path + '/lib/initializer'
0
+ def load_rails_gem
0
+ if version = self.class.gem_version
0
+ gem 'rails', version
0
       else
0
- STDERR.puts %(Cannot find gem for Rails =#{version}:
0
- Install the missing gem with 'gem install -v=#{version} rails', or
0
- change environment.rb to define RAILS_GEM_VERSION with your desired version.
0
- )
0
+ gem 'rails'
0
+ end
0
+ rescue Gem::LoadError => load_error
0
+ $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
0
+ exit 1
0
+ end
0
+
0
+ class << self
0
+ def rubygems_version
0
+ Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
0
+ end
0
+
0
+ def gem_version
0
+ if defined? RAILS_GEM_VERSION
0
+ RAILS_GEM_VERSION
0
+ elsif ENV.include?('RAILS_GEM_VERSION')
0
+ ENV['RAILS_GEM_VERSION']
0
+ else
0
+ parse_gem_version(read_environment_rb)
0
+ end
0
+ end
0
+
0
+ def load_rubygems
0
+ require 'rubygems'
0
+
0
+ unless rubygems_version >= '0.9.4'
0
+ $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.)
0
+ exit 1
0
+ end
0
+
0
+ rescue LoadError
0
+ $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org)
0
         exit 1
0
       end
0
- else
0
- require_gem "rails"
0
- require 'initializer'
0
+
0
+ def parse_gem_version(text)
0
+ $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
0
+ end
0
+
0
+ private
0
+ def read_environment_rb
0
+ File.read("#{RAILS_ROOT}/config/environment.rb")
0
+ end
0
     end
0
   end
0
+end
0
 
0
- Rails::Initializer.run(:set_load_path)
0
-end
0
\ No newline at end of file
0
+# All that for this:
0
+Rails.boot!
...
 
 
 
 
1
2
3
 
 
4
 
5
6
7
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
10
11
12
 
 
 
13
...
1
2
3
4
5
6
 
7
8
9
10
11
12
13
 
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 
 
 
57
58
59
60
0
@@ -1,12 +1,59 @@
0
+# Be sure to restart your server when you modify this file
0
+
0
+# Uncomment below to force Rails into production mode when
0
+# you don't control web/app server and can't set it the proper way
0
 # ENV['RAILS_ENV'] ||= 'production'
0
 
0
-RAILS_GEM_VERSION = '1.1.6'
0
+# Specifies gem version of Rails to use when vendor/rails is not present
0
+RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
0
 
0
+# Bootstrap the Rails environment, frameworks, and default configuration
0
 require File.join(File.dirname(__FILE__), 'boot')
0
 
0
 Rails::Initializer.run do |config|
0
-end
0
+ # Settings in config/environments/* take precedence over those specified here.
0
+ # Application configuration should go into files in config/initializers
0
+ # -- all .rb files in that directory are automatically loaded.
0
+ # See Rails::Configuration for more options.
0
+
0
+ # Skip frameworks you're not going to use. To use Rails without a database
0
+ # you must remove the Active Record framework.
0
+ # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
0
+
0
+ # Only load the plugins named here, in the order given. By default, all plugins
0
+ # in vendor/plugins are loaded in alphabetical order.
0
+ # :all can be used as a placeholder for all plugins not explicitly named
0
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
0
+
0
+ # Add additional load paths for your own custom dirs
0
+ # config.load_paths += %W( #{RAILS_ROOT}/extras )
0
+
0
+ # Force all environments to use the same logger level
0
+ # (by default production uses :info, the others :debug)
0
+ # config.log_level = :debug
0
+
0
+ # Your secret key for verifying cookie session data integrity.
0
+ # If you change this key, all old sessions will become invalid!
0
+ # Make sure the secret is at least 30 characters and all random,
0
+ # no regular words or you'll be exposed to dictionary attacks.
0
+ config.action_controller.session = {
0
+ :session_key => '_colorplan_session',
0
+ :secret => '3508bd7b874b8fd8992ff31cc39e99183227ec83fe5b441c41527ed80d0be69987faa0d9c4fe3e14204b625d061c5afc20f26a9f44ddbe0f2f6cf64a844dd37e'
0
+ }
0
+
0
+ # Use the database for sessions instead of the cookie-based default,
0
+ # which shouldn't be used to store highly confidential information
0
+ # (create the session table with 'rake db:sessions:create')
0
+ # config.action_controller.session_store = :active_record_store
0
+
0
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
0
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
0
+ # like if you have constraints or database-specific column types
0
+ # config.active_record.schema_format = :sql
0
+
0
+ # Activate observers that should always be running
0
+ # config.active_record.observers = :cacher, :garbage_collector
0
 
0
-def appconf
0
- YAML::load(File.open("#{RAILS_ROOT}/config/settings.yml"))
0
-end
0
+ # Make Active Record use UTC-base instead of local time
0
+ # config.active_record.default_timezone = :utc
0
+end
0
\ No newline at end of file
...
8
9
10
11
12
13
14
15
16
17
18
 
19
20
21
 
22
...
8
9
10
 
 
 
11
12
 
 
13
14
15
16
 
17
18
0
@@ -8,14 +8,10 @@ config.cache_classes = false
0
 # Log error messages when you accidentally call methods on nil.
0
 config.whiny_nils = true
0
 
0
-# Enable the breakpoint server that script/breakpointer connects to
0
-config.breakpoint_server = true
0
-
0
 # Show full error reports and disable caching
0
 config.action_controller.consider_all_requests_local = true
0
-config.action_controller.perform_caching = false
0
-config.action_view.cache_template_extensions = false
0
 config.action_view.debug_rjs = true
0
+config.action_controller.perform_caching = false
0
 
0
 # Don't care if the mailer can't send
0
-config.action_mailer.raise_delivery_errors = false
0
+config.action_mailer.raise_delivery_errors = false
0
\ No newline at end of file
...
10
11
12
 
 
 
 
13
14
15
16
17
 
18
...
10
11
12
13
14
15
16
17
18
19
20
 
21
22
0
@@ -10,9 +10,13 @@ config.cache_classes = true
0
 # Full error reports are disabled and caching is turned on
0
 config.action_controller.consider_all_requests_local = false
0
 config.action_controller.perform_caching = true
0
+config.action_view.cache_template_loading = true
0
+
0
+# Use a different cache store in production
0
+# config.cache_store = :mem_cache_store
0
 
0
 # Enable serving of images, stylesheets, and javascripts from an asset server
0
 # config.action_controller.asset_host = "http://assets.example.com"
0
 
0
-# Disable delivery errors if you bad email addresses should just be ignored
0
+# Disable delivery errors, bad email addresses will be ignored
0
 # config.action_mailer.raise_delivery_errors = false
...
13
14
15
 
 
 
16
17
18
19
20
 
...
13
14
15
16
17
18
19
20
21
 
22
23
0
@@ -13,7 +13,10 @@ config.whiny_nils = true
0
 config.action_controller.consider_all_requests_local = true
0
 config.action_controller.perform_caching = false
0
 
0
+# Disable request forgery protection in test environment
0
+config.action_controller.allow_forgery_protection = false
0
+
0
 # Tell ActionMailer not to deliver emails to the real world.
0
 # The :test delivery method accumulates sent emails in the
0
 # ActionMailer::Base.deliveries array.
0
-config.action_mailer.delivery_method = :test
0
\ No newline at end of file
0
+config.action_mailer.delivery_method = :test
...
1
2
3
 
...
1
 
2
3
0
@@ -1,2 +1,2 @@
0
 Use this README file to introduce your application and point to useful places in the API for learning more.
0
-Run "rake appdoc" to generate API documentation for your models and controllers.
0
\ No newline at end of file
0
+Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
...
37
38
39
40
41
 
...
37
38
39
 
40
41
0
@@ -37,4 +37,4 @@ RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
0
 # Example:
0
 # ErrorDocument 500 /500.html
0
 
0
-ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
0
\ No newline at end of file
0
+ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
...
1
2
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
5
6
 
 
 
 
 
7
8
9
...
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
24
25
26
27
28
29
30
31
0
@@ -1,8 +1,30 @@
0
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
- "http://www.w3.org/TR/html4/loose.dtd">
0
-<html>
0
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
0
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0
+
0
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
0
+
0
+<head>
0
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
0
+ <title>The page you were looking for doesn't exist (404)</title>
0
+ <style type="text/css">
0
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
0
+ div.dialog {
0
+ width: 25em;
0
+ padding: 0 4em;
0
+ margin: 4em auto 0 auto;
0
+ border: 1px solid #ccc;
0
+ border-right-color: #999;
0
+ border-bottom-color: #999;
0
+ }
0
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
0
+ </style>
0
+</head>
0
+
0
 <body>
0
- <h1>File not found</h1>
0
- <p>Change this error message for pages not found in public/404.html</p>
0
+ <!-- This file lives in public/404.html -->
0
+ <div class="dialog">
0
+ <h1>The page you were looking for doesn't exist.</h1>
0
+ <p>You may have mistyped the address or the page may have moved.</p>
0
+ </div>
0
 </body>
0
 </html>
0
\ No newline at end of file
...
1
2
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
5
6
 
 
 
 
 
7
8
9
...
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
24
25
26
27
28
29
30
31
0
@@ -1,8 +1,30 @@
0
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0
- "http://www.w3.org/TR/html4/loose.dtd">
0
-<html>
0
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
0
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0
+
0
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
0
+
0
+<head>
0
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
0
+ <title>We're sorry, but something went wrong (500)</title>
0
+ <style type="text/css">
0
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
0
+ div.dialog {
0
+ width: 25em;
0
+ padding: 0 4em;
0
+ margin: 4em auto 0 auto;
0
+ border: 1px solid #ccc;
0
+ border-right-color: #999;
0
+ border-bottom-color: #999;
0
+ }
0
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
0
+ </style>
0
+</head>
0
+
0
 <body>
0
- <h1>Application error</h1>
0
- <p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
0
+ <!-- This file lives in public/500.html -->
0
+ <div class="dialog">
0
+ <h1>We're sorry, but something went wrong.</h1>
0
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
0
+ </div>
0
 </body>
0
 </html>
0
\ No newline at end of file
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-#!/usr/bin/env ruby
0
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
0
 
0
 require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
0
 
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-#!/usr/bin/env ruby
0
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
0
 #
0
 # You may specify the path to the FastCGI crash log (a log of unhandled
0
 # exceptions which forced the FastCGI instance to exit, great for debugging)
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-#!/usr/bin/env ruby
0
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
0
 
0
 require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
0
 
...
1
2
3
 
 
 
4
5
6
7
8
9
 
 
10
11
12
...
33
34
35
36
37
38
 
 
 
 
 
39
40
 
 
41
42
43
44
45
46
 
47
48
 
49
50
51
 
52
53
54
55
56
57
58
59
60
61
62
63
64
 
 
 
 
 
 
 
 
 
 
65
66
 
67
68
 
69
 
 
 
70
71
72
...
74
75
76
77
78
 
 
79
80
81
82
83
84
85
 
86
87
88
...
94
95
96
97
 
98
99
100
...
132
133
134
135
 
136
137
138
139
140
 
141
142
143
144
145
 
146
147
148
...
188
189
190
191
192
193
194
...
202
203
204
 
205
206
207
208
209
 
210
211
212
...
229
230
231
232
 
233
234
235
236
237
238
239
240
 
 
 
 
241
242
243
 
244
245
246
 
247
248
249
...
254
255
256
257
 
258
259
 
260
261
 
262
263
264
...
269
270
271
272
273
274
 
 
 
 
 
 
 
275
276
277
...
282
283
284
 
285
286
287
288
289
290
291
 
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
312
 
313
314
 
 
 
 
 
 
 
 
 
315
316
317
 
318
319
320
...
324
325
326
327
 
 
 
328
329
330
...
332
333
334
335
 
336
337
338
339
340
341
342
343
344
345
...
377
378
379
380
381
 
382
383
384
...
434
435
436
437
 
438
439
440
441
442
443
 
 
444
445
446
...
451
452
453
454
455
456
 
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
 
 
 
 
 
 
 
 
 
498
499
500
 
501
502
503
504
505
506
507
508
 
 
 
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
 
 
 
 
 
597
598
599
600
601
 
602
603
604
605
606
607
608
609
610
611
612
613
 
 
 
614
615
616
 
 
 
 
 
 
 
617
618
619
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
 
 
 
 
 
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
686
687
 
688
689
690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
692
693
694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
695
696
 
697
698
699
700
 
 
 
701
702
703
704
705
 
 
 
706
707
708
709
710
711
712
713
714
 
 
 
 
 
 
 
715
716
717
718
719
720
721
722
723
724
725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
 
727
728
729
730
731
732
733
734
735
 
 
 
 
 
 
 
 
 
736
737
738
739
740
 
741
742
743
744
 
 
 
 
 
 
 
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
761
762
 
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
781
782
783
784
785
786
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
787
 
 
 
 
 
 
788
789
790
 
 
 
 
791
792
793
794
795
796
 
797
798
799
...
812
813
814
815
 
...
 
 
 
1
2
3
4
5
6
7
8
 
9
10
11
12
13
...
34
35
36
 
 
 
37
38
39
40
41
42
 
43
44
45
46
47
48
49
50
51
52
 
53
54
55
 
56
57
58
59
60
61
62
 
 
 
 
 
 
 
63
64
65
66
67
68
69
70
71
72
73
 
74
75
 
76
77
78
79
80
81
82
83
...
85
86
87
 
 
88
89
90
91
92
93
94
 
 
95
96
97
98
...
104
105
106
 
107
108
109
110
...
142
143
144
 
145
146
147
148
149
 
150
151
152
153
154
 
155
156
157
158
...
198
199
200
 
201
202
203
...
211
212
213
214
215
216
217
218
219
220
221
222
223
...
240
241
242
 
243
244
245
246
247
 
 
 
 
248
249
250
251
252
253
 
254
255
256
257
258
259
260
261
...
266
267
268
 
269
270
 
271
272
 
273
274
275
276
...
281
282
283
 
284
 
285
286
287
288
289
290
291
292
293
294
...
299
300
301
302
303
 
304
305
306
307
308
309
310
311
312
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
314
315
316
317
318
319
320
321
322
323