@asciidoctor/core 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1950,9 +1950,9 @@ Opal.modules["asciidoctor/core_ext/hash/merge"] = function(Opal) {
1950
1950
  function $rb_gt(lhs, rhs) {
1951
1951
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
1952
1952
  }
1953
- var $$1, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $send = Opal.send, $truthy = Opal.truthy, $hash2 = Opal.hash2;
1953
+ var $$1, self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $send = Opal.send, $truthy = Opal.truthy;
1954
1954
 
1955
- Opal.add_stubs(['$==', '$arity', '$instance_method', '$send', '$new', '$<', '$length', '$>', '$inject', '$merge', '$[]']);
1955
+ Opal.add_stubs(['$==', '$arity', '$instance_method', '$send', '$new', '$<', '$length', '$dup', '$>', '$inject', '$merge', '$[]']);
1956
1956
  if ($$($nesting, 'Hash').$instance_method("merge").$arity()['$=='](1)) {
1957
1957
  return $$($nesting, 'Hash').$send("prepend", $send($$($nesting, 'Module'), 'new', [], ($$1 = function(){var self = $$1.$$s || this, $merge$2;
1958
1958
 
@@ -1966,7 +1966,7 @@ Opal.modules["asciidoctor/core_ext/hash/merge"] = function(Opal) {
1966
1966
 
1967
1967
  args = $post_args;;
1968
1968
  if ($truthy($rb_lt((len = args.$length()), 1))) {
1969
- return $send(self, Opal.find_super_dispatcher(self, 'merge', $merge$2, false), [$hash2([], {})], null)
1969
+ return self.$dup()
1970
1970
  } else {
1971
1971
 
1972
1972
  if ($truthy($rb_gt(len, 1))) {
@@ -5134,7 +5134,7 @@ Opal.modules["asciidoctor/version"] = function(Opal) {
5134
5134
 
5135
5135
  var $nesting = [self].concat($parent_nesting);
5136
5136
 
5137
- Opal.const_set($nesting[0], 'VERSION', "2.0.16")
5137
+ Opal.const_set($nesting[0], 'VERSION', "2.0.17")
5138
5138
  })($nesting[0], $nesting)
5139
5139
  };
5140
5140
 
@@ -5760,15 +5760,12 @@ Opal.modules["asciidoctor/abstract_block"] = function(Opal) {
5760
5760
  function $rb_minus(lhs, rhs) {
5761
5761
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs - rhs : lhs['$-'](rhs);
5762
5762
  }
5763
- function $rb_gt(lhs, rhs) {
5764
- return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs > rhs : lhs['$>'](rhs);
5765
- }
5766
5763
  function $rb_plus(lhs, rhs) {
5767
5764
  return (typeof(lhs) === 'number' && typeof(rhs) === 'number') ? lhs + rhs : lhs['$+'](rhs);
5768
5765
  }
5769
5766
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $send = Opal.send, $truthy = Opal.truthy;
5770
5767
 
5771
- Opal.add_stubs(['$attr_reader', '$attr_writer', '$attr_accessor', '$==', '$===', '$level', '$file', '$lineno', '$playback_attributes', '$convert', '$converter', '$join', '$map', '$to_s', '$parent', '$parent=', '$-', '$<<', '$empty?', '$>', '$Integer', '$find_by_internal', '$to_proc', '$context', '$[]', '$items', '$+', '$find_index', '$include?', '$next_adjacent_block', '$blocks', '$select', '$sub_specialchars', '$match?', '$sub_replacements', '$title', '$apply_title_subs', '$delete', '$reftext', '$!', '$nil_or_empty?', '$sub_placeholder', '$sub_quotes', '$compat_mode', '$attributes', '$chomp', '$increment_and_store_counter', '$index=', '$numbered', '$sectname', '$counter', '$numeral=', '$numeral', '$caption=', '$int_to_roman', '$each', '$assign_numeral', '$reindex_sections', '$protected', '$has_role?', '$raise', '$header?', '$!=', '$flatten', '$head', '$rows', '$merge', '$body', '$foot', '$style', '$inner_document']);
5768
+ Opal.add_stubs(['$attr_reader', '$attr_writer', '$attr_accessor', '$==', '$===', '$level', '$file', '$lineno', '$playback_attributes', '$convert', '$converter', '$join', '$map', '$to_s', '$parent', '$parent=', '$-', '$<<', '$empty?', '$Integer', '$find_by_internal', '$to_proc', '$context', '$[]', '$items', '$+', '$find_index', '$include?', '$next_adjacent_block', '$blocks', '$select', '$sub_specialchars', '$match?', '$sub_replacements', '$title', '$apply_title_subs', '$delete', '$reftext', '$!', '$nil_or_empty?', '$sub_placeholder', '$sub_quotes', '$compat_mode', '$attributes', '$chomp', '$increment_and_store_counter', '$index=', '$numbered', '$sectname', '$counter', '$numeral=', '$numeral', '$caption=', '$int_to_roman', '$each', '$assign_numeral', '$reindex_sections', '$protected', '$has_role?', '$raise', '$header?', '$!=', '$flatten', '$head', '$rows', '$merge', '$body', '$foot', '$style', '$inner_document']);
5772
5769
  return (function($base, $parent_nesting) {
5773
5770
  var self = $module($base, 'Asciidoctor');
5774
5771
 
@@ -5779,7 +5776,7 @@ Opal.modules["asciidoctor/abstract_block"] = function(Opal) {
5779
5776
 
5780
5777
  var $nesting = [self].concat($parent_nesting), $AbstractBlock_initialize$1, $AbstractBlock_block$ques$2, $AbstractBlock_inline$ques$3, $AbstractBlock_file$4, $AbstractBlock_lineno$5, $AbstractBlock_convert$6, $AbstractBlock_content$7, $AbstractBlock_context$eq$9, $AbstractBlock_$lt$lt$10, $AbstractBlock_blocks$ques$11, $AbstractBlock_sections$ques$12, $AbstractBlock_number$13, $AbstractBlock_number$eq$14, $AbstractBlock_find_by$15, $AbstractBlock_next_adjacent_block$16, $AbstractBlock_sections$18, $AbstractBlock_alt$20, $AbstractBlock_caption$21, $AbstractBlock_captioned_title$22, $AbstractBlock_list_marker_keyword$23, $AbstractBlock_title$24, $AbstractBlock_title$ques$25, $AbstractBlock_title$eq$26, $AbstractBlock_sub$ques$27, $AbstractBlock_remove_sub$28, $AbstractBlock_xreftext$29, $AbstractBlock_assign_caption$30, $AbstractBlock_assign_numeral$31, $AbstractBlock_reindex_sections$32, $AbstractBlock_find_by_internal$34;
5781
5778
 
5782
- self.$$prototype.source_location = self.$$prototype.document = self.$$prototype.attributes = self.$$prototype.blocks = self.$$prototype.next_section_index = self.$$prototype.numeral = self.$$prototype.context = self.$$prototype.parent = self.$$prototype.caption = self.$$prototype.style = self.$$prototype.converted_title = self.$$prototype.title = self.$$prototype.subs = self.$$prototype.next_section_ordinal = self.$$prototype.id = self.$$prototype.header = nil;
5779
+ self.$$prototype.source_location = self.$$prototype.document = self.$$prototype.attributes = self.$$prototype.blocks = self.$$prototype.numeral = self.$$prototype.context = self.$$prototype.parent = self.$$prototype.caption = self.$$prototype.style = self.$$prototype.converted_title = self.$$prototype.title = self.$$prototype.subs = self.$$prototype.next_section_index = self.$$prototype.next_section_ordinal = self.$$prototype.id = self.$$prototype.header = nil;
5783
5780
 
5784
5781
  self.$attr_reader("blocks");
5785
5782
  self.$attr_writer("caption");
@@ -5900,7 +5897,7 @@ Opal.modules["asciidoctor/abstract_block"] = function(Opal) {
5900
5897
  Opal.def(self, '$sections?', $AbstractBlock_sections$ques$12 = function() {
5901
5898
  var self = this;
5902
5899
 
5903
- return $rb_gt(self.next_section_index, 0)
5900
+ return false
5904
5901
  }, $AbstractBlock_sections$ques$12.$$arity = 0);
5905
5902
 
5906
5903
  Opal.def(self, '$number', $AbstractBlock_number$13 = function $$number() {
@@ -6882,7 +6879,7 @@ Opal.modules["asciidoctor/converter"] = function(Opal) {
6882
6879
  }
6883
6880
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $hash2 = Opal.hash2, $truthy = Opal.truthy, $send = Opal.send, $klass = Opal.klass, $gvars = Opal.gvars;
6884
6881
 
6885
- Opal.add_stubs(['$autoload', '$__dir__', '$attr_reader', '$raise', '$class', '$[]', '$sub', '$slice', '$length', '$==', '$[]=', '$backend_traits', '$-', '$derive_backend_traits', '$register', '$map', '$to_s', '$new', '$create', '$default', '$each', '$default=', '$registry', '$for', '$===', '$supports_templates?', '$merge', '$private', '$include', '$delete', '$clear', '$send', '$extend', '$private_class_method', '$node_name', '$+', '$receiver', '$name', '$warn', '$logger', '$respond_to?', '$content']);
6882
+ Opal.add_stubs(['$autoload', '$__dir__', '$==', '$attr_reader', '$raise', '$class', '$[]', '$sub', '$slice', '$length', '$[]=', '$backend_traits', '$-', '$derive_backend_traits', '$register', '$map', '$to_s', '$new', '$create', '$default', '$each', '$default=', '$registry', '$for', '$===', '$supports_templates?', '$merge', '$private', '$include', '$delete', '$clear', '$send', '$extend', '$private_class_method', '$node_name', '$+', '$receiver', '$name', '$warn', '$logger', '$respond_to?', '$content']);
6886
6883
  return (function($base, $parent_nesting) {
6887
6884
  var self = $module($base, 'Asciidoctor');
6888
6885
 
@@ -6895,7 +6892,10 @@ Opal.modules["asciidoctor/converter"] = function(Opal) {
6895
6892
 
6896
6893
 
6897
6894
  self.$autoload("CompositeConverter", "" + (self.$__dir__()) + "/converter/composite");
6898
- self.$autoload("TemplateConverter", "" + (self.$__dir__()) + "/converter/template");
6895
+ if ($$($nesting, 'RUBY_ENGINE')['$==']("opal")) {
6896
+ } else {
6897
+ nil
6898
+ };
6899
6899
  self.$attr_reader("backend");
6900
6900
 
6901
6901
  Opal.def(self, '$initialize', $Converter_initialize$1 = function $$initialize(backend, opts) {
@@ -7423,7 +7423,7 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
7423
7423
  }
7424
7424
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $hash2 = Opal.hash2, $hash = Opal.hash, $gvars = Opal.gvars;
7425
7425
 
7426
- Opal.add_stubs(['$new', '$attr_reader', '$nil?', '$<<', '$[]', '$[]=', '$-', '$include?', '$strip', '$squeeze', '$gsub', '$empty?', '$!', '$rpartition', '$attr_accessor', '$delete', '$base_dir', '$options', '$merge', '$catalog', '$instance_variable_get', '$attributes', '$safe', '$compat_mode', '$outfilesuffix', '$sourcemap', '$path_resolver', '$converter', '$extensions', '$syntax_highlighter', '$each', '$end_with?', '$start_with?', '$slice', '$length', '$chop', '$==', '$downcase', '$===', '$extname', '$value_for_name', '$key?', '$freeze', '$attribute_undefined', '$attribute_missing', '$update', '$&', '$keys', '$name_for_value', '$expand_path', '$pwd', '$to_s', '$>=', '$+', '$abs', '$to_i', '$delete_if', '$update_doctype_attributes', '$cursor', '$parse', '$restore_attributes', '$update_backend_attributes', '$fetch', '$fill_datetime_attributes', '$activate', '$groups', '$create', '$to_proc', '$preprocessors?', '$preprocessors', '$process_method', '$tree_processors?', '$tree_processors', '$!=', '$counter', '$attribute_locked?', '$nil_or_empty?', '$nextval', '$value', '$save_to', '$register', '$tap', '$xreftext', '$source', '$source_lines', '$doctitle', '$sectname=', '$title=', '$first_section', '$title', '$reftext', '$>', '$<', '$find', '$context', '$assign_numeral', '$clear_playback_attributes', '$save_attributes', '$name', '$negate', '$rewind', '$replace', '$apply_attribute_value_subs', '$delete?', '$start', '$doctype', '$content_model', '$warn', '$logger', '$content', '$convert', '$postprocessors?', '$postprocessors', '$record', '$write', '$respond_to?', '$chomp', '$class', '$write_alternate_pages', '$map', '$split', '$resolve_docinfo_subs', '$normalize_system_path', '$read_asset', '$apply_subs', '$docinfo_processors?', '$join', '$concat', '$compact', '$docinfo_processors', '$object_id', '$inspect', '$size', '$private', '$=~', '$resolve_pass_subs', '$apply_header_subs', '$limit_bytesize', '$bytesize', '$valid_encoding?', '$byteslice', '$resolve_subs', '$utc', '$at', '$Integer', '$now', '$index', '$strftime', '$year', '$utc_offset', '$partition', '$create_converter', '$basebackend', '$filetype', '$htmlsyntax', '$derive_backend_traits', '$raise']);
7426
+ Opal.add_stubs(['$new', '$attr_reader', '$nil?', '$<<', '$[]', '$[]=', '$-', '$include?', '$strip', '$squeeze', '$gsub', '$empty?', '$!', '$rpartition', '$attr_accessor', '$delete', '$base_dir', '$options', '$merge', '$catalog', '$instance_variable_get', '$attributes', '$safe', '$compat_mode', '$outfilesuffix', '$sourcemap', '$path_resolver', '$converter', '$extensions', '$syntax_highlighter', '$each', '$end_with?', '$start_with?', '$slice', '$length', '$chop', '$==', '$downcase', '$===', '$extname', '$value_for_name', '$key?', '$freeze', '$attribute_undefined', '$attribute_missing', '$update', '$&', '$keys', '$name_for_value', '$expand_path', '$pwd', '$to_s', '$>=', '$+', '$abs', '$to_i', '$delete_if', '$update_doctype_attributes', '$cursor', '$parse', '$restore_attributes', '$update_backend_attributes', '$fetch', '$fill_datetime_attributes', '$activate', '$groups', '$create', '$to_proc', '$preprocessors?', '$preprocessors', '$process_method', '$tree_processors?', '$tree_processors', '$!=', '$counter', '$attribute_locked?', '$nil_or_empty?', '$nextval', '$value', '$save_to', '$register', '$tap', '$xreftext', '$>', '$source', '$source_lines', '$doctitle', '$sectname=', '$title=', '$first_section', '$title', '$reftext', '$<', '$find', '$context', '$assign_numeral', '$clear_playback_attributes', '$save_attributes', '$name', '$negate', '$rewind', '$replace', '$apply_attribute_value_subs', '$delete?', '$start', '$doctype', '$content_model', '$warn', '$logger', '$content', '$convert', '$postprocessors?', '$postprocessors', '$record', '$write', '$respond_to?', '$chomp', '$class', '$write_alternate_pages', '$map', '$split', '$resolve_docinfo_subs', '$normalize_system_path', '$read_asset', '$apply_subs', '$docinfo_processors?', '$join', '$concat', '$compact', '$docinfo_processors', '$object_id', '$inspect', '$size', '$private', '$=~', '$resolve_pass_subs', '$apply_header_subs', '$limit_bytesize', '$bytesize', '$valid_encoding?', '$byteslice', '$resolve_subs', '$utc', '$at', '$Integer', '$now', '$index', '$strftime', '$year', '$utc_offset', '$partition', '$create_converter', '$basebackend', '$filetype', '$htmlsyntax', '$derive_backend_traits', '$raise']);
7427
7427
  return (function($base, $parent_nesting) {
7428
7428
  var self = $module($base, 'Asciidoctor');
7429
7429
 
@@ -7432,9 +7432,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
7432
7432
  (function($base, $super, $parent_nesting) {
7433
7433
  var self = $klass($base, $super, 'Document');
7434
7434
 
7435
- var $nesting = [self].concat($parent_nesting), $Document$1, $Document_initialize$8, $Document_parse$11, $Document_parsed$ques$14, $Document_counter$15, $Document_increment_and_store_counter$16, $Document_register$17, $Document_resolve_id$18, $Document_footnotes$ques$22, $Document_footnotes$23, $Document_callouts$24, $Document_nested$ques$25, $Document_embedded$ques$26, $Document_extensions$ques$27, $Document_source$28, $Document_source_lines$29, $Document_basebackend$ques$30, $Document_title$31, $Document_title$eq$32, $Document_doctitle$33, $Document_xreftext$34, $Document_author$35, $Document_authors$36, $Document_revdate$37, $Document_notitle$38, $Document_noheader$39, $Document_nofooter$40, $Document_first_section$41, $Document_header$ques$43, $Document_$lt$lt$44, $Document_finalize_header$45, $Document_playback_attributes$46, $Document_restore_attributes$48, $Document_set_attribute$49, $Document_delete_attribute$50, $Document_attribute_locked$ques$51, $Document_set_header_attribute$52, $Document_convert$53, $Document_write$55, $Document_content$56, $Document_docinfo$57, $Document_docinfo_processors$ques$60, $Document_to_s$61, $Document_apply_attribute_value_subs$62, $Document_limit_bytesize$63, $Document_resolve_docinfo_subs$64, $Document_create_converter$65, $Document_clear_playback_attributes$66, $Document_save_attributes$67, $Document_fill_datetime_attributes$69, $Document_update_backend_attributes$70, $Document_update_doctype_attributes$71;
7435
+ var $nesting = [self].concat($parent_nesting), $Document$1, $Document_initialize$8, $Document_parse$11, $Document_parsed$ques$14, $Document_counter$15, $Document_increment_and_store_counter$16, $Document_register$17, $Document_resolve_id$18, $Document_sections$ques$22, $Document_footnotes$ques$23, $Document_footnotes$24, $Document_callouts$25, $Document_nested$ques$26, $Document_embedded$ques$27, $Document_extensions$ques$28, $Document_source$29, $Document_source_lines$30, $Document_basebackend$ques$31, $Document_title$32, $Document_title$eq$33, $Document_doctitle$34, $Document_xreftext$35, $Document_author$36, $Document_authors$37, $Document_revdate$38, $Document_notitle$39, $Document_noheader$40, $Document_nofooter$41, $Document_first_section$42, $Document_header$ques$44, $Document_$lt$lt$45, $Document_finalize_header$46, $Document_playback_attributes$47, $Document_restore_attributes$49, $Document_set_attribute$50, $Document_delete_attribute$51, $Document_attribute_locked$ques$52, $Document_set_header_attribute$53, $Document_convert$54, $Document_write$56, $Document_content$57, $Document_docinfo$58, $Document_docinfo_processors$ques$61, $Document_to_s$62, $Document_apply_attribute_value_subs$63, $Document_limit_bytesize$64, $Document_resolve_docinfo_subs$65, $Document_create_converter$66, $Document_clear_playback_attributes$67, $Document_save_attributes$68, $Document_fill_datetime_attributes$70, $Document_update_backend_attributes$71, $Document_update_doctype_attributes$72;
7436
7436
 
7437
- self.$$prototype.attributes = self.$$prototype.safe = self.$$prototype.sourcemap = self.$$prototype.reader = self.$$prototype.base_dir = self.$$prototype.parsed = self.$$prototype.parent_document = self.$$prototype.extensions = self.$$prototype.options = self.$$prototype.counters = self.$$prototype.catalog = self.$$prototype.reftexts = self.$$prototype.header = self.$$prototype.blocks = self.$$prototype.header_attributes = self.$$prototype.attributes_modified = self.$$prototype.backend = self.$$prototype.attribute_overrides = self.$$prototype.timings = self.$$prototype.converter = self.$$prototype.outfilesuffix = self.$$prototype.docinfo_processor_extensions = self.$$prototype.document = self.$$prototype.max_attribute_value_size = self.$$prototype.id = self.$$prototype.doctype = nil;
7437
+ self.$$prototype.attributes = self.$$prototype.safe = self.$$prototype.sourcemap = self.$$prototype.reader = self.$$prototype.base_dir = self.$$prototype.parsed = self.$$prototype.parent_document = self.$$prototype.extensions = self.$$prototype.options = self.$$prototype.counters = self.$$prototype.catalog = self.$$prototype.reftexts = self.$$prototype.next_section_index = self.$$prototype.header = self.$$prototype.blocks = self.$$prototype.header_attributes = self.$$prototype.attributes_modified = self.$$prototype.backend = self.$$prototype.attribute_overrides = self.$$prototype.timings = self.$$prototype.converter = self.$$prototype.outfilesuffix = self.$$prototype.docinfo_processor_extensions = self.$$prototype.document = self.$$prototype.max_attribute_value_size = self.$$prototype.id = self.$$prototype.doctype = nil;
7438
7438
 
7439
7439
  Opal.const_set($nesting[0], 'ImageReference', $send($$$('::', 'Struct'), 'new', ["target", "imagesdir"], ($Document$1 = function(){var self = $Document$1.$$s || this;
7440
7440
 
@@ -8068,7 +8068,13 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8068
8068
  }
8069
8069
  }, $Document_resolve_id$18.$$arity = 1);
8070
8070
 
8071
- Opal.def(self, '$footnotes?', $Document_footnotes$ques$22 = function() {
8071
+ Opal.def(self, '$sections?', $Document_sections$ques$22 = function() {
8072
+ var self = this;
8073
+
8074
+ return $rb_gt(self.next_section_index, 0)
8075
+ }, $Document_sections$ques$22.$$arity = 0);
8076
+
8077
+ Opal.def(self, '$footnotes?', $Document_footnotes$ques$23 = function() {
8072
8078
  var self = this;
8073
8079
 
8074
8080
  if ($truthy(self.catalog['$[]']("footnotes")['$empty?']())) {
@@ -8076,21 +8082,21 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8076
8082
  } else {
8077
8083
  return true
8078
8084
  }
8079
- }, $Document_footnotes$ques$22.$$arity = 0);
8085
+ }, $Document_footnotes$ques$23.$$arity = 0);
8080
8086
 
8081
- Opal.def(self, '$footnotes', $Document_footnotes$23 = function $$footnotes() {
8087
+ Opal.def(self, '$footnotes', $Document_footnotes$24 = function $$footnotes() {
8082
8088
  var self = this;
8083
8089
 
8084
8090
  return self.catalog['$[]']("footnotes")
8085
- }, $Document_footnotes$23.$$arity = 0);
8091
+ }, $Document_footnotes$24.$$arity = 0);
8086
8092
 
8087
- Opal.def(self, '$callouts', $Document_callouts$24 = function $$callouts() {
8093
+ Opal.def(self, '$callouts', $Document_callouts$25 = function $$callouts() {
8088
8094
  var self = this;
8089
8095
 
8090
8096
  return self.catalog['$[]']("callouts")
8091
- }, $Document_callouts$24.$$arity = 0);
8097
+ }, $Document_callouts$25.$$arity = 0);
8092
8098
 
8093
- Opal.def(self, '$nested?', $Document_nested$ques$25 = function() {
8099
+ Opal.def(self, '$nested?', $Document_nested$ques$26 = function() {
8094
8100
  var self = this;
8095
8101
 
8096
8102
  if ($truthy(self.parent_document)) {
@@ -8098,15 +8104,15 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8098
8104
  } else {
8099
8105
  return false
8100
8106
  }
8101
- }, $Document_nested$ques$25.$$arity = 0);
8107
+ }, $Document_nested$ques$26.$$arity = 0);
8102
8108
 
8103
- Opal.def(self, '$embedded?', $Document_embedded$ques$26 = function() {
8109
+ Opal.def(self, '$embedded?', $Document_embedded$ques$27 = function() {
8104
8110
  var self = this;
8105
8111
 
8106
8112
  return self.attributes['$key?']("embedded")
8107
- }, $Document_embedded$ques$26.$$arity = 0);
8113
+ }, $Document_embedded$ques$27.$$arity = 0);
8108
8114
 
8109
- Opal.def(self, '$extensions?', $Document_extensions$ques$27 = function() {
8115
+ Opal.def(self, '$extensions?', $Document_extensions$ques$28 = function() {
8110
8116
  var self = this;
8111
8117
 
8112
8118
  if ($truthy(self.extensions)) {
@@ -8114,9 +8120,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8114
8120
  } else {
8115
8121
  return false
8116
8122
  }
8117
- }, $Document_extensions$ques$27.$$arity = 0);
8123
+ }, $Document_extensions$ques$28.$$arity = 0);
8118
8124
 
8119
- Opal.def(self, '$source', $Document_source$28 = function $$source() {
8125
+ Opal.def(self, '$source', $Document_source$29 = function $$source() {
8120
8126
  var self = this;
8121
8127
 
8122
8128
  if ($truthy(self.reader)) {
@@ -8124,9 +8130,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8124
8130
  } else {
8125
8131
  return nil
8126
8132
  }
8127
- }, $Document_source$28.$$arity = 0);
8133
+ }, $Document_source$29.$$arity = 0);
8128
8134
 
8129
- Opal.def(self, '$source_lines', $Document_source_lines$29 = function $$source_lines() {
8135
+ Opal.def(self, '$source_lines', $Document_source_lines$30 = function $$source_lines() {
8130
8136
  var self = this;
8131
8137
 
8132
8138
  if ($truthy(self.reader)) {
@@ -8134,21 +8140,21 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8134
8140
  } else {
8135
8141
  return nil
8136
8142
  }
8137
- }, $Document_source_lines$29.$$arity = 0);
8143
+ }, $Document_source_lines$30.$$arity = 0);
8138
8144
 
8139
- Opal.def(self, '$basebackend?', $Document_basebackend$ques$30 = function(base) {
8145
+ Opal.def(self, '$basebackend?', $Document_basebackend$ques$31 = function(base) {
8140
8146
  var self = this;
8141
8147
 
8142
8148
  return self.attributes['$[]']("basebackend")['$=='](base)
8143
- }, $Document_basebackend$ques$30.$$arity = 1);
8149
+ }, $Document_basebackend$ques$31.$$arity = 1);
8144
8150
 
8145
- Opal.def(self, '$title', $Document_title$31 = function $$title() {
8151
+ Opal.def(self, '$title', $Document_title$32 = function $$title() {
8146
8152
  var self = this;
8147
8153
 
8148
8154
  return self.$doctitle()
8149
- }, $Document_title$31.$$arity = 0);
8155
+ }, $Document_title$32.$$arity = 0);
8150
8156
 
8151
- Opal.def(self, '$title=', $Document_title$eq$32 = function(title) {
8157
+ Opal.def(self, '$title=', $Document_title$eq$33 = function(title) {
8152
8158
  var self = this, sect = nil, $writer = nil;
8153
8159
 
8154
8160
 
@@ -8163,9 +8169,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8163
8169
  $writer = [title];
8164
8170
  $send(sect, 'title=', Opal.to_a($writer));
8165
8171
  return $writer[$rb_minus($writer["length"], 1)];;
8166
- }, $Document_title$eq$32.$$arity = 1);
8172
+ }, $Document_title$eq$33.$$arity = 1);
8167
8173
 
8168
- Opal.def(self, '$doctitle', $Document_doctitle$33 = function $$doctitle(opts) {
8174
+ Opal.def(self, '$doctitle', $Document_doctitle$34 = function $$doctitle(opts) {
8169
8175
  var $a, self = this, val = nil, sect = nil, separator = nil;
8170
8176
 
8171
8177
 
@@ -8189,10 +8195,10 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8189
8195
  } else {
8190
8196
  return val
8191
8197
  };
8192
- }, $Document_doctitle$33.$$arity = -1);
8198
+ }, $Document_doctitle$34.$$arity = -1);
8193
8199
  Opal.alias(self, "name", "doctitle");
8194
8200
 
8195
- Opal.def(self, '$xreftext', $Document_xreftext$34 = function $$xreftext(xrefstyle) {
8201
+ Opal.def(self, '$xreftext', $Document_xreftext$35 = function $$xreftext(xrefstyle) {
8196
8202
  var $a, self = this, val = nil;
8197
8203
 
8198
8204
 
@@ -8205,15 +8211,15 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8205
8211
  } else {
8206
8212
  return self.$title()
8207
8213
  };
8208
- }, $Document_xreftext$34.$$arity = -1);
8214
+ }, $Document_xreftext$35.$$arity = -1);
8209
8215
 
8210
- Opal.def(self, '$author', $Document_author$35 = function $$author() {
8216
+ Opal.def(self, '$author', $Document_author$36 = function $$author() {
8211
8217
  var self = this;
8212
8218
 
8213
8219
  return self.attributes['$[]']("author")
8214
- }, $Document_author$35.$$arity = 0);
8220
+ }, $Document_author$36.$$arity = 0);
8215
8221
 
8216
- Opal.def(self, '$authors', $Document_authors$36 = function $$authors() {
8222
+ Opal.def(self, '$authors', $Document_authors$37 = function $$authors() {
8217
8223
  var $a, self = this, attrs = nil, authors = nil, num_authors = nil, idx = nil;
8218
8224
 
8219
8225
  if ($truthy((attrs = self.attributes)['$key?']("author"))) {
@@ -8231,46 +8237,46 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8231
8237
  } else {
8232
8238
  return []
8233
8239
  }
8234
- }, $Document_authors$36.$$arity = 0);
8240
+ }, $Document_authors$37.$$arity = 0);
8235
8241
 
8236
- Opal.def(self, '$revdate', $Document_revdate$37 = function $$revdate() {
8242
+ Opal.def(self, '$revdate', $Document_revdate$38 = function $$revdate() {
8237
8243
  var self = this;
8238
8244
 
8239
8245
  return self.attributes['$[]']("revdate")
8240
- }, $Document_revdate$37.$$arity = 0);
8246
+ }, $Document_revdate$38.$$arity = 0);
8241
8247
 
8242
- Opal.def(self, '$notitle', $Document_notitle$38 = function $$notitle() {
8248
+ Opal.def(self, '$notitle', $Document_notitle$39 = function $$notitle() {
8243
8249
  var self = this;
8244
8250
 
8245
8251
  return self.attributes['$key?']("notitle")
8246
- }, $Document_notitle$38.$$arity = 0);
8252
+ }, $Document_notitle$39.$$arity = 0);
8247
8253
 
8248
- Opal.def(self, '$noheader', $Document_noheader$39 = function $$noheader() {
8254
+ Opal.def(self, '$noheader', $Document_noheader$40 = function $$noheader() {
8249
8255
  var self = this;
8250
8256
 
8251
8257
  return self.attributes['$key?']("noheader")
8252
- }, $Document_noheader$39.$$arity = 0);
8258
+ }, $Document_noheader$40.$$arity = 0);
8253
8259
 
8254
- Opal.def(self, '$nofooter', $Document_nofooter$40 = function $$nofooter() {
8260
+ Opal.def(self, '$nofooter', $Document_nofooter$41 = function $$nofooter() {
8255
8261
  var self = this;
8256
8262
 
8257
8263
  return self.attributes['$key?']("nofooter")
8258
- }, $Document_nofooter$40.$$arity = 0);
8264
+ }, $Document_nofooter$41.$$arity = 0);
8259
8265
 
8260
- Opal.def(self, '$first_section', $Document_first_section$41 = function $$first_section() {
8261
- var $a, $$42, self = this;
8266
+ Opal.def(self, '$first_section', $Document_first_section$42 = function $$first_section() {
8267
+ var $a, $$43, self = this;
8262
8268
 
8263
- return ($truthy($a = self.header) ? $a : $send(self.blocks, 'find', [], ($$42 = function(e){var self = $$42.$$s || this;
8269
+ return ($truthy($a = self.header) ? $a : $send(self.blocks, 'find', [], ($$43 = function(e){var self = $$43.$$s || this;
8264
8270
 
8265
8271
 
8266
8272
 
8267
8273
  if (e == null) {
8268
8274
  e = nil;
8269
8275
  };
8270
- return e.$context()['$==']("section");}, $$42.$$s = self, $$42.$$arity = 1, $$42)))
8271
- }, $Document_first_section$41.$$arity = 0);
8276
+ return e.$context()['$==']("section");}, $$43.$$s = self, $$43.$$arity = 1, $$43)))
8277
+ }, $Document_first_section$42.$$arity = 0);
8272
8278
 
8273
- Opal.def(self, '$header?', $Document_header$ques$43 = function() {
8279
+ Opal.def(self, '$header?', $Document_header$ques$44 = function() {
8274
8280
  var self = this;
8275
8281
 
8276
8282
  if ($truthy(self.header)) {
@@ -8278,13 +8284,13 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8278
8284
  } else {
8279
8285
  return false
8280
8286
  }
8281
- }, $Document_header$ques$43.$$arity = 0);
8287
+ }, $Document_header$ques$44.$$arity = 0);
8282
8288
  Opal.alias(self, "has_header?", "header?");
8283
8289
 
8284
- Opal.def(self, '$<<', $Document_$lt$lt$44 = function(block) {
8285
- var $iter = $Document_$lt$lt$44.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
8290
+ Opal.def(self, '$<<', $Document_$lt$lt$45 = function(block) {
8291
+ var $iter = $Document_$lt$lt$45.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
8286
8292
 
8287
- if ($iter) $Document_$lt$lt$44.$$p = null;
8293
+ if ($iter) $Document_$lt$lt$45.$$p = null;
8288
8294
  // Prepare super implicit arguments
8289
8295
  for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
8290
8296
  $zuper[$zuper_i] = arguments[$zuper_i];
@@ -8292,10 +8298,10 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8292
8298
 
8293
8299
  if (block.$context()['$==']("section")) {
8294
8300
  self.$assign_numeral(block)};
8295
- return $send(self, Opal.find_super_dispatcher(self, '<<', $Document_$lt$lt$44, false), $zuper, $iter);
8296
- }, $Document_$lt$lt$44.$$arity = 1);
8301
+ return $send(self, Opal.find_super_dispatcher(self, '<<', $Document_$lt$lt$45, false), $zuper, $iter);
8302
+ }, $Document_$lt$lt$45.$$arity = 1);
8297
8303
 
8298
- Opal.def(self, '$finalize_header', $Document_finalize_header$45 = function $$finalize_header(unrooted_attributes, header_valid) {
8304
+ Opal.def(self, '$finalize_header', $Document_finalize_header$46 = function $$finalize_header(unrooted_attributes, header_valid) {
8299
8305
  var self = this, $writer = nil;
8300
8306
 
8301
8307
 
@@ -8313,13 +8319,13 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8313
8319
  $writer[$rb_minus($writer["length"], 1)];
8314
8320
  };
8315
8321
  return unrooted_attributes;
8316
- }, $Document_finalize_header$45.$$arity = -2);
8322
+ }, $Document_finalize_header$46.$$arity = -2);
8317
8323
 
8318
- Opal.def(self, '$playback_attributes', $Document_playback_attributes$46 = function $$playback_attributes(block_attributes) {
8319
- var $$47, self = this;
8324
+ Opal.def(self, '$playback_attributes', $Document_playback_attributes$47 = function $$playback_attributes(block_attributes) {
8325
+ var $$48, self = this;
8320
8326
 
8321
8327
  if ($truthy(block_attributes['$key?']("attribute_entries"))) {
8322
- return $send(block_attributes['$[]']("attribute_entries"), 'each', [], ($$47 = function(entry){var self = $$47.$$s || this, name = nil, $writer = nil;
8328
+ return $send(block_attributes['$[]']("attribute_entries"), 'each', [], ($$48 = function(entry){var self = $$48.$$s || this, name = nil, $writer = nil;
8323
8329
  if (self.attributes == null) self.attributes = nil;
8324
8330
 
8325
8331
 
@@ -8347,13 +8353,13 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8347
8353
  } else {
8348
8354
  return nil
8349
8355
  };
8350
- };}, $$47.$$s = self, $$47.$$arity = 1, $$47))
8356
+ };}, $$48.$$s = self, $$48.$$arity = 1, $$48))
8351
8357
  } else {
8352
8358
  return nil
8353
8359
  }
8354
- }, $Document_playback_attributes$46.$$arity = 1);
8360
+ }, $Document_playback_attributes$47.$$arity = 1);
8355
8361
 
8356
- Opal.def(self, '$restore_attributes', $Document_restore_attributes$48 = function $$restore_attributes() {
8362
+ Opal.def(self, '$restore_attributes', $Document_restore_attributes$49 = function $$restore_attributes() {
8357
8363
  var self = this;
8358
8364
 
8359
8365
 
@@ -8362,9 +8368,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8362
8368
  self.catalog['$[]']("callouts").$rewind()
8363
8369
  };
8364
8370
  return self.attributes.$replace(self.header_attributes);
8365
- }, $Document_restore_attributes$48.$$arity = 0);
8371
+ }, $Document_restore_attributes$49.$$arity = 0);
8366
8372
 
8367
- Opal.def(self, '$set_attribute', $Document_set_attribute$49 = function $$set_attribute(name, value) {
8373
+ Opal.def(self, '$set_attribute', $Document_set_attribute$50 = function $$set_attribute(name, value) {
8368
8374
  var $a, self = this, $writer = nil, $case = nil;
8369
8375
 
8370
8376
 
@@ -8398,9 +8404,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8398
8404
  };
8399
8405
  return value;
8400
8406
  };
8401
- }, $Document_set_attribute$49.$$arity = -2);
8407
+ }, $Document_set_attribute$50.$$arity = -2);
8402
8408
 
8403
- Opal.def(self, '$delete_attribute', $Document_delete_attribute$50 = function $$delete_attribute(name) {
8409
+ Opal.def(self, '$delete_attribute', $Document_delete_attribute$51 = function $$delete_attribute(name) {
8404
8410
  var self = this;
8405
8411
 
8406
8412
  if ($truthy(self['$attribute_locked?'](name))) {
@@ -8411,15 +8417,15 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8411
8417
  self.attributes_modified['$<<'](name);
8412
8418
  return true;
8413
8419
  }
8414
- }, $Document_delete_attribute$50.$$arity = 1);
8420
+ }, $Document_delete_attribute$51.$$arity = 1);
8415
8421
 
8416
- Opal.def(self, '$attribute_locked?', $Document_attribute_locked$ques$51 = function(name) {
8422
+ Opal.def(self, '$attribute_locked?', $Document_attribute_locked$ques$52 = function(name) {
8417
8423
  var self = this;
8418
8424
 
8419
8425
  return self.attribute_overrides['$key?'](name)
8420
- }, $Document_attribute_locked$ques$51.$$arity = 1);
8426
+ }, $Document_attribute_locked$ques$52.$$arity = 1);
8421
8427
 
8422
- Opal.def(self, '$set_header_attribute', $Document_set_header_attribute$52 = function $$set_header_attribute(name, value, overwrite) {
8428
+ Opal.def(self, '$set_header_attribute', $Document_set_header_attribute$53 = function $$set_header_attribute(name, value, overwrite) {
8423
8429
  var $a, self = this, attrs = nil, $writer = nil;
8424
8430
 
8425
8431
 
@@ -8442,10 +8448,10 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8442
8448
  $writer[$rb_minus($writer["length"], 1)];;
8443
8449
  return true;
8444
8450
  };
8445
- }, $Document_set_header_attribute$52.$$arity = -2);
8451
+ }, $Document_set_header_attribute$53.$$arity = -2);
8446
8452
 
8447
- Opal.def(self, '$convert', $Document_convert$53 = function $$convert(opts) {
8448
- var $a, $$54, self = this, $writer = nil, block = nil, output = nil, transform = nil, exts = nil;
8453
+ Opal.def(self, '$convert', $Document_convert$54 = function $$convert(opts) {
8454
+ var $a, $$55, self = this, $writer = nil, block = nil, output = nil, transform = nil, exts = nil;
8449
8455
 
8450
8456
 
8451
8457
 
@@ -8502,21 +8508,21 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8502
8508
  };
8503
8509
  if ($truthy(self.parent_document)) {
8504
8510
  } else if ($truthy(($truthy($a = (exts = self.extensions)) ? exts['$postprocessors?']() : $a))) {
8505
- $send(exts.$postprocessors(), 'each', [], ($$54 = function(ext){var self = $$54.$$s || this;
8511
+ $send(exts.$postprocessors(), 'each', [], ($$55 = function(ext){var self = $$55.$$s || this;
8506
8512
 
8507
8513
 
8508
8514
 
8509
8515
  if (ext == null) {
8510
8516
  ext = nil;
8511
8517
  };
8512
- return (output = ext.$process_method()['$[]'](self, output));}, $$54.$$s = self, $$54.$$arity = 1, $$54))};
8518
+ return (output = ext.$process_method()['$[]'](self, output));}, $$55.$$s = self, $$55.$$arity = 1, $$55))};
8513
8519
  if ($truthy(self.timings)) {
8514
8520
  self.timings.$record("convert")};
8515
8521
  return output;
8516
- }, $Document_convert$53.$$arity = -1);
8522
+ }, $Document_convert$54.$$arity = -1);
8517
8523
  Opal.alias(self, "render", "convert");
8518
8524
 
8519
- Opal.def(self, '$write', $Document_write$55 = function $$write(output, target) {
8525
+ Opal.def(self, '$write', $Document_write$56 = function $$write(output, target) {
8520
8526
  var $a, $b, self = this;
8521
8527
 
8522
8528
 
@@ -8542,23 +8548,23 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8542
8548
  if ($truthy(self.timings)) {
8543
8549
  self.timings.$record("write")};
8544
8550
  return nil;
8545
- }, $Document_write$55.$$arity = 2);
8551
+ }, $Document_write$56.$$arity = 2);
8546
8552
 
8547
- Opal.def(self, '$content', $Document_content$56 = function $$content() {
8548
- var $iter = $Document_content$56.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
8553
+ Opal.def(self, '$content', $Document_content$57 = function $$content() {
8554
+ var $iter = $Document_content$57.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
8549
8555
 
8550
- if ($iter) $Document_content$56.$$p = null;
8556
+ if ($iter) $Document_content$57.$$p = null;
8551
8557
  // Prepare super implicit arguments
8552
8558
  for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
8553
8559
  $zuper[$zuper_i] = arguments[$zuper_i];
8554
8560
  }
8555
8561
 
8556
8562
  self.attributes.$delete("title");
8557
- return $send(self, Opal.find_super_dispatcher(self, 'content', $Document_content$56, false), $zuper, $iter);
8558
- }, $Document_content$56.$$arity = 0);
8563
+ return $send(self, Opal.find_super_dispatcher(self, 'content', $Document_content$57, false), $zuper, $iter);
8564
+ }, $Document_content$57.$$arity = 0);
8559
8565
 
8560
- Opal.def(self, '$docinfo', $Document_docinfo$57 = function $$docinfo(location, suffix) {
8561
- var $a, $$58, $$59, self = this, qualifier = nil, docinfo = nil, content = nil, docinfo_file = nil, docinfo_dir = nil, docinfo_subs = nil, docinfo_path = nil, shared_docinfo = nil, private_docinfo = nil;
8566
+ Opal.def(self, '$docinfo', $Document_docinfo$58 = function $$docinfo(location, suffix) {
8567
+ var $a, $$59, $$60, self = this, qualifier = nil, docinfo = nil, content = nil, docinfo_file = nil, docinfo_dir = nil, docinfo_subs = nil, docinfo_path = nil, shared_docinfo = nil, private_docinfo = nil;
8562
8568
 
8563
8569
 
8564
8570
 
@@ -8589,14 +8595,14 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8589
8595
  }; return nil; })()
8590
8596
  }
8591
8597
  } else {
8592
- docinfo = $send(docinfo.$split(","), 'map', [], ($$58 = function(it){var self = $$58.$$s || this;
8598
+ docinfo = $send(docinfo.$split(","), 'map', [], ($$59 = function(it){var self = $$59.$$s || this;
8593
8599
 
8594
8600
 
8595
8601
 
8596
8602
  if (it == null) {
8597
8603
  it = nil;
8598
8604
  };
8599
- return it.$strip();}, $$58.$$s = self, $$58.$$arity = 1, $$58))
8605
+ return it.$strip();}, $$59.$$s = self, $$59.$$arity = 1, $$59))
8600
8606
  };
8601
8607
  if ($truthy(docinfo)) {
8602
8608
 
@@ -8617,22 +8623,22 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8617
8623
  content['$<<'](self.$apply_subs(private_docinfo, docinfo_subs))};
8618
8624
  };};};
8619
8625
  if ($truthy(($truthy($a = self.extensions) ? self['$docinfo_processors?'](location) : $a))) {
8620
- return ($truthy($a = content) ? $a : []).$concat($send(self.docinfo_processor_extensions['$[]'](location), 'map', [], ($$59 = function(ext){var self = $$59.$$s || this;
8626
+ return ($truthy($a = content) ? $a : []).$concat($send(self.docinfo_processor_extensions['$[]'](location), 'map', [], ($$60 = function(ext){var self = $$60.$$s || this;
8621
8627
 
8622
8628
 
8623
8629
 
8624
8630
  if (ext == null) {
8625
8631
  ext = nil;
8626
8632
  };
8627
- return ext.$process_method()['$[]'](self);}, $$59.$$s = self, $$59.$$arity = 1, $$59)).$compact()).$join($$($nesting, 'LF'))
8633
+ return ext.$process_method()['$[]'](self);}, $$60.$$s = self, $$60.$$arity = 1, $$60)).$compact()).$join($$($nesting, 'LF'))
8628
8634
  } else if ($truthy(content)) {
8629
8635
  return content.$join($$($nesting, 'LF'))
8630
8636
  } else {
8631
8637
  return ""
8632
8638
  };
8633
- }, $Document_docinfo$57.$$arity = -1);
8639
+ }, $Document_docinfo$58.$$arity = -1);
8634
8640
 
8635
- Opal.def(self, '$docinfo_processors?', $Document_docinfo_processors$ques$60 = function(location) {
8641
+ Opal.def(self, '$docinfo_processors?', $Document_docinfo_processors$ques$61 = function(location) {
8636
8642
  var $a, self = this, $writer = nil;
8637
8643
 
8638
8644
 
@@ -8650,16 +8656,16 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8650
8656
  $send(self.docinfo_processor_extensions, '[]=', Opal.to_a($writer));
8651
8657
  return $writer[$rb_minus($writer["length"], 1)];
8652
8658
  };
8653
- }, $Document_docinfo_processors$ques$60.$$arity = -1);
8659
+ }, $Document_docinfo_processors$ques$61.$$arity = -1);
8654
8660
 
8655
- Opal.def(self, '$to_s', $Document_to_s$61 = function $$to_s() {
8661
+ Opal.def(self, '$to_s', $Document_to_s$62 = function $$to_s() {
8656
8662
  var $a, self = this;
8657
8663
 
8658
8664
  return "" + "#<" + (self.$class()) + "@" + (self.$object_id()) + " {doctype: " + (self.$doctype().$inspect()) + ", doctitle: " + (($truthy($a = self.header) ? self.header.$title() : $a).$inspect()) + ", blocks: " + (self.blocks.$size()) + "}>"
8659
- }, $Document_to_s$61.$$arity = 0);
8665
+ }, $Document_to_s$62.$$arity = 0);
8660
8666
  self.$private();
8661
8667
 
8662
- Opal.def(self, '$apply_attribute_value_subs', $Document_apply_attribute_value_subs$62 = function $$apply_attribute_value_subs(value) {
8668
+ Opal.def(self, '$apply_attribute_value_subs', $Document_apply_attribute_value_subs$63 = function $$apply_attribute_value_subs(value) {
8663
8669
  var $a, self = this;
8664
8670
 
8665
8671
 
@@ -8677,9 +8683,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8677
8683
  } else {
8678
8684
  return value
8679
8685
  };
8680
- }, $Document_apply_attribute_value_subs$62.$$arity = 1);
8686
+ }, $Document_apply_attribute_value_subs$63.$$arity = 1);
8681
8687
 
