mail 2.6.1 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT-LICENSE +1 -1
- data/README.md +92 -80
- data/lib/mail/attachments_list.rb +11 -5
- data/lib/mail/body.rb +81 -44
- data/lib/mail/check_delivery_params.rb +50 -10
- data/lib/mail/configuration.rb +3 -0
- data/lib/mail/{patterns.rb → constants.rb} +26 -6
- data/lib/mail/core_extensions/smtp.rb +20 -16
- data/lib/mail/core_extensions/string.rb +1 -27
- data/lib/mail/elements/address.rb +81 -93
- data/lib/mail/elements/address_list.rb +12 -29
- data/lib/mail/elements/content_disposition_element.rb +9 -15
- data/lib/mail/elements/content_location_element.rb +8 -12
- data/lib/mail/elements/content_transfer_encoding_element.rb +6 -10
- data/lib/mail/elements/content_type_element.rb +9 -19
- data/lib/mail/elements/date_time_element.rb +7 -14
- data/lib/mail/elements/envelope_from_element.rb +15 -21
- data/lib/mail/elements/message_ids_element.rb +12 -14
- data/lib/mail/elements/mime_version_element.rb +7 -14
- data/lib/mail/elements/phrase_list.rb +7 -9
- data/lib/mail/elements/received_element.rb +10 -15
- data/lib/mail/elements.rb +1 -0
- data/lib/mail/encodings/7bit.rb +6 -15
- data/lib/mail/encodings/8bit.rb +5 -18
- data/lib/mail/encodings/base64.rb +15 -10
- data/lib/mail/encodings/binary.rb +4 -22
- data/lib/mail/encodings/identity.rb +24 -0
- data/lib/mail/encodings/quoted_printable.rb +13 -7
- data/lib/mail/encodings/transfer_encoding.rb +47 -28
- data/lib/mail/encodings/unix_to_unix.rb +20 -0
- data/lib/mail/encodings.rb +121 -82
- data/lib/mail/envelope.rb +2 -1
- data/lib/mail/field.rb +114 -62
- data/lib/mail/field_list.rb +2 -1
- data/lib/mail/fields/bcc_field.rb +17 -5
- data/lib/mail/fields/cc_field.rb +2 -2
- data/lib/mail/fields/comments_field.rb +2 -1
- data/lib/mail/fields/common/address_container.rb +3 -2
- data/lib/mail/fields/common/common_address.rb +40 -14
- data/lib/mail/fields/common/common_date.rb +2 -1
- data/lib/mail/fields/common/common_field.rb +6 -11
- data/lib/mail/fields/common/common_message_id.rb +3 -2
- data/lib/mail/fields/common/parameter_hash.rb +5 -4
- data/lib/mail/fields/content_description_field.rb +2 -1
- data/lib/mail/fields/content_disposition_field.rb +14 -13
- data/lib/mail/fields/content_id_field.rb +5 -4
- data/lib/mail/fields/content_location_field.rb +3 -2
- data/lib/mail/fields/content_transfer_encoding_field.rb +3 -2
- data/lib/mail/fields/content_type_field.rb +7 -11
- data/lib/mail/fields/date_field.rb +4 -4
- data/lib/mail/fields/from_field.rb +2 -2
- data/lib/mail/fields/in_reply_to_field.rb +2 -1
- data/lib/mail/fields/keywords_field.rb +3 -3
- data/lib/mail/fields/message_id_field.rb +3 -2
- data/lib/mail/fields/mime_version_field.rb +4 -3
- data/lib/mail/fields/optional_field.rb +5 -1
- data/lib/mail/fields/received_field.rb +5 -4
- data/lib/mail/fields/references_field.rb +2 -1
- data/lib/mail/fields/reply_to_field.rb +2 -2
- data/lib/mail/fields/resent_bcc_field.rb +2 -2
- data/lib/mail/fields/resent_cc_field.rb +2 -2
- data/lib/mail/fields/resent_date_field.rb +2 -2
- data/lib/mail/fields/resent_from_field.rb +2 -2
- data/lib/mail/fields/resent_message_id_field.rb +2 -1
- data/lib/mail/fields/resent_sender_field.rb +2 -2
- data/lib/mail/fields/resent_to_field.rb +2 -2
- data/lib/mail/fields/return_path_field.rb +2 -2
- data/lib/mail/fields/sender_field.rb +2 -2
- data/lib/mail/fields/structured_field.rb +1 -0
- data/lib/mail/fields/subject_field.rb +2 -1
- data/lib/mail/fields/to_field.rb +2 -2
- data/lib/mail/fields/unstructured_field.rb +28 -10
- data/lib/mail/fields.rb +1 -0
- data/lib/mail/header.rb +18 -14
- data/lib/mail/indifferent_hash.rb +1 -0
- data/lib/mail/mail.rb +6 -11
- data/lib/mail/matchers/attachment_matchers.rb +29 -0
- data/lib/mail/matchers/has_sent_mail.rb +53 -9
- data/lib/mail/message.rb +99 -89
- data/lib/mail/multibyte/chars.rb +32 -30
- data/lib/mail/multibyte/unicode.rb +31 -26
- data/lib/mail/multibyte/utils.rb +1 -0
- data/lib/mail/multibyte.rb +65 -15
- data/lib/mail/network/delivery_methods/exim.rb +7 -10
- data/lib/mail/network/delivery_methods/file_delivery.rb +5 -8
- data/lib/mail/network/delivery_methods/logger_delivery.rb +37 -0
- data/lib/mail/network/delivery_methods/sendmail.rb +17 -11
- data/lib/mail/network/delivery_methods/smtp.rb +60 -53
- data/lib/mail/network/delivery_methods/smtp_connection.rb +11 -6
- data/lib/mail/network/delivery_methods/test_mailer.rb +6 -8
- data/lib/mail/network/retriever_methods/base.rb +1 -0
- data/lib/mail/network/retriever_methods/imap.rb +19 -5
- data/lib/mail/network/retriever_methods/pop3.rb +4 -1
- data/lib/mail/network/retriever_methods/test_retriever.rb +2 -1
- data/lib/mail/network.rb +2 -0
- data/lib/mail/parser_tools.rb +15 -0
- data/lib/mail/parsers/address_lists_parser.rb +33208 -104
- data/lib/mail/parsers/address_lists_parser.rl +172 -0
- data/lib/mail/parsers/content_disposition_parser.rb +877 -49
- data/lib/mail/parsers/content_disposition_parser.rl +82 -0
- data/lib/mail/parsers/content_location_parser.rb +804 -23
- data/lib/mail/parsers/content_location_parser.rl +71 -0
- data/lib/mail/parsers/content_transfer_encoding_parser.rb +502 -19
- data/lib/mail/parsers/content_transfer_encoding_parser.rl +64 -0
- data/lib/mail/parsers/content_type_parser.rb +1024 -46
- data/lib/mail/parsers/content_type_parser.rl +83 -0
- data/lib/mail/parsers/date_time_parser.rb +872 -23
- data/lib/mail/parsers/date_time_parser.rl +62 -0
- data/lib/mail/parsers/envelope_from_parser.rb +3570 -34
- data/lib/mail/parsers/envelope_from_parser.rl +82 -0
- data/lib/mail/parsers/message_ids_parser.rb +2840 -25
- data/lib/mail/parsers/message_ids_parser.rl +82 -0
- data/lib/mail/parsers/mime_version_parser.rb +492 -26
- data/lib/mail/parsers/mime_version_parser.rl +61 -0
- data/lib/mail/parsers/phrase_lists_parser.rb +862 -17
- data/lib/mail/parsers/phrase_lists_parser.rl +83 -0
- data/lib/mail/parsers/received_parser.rb +8765 -36
- data/lib/mail/parsers/received_parser.rl +84 -0
- data/lib/mail/parsers/rfc2045_content_transfer_encoding.rl +13 -0
- data/lib/mail/parsers/rfc2045_content_type.rl +25 -0
- data/lib/mail/parsers/rfc2045_mime.rl +16 -0
- data/lib/mail/parsers/rfc2183_content_disposition.rl +15 -0
- data/lib/mail/parsers/rfc3629_utf8.rl +19 -0
- data/lib/mail/parsers/rfc5234_abnf_core_rules.rl +22 -0
- data/lib/mail/parsers/rfc5322.rl +59 -0
- data/lib/mail/parsers/rfc5322_address.rl +72 -0
- data/lib/mail/parsers/{ragel/date_time.rl → rfc5322_date_time.rl} +8 -1
- data/lib/mail/parsers/rfc5322_lexical_tokens.rl +60 -0
- data/lib/mail/parsers.rb +17 -24
- data/lib/mail/part.rb +8 -5
- data/lib/mail/parts_list.rb +31 -14
- data/lib/mail/utilities.rb +112 -13
- data/lib/mail/values/unicode_tables.dat +0 -0
- data/lib/mail/version.rb +8 -15
- data/lib/mail/version_specific/ruby_1_8.rb +52 -8
- data/lib/mail/version_specific/ruby_1_9.rb +143 -24
- data/lib/mail.rb +8 -14
- metadata +71 -81
- data/CHANGELOG.rdoc +0 -752
- data/CONTRIBUTING.md +0 -60
- data/Dependencies.txt +0 -2
- data/Gemfile +0 -15
- data/Rakefile +0 -29
- data/TODO.rdoc +0 -9
- data/VERSION +0 -4
- data/lib/mail/core_extensions/nil.rb +0 -19
- data/lib/mail/core_extensions/object.rb +0 -13
- data/lib/mail/core_extensions/string/access.rb +0 -145
- data/lib/mail/core_extensions/string/multibyte.rb +0 -78
- data/lib/mail/multibyte/exceptions.rb +0 -8
- data/lib/mail/parsers/ragel/common.rl +0 -184
- data/lib/mail/parsers/ragel/parser_info.rb +0 -61
- data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb +0 -14864
- data/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb +0 -751
- data/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb +0 -614
- data/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb +0 -447
- data/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb +0 -825
- data/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb +0 -817
- data/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb +0 -2129
- data/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb +0 -1570
- data/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb +0 -440
- data/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb +0 -564
- data/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl +0 -51
- data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb +0 -5144
- data/lib/mail/parsers/ragel/ruby/machines/received_machine.rb.rl +0 -37
- data/lib/mail/parsers/ragel/ruby/parser.rb.rl.erb +0 -37
- data/lib/mail/parsers/ragel/ruby.rb +0 -39
- data/lib/mail/parsers/ragel.rb +0 -17
@@ -1,34 +1,815 @@
|
|
1
|
+
|
2
|
+
# frozen_string_literal: true
|
3
|
+
require "mail/utilities"
|
4
|
+
require "mail/parser_tools"
|
5
|
+
|
1
6
|
module Mail::Parsers
|
2
|
-
|
3
|
-
|
4
|
-
content_location = ContentLocationStruct.new(nil)
|
5
|
-
if s.blank?
|
6
|
-
return content_location
|
7
|
-
end
|
7
|
+
module ContentLocationParser
|
8
|
+
extend Mail::ParserTools
|
8
9
|
|
9
|
-
|
10
|
-
if error
|
11
|
-
raise Mail::Field::ParseError.new(Mail::ContentLocationElement, s, error)
|
12
|
-
end
|
10
|
+
ContentLocationStruct = Struct.new(:location, :error)
|
13
11
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
class << self
|
13
|
+
attr_accessor :_trans_keys
|
14
|
+
private :_trans_keys, :_trans_keys=
|
15
|
+
end
|
16
|
+
self._trans_keys = [
|
17
|
+
0, 0, 9, 126, 10, 10,
|
18
|
+
9, 32, 10, 10, 9,
|
19
|
+
32, 1, 244, 10, 10,
|
20
|
+
9, 32, 0, 244, 128, 191,
|
21
|
+
160, 191, 128, 191, 128,
|
22
|
+
159, 144, 191, 128, 191,
|
23
|
+
128, 143, 10, 10, 9, 32,
|
24
|
+
9, 126, 1, 244, 1,
|
25
|
+
244, 10, 10, 9, 32,
|
26
|
+
0, 244, 128, 191, 160, 191,
|
27
|
+
128, 191, 128, 159, 144,
|
28
|
+
191, 128, 191, 128, 143,
|
29
|
+
9, 126, 9, 40, 9, 40,
|
30
|
+
1, 244, 1, 244, 1,
|
31
|
+
244, 1, 244, 9, 126,
|
32
|
+
0, 0, 0,
|
33
|
+
]
|
18
34
|
|
19
|
-
|
20
|
-
|
21
|
-
|
35
|
+
class << self
|
36
|
+
attr_accessor :_key_spans
|
37
|
+
private :_key_spans, :_key_spans=
|
38
|
+
end
|
39
|
+
self._key_spans = [
|
40
|
+
0, 118, 1, 24, 1, 24, 244, 1,
|
41
|
+
24, 245, 64, 32, 64, 32, 48, 64,
|
42
|
+
16, 1, 24, 118, 244, 244, 1, 24,
|
43
|
+
245, 64, 32, 64, 32, 48, 64, 16,
|
44
|
+
118, 32, 32, 244, 244, 244, 244, 118,
|
45
|
+
0,
|
46
|
+
]
|
22
47
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
48
|
+
class << self
|
49
|
+
attr_accessor :_index_offsets
|
50
|
+
private :_index_offsets, :_index_offsets=
|
51
|
+
end
|
52
|
+
self._index_offsets = [
|
53
|
+
0, 0, 119, 121, 146, 148, 173, 418,
|
54
|
+
420, 445, 691, 756, 789, 854, 887, 936,
|
55
|
+
1001, 1018, 1020, 1045, 1164, 1409, 1654, 1656,
|
56
|
+
1681, 1927, 1992, 2025, 2090, 2123, 2172, 2237,
|
57
|
+
2254, 2373, 2406, 2439, 2684, 2929, 3174, 3419,
|
58
|
+
3538,
|
59
|
+
]
|
27
60
|
|
28
|
-
|
29
|
-
|
61
|
+
class << self
|
62
|
+
attr_accessor :_indicies
|
63
|
+
private :_indicies, :_indicies=
|
64
|
+
end
|
65
|
+
self._indicies = [
|
66
|
+
0, 1, 1, 1, 2, 1, 1, 1,
|
67
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
68
|
+
1, 1, 1, 1, 1, 1, 1, 0,
|
69
|
+
3, 4, 3, 3, 3, 3, 3, 5,
|
70
|
+
1, 3, 3, 3, 3, 3, 1, 3,
|
71
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
72
|
+
3, 1, 1, 1, 3, 1, 1, 1,
|
73
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
74
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
75
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
76
|
+
3, 3, 1, 1, 1, 3, 3, 3,
|
77
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
78
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
79
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
80
|
+
3, 3, 3, 3, 3, 3, 1, 6,
|
81
|
+
1, 0, 1, 1, 1, 1, 1, 1,
|
82
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
83
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
84
|
+
0, 1, 7, 1, 8, 1, 1, 1,
|
85
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
86
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
87
|
+
1, 1, 1, 8, 1, 9, 9, 9,
|
88
|
+
9, 9, 9, 9, 9, 9, 1, 9,
|
89
|
+
9, 10, 9, 9, 9, 9, 9, 9,
|
90
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
91
|
+
9, 9, 9, 9, 9, 9, 11, 9,
|
92
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
93
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
94
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
95
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
96
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
97
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
98
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
99
|
+
12, 9, 9, 9, 9, 9, 9, 9,
|
100
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
101
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
102
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
103
|
+
9, 9, 9, 9, 1, 1, 1, 1,
|
104
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
105
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
106
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
107
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
108
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
109
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
110
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
111
|
+
1, 1, 1, 1, 1, 1, 13, 13,
|
112
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
113
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
114
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
115
|
+
13, 13, 13, 13, 14, 15, 15, 15,
|
116
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
117
|
+
15, 16, 15, 15, 17, 18, 18, 18,
|
118
|
+
19, 1, 20, 1, 9, 1, 1, 1,
|
119
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
120
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
121
|
+
1, 1, 1, 9, 1, 9, 9, 9,
|
122
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
123
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
124
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
125
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
126
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
127
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
128
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
129
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
130
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
131
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
132
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
133
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
134
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
135
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
136
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
137
|
+
9, 9, 9, 9, 9, 1, 1, 1,
|
138
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
139
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
140
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
141
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
142
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
143
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
144
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
145
|
+
1, 1, 1, 1, 1, 1, 1, 13,
|
146
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
147
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
148
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
149
|
+
13, 13, 13, 13, 13, 14, 15, 15,
|
150
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
151
|
+
15, 15, 16, 15, 15, 17, 18, 18,
|
152
|
+
18, 19, 1, 9, 9, 9, 9, 9,
|
153
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
154
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
155
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
156
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
157
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
158
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
159
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
160
|
+
9, 9, 9, 1, 13, 13, 13, 13,
|
161
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
162
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
163
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
164
|
+
13, 13, 13, 13, 1, 13, 13, 13,
|
165
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
166
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
167
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
168
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
169
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
170
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
171
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
172
|
+
13, 13, 13, 13, 13, 1, 13, 13,
|
173
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
174
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
175
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
176
|
+
13, 13, 13, 13, 13, 13, 1, 15,
|
177
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
178
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
179
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
180
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
181
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
182
|
+
15, 15, 15, 15, 15, 15, 15, 1,
|
183
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
184
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
185
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
186
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
187
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
188
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
189
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
190
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
191
|
+
1, 15, 15, 15, 15, 15, 15, 15,
|
192
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
193
|
+
15, 1, 21, 1, 22, 1, 1, 1,
|
194
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
195
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
196
|
+
1, 1, 1, 22, 1, 23, 1, 1,
|
197
|
+
1, 24, 1, 1, 1, 1, 1, 1,
|
198
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
199
|
+
1, 1, 1, 1, 23, 25, 26, 25,
|
200
|
+
25, 25, 25, 25, 27, 1, 25, 25,
|
201
|
+
25, 25, 25, 1, 25, 25, 25, 25,
|
202
|
+
25, 25, 25, 25, 25, 25, 1, 1,
|
203
|
+
1, 25, 1, 1, 1, 25, 25, 25,
|
204
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
205
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
206
|
+
25, 25, 25, 25, 25, 25, 25, 1,
|
207
|
+
1, 1, 25, 25, 25, 25, 25, 25,
|
208
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
209
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
210
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
211
|
+
25, 25, 25, 1, 28, 28, 28, 28,
|
212
|
+
28, 28, 28, 28, 28, 1, 28, 28,
|
213
|
+
29, 28, 28, 28, 28, 28, 28, 28,
|
214
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
215
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
216
|
+
28, 28, 28, 30, 31, 28, 28, 28,
|
217
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
218
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
219
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
220
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
221
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
222
|
+
28, 28, 28, 28, 28, 28, 28, 32,
|
223
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
224
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
225
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
226
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
227
|
+
28, 28, 28, 1, 1, 1, 1, 1,
|
228
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
229
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
230
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
231
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
232
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
233
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
234
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
235
|
+
1, 1, 1, 1, 1, 33, 33, 33,
|
236
|
+
33, 33, 33, 33, 33, 33, 33, 33,
|
237
|
+
33, 33, 33, 33, 33, 33, 33, 33,
|
238
|
+
33, 33, 33, 33, 33, 33, 33, 33,
|
239
|
+
33, 33, 33, 34, 35, 35, 35, 35,
|
240
|
+
35, 35, 35, 35, 35, 35, 35, 35,
|
241
|
+
36, 35, 35, 37, 38, 38, 38, 39,
|
242
|
+
1, 40, 40, 40, 40, 40, 40, 40,
|
243
|
+
40, 40, 1, 40, 40, 41, 40, 40,
|
244
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
245
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
246
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
247
|
+
42, 43, 40, 40, 40, 40, 40, 40,
|
248
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
249
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
250
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
251
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
252
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
253
|
+
40, 40, 40, 40, 44, 40, 40, 40,
|
254
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
255
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
256
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
257
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
258
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
259
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
260
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
261
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
262
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
263
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
264
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
265
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
266
|
+
1, 1, 45, 45, 45, 45, 45, 45,
|
267
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
268
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
269
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
270
|
+
46, 47, 47, 47, 47, 47, 47, 47,
|
271
|
+
47, 47, 47, 47, 47, 48, 47, 47,
|
272
|
+
49, 50, 50, 50, 51, 1, 52, 1,
|
273
|
+
40, 1, 1, 1, 1, 1, 1, 1,
|
274
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
275
|
+
1, 1, 1, 1, 1, 1, 1, 40,
|
276
|
+
1, 40, 40, 40, 40, 40, 40, 40,
|
277
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
278
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
279
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
280
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
281
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
282
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
283
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
284
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
285
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
286
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
287
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
288
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
289
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
290
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
291
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
292
|
+
40, 1, 1, 1, 1, 1, 1, 1,
|
293
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
294
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
295
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
296
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
297
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
298
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
299
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
300
|
+
1, 1, 1, 45, 45, 45, 45, 45,
|
301
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
302
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
303
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
304
|
+
45, 46, 47, 47, 47, 47, 47, 47,
|
305
|
+
47, 47, 47, 47, 47, 47, 48, 47,
|
306
|
+
47, 49, 50, 50, 50, 51, 1, 40,
|
307
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
308
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
309
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
310
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
311
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
312
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
313
|
+
40, 40, 40, 40, 40, 40, 40, 40,
|
314
|
+
40, 40, 40, 40, 40, 40, 40, 1,
|
315
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
316
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
317
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
318
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
319
|
+
1, 45, 45, 45, 45, 45, 45, 45,
|
320
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
321
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
322
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
323
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
324
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
325
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
326
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
327
|
+
45, 1, 45, 45, 45, 45, 45, 45,
|
328
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
329
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
330
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
331
|
+
45, 45, 1, 47, 47, 47, 47, 47,
|
332
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
333
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
334
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
335
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
336
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
337
|
+
47, 47, 47, 1, 47, 47, 47, 47,
|
338
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
339
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
340
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
341
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
342
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
343
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
344
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
345
|
+
47, 47, 47, 47, 1, 47, 47, 47,
|
346
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
347
|
+
47, 47, 47, 47, 47, 1, 53, 1,
|
348
|
+
1, 1, 54, 1, 1, 1, 1, 1,
|
349
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
350
|
+
1, 1, 1, 1, 1, 53, 55, 55,
|
351
|
+
55, 55, 55, 55, 55, 56, 1, 55,
|
352
|
+
55, 55, 55, 55, 1, 55, 55, 55,
|
353
|
+
55, 55, 55, 55, 55, 55, 55, 1,
|
354
|
+
1, 1, 55, 1, 1, 1, 55, 55,
|
355
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
356
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
357
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
358
|
+
1, 1, 1, 55, 55, 55, 55, 55,
|
359
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
360
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
361
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
362
|
+
55, 55, 55, 55, 1, 8, 1, 1,
|
363
|
+
1, 57, 1, 1, 1, 1, 1, 1,
|
364
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
365
|
+
1, 1, 1, 1, 8, 1, 1, 1,
|
366
|
+
1, 1, 1, 1, 58, 1, 59, 1,
|
367
|
+
1, 1, 60, 1, 1, 1, 1, 1,
|
368
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
369
|
+
1, 1, 1, 1, 1, 59, 1, 1,
|
370
|
+
1, 1, 1, 1, 1, 61, 1, 62,
|
371
|
+
62, 62, 62, 62, 62, 62, 62, 63,
|
372
|
+
1, 62, 62, 64, 62, 62, 62, 62,
|
373
|
+
62, 62, 62, 62, 62, 62, 62, 62,
|
374
|
+
62, 62, 62, 62, 62, 62, 63, 65,
|
375
|
+
66, 65, 65, 65, 65, 65, 67, 62,
|
376
|
+
65, 65, 65, 65, 65, 62, 65, 65,
|
377
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
378
|
+
62, 62, 62, 65, 62, 62, 62, 65,
|
379
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
380
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
381
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
382
|
+
65, 62, 68, 62, 65, 65, 65, 65,
|
383
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
384
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
385
|
+
65, 65, 65, 65, 65, 65, 65, 65,
|
386
|
+
65, 65, 65, 65, 65, 62, 1, 1,
|
387
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
388
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
389
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
390
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
391
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
392
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
393
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
394
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
395
|
+
69, 69, 69, 69, 69, 69, 69, 69,
|
396
|
+
69, 69, 69, 69, 69, 69, 69, 69,
|
397
|
+
69, 69, 69, 69, 69, 69, 69, 69,
|
398
|
+
69, 69, 69, 69, 69, 69, 70, 71,
|
399
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
400
|
+
71, 71, 71, 72, 71, 71, 73, 74,
|
401
|
+
74, 74, 75, 1, 9, 9, 9, 9,
|
402
|
+
9, 9, 9, 9, 22, 1, 9, 9,
|
403
|
+
76, 9, 9, 9, 9, 9, 9, 9,
|
404
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
405
|
+
9, 9, 9, 22, 9, 11, 9, 9,
|
406
|
+
9, 9, 9, 77, 9, 9, 9, 9,
|
407
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
408
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
409
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
410
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
411
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
412
|
+
9, 9, 9, 9, 9, 9, 9, 12,
|
413
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
414
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
415
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
416
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
417
|
+
9, 9, 9, 1, 1, 1, 1, 1,
|
418
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
419
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
420
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
421
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
422
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
423
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
424
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
425
|
+
1, 1, 1, 1, 1, 13, 13, 13,
|
426
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
427
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
428
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
429
|
+
13, 13, 13, 14, 15, 15, 15, 15,
|
430
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
431
|
+
16, 15, 15, 17, 18, 18, 18, 19,
|
432
|
+
1, 9, 9, 9, 9, 9, 9, 9,
|
433
|
+
9, 78, 1, 9, 9, 79, 9, 9,
|
434
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
435
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
436
|
+
78, 9, 11, 9, 9, 9, 9, 9,
|
437
|
+
80, 9, 9, 9, 9, 9, 9, 9,
|
438
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
439
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
440
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
441
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
442
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
443
|
+
9, 9, 9, 9, 12, 9, 9, 9,
|
444
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
445
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
446
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
447
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
448
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
449
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
450
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
451
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
452
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
453
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
454
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
455
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
456
|
+
1, 1, 13, 13, 13, 13, 13, 13,
|
457
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
458
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
459
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
460
|
+
14, 15, 15, 15, 15, 15, 15, 15,
|
461
|
+
15, 15, 15, 15, 15, 16, 15, 15,
|
462
|
+
17, 18, 18, 18, 19, 1, 9, 9,
|
463
|
+
9, 9, 9, 9, 9, 9, 81, 1,
|
464
|
+
9, 9, 82, 9, 9, 9, 9, 9,
|
465
|
+
9, 9, 9, 9, 9, 9, 9, 9,
|
466
|
+
9, 9, 9, 9, 9, 81, 83, 84,
|
467
|
+
83, 83, 83, 83, 83, 85, 9, 83,
|
468
|
+
83, 83, 83, 83, 9, 83, 83, 83,
|
469
|
+
83, 83, 83, 83, 83, 83, 83, 9,
|
470
|
+
9, 9, 83, 9, 9, 9, 83, 83,
|
471
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
472
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
473
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
474
|
+
9, 12, 9, 83, 83, 83, 83, 83,
|
475
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
476
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
477
|
+
83, 83, 83, 83, 83, 83, 83, 83,
|
478
|
+
83, 83, 83, 83, 9, 1, 1, 1,
|
479
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
480
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
481
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
482
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
483
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
484
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
485
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
486
|
+
1, 1, 1, 1, 1, 1, 1, 13,
|
487
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
488
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
489
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
490
|
+
13, 13, 13, 13, 13, 14, 15, 15,
|
491
|
+
15, 15, 15, 15, 15, 15, 15, 15,
|
492
|
+
15, 15, 16, 15, 15, 17, 18, 18,
|
493
|
+
18, 19, 1, 53, 1, 1, 1, 54,
|
494
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
495
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
496
|
+
1, 1, 53, 55, 55, 55, 55, 55,
|
497
|
+
55, 55, 86, 1, 55, 55, 55, 55,
|
498
|
+
55, 1, 55, 55, 55, 55, 55, 55,
|
499
|
+
55, 55, 55, 55, 1, 1, 1, 55,
|
500
|
+
1, 1, 1, 55, 55, 55, 55, 55,
|
501
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
502
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
503
|
+
55, 55, 55, 55, 55, 1, 1, 1,
|
504
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
505
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
506
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
507
|
+
55, 55, 55, 55, 55, 55, 55, 55,
|
508
|
+
55, 1, 1, 0,
|
509
|
+
]
|
510
|
+
|
511
|
+
class << self
|
512
|
+
attr_accessor :_trans_targs
|
513
|
+
private :_trans_targs, :_trans_targs=
|
514
|
+
end
|
515
|
+
self._trans_targs = [
|
516
|
+
1, 0, 2, 32, 35, 19, 3, 5,
|
517
|
+
33, 6, 7, 33, 9, 10, 11, 12,
|
518
|
+
13, 14, 15, 16, 8, 18, 36, 1,
|
519
|
+
2, 32, 35, 19, 21, 22, 21, 40,
|
520
|
+
24, 25, 26, 27, 28, 29, 30, 31,
|
521
|
+
21, 22, 21, 40, 24, 25, 26, 27,
|
522
|
+
28, 29, 30, 31, 23, 33, 4, 32,
|
523
|
+
34, 4, 34, 33, 4, 34, 6, 36,
|
524
|
+
17, 38, 39, 37, 9, 10, 11, 12,
|
525
|
+
13, 14, 15, 16, 17, 37, 36, 17,
|
526
|
+
37, 36, 17, 38, 39, 37, 34,
|
527
|
+
]
|
528
|
+
|
529
|
+
class << self
|
530
|
+
attr_accessor :_trans_actions
|
531
|
+
private :_trans_actions, :_trans_actions=
|
532
|
+
end
|
533
|
+
self._trans_actions = [
|
534
|
+
0, 0, 0, 1, 1, 2, 0, 0,
|
535
|
+
0, 0, 0, 3, 0, 0, 0, 0,
|
536
|
+
0, 0, 0, 0, 0, 0, 0, 4,
|
537
|
+
4, 5, 5, 6, 7, 7, 8, 9,
|
538
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
539
|
+
0, 0, 2, 10, 0, 0, 0, 0,
|
540
|
+
0, 0, 0, 0, 0, 11, 11, 0,
|
541
|
+
12, 0, 2, 4, 4, 6, 13, 14,
|
542
|
+
14, 13, 15, 16, 13, 13, 13, 13,
|
543
|
+
13, 13, 13, 13, 0, 2, 4, 4,
|
544
|
+
6, 11, 11, 0, 3, 12, 17,
|
545
|
+
]
|
546
|
+
|
547
|
+
class << self
|
548
|
+
attr_accessor :_eof_actions
|
549
|
+
private :_eof_actions, :_eof_actions=
|
550
|
+
end
|
551
|
+
self._eof_actions = [
|
552
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
553
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
554
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
555
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
556
|
+
11, 0, 4, 11, 0, 4, 11, 11,
|
557
|
+
0,
|
558
|
+
]
|
559
|
+
|
560
|
+
class << self
|
561
|
+
attr_accessor :start
|
562
|
+
end
|
563
|
+
self.start = 1
|
564
|
+
class << self
|
565
|
+
attr_accessor :first_final
|
566
|
+
end
|
567
|
+
self.first_final = 32
|
568
|
+
class << self
|
569
|
+
attr_accessor :error
|
570
|
+
end
|
571
|
+
self.error = 0
|
572
|
+
|
573
|
+
class << self
|
574
|
+
attr_accessor :en_comment_tail
|
575
|
+
end
|
576
|
+
self.en_comment_tail = 20
|
577
|
+
class << self
|
578
|
+
attr_accessor :en_main
|
579
|
+
end
|
580
|
+
self.en_main = 1
|
581
|
+
|
582
|
+
def self.parse(data)
|
583
|
+
data = data.dup.force_encoding(Encoding::ASCII_8BIT) if data.respond_to?(:force_encoding)
|
584
|
+
|
585
|
+
content_location = ContentLocationStruct.new(nil)
|
586
|
+
return content_location if Mail::Utilities.blank?(data)
|
587
|
+
|
588
|
+
# Parser state
|
589
|
+
disp_type_s = param_attr_s = param_attr = qstr_s = qstr = param_val_s = nil
|
590
|
+
|
591
|
+
# 5.1 Variables Used by Ragel
|
592
|
+
p = 0
|
593
|
+
eof = pe = data.length
|
594
|
+
stack = []
|
595
|
+
|
596
|
+
begin
|
597
|
+
p ||= 0
|
598
|
+
pe ||= data.length
|
599
|
+
cs = start
|
600
|
+
top = 0
|
601
|
+
end
|
602
|
+
|
603
|
+
begin
|
604
|
+
testEof = false
|
605
|
+
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
606
|
+
_goto_level = 0
|
607
|
+
_resume = 10
|
608
|
+
_eof_trans = 15
|
609
|
+
_again = 20
|
610
|
+
_test_eof = 30
|
611
|
+
_out = 40
|
612
|
+
while true
|
613
|
+
if _goto_level <= 0
|
614
|
+
if p == pe
|
615
|
+
_goto_level = _test_eof
|
616
|
+
next
|
617
|
+
end
|
618
|
+
if cs == 0
|
619
|
+
_goto_level = _out
|
620
|
+
next
|
621
|
+
end
|
622
|
+
end
|
623
|
+
if _goto_level <= _resume
|
624
|
+
_keys = cs << 1
|
625
|
+
_inds = _index_offsets[cs]
|
626
|
+
_slen = _key_spans[cs]
|
627
|
+
_wide = data[p].ord
|
628
|
+
_trans = if (_slen > 0 &&
|
629
|
+
_trans_keys[_keys] <= _wide &&
|
630
|
+
_wide <= _trans_keys[_keys + 1])
|
631
|
+
_indicies[_inds + _wide - _trans_keys[_keys]]
|
632
|
+
else
|
633
|
+
_indicies[_inds + _slen]
|
634
|
+
end
|
635
|
+
cs = _trans_targs[_trans]
|
636
|
+
if _trans_actions[_trans] != 0
|
637
|
+
case _trans_actions[_trans]
|
638
|
+
when 13
|
639
|
+
begin
|
640
|
+
qstr_s = p
|
641
|
+
end
|
642
|
+
when 3
|
643
|
+
begin
|
644
|
+
content_location.location = chars(data, qstr_s, p - 1)
|
645
|
+
end
|
646
|
+
when 1
|
647
|
+
begin
|
648
|
+
token_string_s = p
|
649
|
+
end
|
650
|
+
when 11
|
651
|
+
begin
|
652
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
653
|
+
end
|
654
|
+
when 4
|
655
|
+
begin
|
656
|
+
end
|
657
|
+
when 7
|
658
|
+
begin
|
659
|
+
end
|
660
|
+
when 2
|
661
|
+
begin
|
662
|
+
begin
|
663
|
+
stack[top] = cs
|
664
|
+
top += 1
|
665
|
+
cs = 20
|
666
|
+
_goto_level = _again
|
667
|
+
next
|
668
|
+
end
|
669
|
+
end
|
670
|
+
when 10
|
671
|
+
begin
|
672
|
+
begin
|
673
|
+
top -= 1
|
674
|
+
cs = stack[top]
|
675
|
+
_goto_level = _again
|
676
|
+
next
|
677
|
+
end
|
678
|
+
end
|
679
|
+
when 15
|
680
|
+
begin
|
681
|
+
qstr_s = p
|
682
|
+
end
|
683
|
+
begin
|
684
|
+
content_location.location = chars(data, qstr_s, p - 1)
|
685
|
+
end
|
686
|
+
when 14
|
687
|
+
begin
|
688
|
+
qstr_s = p
|
689
|
+
end
|
690
|
+
begin
|
691
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
692
|
+
end
|
693
|
+
when 12
|
694
|
+
begin
|
695
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
696
|
+
end
|
697
|
+
begin
|
698
|
+
begin
|
699
|
+
stack[top] = cs
|
700
|
+
top += 1
|
701
|
+
cs = 20
|
702
|
+
_goto_level = _again
|
703
|
+
next
|
704
|
+
end
|
705
|
+
end
|
706
|
+
when 5
|
707
|
+
begin
|
708
|
+
end
|
709
|
+
begin
|
710
|
+
token_string_s = p
|
711
|
+
end
|
712
|
+
when 6
|
713
|
+
begin
|
714
|
+
end
|
715
|
+
begin
|
716
|
+
begin
|
717
|
+
stack[top] = cs
|
718
|
+
top += 1
|
719
|
+
cs = 20
|
720
|
+
_goto_level = _again
|
721
|
+
next
|
722
|
+
end
|
723
|
+
end
|
724
|
+
when 8
|
725
|
+
begin
|
726
|
+
end
|
727
|
+
begin
|
728
|
+
begin
|
729
|
+
stack[top] = cs
|
730
|
+
top += 1
|
731
|
+
cs = 20
|
732
|
+
_goto_level = _again
|
733
|
+
next
|
734
|
+
end
|
735
|
+
end
|
736
|
+
when 9
|
737
|
+
begin
|
738
|
+
end
|
739
|
+
begin
|
740
|
+
begin
|
741
|
+
top -= 1
|
742
|
+
cs = stack[top]
|
743
|
+
_goto_level = _again
|
744
|
+
next
|
745
|
+
end
|
746
|
+
end
|
747
|
+
when 17
|
748
|
+
begin
|
749
|
+
begin
|
750
|
+
stack[top] = cs
|
751
|
+
top += 1
|
752
|
+
cs = 20
|
753
|
+
_goto_level = _again
|
754
|
+
next
|
755
|
+
end
|
756
|
+
end
|
757
|
+
begin
|
758
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
759
|
+
end
|
760
|
+
when 16
|
761
|
+
begin
|
762
|
+
qstr_s = p
|
763
|
+
end
|
764
|
+
begin
|
765
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
766
|
+
end
|
767
|
+
begin
|
768
|
+
begin
|
769
|
+
stack[top] = cs
|
770
|
+
top += 1
|
771
|
+
cs = 20
|
772
|
+
_goto_level = _again
|
773
|
+
next
|
774
|
+
end
|
775
|
+
end
|
776
|
+
end
|
777
|
+
end
|
778
|
+
end
|
779
|
+
if _goto_level <= _again
|
780
|
+
if cs == 0
|
781
|
+
_goto_level = _out
|
782
|
+
next
|
783
|
+
end
|
784
|
+
p += 1
|
785
|
+
if p != pe
|
786
|
+
_goto_level = _resume
|
787
|
+
next
|
788
|
+
end
|
789
|
+
end
|
790
|
+
if _goto_level <= _test_eof
|
791
|
+
if p == eof
|
792
|
+
case _eof_actions[cs]
|
793
|
+
when 11
|
794
|
+
begin
|
795
|
+
content_location.location = chars(data, token_string_s, p - 1)
|
796
|
+
end
|
797
|
+
when 4
|
798
|
+
begin
|
799
|
+
end
|
800
|
+
end
|
801
|
+
end
|
802
|
+
end
|
803
|
+
if _goto_level <= _out
|
804
|
+
break
|
805
|
+
end
|
30
806
|
end
|
31
807
|
end
|
808
|
+
|
809
|
+
if p != eof || cs < 32
|
810
|
+
raise Mail::Field::IncompleteParseError.new(Mail::ContentLocationElement, data, p)
|
811
|
+
end
|
812
|
+
|
32
813
|
content_location
|
33
814
|
end
|
34
815
|
end
|