@asciidoctor/core 3.0.0-alpha.4 → 3.0.0-rc.2
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.
- package/dist/browser/asciidoctor.js +126 -123
- package/dist/browser/asciidoctor.min.js +46 -46
- package/dist/graalvm/asciidoctor.js +121 -118
- package/dist/node/asciidoctor.cjs +21532 -0
- package/dist/node/asciidoctor.js +63 -63
- package/package.json +23 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Asciidoctor.js 3.0.0-
|
|
2
|
+
Asciidoctor.js 3.0.0-rc.2 | MIT | https://github.com/asciidoctor/asciidoctor.js
|
|
3
3
|
*/
|
|
4
4
|
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(b){var m=0;return function(){return m<b.length?{done:!1,value:b[m++]}:{done:!0}}};$jscomp.arrayIterator=function(b){return{next:$jscomp.arrayIteratorImpl(b)}};$jscomp.makeIterator=function(b){var m="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];return m?m.call(b):$jscomp.arrayIterator(b)};$jscomp.arrayFromIterator=function(b){for(var m,w=[];!(m=b.next()).done;)w.push(m.value);return w};
|
|
5
5
|
$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,m,w){b!=Array.prototype&&b!=Object.prototype&&(b[m]=w.value)};$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);
|
|
@@ -35,47 +35,47 @@ e){var d=D(c,a);return null!=d?d:l.const_get_qualified(c,a,f)}if(null!=a)return"
|
|
|
35
35
|
e&&(e=!0);var u=[a],f,b={},d;e&&(u=u.concat(P(a)));e&&a.$$is_module&&(u=u.concat([l.Object]).concat(P(l.Object)));var g=0;for(f=u.length;g<f;g++){e=u[g];if(a!==c&&e==c)break;for(d in e.$$const)b[d]=!0;if(e.$$autoload)for(d in e.$$autoload)b[d]=!0}return Object.keys(b)};l.const_remove=function(a,c){l.const_cache_version++;if(null!=a.$$const[c]){var e=a.$$const[c];delete a.$$const[c];return e}if(a.$$autoload&&a.$$autoload[c])return delete a.$$autoload[c],ja;w(l.NameError,"constant "+a+"::"+a.$name()+
|
|
36
36
|
" not defined")};l.const_get_relative_factory=function(a){return function(c,e){return l.$$(a,c,e)}};l.$$=l.const_get_relative;l.$$$=l.const_get_qualified;l.$r=l.const_get_relative_factory;l.allocate_class=n;l.klass=function(a,e,f){null==a||"::"==a?a=c:a.$$is_class||a.$$is_module||(a=a.$$class);if(null!=e&&(!e.hasOwnProperty||e.hasOwnProperty&&!e.hasOwnProperty("$$is_class")))if(e.constructor&&"Function"==e.constructor.name){var u=e;e=c}else w(l.TypeError,"superclass must be a Class ("+(e.constructor&&
|
|
37
37
|
(e.constructor.name||e.constructor.$$name)||typeof e)+" given)");var b;(b=D(a,f))?b.$$is_class||w(l.TypeError,f+" is not a class"):b=void 0;null!=b?e&&b.$$super!==e&&w(l.TypeError,"superclass mismatch for class "+b.$$name):(null==e&&(e=c),b=n(f,e),z(a,f,b),e.$inherited&&e.$inherited(b),u&&l.bridge(u,b));l.trace_class&&q(b);return b};l.allocate_module=x;l.module=function(a,e){null==a||"::"==a?a=c:a.$$is_class||a.$$is_module||(a=a.$$class);var u=a;var f=D(u,e);null==f&&u===c&&(f=A(c,e));f&&(f.$$is_module||
|
|
38
|
-
f===c||w(l.TypeError,e+" is not a module"));u=f;null==u&&(u=x(e),z(a,e,u));l.trace_class&&q(u);return u};l.get_singleton_class=function(a){return a.$$meta?a.$$meta:a.hasOwnProperty("$$is_class")?l.build_class_singleton_class(a):a.hasOwnProperty("$$is_module")?l.build_module_singleton_class(a):l.build_object_singleton_class(a)};l.build_class_singleton_class=function(a){if(a.$$meta)return a.$$meta;var c=a===h?p:l.get_singleton_class(a.$$super);
|
|
39
|
-
a);H(a,c);B(a,"$$class",l.Class);return c};l.build_module_singleton_class=function(a){if(a.$$meta)return a.$$meta;var c=n(null,l.Module,!0);B(c,"$$is_singleton",!0);B(c,"$$singleton_of",a);H(a,c);B(a,"$$class",l.Module);return c};l.build_object_singleton_class=function(a){var c=n(ja,a.$$class,!0);B(c,"$$is_singleton",!0);B(c,"$$singleton_of",a);delete c.$$prototype.$$class;H(a,c);return c};l.is_method=function(a){return"$"===a[0]&&"$"!==
|
|
40
|
-
0,b=a.length;f<b;f++){var d=a[f].$$prototype;d.hasOwnProperty("$$dummy")&&(d=d.$$define_methods_on);for(var g=Object.getOwnPropertyNames(d),ia=0,h=g.length;ia<h;ia++){var E=g[ia];if(l.is_method(E)){var p=E.slice(1);E=d[E];E.$$stub&&-1===c.indexOf(p)&&c.push(p);E.$$stub||-1!==e.indexOf(p)||-1!==c.indexOf(p)||e.push(p)}}}return e};l.own_instance_methods=function(a){var c=[];a=a.$$prototype;a.hasOwnProperty("$$dummy")&&(a=a.$$define_methods_on);
|
|
41
|
-
b;f++){var d=e[f];l.is_method(d)&&!a[d].$$stub&&(d=d.slice(1),c.push(d))}return c};l.methods=function(a){return l.instance_methods(a.$$meta||a.$$class)};l.own_methods=function(a){return a.$$meta?l.own_instance_methods(a.$$meta):[]};l.receiver_methods=function(a){var c=l.get_singleton_class(a);a=l.own_instance_methods(c);c=l.own_instance_methods(c.$$super);return a.concat(c)};l.class_variables=function(a){a=P(a);var c,e={};for(c=a.length-1;0<=
|
|
42
|
-
l.class_variable_set=function(a,c,e){var f=P(a),u;for(u=f.length-2;0<=u;u--){var l=f[u];if(ha(l.$$cvars,c))return l.$$cvars[c]=e}return a.$$cvars[c]=e};l.class_variable_get=function(a,c,e){if(ha(a.$$cvars,c))return a.$$cvars[c];var f=P(a),u,b=f.length;for(u=0;u<b;u++){var d=f[u];if(ha(d.$$cvars,c))return d.$$cvars[c]}e||w(l.NameError,"uninitialized class variable "+c+" in "+a.$name());return ja};l.append_features=function(a,c){var e=
|
|
43
|
-
for(var u=0,b=e.length;u<b;u++){var d=K(e[u]);B(d,"$$included",!0);f.push(d)}e=P(c);f=t(f);if(-1===e.indexOf(a))a=c.$$prototype,e=Object.getPrototypeOf(c.$$prototype);else{e=c.$$prototype;for(u=Object.getPrototypeOf(e);null!=u&&(u.$$module!==a||!I(u));)e=u,u=Object.getPrototypeOf(u);if(u){for(u=Object.getPrototypeOf(u);u.hasOwnProperty("$$iclass")&&!I(u);)u=Object.getPrototypeOf(u);a=e;e=u}else a=c.$$prototype,e=Object.getPrototypeOf(c.$$prototype)}S(a,
|
|
44
|
-
|
|
45
|
-
0;E<h.length;E++){var p=h[E];l.is_method(p)&&delete d[p]}B(f,"$$dummy",!0);B(f,"$$define_methods_on",b);S(f,b);S(b,u)}if(-1===P(c).indexOf(a)){var ia=f;for(g=Object.getPrototypeOf(f);null!=g&&!g.hasOwnProperty("$$root")&&g!==b&&g.hasOwnProperty("$$iclass");)g=Object.getPrototypeOf(g)}else w(l.RuntimeError,"Prepending a module multiple times is not supported");S(ia,e.first);S(e.last,g);a=[];g=Object.getPrototypeOf(c.$$prototype);
|
|
46
|
-
J(g))&&a.push(ia),g=Object.getPrototypeOf(g);c.$$own_prepended_modules=a;l.const_cache_version++};l.bridge=function(a,c){a.hasOwnProperty("$$bridge")&&w(l.ArgumentError,"already bridged");B(a,"$$bridge",c);S(a.prototype,(c.$$super||l.Object).$$prototype);B(c,"$$prototype",a.prototype);B(c.$$prototype,"$$class",c);B(c,"$$constructor",a);B(c,"$$bridge",!0)};l.ancestors=P;l.included_modules=function(a){for(var c=
|
|
47
|
-
J(e))&&a.$$is_module&&e.$$iclass&&e.$$included&&c.push(a);return c};l.add_stubs=function(a){var c=l.BasicObject.$$prototype;a=a.split(",");for(var e=0,f=a.length;e<f;e++){var b=O(a[e]);var d=c[b];(null==d||d.$$stub)&&l.add_stub_for(c,b)}};l.add_stub_for=function(a,c){B(a,c,l.stub_for(c))};l.stub_for=function(a){function c(){this.$method_missing.$$p=c.$$p;c.$$p=null;for(var e=Array(arguments.length),
|
|
48
|
-
c.$$stub=!0;return c};l.ac=function(a,c,e,f){var b="";b=e.$$is_a_module?b+(e.$$name+"."):b+(e.$$class.$$name+"#");w(l.ArgumentError,"["+(b+f)+"] wrong number of arguments (given "+a+", expected "+c+")")};l.block_ac=function(a,c,e){w(l.ArgumentError,"`block in "+e+"': wrong number of arguments (given "+a+", expected "+c+")")};l.find_super=function(a,c,e,f,b){var u=O(c);var d=R(a);for(e=d.indexOf(e.$$owner)+
|
|
49
|
-
if(r.hasOwnProperty(u)){var g=r[u];break}}!f&&g&&g.$$stub&&a.$method_missing.$$pristine&&w(l.NoMethodError,"super: no superclass method `"+c+"' for "+a,c);return g.$$stub&&!b?null:g};l.find_block_super=function(a,c,e,f,b){e||w(l.RuntimeError,"super called outside of method");b&&e.$$define_meth&&w(l.RuntimeError,"implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly");
|
|
50
|
-
l.find_super;l.find_iter_super_dispatcher=l.find_block_super;l.yield1=function(a,c){"function"!==typeof a&&w(l.LocalJumpError,"no block given");var e=a.$$has_top_level_mlhs_arg,f=a.$$has_trailing_comma_in_args;if(1<a.length||(e||f)&&1===a.length)c=l.to_ary(c);return(1<a.length||f&&1===a.length)&&c.$$is_array?a.apply(null,c):a(c)};l.yieldX=function(a,c){"function"!==typeof a&&w(l.LocalJumpError,"no block given");if(1<a.length&&
|
|
51
|
-
Array(c.length),f=0,b=e.length;f<b;f++)e[f]=c[f];return a.apply(null,e)}return a.apply(null,c)};l.rescue=function(a,c){for(var e=0;e<c.length;e++){var f=c[e];if(f.$$is_array){if(f=l.rescue(a,f))return f}else if(f===l.JS.Error||f["$==="](a))return f}return null};l.is_a=function(a,c){return null!=c&&a.$$meta===c||a.$$class===c?!0:a.$$is_number&&c.$$is_number_class?c.$$is_integer_class?0===a%1:!0:-1!==P(a.$$is_class?
|
|
52
|
-
if(a["$respond_to?"]("to_hash",!0)){var c=a.$to_hash();if(c.$$is_hash)return c;w(l.TypeError,"Can't convert "+a.$$class+" to Hash ("+a.$$class+"#to_hash gives "+c.$$class+")")}else w(l.TypeError,"no implicit conversion of "+a.$$class+" into Hash")};l.to_ary=function(a){if(a.$$is_array)return a;if(a["$respond_to?"]("to_ary",!0)){var c=a.$to_ary();if(c===ja)return[a];if(c.$$is_array)return c;w(l.TypeError,
|
|
53
|
-
l.to_a=function(a){if(a.$$is_array)return a.slice();if(a["$respond_to?"]("to_a",!0)){var c=a.$to_a();if(c===ja)return[a];if(c.$$is_array)return c;w(l.TypeError,"Can't convert "+a.$$class+" to Array ("+a.$$class+"#to_a gives "+c.$$class+")")}else return[a]};l.extract_kwargs=function(a){var c=a[a.length-1];if(null!=c&&l.respond_to(c,"$to_hash",!0))return N(a,a.length-1),c};l.kwrestargs=function(a,c){var e=
|
|
54
|
-
O;l.send=function(a,c,e,f,b){if("function"===typeof c){var d=c;c=null}else"string"===typeof c?d=a[O(c)]:w(l.NameError,"Passed method should be a string or a function");return l.send2(a,d,c,e,f,b)};l.send2=function(a,c,e,f,b,l){null==c&&null!=e&&a.$method_missing&&(c=a.$method_missing,f=[e].concat(f));W(b,l);"function"===typeof b&&(c.$$p=b);return c.apply(a,f)};l.refined_send=function(a,c,e,f,b,d){var u,
|
|
55
|
-
p.length-1;0<=r;r--){var y=p[r];if("undefined"!==typeof y.$$refine_modules&&(y=y.$$refine_modules,"undefined"!==typeof y[E]&&(y=y[E],"undefined"!==typeof y.$$prototype[O(e)])))return a=y.$$prototype[O(e)],l.send2(c,a,e,f,b,d)}}}return l.send(c,e,f,b,d)};l.lambda=function(a,c){a.$$is_lambda=!0;W(a,c);return a};l.def=function(a,c,e,f){W(e,f);return a===l.top?l.defn(l.Object,c,e):!a.$$eval&&a.$$is_a_module?
|
|
56
|
-
b=a.$$prototype;b.hasOwnProperty("$$dummy")&&(b=b.$$define_methods_on);B(b,c,e);if(a.$$is_module){a.$$module_function&&l.defs(a,c,e);b=0;for(var d=a.$$iclasses,g=d.length;b<g;b++)B(d[b],c,e)}c=a.$$singleton_of;!a.$method_added||a.$method_added.$$stub||c?c&&c.$singleton_method_added&&!c.$singleton_method_added.$$stub&&c.$singleton_method_added(f):a.$method_added(f);return f};l.defs=function(a,c,e,
|
|
57
|
-
c,e)};l.rdef=function(a,c){ha(a.$$prototype,c)||w(l.NameError,"method '"+c.substr(1)+"' not defined in "+a.$name());delete a.$$prototype[c];a.$$is_singleton?a.$$prototype.$singleton_method_removed&&!a.$$prototype.$singleton_method_removed.$$stub&&a.$$prototype.$singleton_method_removed(c.substr(1)):a.$method_removed&&!a.$method_removed.$$stub&&a.$method_removed(c.substr(1))};l.udef=
|
|
58
|
-
l.add_stub_for(a.$$prototype,c);a.$$is_singleton?a.$$prototype.$singleton_method_undefined&&!a.$$prototype.$singleton_method_undefined.$$stub&&a.$$prototype.$singleton_method_undefined(c.substr(1)):a.$method_undefined&&!a.$method_undefined.$$stub&&a.$method_undefined(c.substr(1))};l.alias=function(a,c,e){var f=O(c),b=O(e);"undefined"===typeof a.$$prototype&&(a=l.Object);var d=
|
|
59
|
-
g;)d=g[b],g=g.$$super;!M(d)&&a.$$is_module&&(d=l.Object.$$prototype[b]);M(d)||w(l.NameError,"undefined method `"+e+"' for class `"+a.$name()+"'")}d.$$alias_of&&(d=d.$$alias_of);var u=function(){var a=u.$$p,c;var e=Array(arguments.length);var f=0;for(c=arguments.length;f<c;f++)e[f]=arguments[f];u.$$p=null;return l.send(this,d,e,a)};try{Object.defineProperty(u,"length",{value:d.length})}catch(ma){}u.displayName=
|
|
60
|
-
d.$$source_location;u.$$alias_of=d;u.$$alias_name=c;l.defn(a,f,u);return a};l.alias_gvar=function(a,c){Object.defineProperty(aa,a,{configurable:!0,enumerable:!0,get:function(){return aa[c]},set:function(a){aa[c]=a}});return ja};l.alias_native=function(a,c,e){c=O(c);var f=a.$$prototype[e];("function"!==typeof f||f.$$stub)&&w(l.NameError,"undefined native method `"+e+"' for class `"+a.$name()+"'");l.defn(a,
|
|
61
|
-
a.$$keys=[]};l.hash_clone=function(a,c){c.$$none=a.$$none;c.$$proc=a.$$proc;var e=0,f=a.$$keys;a=a.$$smap;for(var b=f.length,d,g;e<b;e++)d=f[e],d.$$is_string?g=a[d]:(g=d.value,d=d.key),l.hash_put(c,d,g)};l.hash_put=function(a,c,e){if(c.$$is_string)ha(a.$$smap,c)||a.$$keys.push(c),a.$$smap[c]=e;else{var f;var b=a.$$by_identity?l.id(c):c.$hash();if(ha(a.$$map,b)){for(f=a.$$map[b];f;){if(c===f.key||c["$eql?"](f.key)){var d=
|
|
62
|
-
d.next=f)}else f={key:c,key_hash:b,value:e},a.$$keys.push(f),a.$$map[b]=f}};l.hash_get=function(a,c){if(c.$$is_string){if(ha(a.$$smap,c))return a.$$smap[c]}else{var e=a.$$by_identity?l.id(c):c.$hash();if(ha(a.$$map,e))for(a=a.$$map[e];a;){if(c===a.key||c["$eql?"](a.key))return a.value;a=a.next}}};l.hash_delete=function(a,c){var e,f=a.$$keys,b=f.length;if(c.$$is_string){"string"!==typeof c&&(c=c.valueOf());if(!ha(a.$$smap,
|
|
63
|
-
l.valueOf());if(l===c){f.splice(e,1);break}}l=a.$$smap[c];delete a.$$smap[c];return l}var d=c.$hash();if(ha(a.$$map,d))for(var g=a.$$map[d],u;g;){if(c===g.key||c["$eql?"](g.key)){l=g.value;for(e=0;e<b;e++)if(f[e]===g){f.splice(e,1);break}u&&g.next?u.next=g.next:u?delete u.next:g.next?a.$$map[d]=g.next:delete a.$$map[d];return l}u=g;g=g.next}};l.hash_rehash=function(a){for(var c=0,e=a.$$keys.length,f,b,l;c<e;c++)if(!a.$$keys[c].$$is_string&&
|
|
64
|
-
for(l=void 0;b;){if(b===a.$$keys[c]){l&&b.next?l.next=b.next:l?delete l.next:b.next?a.$$map[a.$$keys[c].key_hash]=b.next:delete a.$$map[a.$$keys[c].key_hash];break}l=b;b=b.next}a.$$keys[c].key_hash=f;if(ha(a.$$map,f)){b=a.$$map[f];for(l=void 0;b;){if(b===a.$$keys[c]){l=void 0;break}l=b;b=b.next}l&&(l.next=a.$$keys[c])}else a.$$map[f]=a.$$keys[c]}};l.hash=function(){var a=arguments.length,c;if(1===a&&arguments[0].$$is_hash)return arguments[0];
|
|
65
|
-
if(arguments[0].$$is_array){var f=a.length;for(c=0;c<f;c++){2!==a[c].length&&w(l.ArgumentError,"value not of length 2: "+a[c].$inspect());var b=a[c][0];var d=a[c][1];l.hash_put(e,b,d)}}else for(b in a=arguments[0],a)ha(a,b)&&(d=a[b],l.hash_put(e,b,d));return e}0!==a%2&&w(l.ArgumentError,"odd number of arguments for Hash");for(c=0;c<a;c+=2)b=arguments[c],d=arguments[c+1],l.hash_put(e,b,d);return e};l.hash2=function(a,c){var e=new l.Hash;e.$$smap=
|
|
66
|
-
function(a,c,e){var f=new l.Range;f.begin=a;f.end=c;f.excl=e;return f};var qa="constructor displayName __count__ __noSuchMethod__ __parent__ __proto__ hasOwnProperty valueOf".split(" ");l.ivar=function(a){-1!==qa.indexOf(a)&&(a+="$");return a};l.deny_frozen_access=L;l.freeze=function(a){B(a,"$$frozen",!0);a.hasOwnProperty("$$id")||B(a,"$$id",m());a.hasOwnProperty("$$meta")?a.$$meta.$freeze():B(a,"$$meta",null);a.hasOwnProperty("$$comparable")||
|
|
67
|
-
function(a){var c;for(c in a){var e=typeof c;("string"!==e&&"object"!==e||"$"!==c[0])&&(e=Object.getOwnPropertyDescriptor(a,c))&&e.enumerable&&e.writable&&function(){var e=a[c];Object.defineProperty(a,c,{get:function(){return e},set:function(c){L(a)},enumerable:!0})}()}};l.escape_regexp=function(a){return a.replace(/([-[\]\/{}()*+?.^$\\| ])/g,"\\$1").replace(/[\n]/g,"\\n").replace(/[\r]/g,"\\r").replace(/[\f]/g,"\\f").replace(/[\t]/g,
|
|
68
|
-
a.$$g?a.$$g=new RegExp(a.source,(a.multiline?"gm":"g")+(a.ignoreCase?"i":"")):a.$$g.lastIndex=null;return a.$$g};l.global_multiline_regexp=function(a){if(a.global&&a.multiline)return a;var c="gm"+(a.ignoreCase?"i":"");a.multiline?(null==a.$$g&&(a.$$g=new RegExp(a.source,c)),a=a.$$g):(null==a.$$gm&&(a.$$gm=new RegExp(a.source,c)),a=a.$$gm);a.lastIndex=null;return a};l.regexp=function(a,c){for(var e,f="undefined"!==typeof c&&c&&0<=c.indexOf("i"),
|
|
69
|
-
f&&l.Kernel.$warn("ignore case doesn't match for "+e.source.$inspect(),l.hash({uplevel:1})),e=e.source),""===e&&(e="(?:"+e+")"),a[b]=e;return c?new RegExp(a.join(""),c):new RegExp(a.join(""))};l.modules={};l.loaded_features=["corelib/runtime"];l.current_dir=".";l.require_table={"corelib/runtime":!0};l.normalize=function(a){var c=[];"."!==l.current_dir&&(a=l.current_dir.replace(/\/*$/,"/")+a);a=a.replace(/^\.\//,"");a=a.replace(/\.(rb|opal|js)$/,
|
|
70
|
-
a[e];""!==b&&(".."===b?c.pop():c.push(b))}return c.join("/")};l.loaded=function(a){var c;var e=0;for(c=a.length;e<c;e++){var f=l.normalize(a[e]);l.require_table[f]||(l.loaded_features.push(f),l.require_table[f]=!0)}};l.load_normalized=function(a){l.loaded([a]);var c=l.modules[a];if(c){if(a=c(l),"undefined"!==typeof Promise&&a instanceof Promise)return a.then(k(!0))}else c=l.config.missing_require_severity,a="cannot load such file -- "+a,"error"===
|
|
71
|
-
a);return!0};l.load=function(a){a=l.normalize(a);return l.load_normalized(a)};l.require=function(a){a=l.normalize(a);return l.require_table[a]?!1:l.load_normalized(a)};l.encodings=Object.create(null);l.set_encoding=function(a,c,e){"undefined"===typeof e&&(e="encoding");"string"!==typeof a&&!0!==a.$$frozen||w(l.FrozenError,"can't modify frozen String");c=l.find_encoding(c);if(c===a[e])return a;a[e]=c;return a};l.find_encoding=function(a){var c=
|
|
72
|
-
"unknown encoding name - "+a);return c};l.enc=function(a,c){a=new String(a);a=l.set_encoding(a,c);a.internal_encoding=a.encoding;return a};l.binary=function(a){a=new String(a);return l.set_encoding(a,"binary","internal_encoding")};l.last_promise=null;l.promise_unhandled_exception=!1;l.queue=function(a){if(l.last_promise)return l.last_promise=l.last_promise.then(function(){if(!l.promise_unhandled_exception)return a(l)})["catch"](function(a){l.respond_to(a,
|
|
73
|
-
l.promise_unhandled_exception=!0;l.exit(1)}),l.last_promise;var c=a(l);"function"===typeof Promise&&"object"===typeof c&&c instanceof Promise&&(l.last_promise=c);return c};l.rb_plus=function(a,c){return U(a,c)?a+c:a["$+"](c)};l.rb_minus=function(a,c){return U(a,c)?a-c:a["$-"](c)};l.rb_times=function(a,c){return U(a,c)?a*c:a["$*"](c)};l.rb_divide=function(a,c){return U(a,c)?a/c:a["$/"](c)};l.rb_lt=function(a,c){return U(a,c)?a<c:a["$<"](c)};l.rb_gt=
|
|
74
|
-
function(a,c){return U(a,c)?a<=c:a["$<="](c)};l.rb_ge=function(a,c){return U(a,c)?a>=c:a["$>="](c)};l.eqeq=function(c,e){return a(c,e)?c===e:X(c["$=="](e))};l.eqeqeq=function(c,e){return a(c,e)?c===e:X(c["$==="](e))};l.neqeq=function(c,e){return a(c,e)?c!==e:X(c["$!="](e))};l.not=function(a){return void 0===a||null===a||!1===a||ja===a?!0:!0===a||a["$!"].$$pristine?!1:X(a["$!"]())};l.return_val=k;l.return_self=function(){return this};l.return_ivar=
|
|
75
|
-
ja:this[a]}};l.assign_ivar=function(a){return function(c){L(this);return this[a]=c}};l.assign_ivar_val=function(a,c){return function(){L(this);return this[a]=c}};l.ensure_kwargs=function(a){if(null==a)return l.hash2([],{});if(a.$$is_hash)return a;w(l.ArgumentError,"expected kwargs")};l.get_kwarg=function(a,c){ha(a.$$smap,c)||w(l.ArgumentError,"missing keyword: "+c);return a.$$smap[c]};l.large_array_unpack=function(a){a=a.split(",");var c=a.length,
|
|
76
|
-
ja;break;case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":a[e]=+a[e]}return a};l.BasicObject=h=n("BasicObject",null);l.Object=c=n("Object",l.BasicObject);l.Module=b=n("Module",l.Object);l.Class=p=n("Class",l.Module);l.Opal=T=x("Opal");l.Kernel=g=x("Kernel");S(l.BasicObject,l.Class.$$prototype);S(l.Object,l.Class.$$prototype);S(l.Module,l.Class.$$prototype);S(l.Class,l.Class.$$prototype);h.$$const.BasicObject=
|
|
77
|
-
z(c,"Module",b);z(c,"Class",p);z(c,"Opal",T);z(c,"Kernel",g);h.$$class=p;c.$$class=p;b.$$class=p;p.$$class=p;T.$$class=b;g.$$class=b;B(c.$$prototype,"toString",function(){var a=this.$to_s();return a.$$is_string&&"object"===typeof a?a.valueOf():a});B(c.$$prototype,"$require",l.require);l.top=new c;l.top.$to_s=l.top.$inspect=k("main");l.top.$define_method=d;l.NilClass=n("NilClass",l.Object);z(c,"NilClass",l.NilClass);var ja=l.nil=new l.NilClass;ja.$$id=4;ja.call=
|
|
78
|
-
"no block given")};ja.$$frozen=!0;ja.$$comparable=!1;Object.seal(ja);l.thrower=function(a){var c=Error("unexpected "+a);c.$thrower_type=a;c.$throw=function(a){null==a&&(a=ja);c.$v=a;throw c;};return c};l.t_eval_return=l.thrower("return");TypeError.$$super=Error;l.file_sources={}}).call(this);Opal.loaded(["corelib/runtime.js"]);
|
|
38
|
+
f===c||w(l.TypeError,e+" is not a module"));u=f;null==u&&(u=x(e),z(a,e,u));l.trace_class&&q(u);return u};l.get_singleton_class=function(a){a.$$is_number&&w(l.TypeError,"can't define singleton");return a.$$meta?a.$$meta:a.hasOwnProperty("$$is_class")?l.build_class_singleton_class(a):a.hasOwnProperty("$$is_module")?l.build_module_singleton_class(a):l.build_object_singleton_class(a)};l.build_class_singleton_class=function(a){if(a.$$meta)return a.$$meta;var c=a===h?p:l.get_singleton_class(a.$$super);
|
|
39
|
+
c=n(null,c,!0);B(c,"$$is_singleton",!0);B(c,"$$singleton_of",a);H(a,c);B(a,"$$class",l.Class);return c};l.build_module_singleton_class=function(a){if(a.$$meta)return a.$$meta;var c=n(null,l.Module,!0);B(c,"$$is_singleton",!0);B(c,"$$singleton_of",a);H(a,c);B(a,"$$class",l.Module);return c};l.build_object_singleton_class=function(a){var c=n(ja,a.$$class,!0);B(c,"$$is_singleton",!0);B(c,"$$singleton_of",a);delete c.$$prototype.$$class;H(a,c);return c};l.is_method=function(a){return"$"===a[0]&&"$"!==
|
|
40
|
+
a[1]};l.instance_methods=function(a){var c=[],e=[];a=P(a);for(var f=0,b=a.length;f<b;f++){var d=a[f].$$prototype;d.hasOwnProperty("$$dummy")&&(d=d.$$define_methods_on);for(var g=Object.getOwnPropertyNames(d),ia=0,h=g.length;ia<h;ia++){var E=g[ia];if(l.is_method(E)){var p=E.slice(1);E=d[E];E.$$stub&&-1===c.indexOf(p)&&c.push(p);E.$$stub||-1!==e.indexOf(p)||-1!==c.indexOf(p)||e.push(p)}}}return e};l.own_instance_methods=function(a){var c=[];a=a.$$prototype;a.hasOwnProperty("$$dummy")&&(a=a.$$define_methods_on);
|
|
41
|
+
for(var e=Object.getOwnPropertyNames(a),f=0,b=e.length;f<b;f++){var d=e[f];l.is_method(d)&&!a[d].$$stub&&(d=d.slice(1),c.push(d))}return c};l.methods=function(a){return l.instance_methods(a.$$meta||a.$$class)};l.own_methods=function(a){return a.$$meta?l.own_instance_methods(a.$$meta):[]};l.receiver_methods=function(a){var c=l.get_singleton_class(a);a=l.own_instance_methods(c);c=l.own_instance_methods(c.$$super);return a.concat(c)};l.class_variables=function(a){a=P(a);var c,e={};for(c=a.length-1;0<=
|
|
42
|
+
c;c--){var f=a[c],l;for(l in f.$$cvars)e[l]=f.$$cvars[l]}return e};l.class_variable_set=function(a,c,e){var f=P(a),u;for(u=f.length-2;0<=u;u--){var l=f[u];if(ha(l.$$cvars,c))return l.$$cvars[c]=e}return a.$$cvars[c]=e};l.class_variable_get=function(a,c,e){if(ha(a.$$cvars,c))return a.$$cvars[c];var f=P(a),u,b=f.length;for(u=0;u<b;u++){var d=f[u];if(ha(d.$$cvars,c))return d.$$cvars[c]}e||w(l.NameError,"uninitialized class variable "+c+" in "+a.$name());return ja};l.append_features=function(a,c){var e=
|
|
43
|
+
P(a),f=[];-1!==e.indexOf(c)&&w(l.ArgumentError,"cyclic include detected");for(var u=0,b=e.length;u<b;u++){var d=K(e[u]);B(d,"$$included",!0);f.push(d)}e=P(c);f=t(f);if(-1===e.indexOf(a))a=c.$$prototype,e=Object.getPrototypeOf(c.$$prototype);else{e=c.$$prototype;for(u=Object.getPrototypeOf(e);null!=u&&(u.$$module!==a||!I(u));)e=u,u=Object.getPrototypeOf(u);if(u){for(u=Object.getPrototypeOf(u);u.hasOwnProperty("$$iclass")&&!I(u);)u=Object.getPrototypeOf(u);a=e;e=u}else a=c.$$prototype,e=Object.getPrototypeOf(c.$$prototype)}S(a,
|
|
44
|
+
f.first);S(f.last,e);a=[];for(e=Object.getPrototypeOf(c.$$prototype);e&&!e.hasOwnProperty("$$class");)(f=J(e))&&a.push(f),e=Object.getPrototypeOf(e);c.$$own_included_modules=a;l.const_cache_version++};l.prepend_features=function(a,c){var e=P(a),f=[];-1!==e.indexOf(c)&&w(l.ArgumentError,"cyclic prepend detected");for(var u=0,b=e.length;u<b;u++){var d=K(e[u]);B(d,"$$prepended",!0);f.push(d)}e=t(f);f=c.$$prototype;u=Object.getPrototypeOf(f);var g;if(f.hasOwnProperty("$$dummy"))b=f.$$define_methods_on;
|
|
45
|
+
else{b=F(c);d=c.$$prototype;for(var h=Object.getOwnPropertyNames(d),E=0;E<h.length;E++){var p=h[E];l.is_method(p)&&delete d[p]}B(f,"$$dummy",!0);B(f,"$$define_methods_on",b);S(f,b);S(b,u)}if(-1===P(c).indexOf(a)){var ia=f;for(g=Object.getPrototypeOf(f);null!=g&&!g.hasOwnProperty("$$root")&&g!==b&&g.hasOwnProperty("$$iclass");)g=Object.getPrototypeOf(g)}else w(l.RuntimeError,"Prepending a module multiple times is not supported");S(ia,e.first);S(e.last,g);a=[];g=Object.getPrototypeOf(c.$$prototype);
|
|
46
|
+
if(c.$$prototype.hasOwnProperty("$$dummy"))for(;g&&g!==c.$$prototype.$$define_methods_on;)(ia=J(g))&&a.push(ia),g=Object.getPrototypeOf(g);c.$$own_prepended_modules=a;l.const_cache_version++};l.bridge=function(a,c){a.hasOwnProperty("$$bridge")&&w(l.ArgumentError,"already bridged");B(a,"$$bridge",c);S(a.prototype,(c.$$super||l.Object).$$prototype);B(c,"$$prototype",a.prototype);B(c.$$prototype,"$$class",c);B(c,"$$constructor",a);B(c,"$$bridge",!0)};l.ancestors=P;l.included_modules=function(a){for(var c=
|
|
47
|
+
[],e=Object.getPrototypeOf(a.$$prototype);e&&Object.getPrototypeOf(e);e=Object.getPrototypeOf(e))(a=J(e))&&a.$$is_module&&e.$$iclass&&e.$$included&&c.push(a);return c};l.add_stubs=function(a){var c=l.BasicObject.$$prototype;a=a.split(",");for(var e=0,f=a.length;e<f;e++){var b=O(a[e]);var d=c[b];(null==d||d.$$stub)&&l.add_stub_for(c,b)}};l.add_stub_for=function(a,c){B(a,c,l.stub_for(c))};l.stub_for=function(a){function c(){this.$method_missing.$$p=c.$$p;c.$$p=null;for(var e=Array(arguments.length),
|
|
48
|
+
f=0,b=e.length;f<b;f++)e[f]=arguments[f];return this.$method_missing.apply(this,[a.slice(1)].concat(e))}c.$$stub=!0;return c};l.ac=function(a,c,e,f){var b="";b=e.$$is_a_module?b+(e.$$name+"."):b+(e.$$class.$$name+"#");w(l.ArgumentError,"["+(b+f)+"] wrong number of arguments (given "+a+", expected "+c+")")};l.block_ac=function(a,c,e){w(l.ArgumentError,"`block in "+e+"': wrong number of arguments (given "+a+", expected "+c+")")};l.find_super=function(a,c,e,f,b){var u=O(c);var d=R(a);for(e=d.indexOf(e.$$owner)+
|
|
49
|
+
1;e<d.length;e++){var r=d[e].$$prototype;r.hasOwnProperty("$$dummy")&&(r=r.$$define_methods_on);if(r.hasOwnProperty(u)){var g=r[u];break}}!f&&g&&g.$$stub&&a.$method_missing.$$pristine&&w(l.NoMethodError,"super: no superclass method `"+c+"' for "+a,c);return g.$$stub&&!b?null:g};l.find_block_super=function(a,c,e,f,b){e||w(l.RuntimeError,"super called outside of method");b&&e.$$define_meth&&w(l.RuntimeError,"implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly");
|
|
50
|
+
e.$$def&&(c=e.$$jsid);return l.find_super(a,c,e,f)};l.find_super_dispatcher=l.find_super;l.find_iter_super_dispatcher=l.find_block_super;l.yield1=function(a,c){"function"!==typeof a&&w(l.LocalJumpError,"no block given");var e=a.$$has_top_level_mlhs_arg,f=a.$$has_trailing_comma_in_args;if(1<a.length||(e||f)&&1===a.length)c=l.to_ary(c);return(1<a.length||f&&1===a.length)&&c.$$is_array?a.apply(null,c):a(c)};l.yieldX=function(a,c){"function"!==typeof a&&w(l.LocalJumpError,"no block given");if(1<a.length&&
|
|
51
|
+
1===c.length&&c[0].$$is_array)return a.apply(null,c[0]);if(!c.$$is_array){for(var e=Array(c.length),f=0,b=e.length;f<b;f++)e[f]=c[f];return a.apply(null,e)}return a.apply(null,c)};l.rescue=function(a,c){for(var e=0;e<c.length;e++){var f=c[e];if(f.$$is_array){if(f=l.rescue(a,f))return f}else if(f===l.JS.Error||f["$==="](a))return f}return null};l.is_a=function(a,c){return null!=c&&a.$$meta===c||a.$$class===c?!0:a.$$is_number&&c.$$is_number_class?c.$$is_integer_class?0===a%1:!0:-1!==P(a.$$is_class?
|
|
52
|
+
l.get_singleton_class(a):a.$$meta||a.$$class).indexOf(c)};l.to_hash=function(a){if(a.$$is_hash)return a;if(a["$respond_to?"]("to_hash",!0)){var c=a.$to_hash();if(c.$$is_hash)return c;w(l.TypeError,"Can't convert "+a.$$class+" to Hash ("+a.$$class+"#to_hash gives "+c.$$class+")")}else w(l.TypeError,"no implicit conversion of "+a.$$class+" into Hash")};l.to_ary=function(a){if(a.$$is_array)return a;if(a["$respond_to?"]("to_ary",!0)){var c=a.$to_ary();if(c===ja)return[a];if(c.$$is_array)return c;w(l.TypeError,
|
|
53
|
+
"Can't convert "+a.$$class+" to Array ("+a.$$class+"#to_ary gives "+c.$$class+")")}else return[a]};l.to_a=function(a){if(a.$$is_array)return a.slice();if(a["$respond_to?"]("to_a",!0)){var c=a.$to_a();if(c===ja)return[a];if(c.$$is_array)return c;w(l.TypeError,"Can't convert "+a.$$class+" to Array ("+a.$$class+"#to_a gives "+c.$$class+")")}else return[a]};l.extract_kwargs=function(a){var c=a[a.length-1];if(null!=c&&l.respond_to(c,"$to_hash",!0))return N(a,a.length-1),c};l.kwrestargs=function(a,c){var e=
|
|
54
|
+
[],f={},b;a=a.$$smap;for(b in a)c[b]||(e.push(b),f[b]=a[b]);return l.hash2(e,f)};var ea={};l.jsid=O;l.send=function(a,c,e,f,b){if("function"===typeof c){var d=c;c=null}else"string"===typeof c?d=a[O(c)]:w(l.NameError,"Passed method should be a string or a function");return l.send2(a,d,c,e,f,b)};l.send2=function(a,c,e,f,b,l){null==c&&null!=e&&a.$method_missing&&(c=a.$method_missing,f=[e].concat(f));W(b,l);"function"===typeof b&&(c.$$p=b);return c.apply(a,f)};l.refined_send=function(a,c,e,f,b,d){var u,
|
|
55
|
+
g,r;var h=R(c);for(u=0;u<h.length;u++){var E=l.id(h[u]);for(g=0;g<a.length;g++){var p=a[g];for(r=p.length-1;0<=r;r--){var y=p[r];if("undefined"!==typeof y.$$refine_modules&&(y=y.$$refine_modules,"undefined"!==typeof y[E]&&(y=y[E],"undefined"!==typeof y.$$prototype[O(e)])))return a=y.$$prototype[O(e)],l.send2(c,a,e,f,b,d)}}}return l.send(c,e,f,b,d)};l.lambda=function(a,c){a.$$is_lambda=!0;W(a,c);return a};l.def=function(a,c,e,f){W(e,f);return a===l.top?l.defn(l.Object,c,e):!a.$$eval&&a.$$is_a_module?
|
|
56
|
+
l.defn(a,c,e):l.defs(a,c,e)};l.defn=function(a,c,e){L(a);e.displayName=c;e.$$owner=a;var f=c.substr(1),b=a.$$prototype;b.hasOwnProperty("$$dummy")&&(b=b.$$define_methods_on);B(b,c,e);if(a.$$is_module){a.$$module_function&&l.defs(a,c,e);b=0;for(var d=a.$$iclasses,g=d.length;b<g;b++)B(d[b],c,e)}c=a.$$singleton_of;!a.$method_added||a.$method_added.$$stub||c?c&&c.$singleton_method_added&&!c.$singleton_method_added.$$stub&&c.$singleton_method_added(f):a.$method_added(f);return f};l.defs=function(a,c,e,
|
|
57
|
+
f){W(e,f);(a.$$is_string||a.$$is_number)&&w(l.TypeError,"can't define singleton");return l.defn(l.get_singleton_class(a),c,e)};l.rdef=function(a,c){ha(a.$$prototype,c)||w(l.NameError,"method '"+c.substr(1)+"' not defined in "+a.$name());delete a.$$prototype[c];a.$$is_singleton?a.$$prototype.$singleton_method_removed&&!a.$$prototype.$singleton_method_removed.$$stub&&a.$$prototype.$singleton_method_removed(c.substr(1)):a.$method_removed&&!a.$method_removed.$$stub&&a.$method_removed(c.substr(1))};l.udef=
|
|
58
|
+
function(a,c){a.$$prototype[c]&&!a.$$prototype[c].$$stub||w(l.NameError,"method '"+c.substr(1)+"' not defined in "+a.$name());l.add_stub_for(a.$$prototype,c);a.$$is_singleton?a.$$prototype.$singleton_method_undefined&&!a.$$prototype.$singleton_method_undefined.$$stub&&a.$$prototype.$singleton_method_undefined(c.substr(1)):a.$method_undefined&&!a.$method_undefined.$$stub&&a.$method_undefined(c.substr(1))};l.alias=function(a,c,e){var f=O(c),b=O(e);"undefined"===typeof a.$$prototype&&(a=l.Object);var d=
|
|
59
|
+
a.$$prototype[b];if(a.$$eval)return l.alias(l.get_singleton_class(a),c,e);if(!M(d)){for(var g=a.$$super;"function"!==typeof d&&g;)d=g[b],g=g.$$super;!M(d)&&a.$$is_module&&(d=l.Object.$$prototype[b]);M(d)||w(l.NameError,"undefined method `"+e+"' for class `"+a.$name()+"'")}d.$$alias_of&&(d=d.$$alias_of);var u=function(){var a=u.$$p,c;var e=Array(arguments.length);var f=0;for(c=arguments.length;f<c;f++)e[f]=arguments[f];u.$$p=null;return l.send(this,d,e,a)};try{Object.defineProperty(u,"length",{value:d.length})}catch(ma){}u.displayName=
|
|
60
|
+
c;u.$$arity=null==d.$$arity?d.length:d.$$arity;u.$$parameters=d.$$parameters;u.$$source_location=d.$$source_location;u.$$alias_of=d;u.$$alias_name=c;l.defn(a,f,u);return a};l.alias_gvar=function(a,c){Object.defineProperty(aa,a,{configurable:!0,enumerable:!0,get:function(){return aa[c]},set:function(a){aa[c]=a}});return ja};l.alias_native=function(a,c,e){c=O(c);var f=a.$$prototype[e];("function"!==typeof f||f.$$stub)&&w(l.NameError,"undefined native method `"+e+"' for class `"+a.$name()+"'");l.defn(a,
|
|
61
|
+
c,f);return a};l.hash_init=function(a){a.$$smap=Object.create(null);a.$$map=Object.create(null);a.$$keys=[]};l.hash_clone=function(a,c){c.$$none=a.$$none;c.$$proc=a.$$proc;var e=0,f=a.$$keys;a=a.$$smap;for(var b=f.length,d,g;e<b;e++)d=f[e],d.$$is_string?g=a[d]:(g=d.value,d=d.key),l.hash_put(c,d,g)};l.hash_put=function(a,c,e){if(c.$$is_string)ha(a.$$smap,c)||a.$$keys.push(c),a.$$smap[c]=e;else{var f;var b=a.$$by_identity?l.id(c):c.$hash();if(ha(a.$$map,b)){for(f=a.$$map[b];f;){if(c===f.key||c["$eql?"](f.key)){var d=
|
|
62
|
+
void 0;f.value=e;break}d=f;f=f.next}d&&(f={key:c,key_hash:b,value:e},a.$$keys.push(f),d.next=f)}else f={key:c,key_hash:b,value:e},a.$$keys.push(f),a.$$map[b]=f}};l.hash_get=function(a,c){if(c.$$is_string){if(ha(a.$$smap,c))return a.$$smap[c]}else{var e=a.$$by_identity?l.id(c):c.$hash();if(ha(a.$$map,e))for(a=a.$$map[e];a;){if(c===a.key||c["$eql?"](a.key))return a.value;a=a.next}}};l.hash_delete=function(a,c){var e,f=a.$$keys,b=f.length;if(c.$$is_string){"string"!==typeof c&&(c=c.valueOf());if(!ha(a.$$smap,
|
|
63
|
+
c))return;for(e=0;e<b;e++){var l=f[e];l.$$is_string&&"string"!==typeof l&&(l=l.valueOf());if(l===c){f.splice(e,1);break}}l=a.$$smap[c];delete a.$$smap[c];return l}var d=c.$hash();if(ha(a.$$map,d))for(var g=a.$$map[d],u;g;){if(c===g.key||c["$eql?"](g.key)){l=g.value;for(e=0;e<b;e++)if(f[e]===g){f.splice(e,1);break}u&&g.next?u.next=g.next:u?delete u.next:g.next?a.$$map[d]=g.next:delete a.$$map[d];return l}u=g;g=g.next}};l.hash_rehash=function(a){for(var c=0,e=a.$$keys.length,f,b,l;c<e;c++)if(!a.$$keys[c].$$is_string&&
|
|
64
|
+
(f=a.$$keys[c].key.$hash(),f!==a.$$keys[c].key_hash)){b=a.$$map[a.$$keys[c].key_hash];for(l=void 0;b;){if(b===a.$$keys[c]){l&&b.next?l.next=b.next:l?delete l.next:b.next?a.$$map[a.$$keys[c].key_hash]=b.next:delete a.$$map[a.$$keys[c].key_hash];break}l=b;b=b.next}a.$$keys[c].key_hash=f;if(ha(a.$$map,f)){b=a.$$map[f];for(l=void 0;b;){if(b===a.$$keys[c]){l=void 0;break}l=b;b=b.next}l&&(l.next=a.$$keys[c])}else a.$$map[f]=a.$$keys[c]}};l.hash=function(){var a=arguments.length,c;if(1===a&&arguments[0].$$is_hash)return arguments[0];
|
|
65
|
+
var e=new l.Hash;l.hash_init(e);if(1===a){a=arguments[0];if(arguments[0].$$is_array){var f=a.length;for(c=0;c<f;c++){2!==a[c].length&&w(l.ArgumentError,"value not of length 2: "+a[c].$inspect());var b=a[c][0];var d=a[c][1];l.hash_put(e,b,d)}}else for(b in a=arguments[0],a)ha(a,b)&&(d=a[b],l.hash_put(e,b,d));return e}0!==a%2&&w(l.ArgumentError,"odd number of arguments for Hash");for(c=0;c<a;c+=2)b=arguments[c],d=arguments[c+1],l.hash_put(e,b,d);return e};l.hash2=function(a,c){var e=new l.Hash;e.$$smap=
|
|
66
|
+
c;e.$$map=Object.create(null);e.$$keys=a;return e};l.range=function(a,c,e){var f=new l.Range;f.begin=a;f.end=c;f.excl=e;return f};var qa="constructor displayName __count__ __noSuchMethod__ __parent__ __proto__ hasOwnProperty valueOf".split(" ");l.ivar=function(a){-1!==qa.indexOf(a)&&(a+="$");return a};l.deny_frozen_access=L;l.freeze=function(a){B(a,"$$frozen",!0);a.hasOwnProperty("$$id")||B(a,"$$id",m());a.hasOwnProperty("$$meta")?a.$$meta.$freeze():B(a,"$$meta",null);a.hasOwnProperty("$$comparable")||
|
|
67
|
+
B(a,"$$comparable",null);Object.seal(a);return a};l.freeze_props=function(a){var c;for(c in a){var e=typeof c;("string"!==e&&"object"!==e||"$"!==c[0])&&(e=Object.getOwnPropertyDescriptor(a,c))&&e.enumerable&&e.writable&&function(){var e=a[c];Object.defineProperty(a,c,{get:function(){return e},set:function(c){L(a)},enumerable:!0})}()}};l.escape_regexp=function(a){return a.replace(/([-[\]\/{}()*+?.^$\\| ])/g,"\\$1").replace(/[\n]/g,"\\n").replace(/[\r]/g,"\\r").replace(/[\f]/g,"\\f").replace(/[\t]/g,
|
|
68
|
+
"\\t")};l.global_regexp=function(a){if(a.global)return a;null==a.$$g?a.$$g=new RegExp(a.source,(a.multiline?"gm":"g")+(a.ignoreCase?"i":"")):a.$$g.lastIndex=null;return a.$$g};l.global_multiline_regexp=function(a){if(a.global&&a.multiline)return a;var c="gm"+(a.ignoreCase?"i":"");a.multiline?(null==a.$$g&&(a.$$g=new RegExp(a.source,c)),a=a.$$g):(null==a.$$gm&&(a.$$gm=new RegExp(a.source,c)),a=a.$$gm);a.lastIndex=null;return a};l.regexp=function(a,c){for(var e,f="undefined"!==typeof c&&c&&0<=c.indexOf("i"),
|
|
69
|
+
b=0,d=a.length;b<d;b++)e=a[b],e instanceof RegExp&&(e.ignoreCase!==f&&l.Kernel.$warn("ignore case doesn't match for "+e.source.$inspect(),l.hash({uplevel:1})),e=e.source),""===e&&(e="(?:"+e+")"),a[b]=e;return c?new RegExp(a.join(""),c):new RegExp(a.join(""))};l.modules={};l.loaded_features=["corelib/runtime"];l.current_dir=".";l.require_table={"corelib/runtime":!0};l.normalize=function(a){var c=[];"."!==l.current_dir&&(a=l.current_dir.replace(/\/*$/,"/")+a);a=a.replace(/^\.\//,"");a=a.replace(/\.(rb|opal|js)$/,
|
|
70
|
+
"");a=a.split("/");for(var e=0,f=a.length;e<f;e++){var b=a[e];""!==b&&(".."===b?c.pop():c.push(b))}return c.join("/")};l.loaded=function(a){var c;var e=0;for(c=a.length;e<c;e++){var f=l.normalize(a[e]);l.require_table[f]||(l.loaded_features.push(f),l.require_table[f]=!0)}};l.load_normalized=function(a){l.loaded([a]);var c=l.modules[a];if(c){if(a=c(l),"undefined"!==typeof Promise&&a instanceof Promise)return a.then(k(!0))}else c=l.config.missing_require_severity,a="cannot load such file -- "+a,"error"===
|
|
71
|
+
c?w(l.LoadError,a):"warning"===c&&f.warn("WARNING: LoadError: "+a);return!0};l.load=function(a){a=l.normalize(a);return l.load_normalized(a)};l.require=function(a){a=l.normalize(a);return l.require_table[a]?!1:l.load_normalized(a)};l.encodings=Object.create(null);l.set_encoding=function(a,c,e){"undefined"===typeof e&&(e="encoding");"string"!==typeof a&&!0!==a.$$frozen||w(l.FrozenError,"can't modify frozen String");c=l.find_encoding(c);if(c===a[e])return a;a[e]=c;return a};l.find_encoding=function(a){var c=
|
|
72
|
+
l.encodings;(c=c[a]||c[a.toUpperCase()])||w(l.ArgumentError,"unknown encoding name - "+a);return c};l.enc=function(a,c){a=new String(a);a=l.set_encoding(a,c);a.internal_encoding=a.encoding;return a};l.binary=function(a){a=new String(a);return l.set_encoding(a,"binary","internal_encoding")};l.last_promise=null;l.promise_unhandled_exception=!1;l.queue=function(a){if(l.last_promise)return l.last_promise=l.last_promise.then(function(){if(!l.promise_unhandled_exception)return a(l)})["catch"](function(a){l.respond_to(a,
|
|
73
|
+
"$full_message")&&(a=a.$full_message());f.error(a);l.promise_unhandled_exception=!0;l.exit(1)}),l.last_promise;var c=a(l);"function"===typeof Promise&&"object"===typeof c&&c instanceof Promise&&(l.last_promise=c);return c};l.rb_plus=function(a,c){return U(a,c)?a+c:a["$+"](c)};l.rb_minus=function(a,c){return U(a,c)?a-c:a["$-"](c)};l.rb_times=function(a,c){return U(a,c)?a*c:a["$*"](c)};l.rb_divide=function(a,c){return U(a,c)?a/c:a["$/"](c)};l.rb_lt=function(a,c){return U(a,c)?a<c:a["$<"](c)};l.rb_gt=
|
|
74
|
+
function(a,c){return U(a,c)?a>c:a["$>"](c)};l.rb_le=function(a,c){return U(a,c)?a<=c:a["$<="](c)};l.rb_ge=function(a,c){return U(a,c)?a>=c:a["$>="](c)};l.eqeq=function(c,e){return a(c,e)?c===e:X(c["$=="](e))};l.eqeqeq=function(c,e){return a(c,e)?c===e:X(c["$==="](e))};l.neqeq=function(c,e){return a(c,e)?c!==e:X(c["$!="](e))};l.not=function(a){return void 0===a||null===a||!1===a||ja===a?!0:!0===a||a["$!"].$$pristine?!1:X(a["$!"]())};l.return_val=k;l.return_self=function(){return this};l.return_ivar=
|
|
75
|
+
function(a){return function(){return null==this[a]?ja:this[a]}};l.assign_ivar=function(a){return function(c){L(this);return this[a]=c}};l.assign_ivar_val=function(a,c){return function(){L(this);return this[a]=c}};l.ensure_kwargs=function(a){if(null==a)return l.hash2([],{});if(a.$$is_hash)return a;w(l.ArgumentError,"expected kwargs")};l.get_kwarg=function(a,c){ha(a.$$smap,c)||w(l.ArgumentError,"missing keyword: "+c);return a.$$smap[c]};l.large_array_unpack=function(a){a=a.split(",");var c=a.length,
|
|
76
|
+
e;for(e=0;e<c;e++)switch(a[e][0]){case void 0:a[e]=ja;break;case "-":case "0":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":a[e]=+a[e]}return a};l.BasicObject=h=n("BasicObject",null);l.Object=c=n("Object",l.BasicObject);l.Module=b=n("Module",l.Object);l.Class=p=n("Class",l.Module);l.Opal=T=x("Opal");l.Kernel=g=x("Kernel");S(l.BasicObject,l.Class.$$prototype);S(l.Object,l.Class.$$prototype);S(l.Module,l.Class.$$prototype);S(l.Class,l.Class.$$prototype);h.$$const.BasicObject=
|
|
77
|
+
h;z(c,"BasicObject",h);z(c,"Object",c);z(c,"Module",b);z(c,"Class",p);z(c,"Opal",T);z(c,"Kernel",g);h.$$class=p;c.$$class=p;b.$$class=p;p.$$class=p;T.$$class=b;g.$$class=b;B(c.$$prototype,"toString",function(){var a=this.$to_s();return a.$$is_string&&"object"===typeof a?a.valueOf():a});B(c.$$prototype,"$require",l.require);l.top=new c;l.top.$to_s=l.top.$inspect=k("main");l.top.$define_method=d;l.NilClass=n("NilClass",l.Object);z(c,"NilClass",l.NilClass);var ja=l.nil=new l.NilClass;ja.$$id=4;ja.call=
|
|
78
|
+
ja.apply=function(){w(l.LocalJumpError,"no block given")};ja.$$frozen=!0;ja.$$comparable=!1;Object.seal(ja);l.thrower=function(a){var c=Error("unexpected "+a);c.$thrower_type=a;c.$throw=function(a){null==a&&(a=ja);c.$v=a;throw c;};return c};l.t_eval_return=l.thrower("return");TypeError.$$super=Error;l.file_sources={}}).call(this);Opal.loaded(["corelib/runtime.js"]);
|
|
79
79
|
Opal.modules["corelib/helpers"]=function(b){var m=b.type_error,w=b.coerce_to,B=b.module,q=b.defs,G=b.slice,D=b.eqeqeq,A=b.Kernel,z=b.truthy,n=b.Opal,x=b.nil,H=b.$$$;b.add_stubs("===,raise,respond_to?,nil?,__send__,<=>,class,coerce_to!,new,to_s,__id__");return function(I){I=B(I,"Opal");q(I,"$bridge",function(n,m){return b.bridge(n,m)});q(I,"$coerce_to!",function(b,n,q,x){var t=G(arguments,3);t=w(b,n,q,t);D(n,t)||A.$raise(m(b,n,q,t));return t},-4);q(I,"$coerce_to?",function(b,n,q,H){var t=G(arguments,
|
|
80
80
|
3);if(!z(b["$respond_to?"](q)))return x;t=w(b,n,q,t);if(z(t["$nil?"]()))return x;D(n,t)||A.$raise(m(b,n,q,t));return t},-4);q(I,"$try_convert",function(b,n,m){return D(n,b)?b:z(b["$respond_to?"](m))?b.$__send__(m):x});q(I,"$compare",function(b,n){var m=b["$<=>"](n);z(m===x)&&A.$raise(H("ArgumentError"),"comparison of "+b.$class()+" with "+n.$class()+" failed");return m});q(I,"$destructure",function(b){if(1==b.length)return b[0];if(b.$$is_array)return b;for(var n=Array(b.length),m=0,q=n.length;m<q;m++)n[m]=
|
|
81
81
|
b[m];return n});q(I,"$respond_to?",function(b,n,m){null==m&&(m=!1);return null!=b&&b.$$class?b["$respond_to?"](n,m):!1},-3);q(I,"$instance_variable_name!",function(b){b=n["$coerce_to!"](b,H("String"),"to_str");z(/^@[a-zA-Z_][a-zA-Z0-9_]*?$/.test(b))||A.$raise(H("NameError").$new("'"+b+"' is not allowed as an instance variable name",b));return b});q(I,"$class_variable_name!",function(b){b=n["$coerce_to!"](b,H("String"),"to_str");z(3>b.length||"@@"!==b.slice(0,2))&&A.$raise(H("NameError").$new("`"+
|
|
@@ -162,7 +162,7 @@ m("::",M("StandardError"),"SystemCallError");m("::",M("StandardError"),"RegexpEr
|
|
|
162
162
|
$super){b=m(b,$super,"UncaughtThrowError");b.$$prototype.tag=O;b.$attr_reader("tag","value");return A(b,"$initialize",function f(b,d){f.$$p=null;null==d&&(d=O);this.tag=b;this.value=d;return J(this,P(this,"initialize",f,!1,!0),"initialize",["uncaught throw "+this.tag.$inspect()],null)},-2)})("::",M("ArgumentError"));(function(b,$super){b=m(b,$super,"NameError");b.$attr_reader("name");return A(b,"$initialize",function f(b,d){f.$$p=null;null==d&&(d=O);J(this,P(this,"initialize",f,!1,!0),"initialize",
|
|
163
163
|
[b],null);return this.name=d},-2)})("::",null);(function(b,$super){b=m(b,$super,"NoMethodError");b.$attr_reader("args");return A(b,"$initialize",function h(b,d,f){h.$$p=null;null==d&&(d=O);null==f&&(f=[]);J(this,P(this,"initialize",h,!1,!0),"initialize",[b,d],null);return this.args=f},-2)})("::",null);m("::",null,"StopIteration").$attr_reader("result");(function(b,$super){b=m(b,$super,"KeyError");var a=b.$$prototype;a.receiver=a.key=O;A(b,"$initialize",function h(a,f){h.$$p=null;f=t(f);var c=f.$$smap.receiver;
|
|
164
164
|
null==c&&(c=O);f=f.$$smap.key;null==f&&(f=O);J(this,P(this,"initialize",h,!1,!0),"initialize",[a],null);this.receiver=c;return this.key=f},-2);A(b,"$receiver",function(){var a;return z(a=this.receiver)?a:x.$raise(M("ArgumentError"),"no receiver is available")});return A(b,"$key",function(){var a;return z(a=this.key)?a:x.$raise(M("ArgumentError"),"no key is available")})})("::",null);return function(b,n){b=[R(b,"JS")].concat(n);return m(b[0],null,"Error"),O}("::",W)};
|
|
165
|
-
Opal.modules["corelib/constants"]=function(b){var m=b.const_set;b=b.$$$;m("::","RUBY_PLATFORM","opal");m("::","RUBY_ENGINE","opal");m("::","RUBY_VERSION","3.2.0");m("::","RUBY_ENGINE_VERSION","1.7.
|
|
165
|
+
Opal.modules["corelib/constants"]=function(b){var m=b.const_set;b=b.$$$;m("::","RUBY_PLATFORM","opal");m("::","RUBY_ENGINE","opal");m("::","RUBY_VERSION","3.2.0");m("::","RUBY_ENGINE_VERSION","1.7.3");m("::","RUBY_RELEASE_DATE","2023-03-23");m("::","RUBY_PATCHLEVEL",0);m("::","RUBY_REVISION","0");m("::","RUBY_COPYRIGHT","opal - Copyright (C) 2011-2023 Adam Beynon and the Opal contributors");return m("::","RUBY_DESCRIPTION","opal "+b("RUBY_ENGINE_VERSION")+" ("+b("RUBY_RELEASE_DATE")+" revision "+
|
|
166
166
|
b("RUBY_REVISION")+")")};Opal.modules["opal/base"]=function(b){var m=b.Object;b.add_stubs("require");m.$require("corelib/runtime");m.$require("corelib/helpers");m.$require("corelib/module");m.$require("corelib/class");m.$require("corelib/basic_object");m.$require("corelib/kernel");m.$require("corelib/main");m.$require("corelib/error");return m.$require("corelib/constants")};
|
|
167
167
|
Opal.modules["corelib/nil"]=function(b){var m=b.klass,w=b.Kernel,B=b.def,q=b.return_val,G=b.ensure_kwargs,D=b.NilClass,A=b.slice,z=b.truthy,n=b.rb_gt,x=b.alias,H=b.nil,I=b.$$$;b.add_stubs("raise,name,new,>,length,Rational,to_i");return function(K,$super,t){K=m(K,$super,"NilClass");t=[K].concat(t);K.$$prototype.$$meta=K;(function(n,m){B(n,"$allocate",function(){return w.$raise(I("TypeError"),"allocator undefined for "+this.$name())});b.udef(n,"$new");return H})(b.get_singleton_class(K),t);B(K,"$!",
|
|
168
168
|
q(!0));B(K,"$&",q(!1));B(K,"$|",function(b){return!1!==b&&b!==H});B(K,"$^",function(b){return!1!==b&&b!==H});B(K,"$==",function(b){return b===H});B(K,"$dup",q(H));B(K,"$clone",function(b){G(b);return H},-1);B(K,"$inspect",q("nil"));B(K,"$nil?",q(!0));B(K,"$singleton_class",function(){return D});B(K,"$to_a",function(){return[]});B(K,"$to_h",function(){return b.hash()});B(K,"$to_i",q(0));B(K,"$to_s",q(""));B(K,"$to_c",function(){return I("Complex").$new(0,0)});B(K,"$rationalize",function(b){var m=A(arguments);
|
|
@@ -361,8 +361,8 @@ y)return L(this,"enum_for",["reject!"],function za(){return(null==za.$$s?this:za
|
|
|
361
361
|
function Ha(){var a=Ha.$$p||y;Ha.$$p=null;if(a===y)return L(this,"enum_for",["reverse_each"],function za(){return(null==za.$$s?this:za.$$s).$size()},{$$s:this});L(this.$reverse(),"each",[],a.$to_proc());return this});J(E,"$rindex",function Ba(a){var c=Ba.$$p||y;Ba.$$p=null;var b;null!=a&&c!==y&&this.$warn("warning: given block not used");if(null!=a)for(b=this.length-1;0<=b&&!(b>=this.length);b--){if(this[b]["$=="](a))return b}else if(c!==y)for(b=this.length-1;0<=b&&!(b>=this.length);b--){if(a=c(this[b]),
|
|
362
362
|
!1!==a&&a!==y)return b}else if(null==a)return this.$enum_for("rindex");return y},-1);J(E,"$rotate",function(a){null==a&&(a=1);a=z(a,N("Integer"),"to_int");if(1===this.length)return this.slice();if(0===this.length)return[];var c=this.slice();var b=a%c.length;a=c.slice(b);c=c.slice(0,b);return a.concat(c)},-1);J(E,"$rotate!",function(a){null==a&&(a=1);x(this);if(0===this.length||1===this.length)return this;a=z(a,N("Integer"),"to_int");a=this.$rotate(a);return this.$replace(a)},-1);(function(a,$super){a=
|
|
363
363
|
I(a,$super,"SampleRandom");a.$$prototype.rng=y;J(a,"$initialize",T("rng"));return J(a,"$rand",function(a){var c=z(this.rng.$rand(a),N("Integer"),"to_int");m(0>c)&&t.$raise(N("RangeError"),"random value must be >= 0");m(c<a)||t.$raise(N("RangeError"),"random value must be less than Array size");return c})})(E,null);J(E,"$sample",function(a,c){var b=y;if(m(void 0===a))return this.$at(t.$rand(this.length));m(void 0===c)?m(c=P["$coerce_to?"](a,N("Hash"),"to_hash"))?a=y:(c=y,a=z(a,N("Integer"),"to_int")):
|
|
364
|
-
(a=z(a,N("Integer"),"to_int"),c=z(c,N("Hash"),"to_hash"));m(a)&&m(0>a)&&t.$raise(N("ArgumentError"),"count must be greater than 0");m(c)&&(b=c["$[]"]("random"));b=m(b)&&m(b["$respond_to?"]("rand"))?ia("SampleRandom").$new(b):t;if(!m(a))return this[b.$rand(this.length)];a>this.length&&(a=this.length);switch(a){case 0:return[];case 1:return[this[b.$rand(this.length)]];case 2:var e=b.$rand(this.length);var d=b.$rand(this.length);e
|
|
365
|
-
|
|
364
|
+
(a=z(a,N("Integer"),"to_int"),c=z(c,N("Hash"),"to_hash"));m(a)&&m(0>a)&&t.$raise(N("ArgumentError"),"count must be greater than 0");m(c)&&(b=c["$[]"]("random"));b=m(b)&&m(b["$respond_to?"]("rand"))?ia("SampleRandom").$new(b):t;if(!m(a))return this[b.$rand(this.length)];a>this.length&&(a=this.length);switch(a){case 0:return[];case 1:return[this[b.$rand(this.length)]];case 2:var e=b.$rand(this.length);var d=b.$rand(this.length-1);e<=d&&d++;return[this[e],this[d]];default:if(3<this.length/a){var f=!1;
|
|
365
|
+
var l=0;c=ia("Array").$new(a);e=1;for(c[0]=b.$rand(this.length);e<a;){var g=b.$rand(this.length);for(d=0;d<e;){for(;g===c[d];){l++;if(100<l){f=!0;break}g=b.$rand(this.length)}if(f)break;d++}if(f)break;c[e]=g;e++}if(!f){for(e=0;e<a;)c[e]=this[c[e]],e++;return c}}c=this.slice();for(e=0;e<a;e++)f=b.$rand(this.length-e)+e,l=c[e],c[e]=c[f],c[f]=l;return a===this.length?c:c["$[]"](0,a)}},-1);J(E,"$select",function Ba(){var a=Ba.$$p||y;Ba.$$p=null;if(a===y)return L(this,"enum_for",["select"],function Ea(){return(null==
|
|
366
366
|
Ea.$$s?this:Ea.$$s).$size()},{$$s:this});for(var c=[],b=0,e=this.length,d,f;b<e;b++)d=this[b],f=q(a,d),m(f)&&c.push(d);return c});J(E,"$select!",function za(){var a=za.$$p||y;za.$$p=null;if(a===y)return L(this,"enum_for",["select!"],function Ma(){return(null==Ma.$$s?this:Ma.$$s).$size()},{$$s:this});x(this);var c=this.length;L(this,"keep_if",[],a.$to_proc());return this.length===c?y:this});J(E,"$shift",function(a){x(this);if(m(void 0===a)){if(m(0===this.length))return y;a=this[0];for(var c=1,b=this.length;c<
|
|
367
367
|
b;c++)this[c-1]=this[c];this.pop();return a}a=z(a,N("Integer"),"to_int");m(0>a)&&t.$raise(N("ArgumentError"),"negative array size");return m(0===this.length)?[]:this.splice(0,a)},-1);J(E,"$shuffle",function(a){return this.$dup().$to_a()["$shuffle!"](a)},-1);J(E,"$shuffle!",function(a){x(this);var c,b=this.length;void 0!==a&&(a=P["$coerce_to?"](a,N("Hash"),"to_hash"),a!==y&&(a=a["$[]"]("random"),a!==y&&a["$respond_to?"]("rand")&&(c=a)));for(;b;){c?(a=c.$rand(b).$to_int(),0>a&&t.$raise(N("RangeError"),
|
|
368
368
|
"random number too small "+a),a>=b&&t.$raise(N("RangeError"),"random number too big "+a)):a=this.$rand(b);var e=this[--b];this[b]=this[a];this[a]=e}return this},-1);J(E,"$slice!",function(a,c){x(this);if(m(void 0===c))if(R(N("Range"),a)){var b=this["$[]"](a);c=a.begin===y?0:z(a.begin,N("Integer"),"to_int");var e=a.end===y?-1:z(a.end,N("Integer"),"to_int");0>c&&(c+=this.length);0>e?e+=this.length:e>=this.length&&(e=this.length-1,a.excl&&(e+=1));var d=e-c;a.excl&&a.end!==y?--e:d+=1;c<this.length&&0<=
|
|
@@ -1446,5 +1446,5 @@ return a===Opal.nil?void 0:a};n.prototype.parseContentAs=function(a){this.$parse
|
|
|
1446
1446
|
n=U.DocinfoProcessor;n.prototype.prefer=function(){this.$prefer()};n.prototype.atLocation=function(a){this.$at_location(a)};U.createPostprocessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("Postprocessor",a,b)};U.newPostprocessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createPostprocessor(a,b).$new()};U.createPreprocessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("Preprocessor",a,b)};U.newPreprocessor=function(a,b){1===arguments.length&&(b=a,a=null);
|
|
1447
1447
|
return this.createPreprocessor(a,b).$new()};U.createTreeProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("TreeProcessor",a,b)};U.newTreeProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createTreeProcessor(a,b).$new()};U.createIncludeProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("IncludeProcessor",a,b)};U.newIncludeProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createIncludeProcessor(a,b).$new()};U.createDocinfoProcessor=
|
|
1448
1448
|
function(a,b){1===arguments.length&&(b=a,a=null);return q("DocinfoProcessor",a,b)};U.newDocinfoProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createDocinfoProcessor(a,b).$new()};U.createBlockProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("BlockProcessor",a,b)};U.newBlockProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createBlockProcessor(a,b).$new()};U.createInlineMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("InlineMacroProcessor",
|
|
1449
|
-
a,b)};U.newInlineMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createInlineMacroProcessor(a,b).$new()};U.createBlockMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("BlockMacroProcessor",a,b)};U.newBlockMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createBlockMacroProcessor(a,b).$new()};Opal.Asciidoctor.prototype.getVersion=function(){return"3.0.0-
|
|
1449
|
+
a,b)};U.newInlineMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createInlineMacroProcessor(a,b).$new()};U.createBlockMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return q("BlockMacroProcessor",a,b)};U.newBlockMacroProcessor=function(a,b){1===arguments.length&&(b=a,a=null);return this.createBlockMacroProcessor(a,b).$new()};Opal.Asciidoctor.prototype.getVersion=function(){return"3.0.0-rc.2"};return Opal.Asciidoctor}
|
|
1450
1450
|
var module$build$asciidoctor_browser={};module$build$asciidoctor_browser.default=Asciidoctor$$module$build$asciidoctor_browser;
|