8682
- Opal.def(self, '$limit_bytesize', $Document_limit_bytesize$63 = function $$limit_bytesize(str, max) {
8688
+ Opal.def(self, '$limit_bytesize', $Document_limit_bytesize$64 = function $$limit_bytesize(str, max) {
8683
8689
  var $a, self = this;
8684
8690
 
8685
8691
 
@@ -8688,9 +8694,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8688
8694
  max = $rb_minus(max, 1)
8689
8695
  }};
8690
8696
  return str;
8691
- }, $Document_limit_bytesize$63.$$arity = 2);
8697
+ }, $Document_limit_bytesize$64.$$arity = 2);
8692
8698
 
8693
- Opal.def(self, '$resolve_docinfo_subs', $Document_resolve_docinfo_subs$64 = function $$resolve_docinfo_subs() {
8699
+ Opal.def(self, '$resolve_docinfo_subs', $Document_resolve_docinfo_subs$65 = function $$resolve_docinfo_subs() {
8694
8700
  var self = this;
8695
8701
 
8696
8702
  if ($truthy(self.attributes['$key?']("docinfosubs"))) {
@@ -8699,9 +8705,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8699
8705
  } else {
8700
8706
  return ["attributes"]
8701
8707
  }
8702
- }, $Document_resolve_docinfo_subs$64.$$arity = 0);
8708
+ }, $Document_resolve_docinfo_subs$65.$$arity = 0);
8703
8709
 
8704
- Opal.def(self, '$create_converter', $Document_create_converter$65 = function $$create_converter(backend, delegate_backend) {
8710
+ Opal.def(self, '$create_converter', $Document_create_converter$66 = function $$create_converter(backend, delegate_backend) {
8705
8711
  var $a, self = this, converter_opts = nil, template_dirs = nil, opts = nil, $writer = nil, converter = nil;
8706
8712
 
8707
8713
 
@@ -8742,16 +8748,16 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8742
8748
  } else {
8743
8749
  return opts.$fetch("converter_factory", $$($nesting, 'Converter')).$create(backend, converter_opts)
8744
8750
  };
8745
- }, $Document_create_converter$65.$$arity = 2);
8751
+ }, $Document_create_converter$66.$$arity = 2);
8746
8752
 
8747
- Opal.def(self, '$clear_playback_attributes', $Document_clear_playback_attributes$66 = function $$clear_playback_attributes(attributes) {
8753
+ Opal.def(self, '$clear_playback_attributes', $Document_clear_playback_attributes$67 = function $$clear_playback_attributes(attributes) {
8748
8754
  var self = this;
8749
8755
 
8750
8756
  return attributes.$delete("attribute_entries")
8751
- }, $Document_clear_playback_attributes$66.$$arity = 1);
8757
+ }, $Document_clear_playback_attributes$67.$$arity = 1);
8752
8758
 
8753
- Opal.def(self, '$save_attributes', $Document_save_attributes$67 = function $$save_attributes() {
8754
- var $a, $$68, self = this, attrs = nil, doctitle_val = nil, $writer = nil, toc_val = nil, toc_position_val = nil, toc_placement_val = nil, default_toc_position = nil, default_toc_class = nil, position = nil, $case = nil, icons_val = nil, basebackend = nil, syntax_hl_name = nil, syntax_hl_factory = nil, syntax_hls = nil;
8759
+ Opal.def(self, '$save_attributes', $Document_save_attributes$68 = function $$save_attributes() {
8760
+ var $a, $$69, self = this, attrs = nil, doctitle_val = nil, $writer = nil, toc_val = nil, toc_position_val = nil, toc_placement_val = nil, default_toc_position = nil, default_toc_class = nil, position = nil, $case = nil, icons_val = nil, basebackend = nil, syntax_hl_name = nil, syntax_hl_factory = nil, syntax_hls = nil;
8755
8761
 
8756
8762
 
8757
8763
  if ($truthy(($truthy($a = (attrs = self.attributes)['$key?']("doctitle")) ? $a : (doctitle_val = self.$doctitle())['$!']()))) {
@@ -8878,7 +8884,7 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8878
8884
  $writer[$rb_minus($writer["length"], 1)];
8879
8885
  };};
8880
8886
  self.outfilesuffix = attrs['$[]']("outfilesuffix");
8881
- $send($$($nesting, 'FLEXIBLE_ATTRIBUTES'), 'each', [], ($$68 = function(name){var self = $$68.$$s || this, $b;
8887
+ $send($$($nesting, 'FLEXIBLE_ATTRIBUTES'), 'each', [], ($$69 = function(name){var self = $$69.$$s || this, $b;
8882
8888
  if (self.attribute_overrides == null) self.attribute_overrides = nil;
8883
8889
 
8884
8890
 
@@ -8890,12 +8896,12 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8890
8896
  return self.attribute_overrides.$delete(name)
8891
8897
  } else {
8892
8898
  return nil
8893
- };}, $$68.$$s = self, $$68.$$arity = 1, $$68));
8899
+ };}, $$69.$$s = self, $$69.$$arity = 1, $$69));
8894
8900
  };
8895
8901
  return (self.header_attributes = attrs.$merge());
8896
- }, $Document_save_attributes$67.$$arity = 0);
8902
+ }, $Document_save_attributes$68.$$arity = 0);
8897
8903
 
8898
- Opal.def(self, '$fill_datetime_attributes', $Document_fill_datetime_attributes$69 = function $$fill_datetime_attributes(attrs, input_mtime) {
8904
+ Opal.def(self, '$fill_datetime_attributes', $Document_fill_datetime_attributes$70 = function $$fill_datetime_attributes(attrs, input_mtime) {
8899
8905
  var $a, $b, self = this, now = nil, source_date_epoch = nil, localdate = nil, $writer = nil, localtime = nil, docdate = nil, doctime = nil;
8900
8906
 
8901
8907
 
@@ -8943,9 +8949,9 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
8943
8949
  }; return nil; })()))]), $send(attrs, '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)]));
8944
8950
  ($truthy($a = attrs['$[]']("docdatetime")) ? $a : (($writer = ["docdatetime", "" + (docdate) + " " + (doctime)]), $send(attrs, '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)]));
8945
8951
  return nil;
8946
- }, $Document_fill_datetime_attributes$69.$$arity = 2);
8952
+ }, $Document_fill_datetime_attributes$70.$$arity = 2);
8947
8953
 
8948
- Opal.def(self, '$update_backend_attributes', $Document_update_backend_attributes$70 = function $$update_backend_attributes(new_backend, init) {
8954
+ Opal.def(self, '$update_backend_attributes', $Document_update_backend_attributes$71 = function $$update_backend_attributes(new_backend, init) {
8949
8955
  var $a, $b, self = this, current_backend = nil, current_basebackend = nil, attrs = nil, current_doctype = nil, actual_backend = nil, _ = nil, $writer = nil, delegate_backend = nil, converter = nil, new_basebackend = nil, new_filetype = nil, htmlsyntax = nil, backend_traits = nil, current_filetype = nil, page_width = nil;
8950
8956
 
8951
8957
 
@@ -9073,8 +9079,8 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
9073
9079
  } else {
9074
9080
  return nil
9075
9081
  };
9076
- }, $Document_update_backend_attributes$70.$$arity = -2);
9077
- return (Opal.def(self, '$update_doctype_attributes', $Document_update_doctype_attributes$71 = function $$update_doctype_attributes(new_doctype) {
9082
+ }, $Document_update_backend_attributes$71.$$arity = -2);
9083
+ return (Opal.def(self, '$update_doctype_attributes', $Document_update_doctype_attributes$72 = function $$update_doctype_attributes(new_doctype) {
9078
9084
  var $a, self = this, attrs = nil, current_backend = nil, current_basebackend = nil, current_doctype = nil, $writer = nil;
9079
9085
 
9080
9086
  if ($truthy(($truthy($a = new_doctype) ? new_doctype['$!='](self.doctype) : $a))) {
@@ -9118,7 +9124,7 @@ Opal.modules["asciidoctor/document"] = function(Opal) {
9118
9124
  } else {
9119
9125
  return nil
9120
9126
  }
9121
- }, $Document_update_doctype_attributes$71.$$arity = 1), nil) && 'update_doctype_attributes';
9127
+ }, $Document_update_doctype_attributes$72.$$arity = 1), nil) && 'update_doctype_attributes';
9122
9128
  })($nesting[0], $$($nesting, 'AbstractBlock'), $nesting)
9123
9129
  })($nesting[0], $nesting)
9124
9130
  };
@@ -9381,7 +9387,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9381
9387
  }
9382
9388
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $truthy = Opal.truthy, $hash2 = Opal.hash2, $gvars = Opal.gvars;
9383
9389
 
9384
- Opal.add_stubs(['$include', '$new', '$proc', '$start_with?', '$match?', '$is_delimited_block?', '$private_class_method', '$parse_document_header', '$[]', '$has_more_lines?', '$next_section', '$assign_numeral', '$<<', '$blocks', '$skip_blank_lines', '$parse_block_metadata_lines', '$attributes', '$is_next_line_doctitle?', '$finalize_header', '$nil_or_empty?', '$title=', '$-', '$sourcemap', '$cursor', '$parse_section_title', '$id=', '$include?', '$sub_specialchars', '$[]=', '$sub_attributes', '$source_location=', '$header', '$attribute_locked?', '$id', '$clear', '$delete', '$instance_variable_get', '$parse_header_metadata', '$==', '$!', '$register', '$doctype', '$parse_manpage_header', '$=~', '$downcase', '$error', '$logger', '$message_with_context', '$cursor_at_line', '$backend', '$save', '$update', '$is_next_line_section?', '$initialize_section', '$join', '$map', '$read_lines_until', '$lstrip', '$split', '$title', '$restore_save', '$discard_save', '$context', '$empty?', '$header?', '$!=', '$attr?', '$attr', '$key?', '$document', '$+', '$level', '$special', '$sectname', '$to_i', '$<', '$>', '$warn', '$next_block', '$blocks?', '$style', '$context=', '$style=', '$parent=', '$size', '$content_model', '$shift', '$unwrap_standalone_preamble', '$source_location', '$merge', '$fetch', '$parse_block_metadata_line', '$extensions', '$block_macros?', '$mark', '$read_line', '$terminator', '$to_s', '$masq', '$to_sym', '$registered_for_block?', '$debug?', '$debug', '$cursor_at_mark', '$strict_verbatim_paragraphs', '$unshift_line', '$markdown_syntax', '$keys', '$chr', '$uniform?', '$length', '$end_with?', '$===', '$parse_attributes', '$attribute_missing', '$tr', '$basename', '$assign_caption', '$registered_for_block_macro?', '$config', '$process_method', '$replace', '$parse_callout_list', '$callouts', '$parse_list', '$parse_description_list', '$underline_style_section_titles', '$is_section_title?', '$peek_line', '$atx_section_title?', '$generate_id', '$level=', '$read_paragraph_lines', '$adjust_indentation!', '$map!', '$slice', '$pop', '$build_block', '$apply_subs', '$chop', '$catalog_inline_anchors', '$rekey', '$index', '$strip', '$parse_table', '$each', '$raise', '$title?', '$update_attributes', '$commit_subs', '$sub?', '$catalog_callouts', '$source', '$remove_sub', '$block_terminates_paragraph', '$to_proc', '$nil?', '$lines', '$parse_blocks', '$parse_list_item', '$items', '$scan', '$gsub', '$count', '$advance', '$dup', '$match', '$callout_ids', '$next_list', '$catalog_inline_anchor', '$marker=', '$catalog_inline_biblio_anchor', '$set_option', '$text=', '$resolve_ordered_list_marker', '$read_lines_for_list_item', '$skip_line_comments', '$unshift_lines', '$fold_first', '$text?', '$is_sibling_list_item?', '$concat', '$find', '$casecmp', '$sectname=', '$special=', '$numbered=', '$numbered', '$lineno', '$peek_lines', '$setext_section_title?', '$abs', '$cursor_at_prev_line', '$process_attribute_entries', '$next_line_empty?', '$process_authors', '$apply_header_subs', '$rstrip', '$each_with_index', '$compact', '$squeeze', '$to_a', '$parse_style_attribute', '$process_attribute_entry', '$skip_comment_lines', '$store_attribute', '$sanitize_attribute_name', '$set_attribute', '$save_to', '$delete_attribute', '$ord', '$int_to_roman', '$resolve_list_marker', '$parse_colspecs', '$create_columns', '$has_header_option=', '$format', '$starts_with_delimiter?', '$close_open_cell', '$parse_cellspec', '$delimiter', '$match_delimiter', '$pre_match', '$post_match', '$buffer_has_unclosed_quotes?', '$skip_past_delimiter', '$buffer', '$buffer=', '$skip_past_escaped_delimiter', '$keep_cell_open', '$push_cellspec', '$close_cell', '$cell_open?', '$columns', '$assign_column_widths', '$partition_header_footer', '$upto', '$partition', '$shorthand_property_syntax', '$each_char', '$yield_buffered_attribute', '$any?', '$*', '$each_byte', '$%']);
9390
+ Opal.add_stubs(['$include', '$new', '$proc', '$start_with?', '$match?', '$is_delimited_block?', '$private_class_method', '$parse_document_header', '$[]', '$has_more_lines?', '$next_section', '$assign_numeral', '$<<', '$blocks', '$skip_blank_lines', '$parse_block_metadata_lines', '$attributes', '$is_next_line_doctitle?', '$[]=', '$-', '$finalize_header', '$nil_or_empty?', '$title=', '$sourcemap', '$cursor', '$parse_section_title', '$id=', '$include?', '$sub_specialchars', '$sub_attributes', '$source_location=', '$header', '$attribute_locked?', '$id', '$clear', '$delete', '$instance_variable_get', '$parse_header_metadata', '$==', '$!', '$register', '$process_authors', '$update', '$doctype', '$parse_manpage_header', '$=~', '$downcase', '$error', '$logger', '$message_with_context', '$cursor_at_line', '$backend', '$save', '$is_next_line_section?', '$initialize_section', '$join', '$map', '$read_lines_until', '$lstrip', '$split', '$title', '$restore_save', '$discard_save', '$context', '$empty?', '$header?', '$!=', '$attr?', '$attr', '$key?', '$document', '$+', '$level', '$special', '$sectname', '$to_i', '$<', '$>', '$warn', '$next_block', '$blocks?', '$style', '$context=', '$style=', '$parent=', '$size', '$content_model', '$shift', '$unwrap_standalone_preamble', '$source_location', '$merge', '$fetch', '$parse_block_metadata_line', '$extensions', '$block_macros?', '$mark', '$read_line', '$terminator', '$to_s', '$masq', '$to_sym', '$registered_for_block?', '$debug?', '$debug', '$cursor_at_mark', '$strict_verbatim_paragraphs', '$unshift_line', '$markdown_syntax', '$keys', '$chr', '$uniform?', '$length', '$end_with?', '$===', '$parse_attributes', '$attribute_missing', '$tr', '$basename', '$assign_caption', '$registered_for_block_macro?', '$config', '$process_method', '$replace', '$parse_callout_list', '$callouts', '$parse_list', '$parse_description_list', '$underline_style_section_titles', '$is_section_title?', '$peek_line', '$atx_section_title?', '$generate_id', '$level=', '$read_paragraph_lines', '$adjust_indentation!', '$map!', '$slice', '$pop', '$build_block', '$apply_subs', '$chop', '$catalog_inline_anchors', '$rekey', '$index', '$strip', '$parse_table', '$each', '$raise', '$title?', '$update_attributes', '$commit_subs', '$sub?', '$catalog_callouts', '$source', '$remove_sub', '$block_terminates_paragraph', '$to_proc', '$nil?', '$lines', '$parse_blocks', '$parse_list_item', '$items', '$scan', '$gsub', '$count', '$advance', '$dup', '$match', '$callout_ids', '$next_list', '$catalog_inline_anchor', '$marker=', '$catalog_inline_biblio_anchor', '$set_option', '$text=', '$resolve_ordered_list_marker', '$read_lines_for_list_item', '$skip_line_comments', '$unshift_lines', '$fold_first', '$text?', '$is_sibling_list_item?', '$concat', '$find', '$casecmp', '$sectname=', '$special=', '$numbered=', '$numbered', '$lineno', '$peek_lines', '$setext_section_title?', '$abs', '$cursor_at_prev_line', '$process_attribute_entries', '$next_line_empty?', '$apply_header_subs', '$rstrip', '$each_with_index', '$compact', '$to_h', '$squeeze', '$to_a', '$parse_style_attribute', '$process_attribute_entry', '$skip_comment_lines', '$store_attribute', '$sanitize_attribute_name', '$set_attribute', '$save_to', '$delete_attribute', '$ord', '$int_to_roman', '$resolve_list_marker', '$parse_colspecs', '$create_columns', '$has_header_option=', '$format', '$starts_with_delimiter?', '$close_open_cell', '$parse_cellspec', '$delimiter', '$match_delimiter', '$pre_match', '$post_match', '$buffer_has_unclosed_quotes?', '$skip_past_delimiter', '$buffer', '$buffer=', '$skip_past_escaped_delimiter', '$keep_cell_open', '$push_cellspec', '$close_cell', '$cell_open?', '$columns', '$assign_column_widths', '$partition_header_footer', '$upto', '$partition', '$shorthand_property_syntax', '$each_char', '$yield_buffered_attribute', '$any?', '$*', '$each_byte', '$%']);
9385
9391
  return (function($base, $parent_nesting) {
9386
9392
  var self = $module($base, 'Asciidoctor');
9387
9393
 
@@ -9428,15 +9434,15 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9428
9434
  Opal.const_set($nesting[0], 'TableCellStyles', $hash2(["d", "s", "e", "m", "h", "l", "a"], {"d": "none", "s": "strong", "e": "emphasis", "m": "monospaced", "h": "header", "l": "literal", "a": "asciidoc"}));
9429
9435
  self.$private_class_method("new");
9430
9436
  Opal.defs(self, '$parse', $Parser_parse$4 = function $$parse(reader, document, options) {
9431
- var $a, $b, $c, self = this, block_attributes = nil, new_section = nil;
9437
+ var $a, $b, $c, self = this, block_attributes = nil, header_only = nil, new_section = nil;
9432
9438
 
9433
9439
 
9434
9440
 
9435
9441
  if (options == null) {
9436
9442
  options = $hash2([], {});
9437
9443
  };
9438
- block_attributes = self.$parse_document_header(reader, document);
9439
- if ($truthy(options['$[]']("header_only"))) {
9444
+ block_attributes = self.$parse_document_header(reader, document, (header_only = options['$[]']("header_only")));
9445
+ if ($truthy(header_only)) {
9440
9446
  } else {
9441
9447
  while ($truthy(reader['$has_more_lines?']())) {
9442
9448
 
@@ -9449,10 +9455,14 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9449
9455
  };
9450
9456
  return document;
9451
9457
  }, $Parser_parse$4.$$arity = -3);
9452
- Opal.defs(self, '$parse_document_header', $Parser_parse_document_header$5 = function $$parse_document_header(reader, document) {
9453
- var $a, $b, self = this, block_attrs = nil, doc_attrs = nil, implicit_doctitle = nil, val = nil, $writer = nil, doctitle_attr_val = nil, source_location = nil, _ = nil, l0_section_title = nil, atx = nil, separator = nil, doc_id = nil, role = nil, reftext = nil, modified_attrs = nil;
9458
+ Opal.defs(self, '$parse_document_header', $Parser_parse_document_header$5 = function $$parse_document_header(reader, document, header_only) {
9459
+ var $a, $b, self = this, block_attrs = nil, doc_attrs = nil, implicit_doctitle = nil, $writer = nil, val = nil, doctitle_attr_val = nil, source_location = nil, _ = nil, l0_section_title = nil, atx = nil, separator = nil, doc_id = nil, role = nil, reftext = nil, modified_attrs = nil, author = nil, author_metadata = nil;
9454
9460
 
9455
9461
 
9462
+
9463
+ if (header_only == null) {
9464
+ header_only = false;
9465
+ };
9456
9466
  block_attrs = (function() {if ($truthy(reader.$skip_blank_lines())) {
9457
9467
 
9458
9468
  return self.$parse_block_metadata_lines(reader, document);
@@ -9461,7 +9471,12 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9461
9471
  }; return nil; })();
9462
9472
  doc_attrs = document.$attributes();
9463
9473
  if ($truthy(($truthy($a = (implicit_doctitle = self['$is_next_line_doctitle?'](reader, block_attrs, doc_attrs['$[]']("leveloffset")))) ? block_attrs['$[]']("title") : $a))) {
9464
- return document.$finalize_header(block_attrs, false)};
9474
+
9475
+
9476
+ $writer = ["authorcount", 0];
9477
+ $send(doc_attrs, '[]=', Opal.to_a($writer));
9478
+ $writer[$rb_minus($writer["length"], 1)];;
9479
+ return document.$finalize_header(block_attrs, false);};
9465
9480
  if ($truthy((val = doc_attrs['$[]']("doctitle"))['$nil_or_empty?']())) {
9466
9481
  } else {
9467
9482
 
@@ -9528,7 +9543,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9528
9543
  $writer[$rb_minus($writer["length"], 1)];};
9529
9544
  block_attrs.$clear();
9530
9545
  (modified_attrs = document.$instance_variable_get("@attributes_modified")).$delete("doctitle");
9531
- self.$parse_header_metadata(reader, document);
9546
+ self.$parse_header_metadata(reader, document, nil);
9532
9547
  if ($truthy(modified_attrs['$include?']("doctitle"))) {
9533
9548
  if ($truthy(($truthy($a = (val = doc_attrs['$[]']("doctitle"))['$nil_or_empty?']()) ? $a : val['$=='](doctitle_attr_val)))) {
9534
9549
 
@@ -9544,15 +9559,35 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9544
9559
  } else if ($truthy(l0_section_title['$!']())) {
9545
9560
  modified_attrs['$<<']("doctitle")};
9546
9561
  if ($truthy(doc_id)) {
9547
- document.$register("refs", [doc_id, document])};};
9562
+ document.$register("refs", [doc_id, document])};
9563
+ } else if ($truthy((author = doc_attrs['$[]']("author")))) {
9564
+
9565
+ author_metadata = self.$process_authors(author, true, false);
9566
+ if ($truthy(doc_attrs['$[]']("authorinitials"))) {
9567
+ author_metadata.$delete("authorinitials")};
9568
+ doc_attrs.$update(author_metadata);
9569
+ } else if ($truthy((author = doc_attrs['$[]']("authors")))) {
9570
+
9571
+ author_metadata = self.$process_authors(author, true);
9572
+ doc_attrs.$update(author_metadata);
9573
+ } else {
9574
+
9575
+ $writer = ["authorcount", 0];
9576
+ $send(doc_attrs, '[]=', Opal.to_a($writer));
9577
+ $writer[$rb_minus($writer["length"], 1)];
9578
+ };
9548
9579
  if (document.$doctype()['$==']("manpage")) {
9549
- self.$parse_manpage_header(reader, document, block_attrs)};
9580
+ self.$parse_manpage_header(reader, document, block_attrs, header_only)};
9550
9581
  return document.$finalize_header(block_attrs);
9551
- }, $Parser_parse_document_header$5.$$arity = 2);
9552
- Opal.defs(self, '$parse_manpage_header', $Parser_parse_manpage_header$6 = function $$parse_manpage_header(reader, document, block_attributes) {
9582
+ }, $Parser_parse_document_header$5.$$arity = -3);
9583
+ Opal.defs(self, '$parse_manpage_header', $Parser_parse_manpage_header$6 = function $$parse_manpage_header(reader, document, block_attributes, header_only) {
9553
9584
  var $a, $b, $$7, $$8, self = this, doc_attrs = nil, $writer = nil, manvolnum = nil, mantitle = nil, manname = nil, name_section_level = nil, name_section = nil, name_section_buffer = nil, mannames = nil, manpurpose = nil, error_msg = nil;
9554
9585
 
9555
9586
 
9587
+
9588
+ if (header_only == null) {
9589
+ header_only = false;
9590
+ };
9556
9591
  if ($truthy($$($nesting, 'ManpageTitleVolnumRx')['$=~']((doc_attrs = document.$attributes())['$[]']("doctitle")))) {
9557
9592
 
9558
9593
 
@@ -9597,6 +9632,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9597
9632
  $writer = ["outfilesuffix", "" + "." + (manvolnum)];
9598
9633
  $send(doc_attrs, '[]=', Opal.to_a($writer));
9599
9634
  $writer[$rb_minus($writer["length"], 1)];;};
9635
+ } else if ($truthy(header_only)) {
9600
9636
  } else {
9601
9637
 
9602
9638
  reader.$skip_blank_lines();
@@ -9696,7 +9732,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
9696
9732
  };
9697
9733
  };
9698
9734
  return nil;
9699
- }, $Parser_parse_manpage_header$6.$$arity = 3);
9735
+ }, $Parser_parse_manpage_header$6.$$arity = -4);
9700
9736
  Opal.defs(self, '$next_section', $Parser_next_section$9 = function $$next_section(reader, parent, attributes) {
9701
9737
  var $a, $b, $c, $d, self = this, preamble = nil, intro = nil, part = nil, has_header = nil, book = nil, document = nil, $writer = nil, section = nil, current_level = nil, expected_next_level = nil, expected_next_level_alt = nil, title = nil, sectname = nil, next_level = nil, expected_condition = nil, new_section = nil, block_cursor = nil, new_block = nil, first_block = nil, child_block = nil;
9702
9738
 
@@ -10079,7 +10115,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
10079
10115
  old_v = nil;
10080
10116
  };
10081
10117
  return old_v;}, $$11.$$s = self, $$11.$$arity = 2, $$11))};
10082
- if ($truthy((block = extension.$process_method()['$[]'](parent, target, attributes)))) {
10118
+ if ($truthy(($truthy($b = (block = extension.$process_method()['$[]'](parent, target, attributes))) ? block['$!='](parent) : $b))) {
10083
10119
 
10084
10120
  attributes.$replace(block.$attributes());
10085
10121
  break;;
@@ -10614,7 +10650,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
10614
10650
  };
10615
10651
  }, $Parser_is_delimited_block$ques$15.$$arity = -2);
10616
10652
  Opal.defs(self, '$build_block', $Parser_build_block$16 = function $$build_block(block_context, content_model, terminator, parent, reader, attributes, options) {
10617
- var $a, self = this, $case = nil, skip_processing = nil, parse_as_content_model = nil, lines = nil, block_reader = nil, block_cursor = nil, tab_size = nil, indent = nil, extension = nil, block = nil;
10653
+ var $a, $b, self = this, $case = nil, skip_processing = nil, parse_as_content_model = nil, lines = nil, block_reader = nil, block_cursor = nil, tab_size = nil, indent = nil, extension = nil, block = nil;
10618
10654
 
10619
10655
 
10620
10656
 
@@ -10661,10 +10697,10 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
10661
10697
  if ($truthy((extension = options['$[]']("extension")))) {
10662
10698
 
10663
10699
  attributes.$delete("style");
10664
- if ($truthy((block = extension.$process_method()['$[]'](parent, ($truthy($a = block_reader) ? $a : $$($nesting, 'Reader').$new(lines)), attributes.$merge())))) {
10700
+ if ($truthy(($truthy($a = (block = extension.$process_method()['$[]'](parent, ($truthy($b = block_reader) ? $b : $$($nesting, 'Reader').$new(lines)), attributes.$merge()))) ? block['$!='](parent) : $a))) {
10665
10701
 
10666
10702
  attributes.$replace(block.$attributes());
10667
- if ($truthy((($a = block.$content_model()['$==']("compound")) ? (lines = block.$lines())['$empty?']()['$!']() : block.$content_model()['$==']("compound")))) {
10703
+ if ($truthy(($truthy($a = (($b = block.$content_model()['$==']("compound")) ? $$($nesting, 'Block')['$==='](block) : block.$content_model()['$==']("compound"))) ? (lines = block.$lines())['$empty?']()['$!']() : $a))) {
10668
10704
 
10669
10705
  content_model = "compound";
10670
10706
  block_reader = $$($nesting, 'Reader').$new(lines);};
@@ -11407,60 +11443,58 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11407
11443
  sect_level = 0};};
11408
11444
  return [sect_id, sect_reftext, sect_title, sect_level, atx];
11409
11445
  }, $Parser_parse_section_title$40.$$arity = -3);
11410
- Opal.defs(self, '$parse_header_metadata', $Parser_parse_header_metadata$41 = function $$parse_header_metadata(reader, document) {
11411
- var $a, $$42, $$43, $$44, self = this, doc_attrs = nil, implicit_authors = nil, metadata = nil, implicit_author = nil, implicit_authorinitials = nil, author_metadata = nil, rev_metadata = nil, rev_line = nil, match = nil, $writer = nil, component = nil, author_line = nil, authors = nil, author_idx = nil, author_key = nil, explicit = nil, sparse = nil, author_override = nil;
11446
+ Opal.defs(self, '$parse_header_metadata', $Parser_parse_header_metadata$41 = function $$parse_header_metadata(reader, document, retrieve) {
11447
+ var $a, $$42, $$43, $$44, self = this, doc_attrs = nil, authorcount = nil, implicit_author_metadata = nil, $writer = nil, implicit_author = nil, implicit_authorinitials = nil, implicit_authors = nil, rev_line = nil, match = nil, rev_metadata = nil, component = nil, author_line = nil, author_metadata = nil, authors = nil, author_idx = nil, author_key = nil, explicit = nil, sparse = nil, author_override = nil;
11412
11448
 
11413
11449
 
11414
11450
 
11415
11451
  if (document == null) {
11416
11452
  document = nil;
11417
11453
  };
11454
+
11455
+ if (retrieve == null) {
11456
+ retrieve = true;
11457
+ };
11418
11458
  doc_attrs = ($truthy($a = document) ? document.$attributes() : $a);
11419
11459
  self.$process_attribute_entries(reader, document);
11420
- $a = [(implicit_authors = $hash2([], {})), nil, nil], (metadata = $a[0]), (implicit_author = $a[1]), (implicit_authorinitials = $a[2]), $a;
11421
11460
  if ($truthy(($truthy($a = reader['$has_more_lines?']()) ? reader['$next_line_empty?']()['$!']() : $a))) {
11422
11461
 
11423
- if ($truthy((author_metadata = self.$process_authors(reader.$read_line()))['$empty?']())) {
11424
- } else {
11462
+ authorcount = (implicit_author_metadata = self.$process_authors(reader.$read_line())).$delete("authorcount");
11463
+ if ($truthy(($truthy($a = document) ? $rb_gt((($writer = ["authorcount", authorcount]), $send(doc_attrs, '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)]), 0) : $a))) {
11425
11464
 
11426
- if ($truthy(document)) {
11427
-
11428
- $send(author_metadata, 'each', [], ($$42 = function(key, val){var self = $$42.$$s || this, $writer = nil;
11465
+ $send(implicit_author_metadata, 'each', [], ($$42 = function(key, val){var self = $$42.$$s || this;
11429
11466
 
11467
+
11430
11468
 
11469
+ if (key == null) {
11470
+ key = nil;
11471
+ };
11472
+
11473
+ if (val == null) {
11474
+ val = nil;
11475
+ };
11476
+ if ($truthy(doc_attrs['$key?'](key))) {
11477
+ return nil
11478
+ } else {
11431
11479
 
11432
- if (key == null) {
11433
- key = nil;
11434
- };
11435
-
11436
- if (val == null) {
11437
- val = nil;
11438
- };
11439
- if ($truthy(doc_attrs['$key?'](key))) {
11440
- return nil
11441
- } else {
11442
-
11443
- $writer = [key, (function() {if ($truthy($$$('::', 'String')['$==='](val))) {
11444
-
11445
- return document.$apply_header_subs(val);
11446
- } else {
11447
- return val
11448
- }; return nil; })()];
11449
- $send(doc_attrs, '[]=', Opal.to_a($writer));
11450
- return $writer[$rb_minus($writer["length"], 1)];
11451
- };}, $$42.$$s = self, $$42.$$arity = 2, $$42));
11452
- implicit_author = doc_attrs['$[]']("author");
11453
- implicit_authorinitials = doc_attrs['$[]']("authorinitials");
11454
- implicit_authors = doc_attrs['$[]']("authors");};
11455
- metadata = author_metadata;
11456
- };
11480
+ $writer = [key, document.$apply_header_subs(val)];
11481
+ $send(doc_attrs, '[]=', Opal.to_a($writer));
11482
+ return $writer[$rb_minus($writer["length"], 1)];
11483
+ };}, $$42.$$s = self, $$42.$$arity = 2, $$42));
11484
+ implicit_author = doc_attrs['$[]']("author");
11485
+ implicit_authorinitials = doc_attrs['$[]']("authorinitials");
11486
+ implicit_authors = doc_attrs['$[]']("authors");};
11487
+
11488
+ $writer = ["authorcount", authorcount];
11489
+ $send(implicit_author_metadata, '[]=', Opal.to_a($writer));
11490
+ $writer[$rb_minus($writer["length"], 1)];;
11457
11491
  self.$process_attribute_entries(reader, document);
11458
- rev_metadata = $hash2([], {});
11459
11492
  if ($truthy(($truthy($a = reader['$has_more_lines?']()) ? reader['$next_line_empty?']()['$!']() : $a))) {
11460
11493
 
11461
11494
  rev_line = reader.$read_line();
11462
11495
  if ($truthy((match = $$($nesting, 'RevisionInfoLineRx').$match(rev_line)))) {
11463
11496
 
11497
+ rev_metadata = $hash2([], {});
11464
11498
  if ($truthy(match['$[]'](1))) {
11465
11499
 
11466
11500
  $writer = ["revnumber", match['$[]'](1).$rstrip()];
@@ -11483,38 +11517,33 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11483
11517
  $writer = ["revremark", match['$[]'](3).$rstrip()];
11484
11518
  $send(rev_metadata, '[]=', Opal.to_a($writer));
11485
11519
  $writer[$rb_minus($writer["length"], 1)];};
11486
- } else {
11487
- reader.$unshift_line(rev_line)
11488
- };};
11489
- if ($truthy(rev_metadata['$empty?']())) {
11490
- } else {
11491
-
11492
- if ($truthy(document)) {
11493
- $send(rev_metadata, 'each', [], ($$43 = function(key, val){var self = $$43.$$s || this;
11520
+ if ($truthy(($truthy($a = document) ? rev_metadata['$empty?']()['$!']() : $a))) {
11521
+ $send(rev_metadata, 'each', [], ($$43 = function(key, val){var self = $$43.$$s || this;
11494
11522
 
11495
-
11496
-
11497
- if (key == null) {
11498
- key = nil;
11499
- };
11500
11523
 
11501
- if (val == null) {
11502
- val = nil;
11503
- };
11504
- if ($truthy(doc_attrs['$key?'](key))) {
11505
- return nil
11506
- } else {
11507
11524
 
11508
- $writer = [key, document.$apply_header_subs(val)];
11509
- $send(doc_attrs, '[]=', Opal.to_a($writer));
11510
- return $writer[$rb_minus($writer["length"], 1)];
11511
- };}, $$43.$$s = self, $$43.$$arity = 2, $$43))};
11512
- metadata.$update(rev_metadata);
11513
- };
11525
+ if (key == null) {
11526
+ key = nil;
11527
+ };
11528
+
11529
+ if (val == null) {
11530
+ val = nil;
11531
+ };
11532
+ if ($truthy(doc_attrs['$key?'](key))) {
11533
+ return nil
11534
+ } else {
11535
+
11536
+ $writer = [key, document.$apply_header_subs(val)];
11537
+ $send(doc_attrs, '[]=', Opal.to_a($writer));
11538
+ return $writer[$rb_minus($writer["length"], 1)];
11539
+ };}, $$43.$$s = self, $$43.$$arity = 2, $$43))};
11540
+ } else {
11541
+ reader.$unshift_line(rev_line)
11542
+ };};
11514
11543
  self.$process_attribute_entries(reader, document);
11515
11544
  reader.$skip_blank_lines();
11516
11545
  } else {
11517
- author_metadata = $hash2([], {})
11546
+ implicit_author_metadata = $hash2([], {})
11518
11547
  };
11519
11548
  if ($truthy(document)) {
11520
11549
 
@@ -11530,7 +11559,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11530
11559
  $a = [[], 1, "author_1", false, false], (authors = $a[0]), (author_idx = $a[1]), (author_key = $a[2]), (explicit = $a[3]), (sparse = $a[4]), $a;
11531
11560
  while ($truthy(doc_attrs['$key?'](author_key))) {
11532
11561
 
11533
- if ((author_override = doc_attrs['$[]'](author_key))['$=='](author_metadata['$[]'](author_key))) {
11562
+ if ((author_override = doc_attrs['$[]'](author_key))['$=='](implicit_author_metadata['$[]'](author_key))) {
11534
11563
 
11535
11564
  authors['$<<'](nil);
11536
11565
  sparse = true;
@@ -11558,7 +11587,7 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11558
11587
  if ($truthy(author)) {
11559
11588
  return nil;};
11560
11589
 
11561
- $writer = [idx, $send([author_metadata['$[]']("" + "firstname_" + ((name_idx = $rb_plus(idx, 1)))), author_metadata['$[]']("" + "middlename_" + (name_idx)), author_metadata['$[]']("" + "lastname_" + (name_idx))].$compact(), 'map', [], ($$45 = function(it){var self = $$45.$$s || this;
11590
+ $writer = [idx, $send([implicit_author_metadata['$[]']("" + "firstname_" + ((name_idx = $rb_plus(idx, 1)))), implicit_author_metadata['$[]']("" + "middlename_" + (name_idx)), implicit_author_metadata['$[]']("" + "lastname_" + (name_idx))].$compact(), 'map', [], ($$45 = function(it){var self = $$45.$$s || this;
11562
11591
 
11563
11592
 
11564
11593
 
@@ -11570,11 +11599,18 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11570
11599
  return $writer[$rb_minus($writer["length"], 1)];;}, $$44.$$s = self, $$44.$$arity = 2, $$44))};
11571
11600
  author_metadata = self.$process_authors(authors, true, false);
11572
11601
  } else {
11573
- author_metadata = $hash2([], {})
11602
+ author_metadata = $hash2(["authorcount"], {"authorcount": 0})
11574
11603
  };
11575
11604
  };
11576
- if ($truthy(author_metadata['$empty?']())) {
11577
- ($truthy($a = metadata['$[]']("authorcount")) ? $a : (($writer = ["authorcount", (($writer = ["authorcount", 0]), $send(doc_attrs, '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)])]), $send(metadata, '[]=', Opal.to_a($writer)), $writer[$rb_minus($writer["length"], 1)]))
11605
+ if (author_metadata['$[]']("authorcount")['$=='](0)) {
11606
+ if ($truthy(authorcount)) {
11607
+ author_metadata = nil
11608
+ } else {
11609
+
11610
+ $writer = ["authorcount", 0];
11611
+ $send(doc_attrs, '[]=', Opal.to_a($writer));
11612
+ $writer[$rb_minus($writer["length"], 1)];
11613
+ }
11578
11614
  } else {
11579
11615
 
11580
11616
  doc_attrs.$update(author_metadata);
@@ -11584,7 +11620,11 @@ Opal.modules["asciidoctor/parser"] = function(Opal) {
11584
11620
  $send(doc_attrs, '[]=', Opal.to_a($writer));
11585
11621
  $writer[$rb_minus($writer["length"], 1)];};
11586
11622
  };};
11587
- return metadata;
11623
+ if ($truthy(retrieve)) {
11624
+ return implicit_author_metadata.$merge(rev_metadata.$to_h(), author_metadata.$to_h())
11625
+ } else {
11626
+ return nil
11627
+ };
11588
11628
  }, $Parser_parse_header_metadata$41.$$arity = -2);
11589
11629
  Opal.defs(self, '$process_authors', $Parser_process_authors$46 = function $$process_authors(author_line, names_only, multiple) {
11590
11630
  var $a, $$47, self = this, author_metadata = nil, author_idx = nil, $writer = nil;
@@ -13124,7 +13164,7 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
13124
13164
  }
13125
13165
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $truthy = Opal.truthy, $send = Opal.send, $gvars = Opal.gvars, $hash = Opal.hash;
13126
13166
 
13127
- Opal.add_stubs(['$include', '$attr_reader', '$+', '$attr_accessor', '$!', '$===', '$split', '$file', '$dir', '$dirname', '$path', '$basename', '$lineno', '$reverse', '$prepare_lines', '$empty?', '$nil_or_empty?', '$peek_line', '$>', '$slice', '$[]', '$length', '$process_line', '$times', '$shift', '$read_line', '$<<', '$-', '$unshift_all', '$has_more_lines?', '$join', '$read_lines', '$unshift', '$start_with?', '$==', '$*', '$read_lines_until', '$size', '$clear', '$cursor', '$[]=', '$!=', '$fetch', '$cursor_at_mark', '$warn', '$logger', '$message_with_context', '$pop', '$push', '$respond_to?', '$reverse_each', '$new', '$tap', '$each', '$instance_variables', '$instance_variable_get', '$drop', '$instance_variable_set', '$class', '$object_id', '$inspect', '$private', '$prepare_source_array', '$prepare_source_string', '$chomp', '$valid_encoding?', '$to_s', '$raise', '$to_i', '$attributes', '$catalog', '$pop_include', '$parse', '$path=', '$dup', '$end_with?', '$keys', '$rindex', '$rootname', '$key?', '$attr', '$reverse!', '$>=', '$nil?', '$extensions?', '$include_processors?', '$extensions', '$include_processors', '$map', '$skip_front_matter!', '$adjust_indentation!', '$include?', '$=~', '$preprocess_conditional_directive', '$preprocess_include_directive', '$downcase', '$error', '$none?', '$any?', '$all?', '$strip', '$send', '$resolve_expr_val', '$replace_next_line', '$rstrip', '$sub_attributes', '$attribute_missing', '$info', '$parse_attributes', '$find', '$handles?', '$instance', '$process_method', '$safe', '$resolve_include_path', '$method', '$split_delimited_value', '$partition', '$<', '$to_a', '$uniq', '$sort', '$call', '$each_line', '$infinite?', '$push_include', '$delete', '$first', '$values', '$value?', '$create_include_cursor', '$delete_at', '$read', '$uriish?', '$attr?', '$require_library', '$normalize_system_path', '$file?', '$relative_path', '$path_resolver', '$base_dir', '$to_f']);
13167
+ Opal.add_stubs(['$include', '$attr_reader', '$+', '$attr_accessor', '$!', '$===', '$split', '$file', '$dir', '$dirname', '$path', '$basename', '$lineno', '$reverse', '$prepare_lines', '$empty?', '$nil_or_empty?', '$peek_line', '$>', '$slice', '$[]', '$length', '$process_line', '$times', '$shift', '$read_line', '$<<', '$-', '$unshift_all', '$has_more_lines?', '$join', '$read_lines', '$unshift', '$start_with?', '$==', '$*', '$read_lines_until', '$size', '$clear', '$cursor', '$[]=', '$!=', '$fetch', '$cursor_at_mark', '$warn', '$logger', '$message_with_context', '$pop', '$push', '$respond_to?', '$reverse_each', '$new', '$tap', '$each', '$instance_variables', '$instance_variable_get', '$drop', '$instance_variable_set', '$class', '$object_id', '$inspect', '$private', '$prepare_source_array', '$prepare_source_string', '$chomp', '$valid_encoding?', '$to_s', '$raise', '$to_i', '$attributes', '$catalog', '$pop_include', '$parse', '$path=', '$dup', '$end_with?', '$keys', '$rindex', '$rootname', '$key?', '$attr', '$reverse!', '$>=', '$nil?', '$extensions?', '$include_processors?', '$extensions', '$include_processors', '$map', '$skip_front_matter!', '$adjust_indentation!', '$include?', '$=~', '$preprocess_conditional_directive', '$preprocess_include_directive', '$downcase', '$error', '$none?', '$any?', '$all?', '$strip', '$send', '$resolve_expr_val', '$replace_next_line', '$rstrip', '$sub_attributes', '$attribute_missing', '$info', '$parse_attributes', '$find', '$handles?', '$instance', '$process_method', '$safe', '$resolve_include_path', '$method', '$split_delimited_value', '$partition', '$<', '$to_a', '$uniq', '$sort', '$call', '$each_line', '$infinite?', '$push_include', '$delete', '$first', '$values', '$value?', '$create_include_cursor', '$delete_at', '$keep_if', '$read', '$uriish?', '$attr?', '$require_library', '$normalize_system_path', '$file?', '$relative_path', '$path_resolver', '$base_dir', '$to_f']);
13128
13168
  return (function($base, $parent_nesting) {
13129
13169
  var self = $module($base, 'Asciidoctor');
13130
13170
 
@@ -13780,7 +13820,7 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
13780
13820
  (function($base, $super, $parent_nesting) {
13781
13821
  var self = $klass($base, $super, 'PreprocessorReader');
13782
13822
 
13783
- var $nesting = [self].concat($parent_nesting), $PreprocessorReader_initialize$47, $PreprocessorReader_has_more_lines$ques$48, $PreprocessorReader_empty$ques$49, $PreprocessorReader_peek_line$50, $PreprocessorReader_push_include$51, $PreprocessorReader_include_depth$52, $PreprocessorReader_exceeds_max_depth$ques$53, $PreprocessorReader_shift$54, $PreprocessorReader_include_processors$ques$55, $PreprocessorReader_create_include_cursor$56, $PreprocessorReader_to_s$57, $PreprocessorReader_prepare_lines$59, $PreprocessorReader_process_line$60, $PreprocessorReader_preprocess_conditional_directive$61, $PreprocessorReader_preprocess_include_directive$66, $PreprocessorReader_resolve_include_path$79, $PreprocessorReader_pop_include$81, $PreprocessorReader_split_delimited_value$82, $PreprocessorReader_skip_front_matter$excl$83, $PreprocessorReader_resolve_expr_val$84;
13823
+ var $nesting = [self].concat($parent_nesting), $PreprocessorReader_initialize$47, $PreprocessorReader_has_more_lines$ques$48, $PreprocessorReader_empty$ques$49, $PreprocessorReader_peek_line$50, $PreprocessorReader_push_include$51, $PreprocessorReader_include_depth$52, $PreprocessorReader_exceeds_max_depth$ques$53, $PreprocessorReader_shift$54, $PreprocessorReader_include_processors$ques$55, $PreprocessorReader_create_include_cursor$56, $PreprocessorReader_to_s$57, $PreprocessorReader_prepare_lines$59, $PreprocessorReader_process_line$60, $PreprocessorReader_preprocess_conditional_directive$61, $PreprocessorReader_preprocess_include_directive$66, $PreprocessorReader_resolve_include_path$80, $PreprocessorReader_pop_include$82, $PreprocessorReader_split_delimited_value$83, $PreprocessorReader_skip_front_matter$excl$84, $PreprocessorReader_resolve_expr_val$85;
13784
13824
 
13785
13825
  self.$$prototype.include_stack = self.$$prototype.lines = self.$$prototype.file = self.$$prototype.dir = self.$$prototype.path = self.$$prototype.lineno = self.$$prototype.maxdepth = self.$$prototype.process_lines = self.$$prototype.includes = self.$$prototype.document = self.$$prototype.unescape_next_line = self.$$prototype.include_processor_extensions = self.$$prototype.look_ahead = self.$$prototype.skipping = self.$$prototype.conditional_stack = nil;
13786
13826
 
@@ -14256,7 +14296,7 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14256
14296
  }, $PreprocessorReader_preprocess_conditional_directive$61.$$arity = 4);
14257
14297
 
14258
14298
  Opal.def(self, '$preprocess_include_directive', $PreprocessorReader_preprocess_include_directive$66 = function $$preprocess_include_directive(target, attrlist) {
14259
- var $a, $b, $$67, $$68, $$69, $$70, $$71, $$72, $$74, $$77, $$78, self = this, doc = nil, expanded_target = nil, attr_missing = nil, ext = nil, parsed_attrs = nil, inc_path = nil, target_type = nil, relpath = nil, $case = nil, reader = nil, read_mode = nil, enc = nil, $writer = nil, read_mode_params = nil, inc_linenos = nil, inc_tags = nil, tag = nil, inc_lines = nil, inc_offset = nil, inc_lineno = nil, tag_stack = nil, tags_used = nil, active_tag = nil, select = nil, base_select = nil, wildcard = nil, missing_tags = nil, inc_content = nil;
14299
+ var $a, $b, $$67, $$68, $$69, $$70, $$71, $$72, $$74, $$77, $$78, $$79, self = this, doc = nil, expanded_target = nil, attr_missing = nil, ext = nil, parsed_attrs = nil, inc_path = nil, target_type = nil, relpath = nil, $case = nil, reader = nil, read_mode = nil, enc = nil, $writer = nil, read_mode_params = nil, inc_linenos = nil, inc_tags = nil, tag = nil, inc_lines = nil, inc_offset = nil, inc_lineno = nil, tag_stack = nil, tags_selected = nil, active_tag = nil, select = nil, base_select = nil, wildcard = nil, missing_tags = nil, inc_content = nil;
14260
14300
 
14261
14301
 
14262
14302
  doc = self.document;
@@ -14460,7 +14500,7 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14460
14500
  self.$push_include(inc_lines, inc_path, relpath, inc_offset, parsed_attrs);};
14461
14501
  } else if ($truthy(inc_tags)) {
14462
14502
 
14463
- $a = [[], nil, 0, [], $$$('::', 'Set').$new(), nil], (inc_lines = $a[0]), (inc_offset = $a[1]), (inc_lineno = $a[2]), (tag_stack = $a[3]), (tags_used = $a[4]), (active_tag = $a[5]), $a;
14503
+ $a = [[], nil, 0, [], $$$('::', 'Set').$new(), nil], (inc_lines = $a[0]), (inc_offset = $a[1]), (inc_lineno = $a[2]), (tag_stack = $a[3]), (tags_selected = $a[4]), (active_tag = $a[5]), $a;
14464
14504
  if ($truthy(inc_tags['$key?']("**"))) {
14465
14505
 
14466
14506
  select = (base_select = inc_tags.$delete("**"));
@@ -14536,8 +14576,9 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14536
14576
  }
14537
14577
  } else if ($truthy(inc_tags['$key?'](this_tag))) {
14538
14578
 
14539
- tags_used['$<<'](this_tag);
14540
- return tag_stack['$<<']([(active_tag = this_tag), (select = inc_tags['$[]'](this_tag)), inc_lineno]);
14579
+ if ($truthy((select = inc_tags['$[]'](this_tag)))) {
14580
+ tags_selected['$<<'](this_tag)};
14581
+ return tag_stack['$<<']([(active_tag = this_tag), select, inc_lineno]);
14541
14582
  } else if ($truthy(wildcard['$nil?']()['$!']())) {
14542
14583
 
14543
14584
  select = (function() {if ($truthy(($truthy($d = active_tag) ? select['$!']() : $d))) {
@@ -14584,7 +14625,18 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14584
14625
  };
14585
14626
  return self.$logger().$warn(self.$message_with_context("" + "detected unclosed tag '" + (tag_name) + "' starting at line " + (tag_lineno) + " of include " + (target_type) + ": " + (inc_path), $hash2(["source_location", "include_location"], {"source_location": self.$cursor(), "include_location": self.$create_include_cursor(inc_path, expanded_target, tag_lineno)})));}, $$77.$$s = self, $$77.$$arity = 3, $$77))
14586
14627
  };
14587
- if ($truthy((missing_tags = $rb_minus(inc_tags.$keys(), tags_used.$to_a()))['$empty?']())) {
14628
+ if ($truthy((missing_tags = $rb_minus($send(inc_tags, 'keep_if', [], ($$78 = function(_, v){var self = $$78.$$s || this;
14629
+
14630
+
14631
+
14632
+ if (_ == null) {
14633
+ _ = nil;
14634
+ };
14635
+
14636
+ if (v == null) {
14637
+ v = nil;
14638
+ };
14639
+ return v;}, $$78.$$s = self, $$78.$$arity = 2, $$78)).$keys(), tags_selected.$to_a()))['$empty?']())) {
14588
14640
  } else {
14589
14641
  self.$logger().$warn(self.$message_with_context("" + "tag" + ((function() {if ($truthy($rb_gt(missing_tags.$size(), 1))) {
14590
14642
  return "s"
@@ -14607,14 +14659,14 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14607
14659
 
14608
14660
  try {
14609
14661
 
14610
- inc_content = $send(reader, 'call', [inc_path, read_mode], ($$78 = function(f){var self = $$78.$$s || this;
14662
+ inc_content = $send(reader, 'call', [inc_path, read_mode], ($$79 = function(f){var self = $$79.$$s || this;
14611
14663
 
14612
14664
 
14613
14665
 
14614
14666
  if (f == null) {
14615
14667
  f = nil;
14616
14668
  };
14617
- return f.$read();}, $$78.$$s = self, $$78.$$arity = 1, $$78));
14669
+ return f.$read();}, $$79.$$s = self, $$79.$$arity = 1, $$79));
14618
14670
  self.$shift();
14619
14671
  self.$push_include(inc_content, inc_path, relpath, 1, parsed_attrs);
14620
14672
  } catch ($err) {
@@ -14633,8 +14685,8 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14633
14685
  };
14634
14686
  }, $PreprocessorReader_preprocess_include_directive$66.$$arity = 2);
14635
14687
 
14636
- Opal.def(self, '$resolve_include_path', $PreprocessorReader_resolve_include_path$79 = function $$resolve_include_path(target, attrlist, attributes) {
14637
- var $a, $b, $$80, self = this, doc = nil, inc_path = nil, relpath = nil;
14688
+ Opal.def(self, '$resolve_include_path', $PreprocessorReader_resolve_include_path$80 = function $$resolve_include_path(target, attrlist, attributes) {
14689
+ var $a, $b, $$81, self = this, doc = nil, inc_path = nil, relpath = nil;
14638
14690
 
14639
14691
 
14640
14692
  doc = self.document;
@@ -14663,9 +14715,9 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14663
14715
  if ($truthy($$$('::', 'File')['$file?'](inc_path))) {
14664
14716
  } else if ($truthy(attributes['$[]']("optional-option"))) {
14665
14717
 
14666
- $send(self.$logger(), 'info', [], ($$80 = function(){var self = $$80.$$s || this;
14718
+ $send(self.$logger(), 'info', [], ($$81 = function(){var self = $$81.$$s || this;
14667
14719
 
14668
- return self.$message_with_context("" + "optional include dropped because include file not found: " + (inc_path), $hash2(["source_location"], {"source_location": self.$cursor()}))}, $$80.$$s = self, $$80.$$arity = 0, $$80));
14720
+ return self.$message_with_context("" + "optional include dropped because include file not found: " + (inc_path), $hash2(["source_location"], {"source_location": self.$cursor()}))}, $$81.$$s = self, $$81.$$arity = 0, $$81));
14669
14721
  self.$shift();
14670
14722
  return true;
14671
14723
  } else {
@@ -14676,9 +14728,9 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14676
14728
  relpath = doc.$path_resolver().$relative_path(inc_path, doc.$base_dir());
14677
14729
  return [inc_path, "file", relpath];
14678
14730
  };
14679
- }, $PreprocessorReader_resolve_include_path$79.$$arity = 3);
14731
+ }, $PreprocessorReader_resolve_include_path$80.$$arity = 3);
14680
14732
 
14681
- Opal.def(self, '$pop_include', $PreprocessorReader_pop_include$81 = function $$pop_include() {
14733
+ Opal.def(self, '$pop_include', $PreprocessorReader_pop_include$82 = function $$pop_include() {
14682
14734
  var $a, $b, self = this;
14683
14735
 
14684
14736
  if ($truthy(self.include_stack['$empty?']())) {
@@ -14689,9 +14741,9 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14689
14741
  self.look_ahead = 0;
14690
14742
  return nil;
14691
14743
  }
14692
- }, $PreprocessorReader_pop_include$81.$$arity = 0);
14744
+ }, $PreprocessorReader_pop_include$82.$$arity = 0);
14693
14745
 
14694
- Opal.def(self, '$split_delimited_value', $PreprocessorReader_split_delimited_value$82 = function $$split_delimited_value(val) {
14746
+ Opal.def(self, '$split_delimited_value', $PreprocessorReader_split_delimited_value$83 = function $$split_delimited_value(val) {
14695
14747
  var self = this;
14696
14748
 
14697
14749
  if ($truthy(val['$include?'](","))) {
@@ -14701,9 +14753,9 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14701
14753
 
14702
14754
  return val.$split(";");
14703
14755
  }
14704
- }, $PreprocessorReader_split_delimited_value$82.$$arity = 1);
14756
+ }, $PreprocessorReader_split_delimited_value$83.$$arity = 1);
14705
14757
 
14706
- Opal.def(self, '$skip_front_matter!', $PreprocessorReader_skip_front_matter$excl$83 = function(data, increment_linenos) {
14758
+ Opal.def(self, '$skip_front_matter!', $PreprocessorReader_skip_front_matter$excl$84 = function(data, increment_linenos) {
14707
14759
  var $a, $b, self = this, front_matter = nil, original_data = nil;
14708
14760
 
14709
14761
 
@@ -14738,8 +14790,8 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14738
14790
  self.lineno = $rb_plus(self.lineno, 1)};
14739
14791
  };};
14740
14792
  return front_matter;
14741
- }, $PreprocessorReader_skip_front_matter$excl$83.$$arity = -2);
14742
- return (Opal.def(self, '$resolve_expr_val', $PreprocessorReader_resolve_expr_val$84 = function $$resolve_expr_val(val) {
14793
+ }, $PreprocessorReader_skip_front_matter$excl$84.$$arity = -2);
14794
+ return (Opal.def(self, '$resolve_expr_val', $PreprocessorReader_resolve_expr_val$85 = function $$resolve_expr_val(val) {
14743
14795
  var $a, $b, self = this, quoted = nil;
14744
14796
 
14745
14797
 
@@ -14767,7 +14819,7 @@ Opal.modules["asciidoctor/reader"] = function(Opal) {
14767
14819
  } else {
14768
14820
  return val.$to_i()
14769
14821
  };
14770
- }, $PreprocessorReader_resolve_expr_val$84.$$arity = 1), nil) && 'resolve_expr_val';
14822
+ }, $PreprocessorReader_resolve_expr_val$85.$$arity = 1), nil) && 'resolve_expr_val';
14771
14823
  })($nesting[0], $$($nesting, 'Reader'), $nesting);
14772
14824
  })($nesting[0], $nesting)
14773
14825
  };
@@ -14785,7 +14837,7 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14785
14837
  }
14786
14838
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $hash2 = Opal.hash2, $send = Opal.send, $truthy = Opal.truthy;
14787
14839
 
14788
- Opal.add_stubs(['$attr_accessor', '$attr_reader', '$===', '$+', '$level', '$special', '$generate_id', '$title', '$==', '$>', '$sectnum', '$reftext', '$!', '$empty?', '$sub_placeholder', '$sub_quotes', '$compat_mode', '$[]', '$attributes', '$context', '$assign_numeral', '$class', '$object_id', '$inspect', '$size', '$length', '$chr', '$[]=', '$-', '$gsub', '$downcase', '$delete', '$tr_s', '$end_with?', '$chop', '$start_with?', '$slice', '$key?', '$catalog', '$unique_id_start_index']);
14840
+ Opal.add_stubs(['$attr_accessor', '$attr_reader', '$===', '$+', '$level', '$special', '$generate_id', '$title', '$>', '$==', '$sectnum', '$reftext', '$!', '$empty?', '$sub_placeholder', '$sub_quotes', '$compat_mode', '$[]', '$attributes', '$context', '$assign_numeral', '$class', '$object_id', '$inspect', '$size', '$length', '$chr', '$[]=', '$-', '$gsub', '$downcase', '$delete', '$tr_s', '$end_with?', '$chop', '$start_with?', '$slice', '$key?', '$catalog', '$unique_id_start_index']);
14789
14841
  return (function($base, $parent_nesting) {
14790
14842
  var self = $module($base, 'Asciidoctor');
14791
14843
 
@@ -14794,9 +14846,9 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14794
14846
  (function($base, $super, $parent_nesting) {
14795
14847
  var self = $klass($base, $super, 'Section');
14796
14848
 
14797
- var $nesting = [self].concat($parent_nesting), $Section_initialize$1, $Section_generate_id$2, $Section_sectnum$3, $Section_xreftext$4, $Section_$lt$lt$5, $Section_to_s$6, $Section_generate_id$7;
14849
+ var $nesting = [self].concat($parent_nesting), $Section_initialize$1, $Section_generate_id$2, $Section_sections$ques$3, $Section_sectnum$4, $Section_xreftext$5, $Section_$lt$lt$6, $Section_to_s$7, $Section_generate_id$8;
14798
14850
 
14799
- self.$$prototype.document = self.$$prototype.level = self.$$prototype.parent = self.$$prototype.numeral = self.$$prototype.numbered = self.$$prototype.sectname = self.$$prototype.title = self.$$prototype.blocks = nil;
14851
+ self.$$prototype.document = self.$$prototype.next_section_index = self.$$prototype.level = self.$$prototype.parent = self.$$prototype.numeral = self.$$prototype.numbered = self.$$prototype.sectname = self.$$prototype.title = self.$$prototype.blocks = nil;
14800
14852
 
14801
14853
  self.$attr_accessor("index");
14802
14854
  self.$attr_accessor("sectname");
@@ -14842,7 +14894,13 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14842
14894
  return $$($nesting, 'Section').$generate_id(self.$title(), self.document)
14843
14895
  }, $Section_generate_id$2.$$arity = 0);
14844
14896
 
14845
- Opal.def(self, '$sectnum', $Section_sectnum$3 = function $$sectnum(delimiter, append) {
14897
+ Opal.def(self, '$sections?', $Section_sections$ques$3 = function() {
14898
+ var self = this;
14899
+
14900
+ return $rb_gt(self.next_section_index, 0)
14901
+ }, $Section_sections$ques$3.$$arity = 0);
14902
+
14903
+ Opal.def(self, '$sectnum', $Section_sectnum$4 = function $$sectnum(delimiter, append) {
14846
14904
  var $a, self = this;
14847
14905
 
14848
14906
 
@@ -14864,9 +14922,9 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14864
14922
  } else {
14865
14923
  return "" + (self.numeral) + (append)
14866
14924
  };
14867
- }, $Section_sectnum$3.$$arity = -1);
14925
+ }, $Section_sectnum$4.$$arity = -1);
14868
14926
 
14869
- Opal.def(self, '$xreftext', $Section_xreftext$4 = function $$xreftext(xrefstyle) {
14927
+ Opal.def(self, '$xreftext', $Section_xreftext$5 = function $$xreftext(xrefstyle) {
14870
14928
  var $a, self = this, val = nil, $case = nil, type = nil, quoted_title = nil, signifier = nil;
14871
14929
 
14872
14930
 
@@ -14914,12 +14972,12 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14914
14972
  } else {
14915
14973
  return self.$title()
14916
14974
  };
14917
- }, $Section_xreftext$4.$$arity = -1);
14975
+ }, $Section_xreftext$5.$$arity = -1);
14918
14976
 
14919
- Opal.def(self, '$<<', $Section_$lt$lt$5 = function(block) {
14920
- var $iter = $Section_$lt$lt$5.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
14977
+ Opal.def(self, '$<<', $Section_$lt$lt$6 = function(block) {
14978
+ var $iter = $Section_$lt$lt$6.$$p, $yield = $iter || nil, self = this, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
14921
14979
 
14922
- if ($iter) $Section_$lt$lt$5.$$p = null;
14980
+ if ($iter) $Section_$lt$lt$6.$$p = null;
14923
14981
  // Prepare super implicit arguments
14924
14982
  for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
14925
14983
  $zuper[$zuper_i] = arguments[$zuper_i];
@@ -14927,13 +14985,13 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14927
14985
 
14928
14986
  if (block.$context()['$==']("section")) {
14929
14987
  self.$assign_numeral(block)};
14930
- return $send(self, Opal.find_super_dispatcher(self, '<<', $Section_$lt$lt$5, false), $zuper, $iter);
14931
- }, $Section_$lt$lt$5.$$arity = 1);
14988
+ return $send(self, Opal.find_super_dispatcher(self, '<<', $Section_$lt$lt$6, false), $zuper, $iter);
14989
+ }, $Section_$lt$lt$6.$$arity = 1);
14932
14990
 
14933
- Opal.def(self, '$to_s', $Section_to_s$6 = function $$to_s() {
14934
- var $iter = $Section_to_s$6.$$p, $yield = $iter || nil, self = this, formal_title = nil, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
14991
+ Opal.def(self, '$to_s', $Section_to_s$7 = function $$to_s() {
14992
+ var $iter = $Section_to_s$7.$$p, $yield = $iter || nil, self = this, formal_title = nil, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
14935
14993
 
14936
- if ($iter) $Section_to_s$6.$$p = null;
14994
+ if ($iter) $Section_to_s$7.$$p = null;
14937
14995
  // Prepare super implicit arguments
14938
14996
  for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
14939
14997
  $zuper[$zuper_i] = arguments[$zuper_i];
@@ -14947,10 +15005,10 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14947
15005
  }; return nil; })();
14948
15006
  return "" + "#<" + (self.$class()) + "@" + (self.$object_id()) + " {level: " + (self.level) + ", title: " + (formal_title.$inspect()) + ", blocks: " + (self.blocks.$size()) + "}>";
14949
15007
  } else {
14950
- return $send(self, Opal.find_super_dispatcher(self, 'to_s', $Section_to_s$6, false), $zuper, $iter)
15008
+ return $send(self, Opal.find_super_dispatcher(self, 'to_s', $Section_to_s$7, false), $zuper, $iter)
14951
15009
  }
14952
- }, $Section_to_s$6.$$arity = 0);
14953
- return (Opal.defs(self, '$generate_id', $Section_generate_id$7 = function $$generate_id(title, document) {
15010
+ }, $Section_to_s$7.$$arity = 0);
15011
+ return (Opal.defs(self, '$generate_id', $Section_generate_id$8 = function $$generate_id(title, document) {
14954
15012
  var $a, $b, self = this, attrs = nil, pre = nil, sep = nil, no_sep = nil, $writer = nil, sep_sub = nil, gen_id = nil, ids = nil, cnt = nil, candidate_id = nil;
14955
15013
 
14956
15014
 
@@ -14988,7 +15046,7 @@ Opal.modules["asciidoctor/section"] = function(Opal) {
14988
15046
  } else {
14989
15047
  return gen_id
14990
15048
  };
14991
- }, $Section_generate_id$7.$$arity = 2), nil) && 'generate_id';
15049
+ }, $Section_generate_id$8.$$arity = 2), nil) && 'generate_id';
14992
15050
  })($nesting[0], $$($nesting, 'AbstractBlock'), $nesting)
14993
15051
  })($nesting[0], $nesting)
14994
15052
  };
@@ -17221,7 +17279,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
17221
17279
  }
17222
17280
  var self = Opal.top, $nesting = [], nil = Opal.nil, $$$ = Opal.const_get_qualified, $$ = Opal.const_get_relative, $breaker = Opal.breaker, $slice = Opal.slice, $module = Opal.module, $klass = Opal.klass, $send = Opal.send, $hash2 = Opal.hash2, $truthy = Opal.truthy, $gvars = Opal.gvars;
17223
17281
 
17224
- Opal.add_stubs(['$register_for', '$default=', '$-', '$==', '$[]', '$init_backend_traits', '$node_name', '$===', '$convert_inline_quoted', '$convert_paragraph', '$convert_inline_anchor', '$convert_section', '$convert_listing', '$convert_literal', '$convert_ulist', '$convert_olist', '$convert_dlist', '$convert_admonition', '$convert_colist', '$convert_embedded', '$convert_example', '$convert_floating_title', '$convert_image', '$convert_inline_break', '$convert_inline_button', '$convert_inline_callout', '$convert_inline_footnote', '$convert_inline_image', '$convert_inline_indexterm', '$convert_inline_kbd', '$convert_inline_menu', '$convert_open', '$convert_page_break', '$convert_preamble', '$convert_quote', '$convert_sidebar', '$convert_stem', '$convert_table', '$convert_thematic_break', '$convert_verse', '$convert_video', '$convert_document', '$convert_toc', '$convert_pass', '$convert_audio', '$empty?', '$attr', '$attr?', '$<<', '$include?', '$sub_replacements', '$gsub', '$extname', '$slice', '$length', '$doctitle', '$normalize_web_path', '$primary_stylesheet_data', '$instance', '$read_contents', '$syntax_highlighter', '$size', '$docinfo', '$id', '$sections?', '$doctype', '$role?', '$role', '$join', '$noheader', '$convert', '$converter', '$generate_manname_section', '$header?', '$notitle', '$title', '$header', '$each', '$authors', '$>', '$name', '$email', '$sub_macros', '$+', '$downcase', '$concat', '$content', '$footnotes?', '$!', '$footnotes', '$index', '$text', '$nofooter', '$docinfo?', '$[]=', '$delete_at', '$inspect', '$!=', '$to_i', '$attributes', '$document', '$sections', '$level', '$caption', '$captioned_title', '$numbered', '$<=', '$<', '$sectname', '$sectnum', '$convert_outline', '$title?', '$icon_uri', '$compact', '$media_uri', '$option?', '$append_boolean_attribute', '$style', '$items', '$blocks?', '$text?', '$chomp', '$safe', '$read_svg_contents', '$alt', '$image_uri', '$encode_attribute_value', '$append_link_constraint_attrs', '$highlight?', '$to_sym', '$format', '$*', '$count', '$start_with?', '$end_with?', '$list_marker_keyword', '$parent', '$warn', '$logger', '$context', '$error', '$new', '$columns', '$to_h', '$rows', '$colspan', '$rowspan', '$unshift', '$shift', '$pop', '$split', '$nil_or_empty?', '$type', '$catalog', '$get_root_document', '$xreftext', '$target', '$reftext', '$chop', '$sub', '$match', '$private', '$upcase', '$nested?', '$parent_document', '$to_s', '$handles?', '$send']);
17282
+ Opal.add_stubs(['$register_for', '$default=', '$-', '$==', '$[]', '$init_backend_traits', '$node_name', '$===', '$convert_inline_quoted', '$convert_paragraph', '$convert_inline_anchor', '$convert_section', '$convert_listing', '$convert_literal', '$convert_ulist', '$convert_olist', '$convert_dlist', '$convert_admonition', '$convert_colist', '$convert_embedded', '$convert_example', '$convert_floating_title', '$convert_image', '$convert_inline_break', '$convert_inline_button', '$convert_inline_callout', '$convert_inline_footnote', '$convert_inline_image', '$convert_inline_indexterm', '$convert_inline_kbd', '$convert_inline_menu', '$convert_open', '$convert_page_break', '$convert_preamble', '$convert_quote', '$convert_sidebar', '$convert_stem', '$convert_table', '$convert_thematic_break', '$convert_verse', '$convert_video', '$convert_document', '$convert_toc', '$convert_pass', '$convert_audio', '$empty?', '$attr', '$attr?', '$<<', '$include?', '$sub_replacements', '$gsub', '$extname', '$slice', '$length', '$doctitle', '$normalize_web_path', '$primary_stylesheet_data', '$instance', '$read_contents', '$syntax_highlighter', '$size', '$docinfo', '$id', '$sections?', '$doctype', '$role?', '$role', '$join', '$noheader', '$convert', '$converter', '$generate_manname_section', '$header?', '$notitle', '$title', '$header', '$each', '$authors', '$>', '$name', '$email', '$sub_macros', '$+', '$downcase', '$concat', '$content', '$footnotes?', '$!', '$footnotes', '$index', '$text', '$nofooter', '$docinfo?', '$[]=', '$delete_at', '$inspect', '$!=', '$to_i', '$attributes', '$document', '$sections', '$level', '$caption', '$captioned_title', '$numbered', '$<=', '$<', '$sectname', '$sectnum', '$convert_outline', '$title?', '$icon_uri', '$compact', '$media_uri', '$option?', '$append_boolean_attribute', '$style', '$items', '$blocks?', '$text?', '$chomp', '$safe', '$read_svg_contents', '$alt', '$image_uri', '$encode_attribute_value', '$append_link_constraint_attrs', '$highlight?', '$to_sym', '$format', '$*', '$count', '$start_with?', '$end_with?', '$list_marker_keyword', '$parent', '$warn', '$logger', '$context', '$error', '$new', '$columns', '$to_h', '$rows', '$colspan', '$rowspan', '$unshift', '$shift', '$split', '$pop', '$nil_or_empty?', '$type', '$catalog', '$get_root_document', '$xreftext', '$target', '$reftext', '$chop', '$sub', '$match', '$private', '$upcase', '$nested?', '$parent_document', '$to_s', '$handles?', '$send']);
17225
17283
  return (function($base, $parent_nesting) {
17226
17284
  var self = $module($base, 'Asciidoctor');
17227
17285
 
@@ -17230,7 +17288,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
17230
17288
  (function($base, $super, $parent_nesting) {
17231
17289
  var self = $klass($base, $super, 'Html5Converter');
17232
17290
 
17233
- var $nesting = [self].concat($parent_nesting), $Html5Converter_initialize$1, $Html5Converter_convert$2, $Html5Converter_convert_document$3, $Html5Converter_convert_embedded$6, $Html5Converter_convert_outline$8, $Html5Converter_convert_section$10, $Html5Converter_convert_admonition$11, $Html5Converter_convert_audio$12, $Html5Converter_convert_colist$13, $Html5Converter_convert_dlist$16, $Html5Converter_convert_example$23, $Html5Converter_convert_floating_title$24, $Html5Converter_convert_image$25, $Html5Converter_convert_listing$26, $Html5Converter_convert_literal$27, $Html5Converter_convert_stem$28, $Html5Converter_convert_olist$30, $Html5Converter_convert_open$32, $Html5Converter_convert_page_break$33, $Html5Converter_convert_paragraph$34, $Html5Converter_convert_preamble$35, $Html5Converter_convert_quote$36, $Html5Converter_convert_thematic_break$37, $Html5Converter_convert_sidebar$38, $Html5Converter_convert_table$39, $Html5Converter_convert_toc$44, $Html5Converter_convert_ulist$45, $Html5Converter_convert_verse$47, $Html5Converter_convert_video$48, $Html5Converter_convert_inline_anchor$49, $Html5Converter_convert_inline_break$50, $Html5Converter_convert_inline_button$51, $Html5Converter_convert_inline_callout$52, $Html5Converter_convert_inline_footnote$53, $Html5Converter_convert_inline_image$54, $Html5Converter_convert_inline_indexterm$56, $Html5Converter_convert_inline_kbd$57, $Html5Converter_convert_inline_menu$58, $Html5Converter_convert_inline_quoted$59, $Html5Converter_read_svg_contents$60, $Html5Converter_append_boolean_attribute$62, $Html5Converter_append_link_constraint_attrs$63, $Html5Converter_encode_attribute_value$64, $Html5Converter_generate_manname_section$65, $Html5Converter_get_root_document$66, $Html5Converter_method_missing$67, $Html5Converter_respond_to_missing$ques$68, $writer = nil;
17291
+ var $nesting = [self].concat($parent_nesting), $Html5Converter_initialize$1, $Html5Converter_convert$2, $Html5Converter_convert_document$3, $Html5Converter_convert_embedded$6, $Html5Converter_convert_outline$8, $Html5Converter_convert_section$10, $Html5Converter_convert_admonition$11, $Html5Converter_convert_audio$12, $Html5Converter_convert_colist$13, $Html5Converter_convert_dlist$16, $Html5Converter_convert_example$23, $Html5Converter_convert_floating_title$24, $Html5Converter_convert_image$25, $Html5Converter_convert_listing$26, $Html5Converter_convert_literal$27, $Html5Converter_convert_stem$28, $Html5Converter_convert_olist$30, $Html5Converter_convert_open$32, $Html5Converter_convert_page_break$33, $Html5Converter_convert_paragraph$34, $Html5Converter_convert_preamble$35, $Html5Converter_convert_quote$36, $Html5Converter_convert_thematic_break$37, $Html5Converter_convert_sidebar$38, $Html5Converter_convert_table$39, $Html5Converter_convert_toc$44, $Html5Converter_convert_ulist$45, $Html5Converter_convert_verse$47, $Html5Converter_convert_video$48, $Html5Converter_convert_inline_anchor$49, $Html5Converter_convert_inline_break$50, $Html5Converter_convert_inline_button$51, $Html5Converter_convert_inline_callout$52, $Html5Converter_convert_inline_footnote$53, $Html5Converter_convert_inline_image$54, $Html5Converter_convert_inline_indexterm$55, $Html5Converter_convert_inline_kbd$56, $Html5Converter_convert_inline_menu$57, $Html5Converter_convert_inline_quoted$58, $Html5Converter_read_svg_contents$59, $Html5Converter_append_boolean_attribute$61, $Html5Converter_append_link_constraint_attrs$62, $Html5Converter_encode_attribute_value$63, $Html5Converter_generate_manname_section$64, $Html5Converter_get_root_document$65, $Html5Converter_method_missing$66, $Html5Converter_respond_to_missing$ques$67, $writer = nil;
17234
17292
 
17235
17293
  self.$$prototype.void_element_slash = self.$$prototype.xml_mode = self.$$prototype.refs = self.$$prototype.resolving_xref = nil;
17236
17294
 
@@ -18067,7 +18125,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18067
18125
  }, $Html5Converter_convert_floating_title$24.$$arity = 1);
18068
18126
 
18069
18127
  Opal.def(self, '$convert_image', $Html5Converter_convert_image$25 = function $$convert_image(node) {
18070
- var $a, $b, $c, self = this, target = nil, width_attr = nil, height_attr = nil, svg = nil, obj = nil, img = nil, fallback = nil, id_attr = nil, classes = nil, class_attr = nil, title_el = nil;
18128
+ var $a, $b, self = this, target = nil, width_attr = nil, height_attr = nil, img = nil, fallback = nil, id_attr = nil, classes = nil, class_attr = nil, title_el = nil;
18071
18129
 
18072
18130
 
18073
18131
  target = node.$attr("target");
@@ -18081,18 +18139,23 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18081
18139
  } else {
18082
18140
  return ""
18083
18141
  }; return nil; })();
18084
- if ($truthy(($truthy($a = ($truthy($b = ($truthy($c = node['$attr?']("format", "svg")) ? $c : target['$include?'](".svg"))) ? $rb_lt(node.$document().$safe(), $$$($$($nesting, 'SafeMode'), 'SECURE')) : $b)) ? ($truthy($b = (svg = node['$option?']("inline"))) ? $b : (obj = node['$option?']("interactive"))) : $a))) {
18085
- if ($truthy(svg)) {
18142
+ if ($truthy(($truthy($a = ($truthy($b = node['$attr?']("format", "svg")) ? $b : target['$include?'](".svg"))) ? $rb_lt(node.$document().$safe(), $$$($$($nesting, 'SafeMode'), 'SECURE')) : $a))) {
18143
+ if ($truthy(node['$option?']("inline"))) {
18086
18144
  img = ($truthy($a = self.$read_svg_contents(node, target)) ? $a : "" + "<span class=\"alt\">" + (node.$alt()) + "</span>")
18087
- } else if ($truthy(obj)) {
18145
+ } else if ($truthy(node['$option?']("interactive"))) {
18088
18146
 
18089
18147
  fallback = (function() {if ($truthy(node['$attr?']("fallback"))) {
18090
18148
  return "" + "<img src=\"" + (node.$image_uri(node.$attr("fallback"))) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (width_attr) + (height_attr) + (self.void_element_slash) + ">"
18091
18149
  } else {
18092
18150
  return "" + "<span class=\"alt\">" + (node.$alt()) + "</span>"
18093
18151
  }; return nil; })();
18094
- img = "" + "<object type=\"image/svg+xml\" data=\"" + (node.$image_uri(target)) + "\"" + (width_attr) + (height_attr) + ">" + (fallback) + "</object>";}};
18095
- img = ($truthy($a = img) ? $a : "" + "<img src=\"" + (node.$image_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (width_attr) + (height_attr) + (self.void_element_slash) + ">");
18152
+ img = "" + "<object type=\"image/svg+xml\" data=\"" + (node.$image_uri(target)) + "\"" + (width_attr) + (height_attr) + ">" + (fallback) + "</object>";
18153
+ } else {
18154
+ img = "" + "<img src=\"" + (node.$image_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (width_attr) + (height_attr) + (self.void_element_slash) + ">"
18155
+ }
18156
+ } else {
18157
+ img = "" + "<img src=\"" + (node.$image_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (width_attr) + (height_attr) + (self.void_element_slash) + ">"
18158
+ };
18096
18159
  if ($truthy(node['$attr?']("link"))) {
18097
18160
  img = "" + "<a class=\"image\" href=\"" + (node.$attr("link")) + "\"" + (self.$append_link_constraint_attrs(node).$join()) + ">" + (img) + "</a>"};
18098
18161
  id_attr = (function() {if ($truthy(node.$id())) {
@@ -18475,7 +18538,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18475
18538
  }, $Html5Converter_convert_sidebar$38.$$arity = 1);
18476
18539
 
18477
18540
  Opal.def(self, '$convert_table', $Html5Converter_convert_table$39 = function $$convert_table(node) {
18478
- var $a, $$40, $$41, self = this, result = nil, id_attribute = nil, frame = nil, classes = nil, stripes = nil, styles = nil, autowidth = nil, tablewidth = nil, role = nil, class_attribute = nil, style_attribute = nil, slash = nil;
18541
+ var $a, $$40, $$41, self = this, result = nil, id_attribute = nil, frame = nil, classes = nil, stripes = nil, style_attribute = nil, autowidth = nil, tablewidth = nil, role = nil, class_attribute = nil, slash = nil;
18479
18542
 
18480
18543
 
18481
18544
  result = [];
@@ -18489,24 +18552,19 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18489
18552
  classes = ["tableblock", "" + "frame-" + (frame), "" + "grid-" + (node.$attr("grid", "all", "table-grid"))];
18490
18553
  if ($truthy((stripes = node.$attr("stripes", nil, "table-stripes")))) {
18491
18554
  classes['$<<']("" + "stripes-" + (stripes))};
18492
- styles = [];
18555
+ style_attribute = "";
18493
18556
  if ($truthy(($truthy($a = (autowidth = node['$option?']("autowidth"))) ? node['$attr?']("width")['$!']() : $a))) {
18494
18557
  classes['$<<']("fit-content")
18495
18558
  } else if ((tablewidth = node.$attr("tablepcwidth"))['$=='](100)) {
18496
18559
  classes['$<<']("stretch")
18497
18560
  } else {
18498
- styles['$<<']("" + "width: " + (tablewidth) + "%;")
18561
+ style_attribute = "" + " style=\"width: " + (tablewidth) + "%;\""
18499
18562
  };
18500
18563
  if ($truthy(node['$attr?']("float"))) {
18501
18564
  classes['$<<'](node.$attr("float"))};
18502
18565
  if ($truthy((role = node.$role()))) {
18503
18566
  classes['$<<'](role)};
18504
18567
  class_attribute = "" + " class=\"" + (classes.$join(" ")) + "\"";
18505
- style_attribute = (function() {if ($truthy(styles['$empty?']())) {
18506
- return ""
18507
- } else {
18508
- return "" + " style=\"" + (styles.$join(" ")) + "\""
18509
- }; return nil; })();
18510
18568
  result['$<<']("" + "<table" + (id_attribute) + (class_attribute) + (style_attribute) + ">");
18511
18569
  if ($truthy(node['$title?']())) {
18512
18570
  result['$<<']("" + "<caption class=\"title\">" + (node.$captioned_title()) + "</caption>")};
@@ -18770,7 +18828,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18770
18828
  }, $Html5Converter_convert_verse$47.$$arity = 1);
18771
18829
 
18772
18830
  Opal.def(self, '$convert_video', $Html5Converter_convert_video$48 = function $$convert_video(node) {
18773
- var $a, $b, self = this, xml = nil, id_attribute = nil, classes = nil, class_attribute = nil, title_element = nil, width_attribute = nil, height_attribute = nil, $case = nil, asset_uri_scheme = nil, start_anchor = nil, delimiter = nil, autoplay_param = nil, loop_param = nil, muted_param = nil, rel_param_val = nil, start_param = nil, end_param = nil, has_loop_param = nil, mute_param = nil, controls_param = nil, fs_param = nil, fs_attribute = nil, modest_param = nil, theme_param = nil, hl_param = nil, target = nil, list = nil, list_param = nil, playlist = nil, poster_attribute = nil, val = nil, preload_attribute = nil, start_t = nil, end_t = nil, time_anchor = nil;
18831
+ var $a, $b, self = this, xml = nil, id_attribute = nil, classes = nil, class_attribute = nil, title_element = nil, width_attribute = nil, height_attribute = nil, $case = nil, asset_uri_scheme = nil, start_anchor = nil, delimiter = nil, target = nil, hash = nil, hash_param = nil, autoplay_param = nil, loop_param = nil, muted_param = nil, rel_param_val = nil, start_param = nil, end_param = nil, has_loop_param = nil, mute_param = nil, controls_param = nil, fs_param = nil, fs_attribute = nil, modest_param = nil, theme_param = nil, hl_param = nil, list = nil, list_param = nil, playlist = nil, poster_attribute = nil, val = nil, preload_attribute = nil, start_t = nil, end_t = nil, time_anchor = nil;
18774
18832
 
18775
18833
 
18776
18834
  xml = self.xml_mode;
@@ -18814,6 +18872,12 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18814
18872
  return ""
18815
18873
  }; return nil; })();
18816
18874
  delimiter = ["?"];
18875
+ $b = node.$attr("target").$split("/", 2), $a = Opal.to_ary($b), (target = ($a[0] == null ? nil : $a[0])), (hash = ($a[1] == null ? nil : $a[1])), $b;
18876
+ hash_param = (function() {if ($truthy((hash = ($truthy($a = hash) ? $a : node.$attr("hash"))))) {
18877
+ return "" + (($truthy($a = delimiter.$pop()) ? $a : "&amp;")) + "h=" + (hash)
18878
+ } else {
18879
+ return ""
18880
+ }; return nil; })();
18817
18881
  autoplay_param = (function() {if ($truthy(node['$option?']("autoplay"))) {
18818
18882
  return "" + (($truthy($a = delimiter.$pop()) ? $a : "&amp;")) + "autoplay=1"
18819
18883
  } else {
@@ -18829,7 +18893,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18829
18893
  } else {
18830
18894
  return ""
18831
18895
  }; return nil; })();
18832
- return "" + "<div" + (id_attribute) + (class_attribute) + ">" + (title_element) + "\n" + "<div class=\"content\">\n" + "<iframe" + (width_attribute) + (height_attribute) + " src=\"" + (asset_uri_scheme) + "//player.vimeo.com/video/" + (node.$attr("target")) + (autoplay_param) + (loop_param) + (muted_param) + (start_anchor) + "\" frameborder=\"0\"" + ((function() {if ($truthy(node['$option?']("nofullscreen"))) {
18896
+ return "" + "<div" + (id_attribute) + (class_attribute) + ">" + (title_element) + "\n" + "<div class=\"content\">\n" + "<iframe" + (width_attribute) + (height_attribute) + " src=\"" + (asset_uri_scheme) + "//player.vimeo.com/video/" + (target) + (hash_param) + (autoplay_param) + (loop_param) + (muted_param) + (start_anchor) + "\" frameborder=\"0\"" + ((function() {if ($truthy(node['$option?']("nofullscreen"))) {
18833
18897
  return ""
18834
18898
  } else {
18835
18899
 
@@ -18906,7 +18970,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
18906
18970
 
18907
18971
  $b = target.$split(",", 2), $a = Opal.to_ary($b), (target = ($a[0] == null ? nil : $a[0])), (playlist = ($a[1] == null ? nil : $a[1])), $b;
18908
18972
  if ($truthy((playlist = ($truthy($a = playlist) ? $a : node.$attr("playlist"))))) {
18909
- list_param = "" + "&amp;playlist=" + (playlist)
18973
+ list_param = "" + "&amp;playlist=" + (target) + "," + (playlist)
18910
18974
  } else {
18911
18975
  list_param = (function() {if ($truthy(has_loop_param)) {
18912
18976
  return "" + "&amp;playlist=" + (target)
@@ -19082,87 +19146,85 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19082
19146
  }, $Html5Converter_convert_inline_footnote$53.$$arity = 1);
19083
19147
 
19084
19148
  Opal.def(self, '$convert_inline_image', $Html5Converter_convert_inline_image$54 = function $$convert_inline_image(node) {
19085
- var $a, $b, $$55, $c, $d, self = this, type = nil, class_attr_val = nil, title_attr = nil, img = nil, target = nil, attrs = nil, svg = nil, obj = nil, fallback = nil, role = nil;
19086
-
19087
-
19088
- if ($truthy((($a = (type = ($truthy($b = node.$type()) ? $b : "image"))['$==']("icon")) ? node.$document()['$attr?']("icons", "font") : (type = ($truthy($b = node.$type()) ? $b : "image"))['$==']("icon")))) {
19089
-
19090
- class_attr_val = "" + "fa fa-" + (node.$target());
19091
- $send($hash2(["size", "rotate", "flip"], {"size": "fa-", "rotate": "fa-rotate-", "flip": "fa-flip-"}), 'each', [], ($$55 = function(key, prefix){var self = $$55.$$s || this;
19092
-
19093
-
19094
-
19095
- if (key == null) {
19096
- key = nil;
19097
- };
19149
+ var $a, $b, self = this, target = nil, type = nil, icons = nil, i_class_attr_val = nil, attrs = nil, img = nil, fallback = nil, class_attr_val = nil, role = nil;
19150
+
19151
+
19152
+ target = node.$target();
19153
+ if ((type = ($truthy($a = node.$type()) ? $a : "image"))['$==']("icon")) {
19154
+ if ((icons = node.$document().$attr("icons"))['$==']("font")) {
19155
+
19156
+ i_class_attr_val = "" + "fa fa-" + (target);
19157
+ if ($truthy(node['$attr?']("size"))) {
19158
+ i_class_attr_val = "" + (i_class_attr_val) + " fa-" + (node.$attr("size"))};
19159
+ if ($truthy(node['$attr?']("flip"))) {
19160
+ i_class_attr_val = "" + (i_class_attr_val) + " fa-flip-" + (node.$attr("flip"))
19161
+ } else if ($truthy(node['$attr?']("rotate"))) {
19162
+ i_class_attr_val = "" + (i_class_attr_val) + " fa-rotate-" + (node.$attr("rotate"))};
19163
+ attrs = (function() {if ($truthy(node['$attr?']("title"))) {
19164
+ return "" + " title=\"" + (node.$attr("title")) + "\""
19165
+ } else {
19166
+ return ""
19167
+ }; return nil; })();
19168
+ img = "" + "<i class=\"" + (i_class_attr_val) + "\"" + (attrs) + "></i>";
19169
+ } else if ($truthy(icons)) {
19098
19170
 
19099
- if (prefix == null) {
19100
- prefix = nil;
19101
- };
19102
- if ($truthy(node['$attr?'](key))) {
19103
- return (class_attr_val = "" + (class_attr_val) + " " + (prefix) + (node.$attr(key)))
19171
+ attrs = (function() {if ($truthy(node['$attr?']("width"))) {
19172
+ return "" + " width=\"" + (node.$attr("width")) + "\""
19104
19173
  } else {
19105
- return nil
19106
- };}, $$55.$$s = self, $$55.$$arity = 2, $$55));
19107
- title_attr = (function() {if ($truthy(node['$attr?']("title"))) {
19108
- return "" + " title=\"" + (node.$attr("title")) + "\""
19174
+ return ""
19175
+ }; return nil; })();
19176
+ if ($truthy(node['$attr?']("height"))) {
19177
+ attrs = "" + (attrs) + " height=\"" + (node.$attr("height")) + "\""};
19178
+ if ($truthy(node['$attr?']("title"))) {
19179
+ attrs = "" + (attrs) + " title=\"" + (node.$attr("title")) + "\""};
19180
+ img = "" + "<img src=\"" + (node.$icon_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (attrs) + (self.void_element_slash) + ">";
19109
19181
  } else {
19110
- return ""
19111
- }; return nil; })();
19112
- img = "" + "<i class=\"" + (class_attr_val) + "\"" + (title_attr) + "></i>";
19113
- } else if ($truthy((($a = type['$==']("icon")) ? node.$document()['$attr?']("icons")['$!']() : type['$==']("icon")))) {
19114
- img = "" + "[" + (node.$alt()) + "]"
19182
+ img = "" + "[" + (node.$alt()) + "&#93;"
19183
+ }
19115
19184
  } else {
19116
19185
 
19117
- target = node.$target();
19118
- attrs = [];
19119
- if ($truthy(node['$attr?']("width"))) {
19120
- attrs['$<<']("" + " width=\"" + (node.$attr("width")) + "\"")};
19121
- if ($truthy(node['$attr?']("height"))) {
19122
- attrs['$<<']("" + " height=\"" + (node.$attr("height")) + "\"")};
19123
- if ($truthy(node['$attr?']("title"))) {
19124
- attrs['$<<']("" + " title=\"" + (node.$attr("title")) + "\"")};
19125
- attrs = (function() {if ($truthy(attrs['$empty?']())) {
19126
- return ""
19186
+ attrs = (function() {if ($truthy(node['$attr?']("width"))) {
19187
+ return "" + " width=\"" + (node.$attr("width")) + "\""
19127
19188
  } else {
19128
- return attrs.$join()
19189
+ return ""
19129
19190
  }; return nil; })();
19130
- if ($truthy(($truthy($a = ($truthy($b = ($truthy($c = type['$!=']("icon")) ? ($truthy($d = node['$attr?']("format", "svg")) ? $d : target['$include?'](".svg")) : $c)) ? $rb_lt(node.$document().$safe(), $$$($$($nesting, 'SafeMode'), 'SECURE')) : $b)) ? ($truthy($b = (svg = node['$option?']("inline"))) ? $b : (obj = node['$option?']("interactive"))) : $a))) {
19131
- if ($truthy(svg)) {
19191
+ if ($truthy(node['$attr?']("height"))) {
19192
+ attrs = "" + (attrs) + " height=\"" + (node.$attr("height")) + "\""};
19193
+ if ($truthy(node['$attr?']("title"))) {
19194
+ attrs = "" + (attrs) + " title=\"" + (node.$attr("title")) + "\""};
19195
+ if ($truthy(($truthy($a = ($truthy($b = node['$attr?']("format", "svg")) ? $b : target['$include?'](".svg"))) ? $rb_lt(node.$document().$safe(), $$$($$($nesting, 'SafeMode'), 'SECURE')) : $a))) {
19196
+ if ($truthy(node['$option?']("inline"))) {
19132
19197
  img = ($truthy($a = self.$read_svg_contents(node, target)) ? $a : "" + "<span class=\"alt\">" + (node.$alt()) + "</span>")
19133
- } else if ($truthy(obj)) {
19198
+ } else if ($truthy(node['$option?']("interactive"))) {
19134
19199
 
19135
19200
  fallback = (function() {if ($truthy(node['$attr?']("fallback"))) {
19136
19201
  return "" + "<img src=\"" + (node.$image_uri(node.$attr("fallback"))) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (attrs) + (self.void_element_slash) + ">"
19137
19202
  } else {
19138
19203
  return "" + "<span class=\"alt\">" + (node.$alt()) + "</span>"
19139
19204
  }; return nil; })();
19140
- img = "" + "<object type=\"image/svg+xml\" data=\"" + (node.$image_uri(target)) + "\"" + (attrs) + ">" + (fallback) + "</object>";}};
19141
- img = ($truthy($a = img) ? $a : "" + "<img src=\"" + ((function() {if (type['$==']("icon")) {
19142
-
19143
- return node.$icon_uri(target);
19205
+ img = "" + "<object type=\"image/svg+xml\" data=\"" + (node.$image_uri(target)) + "\"" + (attrs) + ">" + (fallback) + "</object>";
19206
+ } else {
19207
+ img = "" + "<img src=\"" + (node.$image_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (attrs) + (self.void_element_slash) + ">"
19208
+ }
19144
19209
  } else {
19145
-
19146
- return node.$image_uri(target);
19147
- }; return nil; })()) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (attrs) + (self.void_element_slash) + ">");
19210
+ img = "" + "<img src=\"" + (node.$image_uri(target)) + "\" alt=\"" + (self.$encode_attribute_value(node.$alt())) + "\"" + (attrs) + (self.void_element_slash) + ">"
19211
+ };
19148
19212
  };
19149
19213
  if ($truthy(node['$attr?']("link"))) {
19150
19214
  img = "" + "<a class=\"image\" href=\"" + (node.$attr("link")) + "\"" + (self.$append_link_constraint_attrs(node).$join()) + ">" + (img) + "</a>"};
19215
+ class_attr_val = type;
19151
19216
  if ($truthy((role = node.$role()))) {
19152
- if ($truthy(node['$attr?']("float"))) {
19153
- class_attr_val = "" + (type) + " " + (node.$attr("float")) + " " + (role)
19217
+ class_attr_val = (function() {if ($truthy(node['$attr?']("float"))) {
19218
+ return "" + (class_attr_val) + " " + (node.$attr("float")) + " " + (role)
19154
19219
  } else {
19155
- class_attr_val = "" + (type) + " " + (role)
19156
- }
19220
+ return "" + (class_attr_val) + " " + (role)
19221
+ }; return nil; })()
19157
19222
  } else if ($truthy(node['$attr?']("float"))) {
19158
- class_attr_val = "" + (type) + " " + (node.$attr("float"))
19159
- } else {
19160
- class_attr_val = type
19161
- };
19223
+ class_attr_val = "" + (class_attr_val) + " " + (node.$attr("float"))};
19162
19224
  return "" + "<span class=\"" + (class_attr_val) + "\">" + (img) + "</span>";
19163
19225
  }, $Html5Converter_convert_inline_image$54.$$arity = 1);
19164
19226
 
19165
- Opal.def(self, '$convert_inline_indexterm', $Html5Converter_convert_inline_indexterm$56 = function $$convert_inline_indexterm(node) {
19227
+ Opal.def(self, '$convert_inline_indexterm', $Html5Converter_convert_inline_indexterm$55 = function $$convert_inline_indexterm(node) {
19166
19228
  var self = this;
19167
19229
 
19168
19230
  if (node.$type()['$==']("visible")) {
@@ -19170,9 +19232,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19170
19232
  } else {
19171
19233
  return ""
19172
19234
  }
19173
- }, $Html5Converter_convert_inline_indexterm$56.$$arity = 1);
19235
+ }, $Html5Converter_convert_inline_indexterm$55.$$arity = 1);
19174
19236
 
19175
- Opal.def(self, '$convert_inline_kbd', $Html5Converter_convert_inline_kbd$57 = function $$convert_inline_kbd(node) {
19237
+ Opal.def(self, '$convert_inline_kbd', $Html5Converter_convert_inline_kbd$56 = function $$convert_inline_kbd(node) {
19176
19238
  var self = this, keys = nil;
19177
19239
 
19178
19240
  if ((keys = node.$attr("keys")).$size()['$=='](1)) {
@@ -19180,9 +19242,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19180
19242
  } else {
19181
19243
  return "" + "<span class=\"keyseq\"><kbd>" + (keys.$join("</kbd>+<kbd>")) + "</kbd></span>"
19182
19244
  }
19183
- }, $Html5Converter_convert_inline_kbd$57.$$arity = 1);
19245
+ }, $Html5Converter_convert_inline_kbd$56.$$arity = 1);
19184
19246
 
19185
- Opal.def(self, '$convert_inline_menu', $Html5Converter_convert_inline_menu$58 = function $$convert_inline_menu(node) {
19247
+ Opal.def(self, '$convert_inline_menu', $Html5Converter_convert_inline_menu$57 = function $$convert_inline_menu(node) {
19186
19248
  var self = this, caret = nil, submenu_joiner = nil, menu = nil, submenus = nil, menuitem = nil;
19187
19249
 
19188
19250
 
@@ -19202,9 +19264,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19202
19264
  } else {
19203
19265
  return "" + "<span class=\"menuseq\"><b class=\"menu\">" + (menu) + "</b>" + (caret) + "<b class=\"submenu\">" + (submenus.$join(submenu_joiner)) + "</b>" + (caret) + "<b class=\"menuitem\">" + (node.$attr("menuitem")) + "</b></span>"
19204
19266
  };
19205
- }, $Html5Converter_convert_inline_menu$58.$$arity = 1);
19267
+ }, $Html5Converter_convert_inline_menu$57.$$arity = 1);
19206
19268
 
19207
- Opal.def(self, '$convert_inline_quoted', $Html5Converter_convert_inline_quoted$59 = function $$convert_inline_quoted(node) {
19269
+ Opal.def(self, '$convert_inline_quoted', $Html5Converter_convert_inline_quoted$58 = function $$convert_inline_quoted(node) {
19208
19270
  var $a, $b, self = this, open = nil, close = nil, tag = nil, class_attr = nil;
19209
19271
 
19210
19272
 
@@ -19230,10 +19292,10 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19230
19292
  } else {
19231
19293
  return "" + (open) + (node.$text()) + (close)
19232
19294
  };
19233
- }, $Html5Converter_convert_inline_quoted$59.$$arity = 1);
19295
+ }, $Html5Converter_convert_inline_quoted$58.$$arity = 1);
19234
19296
 
19235
- Opal.def(self, '$read_svg_contents', $Html5Converter_read_svg_contents$60 = function $$read_svg_contents(node, target) {
19236
- var $$61, self = this, svg = nil, old_start_tag = nil, new_start_tag = nil, start_tag_match = nil;
19297
+ Opal.def(self, '$read_svg_contents', $Html5Converter_read_svg_contents$59 = function $$read_svg_contents(node, target) {
19298
+ var $$60, self = this, svg = nil, old_start_tag = nil, new_start_tag = nil, start_tag_match = nil;
19237
19299
 
19238
19300
 
19239
19301
  if ($truthy((svg = node.$read_contents(target, $hash2(["start", "normalize", "label", "warn_if_empty"], {"start": node.$document().$attr("imagesdir"), "normalize": true, "label": "SVG", "warn_if_empty": true}))))) {
@@ -19245,7 +19307,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19245
19307
  svg = svg.$sub($$($nesting, 'SvgPreambleRx'), "")
19246
19308
  };
19247
19309
  old_start_tag = (new_start_tag = (start_tag_match = nil));
19248
- $send(["width", "height"], 'each', [], ($$61 = function(dim){var self = $$61.$$s || this, $a, $b;
19310
+ $send(["width", "height"], 'each', [], ($$60 = function(dim){var self = $$60.$$s || this, $a, $b;
19249
19311
 
19250
19312
 
19251
19313
 
@@ -19263,14 +19325,14 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19263
19325
  return nil;};
19264
19326
  new_start_tag = (old_start_tag = start_tag_match['$[]'](0)).$gsub($$($nesting, 'DimensionAttributeRx'), "");
19265
19327
  };
19266
- return (new_start_tag = "" + (new_start_tag.$chop()) + " " + (dim) + "=\"" + (node.$attr(dim)) + "\">");}, $$61.$$s = self, $$61.$$arity = 1, $$61));
19328
+ return (new_start_tag = "" + (new_start_tag.$chop()) + " " + (dim) + "=\"" + (node.$attr(dim)) + "\">");}, $$60.$$s = self, $$60.$$arity = 1, $$60));
19267
19329
  if ($truthy(new_start_tag)) {
19268
19330
  svg = "" + (new_start_tag) + (svg['$[]'](Opal.Range.$new(old_start_tag.$length(), -1, false)))};};
19269
19331
  return svg;
19270
- }, $Html5Converter_read_svg_contents$60.$$arity = 2);
19332
+ }, $Html5Converter_read_svg_contents$59.$$arity = 2);
19271
19333
  self.$private();
19272
19334
 
19273
- Opal.def(self, '$append_boolean_attribute', $Html5Converter_append_boolean_attribute$62 = function $$append_boolean_attribute(name, xml) {
19335
+ Opal.def(self, '$append_boolean_attribute', $Html5Converter_append_boolean_attribute$61 = function $$append_boolean_attribute(name, xml) {
19274
19336
  var self = this;
19275
19337
 
19276
19338
  if ($truthy(xml)) {
@@ -19278,9 +19340,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19278
19340
  } else {
19279
19341
  return "" + " " + (name)
19280
19342
  }
19281
- }, $Html5Converter_append_boolean_attribute$62.$$arity = 2);
19343
+ }, $Html5Converter_append_boolean_attribute$61.$$arity = 2);
19282
19344
 
19283
- Opal.def(self, '$append_link_constraint_attrs', $Html5Converter_append_link_constraint_attrs$63 = function $$append_link_constraint_attrs(node, attrs) {
19345
+ Opal.def(self, '$append_link_constraint_attrs', $Html5Converter_append_link_constraint_attrs$62 = function $$append_link_constraint_attrs(node, attrs) {
19284
19346
  var $a, self = this, rel = nil, window = nil;
19285
19347
 
19286
19348
 
@@ -19302,9 +19364,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19302
19364
  } else if ($truthy(rel)) {
19303
19365
  attrs['$<<']("" + " rel=\"" + (rel) + "\"")};
19304
19366
  return attrs;
19305
- }, $Html5Converter_append_link_constraint_attrs$63.$$arity = -2);
19367
+ }, $Html5Converter_append_link_constraint_attrs$62.$$arity = -2);
19306
19368
 
19307
- Opal.def(self, '$encode_attribute_value', $Html5Converter_encode_attribute_value$64 = function $$encode_attribute_value(val) {
19369
+ Opal.def(self, '$encode_attribute_value', $Html5Converter_encode_attribute_value$63 = function $$encode_attribute_value(val) {
19308
19370
  var self = this;
19309
19371
 
19310
19372
  if ($truthy(val['$include?']("\""))) {
@@ -19313,9 +19375,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19313
19375
  } else {
19314
19376
  return val
19315
19377
  }
19316
- }, $Html5Converter_encode_attribute_value$64.$$arity = 1);
19378
+ }, $Html5Converter_encode_attribute_value$63.$$arity = 1);
19317
19379
 
19318
- Opal.def(self, '$generate_manname_section', $Html5Converter_generate_manname_section$65 = function $$generate_manname_section(node) {
19380
+ Opal.def(self, '$generate_manname_section', $Html5Converter_generate_manname_section$64 = function $$generate_manname_section(node) {
19319
19381
  var $a, self = this, manname_title = nil, next_section = nil, next_section_title = nil, manname_id_attr = nil, manname_id = nil;
19320
19382
 
19321
19383
 
@@ -19328,9 +19390,9 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19328
19390
  return ""
19329
19391
  }; return nil; })();
19330
19392
  return "" + "<h2" + (manname_id_attr) + ">" + (manname_title) + "</h2>\n" + "<div class=\"sectionbody\">\n" + "<p>" + (node.$attr("mannames").$join(", ")) + " - " + (node.$attr("manpurpose")) + "</p>\n" + "</div>";
19331
- }, $Html5Converter_generate_manname_section$65.$$arity = 1);
19393
+ }, $Html5Converter_generate_manname_section$64.$$arity = 1);
19332
19394
 
19333
- Opal.def(self, '$get_root_document', $Html5Converter_get_root_document$66 = function $$get_root_document(node) {
19395
+ Opal.def(self, '$get_root_document', $Html5Converter_get_root_document$65 = function $$get_root_document(node) {
19334
19396
  var $a, self = this;
19335
19397
 
19336
19398
 
@@ -19338,12 +19400,12 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19338
19400
  node = node.$parent_document()
19339
19401
  };
19340
19402
  return node;
19341
- }, $Html5Converter_get_root_document$66.$$arity = 1);
19403
+ }, $Html5Converter_get_root_document$65.$$arity = 1);
19342
19404
 
19343
- Opal.def(self, '$method_missing', $Html5Converter_method_missing$67 = function $$method_missing(id, $a) {
19344
- var $post_args, args, $b, $iter = $Html5Converter_method_missing$67.$$p, $yield = $iter || nil, self = this, name = nil, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
19405
+ Opal.def(self, '$method_missing', $Html5Converter_method_missing$66 = function $$method_missing(id, $a) {
19406
+ var $post_args, args, $b, $iter = $Html5Converter_method_missing$66.$$p, $yield = $iter || nil, self = this, name = nil, $zuper = nil, $zuper_i = nil, $zuper_ii = nil;
19345
19407
 
19346
- if ($iter) $Html5Converter_method_missing$67.$$p = null;
19408
+ if ($iter) $Html5Converter_method_missing$66.$$p = null;
19347
19409
  // Prepare super implicit arguments
19348
19410
  for($zuper_i = 0, $zuper_ii = arguments.length, $zuper = new Array($zuper_ii); $zuper_i < $zuper_ii; $zuper_i++) {
19349
19411
  $zuper[$zuper_i] = arguments[$zuper_i];
@@ -19357,10 +19419,10 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19357
19419
 
19358
19420
  return $send(self, 'send', ["" + "convert_" + (name)].concat(Opal.to_a(args)));
19359
19421
  } else {
19360
- return $send(self, Opal.find_super_dispatcher(self, 'method_missing', $Html5Converter_method_missing$67, false), $zuper, $iter)
19422
+ return $send(self, Opal.find_super_dispatcher(self, 'method_missing', $Html5Converter_method_missing$66, false), $zuper, $iter)
19361
19423
  };
19362
- }, $Html5Converter_method_missing$67.$$arity = -2);
19363
- return (Opal.def(self, '$respond_to_missing?', $Html5Converter_respond_to_missing$ques$68 = function(id, $a) {
19424
+ }, $Html5Converter_method_missing$66.$$arity = -2);
19425
+ return (Opal.def(self, '$respond_to_missing?', $Html5Converter_respond_to_missing$ques$67 = function(id, $a) {
19364
19426
  var $post_args, options, $b, self = this, name = nil;
19365
19427
 
19366
19428
 
@@ -19369,7 +19431,7 @@ Opal.modules["asciidoctor/converter/html5"] = function(Opal) {
19369
19431
 
19370
19432
  options = $post_args;;
19371
19433
  return ($truthy($b = (name = id.$to_s())['$start_with?']("convert_")['$!']()) ? self['$handles?'](name) : $b);
19372
- }, $Html5Converter_respond_to_missing$ques$68.$$arity = -2), nil) && 'respond_to_missing?';
19434
+ }, $Html5Converter_respond_to_missing$ques$67.$$arity = -2), nil) && 'respond_to_missing?';
19373
19435
  })($$($nesting, 'Converter'), $$$($$($nesting, 'Converter'), 'Base'), $nesting)
19374
19436
  })($nesting[0], $nesting)
19375
19437
  };
@@ -21031,6 +21093,12 @@ Opal.modules["asciidoctor/js/asciidoctor_ext/document"] = function(Opal) {
21031
21093
  var nil = Opal.nil
21032
21094
  var utc_offset
21033
21095
  var source_date_epoch
21096
+ var localdate
21097
+ var localyear
21098
+ var localtime
21099
+ var localdatetime
21100
+ var docdate
21101
+ var doctime
21034
21102
 
21035
21103
  var getYear = function (time, utc_offset) {
21036
21104
  return utc_offset === 0 ? time.getUTCFullYear() : time.getFullYear()
@@ -21118,6 +21186,7 @@ Opal.modules["asciidoctor/js/asciidoctor_ext/document"] = function(Opal) {
21118
21186
  var mtime_hours = ('0' + (getHours(input_mtime, utc_offset))).slice(-2)
21119
21187
  var mtime_minutes = ('0' + (input_mtime.getMinutes())).slice(-2)
21120
21188
  var mtime_seconds = ('0' + (input_mtime.getSeconds())).slice(-2)
21189
+ var utc_offset_format
21121
21190
  if (utc_offset === 0) {
21122
21191
  utc_offset_format = 'UTC'
21123
21192
  } else if (utc_offset > 0) {
@@ -21993,7 +22062,7 @@ AbstractBlock.prototype.setTitle = function (title) {
21993
22062
  *
21994
22063
  * If a caption has already been assigned to this block, do nothing.
21995
22064
  *
21996
- * The parts of a complete caption are: <prefix> <number>. <title>
22065
+ * The parts of a complete caption are: `<prefix> <number>. <title>`
21997
22066
  * This partial caption represents the part the precedes the title.
21998
22067
  *
21999
22068
  * @param {string} value - the String caption to assign to this block or nil to use document attribute.
@@ -26771,6 +26840,21 @@ ConverterFactory.register = function (converter, backends) {
26771
26840
  var bridgeComposedMethodToInstance = function (obj, instance) {
26772
26841
  bridgeMethodToInstance(obj, instance, '$composed', 'composed')
26773
26842
  }
26843
+ var bridgeEqEqMethodToInstance = function (obj, instance) {
26844
+ bridgeMethodToInstance(obj, instance, '$==', '==', function (other) {
26845
+ return instance === other
26846
+ })
26847
+ }
26848
+ var bridgeSendMethodToInstance = function (obj, instance) {
26849
+ bridgeMethodToInstance(obj, instance, '$send', 'send', function (symbol) {
26850
+ var args = Array.prototype.slice.call(arguments, 1)
26851
+ var func = instance['$' + symbol]
26852
+ if (func) {
26853
+ return func.apply(instance, args)
26854
+ }
26855
+ throw new Error(`undefined method \`${symbol}\` for \`${instance.toString()}\``)
26856
+ })
26857
+ }
26774
26858
  var bridgeMethodToInstance = function (obj, instance, methodName, functionName, defaultImplementation) {
26775
26859
  if (typeof obj[methodName] === 'undefined') {
26776
26860
  if (typeof obj[functionName] === 'function') {
@@ -26837,6 +26921,8 @@ ConverterFactory.register = function (converter, backends) {
26837
26921
  }
26838
26922
  bridgeHandlesMethodToInstance(converter, converter)
26839
26923
  bridgeComposedMethodToInstance(converter, converter)
26924
+ bridgeEqEqMethodToInstance(converter, converter)
26925
+ bridgeSendMethodToInstance(converter, converter)
26840
26926
  addRespondToMethod(converter)
26841
26927
  object = converter
26842
26928
  }
@@ -26936,7 +27022,7 @@ Html5Converter.prototype.convert = function (node, transform, opts) {
26936
27022
  }
26937
27023
 
26938
27024
 
26939
- var ASCIIDOCTOR_JS_VERSION = '2.2.5';
27025
+ var ASCIIDOCTOR_JS_VERSION = '2.2.6';
26940
27026
 
26941
27027
  /**
26942
27028
  * Get Asciidoctor.js version number.