text: !function(){var define=void 0;!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o;"undefined"!=typeof window?o=window:"undefined"!=typeof global?o=global:"undefined"!=typeof self&&(o=self),o.gitbookParsers=e()}}(function(){var define,module,exports;return function e(o,f,n){function d(t,l){if(!f[t]){if(!o[t]){var u="function"==typeof require&&require;if(!l&&u)return u(t,!0);if(i)return i(t,!0);var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}var p=f[t]={exports:{}};o[t][0].call(p.exports,function(e){var f=o[t][1][e];return d(f?f:e)},p,p.exports,e,o,f,n)}return f[t].exports}for(var i="function"==typeof require&&require,t=0;t<n.length;t++)d(n[t]);return d}({1:[function(e,o,f){function n(e){return i.chain(e).map(function(e){return e.id=d(e.name),e}).sortBy(function(e){return e.name.toLowerCase()}).value()}function d(e){return e.toLowerCase().replace(/[\/\\\?\%\*\:\;\|\"\'\\<\\>\#\$\(\)\!\.\@]/g,"").replace(/ /g,"_").trim()}var i=e("lodash");o.exports={entryId:d,normalize:n}},{lodash:113}],2:[function(e,o,f){function n(e){return u.wrap(e,function(e){var o=Array.prototype.slice.call(arguments,1);return l().then(function(){return e.apply(null,o)})})}function d(e){var o=e.parser,f={name:e.name,extensions:e.extensions};f.glossary=n(u.compose(r.normalize,o.glossary)),f.glossary.toText=n(o.glossary.toText);var d=n(o.summary);return f.summary=function(e,o){return d(e).then(function(e){return p.normalize(e,o)})},f.summary.toText=n(o.summary.toText),f.langs=n(u.compose(y.normalize,o.langs)),f.langs.toText=n(o.langs.toText),f.readme=n(o.readme),f.page=n(o.page),f.page.prepare=n(o.page.prepare||u.identity),f}function i(e){return u.find(a,function(o){return o.name==e||u.contains(o.extensions,e)})}function t(e){return i(s.extname(e))}var l=e("q"),u=e("lodash"),s=e("path"),p=e("./summary"),r=e("./glossary"),y=e("./langs"),a=u.chain([{name:"markdown",extensions:[".md",".markdown",".mdown"],parser:e("gitbook-markdown")},{name:"asciidoc",extensions:[".adoc",".asciidoc"],parser:e("gitbook-asciidoc")},{name:"restructuredtext",extensions:[".rst"],parser:e("gitbook-restructuredtext")}]).map(function(e){return e.parser&&e.parser.summary&&e.parser.page&&e.parser.glossary&&e.parser.readme?d(e):null}).compact().value();o.exports={all:a,extensions:u.flatten(u.pluck(a,"extensions")),get:i,getForFile:t,glossary:{entryId:r.entryId}}},{"./glossary":1,"./langs":3,"./summary":4,"gitbook-asciidoc":57,"gitbook-markdown":64,"gitbook-restructuredtext":11,lodash:113,path:118,q:121}],3:[function(e,o,f){function n(e){return d.chain(e).filter(function(e){return Boolean(e.path)}).map(function(e){return{title:e.title.trim(),path:e.path,lang:i.basename(e.path)}}).value()}var d=e("lodash"),i=e("path");o.exports={normalize:n}},{lodash:113,path:118}],4:[function(e,o,f){function n(e,o){var f=l.find(e,function(e){return d(e.path)==d(o.entryPoint)});return f?e:[{path:o.entryPoint,title:o.entryPointTitle}].concat(e)}function d(e){return e?s.normalize(e).replace(/\\/g,"/").replace(/^\/+/,""):e}function i(e,o,f,n,t){n=n||0,t=t||{};var u=n;return l.chain(e).map(function(e){if(e.path=d(e.path),e.path){if(t[e.path])return null;t[e.path]=!0}return e.level=(f?[f||"",u]:[u]).join("."),e.external=p(e.path),e.exists=e.path?e.external||!o.files||!!l.find(o.files,function(o){return d(o)==e.path}):!1,u+=1,{path:e.path,title:e.title.trim(),level:e.level,articles:i(e.articles||[],o,e.level,1,t),exists:e.exists,external:e.external,introduction:e.path==o.entryPoint}}).compact().value()}function t(e,o){return o=l.defaults(o||{},{entryPoint:"README.md",entryPointTitle:"Introduction",files:null}),l.isArray(e)&&(e={chapters:e}),e.chapters=n(e.chapters,o),e.chapters=i(e.chapters,o),e}var l=e("lodash"),u=e("url"),s=e("path"),p=function(e){try{return Boolean(u.parse(e).protocol)}catch(o){}return!1};o.exports={normalize:t}},{lodash:113,path:118,url:137}],5:[function(e,o,f){!function(){function e(e){this.message=e}var o="undefined"!=typeof f?f:this,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.prototype=new Error,e.prototype.name="InvalidCharacterError",o.btoa||(o.btoa=function(o){for(var f,d,i=0,t=n,l="";o.charAt(0|i)||(t="=",i%1);l+=t.charAt(63&f>>8-i%1*8)){if(d=o.charCodeAt(i+=.75),d>255)throw new e("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");f=f<<8|d}return l}),o.atob||(o.atob=function(o){if(o=o.replace(/=+$/,""),o.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var f,d,i=0,t=0,l="";d=o.charAt(t++);~d&&(f=i%4?64*f+d:d,i++%4)?l+=String.fromCharCode(255&f>>(-2*i&6)):0)d=n.indexOf(d);return l})}()},{}],6:[function(require,module,exports){module.exports=function(opalParam,xmlHttpRequestParam){var Opal=opalParam||require("opal-npm-wrapper").Opal;if(xmlHttpRequestParam!==!1){var XMLHttpRequest=xmlHttpRequestParam||require("xmlhttprequest").XMLHttpRequest;XMLHttpRequest.prototype.overrideMimeType=function(){}}return{Opal:Opal,Asciidoctor:function(loadExtensions){return function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass,i=e.module;return function(o,i){function t(){}var l,u,s,p=t=d(o,i,"Set",t),r=p._proto,y=p._scope;return r.hash=f,p.$include(y.Enumerable),e.defs(p,"$[]",function(e){var o=this;return e=n.call(arguments,0),o.$new(e)}),r.$initialize=l=function(e){var o,n,d,i=this,t=l._p,u=t||f;return null==e&&(e=f),l._p=null,i.hash=y.Hash.$new(),(o=e["$nil?"]())===f||o._isBoolean&&1!=o?u!==!1&&u!==f?(o=(n=i).$do_with_enum,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),o.$add(u["$[]"](e))},d._s=i,d),o).call(n,e):i.$merge(e):f},r["$=="]=function(e){var o,n,d,i=this;return(o=i["$equal?"](e))===f||o._isBoolean&&1!=o?(o=e["$instance_of?"](i.$class()))===f||o._isBoolean&&1!=o?(n=e["$is_a?"](y.Set),(o=n!==!1&&n!==f?i.$size()["$=="](e.$size()):n)===f||o._isBoolean&&1!=o?!1:(o=(n=e)["$all?"],o._p=(d=function(e){var o=d._s||this;return null==o.hash&&(o.hash=f),null==e&&(e=f),o.hash["$include?"](e)},d._s=i,d),o).call(n)):i.hash["$=="](e.$instance_variable_get("@hash")):!0},r.$add=function(e){var o=this;return o.hash["$[]="](e,!0),o},e.defn(p,"$<<",r.$add),r["$add?"]=function(e){var o,n=this;return(o=n["$include?"](e))===f||o._isBoolean&&1!=o?n.$add(e):f},r.$each=u=function(){var e,o,n=this,d=u._p,i=d||f;return u._p=null,i===f?n.$enum_for("each"):((e=(o=n.hash).$each_key,e._p=i.$to_proc(),e).call(o),n)},r["$empty?"]=function(){var e=this;return e.hash["$empty?"]()},r.$clear=function(){var e=this;return e.hash.$clear(),e},r["$include?"]=function(e){var o=this;return o.hash["$include?"](e)},e.defn(p,"$member?",r["$include?"]),r.$merge=function(e){var o,n,d,i=this;return(o=(n=i).$do_with_enum,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),o.$add(e)},d._s=i,d),o).call(n,e),i},r.$do_with_enum=s=function(e){var o,n,d=s._p,i=d||f;return s._p=null,(o=(n=e).$each,o._p=i.$to_proc(),o).call(n)},r.$size=function(){var e=this;return e.hash.$size()},e.defn(p,"$length",r.$size),r.$to_a=function(){var e=this;return e.hash.$keys()},f&&"to_a"}(o,null),function(o){var d,t=i(o,"Enumerable"),l=t._proto,u=t._scope;l.$to_set=d=function(e,o){var i,t,l=this,s=d._p,p=s||f;return o=n.call(arguments,1),null==e&&(e=u.Set),d._p=null,(i=(t=e).$new,i._p=p.$to_proc(),i).apply(t,[l].concat(o))},e.donate(t,["$to_set"])}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module);return function(o){var d=n(o,"Comparable"),i=d._proto,t=d._scope;e.defs(d,"$normalize",function(e){var o;return(o=t.Integer["$==="](e))===f||o._isBoolean&&1!=o?e["$>"](0)?1:e["$<"](0)?-1:0:e}),i["$=="]=function(o){var n,d=this,i=f;try{return(n=d["$equal?"](o))===f||n._isBoolean&&1!=n?(n=i=d["$<=>"](o))===f||n._isBoolean&&1!=n?!1:t.Comparable.$normalize(i)["$=="](0):!0}catch(l){if(e.$rescue(l,[t.StandardError]))return!1;throw l}},i["$>"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$>"](0)},i["$>="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$>="](0)},i["$<"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$<"](0)},i["$<="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$<="](0)},i["$between?"]=function(e,o){var f=this;return f["$<"](e)?!1:f["$>"](o)?!1:!0},e.donate(d,["$==","$>","$>=","$<","$<=","$between?"])}(o)}(Opal),function($opal){var self=$opal.top,$scope=$opal,nil=$opal.nil,$breaker=$opal.breaker,$slice=$opal.slice,$klass=$opal.klass,$gvars=$opal.gvars;return function($base,$super){function $String(){}var self=$String=$klass($base,$super,"String",$String),def=self._proto,$scope=self._scope,TMP_1,TMP_2,TMP_3,TMP_4,TMP_5,TMP_6,TMP_7;return def.length=nil,self.$include($scope.Comparable),def._isString=!0,$opal.defs(self,"$try_convert",function(e){try{return e.$to_str()}catch(o){return nil}}),$opal.defs(self,"$new",function(e){return null==e&&(e=""),new String(e)}),def["$%"]=function(e){var o,f=this;return(o=$scope.Array["$==="](e))===nil||o._isBoolean&&1!=o?f.$format(f,e):(o=f).$format.apply(o,[f].concat(e))},def["$*"]=function(e){var o=this;if(1>e)return"";for(var f="",n=o;e>0;)1&e&&(f+=n),e>>=1,n+=n;return f},def["$+"]=function(e){var o=this;return e=$scope.Opal.$coerce_to(e,$scope.String,"to_str"),o+e.$to_s()},def["$<=>"]=function(e){var o,f=this;if((o=e["$respond_to?"]("to_str"))===nil||o._isBoolean&&1!=o){var n=e["$<=>"](f);return n===nil?nil:n>0?-1:0>n?1:0}return e=e.$to_str().$to_s(),f>e?1:e>f?-1:0},def["$=="]=function(e){var o,f=this;return(o=$scope.String["$==="](e))===nil||o._isBoolean&&1!=o?!1:f.$to_s()==e.$to_s()},$opal.defn(self,"$eql?",def["$=="]),$opal.defn(self,"$===",def["$=="]),def["$=~"]=function(e){var o=this;return e._isString&&o.$raise($scope.TypeError,"type mismatch: String given"),e["$=~"](o)},def["$[]"]=function(e,o){var f=this,n=f.length;if(e._isRange){var d=e.exclude,o=e.end,e=e.begin;return 0>e&&(e+=n),0>o&&(o+=n),d||(o+=1),e>n?nil:(o-=e,0>o&&(o=0),f.substr(e,o))}return 0>e&&(e+=f.length),null==o?e>=f.length||0>e?nil:f.substr(e,1):e>f.length||0>e?nil:f.substr(e,o)},def.$capitalize=function(){var e=this;return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()},def.$casecmp=function(e){var o=this;return e=$scope.Opal.$coerce_to(e,$scope.String,"to_str").$to_s(),o.toLowerCase()["$<=>"](e.toLowerCase())},def.$center=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=n.$ljust(e["$+"](n.length)["$/"](2).$ceil(),o),i=n.$rjust(e["$+"](n.length)["$/"](2).$floor(),o);return i+d.slice(n.length)},def.$chars=TMP_1=function(){var e,o,f=this,n=TMP_1._p,d=n||nil;return TMP_1._p=null,d===!1||d===nil?f.$each_char().$to_a():(e=(o=f).$each_char,e._p=d.$to_proc(),e).call(o)},def.$chomp=function(e){var o,f=this;if(null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),(o=e===nil||0===f.length)!==nil&&(!o._isBoolean||1==o))return f;if(e=$scope.Opal["$coerce_to!"](e,$scope.String,"to_str").$to_s(),"\n"===e)return f.replace(/\r?\n?$/,"");if(""===e)return f.replace(/(\r?\n)+$/,"");if(f.length>e.length){var n=f.substr(f.length-e.length,e.length);if(n===e)return f.substr(0,f.length-e.length)}return f},def.$chop=function(){var e=this,o=e.length;return 1>=o?"":"\n"===e.charAt(o-1)&&"\r"===e.charAt(o-2)?e.substr(0,o-2):e.substr(0,o-1)},def.$chr=function(){var e=this;return e.charAt(0)},def.$clone=function(){var e=this,o=nil;return o=e.slice(),o.$initialize_clone(e),o},def.$dup=function(){var e=this,o=nil;return o=e.slice(),o.$initialize_dup(e),o},def.$count=function(e){var o=this;return(o.length-o.replace(new RegExp(e,"g"),"").length)/e.length},$opal.defn(self,"$dup",def.$clone),def.$downcase=function(){var e=this;return e.toLowerCase()},def.$each_char=TMP_2=function(){var e,o=this,f=TMP_2._p,n=f||nil;if(TMP_2._p=null,n===nil)return o.$enum_for("each_char");for(var d=0,i=o.length;i>d;d++)(e=$opal.$yield1(n,o.charAt(d)))===$breaker?$breaker.$v:e;return o},def.$each_line=TMP_3=function(e){var o,f=this,n=TMP_3._p,d=n||nil;if(null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),TMP_3._p=null,d===nil)return f.$split(e);for(var i=f.$chomp(),t=f.length!=i.length,l=i.split(e),u=0,s=l.length;s>u;u++)s-1>u||t?(o=$opal.$yield1(d,l[u]+e))===$breaker?$breaker.$v:o:(o=$opal.$yield1(d,l[u]))===$breaker?$breaker.$v:o;return f},def["$empty?"]=function(){var e=this;return 0===e.length},def["$end_with?"]=function(e){var o=this;e=$slice.call(arguments,0);for(var f=0,n=e.length;n>f;f++){var d=$scope.Opal.$coerce_to(e[f],$scope.String,"to_str").$to_s();if(o.length>=d.length&&o.substr(o.length-d.length,d.length)==d)return!0}return!1},$opal.defn(self,"$eql?",def["$=="]),$opal.defn(self,"$equal?",def["$==="]),def.$gsub=TMP_4=function(e,o){var f,n,d=this,i=TMP_4._p,t=i||nil;TMP_4._p=null,(f=(n=$scope.String["$==="](e))!==!1&&n!==nil?n:e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f||(e=new RegExp(""+$scope.Regexp.$escape(e.$to_str()))),((f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f)&&d.$raise($scope.TypeError,"wrong argument type "+e.$class()+" (expected Regexp)");var e=e.toString(),l=e.substr(e.lastIndexOf("/")+1)+"g",u=e.substr(1,e.lastIndexOf("/")-1);return d.$sub._p=t,d.$sub(new RegExp(u,l),o)},def.$hash=function(){var e=this;return e.toString()},def.$hex=function(){var e=this;return e.$to_i(16)},def["$include?"]=function(e){var o,f=this;return e._isString?-1!==f.indexOf(e):(((o=e["$respond_to?"]("to_str"))===nil||o._isBoolean&&1!=o)&&f.$raise($scope.TypeError,"no implicit conversion of "+e.$class().$name()+" into String"),-1!==f.indexOf(e.$to_str()))},def.$index=function(e,o){var f,n=this,d=nil;if(null==o&&(o=nil),(f=$scope.String["$==="](e))===nil||f._isBoolean&&1!=f?(f=e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f?(f=$scope.Regexp["$==="](e)["$!"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.TypeError,"type mismatch: "+e.$class()+" given"):e=e.$to_str().$to_s():e=e.$to_s(),d=-1,o!==!1&&o!==nil){o=$scope.Opal.$coerce_to(o,$scope.Integer,"to_int");var i=n.length;if(0>o&&(o+=i),o>i)return nil;d=(f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f?n.substr(o).indexOf(e):(f=e["$=~"](n.substr(o)))!==!1&&f!==nil?f:-1,-1!==d&&(d+=o)}else d=(f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f?n.indexOf(e):(f=e["$=~"](n))!==!1&&f!==nil?f:-1;return(f=-1===d)===nil||f._isBoolean&&1!=f?d:nil},def.$inspect=function(){var e=this,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(e)?'"'+e.replace(o,function(e){var o=f[e];return"string"==typeof o?o:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},def.$intern=function(){var e=this;return e},def.$lines=function(e){var o=this;return null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),o.$each_line(e).$to_a()},def.$length=function(){var e=this;return e.length},def.$ljust=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=-1,i="";for(e-=n.length;++d<e;)i+=o;return n+i.slice(0,e)},def.$lstrip=function(){var e=this;return e.replace(/^\s*/,"")},def.$match=TMP_5=function(e,o){var f,n,d=this,i=TMP_5._p,t=i||nil;return TMP_5._p=null,(f=(n=$scope.String["$==="](e))!==!1&&n!==nil?n:e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f||(e=new RegExp(""+$scope.Regexp.$escape(e.$to_str()))),((f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f)&&d.$raise($scope.TypeError,"wrong argument type "+e.$class()+" (expected Regexp)"),(f=(n=e).$match,f._p=t.$to_proc(),f).call(n,d,o)},def.$next=function(){var e=this;if(0===e.length)return"";var o=e.substr(0,e.length-1),f=String.fromCharCode(e.charCodeAt(e.length-1)+1);return o+f},def.$ord=function(){var e=this;return e.charCodeAt(0)},def.$partition=function(e){var o=this,f=o.split(e),n=f[0].length===o.length?"":e;return[f[0],n,f.slice(1).join(e.toString())]},def.$reverse=function(){var e=this;return e.split("").reverse().join("")},def.$rindex=function(e,o){var f=this,n=null==e?Opal.NilClass:e.constructor;if(n!=String&&n!=RegExp){var d="type mismatch: "+n+" given";f.$raise($scope.TypeError.$new(d))}if(0==f.length)return 0==e.length?0:nil;var i=-1;return null!=o?(0>o&&(o=f.length+o),n==String?i=f.lastIndexOf(e,o):(i=f.substr(0,o+1).$reverse().search(e),-1!==i&&(i=o-i))):n==String?i=f.lastIndexOf(e):(i=f.$reverse().search(e),-1!==i&&(i=f.length-1-i)),-1===i?nil:i},def.$rjust=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=Math.floor(e-n.length),i=Math.floor(d/o.length),t=Array(i+1).join(o),l=d-t.length;return t+o.slice(0,l)+n},def.$rstrip=function(){var e=this;return e.replace(/\s*$/,"")},def.$scan=TMP_6=function(e){var o=this,f=TMP_6._p,n=f||nil;TMP_6._p=null,e.global?e.lastIndex=0:e=new RegExp(e.source,"g"+(e.multiline?"m":"")+(e.ignoreCase?"i":""));for(var d,i=[];null!=(d=e.exec(o));)$scope.MatchData.$new(e,d),n===nil?i.push(1==d.length?d[0]:d.slice(1)):1==d.length?n(d[0]):n.apply(o,d.slice(1));return n!==nil?o:i},$opal.defn(self,"$size",def.$length),$opal.defn(self,"$slice",def["$[]"]),def.$split=function(pattern,limit){var self=this,$a;null==$gvars[";"]&&($gvars[";"]=nil),null==pattern&&(pattern=($a=$gvars[";"])!==!1&&$a!==nil?$a:" "),(pattern===nil||void 0===pattern)&&(pattern=$gvars[";"]);var result=[];if(void 0!==limit&&(limit=$scope.Opal["$coerce_to!"](limit,$scope.Integer,"to_int")),0===self.length)return[];if(1===limit)return[self];if(pattern&&pattern._isRegexp){var pattern_str=pattern.toString(),blank_pattern="/^/"==pattern_str.substr(0,3)||"/(?:)/"==pattern_str.substr(0,6);if(void 0===limit||0===limit)result=self.split(blank_pattern?/(?:)/:pattern);else{pattern.global||(pattern=eval(pattern_str+"g"));var match_data,prev_index=0;for(pattern.lastIndex=0;null!==(match_data=pattern.exec(self));){var segment=self.slice(prev_index,match_data.index);if(result.push(segment),prev_index=pattern.lastIndex,0===match_data[0].length){blank_pattern&&(pattern=/(?:)/),result=self.split(pattern),void 0!==limit&&0>limit&&blank_pattern&&result.push(""),prev_index=void 0;break}if(void 0!==limit&&limit>1&&result.length+1==limit)break}void 0!==prev_index&&result.push(self.slice(prev_index,self.length))}}else{var splitted=0,start=0,lim=0;pattern=pattern===nil||void 0===pattern?" ":$scope.Opal.$try_convert(pattern,$scope.String,"to_str").$to_s();for(var string=" "==pattern?self.replace(/[\r\n\t\v]\s+/g," "):self,cursor=-1;(cursor=string.indexOf(pattern,start))>-1&&cursor<string.length&&splitted+1!==limit;)" "!=pattern||cursor!=start?(result.push(string.substr(start,pattern.length?cursor-start:1)),splitted++,start=cursor+(pattern.length?pattern.length:1)):start=cursor+1;string.length>0&&(0>limit||string.length>start)&&result.push(string.length==start?"":string.substr(start,string.length))}if(void 0===limit||0===limit)for(;""===result[result.length-1];)result.length=result.length-1;if(limit>0){var tail=result.slice(limit-1).join("");result.splice(limit-1,result.length-1,tail)}return result},def.$squeeze=function(e){var o=this;if(e=$slice.call(arguments,0),0===e.length)return o.replace(/(.)\1+/g,"$1");for(var f=$scope.Opal.$coerce_to(e[0],$scope.String,"to_str").$chars(),n=1,d=e.length;d>n;n++)f=f["$&"]($scope.Opal.$coerce_to(e[n],$scope.String,"to_str").$chars());return 0===f.length?o:o.replace(new RegExp("(["+$scope.Regexp.$escape(f.$join())+"])\\1+","g"),"$1")},def["$start_with?"]=function(e){var o=this;e=$slice.call(arguments,0);for(var f=0,n=e.length;n>f;f++){var d=$scope.Opal.$coerce_to(e[f],$scope.String,"to_str").$to_s();if(0===o.indexOf(d))return!0}return!1},def.$strip=function(){var e=this;return e.replace(/^\s*/,"").replace(/\s*$/,"")},def.$sub=TMP_7=function(e,o){var f=this,n=TMP_7._p,d=n||nil;return TMP_7._p=null,"string"==typeof o?(o=o.replace(/\\([1-9])/g,"$$$1"),f.replace(e,o)):d!==nil?f.replace(e,function(){for(var e=[],o=0,f=arguments.length;f>o;o++){var n=arguments[o];e.push(void 0==n?nil:n)}return e.pop(),e.pop(),e.length,$gvars["&"]=e[0],$gvars["~"]=e,d(e[0])}):void 0!==o?o["$is_a?"]($scope.Hash)?f.replace(e,function(){var e=o["$[]"](f.$str());return null==e?nil:f.$value().$to_s()}):(o=$scope.String.$try_convert(o),null==o&&f.$raise($scope.TypeError,"can't convert "+o.$class()+" into String"),f.replace(e,o)):(o=o.toString().replace(/\\([1-9])/g,"$$$1"),f.replace(e,o))},$opal.defn(self,"$succ",def.$next),def.$sum=function(e){var o=this;null==e&&(e=16);for(var f=0,n=0,d=o.length;d>n;n++)f+=o.charCodeAt(n)%((1<<e)-1);return f},def.$swapcase=function(){var e=this,o=e.replace(/([a-z]+)|([A-Z]+)/g,function(e,o){return o?e.toUpperCase():e.toLowerCase()});return e.constructor===String?o:e.$class().$new(o)},def.$to_f=function(){var e=this;if("_"===e.charAt(0))return 0;var o=parseFloat(e.replace(/_/g,""));return isNaN(o)||1/0==o||o==-1/0?0:o},def.$to_i=function(e){var o=this;null==e&&(e=10);var f=parseInt(o,e);return isNaN(f)?0:f},def.$to_proc=function(){var e,o,f,n=this;return(e=(o=n).$proc,e._p=(f=function(e,o){var n,d=f._s||this;return null==e&&(e=nil),o=$slice.call(arguments,1),(n=e).$send.apply(n,[d].concat(o))},f._s=n,f),e).call(o)},def.$to_s=function(){var e=this;return e.toString()},$opal.defn(self,"$to_str",def.$to_s),$opal.defn(self,"$to_sym",def.$intern),def.$tr=function(e,o){var f=this;if(0==e.length||e===o)return f;var n={},d=e.split(""),i=d.length,t=o.split(""),l=t.length,u=!1,s=null;"^"===d[0]&&(u=!0,d.shift(),s=t[l-1],i-=1);for(var p=[],r=null,y=!1,a=0;i>a;a++){var c=d[a];if(null==r)r=c,p.push(c);else if("-"===c)"-"===r?(p.push("-"),p.push("-")):a==i-1?p.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)p.push(String.fromCharCode(g));p.push(c),y=null,r=null}else p.push(c)}if(d=p,i=d.length,u)for(var a=0;i>a;a++)n[d[a]]=!0;else{if(l>0){for(var m=[],x=null,y=!1,a=0;l>a;a++){var c=t[a];if(null==r)r=c,m.push(c);else if("-"===c)"-"===x?(m.push("-"),m.push("-")):a==l-1?m.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)m.push(String.fromCharCode(g));m.push(c),y=null,r=null}else m.push(c)}t=m,l=t.length}var j=i-l;if(j>0)for(var k=l>0?t[l-1]:"",a=0;j>a;a++)t.push(k);for(var a=0;i>a;a++)n[d[a]]=t[a]}for(var v="",a=0,P=f.length;P>a;a++){var c=f.charAt(a),h=n[c];v+=u?null==h?s:c:null!=h?h:c}return v},def.$tr_s=function(e,o){var f=this;if(0==e.length)return f;var n={},d=e.split(""),i=d.length,t=o.split(""),l=t.length,u=!1,s=null;"^"===d[0]&&(u=!0,d.shift(),s=t[l-1],i-=1);for(var p=[],r=null,y=!1,a=0;i>a;a++){var c=d[a];if(null==r)r=c,p.push(c);else if("-"===c)"-"===r?(p.push("-"),p.push("-")):a==i-1?p.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)p.push(String.fromCharCode(g));p.push(c),y=null,r=null}else p.push(c)}if(d=p,i=d.length,u)for(var a=0;i>a;a++)n[d[a]]=!0;else{if(l>0){for(var m=[],x=null,y=!1,a=0;l>a;a++){var c=t[a];if(null==r)r=c,m.push(c);else if("-"===c)"-"===x?(m.push("-"),m.push("-")):a==l-1?m.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)m.push(String.fromCharCode(g));m.push(c),y=null,r=null}else m.push(c)}t=m,l=t.length}var j=i-l;if(j>0)for(var k=l>0?t[l-1]:"",a=0;j>a;a++)t.push(k);for(var a=0;i>a;a++)n[d[a]]=t[a]}for(var v="",P=null,a=0,h=f.length;h>a;a++){var c=f.charAt(a),q=n[c];u?null==q?null==P&&(v+=s,P=!0):(v+=c,P=null):null!=q?(null==P||P!==q)&&(v+=q,P=q):(v+=c,P=null)}return v},def.$upcase=function(){var e=this;return e.toUpperCase()},def.$freeze=function(){var e=this;return e},def["$frozen?"]=function(){return!0},nil&&"frozen?"}(self,null),$opal.cdecl($scope,"Symbol",$scope.String)}(Opal),function(e){var o,f,n,d,i,t,l,u=e.top,s=e,p=e.nil,r=e.breaker,y=(e.slice,e.klass),a=e.hash2;return function(o,f){function n(){}var d,i=n=y(o,f,"Encoding",n),t=i._proto,l=i._scope;return t.ascii=t.dummy=t.name=p,e.defs(i,"$register",d=function(e,o){var f,n,i,t,u=this,s=d._p,r=s||p,y=p,c=p;return null==o&&(o=a([],{})),d._p=null,y=[e]["$+"]((f=o["$[]"]("aliases"))!==!1&&f!==p?f:[]),c=(f=(n=l.Class).$new,f._p=r.$to_proc(),f).call(n,u).$new(e,y,(f=o["$[]"]("ascii"))!==!1&&f!==p?f:!1,(f=o["$[]"]("dummy"))!==!1&&f!==p?f:!1),(f=(i=y).$each,f._p=(t=function(e){var o=t._s||this;return null==e&&(e=p),o.$const_set(e.$sub("-","_"),c)},t._s=u,t),f).call(i)}),e.defs(i,"$find",function(o){try{var f,n,d,i=this;return(f=i["$==="](o))===p||f._isBoolean&&1!=f?((f=(n=i.$constants()).$each,f._p=(d=function(f){var n,i,t=d._s||this,l=p;return null==f&&(f=p),l=t.$const_get(f),(n=(i=l.$name()["$=="](o))!==!1&&i!==p?i:l.$names()["$include?"](o))===p||n._isBoolean&&1!=n?p:void e.$return(l)},d._s=i,d),f).call(n),i.$raise(l.ArgumentError,"unknown encoding name - "+o)):o}catch(t){if(t===e.returner)return t.$v;throw t}}),function(e){return e._scope,e._proto,e.$attr_accessor("default_external")}(i.$singleton_class()),i.$attr_reader("name","names"),t.$initialize=function(e,o,f,n){var d=this;return d.name=e,d.names=o,d.ascii=f,d.dummy=n},t["$ascii_compatible?"]=function(){var e=this;return e.ascii},t["$dummy?"]=function(){var e=this;return e.dummy},t.$to_s=function(){var e=this;return e.name},t.$inspect=function(){var e,o=this;return"#<Encoding:"+o.name+function(){return(e=o.dummy)===p||e._isBoolean&&1!=e?p:" (dummy)"}()+">"},t.$each_byte=function(){var e=this;return e.$raise(l.NotImplementedError)},t.$getbyte=function(){var e=this;return e.$raise(l.NotImplementedError)},t.$bytesize=function(){var e=this;return e.$raise(l.NotImplementedError)},p&&"bytesize"}(u,null),(o=(f=s.Encoding).$register,o._p=(n=function(){var o,f=n._s||this;return e.defn(f,"$each_byte",o=function(f){var n,d=o._p,i=d||p;o._p=null;for(var t=0,l=f.length;l>t;t++){var u=f.charCodeAt(t);if(127>=u)(n=e.$yield1(i,u))===r?r.$v:n;else for(var s=encodeURIComponent(f.charAt(t)).substr(1).split("%"),y=0,a=s.length;a>y;y++)(n=e.$yield1(i,parseInt(s[y],16)))===r?r.$v:n}}),e.defn(f,"$bytesize",function(){var e=this;return e.$bytes().$length()}),p&&"bytesize"},n._s=u,n),o).call(f,"UTF-8",a(["aliases","ascii"],{aliases:["CP65001"],ascii:!0})),(o=(d=s.Encoding).$register,o._p=(i=function(){var o,f=i._s||this;return e.defn(f,"$each_byte",o=function(f){var n,d=o._p,i=d||p;o._p=null;for(var t=0,l=f.length;l>t;t++){var u=f.charCodeAt(t);(n=e.$yield1(i,255&u))===r?r.$v:n,(n=e.$yield1(i,u>>8))===r?r.$v:n}}),e.defn(f,"$bytesize",function(){var e=this;return e.$bytes().$length()}),p&&"bytesize"},i._s=u,i),o).call(d,"UTF-16LE"),(o=(t=s.Encoding).$register,o._p=(l=function(){var o,f=l._s||this;return e.defn(f,"$each_byte",o=function(f){var n,d=o._p,i=d||p;o._p=null;for(var t=0,l=f.length;l>t;t++)(n=e.$yield1(i,255&f.charCodeAt(t)))===r?r.$v:n}),e.defn(f,"$bytesize",function(){var e=this;return e.$bytes().$length()}),p&&"bytesize"},l._s=u,l),o).call(t,"ASCII-8BIT",a(["aliases","ascii"],{aliases:["BINARY"],ascii:!0})),function(e,o){function f(){}var n,d=f=y(e,o,"String",f),i=d._proto,t=d._scope;return i.encoding=p,i.encoding=t.Encoding._scope.UTF_16LE,i.$bytes=function(){var e=this;return e.$each_byte().$to_a()},i.$bytesize=function(){var e=this;return e.encoding.$bytesize(e)},i.$each_byte=n=function(){var e,o,f=this,d=n._p,i=d||p;return n._p=null,i===p?f.$enum_for("each_byte"):((e=(o=f.encoding).$each_byte,e._p=i.$to_proc(),e).call(o,f),f)},i.$encoding=function(){var e=this;return e.encoding},i.$force_encoding=function(e){var o=this;if(e=t.Encoding.$find(e),e["$=="](o.encoding))return o;var f=new String(o);return f.encoding=e,f},i.$getbyte=function(e){var o=this;return o.encoding.$getbyte(o,e)},p&&"getbyte"}(u,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.klass);return function(o,d){function i(){}var t=i=n(o,d,"StringScanner",i),l=t._proto;return t._scope,l.pos=l.string=l.working=l.prev_pos=l.matched=l.match=f,t.$attr_reader("pos"),t.$attr_reader("matched"),l.$initialize=function(e){var o=this;return o.string=e,o.pos=0,o.matched=f,o.working=e,o.match=[]},l["$bol?"]=function(){var e=this;return 0===e.pos||"\n"===e.string.charAt(e.pos-1)},l.$scan=function(e){var o=this,e=new RegExp("^"+e.toString().substring(1,e.toString().length-1)),n=e.exec(o.working);return null==n?o.matched=f:"object"==typeof n?(o.prev_pos=o.pos,o.pos+=n[0].length,o.working=o.working.substring(n[0].length),o.matched=n[0],o.match=n,n[0]):"string"==typeof n?(o.pos+=n.length,o.working=o.working.substring(n.length),n):f},l["$[]"]=function(e){var o=this,n=o.match;return 0>e&&(e+=n.length),0>e||e>=n.length?f:n[e]},l.$check=function(e){var o=this,n=new RegExp("^"+e.toString().substring(1,e.toString().length-1)),d=n.exec(o.working);return o.matched=null==d?f:d[0]},l.$peek=function(e){var o=this;return o.working.substring(0,e)},l["$eos?"]=function(){var e=this;return 0===e.working.length},l.$skip=function(e){var o=this;e=new RegExp("^"+e.source);var n=e.exec(o.working);if(null==n)return o.matched=f;var d=n[0],i=d.length;return o.matched=d,o.prev_pos=o.pos,o.pos+=i,o.working=o.working.substring(i),i},l.$get_byte=function(){var e=this,o=f;return e.pos<e.string.length?(e.prev_pos=e.pos,e.pos+=1,o=e.matched=e.working.substring(0,1),e.working=e.working.substring(1)):e.matched=f,o},e.defn(t,"$getch",l.$get_byte),l["$pos="]=function(e){var o=this;return 0>e&&(e+=o.string.$length()),o.pos=e,o.working=o.string.slice(e)},l.$rest=function(){var e=this;return e.working},l.$terminate=function(){var e=this;return e.match=f,e["$pos="](e.string.$length())},l.$unscan=function(){var e=this;return e.pos=e.prev_pos,e.prev_pos=f,e.match=f,e},f&&"unscan"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module);return function(o){var d=n(o,"Comparable"),i=d._proto,t=d._scope;i["$=="]=function(o){var n,d=this,i=f;try{return(n=d["$equal?"](o))===f||n._isBoolean&&1!=n?(n=i=d["$<=>"](o))===f||n._isBoolean&&1!=n?!1:0==i:!0}catch(l){if(e.$rescue(l,[t.StandardError]))return!1;throw l}},i["$>"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),d>0},i["$>="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),d>=0},i["$<"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),0>d},i["$<="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),0>=d},e.donate(d,["$==","$>","$>=","$<","$<="])}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.klass);return function(o,d){function i(){}var t=i=n(o,d,"Dir",i),l=(t._proto,t._scope);return e.defs(t,"$pwd",function(){var e;return(e=l.ENV["$[]"]("PWD"))!==!1&&e!==f?e:".";
  }),e.defs(t,"$getwd",function(){var e;return(e=l.ENV["$[]"]("PWD"))!==!1&&e!==f?e:"."}),e.defs(t,"$home",function(){return l.ENV["$[]"]("HOME")}),f&&"home"}(o,null)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass);return function(e,o){function f(){}var i=f=d(e,o,"SecurityError",f);return i._proto,i._scope,n}(o,f.Exception)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass,t=e.gvars,l=e.range;return function(o,t){function l(){}var u,s=l=i(o,t,"Kernel",l),p=s._proto,r=s._scope;return p.$open=u=function(o,i){var t,l,s=u._p,p=s||f,y=f;return i=d.call(arguments,1),u._p=null,y=(t=r.File).$new.apply(t,[o].concat(i)),p!==f?(l=e.$yield1(p,y),l===n?l:l):y},f&&"open"}(o,null),function(o,u){function s(){}var p,r=s=i(o,u,"File",s),y=r._proto,a=r._scope;return y.eof=y.path=f,e.cdecl(a,"SEPARATOR","/"),e.cdecl(a,"ALT_SEPARATOR",f),r.$attr_reader("eof"),r.$attr_reader("lineno"),r.$attr_reader("path"),y.$initialize=function(e,o){var n=this;return null==o&&(o="r"),n.path=e,n.contents=f,n.eof=!1,n.lineno=0},y.$read=function(){var e,o=this,n=f;return(e=o.eof)===f||e._isBoolean&&1!=e?(n=a.File.$read(o.path),o.eof=!0,o.lineno=n.$size(),n):""},y.$each_line=p=function(o){var d,i=this,l=p._p,u=l||f,s=f;if(null==t["/"]&&(t["/"]=f),null==o&&(o=t["/"]),p._p=null,(d=i.eof)!==f&&(!d._isBoolean||1==d))return function(){return u!==f?i:[].$to_enum()}();if(u!==f){s=a.File.$read(i.path),i.eof=!1,i.lineno=0;for(var r=s.$chomp(),y=s.length!=r.length,c=r.split(o),b=0,w=c.length;w>b;b++)i.lineno+=1,w-1>b||y?(d=e.$yield1(u,c[b]+o))===n?n.$v:d:(d=e.$yield1(u,c[b]))===n?n.$v:d;return i.eof=!0,i}return i.$read().$each_line()},e.defs(r,"$expand_path",function(e){return e}),e.defs(r,"$join",function(e){return e=d.call(arguments,0),e["$*"](a.SEPARATOR)}),e.defs(r,"$basename",function(e){var o,n=f;return(o=n=e.$rindex(a.SEPARATOR))===f||o._isBoolean&&1!=o?e:e["$[]"](l(n["$+"](1),-1,!1))}),e.defs(r,"$dirname",function(e){var o,n=f;return(o=n=e.$rindex(a.SEPARATOR))===f||o._isBoolean&&1!=o?".":e["$[]"](l(0,n["$-"](1),!1))}),e.defs(r,"$extname",function(e){var o,n=f;return(o=e["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?(n=e["$[]"](l(1,-1,!1)).$rindex("."),(o=n["$nil?"]())===f||o._isBoolean&&1!=o?e["$[]"](l(n["$+"](1),-1,!1)):""):""}),e.defs(r,"$file?",function(){return!0}),e.defs(r,"$read",function(e){var o=f;return function(){if(o=a.JAVASCRIPT_PLATFORM,"node"["$==="](o))return require("fs").readFileSync(e,"utf8");if("java-nashorn"["$==="](o)){var f=Java.type("java.nio.file.Paths"),n=Java.type("java.nio.file.Files"),d=n.readAllLines(f.get(e),Java.type("java.nio.charset.StandardCharsets").UTF_8),i=[];return d.forEach(function(e){i.push(e)}),i.join("\n")}if("browser"["$==="](o)){var i="",t=-1;try{var l=new XMLHttpRequest;l.open("GET",e,!1),l.addEventListener("load",function(){t=this.status,(0==t||200==t)&&(i=this.responseText)}),l.overrideMimeType("text/plain"),l.send()}catch(u){t=0}if(404==t||0==t&&""==i)throw a.IOError.$new("No such file or directory: "+e);return i}return"standalone"["$==="](o)?read(e):""}()}),f&&"read"}(o,null)}(Opal),function(e){var o,f=(e.top,e);return e.nil,e.breaker,e.slice,o="undefined"!=typeof module&&module.exports?"node":"undefined"!=typeof XMLHttpRequest?"browser":"undefined"!=typeof Java&&Java.type?"java-nashorn":"undefined"!=typeof java?"java-rhino":"standalone",e.cdecl(f,"JAVASCRIPT_PLATFORM",o),!0}(Opal),function(e){var o=e.top,f=(e.nil,e.breaker,e.slice,e.module);return function(o){var n=f(o,"Asciidoctor"),d=(n._proto,n._scope);e.cdecl(d,"VERSION","1.5.2")}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2,t=e.gvars;return function(o){var l=n(o,"Asciidoctor");l._proto,l._scope,!function(o,n){function l(){}var u=l=d(o,n,"Timings",l),s=u._proto;return u._scope,s.timers=s.log=f,s.$initialize=function(){var e=this;return e.log=i([],{}),e.timers=i([],{})},s.$start=function(o){var f,n=this;return n.timers["$[]="](o,(null==(f=e.Object._scope.Time)?e.cm("Time"):f).$now())},s.$record=function(o){var f,n=this;return n.log["$[]="](o,(null==(f=e.Object._scope.Time)?e.cm("Time"):f).$now()["$-"](n.timers.$delete(o)))},s.$read_parse=function(){var e,o=this,n=f;return(n=((e=o.log["$[]"]("read"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("parse"))!==!1&&e!==f?e:0))["$>"](0)?n:f},s.$convert=function(){var e,o=this;return(e=o.log["$[]"]("convert"))!==!1&&e!==f?e:0},s.$read_parse_convert=function(){var e,o=this,n=f;return(n=((e=o.log["$[]"]("read"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("parse"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("convert"))!==!1&&e!==f?e:0))["$>"](0)?n:f},s.$total=function(){var e,o=this,n=f;return(n=((e=o.log["$[]"]("read"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("parse"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("convert"))!==!1&&e!==f?e:0)["$+"]((e=o.log["$[]"]("write"))!==!1&&e!==f?e:0))["$>"](0)?n:f},s.$print_report=function(e,o){var n=this;return null==t.stdout&&(t.stdout=f),null==e&&(e=t.stdout),null==o&&(o=f),o!==!1&&o!==f&&e.$puts("Input file: "+o),e.$puts("  Time to read and parse source: "+"%05.5f"["$%"](n.$read_parse().$to_i())),e.$puts("  Time to convert document: "+"%05.5f"["$%"](n.$convert().$to_i())),e.$puts("  Total time (read, parse and convert): "+"%05.5f"["$%"](n.$read_parse_convert().$to_i()))},f&&"print_report"}(l,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.klass);return function(o,d){function i(){}var t,l=i=n(o,d,"NilClass",i),u=l._proto;return l._scope,(t=l["$respond_to?"]("nil_or_empty?"))===f||t._isBoolean&&1!=t?e.defn(l,"$nil_or_empty?",u["$nil?"]):f}(o,null),function(o,d){function i(){}var t,l=i=n(o,d,"String",i),u=l._proto;return l._scope,(t=l["$respond_to?"]("nil_or_empty?"))===f||t._isBoolean&&1!=t?e.defn(l,"$nil_or_empty?",u["$empty?"]):f}(o,null),function(o,d){function i(){}var t,l=i=n(o,d,"Array",i),u=l._proto;return l._scope,(t=l["$respond_to?"]("nil_or_empty?"))===f||t._isBoolean&&1!=t?e.defn(l,"$nil_or_empty?",u["$empty?"]):f}(o,null),function(o,d){function i(){}var t,l=i=n(o,d,"Hash",i),u=l._proto;return l._scope,(t=l["$respond_to?"]("nil_or_empty?"))===f||t._isBoolean&&1!=t?e.defn(l,"$nil_or_empty?",u["$empty?"]):f}(o,null),function(o,d){function i(){}var t,l=i=n(o,d,"Numeric",i),u=l._proto;return l._scope,(t=l["$respond_to?"]("nil_or_empty?"))===f||t._isBoolean&&1!=t?e.defn(l,"$nil_or_empty?",u["$nil?"]):f}(o,null)}(Opal),function(e){var o=(e.top,e),f=e.nil;return e.breaker,e.slice,o.RUBY_ENGINE["$=="]("opal")?f:void 0}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.range,i=e.gvars;return function(o){var t=n(o,"Asciidoctor");t._proto,t._scope,!function(o){var t=n(o,"Helpers"),l=(t._proto,t._scope);e.defs(t,"$require_library",function(o,n){var d,i=this,t=f;null==n&&(n=!0);try{return!0}catch(l){if(e.$rescue(l,[null==(d=e.Object._scope.LoadError)?e.cm("LoadError"):d]))return t=l,i.$fail(n!==!1&&n!==f?"asciidoctor: FAILED: required gem '"+function(){return n["$=="](!0)?o:n}()+"' is not installed. Processing aborted.":"asciidoctor: FAILED: "+t.$message().$chomp(".")+". Processing aborted.");throw l}}),e.defs(t,"$normalize_lines",function(o){var f,n=this;return o.$class()["$=="](null==(f=e.Object._scope.String)?e.cm("String"):f)?n.$normalize_lines_from_string(o):n.$normalize_lines_array(o)}),e.defs(t,"$normalize_lines_array",function(o){var n,i,t,u,s,p,r,y,a,c=this,b=f,w=f,g=f,m=f;return(n=o["$empty?"]())===f||n._isBoolean&&1!=n?(b=(w=o["$[]"](0))["$[]"](d(0,2,!1)).$bytes().$to_a(),(n=l.COERCE_ENCODING)===f||n._isBoolean&&1!=n?(b["$=="](l.BOM_BYTES_UTF_8)&&o["$[]="](0,w["$[]"](d(3,-1,!1))),(n=(y=o).$map,n._p=(a=function(e){return a._s||this,null==e&&(e=f),e.$rstrip()},a._s=c,a),n).call(y)):(g=(null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_8,(m=b["$[]"](d(0,1,!1)))["$=="](l.BOM_BYTES_UTF_16LE)?(n=(i=o.$join().$force_encoding((null==(u=e.Object._scope.Encoding)?e.cm("Encoding"):u)._scope.UTF_16LE)["$[]"](d(1,-1,!1)).$encode(g).$lines()).$map,n._p=(t=function(e){return t._s||this,null==e&&(e=f),e.$rstrip()},t._s=c,t),n).call(i):m["$=="](l.BOM_BYTES_UTF_16BE)?(o["$[]="](0,w.$force_encoding((null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_16BE)["$[]"](d(1,-1,!1))),(n=(u=o).$map,n._p=(s=function(o){var n;return s._s||this,null==o&&(o=f),""+o.$force_encoding((null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_16BE).$encode(g).$rstrip()},s._s=c,s),n).call(u)):(b["$[]"](d(0,2,!1))["$=="](l.BOM_BYTES_UTF_8)&&o["$[]="](0,w.$force_encoding(g)["$[]"](d(1,-1,!1))),(n=(p=o).$map,n._p=(r=function(e){return r._s||this,null==e&&(e=f),e.$encoding()["$=="](g)?e.$rstrip():e.$force_encoding(g).$rstrip()},r._s=c,r),n).call(p)))):[]}),e.defs(t,"$normalize_lines_from_string",function(o){var n,i,t,u=this,s=f,p=f,r=f;return(n=o["$nil_or_empty?"]())===f||n._isBoolean&&1!=n?((n=l.COERCE_ENCODING)===f||n._isBoolean&&1!=n?o["$[]"](d(0,2,!1)).$bytes().$to_a()["$=="](l.BOM_BYTES_UTF_8)&&(o=o["$[]"](d(3,-1,!1))):(s=(null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_8,p=o["$[]"](d(0,2,!1)).$bytes().$to_a(),(r=p["$[]"](d(0,1,!1)))["$=="](l.BOM_BYTES_UTF_16LE)?o=o.$force_encoding((null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_16LE)["$[]"](d(1,-1,!1)).$encode(s):r["$=="](l.BOM_BYTES_UTF_16BE)?o=o.$force_encoding((null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_16BE)["$[]"](d(1,-1,!1)).$encode(s):p["$[]"](d(0,2,!1))["$=="](l.BOM_BYTES_UTF_8)?o=function(){return o.$encoding()["$=="](s)?o["$[]"](d(1,-1,!1)):o.$force_encoding(s)["$[]"](d(1,-1,!1))}():o.$encoding()["$=="](s)||(o=o.$force_encoding(s))),(n=(i=o.$each_line()).$map,n._p=(t=function(e){return t._s||this,null==e&&(e=f),e.$rstrip()},t._s=u,t),n).call(i)):[]}),e.cdecl(l,"REGEXP_ENCODE_URI_CHARS",/[^\w\-.!~*';:@=+$,()\[\]]/),e.defs(t,"$encode_uri",function(e){var o,n,d,t=this;return(o=(n=e).$gsub,o._p=(d=function(){var e,o,n,t=d._s||this;return null==i["&"]&&(i["&"]=f),(e=(o=i["&"].$each_byte()).$map,e._p=(n=function(e){var o=n._s||this;return null==e&&(e=f),o.$sprintf("%%%02X",e)},n._s=t,n),e).call(o).$join()},d._s=t,d),o).call(n,l.REGEXP_ENCODE_URI_CHARS)}),e.defs(t,"$rootname",function(o){var n,i,t=f;return(n=(t=(null==(i=e.Object._scope.File)?e.cm("File"):i).$extname(o))["$empty?"]())===f||n._isBoolean&&1!=n?o["$[]"](d(0,t.$length()["$-@"](),!0)):o}),e.defs(t,"$mkdir_p",function(o){var n,d,i,t=this,l=f;return(n=(null==(d=e.Object._scope.File)?e.cm("File"):d)["$directory?"](o))===f||n._isBoolean&&1!=n?(l=(null==(n=e.Object._scope.File)?e.cm("File"):n).$dirname(o),d=(null==(i=e.Object._scope.File)?e.cm("File"):i)["$directory?"](l=(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(o))["$!"](),(n=d!==!1&&d!==f?l["$=="](".")["$!"]():d)===f||n._isBoolean&&1!=n||t.$mkdir_p(l),(null==(n=e.Object._scope.Dir)?e.cm("Dir"):n).$mkdir(o)):f})}(t)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module,t=e.hash2,l=e.gvars,u=e.range;return function(o){var s=i(o,"Asciidoctor");s._proto,s._scope,!function(o){var s=i(o,"Substitutors"),p=s._proto,r=s._scope;e.cdecl(r,"SPECIAL_CHARS",t(["&","<",">"],{"&":"&amp;","<":"&lt;",">":"&gt;"})),e.cdecl(r,"SPECIAL_CHARS_PATTERN",new RegExp("["+r.SPECIAL_CHARS.$keys().$join()+"]")),e.cdecl(r,"SUBS",t(["basic","normal","verbatim","title","header","pass"],{basic:["specialcharacters"],normal:["specialcharacters","quotes","attributes","replacements","macros","post_replacements"],verbatim:["specialcharacters","callouts"],title:["specialcharacters","quotes","replacements","macros","attributes","post_replacements"],header:["specialcharacters","attributes"],pass:[]})),e.cdecl(r,"COMPOSITE_SUBS",t(["none","normal","verbatim","specialchars"],{none:[],normal:r.SUBS["$[]"]("normal"),verbatim:r.SUBS["$[]"]("verbatim"),specialchars:["specialcharacters"]})),e.cdecl(r,"SUB_SYMBOLS",t(["a","m","n","p","q","r","c","v"],{a:"attributes",m:"macros",n:"normal",p:"post_replacements",q:"quotes",r:"replacements",c:"specialcharacters",v:"verbatim"})),e.cdecl(r,"SUB_OPTIONS",t(["block","inline"],{block:r.COMPOSITE_SUBS.$keys()["$+"](r.SUBS["$[]"]("normal"))["$+"](["callouts"]),inline:r.COMPOSITE_SUBS.$keys()["$+"](r.SUBS["$[]"]("normal"))})),e.cdecl(r,"SUB_HIGHLIGHT",["coderay","pygments"]),e.cdecl(r,"PASS_START",""),e.cdecl(r,"PASS_END",""),e.cdecl(r,"PASS_MATCH",/\u0096(\d+)\u0097/),e.cdecl(r,"PASS_MATCH_HI",/<span[^>]*>\u0096<\/span>[^\d]*(\d+)[^\d]*<span[^>]*>\u0097<\/span>/),s.$attr_reader("passthroughs"),p.$apply_subs=function(o,n,d){var i,t,l,u,s,p=this,y=f,a=f,c=f,b=f;return null==p.passthroughs&&(p.passthroughs=f),null==n&&(n="normal"),null==d&&(d=!1),(i=n["$!"]())===f||i._isBoolean&&1!=i?(n["$=="]("normal")?n=r.SUBS["$[]"]("normal"):d!==!1&&d!==f&&((i=n["$is_a?"](null==(t=e.Object._scope.Symbol)?e.cm("Symbol"):t))===f||i._isBoolean&&1!=i?(y=[],(i=(t=n).$each,i._p=(l=function(e){var o;return l._s||this,null==e&&(e=f),(o=r.COMPOSITE_SUBS["$has_key?"](e))===f||o._isBoolean&&1!=o?y["$<<"](e):y=y["$+"](r.COMPOSITE_SUBS["$[]"](e))},l._s=p,l),i).call(t),n=y):n=(i=r.COMPOSITE_SUBS["$[]"](n))!==!1&&i!==f?i:[n]),(i=n["$empty?"]())===f||i._isBoolean&&1!=i?(a=function(){return(i=c=o["$is_a?"](null==(u=e.Object._scope.Array)?e.cm("Array"):u))===f||i._isBoolean&&1!=i?o:o["$*"](r.EOL)}(),(i=b=n["$include?"]("macros"))===f||i._isBoolean&&1!=i||(a=p.$extract_passthroughs(a),(i=p.passthroughs["$empty?"]())===f||i._isBoolean&&1!=i||(b=!1)),(i=(u=n).$each,i._p=(s=function(e){var o,d=s._s||this,i=f;return null==e&&(e=f),function(){return i=e,"specialcharacters"["$==="](i)?a=d.$sub_specialcharacters(a):"quotes"["$==="](i)?a=d.$sub_quotes(a):"attributes"["$==="](i)?a=d.$sub_attributes(a.$split(r.EOL))["$*"](r.EOL):"replacements"["$==="](i)?a=d.$sub_replacements(a):"macros"["$==="](i)?a=d.$sub_macros(a):"highlight"["$==="](i)?a=d.$highlight_source(a,n["$include?"]("callouts")):"callouts"["$==="](i)?(o=n["$include?"]("highlight"))===f||o._isBoolean&&1!=o?a=d.$sub_callouts(a):f:"post_replacements"["$==="](i)?a=d.$sub_post_replacements(a):d.$warn("asciidoctor: WARNING: unknown substitution type "+e)}()},s._s=p,s),i).call(u),b!==!1&&b!==f&&(a=p.$restore_passthroughs(a)),c!==!1&&c!==f?a.$split(r.EOL):a):o):o},p.$apply_normal_subs=function(o){var n,d,i=this;return i.$apply_subs(function(){return(n=o["$is_a?"](null==(d=e.Object._scope.Array)?e.cm("Array"):d))===f||n._isBoolean&&1!=n?o:o["$*"](r.EOL)}())},p.$apply_title_subs=function(e){var o=this;return o.$apply_subs(e,r.SUBS["$[]"]("title"))},p.$apply_header_subs=function(e){var o=this;return o.$apply_subs(e,r.SUBS["$[]"]("header"))},p.$extract_passthroughs=function(o){var n,d,i,s,p,y,a,c,b=this,w=f,g=f,m=f,x=f;return null==b.document&&(b.document=f),w=b.document.$compat_mode(),(n=(d=(i=o["$include?"]("++"))!==!1&&i!==f?i:o["$include?"]("$$"))!==!1&&d!==f?d:o["$include?"]("ss:"))===f||n._isBoolean&&1!=n||(o=(n=(d=o).$gsub,n._p=(s=function(){var o,n,d=s._s||this,i=f,p=f,y=f,a=f,c=f,b=f,g=f,m=f,x=f;if(null==d.passthroughs&&(d.passthroughs=f),null==l["~"]&&(l["~"]=f),i=l["~"],p=f,(o=(y=i["$[]"](4))["$nil_or_empty?"]())===f||o._isBoolean&&1!=o){if((o=(n=w!==!1&&w!==f)?y["$=="]("++"):n)!==f&&(!o._isBoolean||1==o))return function(){return(o=i["$[]"](2)["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?""+i["$[]"](1)+"["+i["$[]"](2)+"]"+i["$[]"](3)+"++"+d.$extract_passthroughs(i["$[]"](5))+"++":""+i["$[]"](1)+i["$[]"](3)+"++"+d.$extract_passthroughs(i["$[]"](5))+"++"}();if(c=i["$[]"](2),(o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||c["$=="]("")&&(c=f),b=i["$[]"](3).$size(),g=i["$[]"](5),m=!1,c!==!1&&c!==f){if(b["$>"](0))return""+i["$[]"](1)+"["+c+"]"+"\\"["$*"](b["$-"](1))+y+i["$[]"](5)+y+")";i["$[]"](1)["$=="]("\\")?(p="["+c+"]",c=f):((o=(n=y["$=="]("++"))?c["$end_with?"]("x-"):n)===f||o._isBoolean&&1!=o||(m=!0,c=c["$[]"](u(0,-2,!0))),c=d.$parse_attributes(c))}else if(b["$>"](0))return""+i["$[]"](1)+"["+c+"]"+"\\"["$*"](b["$-"](1))+y+i["$[]"](5)+y;x=function(){return y["$=="]("+++")?[]:["specialcharacters"]}(),a=d.passthroughs.$size(),c!==!1&&c!==f?m!==!1&&m!==f?d.passthroughs["$[]="](a,t(["text","subs","type","attributes"],{text:g,subs:r.SUBS["$[]"]("normal"),type:"monospaced",attributes:c})):d.passthroughs["$[]="](a,t(["text","subs","type","attributes"],{text:g,subs:x,type:"unquoted",attributes:c})):d.passthroughs["$[]="](a,t(["text","subs"],{text:g,subs:x}))}else{if(i["$[]"](6)["$=="]("\\"))return i["$[]"](0)["$[]"](u(1,-1,!1));d.passthroughs["$[]="](a=d.passthroughs.$size(),t(["text","subs"],{text:d.$unescape_brackets(i["$[]"](8)),subs:function(){return(o=i["$[]"](7)["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?d.$resolve_pass_subs(i["$[]"](7)):[]}()}))}return""+p+r.PASS_START+a+r.PASS_END},s._s=b,s),n).call(d,r.PassInlineMacroRx)),n=e.to_ary(r.PassInlineRx["$[]"](w)),g=null==n[0]?f:n[0],m=null==n[1]?f:n[1],x=null==n[2]?f:n[2],(n=(i=o["$include?"](g))!==!1&&i!==f?i:(p=m!==!1&&m!==f)?o["$include?"](m):p)===f||n._isBoolean&&1!=n||(o=(n=(i=o).$gsub,n._p=(y=function(){var o,n,d=y._s||this,i=f,s=f,p=f,a=f,c=f,b=f,g=f,m=f,x=f;if(null==d.passthroughs&&(d.passthroughs=f),null==l["~"]&&(l["~"]=f),i=l["~"],s=i["$[]"](1),p=i["$[]"](2),a=function(){return(o=i["$[]"](3)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?f:"\\"}(),c=i["$[]"](4),b=i["$[]"](5),(o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||p["$=="]("")&&(p=f),w!==!1&&w!==f?g=!0:(o=g=(n=p!==!1&&p!==f)?p["$end_with?"]("x-"):n)===f||o._isBoolean&&1!=o||(p=p["$[]"](u(0,-2,!0))),p!==!1&&p!==f){if((o=(n=c["$=="]("`"))?g["$!"]():n)!==f&&(!o._isBoolean||1==o))return""+s+"["+p+"]"+a+"`"+d.$extract_passthroughs(b)+"`";if(a!==!1&&a!==f)return""+s+"["+p+"]"+i["$[]"](3)["$[]"](u(1,-1,!1));s["$=="]("\\")?(s="["+p+"]",p=f):p=d.$parse_attributes(p)}else{if(!((o=(n=c["$=="]("`"))?g["$!"]():n)===f||o._isBoolean&&1!=o))return""+s+a+"`"+d.$extract_passthroughs(b)+"`";if(a!==!1&&a!==f)return""+s+i["$[]"](3)["$[]"](u(1,-1,!1))}return m=d.passthroughs.$size(),w!==!1&&w!==f?d.passthroughs["$[]="](m,t(["text","subs","attributes","type"],{text:b,subs:["specialcharacters"],attributes:p,type:"monospaced"})):p!==!1&&p!==f?g!==!1&&g!==f?(x=function(){return c["$=="]("`")?["specialcharacters"]:r.SUBS["$[]"]("normal")}(),d.passthroughs["$[]="](m,t(["text","subs","attributes","type"],{text:b,subs:x,attributes:p,type:"monospaced"}))):d.passthroughs["$[]="](m,t(["text","subs","attributes","type"],{text:b,subs:["specialcharacters"],attributes:p,type:"unquoted"})):d.passthroughs["$[]="](m,t(["text","subs"],{text:b,subs:["specialcharacters"]})),""+s+r.PASS_START+m+r.PASS_END},y._s=b,y),n).call(i,x)),p=o["$include?"](":"),(n=p!==!1&&p!==f?(a=o["$include?"]("stem:"))!==!1&&a!==f?a:o["$include?"]("math:"):p)===f||n._isBoolean&&1!=n||(o=(n=(p=o).$gsub,n._p=(c=function(){var e,o=c._s||this,n=f,d=f,i=f,s=f,p=f,y=f;return null==o.document&&(o.document=f),null==o.passthroughs&&(o.passthroughs=f),null==l["~"]&&(l["~"]=f),n=l["~"],(e=n["$[]"](0)["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?((d=n["$[]"](1).$to_sym())["$=="]("stem")&&(d=function(){return(e=(i=o.$document().$attributes()["$[]"]("stem"))["$nil_or_empty?"]())===f||e._isBoolean&&1!=e?i:"asciimath"}().$to_sym()),s=o.$unescape_brackets(n["$[]"](3)),p=(e=n["$[]"](2)["$nil_or_empty?"]())===f||e._isBoolean&&1!=e?o.$resolve_pass_subs(n["$[]"](2)):function(){return(e=o.document["$basebackend?"]("html"))===f||e._isBoolean&&1!=e?[]:["specialcharacters"]}(),o.passthroughs["$[]="](y=o.passthroughs.$size(),t(["text","subs","type"],{text:s,subs:p,type:d})),""+r.PASS_START+y+r.PASS_END):n["$[]"](0)["$[]"](u(1,-1,!1))},c._s=b,c),n).call(p,r.StemInlineMacroRx)),o},p.$restore_passthroughs=function(e,o){var n,d,i,u,s=this;null==s.passthroughs&&(s.passthroughs=f),null==o&&(o=!0);try{return(n=(d=o!==!1&&o!==f)?(i=s.passthroughs["$empty?"]())!==!1&&i!==f?i:e["$include?"](r.PASS_START)["$!"]():d)===f||n._isBoolean&&1!=n?(n=(d=e).$gsub,n._p=(u=function(){var e,o=u._s||this,n=f,d=f,i=f,s=f;return null==o.passthroughs&&(o.passthroughs=f),null==l["~"]&&(l["~"]=f),n=o.passthroughs["$[]"](l["~"]["$[]"](1).$to_i()),d=function(){return(e=i=n["$[]"]("subs"))===f||e._isBoolean&&1!=e?n["$[]"]("text"):o.$apply_subs(n["$[]"]("text"),i)}(),(e=s=n["$[]"]("type"))===f||e._isBoolean&&1!=e||(d=r.Inline.$new(o,"quoted",d,t(["type","attributes"],{type:s,attributes:n["$[]"]("attributes")})).$convert()),(e=d["$include?"](r.PASS_START))===f||e._isBoolean&&1!=e?d:o.$restore_passthroughs(d,!1)},u._s=s,u),n).call(d,r.PASS_MATCH):e}finally{o!==!1&&o!==f&&s.passthroughs.$clear()}},p.$sub_specialcharacters=function(e){var o,n,d,i=this;return(o=r.SUPPORTS_GSUB_RESULT_HASH)===f||o._isBoolean&&1!=o?(o=(n=e).$gsub,o._p=(d=function(){return d._s||this,null==l["&"]&&(l["&"]=f),r.SPECIAL_CHARS["$[]"](l["&"])},d._s=i,d),o).call(n,r.SPECIAL_CHARS_PATTERN):e.$gsub(r.SPECIAL_CHARS_PATTERN,r.SPECIAL_CHARS)},e.defn(s,"$sub_specialchars",p.$sub_specialcharacters),p.$sub_quotes=function(o){var n,d,i,t,u,s=this,p=f;return null==s.document&&(s.document=f),(n=null==(d=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):d)===f||n._isBoolean&&1!=n?(p=""+o,(n=(t=r.QUOTE_SUBS["$[]"](s.document.$compat_mode())).$each,n._p=(u=function(e,o,n){var d,i,t,s=u._s||this;return null==e&&(e=f),null==o&&(o=f),null==n&&(n=f),(d=(i=p)["$gsub!"],d._p=(t=function(){var n=t._s||this;return null==l["~"]&&(l["~"]=f),n.$convert_quoted_text(l["~"],e,o)},t._s=s,t),d).call(i,n)},u._s=s,u),n).call(t)):(p=o,(n=(d=r.QUOTE_SUBS["$[]"](s.document.$compat_mode())).$each,n._p=(i=function(e,o,n){var d,t,u,s=i._s||this;return null==e&&(e=f),null==o&&(o=f),null==n&&(n=f),p=(d=(t=p).$gsub,d._p=(u=function(){var n=u._s||this;return null==l["~"]&&(l["~"]=f),n.$convert_quoted_text(l["~"],e,o)},u._s=s,u),d).call(t,n)},i._s=s,i),n).call(d)),p},p.$sub_replacements=function(o){var n,d,i,t,u,s=this,p=f;return(n=null==(d=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):d)===f||n._isBoolean&&1!=n?(p=""+o,(n=(t=r.REPLACEMENTS).$each,n._p=(u=function(e,o,n){var d,i,t,s=u._s||this;return null==e&&(e=f),null==o&&(o=f),null==n&&(n=f),(d=(i=p)["$gsub!"],d._p=(t=function(){var e=t._s||this;return null==l["~"]&&(l["~"]=f),e.$do_replacement(l["~"],o,n)},t._s=s,t),d).call(i,e)},u._s=s,u),n).call(t)):(p=o,(n=(d=r.REPLACEMENTS).$each,n._p=(i=function(e,o,n){var d,t,u,s=i._s||this;return null==e&&(e=f),null==o&&(o=f),null==n&&(n=f),p=(d=(t=p).$gsub,d._p=(u=function(){var e=u._s||this;return null==l["~"]&&(l["~"]=f),e.$do_replacement(l["~"],o,n)},u._s=s,u),d).call(t,e)},i._s=s,i),n).call(d)),p},p.$do_replacement=function(e,o,n){var d,i=f,t=f;return(d=(i=e["$[]"](0))["$include?"]("\\"))===f||d._isBoolean&&1!=d?function(){return t=n,"none"["$==="](t)?o:"leading"["$==="](t)?""+e["$[]"](1)+o:"bounding"["$==="](t)?""+e["$[]"](1)+o+e["$[]"](2):f}():i.$tr("\\","")},p.$sub_attributes=function(o,d){var i,s,p,y=this,a=f,c=f,b=f,w=f;return null==y.document&&(y.document=f),null==d&&(d=t([],{})),(i=o["$nil_or_empty?"]())===f||i._isBoolean&&1!=i?((i=a=r.String["$==="](o))===f||i._isBoolean&&1!=i||(o=[o]),c=y.document.$attributes(),b=f,w=[],(i=(s=o).$each,i._p=(p=function(o){var i,t,s,y,a,g=p._s||this,m=f,x=f;return null==o&&(o=f),m=!1,x=!1,(i=o["$include?"]("{"))===f||i._isBoolean&&1!=i||(o=(i=(t=o).$gsub,i._p=(s=function(){var o,i,t=s._s||this,p=f,y=f,a=f,w=f,g=f,j=f,k=f,v=f,P=f,h=f;return null==t.document&&(t.document=f),null==l["~"]&&(l["~"]=f),p=l["~"],(o=(i=p["$[]"](1)["$=="]("\\"))!==!1&&i!==f?i:p["$[]"](4)["$=="]("\\"))===f||o._isBoolean&&1!=o?(o=p["$[]"](3)["$nil_or_empty?"]()["$!"]())===f||o._isBoolean&&1!=o?(o=c["$key?"](h=p["$[]"](2).$downcase()))===f||o._isBoolean&&1!=o?(o=r.INTRINSIC_ATTRIBUTES["$key?"](h))===f||o._isBoolean&&1!=o?function(){return g=(o=b)!==!1&&o!==f?o:b=(i=d["$[]"]("attribute_missing"))!==!1&&i!==f?i:c.$fetch("attribute-missing",r.Compliance.$attribute_missing()),"skip"["$==="](g)?p["$[]"](0):"drop-line"["$==="](g)?(t.$warn("asciidoctor: WARNING: dropping line containing reference to missing attribute: "+h),m=!0,n.$v="",n):"warn"["$==="](g)?(t.$warn("asciidoctor: WARNING: skipping reference to missing attribute: "+h),p["$[]"](0)):(x=!0,"")}():r.INTRINSIC_ATTRIBUTES["$[]"](h):c["$[]"](h):(y=(a=p["$[]"](3)).$length()["$+"](1),w=p["$[]"](2)["$[]"](u(y,-1,!1)),function(){if(g=a,"set"["$==="](g)){if(j=w.$split(":"),o=e.to_ary(r.Parser.$store_attribute(j["$[]"](0),(i=j["$[]"](1))!==!1&&i!==f?i:"",t.document)),k=null==o[0]?f:o[0],v=null==o[1]?f:o[1],v!==!1&&v!==f);else if(c.$fetch("attribute-undefined",r.Compliance.$attribute_undefined())["$=="]("drop-line"))return m=!0,n.$v="",n;return x=!0,""}return"counter"["$==="](g)||"counter2"["$==="](g)?(j=w.$split(":"),P=t.document.$counter(j["$[]"](0),j["$[]"](1)),a["$=="]("counter2")?(x=!0,""):P):(t.$warn("asciidoctor: WARNING: illegal attribute directive: "+p["$[]"](3)),p["$[]"](0))}()):"{"+p["$[]"](2)+"}"},s._s=g,s),i).call(t,r.AttributeReferenceRx)),(i=(y=m)!==!1&&y!==f?y:(a=x!==!1&&x!==f)?o["$empty?"]():a)===f||i._isBoolean&&1!=i?w["$<<"](o):f},p._s=y,p),i).call(s),a!==!1&&a!==f?w["$*"](r.EOL):w):o},p.$sub_macros=function(o){var n,i,s,p,y,a,c,b,w,g,m,x,j,k,v,P,h,q,z,A,B,C=this,D=f,E=f,F=f,G=f,H=f,I=f;return null==C.document&&(C.document=f),(n=o["$nil_or_empty?"]())===f||n._isBoolean&&1!=n?(D=t([],{}),D["$[]="]("square_bracket",o["$include?"]("[")),D["$[]="]("round_bracket",o["$include?"]("(")),D["$[]="]("colon",E=o["$include?"](":")),D["$[]="]("macroish",(n=D["$[]"]("square_bracket"),n!==!1&&n!==f?E:n)),D["$[]="]("macroish_short_form",(i=D["$[]"]("square_bracket"),n=i!==!1&&i!==f?E:i,n!==!1&&n!==f?o["$include?"](":["):n)),F=C.document.$attributes()["$has_key?"]("linkattrs"),G=C.document.$attributes()["$has_key?"]("experimental"),H=""+o,G!==!1&&G!==f&&(i=D["$[]"]("macroish_short_form"),(n=i!==!1&&i!==f?(s=H["$include?"]("kbd:"))!==!1&&s!==f?s:H["$include?"]("btn:"):i)===f||n._isBoolean&&1!=n||(H=(n=(i=H).$gsub,n._p=(p=function(){var e,o,n,d=p._s||this,i=f,s=f,y=f,a=f;return null==l["~"]&&(l["~"]=f),i=l["~"],(e=(s=i["$[]"](0))["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(e=s["$start_with?"]("kbd"))===f||e._isBoolean&&1!=e?(e=s["$start_with?"]("btn"))===f||e._isBoolean&&1!=e?f:(a=d.$unescape_bracketed_text(i["$[]"](1)),r.Inline.$new(d,"button",a).$convert()):(y=d.$unescape_bracketed_text(i["$[]"](1)),y=y["$=="]("+")?["+"]:(e=(o=y.$split(r.KbdDelimiterRx)).$inject,e._p=(n=function(e,o){var d;return n._s||this,null==e&&(e=f),null==o&&(o=f),(d=o["$end_with?"]("++"))===f||d._isBoolean&&1!=d?e["$<<"](o.$strip()):(e["$<<"](o["$[]"](u(0,-3,!1)).$strip()),e["$<<"]("+")),e},n._s=d,n),e).call(o,[]),r.Inline.$new(d,"kbd",f,t(["attributes"],{attributes:t(["keys"],{keys:y})})).$convert()):s["$[]"](u(1,-1,!1))},p._s=C,p),n).call(i,r.KbdBtnInlineMacroRx)),s=D["$[]"]("macroish"),(n=s!==!1&&s!==f?H["$include?"]("menu:"):s)===f||n._isBoolean&&1!=n||(H=(n=(s=H).$gsub,n._p=(y=function(){var e,o,n,d=y._s||this,i=f,s=f,p=f,a=f,c=f,b=f,w=f;return null==l["~"]&&(l["~"]=f),i=l["~"],(e=(s=i["$[]"](0))["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(p=i["$[]"](1),a=i["$[]"](2),(e=a["$!"]())===f||e._isBoolean&&1!=e?(e=w=function(){return(o=a["$include?"]("&gt;"))===f||o._isBoolean&&1!=o?function(){return(o=a["$include?"](","))===f||o._isBoolean&&1!=o?f:","}():"&gt;"}())===f||e._isBoolean&&1!=e?(c=[],b=a.$rstrip()):(c=(e=(o=a.$split(w)).$map,e._p=(n=function(e){return n._s||this,null==e&&(e=f),e.$strip()},n._s=d,n),e).call(o),b=c.$pop()):(c=[],b=f),r.Inline.$new(d,"menu",f,t(["attributes"],{attributes:t(["menu","submenus","menuitem"],{menu:p,submenus:c,menuitem:b})})).$convert()):s["$[]"](u(1,-1,!1))},y._s=C,y),n).call(s,r.MenuInlineMacroRx)),a=H["$include?"]('"'),(n=a!==!1&&a!==f?H["$include?"]("&gt;"):a)===f||n._isBoolean&&1!=n||(H=(n=(a=H).$gsub,n._p=(c=function(){var o,n,i,s,p=c._s||this,y=f,a=f,b=f,w=f,g=f,m=f;return null==l["~"]&&(l["~"]=f),y=l["~"],(o=(a=y["$[]"](0))["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?(b=y["$[]"](1),o=e.to_ary((n=(i=b.$split("&gt;")).$map,n._p=(s=function(e){return s._s||this,null==e&&(e=f),e.$strip()},s._s=p,s),n).call(i)),w=null==o[0]?f:o[0],g=d.call(o,1),m=g.$pop(),r.Inline.$new(p,"menu",f,t(["attributes"],{attributes:t(["menu","submenus","menuitem"],{menu:w,submenus:g,menuitem:m})})).$convert()):a["$[]"](u(1,-1,!1))},c._s=C,c),n).call(a,r.MenuInlineRx))),b=I=C.document.$extensions(),(n=b!==!1&&b!==f?I["$inline_macros?"]():b)===f||n._isBoolean&&1!=n||(n=(b=I.$inline_macros()).$each,n._p=(w=function(e){var o,n,d,i=w._s||this;return null==e&&(e=f),H=(o=(n=H).$gsub,o._p=(d=function(){var o,n=d._s||this,i=f,s=f,p=f;return null==l["~"]&&(l["~"]=f),i=l["~"],(o=i["$[]"](0)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?(s=i["$[]"](1),p=function(){return e.$config()["$[]"]("format")["$=="]("short")?t([],{}):e.$config()["$[]"]("content_model")["$=="]("attributes")?n.$parse_attributes(i["$[]"](2),(o=e.$config()["$[]"]("pos_attrs"))!==!1&&o!==f?o:[],t(["sub_input","unescape_input"],{sub_input:!0,unescape_input:!0})):t(["text"],{text:n.$unescape_bracketed_text(i["$[]"](2))})}(),e.$process_method()["$[]"](n,s,p)):i["$[]"](0)["$[]"](u(1,-1,!1))},d._s=i,d),o).call(n,e.$config()["$[]"]("regexp"))},w._s=C,w),n).call(b),g=D["$[]"]("macroish"),(n=g!==!1&&g!==f?(m=H["$include?"]("image:"))!==!1&&m!==f?m:H["$include?"]("icon:"):g)===f||n._isBoolean&&1!=n||(H=(n=(g=H).$gsub,n._p=(x=function(){var e,o,n,d=x._s||this,i=f,s=f,p=f,y=f,a=f,c=f;return null==d.document&&(d.document=f),null==l["~"]&&(l["~"]=f),i=l["~"],(e=i["$[]"](0)["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(s=d.$unescape_bracketed_text(i["$[]"](2)),(e=i["$[]"](0)["$start_with?"]("icon:"))===f||e._isBoolean&&1!=e?(p="image",y=["alt","width","height"]):(p="icon",y=["size"]),a=d.$sub_attributes(i["$[]"](1)),p["$=="]("icon")||d.document.$register("images",a),c=d.$parse_attributes(s,y),e="alt",o=c,(n=o["$[]"](e))!==!1&&n!==f?n:o["$[]="](e,r.File.$basename(a,r.File.$extname(a))),r.Inline.$new(d,"image",f,t(["type","target","attributes"],{type:p,target:a,attributes:c})).$convert()):i["$[]"](0)["$[]"](u(1,-1,!1))},x._s=C,x),n).call(g,r.ImageInlineMacroRx)),(n=(m=D["$[]"]("macroish_short_form"))!==!1&&m!==f?m:D["$[]"]("round_bracket"))===f||n._isBoolean&&1!=n||(H=(n=(m=H).$gsub,n._p=(j=function(){var o,n,d=j._s||this,i=f,s=f,p=f,y=f,a=f,c=f;return null==d.document&&(d.document=f),null==l["~"]&&(l["~"]=f),i=l["~"],(o=i["$[]"](0)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?((o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||i["$[]"](1)["$=="]("")&&i["$[]="](1,f),s=0,p=f,((o=y=i["$[]"](1))===f||o._isBoolean&&1!=o)&&(p=i["$[]"](3),n=p["$start_with?"]("("),(o=n!==!1&&n!==f?p["$end_with?"](")"):n)===f||o._isBoolean&&1!=o?s=2:(p=p["$[]"](u(1,-1,!0)),s=3)),(o=(n=y["$=="]("indexterm"))!==!1&&n!==f?n:s["$=="](3))===f||o._isBoolean&&1!=o?(c=(o=y["$!"]())===f||o._isBoolean&&1!=o?d.$normalize_string(i["$[]"](2),!0):d.$normalize_string(p),d.document.$register("indexterms",[c]),r.Inline.$new(d,"indexterm",c,t(["type"],{type:"visible"})).$convert()):(a=d.$split_simple_csv((o=y["$!"]())===f||o._isBoolean&&1!=o?d.$normalize_string(i["$[]"](2),!0):d.$normalize_string(p)),d.document.$register("indexterms",[].concat(a)),r.Inline.$new(d,"indexterm",f,t(["attributes"],{attributes:t(["terms"],{terms:a})})).$convert())):i["$[]"](0)["$[]"](u(1,-1,!1))},j._s=C,j),n).call(m,r.IndextermInlineMacroRx)),(n=(k=E!==!1&&E!==f)?H["$include?"]("://"):k)===f||n._isBoolean&&1!=n||(H=(n=(k=H).$gsub,n._p=(v=function(){var o,n,d,i,s=v._s||this,p=f,y=f,a=f,c=f,b=f,w=f,g=f,m=f;return null==s.document&&(s.document=f),null==l["~"]&&(l["~"]=f),p=l["~"],(o=p["$[]"](2)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?((o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||p["$[]"](3)["$=="]("")&&p["$[]="](3,f),(o=(n=p["$[]"](1)["$=="]("link:"))?p["$[]"](3)["$!"]():n)===f||o._isBoolean&&1!=o?(y=function(){return(o=p["$[]"](1)["$=="]("link:")["$!"]())===f||o._isBoolean&&1!=o?"":p["$[]"](1)}(),a=p["$[]"](2),c="",((o=(n=p["$[]"](3))!==!1&&n!==f?n:(d=a["$=~"](r.UriTerminator),
  d===f||d===!1))===f||o._isBoolean&&1!=o)&&(b=l["~"]["$[]"](0),")"["$==="](b)?(a=a["$[]"](u(0,-2,!1)),c=")"):";"["$==="](b)?(n=y["$start_with?"]("&lt;"),(o=n!==!1&&n!==f?a["$end_with?"]("&gt;"):n)===f||o._isBoolean&&1!=o?(o=a["$end_with?"](");"))===f||o._isBoolean&&1!=o?(a=a["$[]"](u(0,-2,!1)),c=";"):(a=a["$[]"](u(0,-3,!1)),c=");"):(y=y["$[]"](u(4,-1,!1)),a=a["$[]"](u(0,-5,!1)))):":"["$==="](b)&&((o=a["$end_with?"]("):"))===f||o._isBoolean&&1!=o?(a=a["$[]"](u(0,-2,!1)),c=":"):(a=a["$[]"](u(0,-3,!1)),c="):"))),s.document.$register("links",a),w=t(["type","target"],{type:"link",target:a}),g=f,(o=p["$[]"](3)["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?((o=(n=F!==!1&&F!==f)?(d=p["$[]"](3)["$start_with?"]('"'))!==!1&&d!==f?d:(i=p["$[]"](3)["$include?"](","),i!==!1&&i!==f?p["$[]"](3)["$include?"]("="):i):n)===f||o._isBoolean&&1!=o?m=s.$sub_attributes(p["$[]"](3).$gsub("\\]","]")):(g=s.$parse_attributes(s.$sub_attributes(p["$[]"](3).$gsub("\\]","]")),[]),(o=g["$has_key?"]("id"))===f||o._isBoolean&&1!=o||w["$[]="]("id",g.$delete("id")),m=(o=g["$[]"](1))!==!1&&o!==f?o:""),(o=m["$end_with?"]("^"))===f||o._isBoolean&&1!=o||(m=m.$chop(),g!==!1&&g!==f?(o="window",n=g,(d=n["$[]"](o))!==!1&&d!==f?d:n["$[]="](o,"_blank")):g=t(["window"],{window:"_blank"}))):m="",(o=m["$empty?"]())===f||o._isBoolean&&1!=o||(m=function(){return(o=s.document["$attr?"]("hide-uri-scheme"))===f||o._isBoolean&&1!=o?a:a.$sub(r.UriSniffRx,"")}(),g!==!1&&g!==f?g["$[]="]("role",("bare "+g["$[]"]("role")).$chomp(" ")):g=t(["role"],{role:"bare"})),g!==!1&&g!==f&&w["$[]="]("attributes",g),""+y+r.Inline.$new(s,"anchor",m,w).$convert()+c):p["$[]"](0)):""+p["$[]"](1)+p["$[]"](2)["$[]"](u(1,-1,!1))+p["$[]"](3)},v._s=C,v),n).call(k,r.LinkInlineRx)),h=D["$[]"]("macroish"),(n=(P=h!==!1&&h!==f?H["$include?"]("link:"):h)!==!1&&P!==f?P:H["$include?"]("mailto:"))===f||n._isBoolean&&1!=n||(H=(n=(P=H).$gsub,n._p=(q=function(){var e,o,n,d=q._s||this,i=f,s=f,p=f,y=f,a=f,c=f,b=f;return null==d.document&&(d.document=f),null==l["~"]&&(l["~"]=f),i=l["~"],(e=i["$[]"](0)["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(s=i["$[]"](1),p=i["$[]"](0)["$start_with?"]("mailto:"),y=function(){return p!==!1&&p!==f?"mailto:"+s:s}(),a=t(["type","target"],{type:"link",target:y}),c=f,b=function(){return(e=(o=F!==!1&&F!==f)?(n=i["$[]"](2)["$start_with?"]('"'))!==!1&&n!==f?n:i["$[]"](2)["$include?"](","):o)===f||e._isBoolean&&1!=e?d.$sub_attributes(i["$[]"](2).$gsub("\\]","]")):(c=d.$parse_attributes(d.$sub_attributes(i["$[]"](2).$gsub("\\]","]")),[]),(e=c["$key?"]("id"))===f||e._isBoolean&&1!=e||a["$[]="]("id",c.$delete("id")),p!==!1&&p!==f&&((e=c["$key?"](2))===f||e._isBoolean&&1!=e||(y=a["$[]="]("target",""+y+"?subject="+r.Helpers.$encode_uri(c["$[]"](2))),(e=c["$key?"](3))===f||e._isBoolean&&1!=e||(y=a["$[]="]("target",""+y+"&amp;body="+r.Helpers.$encode_uri(c["$[]"](3)))))),c["$[]"](1))}(),d.document.$register("links",y),(e=b["$end_with?"]("^"))===f||e._isBoolean&&1!=e||(b=b.$chop(),c!==!1&&c!==f?(e="window",o=c,(n=o["$[]"](e))!==!1&&n!==f?n:o["$[]="](e,"_blank")):c=t(["window"],{window:"_blank"})),(e=b["$empty?"]())===f||e._isBoolean&&1!=e||(p!==!1&&p!==f?b=s:(b=(e=d.document["$attr?"]("hide-uri-scheme"))===f||e._isBoolean&&1!=e?s:s.$sub(r.UriSniffRx,""),c!==!1&&c!==f?c["$[]="]("role",("bare "+c["$[]"]("role")).$chomp(" ")):c=t(["role"],{role:"bare"}))),c!==!1&&c!==f&&a["$[]="]("attributes",c),r.Inline.$new(d,"anchor",b,a).$convert()):i["$[]"](0)["$[]"](u(1,-1,!1))},q._s=C,q),n).call(P,r.LinkInlineMacroRx)),(n=H["$include?"]("@"))===f||n._isBoolean&&1!=n||(H=(n=(h=H).$gsub,n._p=(z=function(){var e,o=z._s||this,n=f,d=f,i=f,s=f,p=f;return null==o.document&&(o.document=f),null==l["~"]&&(l["~"]=f),n=l["~"],d=n["$[]"](0),(e=i=n["$[]"](1))===f||e._isBoolean&&1!=e?(p="mailto:"+d,o.document.$register("links",p),r.Inline.$new(o,"anchor",d,t(["type","target"],{type:"link",target:p})).$convert()):(s=i,"\\"["$==="](s)?d["$[]"](u(1,-1,!1)):d)},z._s=C,z),n).call(h,r.EmailInlineMacroRx)),A=D["$[]"]("macroish_short_form"),(n=A!==!1&&A!==f?H["$include?"]("footnote"):A)===f||n._isBoolean&&1!=n||(H=(n=(A=H).$gsub,n._p=(B=function(){var o,n,d,i,s=B._s||this,p=f,y=f,a=f,c=f,b=f,w=f,g=f;return null==s.document&&(s.document=f),null==l["~"]&&(l["~"]=f),p=l["~"],(o=p["$[]"](0)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?(p["$[]"](1)["$=="]("footnote")?(y=f,a=s.$restore_passthroughs(s.$sub_inline_xrefs(s.$sub_inline_anchors(s.$normalize_string(p["$[]"](2),!0))),!1),c=s.document.$counter("footnote-number"),s.document.$register("footnotes",r.Document._scope.Footnote.$new(c,y,a)),b=f,w=f):(o=e.to_ary(p["$[]"](2).$split(",",2)),y=null==o[0]?f:o[0],a=null==o[1]?f:o[1],y=y.$strip(),(o=a["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?(a=s.$restore_passthroughs(s.$sub_inline_xrefs(s.$sub_inline_anchors(s.$normalize_string(a,!0))),!1),c=s.document.$counter("footnote-number"),s.document.$register("footnotes",r.Document._scope.Footnote.$new(c,y,a)),b="ref",w=f):((o=g=(n=(d=s.document.$references()["$[]"]("footnotes")).$find,n._p=(i=function(e){return i._s||this,null==e&&(e=f),e.$id()["$=="](y)},i._s=s,i),n).call(d))===f||o._isBoolean&&1!=o?(c=f,a=y):(c=g.$index(),a=g.$text()),w=y,y=f,b="xref")),r.Inline.$new(s,"footnote",a,t(["attributes","id","target","type"],{attributes:t(["index"],{index:c}),id:y,target:w,type:b})).$convert()):p["$[]"](0)["$[]"](u(1,-1,!1))},B._s=C,B),n).call(A,r.FootnoteInlineMacroRx)),C.$sub_inline_xrefs(C.$sub_inline_anchors(H,D),D)):o},p.$sub_inline_anchors=function(o,n){var d,i,s,p,y,a,c,b=this;return null==n&&(n=f),i=(s=n["$!"]())!==!1&&s!==f?s:n["$[]"]("square_bracket"),(d=i!==!1&&i!==f?o["$include?"]("[[["):i)===f||d._isBoolean&&1!=d||(o=(d=(i=o).$gsub,d._p=(p=function(){var e,o=p._s||this,n=f,d=f,i=f;return null==l["~"]&&(l["~"]=f),n=l["~"],(e=n["$[]"](0)["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(d=i=n["$[]"](1),r.Inline.$new(o,"anchor",i,t(["type","target"],{type:"bibref",target:d})).$convert()):n["$[]"](0)["$[]"](u(1,-1,!1))},p._s=b,p),d).call(i,r.InlineBiblioAnchorRx)),y=(a=n["$!"]())!==!1&&a!==f?a:n["$[]"]("square_bracket"),(d=(s=y!==!1&&y!==f?o["$include?"]("[["):y)!==!1&&s!==f?s:(y=(a=n["$!"]())!==!1&&a!==f?a:n["$[]"]("macroish"),y!==!1&&y!==f?o["$include?"]("anchor:"):y))===f||d._isBoolean&&1!=d||(o=(d=(s=o).$gsub,d._p=(c=function(){var o,n,d=c._s||this,i=f,s=f,p=f;return null==l["~"]&&(l["~"]=f),i=l["~"],(o=i["$[]"](0)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?((o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||(i["$[]"](1)["$=="]("")&&i["$[]="](1,f),i["$[]"](2)["$=="]("")&&i["$[]="](2,f),i["$[]"](4)["$=="]("")&&i["$[]="](4,f)),s=(o=i["$[]"](1))!==!1&&o!==f?o:i["$[]"](3),p=(o=(n=i["$[]"](2))!==!1&&n!==f?n:i["$[]"](4))!==!1&&o!==f?o:"["+s+"]",r.Inline.$new(d,"anchor",p,t(["type","target"],{type:"ref",target:s})).$convert()):i["$[]"](0)["$[]"](u(1,-1,!1))},c._s=b,c),d).call(s,r.InlineAnchorRx)),o},p.$sub_inline_xrefs=function(o,n){var d,i,s,p,y=this;return null==n&&(n=f),(d=(i=(s=n["$!"]())!==!1&&s!==f?s:n["$[]"]("macroish"))!==!1&&i!==f?i:o["$include?"]("&lt;&lt;"))===f||d._isBoolean&&1!=d||(o=(d=(i=o).$gsub,d._p=(p=function(){var o,n,d,i,s,y,a=p._s||this,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f;return null==a.document&&(a.document=f),null==l["~"]&&(l["~"]=f),c=l["~"],(o=c["$[]"](0)["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?((o=null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)===f||o._isBoolean&&1!=o||c["$[]"](1)["$=="]("")&&c["$[]="](1,f),(o=c["$[]"](1))===f||o._isBoolean&&1!=o?(b=c["$[]"](2),((o=c["$[]"](3)["$nil_or_empty?"]())===f||o._isBoolean&&1!=o)&&(w=c["$[]"](3))):(o=e.to_ary((n=(d=c["$[]"](1).$split(",",2)).$map,n._p=(i=function(e){return i._s||this,null==e&&(e=f),e.$strip()},i._s=a,i),n).call(d)),b=null==o[0]?f:o[0],w=null==o[1]?f:o[1],b=b.$sub(r.DoubleQuotedRx,"\\2"),w=function(){return(o=w["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?w.$sub(r.DoubleQuotedMultiRx,"\\2"):f}()),(o=b["$include?"]("#"))===f||o._isBoolean&&1!=o?(g=f,m=b):(o=e.to_ary(b.$split("#")),g=null==o[0]?f:o[0],m=null==o[1]?f:o[1]),g!==!1&&g!==f?(g=r.Helpers.$rootname(g),(o=(n=a.document.$attributes()["$[]"]("docname")["$=="](g))!==!1&&n!==f?n:a.document.$references()["$[]"]("includes")["$include?"](g))===f||o._isBoolean&&1!=o?(x=function(){return m!==!1&&m!==f?""+g+"#"+m:g}(),g=""+a.document.$attributes()["$[]"]("relfileprefix")+g+a.document.$attributes().$fetch("outfilesuffix",".html"),j=function(){return m!==!1&&m!==f?""+g+"#"+m:g}()):(x=m,g=f,j="#"+m)):(s=a.document.$references()["$[]"]("ids")["$has_key?"](m)["$!"](),n=s!==!1&&s!==f?(y=m["$include?"](" "))!==!1&&y!==f?y:m.$downcase()["$=="](m)["$!"]():s,(o=n!==!1&&n!==f?k=function(){return(s=r.RUBY_MIN_VERSION_1_9)===f||s._isBoolean&&1!=s?a.document.$references()["$[]"]("ids").$index(m):a.document.$references()["$[]"]("ids").$key(m)}():n)===f||o._isBoolean&&1!=o||(m=k),x=m,j="#"+m),r.Inline.$new(a,"anchor",w,t(["type","target","attributes"],{type:"xref",target:j,attributes:t(["path","fragment","refid"],{path:g,fragment:m,refid:x})})).$convert()):c["$[]"](0)["$[]"](u(1,-1,!1))},p._s=y,p),d).call(i,r.XrefInlineMacroRx)),o},p.$sub_callouts=function(o){var n,d,i,u=this,s=f;return s=function(){return(n=u["$attr?"]("line-comment"))===f||n._isBoolean&&1!=n?r.CalloutSourceRx:new RegExp("(?:"+(null==(n=e.Object._scope.Regexp)?e.cm("Regexp"):n).$escape(u.$attr("line-comment"))+" )?"+r.CalloutSourceRxt)}(),(n=(d=o).$gsub,n._p=(i=function(){var e=i._s||this,o=f;return null==e.document&&(e.document=f),null==l["~"]&&(l["~"]=f),o=l["~"],o["$[]"](1)["$=="]("\\")?o["$[]"](0).$sub("\\",""):r.Inline.$new(e,"callout",o["$[]"](3),t(["id"],{id:e.document.$callouts().$read_next_id()})).$convert()},i._s=u,i),n).call(d,s)},p.$sub_post_replacements=function(e){var o,n,d,i,u,s=this,p=f,y=f;return null==s.document&&(s.document=f),null==s.attributes&&(s.attributes=f),(o=(n=s.document.$attributes()["$has_key?"]("hardbreaks"))!==!1&&n!==f?n:s.attributes["$has_key?"]("hardbreaks-option"))===f||o._isBoolean&&1!=o?(o=e["$include?"]("+"))===f||o._isBoolean&&1!=o?e:(o=(i=e).$gsub,o._p=(u=function(){var e=u._s||this;return null==l["~"]&&(l["~"]=f),r.Inline.$new(e,"break",l["~"]["$[]"](1),t(["type"],{type:"line"})).$convert()},u._s=s,u),o).call(i,r.LineBreakRx):(p=e.$split(r.EOL),p.$size()["$=="](1)?e:(y=p.$pop(),(o=(n=p).$map,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),r.Inline.$new(o,"break",e.$rstrip().$chomp(r.LINE_BREAK),t(["type"],{type:"line"})).$convert()},d._s=s,d),o).call(n).$push(y)["$*"](r.EOL)))},p.$convert_quoted_text=function(e,o,n){var d,i,l=this,s=f,p=f,y=f,a=f;if(s=f,(d=e["$[]"](0)["$start_with?"]("\\"))!==f&&(!d._isBoolean||1==d)){if((d=(i=n["$=="]("constrained"))?(p=e["$[]"](2))["$nil_or_empty?"]()["$!"]():i)===f||d._isBoolean&&1!=d)return e["$[]"](0)["$[]"](u(1,-1,!1));s="["+p+"]"}return n["$=="]("constrained")?s!==!1&&s!==f?""+s+r.Inline.$new(l,"quoted",e["$[]"](3),t(["type"],{type:o})).$convert():((d=y=l.$parse_quoted_text_attributes(e["$[]"](2)))===f||d._isBoolean&&1!=d?a=f:(a=y.$delete("id"),o["$=="]("mark")&&(o="unquoted")),""+e["$[]"](1)+r.Inline.$new(l,"quoted",e["$[]"](3),t(["type","id","attributes"],{type:o,id:a,attributes:y})).$convert()):((d=y=l.$parse_quoted_text_attributes(e["$[]"](1)))===f||d._isBoolean&&1!=d?a=f:(a=y.$delete("id"),o["$=="]("mark")&&(o="unquoted")),r.Inline.$new(l,"quoted",e["$[]"](2),t(["type","id","attributes"],{type:o,id:a,attributes:y})).$convert())},p.$parse_quoted_text_attributes=function(o){var n,i,l,u=this,s=f,p=f,y=f,a=f,c=f,b=f;return o===!1||o===f?f:(n=o["$empty?"]())===f||n._isBoolean&&1!=n?((n=o["$include?"]("{"))===f||n._isBoolean&&1!=n||(o=u.$sub_attributes(o)),o=o.$strip(),(n=o["$include?"](","))===f||n._isBoolean&&1!=n||(n=e.to_ary(o.$split(",",2)),o=null==n[0]?f:n[0],s=null==n[1]?f:n[1]),(n=o["$empty?"]())===f||n._isBoolean&&1!=n?(i=(l=o["$start_with?"]("."))!==!1&&l!==f?l:o["$start_with?"]("#"),(n=i!==!1&&i!==f?r.Compliance.$shorthand_property_syntax():i)===f||n._isBoolean&&1!=n?t(["role"],{role:o}):(p=o.$split("#",2),p.$length()["$>"](1)?(n=e.to_ary(p["$[]"](1).$split(".")),y=null==n[0]?f:n[0],a=d.call(n,1)):(y=f,a=[]),c=function(){return(n=p["$[]"](0)["$empty?"]())===f||n._isBoolean&&1!=n?p["$[]"](0).$split("."):[]}(),c.$length()["$>"](1)&&c.$shift(),a.$length()["$>"](0)&&c.$concat(a),b=t([],{}),y!==!1&&y!==f&&b["$[]="]("id",y),((n=c["$empty?"]())===f||n._isBoolean&&1!=n)&&b["$[]="]("role",c["$*"](" ")),b)):t([],{})):t([],{})},p.$parse_attributes=function(e,o,n){var d,i=this,l=f,u=f;return null==i.document&&(i.document=f),null==o&&(o=["role"]),null==n&&(n=t([],{})),e===!1||e===f?f:(d=e["$empty?"]())===f||d._isBoolean&&1!=d?((d=n["$[]"]("sub_input"))===f||d._isBoolean&&1!=d||(e=i.document.$sub_attributes(e)),(d=n["$[]"]("unescape_input"))===f||d._isBoolean&&1!=d||(e=i.$unescape_bracketed_text(e)),l=f,(d=n.$fetch("sub_result",!0))===f||d._isBoolean&&1!=d||(l=i),(d=u=n["$[]"]("into"))===f||d._isBoolean&&1!=d?r.AttributeList.$new(e,l).$parse(o):r.AttributeList.$new(e,l).$parse_into(u,o)):t([],{})},p.$unescape_bracketed_text=function(e){var o;return(o=e["$empty?"]())===f||o._isBoolean&&1!=o?e.$strip().$tr(r.EOL," ").$gsub("\\]","]"):""},p.$normalize_string=function(e,o){var n,d=this;return null==o&&(o=!1),(n=e["$empty?"]())===f||n._isBoolean&&1!=n?o!==!1&&o!==f?d.$unescape_brackets(e.$strip().$tr(r.EOL," ")):e.$strip().$tr(r.EOL," "):""},p.$unescape_brackets=function(e){var o;return(o=e["$empty?"]())===f||o._isBoolean&&1!=o?e.$gsub("\\]","]"):""},p.$split_simple_csv=function(e){var o,n,d,i,t,l=this,u=f,s=f,p=f;return(o=e["$empty?"]())===f||o._isBoolean&&1!=o?(o=e["$include?"]('"'))===f||o._isBoolean&&1!=o?u=(o=(i=e.$split(",")).$map,o._p=(t=function(e){return t._s||this,null==e&&(e=f),e.$strip()},t._s=l,t),o).call(i):(u=[],s=[],p=!1,(o=(n=e).$each_char,o._p=(d=function(e){var o=(d._s||this,f);return null==e&&(e=f),function(){return o=e,","["$==="](o)?p!==!1&&p!==f?s.$push(e):(u["$<<"](s.$join().$strip()),s=[]):'"'["$==="](o)?p=p["$!"]():s.$push(e)}()},d._s=l,d),o).call(n),u["$<<"](s.$join().$strip())):u=[],u},p.$resolve_subs=function(e,o,n,d){var i,t,l,s=this,p=f,y=f,a=f,c=f;return null==o&&(o="block"),null==n&&(n=f),null==d&&(d=f),(i=e["$nil_or_empty?"]())===f||i._isBoolean&&1!=i?(p=f,y=r.SubModifierSniffRx["$=~"](e),(i=(t=e.$split(",")).$each,i._p=(l=function(e){var d,i,t,s=(l._s||this,f),a=f,c=f,b=f,w=f,g=f,m=f;return null==e&&(e=f),s=e.$strip(),a=f,y!==!1&&y!==f&&((c=s.$chr())["$=="]("+")?(a="append",s=s["$[]"](u(1,-1,!1))):c["$=="]("-")?(a="remove",s=s["$[]"](u(1,-1,!1))):(d=s["$end_with?"]("+"))===f||d._isBoolean&&1!=d||(a="prepend",s=s.$chop())),s=s.$to_sym(),(d=(i=o["$=="]("inline"))?(t=s["$=="]("verbatim"))!==!1&&t!==f?t:s["$=="]("v"):i)===f||d._isBoolean&&1!=d?(d=r.COMPOSITE_SUBS["$key?"](s))===f||d._isBoolean&&1!=d?(i=(t=o["$=="]("inline"))?s.$length()["$=="](1):t,(d=i!==!1&&i!==f?r.SUB_SYMBOLS["$key?"](s):i)===f||d._isBoolean&&1!=d?b=[s]:(w=r.SUB_SYMBOLS["$[]"](s),b=(d=g=r.COMPOSITE_SUBS["$[]"](w))===f||d._isBoolean&&1!=d?[w]:g)):b=r.COMPOSITE_SUBS["$[]"](s):b=["specialcharacters"],a!==!1&&a!==f?((d=p)!==!1&&d!==f?d:p=function(){return n!==!1&&n!==f?n.$dup():[]}(),function(){return m=a,"append"["$==="](m)?p=p["$+"](b):"prepend"["$==="](m)?p=b["$+"](p):"remove"["$==="](m)?p=p["$-"](b):f}()):((d=p)!==!1&&d!==f?d:p=[],p=p["$+"](b))},l._s=s,l),i).call(t),a=p["$&"](r.SUB_OPTIONS["$[]"](o)),((i=p["$-"](a)["$empty?"]())===f||i._isBoolean&&1!=i)&&(c=p["$-"](a),s.$warn("asciidoctor: WARNING: invalid substitution type"+function(){return c.$size()["$>"](1)?"s":""}()+function(){return d!==!1&&d!==f?" for ":f}()+d+": "+c["$*"](", "))),a):[]},p.$resolve_block_subs=function(e,o,f){var n=this;return n.$resolve_subs(e,"block",o,f)},p.$resolve_pass_subs=function(e){var o=this;return o.$resolve_subs(e,"inline",f,"passthrough macro")},p.$highlight_source=function(o,n,d){var i,s,p,y,a,c=this,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f;return null==c.document&&(c.document=f),null==c.passthroughs&&(c.passthroughs=f),null==d&&(d=f),(i=d)!==!1&&i!==f?i:d=c.document.$attributes()["$[]"]("source-highlighter"),r.Helpers.$require_library(d,function(){return d["$=="]("pygments")?"pygments.rb":d}()),b=0,w=!1,n!==!1&&n!==f?(g=t([],{}),m=-1,x=function(){return(i=c["$attr?"]("line-comment"))===f||i._isBoolean&&1!=i?r.CalloutExtractRx:new RegExp("(?:"+(null==(i=e.Object._scope.Regexp)?e.cm("Regexp"):i).$escape(c.$attr("line-comment"))+" )?"+r.CalloutExtractRxt)}(),o=(i=(s=o.$split(r.EOL)).$map,i._p=(p=function(e){var o,n,d,i=p._s||this;return null==e&&(e=f),b=b["$+"](1),(o=(n=e).$gsub,o._p=(d=function(){var e,o,n,i=(d._s||this,f);return null==l["~"]&&(l["~"]=f),i=l["~"],i["$[]"](1)["$=="]("\\")?i["$[]"](0).$sub("\\",""):((e=b,o=g,(n=o["$[]"](e))!==!1&&n!==f?n:o["$[]="](e,[]))["$<<"](i["$[]"](3)),m=b,f)},d._s=i,d),o).call(n,x)},p._s=c,p),i).call(s)["$*"](r.EOL),w=m["$=="](b),(i=g["$empty?"]())===f||i._isBoolean&&1!=i||(g=f)):g=f,j=f,k=d,"coderay"["$==="](k)?v=(null==(i=e.Object._scope.CodeRay)?e.cm("CodeRay"):i)._scope.Duo["$[]"](c.$attr("language","text",!1).$to_sym(),"html",t(["css","line_numbers","line_number_anchors"],{css:((i=c.document.$attributes()["$[]"]("coderay-css"))!==!1&&i!==f?i:"class").$to_sym(),line_numbers:j=function(){return(i=c["$attr?"]("linenums"))===f||i._isBoolean&&1!=i?f:((i=c.document.$attributes()["$[]"]("coderay-linenums-mode"))!==!1&&i!==f?i:"table").$to_sym()}(),line_number_anchors:!1})).$highlight(o):"pygments"["$==="](k)&&(P=(i=(null==(y=e.Object._scope.Pygments)?e.cm("Pygments"):y)._scope.Lexer["$[]"](c.$attr("language",f,!1)))!==!1&&i!==f?i:(null==(y=e.Object._scope.Pygments)?e.cm("Pygments"):y)._scope.Lexer["$[]"]("text"),h=t(["cssclass","classprefix","nobackground"],{cssclass:"pyhl",classprefix:"tok-",nobackground:!0}),((i=c.document.$attributes()["$[]"]("pygments-css"))!==!1&&i!==f?i:"class")["$=="]("class")||(h["$[]="]("noclasses",!0),h["$[]="]("style",(i=c.document.$attributes()["$[]"]("pygments-style"))!==!1&&i!==f?i:r.Stylesheets._scope.DEFAULT_PYGMENTS_STYLE)),(i=c["$attr?"]("linenums"))===f||i._isBoolean&&1!=i?(h["$[]="]("nowrap",!0),v=P.$highlight(o,t(["options"],{options:h}))):h["$[]="]("linenos",(i=c.document.$attributes()["$[]"]("pygments-linenums-mode"))!==!1&&i!==f?i:"table")["$=="]("table")?(j="table",v=P.$highlight(o,t(["options"],{options:h})).$sub(/<div class="pyhl">(.*)<\/div>/m,"\\1").$gsub(/<pre[^>]*>(.*?)<\/pre>\s*/m,"\\1")):v=P.$highlight(o,t(["options"],{options:h})).$sub(/<div class="pyhl"><pre[^>]*>(.*?)<\/pre><\/div>/m,"\\1")),((i=c.passthroughs["$empty?"]())===f||i._isBoolean&&1!=i)&&(v=v.$gsub(r.PASS_MATCH_HI,""+r.PASS_START+"\\1"+r.PASS_END)),(i=(y=n!==!1&&n!==f)?g:y)===f||i._isBoolean&&1!=i?v:(b=0,q=j["$=="]("table")["$!"](),(i=(y=v.$split(r.EOL)).$map,i._p=(a=function(e){var o,n,d,i=a._s||this,l=f,s=f,p=f,y=f;if(null==i.document&&(i.document=f),null==e&&(e=f),q!==!1&&q!==f);else{if((o=e["$include?"]('<td class="code">'))===f||o._isBoolean&&1!=o)return e;q=!0}return b=b["$+"](1),(o=l=g.$delete(b))===f||o._isBoolean&&1!=o?e:(s=f,(o=(n=w!==!1&&w!==f)?g["$empty?"]():n)===f||o._isBoolean&&1!=o||((o=p=e.$index("</pre>"))===f||o._isBoolean&&1!=o?e=""+e.$chomp(" ")+" ":(s=e["$[]"](u(p,-1,!1)),e=""+e["$[]"](u(0,p,!0)).$chomp(" ")+" ")),l.$size()["$=="](1)?""+e+r.Inline.$new(i,"callout",l["$[]"](0),t(["id"],{id:i.document.$callouts().$read_next_id()})).$convert()+s:(y=(o=(n=l).$map,o._p=(d=function(e){var o=d._s||this;return null==o.document&&(o.document=f),null==e&&(e=f),r.Inline.$new(o,"callout",e,t(["id"],{id:o.document.$callouts().$read_next_id()})).$convert()},d._s=i,d),o).call(n)["$*"](" "),""+e+y+s))},a._s=c,a),i).call(y)["$*"](r.EOL))},p.$lock_in_subs=function(){var e,o,n,d,i,t,l=this,u=f,s=f,p=f;if(null==l.default_subs&&(l.default_subs=f),null==l.content_model&&(l.content_model=f),null==l.context&&(l.context=f),null==l.attributes&&(l.attributes=f),null==l.style&&(l.style=f),null==l.document&&(l.document=f),null==l.subs&&(l.subs=f),(e=l.default_subs)===f||e._isBoolean&&1!=e)if(s=l.content_model,"simple"["$==="](s))u=r.SUBS["$[]"]("normal");else if("verbatim"["$==="](s))u=r.SUBS["$[]"]((e=(o=l.context["$=="]("listing"))!==!1&&o!==f?o:(n=l.context["$=="]("literal"))?l["$option?"]("listparagraph")["$!"]():n)===f||e._isBoolean&&1!=e?l.context["$=="]("verse")?"normal":"basic":"verbatim");else{if(!"raw"["$==="](s))return f;u=r.SUBS["$[]"](l.context["$=="]("stem")?"basic":"pass")}else u=l.default_subs;return l.subs=(e=p=l.attributes["$[]"]("subs"))===f||e._isBoolean&&1!=e?u.$dup():l.$resolve_block_subs(p,u,l.context),d=(i=l.context["$=="]("listing"))?l.style["$=="]("source"):i,n=d!==!1&&d!==f?l.attributes["$[]"]("language"):d,o=n!==!1&&n!==f?l.document["$basebackend?"]("html"):n,(e=o!==!1&&o!==f?r.SUB_HIGHLIGHT["$include?"](l.document.$attributes()["$[]"]("source-highlighter")):o)===f||e._isBoolean&&1!=e?f:l.subs=(e=(o=l.subs).$map,e._p=(t=function(e){return t._s||this,null==e&&(e=f),e["$=="]("specialcharacters")?"highlight":e},t._s=l,t),e).call(o)},e.donate(s,["$apply_subs","$apply_normal_subs","$apply_title_subs","$apply_header_subs","$extract_passthroughs","$restore_passthroughs","$sub_specialcharacters","$sub_specialchars","$sub_quotes","$sub_replacements","$do_replacement","$sub_attributes","$sub_macros","$sub_inline_anchors","$sub_inline_xrefs","$sub_callouts","$sub_post_replacements","$convert_quoted_text","$parse_quoted_text_attributes","$parse_attributes","$unescape_bracketed_text","$normalize_string","$unescape_brackets","$split_simple_csv","$resolve_subs","$resolve_block_subs","$resolve_pass_subs","$highlight_source","$lock_in_subs"])}(s)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2,t=e.range;return function(o){var l=n(o,"Asciidoctor");l._proto,l._scope,!function(o,n){function l(){}var u=l=d(o,n,"AbstractNode",l),s=u._proto,p=u._scope;return s.document=s.attributes=s.path_resolver=s.style=f,u.$include(p.Substitutors),u.$attr_reader("parent"),u.$attr_reader("document"),u.$attr_reader("context"),u.$attr_reader("node_name"),u.$attr_accessor("id"),u.$attr_reader("attributes"),s.$initialize=function(e,o,n){var d,t=this;return null==n&&(n=i([],{})),o["$=="]("document")?t.document=e:e!==!1&&e!==f?(t.parent=e,t.document=e.$document()):(t.parent=f,t.document=f),t.context=o,t.node_name=o.$to_s(),t.attributes=function(){return(d=n["$key?"]("attributes"))===f||d._isBoolean&&1!=d?i([],{}):n["$[]"]("attributes").$dup()}(),t.passthroughs=i([],{})},s["$parent="]=function(e){var o=this;return o.parent=e,o.document=e.$document(),f},s["$inline?"]=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},s["$block?"]=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},s.$attr=function(o,n,d){var i,t,l=this;return null==n&&(n=f),null==d&&(d=!0),(i=o["$is_a?"](null==(t=e.Object._scope.Symbol)?e.cm("Symbol"):t))===f||i._isBoolean&&1!=i||(o=o.$to_s()),l["$=="](l.document)&&(d=!1),d!==!1&&d!==f?(i=(t=l.attributes["$[]"](o))!==!1&&t!==f?t:l.document.$attributes()["$[]"](o))!==!1&&i!==f?i:n:(i=l.attributes["$[]"](o))!==!1&&i!==f?i:n},s["$attr?"]=function(o,n,d){var i,t,l=this;return null==n&&(n=f),null==d&&(d=!0),(i=o["$is_a?"](null==(t=e.Object._scope.Symbol)?e.cm("Symbol"):t))===f||i._isBoolean&&1!=i||(o=o.$to_s()),l["$=="](l.document)&&(d=!1),(i=n["$nil?"]())===f||i._isBoolean&&1!=i?n["$=="](d!==!1&&d!==f?(i=l.attributes["$[]"](o))!==!1&&i!==f?i:l.document.$attributes()["$[]"](o):l.attributes["$[]"](o)):(i=l.attributes["$has_key?"](o))!==!1&&i!==f?i:(t=d!==!1&&d!==f)?l.document.$attributes()["$has_key?"](o):t},s.$set_attr=function(e,o,n){var d,i,t=this;return null==n&&(n=f),((d=n["$nil?"]())===f||d._isBoolean&&1!=d)&&((d=(i=n)!==!1&&i!==f?i:t.attributes["$key?"](e)["$!"]())===f||d._isBoolean&&1!=d)?!1:(t.attributes["$[]="](e,o),!0)},s.$set_option=function(e){var o,n=this;return(o=n.attributes["$has_key?"]("options"))===f||o._isBoolean&&1!=o?n.attributes["$[]="]("options",e):n.attributes["$[]="]("options",""+n.attributes["$[]"]("options")+","+e),n.attributes["$[]="](""+e+"-option","")},s["$option?"]=function(e){var o=this;return o.attributes["$has_key?"](""+e+"-option")},s.$update_attributes=function(e){var o=this;return o.attributes.$update(e),f},s.$converter=function(){var e=this;return e.document.$converter()},s["$role?"]=function(e){var o,n=this;return null==e&&(e=f),e!==!1&&e!==f?e["$=="]((o=n.attributes["$[]"]("role"))!==!1&&o!==f?o:n.document.$attributes()["$[]"]("role")):(o=n.attributes["$has_key?"]("role"))!==!1&&o!==f?o:n.document.$attributes()["$has_key?"]("role")},s.$role=function(){var e,o=this;return(e=o.attributes["$[]"]("role"))!==!1&&e!==f?e:o.document.$attributes()["$[]"]("role")},s["$has_role?"]=function(e){var o,n,d=this,i=f;return(o=i=(n=d.attributes["$[]"]("role"))!==!1&&n!==f?n:d.document.$attributes()["$[]"]("role"))===f||o._isBoolean&&1!=o?!1:i.$split(" ")["$include?"](e)},s.$roles=function(){var e,o,n=this,d=f;return(e=d=(o=n.attributes["$[]"]("role"))!==!1&&o!==f?o:n.document.$attributes()["$[]"]("role"))===f||e._isBoolean&&1!=e?[]:d.$split(" ")},s["$reftext?"]=function(){var e,o=this;return(e=o.attributes["$has_key?"]("reftext"))!==!1&&e!==f?e:o.document.$attributes()["$has_key?"]("reftext")},s.$reftext=function(){var e,o=this;return(e=o.attributes["$[]"]("reftext"))!==!1&&e!==f?e:o.document.$attributes()["$[]"]("reftext")},s.$icon_uri=function(e){var o,n=this;return(o=n["$attr?"]("icon"))===f||o._isBoolean&&1!=o?n.$image_uri(""+e+"."+n.document.$attr("icontype","png"),"iconsdir"):n.$image_uri(n.$attr("icon"),f)},s.$media_uri=function(e,o){var n=this;return null==o&&(o="imagesdir"),n.$normalize_web_path(e,function(){return o!==!1&&o!==f?n.document.$attr(o):f}())},s.$image_uri=function(e,o){var n,d,i,t,l,u=this,s=f,r=f;return null==o&&(o="imagesdir"),(n=(d=(s=u.document).$safe()["$<"](p.SafeMode._scope.SECURE))?s["$attr?"]("data-uri"):d)===f||n._isBoolean&&1!=n?u.$normalize_web_path(e,function(){return o!==!1&&o!==f?s.$attr(o):f}()):(n=(d=u["$is_uri?"](e))!==!1&&d!==f?d:(t=(l=o!==!1&&o!==f)?r=s.$attr(o):l,i=t!==!1&&t!==f?u["$is_uri?"](r):t,i!==!1&&i!==f?e=u.$normalize_web_path(e,r,!1):i))===f||n._isBoolean&&1!=n?u.$generate_data_uri(e,o):(n=s["$attr?"]("allow-uri-read"))===f||n._isBoolean&&1!=n?e:u.$generate_data_uri_from_uri(e,s["$attr?"]("cache-uri"))},s.$generate_data_uri=function(o,n){var d,l,u,s,r=this,y=f,a=f,c=f,b=f;return null==n&&(n=f),y=(null==(d=e.Object._scope.File)?e.cm("File"):d).$extname(o)["$[]"](t(1,-1,!1)),a=function(){return y["$=="]("svg")?"image/svg+xml":"image/"+y}(),c=n!==!1&&n!==f?r.$normalize_system_path(o,r.document.$attr(n),f,i(["target_name"],{target_name:"image"})):r.$normalize_system_path(o),(d=(null==(l=e.Object._scope.File)?e.cm("File"):l)["$readable?"](c))===f||d._isBoolean&&1!=d?(r.$warn("asciidoctor: WARNING: image to embed not found or not readable: "+c),"data:"+a+":base64,"):(b=f,b=(d=(null==(l=e.Object._scope.IO)?e.cm("IO"):l)["$respond_to?"]("binread"))===f||d._isBoolean&&1!=d?(d=(l=null==(s=e.Object._scope.File)?e.cm("File"):s).$open,d._p=(u=function(e){return u._s||this,null==e&&(e=f),e.$read()},u._s=r,u),d).call(l,c,"rb"):(null==(d=e.Object._scope.IO)?e.cm("IO"):d).$binread(c),"data:"+a+";base64,"+(null==(d=e.Object._scope.Base64)?e.cm("Base64"):d).$encode64(b).$delete(p.EOL))},s.$generate_data_uri_from_uri=function(o,n){var d,i,t,l=this,u=f,s=f;null==n&&(n=!1),p.Helpers.$require_library("base64"),n!==!1&&n!==f?p.Helpers.$require_library("open-uri/cached","open-uri-cached"):(d=(null==(i=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):i)["$!"]())===f||d._isBoolean&&1!=d||(null==(d=e.Object._scope.OpenURI)?e.cm("OpenURI"):d);try{return u=f,s=(d=(i=l).$open,d._p=(t=function(e){return t._s||this,null==e&&(e=f),u=e.$content_type(),e.$read()},t._s=l,t),d).call(i,o,"rb"),"data:"+u+";base64,"+p.Base64.$encode64(s).$delete(p.EOL)}catch(r){return l.$warn("asciidoctor: WARNING: could not retrieve image data from URI: "+o),o}},s.$read_asset=function(o,n){var d,t,l=this;return null==n&&(n=i([],{})),((d=(null==(t=e.Object._scope.Hash)?e.cm("Hash"):t)["$==="](n))===f||d._isBoolean&&1!=d)&&(n=i(["warn_on_failure"],{warn_on_failure:n["$=="](!1)["$!"]()})),(d=(null==(t=e.Object._scope.File)?e.cm("File"):t)["$readable?"](o))===f||d._isBoolean&&1!=d?((d=n["$[]"]("warn_on_failure"))===f||d._isBoolean&&1!=d||l.$warn("asciidoctor: WARNING: file does not exist or cannot be read: "+o),f):(d=n["$[]"]("normalize"))===f||d._isBoolean&&1!=d?(null==(d=e.Object._scope.IO)?e.cm("IO"):d).$read(o):p.Helpers.$normalize_lines_from_string((null==(d=e.Object._scope.IO)?e.cm("IO"):d).$read(o))["$*"](p.EOL)},s.$normalize_web_path=function(e,o,n){var d,i,t=this;return null==o&&(o=f),null==n&&(n=!0),(d=(i=n!==!1&&n!==f)?t["$is_uri?"](e):i)===f||d._isBoolean&&1!=d?((d=t.path_resolver)!==!1&&d!==f?d:t.path_resolver=p.PathResolver.$new()).$web_path(e,o):e},s.$normalize_system_path=function(o,n,d,t){var l,u=this,s=f,r=f;return null==n&&(n=f),null==d&&(d=f),null==t&&(t=i([],{})),s=(l=u.path_resolver)!==!1&&l!==f?l:u.path_resolver=p.PathResolver.$new(),(r=u.document).$safe()["$<"](p.SafeMode._scope.SAFE)?n!==!1&&n!==f?((l=s["$is_root?"](n))===f||l._isBoolean&&1!=l)&&(n=(null==(l=e.Object._scope.File)?e.cm("File"):l).$join(r.$base_dir(),n)):n=r.$base_dir():(n!==!1&&n!==f||(n=r.$base_dir()),d!==!1&&d!==f||(d=r.$base_dir())),s.$system_path(o,n,d,t)},s.$normalize_asset_path=function(e,o,n){var d=this;return null==o&&(o="path"),null==n&&(n=!0),d.$normalize_system_path(e,d.document.$base_dir(),f,i(["target_name","recover"],{target_name:o,recover:n}))},s.$relative_path=function(e){var o,n=this;return((o=n.path_resolver)!==!1&&o!==f?o:n.path_resolver=p.PathResolver.$new()).$relative_path(e,n.document.$base_dir())},s["$is_uri?"]=function(e){var o;return o=e["$include?"](":"),o!==!1&&o!==f?p.UriSniffRx["$=~"](e):o},s.$list_marker_keyword=function(e){var o,n=this;return null==e&&(e=f),p.ORDERED_LIST_KEYWORDS["$[]"]((o=e)!==!1&&o!==f?o:n.style)},f&&"list_marker_keyword"}(l,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module,t=e.klass,l=e.hash2;return function(o){var u=i(o,"Asciidoctor"),s=(u._proto,u._scope);!function(o,i){function u(){}var s,p,r=u=t(o,i,"AbstractBlock",u),y=r._proto,a=r._scope;return y.document=y.attributes=y.blocks=y.source_location=y.subs=y.title=y.subbed_title=y.caption=y.context=y.style=y.id=y.header=y.next_section_index=y.next_section_number=f,r.$attr_accessor("content_model"),r.$attr_reader("subs"),r.$attr_reader("blocks"),r.$attr_accessor("level"),r.$attr_writer("title"),r.$attr_accessor("style"),r.$attr_accessor("caption"),r.$attr_accessor("source_location"),y.$initialize=s=function(o,n,i){var t,u,p=d.call(arguments,0),r=this,y=s._p;return null==i&&(i=l([],{})),s._p=null,e.find_super_dispatcher(r,"initialize",s,y).apply(r,p),r.content_model="compound",r.subs=[],r.default_subs=f,r.blocks=[],r.id=f,r.title=f,r.caption=f,r.style=f,r.level=function(){return n["$=="]("document")?0:(t=(u=o!==!1&&o!==f)?n["$=="]("section")["$!"]():u)===f||t._isBoolean&&1!=t?f:o.$level()}(),r.next_section_index=0,r.next_section_number=1,r.source_location=f},y["$block?"]=function(){return!0},y["$inline?"]=function(){return!1},y["$context="]=function(e){var o=this;return o.context=e,o.node_name=e.$to_s()},y.$convert=function(){var e=this;return e.document.$playback_attributes(e.attributes),e.$converter().$convert(e)},e.defn(r,"$render",y.$convert),y.$content=function(){var e,o,n,d=this;return(e=(o=d.blocks).$map,e._p=(n=function(e){return n._s||this,null==e&&(e=f),e.$convert()},n._s=d,n),e).call(o)["$*"](a.EOL)},y.$file=function(){var e,o=this;return(e=o.source_location)===f||e._isBoolean&&1!=e?f:o.source_location.$file()},y.$lineno=function(){var e,o=this;return(e=o.source_location)===f||e._isBoolean&&1!=e?f:o.source_location.$lineno()},y["$sub?"]=function(e){var o=this;return o.subs["$include?"](e)},y["$title?"]=function(){var e=this;return e.title["$nil_or_empty?"]()["$!"]();
  },y.$title=function(){var e,o,n=this;return o=n.subbed_title,(e=null!=o&&o!==f?"instance-variable":f)===f||e._isBoolean&&1!=e?(e=n.title)===f||e._isBoolean&&1!=e?n.title:n.subbed_title=n.$apply_title_subs(n.title):n.subbed_title},y.$captioned_title=function(){var e=this;return""+e.caption+e.$title()},y["$blocks?"]=function(){var e=this;return e.blocks["$empty?"]()["$!"]()},y["$<<"]=function(e){var o=this;return o.blocks["$<<"](e)},e.defn(r,"$append",y["$<<"]),y.$sections=function(){var e,o,n,d=this;return(e=(o=d.blocks).$select,e._p=(n=function(e){return n._s||this,null==e&&(e=f),e.$context()["$=="]("section")},n._s=d,n),e).call(o)},y.$find_by=p=function(o){var d,i,t,u,s,r,y,a=this,c=p._p,b=c||f,w=f,g=f,m=f,x=f,j=f,k=f;if(null==o&&(o=l([],{})),p._p=null,w=[],u=(s=g=(m=o["$[]"]("context"))["$!"]())!==!1&&s!==f?s:m["$=="](a.context),t=u!==!1&&u!==f?(s=(x=o["$[]"]("style"))["$!"]())!==!1&&s!==f?s:x["$=="](a.style):u,i=t!==!1&&t!==f?(u=(j=o["$[]"]("role"))["$!"]())!==!1&&u!==f?u:a["$has_role?"](j):t,(d=i!==!1&&i!==f?(t=(k=o["$[]"]("id"))["$!"]())!==!1&&t!==f?t:k["$=="](a.id):i)!==f&&(!d._isBoolean||1==d)){if(k!==!1&&k!==f)return[function(){return(d=(i=b!==f)?(t=e.$yield1(b,a))===n?n.$v:t:i)===f||d._isBoolean&&1!=d?a:a}()];w["$<<"](function(){return(d=(i=b!==f)?(t=e.$yield1(b,a))===n?n.$v:t:i)===f||d._isBoolean&&1!=d?a:a}())}return i=(t=a.context["$=="]("document"))?(u=g)!==!1&&u!==f?u:m["$=="]("section"):t,(d=i!==!1&&i!==f?a["$header?"]():i)===f||d._isBoolean&&1!=d||w.$concat((d=(i=(t=a.header).$find_by,i._p=b.$to_proc(),i).call(t,o))!==!1&&d!==f?d:[]),m["$=="]("document")||(a.context["$=="]("dlist")?(d=(i=g)!==!1&&i!==f?i:m["$=="]("section")["$!"]())===f||d._isBoolean&&1!=d||(d=(i=a.blocks.$flatten()).$each,d._p=(r=function(e){var n,d,i;return r._s||this,null==e&&(e=f),w.$concat((n=(d=(i=e).$find_by,d._p=b.$to_proc(),d).call(i,o))!==!1&&n!==f?n:[])},r._s=a,r),d).call(i):(d=(u=(s=a.blocks).$each,u._p=(y=function(e){var n,d,i;return y._s||this,null==e&&(e=f),(n=(d=m["$=="]("section"))?e.$context()["$=="]("section")["$!"]():d)===f||n._isBoolean&&1!=n?w.$concat((n=(d=(i=e).$find_by,d._p=b.$to_proc(),d).call(i,o))!==!1&&n!==f?n:[]):f},y._s=a,y),u).call(s))!==f&&(!d._isBoolean||1==d)),(d=w["$empty?"]())===f||d._isBoolean&&1!=d?w:f},e.defn(r,"$query",y.$find_by),y.$remove_sub=function(e){var o=this;return o.subs.$delete(e),f},y.$assign_caption=function(e,o){var n,d,i=this,t=f,l=f,u=f,s=f;return null==e&&(e=f),null==o&&(o=f),(n=(d=i["$title?"]())!==!1&&d!==f?d:i.caption["$!"]())===f||n._isBoolean&&1!=n?f:(e!==!1&&e!==f?i.caption=e:(n=t=i.document.$attributes()["$[]"]("caption"))===f||n._isBoolean&&1!=n?(n=i["$title?"]())===f||n._isBoolean&&1!=n||((n=o)!==!1&&n!==f?n:o=i.context.$to_s(),l=""+o+"-caption",(n=u=i.document.$attributes()["$[]"](l))===f||n._isBoolean&&1!=n||(s=i.document.$counter_increment(""+o+"-number",i),i.caption=""+u+" "+s+". ")):i.caption=t,f)},y.$assign_index=function(e){var o,n,d,i,t=this,l=f,u=f;return e["$index="](t.next_section_index),t.next_section_index=t.next_section_index["$+"](1),e.$sectname()["$=="]("appendix")?(l=t.document.$counter("appendix-number","A"),(o=e.$numbered())===f||o._isBoolean&&1!=o||e["$number="](l),e["$caption="]((o=(u=t.document.$attr("appendix-caption",""))["$=="]("")["$!"]())===f||o._isBoolean&&1!=o?""+l+". ":""+u+" "+l+": ")):(o=e.$numbered())===f||o._isBoolean&&1!=o?f:(n=(d=e.$level()["$=="](1))!==!1&&d!==f?d:(i=e.$level()["$=="](0))?e.$special():i,(o=n!==!1&&n!==f?t.document.$doctype()["$=="]("book"):n)===f||o._isBoolean&&1!=o?(e["$number="](t.next_section_number),t.next_section_number=t.next_section_number["$+"](1)):e["$number="](t.document.$counter("chapter-number",1)))},y.$reindex_sections=function(){var e,o,n,d=this;return d.next_section_index=0,d.next_section_number=0,(e=(o=d.blocks).$each,e._p=(n=function(e){var o=n._s||this;return null==e&&(e=f),e.$context()["$=="]("section")?(o.$assign_index(e),e.$reindex_sections()):f},n._s=d,n),e).call(o)},f&&"reindex_sections"}(u,s.AbstractNode)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor");t._proto,t._scope,!function(o,n){function t(){}var l,u=t=d(o,n,"AttributeList",t),s=u._proto,p=u._scope;return s.attributes=s.scanner=s.delimiter=s.block=s.delimiter_skip_pattern=s.delimiter_boundary_pattern=f,(null==(l=e.Object._scope.RUBY_ENGINE)?e.cm("RUBY_ENGINE"):l)["$=="]("opal")&&(e.cdecl(p,"CG_BLANK","[ \\t]"),e.cdecl(p,"CC_WORD","a-zA-Z0-9_"),e.cdecl(p,"CG_WORD","[a-zA-Z0-9_]")),e.cdecl(p,"BoundaryRxs",i(['"',"'",","],{'"':/.*?[^\\](?=")/,"'":/.*?[^\\](?=')/,",":new RegExp(".*?(?="+p.CG_BLANK+"*(,|$))")})),e.cdecl(p,"EscapedQuoteRxs",i(['"',"'"],{'"':/\\"/,"'":/\\'/})),e.cdecl(p,"NameRx",new RegExp(""+p.CG_WORD+"["+p.CC_WORD+"\\-.]*")),e.cdecl(p,"BlankRx",new RegExp(""+p.CG_BLANK+"+")),e.cdecl(p,"SkipRxs",i(["blank",","],{blank:p.BlankRx,",":new RegExp(""+p.CG_BLANK+"*(,|$)")})),s.$initialize=function(o,n,d){var i,t=this;return null==n&&(n=f),null==d&&(d=","),t.scanner=(null==(i=e.Object._scope.StringScanner)?e.cm("StringScanner"):i).$new(o),t.block=n,t.delimiter=d,t.delimiter_skip_pattern=p.SkipRxs["$[]"](d),t.delimiter_boundary_pattern=p.BoundaryRxs["$[]"](d),t.attributes=f},s.$parse_into=function(e,o){var f=this;return null==o&&(o=[]),e.$update(f.$parse(o))},s.$parse=function(e){var o,n,d=this,t=f;if(null==e&&(e=[]),(o=d.attributes)!==f&&(!o._isBoolean||1==o))return d.attributes;for(d.attributes=i([],{}),t=0;(n=d.$parse_attribute(t,e))!==f&&(!n._isBoolean||1==n)&&((n=d.scanner["$eos?"]())===f||n._isBoolean&&1!=n);)d.$skip_delimiter(),t=t["$+"](1);return d.attributes},s.$rekey=function(e){var o=this;return p.AttributeList.$rekey(o.attributes,e)},e.defs(u,"$rekey",function(e,o){var n,d,i,t=this;return(n=(d=o).$each_with_index,n._p=(i=function(o,n){var d,t=(i._s||this,f),l=f;return null==o&&(o=f),null==n&&(n=f),o===!1||o===f?f:(t=n["$+"](1),(d=l=e["$[]"](t))===f||d._isBoolean&&1!=d?f:e["$[]="](o,l))},i._s=t,i),n).call(d),e}),s.$parse_attribute=function(e,o){var n,d,i,t,l,u=this,s=f,p=f,r=f,y=f,a=f,c=f,b=f,w=f,g=f;if(null==e&&(e=0),null==o&&(o=[]),s=!1,u.$skip_blank(),(p=u.scanner.$peek(1))["$=="]('"'))r=u.$parse_attribute_value(u.scanner.$get_byte()),y=f;else if(p["$=="]("'"))r=u.$parse_attribute_value(u.scanner.$get_byte()),y=f,s=!0;else{if(r=u.$scan_name(),a=0,c=f,(n=u.scanner["$eos?"]())===f||n._isBoolean&&1!=n)a=(n=u.$skip_blank())!==!1&&n!==f?n:0,c=u.scanner.$get_byte();else if(r===!1||r===f)return!1;if((n=(d=c["$!"]())!==!1&&d!==f?d:c["$=="](u.delimiter))===f||n._isBoolean&&1!=n)if((n=(d=c["$=="]("=")["$!"]())!==!1&&d!==f?d:r["$!"]())===f||n._isBoolean&&1!=n){if(u.$skip_blank(),(n=u.scanner.$peek(1))!==f&&(!n._isBoolean||1==n))if((c=u.scanner.$get_byte())["$=="]('"'))y=u.$parse_attribute_value(c);else if(c["$=="]("'"))y=u.$parse_attribute_value(c),s=!0;else if(c["$=="](u.delimiter))y=f;else if(y=""+c+u.$scan_to_delimiter(),y["$=="]("None"))return!0}else r=""+r+" "["$*"](a)+c+u.$scan_to_delimiter(),y=f;else y=f}return y!==!1&&y!==f?(b=r,"options"["$==="](b)||"opts"["$==="](b)?(r="options",(n=(d=y.$split(",")).$each,n._p=(i=function(e){var o=i._s||this;return null==o.attributes&&(o.attributes=f),null==e&&(e=f),o.attributes["$[]="](""+e.$strip()+"-option","")},i._s=u,i),n).call(d),u.attributes["$[]="](r,y)):"title"["$==="](b)?u.attributes["$[]="](r,y):u.attributes["$[]="](r,function(){return t=(l=s!==!1&&s!==f)?y["$empty?"]()["$!"]():l,(n=t!==!1&&t!==f?u.block:t)===f||n._isBoolean&&1!=n?y:u.block.$apply_normal_subs(y)}())):(w=function(){return t=(l=s!==!1&&s!==f)?r["$empty?"]()["$!"]():l,(n=t!==!1&&t!==f?u.block:t)===f||n._isBoolean&&1!=n?r:u.block.$apply_normal_subs(r)}(),(n=g=o["$[]"](e))===f||n._isBoolean&&1!=n||u.attributes["$[]="](g,w),u.attributes["$[]="](e["$+"](1),w)),!0},s.$parse_attribute_value=function(e){var o,n=this,d=f;return n.scanner.$peek(1)["$=="](e)?(n.scanner.$get_byte(),""):(o=d=n.$scan_to_quote(e))===f||o._isBoolean&&1!=o?""+e+n.$scan_to_delimiter():(n.scanner.$get_byte(),d.$gsub(p.EscapedQuoteRxs["$[]"](e),e))},s.$skip_blank=function(){var e=this;return e.scanner.$skip(p.BlankRx)},s.$skip_delimiter=function(){var e=this;return e.scanner.$skip(e.delimiter_skip_pattern)},s.$scan_name=function(){var e=this;return e.scanner.$scan(p.NameRx)},s.$scan_to_delimiter=function(){var e=this;return e.scanner.$scan(e.delimiter_boundary_pattern)},s.$scan_to_quote=function(e){var o=this;return o.scanner.$scan(p.BoundaryRxs["$[]"](e))},f&&"scan_to_quote"}(t,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass,t=e.hash2;return function(o){var l=d(o,"Asciidoctor"),u=(l._proto,l._scope);!function(o,d){function l(){}var u,s,p=l=i(o,d,"Block",l),r=p._proto,y=p._scope;return r.attributes=r.content_model=r.lines=r.subs=r.blocks=r.context=r.style=f,e.cdecl(y,"DEFAULT_CONTENT_MODEL",t(["audio","image","listing","literal","stem","open","page_break","pass","thematic_break","video"],{audio:"empty",image:"empty",listing:"verbatim",literal:"verbatim",stem:"raw",open:"compound",page_break:"empty",pass:"raw",thematic_break:"empty",video:"empty"})),y.DEFAULT_CONTENT_MODEL["$default="]("simple"),e.defn(p,"$blockname",r.$context),p.$attr_accessor("lines"),r.$initialize=u=function(o,d,i){var l,s,p=n.call(arguments,0),r=this,a=u._p,c=f,b=f;return null==i&&(i=t([],{})),u._p=null,e.find_super_dispatcher(r,"initialize",u,a).apply(r,p),r.content_model=(l=i["$[]"]("content_model"))!==!1&&l!==f?l:y.DEFAULT_CONTENT_MODEL["$[]"](d),(l=i["$key?"]("subs"))===f||l._isBoolean&&1!=l?(r.subs=[],r.default_subs=f):(l=c=i["$[]"]("subs"))===f||l._isBoolean&&1!=l?(r.subs=[],r.default_subs=[],r.attributes.$delete("subs")):(c["$=="]("default")?r.default_subs=i["$[]"]("default_subs"):(l=(null==(s=e.Object._scope.Array)?e.cm("Array"):s)["$==="](c))===f||l._isBoolean&&1!=l?(r.default_subs=f,r.attributes["$[]="]("subs",""+c)):(r.default_subs=c.$dup(),r.attributes.$delete("subs")),r.$lock_in_subs()),r.lines=(l=(b=i["$[]"]("source"))["$nil_or_empty?"]())===f||l._isBoolean&&1!=l?(l=(null==(s=e.Object._scope.String)?e.cm("String"):s)["$==="](b))===f||l._isBoolean&&1!=l?b.$dup():y.Helpers.$normalize_lines_from_string(b):[]},r.$content=s=function(){var o,d,i=n.call(arguments,0),t=this,l=s._p,u=f,p=f,r=f,a=f;return s._p=null,function(){if(u=t.content_model,"compound"["$==="](u))return e.find_super_dispatcher(t,"content",s,l).apply(t,i);if("simple"["$==="](u))return t.$apply_subs(t.lines["$*"](y.EOL),t.subs);if("verbatim"["$==="](u)||"raw"["$==="](u)){if(p=t.$apply_subs(t.lines,t.subs),p.$size()["$<"](2))return p["$[]"](0);for(;d=r=p["$[]"](0),(o=d!==!1&&d!==f?r.$rstrip()["$empty?"]():d)!==f&&(!o._isBoolean||1==o);)p.$shift();for(;d=a=p["$[]"](-1),(o=d!==!1&&d!==f?a.$rstrip()["$empty?"]():d)!==f&&(!o._isBoolean||1==o);)p.$pop();return p["$*"](y.EOL)}return t.content_model["$=="]("empty")||t.$warn("Unknown content model '"+t.content_model+"' for block: "+t.$to_s()),f}()},r.$source=function(){var e=this;return e.lines["$*"](y.EOL)},r.$to_s=function(){var e=this,o=f;return o=function(){return e.content_model["$=="]("compound")?"blocks: "+e.blocks.$size():"lines: "+e.lines.$size()}(),"#<"+e.$class()+"@"+e.$object_id()+" {context: "+e.context.$inspect()+", content_model: "+e.content_model.$inspect()+", style: "+e.style.$inspect()+", "+o+"}>"},f&&"to_s"}(l,u.AbstractBlock)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(e){var o=n(e,"Asciidoctor");o._proto,o._scope,!function(e,o){function n(){}var t=n=d(e,o,"Callouts",n),l=t._proto;return t._scope,l.co_index=l.lists=l.list_index=f,l.$initialize=function(){var e=this;return e.lists=[],e.list_index=0,e.$next_list()},l.$register=function(e){var o=this,n=f;return o.$current_list()["$<<"](i(["ordinal","id"],{ordinal:e.$to_i(),id:n=o.$generate_next_callout_id()})),o.co_index=o.co_index["$+"](1),n},l.$read_next_id=function(){var e=this,o=f,n=f;return o=f,n=e.$current_list(),e.co_index["$<="](n.$size())&&(o=n["$[]"](e.co_index["$-"](1))["$[]"]("id")),e.co_index=e.co_index["$+"](1),o},l.$callout_ids=function(e){var o,n,d,i=this;return(o=(n=i.$current_list()).$map,o._p=(d=function(o){return d._s||this,null==o&&(o=f),o["$[]"]("ordinal")["$=="](e)?""+o["$[]"]("id")+" ":f},d._s=i,d),o).call(n).$join().$chop()},l.$current_list=function(){var e=this;return e.lists["$[]"](e.list_index["$-"](1))},l.$next_list=function(){var e=this;return e.list_index=e.list_index["$+"](1),e.lists.$size()["$<"](e.list_index)&&e.lists["$<<"]([]),e.co_index=1,f},l.$rewind=function(){var e=this;return e.list_index=1,e.co_index=1,f},l.$generate_next_callout_id=function(){var e=this;return e.$generate_callout_id(e.list_index,e.co_index)},l.$generate_callout_id=function(e,o){return"CO"+e+"-"+o},f&&"generate_callout_id"}(o,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor"),l=(t._proto,t._scope);!function(e){var o=n(e,"Converter");o._proto,o._scope}(t),function(e,o){function f(){}var n=f=d(e,o,"Base",f),i=(n._proto,n._scope);return n.$include(i.Converter)}(l.Converter,null),function(o,n){function t(){}var l=t=d(o,n,"BuiltIn",t),u=l._proto;return l._scope,u.$initialize=function(e,o){return null==o&&(o=i([],{})),f},u.$convert=function(e,o,n){var d,t=this;return null==o&&(o=f),null==n&&(n=i([],{})),(d=o)!==!1&&d!==f?d:o=e.$node_name(),(d=n["$empty?"]())===f||d._isBoolean&&1!=d?t.$send(o,e,n):t.$send(o,e)},e.defn(l,"$handles?",u["$respond_to?"]),u.$content=function(e){return e.$content()},e.defn(l,"$pass",u.$content),u.$skip=function(){return f},f&&"skip"}(l.Converter,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor");t._proto,t._scope,!function(o){var t=n(o,"Converter");t._proto,t._scope,!function(o,n){function t(){}var l=t=d(o,n,"Factory",t),u=l._proto,s=l._scope;return u.converters=u.star_converter=f,l.__default__=f,function(o){return o._scope,o._proto,o._proto.$default=function(o){var n,d,i=this;return null==i.__default__&&(i.__default__=f),null==o&&(o=!0),o===!1||o===f?(n=i.__default__)!==!1&&n!==f?n:i.$new():(n=i.__default__)!==!1&&n!==f?n:i.__default__=function(){try{!function(){return(d=null==e.Object._scope.ThreadSafe?f:"constant")===f||d._isBoolean&&1!=d?!0:f}(),i.$new((null==(d=e.Object._scope.ThreadSafe)?e.cm("ThreadSafe"):d)._scope.Cache.$new())}catch(o){if(!e.$rescue(o,[null==(d=e.Object._scope.LoadError)?e.cm("LoadError"):d]))throw o;i.$warn("asciidoctor: WARNING: gem 'thread_safe' is not installed. This gem recommended when registering custom converters."),i.$new()}}()},o._proto.$register=function(e,o){var f=this;return null==o&&(o=["*"]),f.$default().$register(e,o)},o._proto.$resolve=function(e){var o=this;return o.$default().$resolve(e)},o._proto.$create=function(e,o){var f=this;return null==o&&(o=i([],{})),f.$default().$create(e,o)},o._proto.$converters=function(){var e=this;return e.$default().$converters()},o._proto.$unregister_all=function(){var e=this;return e.$default().$unregister_all()},f&&"unregister_all"}(l.$singleton_class()),l.$attr_reader("converters"),u.$initialize=function(e){var o,n=this;return null==e&&(e=f),n.converters=(o=e)!==!1&&o!==f?o:i([],{}),n.star_converter=f},u.$register=function(e,o){var n,d,i,t=this;return null==o&&(o=["*"]),(n=(d=o).$each,n._p=(i=function(o){var n=i._s||this;return null==n.converters&&(n.converters=f),null==o&&(o=f),n.converters["$[]="](o,e),o["$=="]("*")?n.star_converter=e:f},i._s=t,i),n).call(d),f},u.$resolve=function(e){var o,n,d=this;return o=d.converters,o!==!1&&o!==f?(n=d.converters["$[]"](e))!==!1&&n!==f?n:d.star_converter:o},u.$unregister_all=function(){var e=this;return e.converters.$clear(),e.star_converter=f},u.$create=function(o,n){var d,t,l=this,u=f,p=f,r=f,y=f;return null==n&&(n=i([],{})),(d=u=l.$resolve(o))===f||d._isBoolean&&1!=d?(p=function(){return r=o,"html5"["$==="](r)?((d=function(){try{return null!=(null==(t=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):t)._scope.Converter._scope.Html5Converter?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}())!==f&&(!d._isBoolean||1==d),s.Html5Converter.$new(o,n)):"docbook5"["$==="](r)?((d=function(){try{return null!=(null==(t=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):t)._scope.Converter._scope.DocBook5Converter?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}())!==f&&(!d._isBoolean||1==d),s.DocBook5Converter.$new(o,n)):"docbook45"["$==="](r)?((d=function(){try{return null!=(null==(t=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):t)._scope.Converter._scope.DocBook45Converter?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}())!==f&&(!d._isBoolean||1==d),s.DocBook45Converter.$new(o,n)):f}(),(d=n["$key?"]("template_dirs"))===f||d._isBoolean&&1!=d?p:((d=function(){try{return null!=(null==(t=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):t)._scope.Converter._scope.TemplateConverter?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}())!==f&&(!d._isBoolean||1==d),(d=function(){try{return null!=(null==(t=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):t)._scope.Converter._scope.CompositeConverter?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}())!==f&&(!d._isBoolean||1==d),y=s.TemplateConverter.$new(o,n["$[]"]("template_dirs"),n),s.CompositeConverter.$new(o,y,p))):(d=u["$is_a?"](null==(t=e.Object._scope.Class)?e.cm("Class"):t))===f||d._isBoolean&&1!=d?u:u.$new(o,n)},f&&"create"}(t,null)}(t)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.range,t=e.hash2;return function(o){var l=d(o,"Asciidoctor");l._proto,l._scope,!function(o){var l=d(o,"Converter"),u=l._proto,s=l._scope;!function(o){var i=d(o,"Config"),t=i._proto,l=i._scope;t.$register_for=function(e){var o,d,i,t,u,s=this,p=f;return e=n.call(arguments,0),l.Factory.$register(s,e),p=function(e){return e._scope,e._proto,e}(s.$singleton_class()),e["$=="](["*"])?(o=(d=p).$send,o._p=(i=function(e){return i._s||this,null==e&&(e=f),!0},i._s=s,i),o).call(d,"define_method","converts?"):(o=(t=p).$send,o._p=(u=function(o){return u._s||this,null==o&&(o=f),e["$include?"](o)},u._s=s,u),o).call(t,"define_method","converts?"),f},e.donate(i,["$register_for"])}(l),function(o){var n=d(o,"BackendInfo"),l=n._proto,u=n._scope;l.$backend_info=function(){var e,o=this;return null==o.backend_info&&(o.backend_info=f),(e=o.backend_info)!==!1&&e!==f?e:o.backend_info=o.$setup_backend_info()},l.$setup_backend_info=function(){var o,n=this,d=f,l=f,s=f,p=f;return null==n.backend&&(n.backend=f),((o=n.backend)===f||o._isBoolean&&1!=o)&&n.$raise(null==(o=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):o,"Cannot determine backend for converter: "+n.$class()),d=n.backend.$sub(u.TrailingDigitsRx,""),(o=l=u.DEFAULT_EXTENSIONS["$[]"](d))===f||o._isBoolean&&1!=o?(d="html",l=".html",s="html",p="html"):s=l["$[]"](i(1,-1,!1)),t(["basebackend","outfilesuffix","filetype","htmlsyntax"],{basebackend:d,outfilesuffix:l,filetype:s,htmlsyntax:p})},l.$filetype=function(e){var o=this;return null==e&&(e=f),e!==!1&&e!==f?o.$backend_info()["$[]="]("filetype",e):o.$backend_info()["$[]"]("filetype")},l.$basebackend=function(e){var o=this;return null==e&&(e=f),e!==!1&&e!==f?o.$backend_info()["$[]="]("basebackend",e):o.$backend_info()["$[]"]("basebackend")},l.$outfilesuffix=function(e){var o=this;return null==e&&(e=f),e!==!1&&e!==f?o.$backend_info()["$[]="]("outfilesuffix",e):o.$backend_info()["$[]"]("outfilesuffix")},l.$htmlsyntax=function(e){var o=this;return null==e&&(e=f),e!==!1&&e!==f?o.$backend_info()["$[]="]("htmlsyntax",e):o.$backend_info()["$[]"]("htmlsyntax")},e.donate(n,["$backend_info","$setup_backend_info","$filetype","$basebackend","$outfilesuffix","$htmlsyntax"])}(l),function(e){var o=e._scope;return e._proto,e._proto.$included=function(e){return e.$extend(o.Config)},f&&"included"}(l.$singleton_class()),l.$include(s.Config),l.$include(s.BackendInfo),u.$initialize=function(e,o){var f=this;return null==o&&(o=t([],{})),f.backend=e,f.$setup_backend_info()},u.$convert=function(o,n,d){var i,l=this;return null==n&&(n=f),null==d&&(d=t([],{})),l.$raise(null==(i=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):i)},e.defn(l,"$convert_with_options",u.$convert),e.donate(l,["$initialize","$convert","$convert_with_options"])}(l),function(o){var n=d(o,"Writer"),i=n._proto,t=n._scope;i.$write=function(o,n){var d,i,l,u,s=this;return(d=n["$respond_to?"]("write"))===f||d._isBoolean&&1!=d?(d=(i=null==(u=e.Object._scope.File)?e.cm("File"):u).$open,d._p=(l=function(e){return l._s||this,null==e&&(e=f),e.$write(o)},l._s=s,l),d).call(i,n,"w"):(n.$write(o.$chomp()),n.$write(t.EOL)),f},e.donate(n,["$write"])}(l),function(o){var n=d(o,"VoidWriter"),i=n._proto,t=n._scope;n.$include(t.Writer),i.$write=function(){return f},e.donate(n,["$write"])}(l)}(o),!0}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2,t=e.range;return function(o){var l=n(o,"Asciidoctor"),u=(l._proto,l._scope);!function(o,n){function l(){}var u=l=d(o,n,"Html5Converter",l),s=u._proto,p=u._scope;return s.xml_mode=s.void_element_slash=s.stylesheets=f,e.cdecl(p,"QUOTE_TAGS",i(["emphasis","strong","monospaced","superscript","subscript","double","single","mark","asciimath","latexmath"],{emphasis:["<em>","</em>",!0],strong:["<strong>","</strong>",!0],monospaced:["<code>","</code>",!0],superscript:["<sup>","</sup>",!0],subscript:["<sub>","</sub>",!0],"double":["&#8220;","&#8221;",!1],single:["&#8216;","&#8217;",!1],mark:["<mark>","</mark>",!0],asciimath:["\\$","\\$",!1],latexmath:["\\(","\\)",!1]})),p.QUOTE_TAGS["$default="]([f,f,f]),s.$initialize=function(e,o){var n,d=this;return null==o&&(o=i([],{})),d.xml_mode=o["$[]"]("htmlsyntax")["$=="]("xml"),d.void_element_slash=function(){return(n=d.xml_mode)===f||n._isBoolean&&1!=n?f:"/"}(),d.stylesheets=p.Stylesheets.$instance()},s.$document=function(e){var o,n,d,l,u,s=this,r=f,y=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f,A=f,B=f,C=f;return r=[],y=s.void_element_slash,a="<br"+y+">",c=e.$attr("asset-uri-scheme","https"),((o=c["$empty?"]())===f||o._isBoolean&&1!=o)&&(c=""+c+":"),b=""+c+"//cdnjs.cloudflare.com/ajax/libs",w=(o=e.$safe()["$>="](p.SafeMode._scope.SECURE))!==!1&&o!==f?o:e["$attr?"]("linkcss"),r["$<<"]("<!DOCTYPE html>"),g=function(){return(o=e["$attr?"]("nolang"))===f||o._isBoolean&&1!=o?' lang="'+e.$attr("lang","en")+'"':f}(),r["$<<"]("<html"+function(){return(o=s.xml_mode)===f||o._isBoolean&&1!=o?f:' xmlns="http://www.w3.org/1999/xhtml"'}()+g+">"),r["$<<"]('<head>\n<meta charset="'+e.$attr("encoding","UTF-8")+'"'+y+'>\n<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"'+y+'><![endif]-->\n<meta name="viewport" content="width=device-width, initial-scale=1.0"'+y+'>\n<meta name="generator" content="Asciidoctor '+e.$attr("asciidoctor-version")+'"'+y+">"),(o=e["$attr?"]("app-name"))===f||o._isBoolean&&1!=o||r["$<<"]('<meta name="application-name" content="'+e.$attr("app-name")+'"'+y+">"),(o=e["$attr?"]("description"))===f||o._isBoolean&&1!=o||r["$<<"]('<meta name="description" content="'+e.$attr("description")+'"'+y+">"),(o=e["$attr?"]("keywords"))===f||o._isBoolean&&1!=o||r["$<<"]('<meta name="keywords" content="'+e.$attr("keywords")+'"'+y+">"),(o=e["$attr?"]("authors"))===f||o._isBoolean&&1!=o||r["$<<"]('<meta name="author" content="'+e.$attr("authors")+'"'+y+">"),(o=e["$attr?"]("copyright"))===f||o._isBoolean&&1!=o||r["$<<"]('<meta name="copyright" content="'+e.$attr("copyright")+'"'+y+">"),r["$<<"]("<title>"+e.$doctitle(i(["sanitize","use_fallback"],{sanitize:!0,use_fallback:!0}))+"</title>"),(o=p.DEFAULT_STYLESHEET_KEYS["$include?"](e.$attr("stylesheet")))===f||o._isBoolean&&1!=o?(o=e["$attr?"]("stylesheet"))===f||o._isBoolean&&1!=o||r["$<<"](w!==!1&&w!==f?'<link rel="stylesheet" href="'+e.$normalize_web_path(e.$attr("stylesheet"),e.$attr("stylesdir",""))+'"'+y+">":"<style>\n"+e.$read_asset(e.$normalize_system_path(e.$attr("stylesheet"),e.$attr("stylesdir","")),i(["warn_on_failure"],{warn_on_failure:!0}))+"\n</style>"):((o=m=e.$attr("webfonts"))===f||o._isBoolean&&1!=o||r["$<<"]('<link rel="stylesheet" href="'+c+"//fonts.googleapis.com/css?family="+function(){return(o=m["$empty?"]())===f||o._isBoolean&&1!=o?m:"Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400"}()+'"'+y+">"),r["$<<"](w!==!1&&w!==f?'<link rel="stylesheet" href="'+e.$normalize_web_path(p.DEFAULT_STYLESHEET_NAME,e.$attr("stylesdir",""),!1)+'"'+y+">":s.stylesheets.$embed_primary_stylesheet())),(o=e["$attr?"]("icons","font"))===f||o._isBoolean&&1!=o||((o=e["$attr?"]("iconfont-remote"))===f||o._isBoolean&&1!=o?(x=""+e.$attr("iconfont-name","font-awesome")+".css",r["$<<"]('<link rel="stylesheet" href="'+e.$normalize_web_path(x,e.$attr("stylesdir",""),!1)+'"'+y+">")):r["$<<"]('<link rel="stylesheet" href="'+e.$attr("iconfont-cdn",""+b+"/font-awesome/4.2.0/css/font-awesome.min.css")+'"'+y+">")),j=e.$attr("source-highlighter"),"coderay"["$==="](j)?e.$attr("coderay-css","class")["$=="]("class")&&r["$<<"](w!==!1&&w!==f?'<link rel="stylesheet" href="'+e.$normalize_web_path(s.stylesheets.$coderay_stylesheet_name(),e.$attr("stylesdir",""),!1)+'"'+y+">":s.stylesheets.$embed_coderay_stylesheet()):"pygments"["$==="](j)?e.$attr("pygments-css","class")["$=="]("class")&&(k=e.$attr("pygments-style"),r["$<<"](w!==!1&&w!==f?'<link rel="stylesheet" href="'+e.$normalize_web_path(s.stylesheets.$pygments_stylesheet_name(k),e.$attr("stylesdir",""),!1)+'"'+y+">":s.stylesheets.$embed_pygments_stylesheet(k))):"highlightjs"["$==="](j)||"highlight.js"["$==="](j)?(v=e.$attr("highlightjsdir",""+b+"/highlight.js/8.4"),r["$<<"]('<link rel="stylesheet" href="'+v+"/styles/"+e.$attr("highlightjs-theme","github")+'.min.css"'+y+'>\n<script src="'+v+'/highlight.min.js"></script>\n<script>hljs.initHighlightingOnLoad()</script>')):"prettify"["$==="](j)&&(P=e.$attr("prettifydir",""+b+"/prettify/r298"),r["$<<"]('<link rel="stylesheet" href="'+P+"/"+e.$attr("prettify-theme","prettify")+'.min.css"'+y+'>\n<script src="'+P+"/prettify.min.js\"></script>\n<script>document.addEventListener('DOMContentLoaded', prettyPrint)</script>")),(o=e["$attr?"]("stem"))===f||o._isBoolean&&1!=o||(h=e.$attr("eqnums","none"),h["$=="]("")&&(h="AMS"),q=' equationNumbers: { autoNumber: "'+h+'" } ',r["$<<"]('<script type="text/x-mathjax-config">\nMathJax.Hub.Config({\n  tex2jax: {\n    inlineMath: ['+p.INLINE_MATH_DELIMITERS["$[]"]("latexmath").$to_s()+"],\n    displayMath: ["+p.BLOCK_MATH_DELIMITERS["$[]"]("latexmath").$to_s()+'],\n    ignoreClass: "nostem|nolatexmath"\n  },\n  asciimath2jax: {\n    delimiters: ['+p.BLOCK_MATH_DELIMITERS["$[]"]("asciimath").$to_s()+'],\n    ignoreClass: "nostem|noasciimath"\n  },\n  TeX: {'+q+'}\n});\n</script>\n<script src="'+b+'/mathjax/2.4.0/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>')),((o=(z=e.$docinfo())["$empty?"]())===f||o._isBoolean&&1!=o)&&r["$<<"](z),r["$<<"]("</head>"),A=[],(o=e.$id())===f||o._isBoolean&&1!=o||A["$<<"]('id="'+e.$id()+'"'),d=e["$attr?"]("toc-class"),n=d!==!1&&d!==f?e["$attr?"]("toc"):d,A["$<<"]((o=n!==!1&&n!==f?e["$attr?"]("toc-placement","auto"):n)===f||o._isBoolean&&1!=o?'class="'+e.$doctype()+'"':'class="'+e.$doctype()+" "+e.$attr("toc-class")+" toc-"+e.$attr("toc-position","header")+'"'),(o=e["$attr?"]("max-width"))===f||o._isBoolean&&1!=o||A["$<<"]('style="max-width: '+e.$attr("max-width")+';"'),r["$<<"]("<body "+A["$*"](" ")+">"),((o=e.$noheader())===f||o._isBoolean&&1!=o)&&(r["$<<"]('<div id="header">'),e.$doctype()["$=="]("manpage")?(r["$<<"]("<h1>"+e.$doctitle()+" Manual Page</h1>"),n=e["$attr?"]("toc"),(o=n!==!1&&n!==f?e["$attr?"]("toc-placement","auto"):n)===f||o._isBoolean&&1!=o||r["$<<"]('<div id="toc" class="'+e.$attr("toc-class","toc")+'">\n<div id="toctitle">'+e.$attr("toc-title")+"</div>\n"+s.$outline(e)+"\n</div>"),r["$<<"]("<h2>"+e.$attr("manname-title")+'</h2>\n<div class="sectionbody">\n<p>'+e.$attr("manname")+" - "+e.$attr("manpurpose")+"</p>\n</div>")):((o=e["$has_header?"]())===f||o._isBoolean&&1!=o||(((o=e.$notitle())===f||o._isBoolean&&1!=o)&&r["$<<"]("<h1>"+e.$header().$title()+"</h1>"),B=[],(o=e["$attr?"]("author"))===f||o._isBoolean&&1!=o||(B["$<<"]('<span id="author" class="author">'+e.$attr("author")+"</span>"+a),(o=e["$attr?"]("email"))===f||o._isBoolean&&1!=o||B["$<<"]('<span id="email" class="email">'+e.$sub_macros(e.$attr("email"))+"</span>"+a),(C=e.$attr("authorcount").$to_i())["$>"](1)&&(o=(n=t(2,C,!1)).$each,o._p=(l=function(o){var n;return l._s||this,null==o&&(o=f),B["$<<"]('<span id="author'+o+'" class="author">'+e.$attr("author_"+o)+"</span>"+a),(n=e["$attr?"]("email_"+o))===f||n._isBoolean&&1!=n?f:B["$<<"]('<span id="email'+o+'" class="email">'+e.$sub_macros(e.$attr("email_"+o))+"</span>"+a)},l._s=s,l),o).call(n)),(o=e["$attr?"]("revnumber"))===f||o._isBoolean&&1!=o||B["$<<"]('<span id="revnumber">'+((o=e.$attr("version-label"))!==!1&&o!==f?o:"").$downcase()+" "+e.$attr("revnumber")+function(){return(o=e["$attr?"]("revdate"))===f||o._isBoolean&&1!=o?"":","}()+"</span>"),(o=e["$attr?"]("revdate"))===f||o._isBoolean&&1!=o||B["$<<"]('<span id="revdate">'+e.$attr("revdate")+"</span>"),(o=e["$attr?"]("revremark"))===f||o._isBoolean&&1!=o||B["$<<"](""+a+'<span id="revremark">'+e.$attr("revremark")+"</span>"),((o=B["$empty?"]())===f||o._isBoolean&&1!=o)&&(r["$<<"]('<div class="details">'),r.$concat(B),r["$<<"]("</div>"))),d=e["$attr?"]("toc"),(o=d!==!1&&d!==f?e["$attr?"]("toc-placement","auto"):d)===f||o._isBoolean&&1!=o||r["$<<"]('<div id="toc" class="'+e.$attr("toc-class","toc")+'">\n<div id="toctitle">'+e.$attr("toc-title")+"</div>\n"+s.$outline(e)+"\n</div>")),r["$<<"]("</div>")),r["$<<"]('<div id="content">\n'+e.$content()+"\n</div>"),d=e["$footnotes?"](),(o=d!==!1&&d!==f?e["$attr?"]("nofootnotes")["$!"]():d)===f||o._isBoolean&&1!=o||(r["$<<"]('<div id="footnotes">\n<hr'+y+">"),(o=(d=e.$footnotes()).$each,o._p=(u=function(e){return u._s||this,null==e&&(e=f),r["$<<"]('<div class="footnote" id="_footnote_'+e.$index()+'">\n<a href="#_footnoteref_'+e.$index()+'">'+e.$index()+"</a>. "+e.$text()+"\n</div>")},u._s=s,u),o).call(d),r["$<<"]("</div>")),((o=e.$nofooter())===f||o._isBoolean&&1!=o)&&(r["$<<"]('<div id="footer">'),r["$<<"]('<div id="footer-text">'),(o=e["$attr?"]("revnumber"))===f||o._isBoolean&&1!=o||r["$<<"](""+e.$attr("version-label")+" "+e.$attr("revnumber")+a),(o=e["$attr?"]("last-update-label"))===f||o._isBoolean&&1!=o||r["$<<"](""+e.$attr("last-update-label")+" "+e.$attr("docdatetime")),r["$<<"]("</div>"),((o=(z=e.$docinfo("footer"))["$empty?"]())===f||o._isBoolean&&1!=o)&&r["$<<"](z),r["$<<"]("</div>")),r["$<<"]("</body>"),r["$<<"]("</html>"),r["$*"](p.EOL)},s.$embedded=function(e){var o,n,d,i=this,t=f,l=f;return t=[],n=e.$notitle()["$!"](),(o=n!==!1&&n!==f?e["$has_header?"]():n)===f||o._isBoolean&&1!=o||(l=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),t["$<<"]("<h1"+l+">"+e.$header().$title()+"</h1>")),t["$<<"](e.$content()),n=e["$footnotes?"](),(o=n!==!1&&n!==f?e["$attr?"]("nofootnotes")["$!"]():n)===f||o._isBoolean&&1!=o||(t["$<<"]('<div id="footnotes">\n<hr'+i.void_element_slash+">"),(o=(n=e.$footnotes()).$each,o._p=(d=function(e){return d._s||this,null==e&&(e=f),t["$<<"]('<div class="footnote" id="_footnote_'+e.$index()+'">\n<a href="#_footnoteref_'+e.$index()+'">'+e.$index()+"</a> "+e.$text()+"\n</div>")},d._s=i,d),o).call(n),t["$<<"]("</div>")),t["$*"](p.EOL)},s.$outline=function(e,o){var n,d,t,l=this,u=f,s=f,r=f,y=f,a=f,c=f;return null==o&&(o=i([],{})),(n=(u=e.$sections())["$empty?"]())===f||n._isBoolean&&1!=n?(s=(n=o["$[]"]("sectnumlevels"))!==!1&&n!==f?n:e.$document().$attr("sectnumlevels",3).$to_i(),r=(n=o["$[]"]("toclevels"))!==!1&&n!==f?n:e.$document().$attr("toclevels",2).$to_i(),y=[],a=(c=u["$[]"](0)).$level(),(n=(d=a["$=="](0))?c.$special():d)===f||n._isBoolean&&1!=n||(a=1),y["$<<"]('<ul class="sectlevel'+a+'">'),(n=(d=u).$each,
  n._p=(t=function(e){var o,n,d,l=t._s||this,u=f,p=f;return null==e&&(e=f),u=function(){return d=e.$numbered(),n=d!==!1&&d!==f?e.$caption()["$!"]():d,(o=n!==!1&&n!==f?e.$level()["$<="](s):n)===f||o._isBoolean&&1!=o?f:""+e.$sectnum()+" "}(),(o=(n=e.$level()["$<"](r))?p=l.$outline(e,i(["toclevels","secnumlevels"],{toclevels:r,secnumlevels:s})):n)===f||o._isBoolean&&1!=o?y["$<<"]('<li><a href="#'+e.$id()+'">'+u+e.$captioned_title()+"</a></li>"):(y["$<<"]('<li><a href="#'+e.$id()+'">'+u+e.$captioned_title()+"</a>"),y["$<<"](p),y["$<<"]("</li>"))},t._s=l,t),n).call(d),y["$<<"]("</ul>"),y["$*"](p.EOL)):f},s.$section=function(e){var o,n,d,i=f,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f;return i=e.$level(),(o=(n=i["$=="](0))?e.$special():n)===f||o._isBoolean&&1!=o||(i=1),t="h"+i["$+"](1),l=u=s=p=f,(o=e.$id())===f||o._isBoolean&&1!=o||(l=' id="'+e.$id()+'"',(o=e.$document()["$attr?"]("sectanchors"))===f||o._isBoolean&&1!=o?(o=e.$document()["$attr?"]("sectlinks"))===f||o._isBoolean&&1!=o||(s='<a class="link" href="#'+e.$id()+'">',p="</a>"):u='<a class="anchor" href="#'+e.$id()+'"></a>'),i["$=="](0)?"<h1"+l+' class="sect0">'+u+s+e.$title()+p+"</h1>\n"+e.$content():(r=function(){return(o=y=e.$role())===f||o._isBoolean&&1!=o?' class="sect'+i+'"':' class="sect'+i+" "+y+'"'}(),a=function(){return d=e.$numbered(),n=d!==!1&&d!==f?e.$caption()["$!"]():d,(o=n!==!1&&n!==f?i["$<="](e.$document().$attr("sectnumlevels",3).$to_i()):n)===f||o._isBoolean&&1!=o?f:""+e.$sectnum()+" "}(),"<div"+r+">\n<"+t+l+">"+u+s+a+e.$captioned_title()+p+"</"+t+">\n"+function(){return i["$=="](1)?'<div class="sectionbody">\n'+e.$content()+"\n</div>":e.$content()}()+"\n</div>")},s.$admonition=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f;return d=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),i=e.$attr("name"),t=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$title()+"</div>\n"}(),l=function(){return(o=e.$document()["$attr?"]("icons"))===f||o._isBoolean&&1!=o?'<div class="title">'+e.$caption()+"</div>":(o=e.$document()["$attr?"]("icons","font"))===f||o._isBoolean&&1!=o?'<img src="'+e.$icon_uri(i)+'" alt="'+e.$caption()+'"'+n.void_element_slash+">":'<i class="fa icon-'+i+'" title="'+e.$caption()+'"></i>'}(),"<div"+d+' class="admonitionblock '+i+(o=u=e.$role(),o!==!1&&o!==f?" "+u:o)+'">\n<table>\n<tr>\n<td class="icon">\n'+l+'\n</td>\n<td class="content">\n'+t+e.$content()+"\n</td>\n</tr>\n</table>\n</div>"},s.$audio=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f;return d=e.$document()["$attr?"]("htmlsyntax","xml"),i=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),t=["audioblock",e.$style(),e.$role()].$compact(),l=' class="'+t["$*"](" ")+'"',u=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$captioned_title()+"</div>\n"}(),"<div"+i+l+">\n"+u+'<div class="content">\n<audio src="'+e.$media_uri(e.$attr("target"))+'"'+function(){return(o=e["$option?"]("autoplay"))===f||o._isBoolean&&1!=o?f:n.$append_boolean_attribute("autoplay",d)}()+function(){return(o=e["$option?"]("nocontrols"))===f||o._isBoolean&&1!=o?n.$append_boolean_attribute("controls",d):f}()+function(){return(o=e["$option?"]("loop"))===f||o._isBoolean&&1!=o?f:n.$append_boolean_attribute("loop",d)}()+">\nYour browser does not support the audio tag.\n</audio>\n</div>\n</div>"},s.$colist=function(e){var o,n,d,i,t,l=this,u=f,s=f,r=f,y=f,a=f;return u=[],s=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),r=["colist",e.$style(),e.$role()].$compact(),y=' class="'+r["$*"](" ")+'"',u["$<<"]("<div"+s+y+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]('<div class="title">'+e.$title()+"</div>"),(o=e.$document()["$attr?"]("icons"))===f||o._isBoolean&&1!=o?(u["$<<"]("<ol>"),(o=(i=e.$items()).$each,o._p=(t=function(e){return t._s||this,null==e&&(e=f),u["$<<"]("<li>\n<p>"+e.$text()+"</p>\n</li>")},t._s=l,t),o).call(i),u["$<<"]("</ol>")):(u["$<<"]("<table>"),a=e.$document()["$attr?"]("icons","font"),(o=(n=e.$items()).$each_with_index,o._p=(d=function(o,n){var i=d._s||this,t=f,l=f;return null==i.void_element_slash&&(i.void_element_slash=f),null==o&&(o=f),null==n&&(n=f),t=n["$+"](1),l=function(){return a!==!1&&a!==f?'<i class="conum" data-value="'+t+'"></i><b>'+t+"</b>":'<img src="'+e.$icon_uri("callouts/"+t)+'" alt="'+t+'"'+i.void_element_slash+">"}(),u["$<<"]("<tr>\n<td>"+l+"</td>\n<td>"+o.$text()+"</td>\n</tr>")},d._s=l,d),o).call(n),u["$<<"]("</table>")),u["$<<"]("</div>"),u["$*"](p.EOL)},s.$dlist=function(e){var o,n,d,i,t,l,u,s=this,r=f,y=f,a=f,c=f,b=f,w=f,g=f,m=f;return r=[],y=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),a=function(){return c=e.$style(),"qanda"["$==="](c)?["qlist","qanda",e.$role()]:"horizontal"["$==="](c)?["hdlist",e.$role()]:["dlist",e.$style(),e.$role()]}().$compact(),b=' class="'+a["$*"](" ")+'"',r["$<<"]("<div"+y+b+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||r["$<<"]('<div class="title">'+e.$title()+"</div>"),c=e.$style(),"qanda"["$==="](c)?(r["$<<"]("<ol>"),(o=(n=e.$items()).$each,o._p=(d=function(e,o){var n,i,t,l=d._s||this;return null==e&&(e=f),null==o&&(o=f),r["$<<"]("<li>"),(n=(i=[].concat(e)).$each,n._p=(t=function(e){return t._s||this,null==e&&(e=f),r["$<<"]("<p><em>"+e.$text()+"</em></p>")},t._s=l,t),n).call(i),o!==!1&&o!==f&&((n=o["$text?"]())===f||n._isBoolean&&1!=n||r["$<<"]("<p>"+o.$text()+"</p>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||r["$<<"](o.$content())),r["$<<"]("</li>")},d._s=s,d),o).call(n),r["$<<"]("</ol>")):"horizontal"["$==="](c)?(w=s.void_element_slash,r["$<<"]("<table>"),(o=(i=e["$attr?"]("labelwidth"))!==!1&&i!==f?i:e["$attr?"]("itemwidth"))===f||o._isBoolean&&1!=o||(r["$<<"]("<colgroup>"),g=function(){return(o=e["$attr?"]("labelwidth"))===f||o._isBoolean&&1!=o?f:' style="width: '+e.$attr("labelwidth").$chomp("%")+'%;"'}(),r["$<<"]("<col"+g+w+">"),g=function(){return(o=e["$attr?"]("itemwidth"))===f||o._isBoolean&&1!=o?f:' style="width: '+e.$attr("itemwidth").$chomp("%")+'%;"'}(),r["$<<"]("<col"+g+w+">"),r["$<<"]("</colgroup>")),(o=(i=e.$items()).$each,o._p=(t=function(o,n){var d,i,l,u=t._s||this,s=f,p=f;return null==o&&(o=f),null==n&&(n=f),r["$<<"]("<tr>"),r["$<<"]('<td class="hdlist1'+function(){return(d=e["$option?"]("strong"))===f||d._isBoolean&&1!=d?f:" strong"}()+'">'),s=[].concat(o),p=s["$[]"](-1),(d=(i=s).$each,d._p=(l=function(e){var o;return l._s||this,null==e&&(e=f),r["$<<"](e.$text()),(o=e["$=="](p)["$!"]())===f||o._isBoolean&&1!=o?f:r["$<<"]("<br"+w+">")},l._s=u,l),d).call(i),r["$<<"]("</td>"),r["$<<"]('<td class="hdlist2">'),n!==!1&&n!==f&&((d=n["$text?"]())===f||d._isBoolean&&1!=d||r["$<<"]("<p>"+n.$text()+"</p>"),(d=n["$blocks?"]())===f||d._isBoolean&&1!=d||r["$<<"](n.$content())),r["$<<"]("</td>"),r["$<<"]("</tr>")},t._s=s,t),o).call(i),r["$<<"]("</table>")):(r["$<<"]("<dl>"),m=function(){return(o=e.$style())===f||o._isBoolean&&1!=o?' class="hdlist1"':f}(),(o=(l=e.$items()).$each,o._p=(u=function(e,o){var n,d,i,t=u._s||this;return null==e&&(e=f),null==o&&(o=f),(n=(d=[].concat(e)).$each,n._p=(i=function(e){return i._s||this,null==e&&(e=f),r["$<<"]("<dt"+m+">"+e.$text()+"</dt>")},i._s=t,i),n).call(d),o!==!1&&o!==f?(r["$<<"]("<dd>"),(n=o["$text?"]())===f||n._isBoolean&&1!=n||r["$<<"]("<p>"+o.$text()+"</p>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||r["$<<"](o.$content()),r["$<<"]("</dd>")):f},u._s=s,u),o).call(l),r["$<<"]("</dl>")),r["$<<"]("</div>"),r["$*"](p.EOL)},s.$example=function(e){var o,n=f,d=f,i=f;return n=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),d=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$captioned_title()+"</div>\n"}(),"<div"+n+' class="'+function(){return(o=i=e.$role())===f||o._isBoolean&&1!=o?"exampleblock":["exampleblock",i]["$*"](" ")}()+'">\n'+d+'<div class="content">\n'+e.$content()+"\n</div>\n</div>"},s.$floating_title=function(e){var o,n=f,d=f,i=f;return n="h"+e.$level()["$+"](1),d=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),i=[e.$style(),e.$role()].$compact(),"<"+n+d+' class="'+i["$*"](" ")+'">'+e.$title()+"</"+n+">"},s.$image=function(e){var o,n,d=this,i=f,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f,c=f,b=f,w=f;return i=function(){return(o=e["$attr?"]("align"))===f||o._isBoolean&&1!=o?f:e.$attr("align")}(),t=function(){return(o=e["$attr?"]("float"))===f||o._isBoolean&&1!=o?f:e.$attr("float")}(),l=function(){return(o=(n=i)!==!1&&n!==f?n:t)===f||o._isBoolean&&1!=o?f:(u=[function(){return i!==!1&&i!==f?"text-align: "+i:f}(),function(){return t!==!1&&t!==f?"float: "+t:f}()].$compact(),' style="'+u["$*"](";")+'"')}(),s=function(){return(o=e["$attr?"]("width"))===f||o._isBoolean&&1!=o?f:' width="'+e.$attr("width")+'"'}(),p=function(){return(o=e["$attr?"]("height"))===f||o._isBoolean&&1!=o?f:' height="'+e.$attr("height")+'"'}(),r='<img src="'+e.$image_uri(e.$attr("target"))+'" alt="'+e.$attr("alt")+'"'+s+p+d.void_element_slash+">",(o=y=e.$attr("link"))===f||o._isBoolean&&1!=o||(r='<a class="image" href="'+y+'">'+r+"</a>"),a=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),c=["imageblock",e.$style(),e.$role()].$compact(),b=' class="'+c["$*"](" ")+'"',w=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'\n<div class="title">'+e.$captioned_title()+"</div>"}(),"<div"+a+b+l+'>\n<div class="content">\n'+r+"\n</div>"+w+"\n</div>"},s.$listing=function(e){var o,n=f,d=f,i=f,t=f,l=f,u=f,s=f,p=f,r=f,y=f;return n=(o=e.$document()["$attr?"]("prewrap")["$!"]())!==!1&&o!==f?o:e["$option?"]("nowrap"),e.$style()["$=="]("source")?(i=(o=d=e.$attr("language",f,!1))===f||o._isBoolean&&1!=o?f:' data-lang="'+d+'"',t=e.$document().$attr("source-highlighter"),"coderay"["$==="](t)?l=' class="CodeRay highlight'+function(){return n!==!1&&n!==f?" nowrap":f}()+'"':"pygments"["$==="](t)?l=' class="pygments highlight'+function(){return n!==!1&&n!==f?" nowrap":f}()+'"':"highlightjs"["$==="](t)||"highlight.js"["$==="](t)?(l=' class="highlightjs highlight'+function(){return n!==!1&&n!==f?" nowrap":f}()+'"',d!==!1&&d!==f&&(i=' class="language-'+d+'"'+i)):"prettify"["$==="](t)?(l=' class="prettyprint highlight'+function(){return n!==!1&&n!==f?" nowrap":f}()+function(){return(o=e["$attr?"]("linenums"))===f||o._isBoolean&&1!=o?f:" linenums"}()+'"',d!==!1&&d!==f&&(i=' class="language-'+d+'"'+i)):"html-pipeline"["$==="](t)?(l=function(){return d!==!1&&d!==f?' lang="'+d+'"':f}(),i=f):(l=' class="highlight'+function(){return n!==!1&&n!==f?" nowrap":f}()+'"',d!==!1&&d!==f&&(i=' class="language-'+d+'"'+i)),u="<pre"+l+"><code"+i+">",s="</code></pre>"):(u="<pre"+function(){return n!==!1&&n!==f?' class="nowrap"':f}()+">",s="</pre>"),p=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),r=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$captioned_title()+"</div>\n"}(),"<div"+p+' class="listingblock'+(o=y=e.$role(),o!==!1&&o!==f?" "+y:o)+'">\n'+r+'<div class="content">\n'+u+e.$content()+s+"\n</div>\n</div>"},s.$literal=function(e){var o,n=f,d=f,i=f,t=f;return n=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),d=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$title()+"</div>\n"}(),i=(o=e.$document()["$attr?"]("prewrap")["$!"]())!==!1&&o!==f?o:e["$option?"]("nowrap"),"<div"+n+' class="literalblock'+(o=t=e.$role(),o!==!1&&o!==f?" "+t:o)+'">\n'+d+'<div class="content">\n<pre'+function(){return i!==!1&&i!==f?' class="nowrap"':f}()+">"+e.$content()+"</pre>\n</div>\n</div>"},s.$stem=function(o){var n,d,i=f,t=f,l=f,u=f,s=f,r=f;return i=function(){return(n=o.$id())===f||n._isBoolean&&1!=n?f:' id="'+o.$id()+'"'}(),t=function(){return(n=o["$title?"]())===f||n._isBoolean&&1!=n?f:'<div class="title">'+o.$title()+"</div>\n"}(),n=e.to_ary(p.BLOCK_MATH_DELIMITERS["$[]"](o.$style().$to_sym())),l=null==n[0]?f:n[0],u=null==n[1]?f:n[1],d=(s=o.$content())["$start_with?"](l),((n=d!==!1&&d!==f?s["$end_with?"](u):d)===f||n._isBoolean&&1!=n)&&(s=""+l+s+u),"<div"+i+' class="'+function(){return(n=r=o.$role())===f||n._isBoolean&&1!=n?"stemblock":["stemblock",r]["$*"](" ")}()+'">\n'+t+'<div class="content">\n'+s+"\n</div>\n</div>"},s.$olist=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f,r=f,y=f,a=f;return t=[],l=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),u=["olist",e.$style(),e.$role()].$compact(),s=' class="'+u["$*"](" ")+'"',t["$<<"]("<div"+l+s+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]('<div class="title">'+e.$title()+"</div>"),r=function(){return(o=y=e.$list_marker_keyword())===f||o._isBoolean&&1!=o?f:' type="'+y+'"'}(),a=function(){return(o=e["$attr?"]("start"))===f||o._isBoolean&&1!=o?f:' start="'+e.$attr("start")+'"'}(),t["$<<"]('<ol class="'+e.$style()+'"'+r+a+">"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),t["$<<"]("<li>"),t["$<<"]("<p>"+e.$text()+"</p>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</li>")},d._s=i,d),o).call(n),t["$<<"]("</ol>"),t["$<<"]("</div>"),t["$*"](p.EOL)},s.$open=function(e){var o,n,d,i,t=this,l=f,u=f,s=f,p=f;return(l=e.$style())["$=="]("abstract")?(o=(n=e.$parent()["$=="](e.$document()))?e.$document().$doctype()["$=="]("book"):n)===f||o._isBoolean&&1!=o?(u=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),s=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$title()+"</div>"}(),"<div"+u+' class="quoteblock abstract'+(o=p=e.$role(),o!==!1&&o!==f?" "+p:o)+'">\n'+s+"<blockquote>\n"+e.$content()+"\n</blockquote>\n</div>"):(t.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):(o=(n=l["$=="]("partintro"))?(d=(i=e.$level()["$=="](0)["$!"]())!==!1&&i!==f?i:e.$parent().$context()["$=="]("section")["$!"]())!==!1&&d!==f?d:e.$document().$doctype()["$=="]("book")["$!"]():n)===f||o._isBoolean&&1!=o?(u=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),s=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$title()+"</div>"}(),"<div"+u+' class="openblock'+function(){return(o=(n=l!==!1&&l!==f)?l["$=="]("open")["$!"]():n)===f||o._isBoolean&&1!=o?"":" "+l}()+(o=p=e.$role(),o!==!1&&o!==f?" "+p:o)+'">\n'+s+'<div class="content">\n'+e.$content()+"\n</div>\n</div>"):(t.$warn("asciidoctor: ERROR: partintro block can only be used when doctype is book and it's a child of a book part. Excluding block content."),"")},s.$page_break=function(){return'<div style="page-break-after: always;"></div>'},s.$paragraph=function(e){var o,n=f;return n=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?(o=e.$role())===f||o._isBoolean&&1!=o?' class="paragraph"':' class="paragraph '+e.$role()+'"':(o=e.$role())===f||o._isBoolean&&1!=o?' id="'+e.$id()+'" class="paragraph"':' id="'+e.$id()+'" class="paragraph '+e.$role()+'"'}(),(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<div"+n+">\n<p>"+e.$content()+"</p>\n</div>":"<div"+n+'>\n<div class="title">'+e.$title()+"</div>\n<p>"+e.$content()+"</p>\n</div>"},s.$preamble=function(e){var o,n,d=this,i=f;return i=function(){return n=e["$attr?"]("toc"),(o=n!==!1&&n!==f?e["$attr?"]("toc-placement","preamble"):n)===f||o._isBoolean&&1!=o?f:'\n<div id="toc" class="'+e.$attr("toc-class","toc")+'">\n<div id="toctitle">'+e.$attr("toc-title")+"</div>\n"+d.$outline(e.$document())+"\n</div>"}(),'<div id="preamble">\n<div class="sectionbody">\n'+e.$content()+"\n</div>"+i+"\n</div>"},s.$quote=function(e){var o,n,d=this,i=f,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f;return i=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),t=["quoteblock",e.$role()].$compact(),l=' class="'+t["$*"](" ")+'"',u=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'\n<div class="title">'+e.$title()+"</div>"}(),s=function(){return(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o?f:e.$attr("attribution")}(),p=function(){return(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o?f:e.$attr("citetitle")}(),(o=(n=s)!==!1&&n!==f?n:p)===f||o._isBoolean&&1!=o?a=f:(r=function(){return p!==!1&&p!==f?"<cite>"+p+"</cite>":f}(),y=function(){return s!==!1&&s!==f?"&#8212; "+s+function(){return p!==!1&&p!==f?"<br"+d.void_element_slash+">\n":f}():f}(),a='\n<div class="attribution">\n'+y+r+"\n</div>"),"<div"+i+l+">"+u+"\n<blockquote>\n"+e.$content()+"\n</blockquote>"+a+"\n</div>"},s.$thematic_break=function(){var e=this;return"<hr"+e.void_element_slash+">"},s.$sidebar=function(e){var o,n=f,d=f,i=f;return n=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),d=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'<div class="title">'+e.$title()+"</div>\n"}(),"<div"+n+' class="'+function(){return(o=i=e.$role())===f||o._isBoolean&&1!=o?"sidebarblock":["sidebarblock",i]["$*"](" ")}()+'">\n<div class="content">\n'+d+e.$content()+"\n</div>\n</div>"},s.$table=function(e){var o,n,d,i,t,l,u,s,r,y,a=this,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f;return c=[],b=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),w=["tableblock","frame-"+e.$attr("frame","all"),"grid-"+e.$attr("grid","all")],g=[],((o=e["$option?"]("autowidth"))===f||o._isBoolean&&1!=o)&&((m=e.$attr("tablepcwidth"))["$=="](100)?w["$<<"]("spread"):g["$<<"]("width: "+m+"%;")),(o=x=e.$role())===f||o._isBoolean&&1!=o||w["$<<"](x),j=' class="'+w["$*"](" ")+'"',(o=e["$attr?"]("float"))===f||o._isBoolean&&1!=o||g["$<<"]("float: "+e.$attr("float")+";"),k=function(){return(o=g["$empty?"]())===f||o._isBoolean&&1!=o?' style="'+g["$*"](" ")+'"':f}(),c["$<<"]("<table"+b+j+k+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||c["$<<"]('<caption class="title">'+e.$captioned_title()+"</caption>"),e.$attr("rowcount")["$>"](0)&&(v=a.void_element_slash,c["$<<"]("<colgroup>"),(o=e["$option?"]("autowidth"))===f||o._isBoolean&&1!=o?(o=(i=e.$columns()).$each,o._p=(t=function(e){return t._s||this,null==e&&(e=f),c["$<<"]('<col style="width: '+e.$attr("colpcwidth")+'%;"'+v+">")},t._s=a,t),o).call(i):(P="<col"+v+">",(o=(n=e.$columns().$size()).$times,o._p=(d=function(){return d._s||this,c["$<<"](P)},d._s=a,d),o).call(n)),c["$<<"]("</colgroup>"),(o=(l=(s=(r=["head","foot","body"]).$select,s._p=(y=function(o){return y._s||this,null==o&&(o=f),e.$rows()["$[]"](o)["$empty?"]()["$!"]()},y._s=a,y),s).call(r)).$each,o._p=(u=function(o){var n,d,i,t=u._s||this;return null==o&&(o=f),c["$<<"]("<t"+o+">"),(n=(d=e.$rows()["$[]"](o)).$each,n._p=(i=function(n){var d,t,l,u=i._s||this;return null==n&&(n=f),c["$<<"]("<tr>"),(d=(t=n).$each,d._p=(l=function(n){var d,i,t,u,s=l._s||this,p=f,r=f,y=f,a=f,b=f,w=f,g=f;return null==n&&(n=f),o["$=="]("head")?p=n.$text():(r=n.$style(),"asciidoc"["$==="](r)?p="<div>"+n.$content()+"</div>":"verse"["$==="](r)?p='<div class="verse">'+n.$text()+"</div>":"literal"["$==="](r)?p='<div class="literal"><pre>'+n.$text()+"</pre></div>":(p="",(d=(i=n.$content()).$each,d._p=(t=function(e){return t._s||this,null==e&&(e=f),p=""+p+'<p class="tableblock">'+e+"</p>"},t._s=s,t),d).call(i))),y=function(){return(d=(u=o["$=="]("head"))!==!1&&u!==f?u:n.$style()["$=="]("header"))===f||d._isBoolean&&1!=d?"td":"th"}(),a=' class="tableblock halign-'+n.$attr("halign")+" valign-"+n.$attr("valign")+'"',b=function(){return(d=n.$colspan())===f||d._isBoolean&&1!=d?f:' colspan="'+n.$colspan()+'"'}(),w=function(){return(d=n.$rowspan())===f||d._isBoolean&&1!=d?f:' rowspan="'+n.$rowspan()+'"'}(),g=function(){return(d=e.$document()["$attr?"]("cellbgcolor"))===f||d._isBoolean&&1!=d?f:' style="background-color: '+e.$document().$attr("cellbgcolor")+';"'}(),c["$<<"]("<"+y+a+b+w+g+">"+p+"</"+y+">")},l._s=u,l),d).call(t),c["$<<"]("</tr>")},i._s=t,i),n).call(d),c["$<<"]("</t"+o+">")},u._s=a,u),o).call(l)),c["$<<"]("</table>"),c["$*"](p.EOL)},s.$toc=function(e){var o,n,d=this,t=f,l=f,u=f,s=f,p=f,r=f;return n=(t=e.$document())["$attr?"]("toc-placement","macro"),(o=n!==!1&&n!==f?t["$attr?"]("toc"):n)===f||o._isBoolean&&1!=o?"<!-- toc disabled -->":((o=e.$id())===f||o._isBoolean&&1!=o?(l=' id="toc"',u=' id="toctitle"'):(l=' id="'+e.$id()+'"',u=' id="'+e.$id()+'title"'),s=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?t.$attr("toc-title"):e.$title()}(),p=function(){return(o=e["$attr?"]("levels"))===f||o._isBoolean&&1!=o?f:e.$attr("levels").$to_i()}(),r=function(){return(o=e["$role?"]())===f||o._isBoolean&&1!=o?t.$attr("toc-class","toc"):e.$role()}(),"<div"+l+' class="'+r+'">\n<div'+u+' class="title">'+s+"</div>\n"+d.$outline(t,i(["toclevels"],{toclevels:p}))+"\n</div>")},s.$ulist=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f,r=f,y=f,a=f;return t=[],l=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),u=["ulist",e.$style(),e.$role()].$compact(),s=f,r=f,(o=y=e["$option?"]("checklist"))===f||o._isBoolean&&1!=o?a=function(){return(o=e.$style())===f||o._isBoolean&&1!=o?f:' class="'+e.$style()+'"'}():(u.$insert(1,"checklist"),a=' class="checklist"',(o=e["$option?"]("interactive"))===f||o._isBoolean&&1!=o?(o=e.$document()["$attr?"]("icons","font"))===f||o._isBoolean&&1!=o?(s="&#10003; ",r="&#10063; "):(s='<i class="fa fa-check-square-o"></i> ',r='<i class="fa fa-square-o"></i> '):(o=e.$document()["$attr?"]("htmlsyntax","xml"))===f||o._isBoolean&&1!=o?(s='<input type="checkbox" data-item-complete="1" checked> ',r='<input type="checkbox" data-item-complete="0"> '):(s='<input type="checkbox" data-item-complete="1" checked="checked"/> ',r='<input type="checkbox" data-item-complete="0"/> ')),t["$<<"]("<div"+l+' class="'+u["$*"](" ")+'">'),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]('<div class="title">'+e.$title()+"</div>"),t["$<<"]("<ul"+a+">"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o,n;return d._s||this,null==e&&(e=f),t["$<<"]("<li>"),t["$<<"]((o=(n=y!==!1&&y!==f)?e["$attr?"]("checkbox"):n)===f||o._isBoolean&&1!=o?"<p>"+e.$text()+"</p>":"<p>"+function(){return(o=e["$attr?"]("checked"))===f||o._isBoolean&&1!=o?r:s}()+e.$text()+"</p>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</li>")},d._s=i,d),o).call(n),t["$<<"]("</ul>"),t["$<<"]("</div>"),t["$*"](p.EOL)},s.$verse=function(e){var o,n,d=this,i=f,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f;return i=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="'+e.$id()+'"'}(),t=["verseblock",e.$role()].$compact(),l=' class="'+t["$*"](" ")+'"',u=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?f:'\n<div class="title">'+e.$title()+"</div>"}(),s=function(){return(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o?f:e.$attr("attribution")}(),p=function(){return(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o?f:e.$attr("citetitle")}(),(o=(n=s)!==!1&&n!==f?n:p)===f||o._isBoolean&&1!=o?a=f:(r=function(){return p!==!1&&p!==f?"<cite>"+p+"</cite>":f}(),y=function(){return s!==!1&&s!==f?"&#8212; "+s+function(){return p!==!1&&p!==f?"<br"+d.void_element_slash+">\n":f}():f}(),a='\n<div class="attribution">\n'+y+r+"\n</div>"),"<div"+i+l+">"+u+'\n<pre class="content">'+e.$content()+"</pre>"+a+"\n</div>"},s.$video=function(o){var n,d,i=this,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f,A=f,B=f,C=f,D=f,E=f,F=f,G=f,H=f,I=f;return t=o.$document()["$attr?"]("htmlsyntax","xml"),l=function(){return(n=o.$id())===f||n._isBoolean&&1!=n?f:' id="'+o.$id()+'"'}(),u=["videoblock",o.$style(),o.$role()].$compact(),s=' class="'+u["$*"](" ")+'"',p=function(){return(n=o["$title?"]())===f||n._isBoolean&&1!=n?f:'\n<div class="title">'+o.$captioned_title()+"</div>"}(),r=function(){return(n=o["$attr?"]("width"))===f||n._isBoolean&&1!=n?f:' width="'+o.$attr("width")+'"'}(),y=function(){return(n=o["$attr?"]("height"))===f||n._isBoolean&&1!=n?f:' height="'+o.$attr("height")+'"'}(),function(){return a=o.$attr("poster"),"vimeo"["$==="](a)?(c=function(){return(n=o["$attr?"]("start",f,!1))===f||n._isBoolean&&1!=n?f:"#at="+o.$attr("start")}(),b="?",w=function(){return(n=o["$option?"]("autoplay"))===f||n._isBoolean&&1!=n?f:""+b+"autoplay=1"}(),w!==!1&&w!==f&&(b="&amp;"),g=function(){return(n=o["$option?"]("loop"))===f||n._isBoolean&&1!=n?f:""+b+"loop=1"}(),"<div"+l+s+">"+p+'\n<div class="content">\n<iframe'+r+y+' src="//player.vimeo.com/video/'+o.$attr("target")+c+w+g+'" frameborder="0"'+function(){return(n=o["$option?"]("nofullscreen"))===f||n._isBoolean&&1!=n?i.$append_boolean_attribute("allowfullscreen",t):f}()+"></iframe>\n</div>\n</div>"):"youtube"["$==="](a)?(m=function(){return(n=o["$option?"]("related"))===f||n._isBoolean&&1!=n?0:1}(),x=function(){return(n=o["$attr?"]("start",f,!1))===f||n._isBoolean&&1!=n?f:"&amp;start="+o.$attr("start")}(),j=function(){return(n=o["$attr?"]("end",f,!1))===f||n._isBoolean&&1!=n?f:"&amp;end="+o.$attr("end")}(),w=function(){return(n=o["$option?"]("autoplay"))===f||n._isBoolean&&1!=n?f:"&amp;autoplay=1"}(),g=function(){return(n=o["$option?"]("loop"))===f||n._isBoolean&&1!=n?f:"&amp;loop=1"}(),k=function(){return(n=o["$option?"]("nocontrols"))===f||n._isBoolean&&1!=n?f:"&amp;controls=0"}(),(n=o["$option?"]("nofullscreen"))===f||n._isBoolean&&1!=n?(v=f,P=i.$append_boolean_attribute("allowfullscreen",t)):(v="&amp;fs=0",P=f),h=function(){return(n=o["$option?"]("modest"))===f||n._isBoolean&&1!=n?f:"&amp;modestbranding=1"}(),q=function(){return(n=o["$attr?"]("theme",f,!1))===f||n._isBoolean&&1!=n?f:"&amp;theme="+o.$attr("theme")}(),z=function(){return(n=o["$attr?"]("lang"))===f||n._isBoolean&&1!=n?f:"&amp;hl="+o.$attr("lang")}(),n=e.to_ary(o.$attr("target").$split("/",2)),A=null==n[0]?f:n[0],B=null==n[1]?f:n[1],(n=(d=B)!==!1&&d!==f?d:B=o.$attr("list",f,!1))===f||n._isBoolean&&1!=n?(n=e.to_ary(A.$split(",",2)),A=null==n[0]?f:n[0],D=null==n[1]?f:n[1],C=(n=(d=D)!==!1&&d!==f?d:D=o.$attr("playlist",f,!1))===f||n._isBoolean&&1!=n?f:"&amp;playlist="+D):C="&amp;list="+B,"<div"+l+s+">"+p+'\n<div class="content">\n<iframe'+r+y+' src="//www.youtube.com/embed/'+A+"?rel="+m+x+j+w+g+k+C+v+h+q+z+'" frameborder="0"'+P+"></iframe>\n</div>\n</div>"):(E=function(){return(n=(""+(F=o.$attr("poster")))["$empty?"]())===f||n._isBoolean&&1!=n?' poster="'+o.$media_uri(F)+'"':f}(),G=o.$attr("start",f,!1),H=o.$attr("end",f,!1),I=function(){return(n=(d=G)!==!1&&d!==f?d:H)===f||n._isBoolean&&1!=n?f:"#t="+G+function(){return H!==!1&&H!==f?",":f}()+H}(),"<div"+l+s+">"+p+'\n<div class="content">\n<video src="'+o.$media_uri(o.$attr("target"))+I+'"'+r+y+E+function(){return(n=o["$option?"]("autoplay"))===f||n._isBoolean&&1!=n?f:i.$append_boolean_attribute("autoplay",t)}()+function(){return(n=o["$option?"]("nocontrols"))===f||n._isBoolean&&1!=n?i.$append_boolean_attribute("controls",t):f}()+function(){return(n=o["$option?"]("loop"))===f||n._isBoolean&&1!=n?f:i.$append_boolean_attribute("loop",t)}()+">\nYour browser does not support the video tag.\n</video>\n</div>\n</div>")}()},s.$inline_anchor=function(e){var o,n,d=this,i=f,t=f,l=f,u=f,s=f,p=f;return i=e.$target(),function(){return t=e.$type(),"xref"["$==="](t)?(l=(o=e.$attr("refid"))!==!1&&o!==f?o:i,u=(o=e.$text())!==!1&&o!==f?o:(n=e.$document().$references()["$[]"]("ids")["$[]"](l))!==!1&&n!==f?n:"["+l+"]",'<a href="'+i+'">'+u+"</a>"):"ref"["$==="](t)?'<a id="'+i+'"></a>':"link"["$==="](t)?(s=[],(o=e.$id())===f||o._isBoolean&&1!=o||s["$<<"](' id="'+e.$id()+'"'),(o=p=e.$role())===f||o._isBoolean&&1!=o||s["$<<"](' class="'+p+'"'),(o=e["$attr?"]("title"))===f||o._isBoolean&&1!=o||s["$<<"](' title="'+e.$attr("title")+'"'),(o=e["$attr?"]("window"))===f||o._isBoolean&&1!=o||s["$<<"](' target="'+e.$attr("window")+'"'),'<a href="'+i+'"'+s.$join()+">"+e.$text()+"</a>"):"bibref"["$==="](t)?'<a id="'+i+'"></a>['+i+"]":d.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()},s.$inline_break=function(e){var o=this;return""+e.$text()+"<br"+o.void_element_slash+">"},s.$inline_button=function(e){return'<b class="button">'+e.$text()+"</b>"},s.$inline_callout=function(e){var o,n=this,d=f;return(o=e.$document()["$attr?"]("icons","font"))===f||o._isBoolean&&1!=o?(o=e.$document()["$attr?"]("icons"))===f||o._isBoolean&&1!=o?'<b class="conum">('+e.$text()+")</b>":(d=e.$icon_uri("callouts/"+e.$text()),'<img src="'+d+'" alt="'+e.$text()+'"'+n.void_element_slash+">"):'<i class="conum" data-value="'+e.$text()+'"></i><b>('+e.$text()+")</b>"},s.$inline_footnote=function(e){var o,n=f,d=f;return(o=n=e.$attr("index"))===f||o._isBoolean&&1!=o?e.$type()["$=="]("xref")?'<span class="footnoteref red" title="Unresolved footnote reference.">['+e.$text()+"]</span>":f:e.$type()["$=="]("xref")?'<span class="footnoteref">[<a class="footnote" href="#_footnote_'+n+'" title="View footnote.">'+n+"</a>]</span>":(d=function(){return(o=e.$id())===f||o._isBoolean&&1!=o?f:' id="_footnote_'+e.$id()+'"'}(),'<span class="footnote"'+d+'>[<a id="_footnoteref_'+n+'" class="footnote" href="#_footnote_'+n+'" title="View footnote.">'+n+"</a>]</span>")},s.$inline_image=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f,c=f,b=f;return(o=(n=(t=e.$type())["$=="]("icon"))?e.$document()["$attr?"]("icons","font"):n)===f||o._isBoolean&&1!=o?(o=(n=t["$=="]("icon"))?e.$document()["$attr?"]("icons")["$!"]():n)===f||o._isBoolean&&1!=o?(p=function(){return(o=t["$=="]("icon"))===f||o._isBoolean&&1!=o?e.$image_uri(e.$target()):e.$icon_uri(e.$target())}(),r=(o=(n=["alt","width","height","title"]).$map,o._p=(d=function(o){var n;return d._s||this,null==o&&(o=f),(n=e["$attr?"](o))===f||n._isBoolean&&1!=n?f:" "+o+'="'+e.$attr(o)+'"'},d._s=i,d),o).call(n).$join(),s='<img src="'+p+'"'+r+i.void_element_slash+">"):s="["+e.$attr("alt")+"]":(l="fa fa-"+e.$target(),(o=e["$attr?"]("size"))===f||o._isBoolean&&1!=o||(l=""+l+" fa-"+e.$attr("size")),(o=e["$attr?"]("rotate"))===f||o._isBoolean&&1!=o||(l=""+l+" fa-rotate-"+e.$attr("rotate")),(o=e["$attr?"]("flip"))===f||o._isBoolean&&1!=o||(l=""+l+" fa-flip-"+e.$attr("flip")),u=function(){return(o=e["$attr?"]("title"))===f||o._isBoolean&&1!=o?f:' title="'+e.$attr("title")+'"'}(),s='<i class="'+l+'"'+u+"></i>"),(o=e["$attr?"]("link"))===f||o._isBoolean&&1!=o||(y=function(){return(o=e["$attr?"]("window"))===f||o._isBoolean&&1!=o?f:' target="'+e.$attr("window")+'"'}(),s='<a class="image" href="'+e.$attr("link")+'"'+y+">"+s+"</a>"),a=function(){return(o=c=e.$role())===f||o._isBoolean&&1!=o?t:""+t+" "+c}(),b=function(){return(o=e["$attr?"]("float"))===f||o._isBoolean&&1!=o?f:' style="float: '+e.$attr("float")+'"'}(),'<span class="'+a+'"'+b+">"+s+"</span>"},s.$inline_indexterm=function(e){return e.$type()["$=="]("visible")?e.$text():""},s.$inline_kbd=function(e){var o,n,d,i=this,t=f,l=f;return(t=e.$attr("keys")).$size()["$=="](1)?"<kbd>"+t["$[]"](0)+"</kbd>":(l=(o=(n=t).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),"<kbd>"+e+"</kbd>+"},d._s=i,d),o).call(n).$join().$chop(),'<span class="keyseq">'+l+"</span>")},s.$inline_menu=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f;return t=e.$attr("menu"),(o=(l=e.$attr("submenus"))["$empty?"]()["$!"]())===f||o._isBoolean&&1!=o?(o=s=e.$attr("menuitem"))===f||o._isBoolean&&1!=o?'<span class="menu">'+t+"</span>":'<span class="menuseq"><span class="menu">'+t+'</span>&#160;&#9656; <span class="menuitem">'+s+"</span></span>":(u=(o=(n=l).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),'<span class="submenu">'+e+"</span>&#160;&#9656; "},d._s=i,d),o).call(n).$join().$chop(),'<span class="menuseq"><span class="menu">'+t+"</span>&#160;&#9656; "+u+' <span class="menuitem">'+e.$attr("menuitem")+"</span></span>")},s.$inline_quoted=function(o){var n,d=f,i=f,t=f,l=f,u=f;return n=e.to_ary(p.QUOTE_TAGS["$[]"](o.$type())),d=null==n[0]?f:n[0],i=null==n[1]?f:n[1],t=null==n[2]?f:n[2],u=(n=l=o.$role())===f||n._isBoolean&&1!=n?""+d+o.$text()+i:t!==!1&&t!==f?""+d.$chop()+' class="'+l+'">'+o.$text()+i:'<span class="'+l+'">'+d+o.$text()+i+"</span>",(n=o.$id())===f||n._isBoolean&&1!=n?u:'<a id="'+o.$id()+'"></a>'+u},s.$append_boolean_attribute=function(e,o){return o!==!1&&o!==f?" "+e+'="'+e+'"':" "+e},f&&"append_boolean_attribute"}(u.Converter,u.Converter._scope.BuiltIn);
  }(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass,t=e.hash2,l=e.range;return function(o){var u=d(o,"Asciidoctor"),s=(u._proto,u._scope);!function(o,d){function u(){}var s,p,r,y,a=u=i(o,d,"Document",u),c=a._proto,b=a._scope;return c.attributes=c.safe=c.reader=c.callouts=c.base_dir=c.parsed=c.parent_document=c.extensions=c.options=c.counters=c.references=c.doctype=c.backend=c.header=c.blocks=c.attributes_modified=c.id=c.original_attributes=c.attribute_overrides=c.converter=c.docinfo_processor_extensions=c.document=f,e.cdecl(b,"Footnote",(null==(s=e.Object._scope.Struct)?e.cm("Struct"):s).$new("index","id","text")),function(e,o){function n(){}var d=n=i(e,o,"AttributeEntry",n),t=d._proto;return d._scope,d.$attr_reader("name","value","negate"),t.$initialize=function(e,o,n){var d,i=this;return null==n&&(n=f),i.name=e,i.value=o,i.negate=function(){return(d=n["$nil?"]())===f||d._isBoolean&&1!=d?n:o["$nil?"]()}()},t.$save_to=function(e){var o,n,d,i=this;return(o="attribute_entries",n=e,(d=n["$[]"](o))!==!1&&d!==f?d:n["$[]="](o,[]))["$<<"](i)},f&&"save_to"}(a,null),function(o,n){function d(){}var l=d=i(o,n,"Title",d),u=l._proto,s=l._scope;return u.sanitized=u.subtitle=u.combined=f,l.$attr_reader("main"),l.$attr_reader("subtitle"),l.$attr_reader("combined"),u.$initialize=function(o,n){var d,i,l=this,u=f;return null==n&&(n=t([],{})),i=l.sanitized=n["$[]"]("sanitize"),(d=i!==!1&&i!==f?o["$include?"]("<"):i)===f||d._isBoolean&&1!=d||(o=o.$gsub(s.XmlSanitizeRx,"").$tr_s(" "," ").$strip()),(d=(l.combined=o)["$include?"](": "))===f||d._isBoolean&&1!=d?(l.main=o,l.subtitle=f):(d=e.to_ary(o.$rpartition(": ")),l.main=null==d[0]?f:d[0],u=null==d[1]?f:d[1],l.subtitle=null==d[2]?f:d[2])},u["$sanitized?"]=function(){var e=this;return e.sanitized},u["$subtitle?"]=function(){var e=this;return e.subtitle["$!"]()["$!"]()},u.$to_s=function(){var e=this;return e.combined},f&&"to_s"}(a,null),a.$attr_reader("safe"),a.$attr_reader("compat_mode"),a.$attr_reader("sourcemap"),a.$attr_reader("references"),a.$attr_reader("counters"),a.$attr_reader("callouts"),a.$attr_reader("header"),a.$attr_reader("base_dir"),a.$attr_reader("options"),a.$attr_reader("parent_document"),a.$attr_reader("reader"),a.$attr_reader("converter"),a.$attr_reader("extensions"),c.$initialize=p=function(o,n){var d,i,u,s,r,y,a,c,w,g,m,x,j=this,k=(p._p,f),v=f,P=f,h=f,q=f,z=f,A=f,B=f,C=f,D=f,E=f,F=f,G=f,H=f;if(null==o&&(o=f),null==n&&(n=t([],{})),p._p=null,e.find_super_dispatcher(j,"initialize",p,null).apply(j,[j,"document"]),(d=k=n.$delete("parent"))===f||d._isBoolean&&1!=d){if(j.parent_document=f,j.references=t(["ids","footnotes","links","images","indexterms","includes"],{ids:t([],{}),footnotes:[],links:[],images:[],indexterms:[],includes:(null==(d=e.Object._scope.Set)?e.cm("Set"):d).$new()}),v=t([],{}),(d=(u=(y=n["$[]"]("attributes"))!==!1&&y!==f?y:t([],{})).$each,d._p=(r=function(e,o){var n;return r._s||this,null==e&&(e=f),null==o&&(o=f),(n=e["$start_with?"]("!"))===f||n._isBoolean&&1!=n?(n=e["$end_with?"]("!"))===f||n._isBoolean&&1!=n||(e=e.$chop(),o=f):(e=e["$[]"](l(1,-1,!1)),o=f),v["$[]="](e.$downcase(),o)},r._s=j,r),d).call(u),j.attribute_overrides=v,(d=(h=n["$[]"]("safe"))["$!"]())===f||d._isBoolean&&1!=d)if((d=(null==(y=e.Object._scope.Fixnum)?e.cm("Fixnum"):y)["$==="](h))===f||d._isBoolean&&1!=d)try{j.safe=b.SafeMode.$const_get(h.$to_s().$upcase())}catch(I){j.safe=b.SafeMode._scope.SECURE}else j.safe=h;else j.safe=b.SafeMode._scope.SECURE;j.sourcemap=n["$[]"]("sourcemap"),j.compat_mode=!1,j.converter=f,P=function(){try{return null!=(null==(d=e.Object._scope.Asciidoctor)?e.cm("Asciidoctor"):d)._scope.Extensions?"constant":f}catch(o){if(o._klass===Opal.NameError)return f;throw o}}(),j.extensions=f}else j.parent_document=k,d="base_dir",i=n,(u=i["$[]"](d))!==!1&&u!==f?u:i["$[]="](d,k.$base_dir()),j.references=(d=(i=k.$references()).$inject,d._p=(s=function(e,o){return s._s||this,null==e&&(e=f),key=o[0],ref=o[1],key["$=="]("footnotes")?e["$[]="]("footnotes",[]):e["$[]="](key,ref),e},s._s=j,s),d).call(i,t([],{})),v=k.$attributes().$dup(),v.$delete("doctype"),v.$delete("compat-mode"),j.attribute_overrides=v,j.safe=k.$safe(),j.compat_mode=k.$compat_mode(),j.sourcemap=k.$sourcemap(),j.converter=k.$converter(),P=!1,j.extensions=k.$extensions();if(j.parsed=!1,j.header=f,j.counters=t([],{}),j.callouts=b.Callouts.$new(),j.attributes_modified=(null==(d=e.Object._scope.Set)?e.cm("Set"):d).$new(),j.options=n,j.docinfo_processor_extensions=t([],{}),d="header_footer",y=n,q=(a=y["$[]"](d))!==!1&&a!==f?a:y["$[]="](d,!1),n.$freeze(),z=j.attributes,z["$[]="]("encoding","UTF-8"),z["$[]="]("sectids",""),q!==!1&&q!==f||z["$[]="]("notitle",""),z["$[]="]("toc-placement","auto"),z["$[]="]("stylesheet",""),z["$[]="]("webfonts",""),q!==!1&&q!==f&&z["$[]="]("copycss",""),z["$[]="]("prewrap",""),z["$[]="]("attribute-undefined",b.Compliance.$attribute_undefined()),z["$[]="]("attribute-missing",b.Compliance.$attribute_missing()),z["$[]="]("iconfont-remote",""),z["$[]="]("caution-caption","Caution"),z["$[]="]("important-caption","Important"),z["$[]="]("note-caption","Note"),z["$[]="]("tip-caption","Tip"),z["$[]="]("warning-caption","Warning"),z["$[]="]("appendix-caption","Appendix"),z["$[]="]("example-caption","Example"),z["$[]="]("figure-caption","Figure"),z["$[]="]("table-caption","Table"),z["$[]="]("toc-title","Table of Contents"),z["$[]="]("manname-title","NAME"),z["$[]="]("untitled-label","Untitled"),z["$[]="]("version-label","Version"),z["$[]="]("last-update-label","Last updated"),v["$[]="]("asciidoctor",""),v["$[]="]("asciidoctor-version",b.VERSION),A=(d=(y=b.SafeMode.$constants()).$detect,d._p=(c=function(e){var o=c._s||this;return null==o.safe&&(o.safe=f),null==e&&(e=f),b.SafeMode.$const_get(e)["$=="](o.safe)},c._s=j,c),d).call(y).$to_s().$downcase(),v["$[]="]("safe-mode-name",A),v["$[]="]("safe-mode-"+A,""),v["$[]="]("safe-mode-level",j.safe),v["$[]="]("embedded",function(){return q!==!1&&q!==f?f:""}()),d="max-include-depth",a=v,(w=a["$[]"](d))!==!1&&w!==f?w:a["$[]="](d,64),((d=v["$[]"]("allow-uri-read")["$nil?"]()["$!"]())===f||d._isBoolean&&1!=d)&&v["$[]="]("allow-uri-read",f),v["$[]="]("user-home",b.USER_HOME),(d=v["$key?"]("numbered"))===f||d._isBoolean&&1!=d||v["$[]="]("sectnums",v.$delete("numbered")),j.base_dir=(d=n["$[]"]("base_dir"))===f||d._isBoolean&&1!=d?(d=v["$[]"]("docdir"))===f||d._isBoolean&&1!=d?v["$[]="]("docdir",(null==(d=e.Object._scope.File)?e.cm("File"):d).$expand_path((null==(d=e.Object._scope.Dir)?e.cm("Dir"):d).$pwd())):v["$[]="]("docdir",(null==(d=e.Object._scope.File)?e.cm("File"):d).$expand_path(v["$[]"]("docdir"))):v["$[]="]("docdir",(null==(d=e.Object._scope.File)?e.cm("File"):d).$expand_path(n["$[]"]("base_dir"))),(d=B=n["$[]"]("backend"))===f||d._isBoolean&&1!=d||v["$[]="]("backend",""+B),(d=C=n["$[]"]("doctype"))===f||d._isBoolean&&1!=d||v["$[]="]("doctype",""+C),j.safe["$>="](b.SafeMode._scope.SERVER)&&(d="copycss",a=v,(w=a["$[]"](d))!==!1&&w!==f?w:a["$[]="](d,f),d="source-highlighter",a=v,(w=a["$[]"](d))!==!1&&w!==f?w:a["$[]="](d,f),d="backend",a=v,(w=a["$[]"](d))!==!1&&w!==f?w:a["$[]="](d,b.DEFAULT_BACKEND),a=k["$!"](),(d=a!==!1&&a!==f?v["$key?"]("docfile"):a)===f||d._isBoolean&&1!=d||v["$[]="]("docfile",v["$[]"]("docfile")["$[]"](l(v["$[]"]("docdir").$length()["$+"](1),-1,!1))),v["$[]="]("docdir",""),v["$[]="]("user-home","."),j.safe["$>="](b.SafeMode._scope.SECURE)&&(((d=v.$fetch("linkcss","")["$nil?"]())===f||d._isBoolean&&1!=d)&&v["$[]="]("linkcss",""),d="icons",a=v,(w=a["$[]"](d))!==!1&&w!==f?w:a["$[]="](d,f))),(d=(a=v).$delete_if,d._p=(g=function(o,n){var d,i,t,l=(g._s||this,f);return null==o&&(o=f),null==n&&(n=f),l=!1,(d=n["$nil?"]())===f||d._isBoolean&&1!=d?(i=(null==(t=e.Object._scope.String)?e.cm("String"):t)["$==="](n),(d=i!==!1&&i!==f?n["$end_with?"]("@"):i)===f||d._isBoolean&&1!=d||(n=n.$chop(),l=!0),z["$[]="](o,n)):z.$delete(o),l},g._s=j,g),d).call(a),(d=z["$key?"]("compat-mode"))===f||d._isBoolean&&1!=d||(j.compat_mode=!0),k!==!1&&k!==f)return d="doctype",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,b.DEFAULT_DOCTYPE),j.reader=b.Reader.$new(o,n["$[]"]("cursor")),b.Parser.$parse(j.reader,j),j.callouts.$rewind(),j.parsed=!0;if(d="backend",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,b.DEFAULT_BACKEND),d="doctype",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,b.DEFAULT_DOCTYPE),j.$update_backend_attributes(z["$[]"]("backend"),!0),D=(null==(d=e.Object._scope.Time)?e.cm("Time"):d).$now(),d="localdate",w=z,E=(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,D.$strftime("%Y-%m-%d")),(d=F=z["$[]"]("localtime"))===f||d._isBoolean&&1!=d)try{F=z["$[]="]("localtime",D.$strftime("%H:%M:%S %Z"))}catch(I){F=z["$[]="]("localtime",D.$strftime("%H:%M:%S"))}return d="localdatetime",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,""+E+" "+F),d="docdate",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,E),d="doctime",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,F),d="docdatetime",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,""+E+" "+F),d="stylesdir",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,"."),d="iconsdir",w=z,(m=w["$[]"](d))!==!1&&m!==f?m:w["$[]="](d,(null==(x=e.Object._scope.File)?e.cm("File"):x).$join(z.$fetch("imagesdir","./images"),"icons")),P!==!1&&P!==f&&((d=G=n["$[]"]("extensions_registry"))===f||d._isBoolean&&1!=d?G=(d=(null==(w=e.Object._scope.Proc)?e.cm("Proc"):w)["$==="](H=n["$[]"]("extensions")))===f||d._isBoolean&&1!=d?b.Extensions._scope.Registry.$new():(d=(w=b.Extensions).$build_registry,d._p=H.$to_proc(),d).call(w):((d=(w=b.Extensions._scope.Registry["$==="](G))!==!1&&w!==f?w:(m=null==(x=e.Object._scope.RUBY_ENGINE_JRUBY)?e.cm("RUBY_ENGINE_JRUBY"):x,m!==!1&&m!==f?(null==(x=e.Object._scope.AsciidoctorJ)?e.cm("AsciidoctorJ"):x)._scope.Extensions._scope.ExtensionRegistry["$==="](G):m))===f||d._isBoolean&&1!=d)&&(G=b.Extensions._scope.Registry.$new()),j.extensions=G.$activate(j)),j.reader=b.PreprocessorReader.$new(j,o,b.Reader._scope.Cursor.$new(z["$[]"]("docfile"),j.base_dir))},c.$parse=function(e){var o,n,d,i,l,u=this,s=f,p=f;return null==e&&(e=f),(o=u.parsed)===f||o._isBoolean&&1!=o?(s=u,e!==!1&&e!==f&&(u.reader=b.PreprocessorReader.$new(s,e,b.Reader._scope.Cursor.$new(u.attributes["$[]"]("docfile"),u.base_dir))),n=p=function(){return(d=u.parent_document)===f||d._isBoolean&&1!=d?u.extensions:f}(),(o=n!==!1&&n!==f?p["$preprocessors?"]():n)===f||o._isBoolean&&1!=o||(o=(n=p.$preprocessors()).$each,o._p=(i=function(e){var o,n=i._s||this;return null==n.reader&&(n.reader=f),null==e&&(e=f),n.reader=(o=e.$process_method()["$[]"](s,n.reader))!==!1&&o!==f?o:n.reader},i._s=u,i),o).call(n),b.Parser.$parse(u.reader,s,t(["header_only"],{header_only:u.options["$[]"]("parse_header_only")["$!"]()["$!"]()})),u.callouts.$rewind(),(o=(d=p!==!1&&p!==f)?p["$treeprocessors?"]():d)===f||o._isBoolean&&1!=o||(o=(d=p.$treeprocessors()).$each,o._p=(l=function(e){var o,n,d,i=(l._s||this,f);return null==e&&(e=f),d=i=e.$process_method()["$[]"](s),n=d!==!1&&d!==f?b.Document["$==="](i):d,(o=n!==!1&&n!==f?i["$=="](s)["$!"]():n)===f||o._isBoolean&&1!=o?f:s=i},l._s=u,l),o).call(d),u.parsed=!0,s):u},c.$counter=function(e,o){var n,d,i=this,t=f,l=f;return null==o&&(o=f),d=t=(l=i.attributes["$[]"](e))["$nil_or_empty?"]()["$!"](),(n=d!==!1&&d!==f?i.counters["$key?"](e):d)===f||n._isBoolean&&1!=n?((n=o["$nil?"]())===f||n._isBoolean&&1!=n?o.$to_i().$to_s()["$=="](o)&&(o=o.$to_i()):o=i.$nextval(function(){return t!==!1&&t!==f?l:0}()),i.counters["$[]="](e,o)):i.counters["$[]="](e,i.$nextval(l)),i.attributes["$[]="](e,i.counters["$[]"](e))},c.$counter_increment=function(e,o){var n=this,d=f;return d=n.$counter(e),b.AttributeEntry.$new(e,d).$save_to(o.$attributes()),d},c.$nextval=function(o){var n,d,i=f;return(n=(null==(d=e.Object._scope.Integer)?e.cm("Integer"):d)["$==="](o))===f||n._isBoolean&&1!=n?(i=o.$to_i(),(n=i.$to_s()["$=="](o.$to_s())["$!"]())===f||n._isBoolean&&1!=n?i["$+"](1):o["$[]"](0).$ord()["$+"](1).$chr()):o["$+"](1)},c.$register=function(o,n){var d,i,t=this,l=f;return function(){return l=o,"ids"["$==="](l)?(d=(null==(i=e.Object._scope.Array)?e.cm("Array"):i)["$==="](n))===f||d._isBoolean&&1!=d?t.references["$[]"]("ids")["$[]="](n,"["["$+"](n)["$+"]("]")):t.references["$[]"]("ids")["$[]="](n["$[]"](0),(d=n["$[]"](1))!==!1&&d!==f?d:"["["$+"](n["$[]"](0))["$+"]("]")):"footnotes"["$==="](l)||"indexterms"["$==="](l)?t.references["$[]"](o)["$<<"](n):(d=t.options["$[]"]("catalog_assets"))===f||d._isBoolean&&1!=d?f:t.references["$[]"](o)["$<<"](n)}()},c["$footnotes?"]=function(){var e=this;return e.references["$[]"]("footnotes")["$empty?"]()["$!"]()},c.$footnotes=function(){var e=this;return e.references["$[]"]("footnotes")},c["$nested?"]=function(){var e=this;return e.parent_document["$!"]()["$!"]()},c["$embedded?"]=function(){var e=this;return e.attributes["$key?"]("embedded")},c["$extensions?"]=function(){var e=this;return e.extensions["$!"]()["$!"]()},c.$source=function(){var e,o=this;return(e=o.reader)===f||e._isBoolean&&1!=e?f:o.reader.$source()},c.$source_lines=function(){var e,o=this;return(e=o.reader)===f||e._isBoolean&&1!=e?f:o.reader.$source_lines()},c.$doctype=function(){var e,o=this;return(e=o.doctype)!==!1&&e!==f?e:o.doctype=o.attributes["$[]"]("doctype")},c.$backend=function(){var e,o=this;return(e=o.backend)!==!1&&e!==f?e:o.backend=o.attributes["$[]"]("backend")},c["$basebackend?"]=function(e){var o=this;return o.attributes["$[]"]("basebackend")["$=="](e)},c.$title=function(){var e=this;return e.attributes["$[]"]("title")},c["$title="]=function(e){var o,n=this;return(o=n.header)!==!1&&o!==f?o:n.header=b.Section.$new(n,0),n.header["$title="](e)},c.$doctitle=function(e){var o,n,d=this,i=f,l=f;if(null==e&&(e=t([],{})),(o=(i=d.attributes["$[]"]("title")["$nil_or_empty?"]())["$!"]())===f||o._isBoolean&&1!=o)if(n=l=d.$first_section(),(o=n!==!1&&n!==f?l["$title?"]():n)===f||o._isBoolean&&1!=o){if(n=e["$[]"]("use_fallback"),(o=n!==!1&&n!==f?i=d.attributes["$[]"]("untitled-label"):n)===f||o._isBoolean&&1!=o)return f}else i=l.$title();else i=d.$title();return(o=e["$[]"]("partition"))===f||o._isBoolean&&1!=o?(n=e["$[]"]("sanitize"),(o=n!==!1&&n!==f?i["$include?"]("<"):n)===f||o._isBoolean&&1!=o?i:i.$gsub(b.XmlSanitizeRx,"").$tr_s(" "," ").$strip()):b.Title.$new(i,e)},e.defn(a,"$name",c.$doctitle),c.$author=function(){var e=this;return e.attributes["$[]"]("author")},c.$revdate=function(){var e=this;return e.attributes["$[]"]("revdate")},c.$notitle=function(){var e,o=this;return e=o.attributes["$key?"]("showtitle")["$!"](),e!==!1&&e!==f?o.attributes["$key?"]("notitle"):e},c.$noheader=function(){var e=this;return e.attributes["$key?"]("noheader")},c.$nofooter=function(){var e=this;return e.attributes["$key?"]("nofooter")},c.$first_section=function(){var e,o,n,d,i=this;return(e=i["$has_header?"]())===f||e._isBoolean&&1!=e?(e=(o=(d=i.blocks)!==!1&&d!==f?d:[]).$detect,e._p=(n=function(e){return n._s||this,null==e&&(e=f),e.$context()["$=="]("section")},n._s=i,n),e).call(o):i.header},c["$has_header?"]=function(){var e,o=this;return(e=o.header)===f||e._isBoolean&&1!=e?!1:!0},e.defn(a,"$header?",c["$has_header?"]),c["$<<"]=r=function(o){var d=n.call(arguments,0),i=this,t=r._p;return r._p=null,e.find_super_dispatcher(i,"<<",r,t).apply(i,d),o.$context()["$=="]("section")?i.$assign_index(o):f},c.$finalize_header=function(e,o){var n=this;return null==o&&(o=!0),n.$clear_playback_attributes(e),n.$save_attributes(),o!==!1&&o!==f||e["$[]="]("invalid-header",!0),e},c.$save_attributes=function(){var e,o,n,d,i=this,t=f,l=f,u=f,s=f,p=f,r=f,y=f,a=f,c=f;return(t=i.attributes)["$[]"]("basebackend")["$=="]("docbook")&&(((e=(o=i["$attribute_locked?"]("toc"))!==!1&&o!==f?o:i.attributes_modified["$include?"]("toc"))===f||e._isBoolean&&1!=e)&&t["$[]="]("toc",""),((e=(o=i["$attribute_locked?"]("sectnums"))!==!1&&o!==f?o:i.attributes_modified["$include?"]("sectnums"))===f||e._isBoolean&&1!=e)&&t["$[]="]("sectnums","")),((e=(o=t["$key?"]("doctitle"))!==!1&&o!==f?o:(l=i.$doctitle())["$!"]())===f||e._isBoolean&&1!=e)&&t["$[]="]("doctitle",l),((e=i.id)===f||e._isBoolean&&1!=e)&&(i.id=t["$[]"]("css-signature")),u=function(){return(e=s=function(){return(o=t.$delete("toc2"))===f||o._isBoolean&&1!=o?t["$[]"]("toc"):"left"}())===f||e._isBoolean&&1!=e?f:(o=p=t.$fetch("toc-placement","macro"),(e=o!==!1&&o!==f?p["$=="]("auto")["$!"]():o)===f||e._isBoolean&&1!=e?t["$[]"]("toc-position"):p)}(),(e=(o=s!==!1&&s!==f)?(n=s["$empty?"]()["$!"]())!==!1&&n!==f?n:u["$nil_or_empty?"]()["$!"]():o)===f||e._isBoolean&&1!=e||(r="left",y="toc2",a=(e=u["$nil_or_empty?"]()["$!"]())===f||e._isBoolean&&1!=e?(e=s["$empty?"]()["$!"]())===f||e._isBoolean&&1!=e?r:s:u,t["$[]="]("toc",""),t["$[]="]("toc-placement","auto"),c=a,"left"["$==="](c)||"<"["$==="](c)||"&lt;"["$==="](c)?t["$[]="]("toc-position","left"):"right"["$==="](c)||">"["$==="](c)||"&gt;"["$==="](c)?t["$[]="]("toc-position","right"):"top"["$==="](c)||"^"["$==="](c)?t["$[]="]("toc-position","top"):"bottom"["$==="](c)||"v"["$==="](c)?t["$[]="]("toc-position","bottom"):"preamble"["$==="](c)||"macro"["$==="](c)?(t["$[]="]("toc-position","content"),t["$[]="]("toc-placement",a),y=f):(t.$delete("toc-position"),y=f),y!==!1&&y!==f&&(e="toc-class",o=t,(n=o["$[]"](e))!==!1&&n!==f?n:o["$[]="](e,y))),(e=t["$key?"]("compat-mode"))===f||e._isBoolean&&1!=e?i.compat_mode=!1:((e=t["$has_key?"]("language"))===f||e._isBoolean&&1!=e||t["$[]="]("source-language",t["$[]"]("language")),i.compat_mode=!0),i.original_attributes=t.$dup(),(e=i["$nested?"]())===f||e._isBoolean&&1!=e?(e=(o=b.FLEXIBLE_ATTRIBUTES).$each,e._p=(d=function(e){var o,n,i=d._s||this;return null==i.attribute_overrides&&(i.attribute_overrides=f),null==e&&(e=f),n=i.attribute_overrides["$key?"](e),(o=n!==!1&&n!==f?i.attribute_overrides["$[]"](e):n)===f||o._isBoolean&&1!=o?f:i.attribute_overrides.$delete(e)},d._s=i,d),e).call(o):f},c.$restore_attributes=function(){var e=this;return e.attributes=e.original_attributes},c.$clear_playback_attributes=function(e){return e.$delete("attribute_entries")},c.$playback_attributes=function(e){var o,n,d,i=this;return(o=e["$key?"]("attribute_entries"))===f||o._isBoolean&&1!=o?f:(o=(n=e["$[]"]("attribute_entries")).$each,o._p=(d=function(e){var o,n=d._s||this,i=f;return null==n.attributes&&(n.attributes=f),null==e&&(e=f),i=e.$name(),(o=e.$negate())===f||o._isBoolean&&1!=o?(n.attributes["$[]="](i,e.$value()),i["$=="]("compat-mode")?n.compat_mode=!0:f):(n.attributes.$delete(i),i["$=="]("compat-mode")?n.compat_mode=!1:f)},d._s=i,d),o).call(n)},c.$set_attribute=function(e,o){var n,d=this,i=f;return(n=d["$attribute_locked?"](e))===f||n._isBoolean&&1!=n?(i=e,"backend"["$==="](i)?d.$update_backend_attributes(d.$apply_attribute_value_subs(o)):"doctype"["$==="](i)?d.$update_doctype_attributes(d.$apply_attribute_value_subs(o)):d.attributes["$[]="](e,d.$apply_attribute_value_subs(o)),d.attributes_modified["$<<"](e),!0):!1},c.$delete_attribute=function(e){var o,n=this;return(o=n["$attribute_locked?"](e))===f||o._isBoolean&&1!=o?(n.attributes.$delete(e),n.attributes_modified["$<<"](e),!0):!1},c["$attribute_locked?"]=function(e){var o=this;return o.attribute_overrides["$key?"](e)},c.$apply_attribute_value_subs=function(e){var o,n=this,d=f,i=f;return(o=d=b.AttributeEntryPassMacroRx.$match(e))===f||o._isBoolean&&1!=o?n.$apply_header_subs(e):(o=d["$[]"](1)["$empty?"]()["$!"]())===f||o._isBoolean&&1!=o?d["$[]"](2):(i=n.$resolve_pass_subs(d["$[]"](1)),(o=i["$empty?"]())===f||o._isBoolean&&1!=o?n.$apply_subs(d["$[]"](2),i):d["$[]"](2))},c.$update_backend_attributes=function(e,o){var n,d,i,t=this,u=f,s=f,p=f,r=f,y=f,a=f,c=f,w=f,g=f,m=f;return null==o&&(o=!1),(n=(d=o)!==!1&&d!==f?d:(i=e!==!1&&e!==f)?e["$=="](t.attributes["$[]"]("backend"))["$!"]():i)===f||n._isBoolean&&1!=n?f:(u=t.attributes,s=u["$[]"]("backend"),p=u["$[]"]("basebackend"),r=u["$[]"]("doctype"),(n=e["$start_with?"]("xhtml"))===f||n._isBoolean&&1!=n?(n=e["$start_with?"]("html"))===f||n._isBoolean&&1!=n||u["$[]="]("htmlsyntax","html"):(u["$[]="]("htmlsyntax","xml"),e=e["$[]"](l(1,-1,!1))),(n=y=b.BACKEND_ALIASES["$[]"](e))===f||n._isBoolean&&1!=n||(e=y),s!==!1&&s!==f&&(u.$delete("backend-"+s),r!==!1&&r!==f&&u.$delete("backend-"+s+"-doctype-"+r)),r!==!1&&r!==f&&(u["$[]="]("doctype-"+r,""),u["$[]="]("backend-"+e+"-doctype-"+r,"")),u["$[]="]("backend",e),u["$[]="]("backend-"+e,""),(n=b.Converter._scope.BackendInfo["$==="](t.converter=t.$create_converter()))===f||n._isBoolean&&1!=n?(a=e.$sub(b.TrailingDigitsRx,""),w=(n=b.DEFAULT_EXTENSIONS["$[]"](a))!==!1&&n!==f?n:".html",c=w["$[]"](l(1,-1,!1)),((n=t["$attribute_locked?"]("outfilesuffix"))===f||n._isBoolean&&1!=n)&&u["$[]="]("outfilesuffix",w)):(a=t.converter.$basebackend(),((n=t["$attribute_locked?"]("outfilesuffix"))===f||n._isBoolean&&1!=n)&&u["$[]="]("outfilesuffix",t.converter.$outfilesuffix()),c=t.converter.$filetype()),(n=g=u["$[]"]("filetype"))===f||n._isBoolean&&1!=n||u.$delete("filetype-"+g),u["$[]="]("filetype",c),u["$[]="]("filetype-"+c,""),(n=m=b.DEFAULT_PAGE_WIDTHS["$[]"](a))===f||n._isBoolean&&1!=n?u.$delete("pagewidth"):u["$[]="]("pagewidth",m),(n=a["$=="](p)["$!"]())===f||n._isBoolean&&1!=n||(p!==!1&&p!==f&&(u.$delete("basebackend-"+p),r!==!1&&r!==f&&u.$delete("basebackend-"+p+"-doctype-"+r)),u["$[]="]("basebackend",a),u["$[]="]("basebackend-"+a,""),r!==!1&&r!==f&&u["$[]="]("basebackend-"+a+"-doctype-"+r,"")),t.backend=f)},c.$update_doctype_attributes=function(e){var o,n,d=this,i=f,t=f,l=f,u=f;return(o=(n=e!==!1&&e!==f)?e["$=="](d.attributes["$[]"]("doctype"))["$!"]():n)===f||o._isBoolean&&1!=o?f:(i=d.attributes,t=i["$[]"]("doctype"),l=i["$[]"]("backend"),u=i["$[]"]("basebackend"),t!==!1&&t!==f&&(i.$delete("doctype-"+t),l!==!1&&l!==f&&i.$delete("backend-"+l+"-doctype-"+t),u!==!1&&u!==f&&i.$delete("basebackend-"+u+"-doctype-"+t)),i["$[]="]("doctype",e),i["$[]="]("doctype-"+e,""),l!==!1&&l!==f&&i["$[]="]("backend-"+l+"-doctype-"+e,""),u!==!1&&u!==f&&i["$[]="]("basebackend-"+u+"-doctype-"+e,""),d.doctype=f)},c.$create_converter=function(){var o,n=this,d=f,i=f,l=f,u=f,s=f;return d=t([],{}),d["$[]="]("htmlsyntax",n.attributes["$[]"]("htmlsyntax")),i=function(){return(o=l=n.options["$[]"]("template_dir"))===f||o._isBoolean&&1!=o?(o=i=n.options["$[]"]("template_dirs"))===f||o._isBoolean&&1!=o?f:d["$[]="]("template_dirs",i):d["$[]="]("template_dirs",[l])}(),i!==!1&&i!==f&&(d["$[]="]("template_cache",n.options.$fetch("template_cache",!0)),d["$[]="]("template_engine",n.options["$[]"]("template_engine")),d["$[]="]("template_engine_options",n.options["$[]"]("template_engine_options")),d["$[]="]("eruby",n.options["$[]"]("eruby"))),s=(o=u=n.options["$[]"]("converter"))===f||o._isBoolean&&1!=o?b.Converter._scope.Factory.$default(!1):b.Converter._scope.Factory.$new((null==(o=e.Object._scope.Hash)?e.cm("Hash"):o)["$[]"](n.$backend(),u)),s.$create(n.$backend(),d)},c.$convert=function(e){var o,n,d,i=this,l=f,u=f,s=f,p=f;return null==e&&(e=t([],{})),((o=i.parsed)===f||o._isBoolean&&1!=o)&&i.$parse(),i.$restore_attributes(),((o=(n=i.safe["$>="](b.SafeMode._scope.SERVER))!==!1&&n!==f?n:e["$empty?"]())===f||o._isBoolean&&1!=o)&&(((o=i.attributes["$[]="]("outfile",e["$[]"]("outfile")))===f||o._isBoolean&&1!=o)&&i.attributes.$delete("outfile"),((o=i.attributes["$[]="]("outdir",e["$[]"]("outdir")))===f||o._isBoolean&&1!=o)&&i.attributes.$delete("outdir")),((o=i.converter)===f||o._isBoolean&&1!=o)&&i.$fail("asciidoctor: FAILED: missing converter for backend '"+i.$backend()+"'. Processing aborted."),i.$doctype()["$=="]("inline")?(n=l=i.blocks["$[]"](0),u=(o=n!==!1&&n!==f?l.$content_model()["$=="]("compound")["$!"]():n)===f||o._isBoolean&&1!=o?"":l.$content()):(s=function(){return(o=function(){return(n=e["$key?"]("header_footer"))===f||n._isBoolean&&1!=n?i.options["$[]"]("header_footer"):e["$[]"]("header_footer")}())===f||o._isBoolean&&1!=o?"embedded":"document"}(),u=i.converter.$convert(i,s)),((o=i.parent_document)===f||o._isBoolean&&1!=o)&&(n=p=i.extensions,(o=n!==!1&&n!==f?p["$postprocessors?"]():n)===f||o._isBoolean&&1!=o||(o=(n=p.$postprocessors()).$each,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),u=e.$process_method()["$[]"](o,u)},d._s=i,d),o).call(n)),u},e.defn(a,"$render",c.$convert),c.$write=function(o,n){var d,i,t,l,u=this;return(d=b.Writer["$==="](u.converter))===f||d._isBoolean&&1!=d?((d=n["$respond_to?"]("write"))===f||d._isBoolean&&1!=d?(d=(i=null==(l=e.Object._scope.File)?e.cm("File"):l).$open,d._p=(t=function(e){return t._s||this,null==e&&(e=f),e.$write(o)},t._s=u,t),d).call(i,n,"w"):(n.$write(o.$chomp()),n.$write(b.EOL)),f):u.converter.$write(o,n)},c.$content=y=function(){var o=n.call(arguments,0),f=this,d=y._p;return y._p=null,f.attributes.$delete("title"),e.find_super_dispatcher(f,"content",y,d).apply(f,o)},c.$docinfo=function(e,o){var n,d,i,l,u=this,s=f,p=f,r=f,y=f,a=f,c=f,w=f,g=f,m=f,x=f;return null==e&&(e="header"),null==o&&(o=f),u.$safe()["$>="](b.SafeMode._scope.SECURE)?"":(s=function(){return e["$=="]("footer")?"-footer":f}(),o!==!1&&o!==f||(o=u.attributes["$[]"]("outfilesuffix")),p=u.attributes["$[]"]("docinfodir"),r=f,y=u.attributes["$key?"]("docinfo"),a=u.attributes["$key?"]("docinfo1"),c=u.attributes["$key?"]("docinfo2"),w="docinfo"+s+o,(n=(d=a)!==!1&&d!==f?d:c)===f||n._isBoolean&&1!=n||(g=u.$normalize_system_path(w,p),(n=r=u.$read_asset(g,t(["normalize"],{normalize:!0})))===f||n._isBoolean&&1!=n||(r=u.$sub_attributes(r))),d=(i=y)!==!1&&i!==f?i:c,(n=d!==!1&&d!==f?u.attributes["$key?"]("docname"):d)===f||n._isBoolean&&1!=n||(g=u.$normalize_system_path(""+u.attributes["$[]"]("docname")+"-"+w,p),(n=m=u.$read_asset(g,t(["normalize"],{normalize:!0})))===f||n._isBoolean&&1!=n||(m=u.$sub_attributes(m),r=function(){return r!==!1&&r!==f?""+r+b.EOL+m:m}())),d=u.extensions,(n=d!==!1&&d!==f?u["$docinfo_processors?"](e):d)===f||n._isBoolean&&1!=n||(x=(n=(d=u.docinfo_processor_extensions["$[]"](e)).$map,n._p=(l=function(e){var o=l._s||this;return null==e&&(e=f),e.$process_method()["$[]"](o)},l._s=u,l),n).call(d).$compact()["$*"](b.EOL),r=function(){return r!==!1&&r!==f?""+r+b.EOL+x:x}()),""+r)},c["$docinfo_processors?"]=function(e){var o,n,d=this;return null==e&&(e="header"),(o=d.docinfo_processor_extensions["$key?"](e))===f||o._isBoolean&&1!=o?(n=d.extensions,(o=n!==!1&&n!==f?d.document.$extensions()["$docinfo_processors?"](e):n)===f||o._isBoolean&&1!=o?d.docinfo_processor_extensions["$[]="](e,!1):d.docinfo_processor_extensions["$[]="](e,d.document.$extensions().$docinfo_processors(e))["$!"]()["$!"]()):d.docinfo_processor_extensions["$[]"](e)["$=="](!1)["$!"]()},c.$to_s=function(){var e,o=this;return"#<"+o.$class()+"@"+o.$object_id()+" {doctype: "+o.$doctype().$inspect()+", doctitle: "+function(){return(e=o.header["$=="](f)["$!"]())===f||e._isBoolean&&1!=e?f:o.header.$title()}().$inspect()+", blocks: "+o.blocks.$size()+"}>"},f&&"to_s"}(u,s.AbstractBlock)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor"),l=(t._proto,t._scope);!function(o,n){function t(){}var l,u=t=d(o,n,"Inline",t),s=u._proto;return u._scope,u.$attr_reader("text"),u.$attr_reader("type"),u.$attr_accessor("target"),s.$initialize=l=function(o,n,d,t){var u,s=this,p=(l._p,f);return null==d&&(d=f),null==t&&(t=i([],{})),l._p=null,e.find_super_dispatcher(s,"initialize",l,null).apply(s,[o,n]),s.node_name="inline_"+n,s.text=d,s.id=t["$[]"]("id"),s.type=t["$[]"]("type"),s.target=t["$[]"]("target"),(u=(p=t["$[]"]("attributes"))["$nil_or_empty?"]())===f||u._isBoolean&&1!=u?s.$update_attributes(p):f},s["$block?"]=function(){return!1},s["$inline?"]=function(){return!0},s.$convert=function(){var e=this;return e.$converter().$convert(e)},e.defn(u,"$render",s.$convert)}(t,l.AbstractNode)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass;return function(o){var t=d(o,"Asciidoctor"),l=(t._proto,t._scope);!function(o,d){function t(){}var l,u,s=t=i(o,d,"List",t),p=s._proto;return s._scope,p.blocks=p.context=p.document=p.style=f,e.defn(s,"$items",p.$blocks),e.defn(s,"$items?",p["$blocks?"]),p.$initialize=l=function(){var o=n.call(arguments,0),f=this,d=l._p;return l._p=null,e.find_super_dispatcher(f,"initialize",l,d).apply(f,o)},p.$content=function(){var e=this;return e.blocks},p.$convert=u=function(){var o=n.call(arguments,0),d=this,i=u._p,t=f;return u._p=null,d.context["$=="]("colist")?(t=e.find_super_dispatcher(d,"convert",u,i).apply(d,o),d.document.$callouts().$next_list(),t):e.find_super_dispatcher(d,"convert",u,i).apply(d,o)},e.defn(s,"$render",p.$convert),p.$to_s=function(){var e=this;return"#<"+e.$class()+"@"+e.$object_id()+" {context: "+e.context.$inspect()+", style: "+e.style.$inspect()+", items: "+e.$items().$size()+"}>"},f&&"to_s"}(t,l.AbstractBlock),function(o,n){function d(){}var t,l=d=i(o,n,"ListItem",d),u=l._proto,s=l._scope;return u.text=u.blocks=f,l.$attr_accessor("marker"),u.$initialize=t=function(o,n){var d=this;return t._p,null==n&&(n=f),t._p=null,e.find_super_dispatcher(d,"initialize",t,null).apply(d,[o,"list_item"]),d.text=n,d.level=o.$level()},u["$text?"]=function(){var e=this;return e.text["$nil_or_empty?"]()["$!"]()},u.$text=function(){var e=this;return e.$apply_subs(e.text)},u.$fold_first=function(e,o){var n,d,i,t,l,u,p=this,r=f,y=f;return null==e&&(e=!1),null==o&&(o=!1),i=r=p.blocks["$[]"](0),d=i!==!1&&i!==f?r["$is_a?"](s.Block):i,(n=d!==!1&&d!==f?(i=(t=r.$context()["$=="]("paragraph"))?e["$!"]():t)!==!1&&i!==f?i:(l=(u=o)!==!1&&u!==f?u:e["$!"](),t=l!==!1&&l!==f?r.$context()["$=="]("literal"):l,t!==!1&&t!==f?r["$option?"]("listparagraph"):t):d)===f||n._isBoolean&&1!=n||(y=p.$blocks().$shift(),((n=p.text["$nil_or_empty?"]())===f||n._isBoolean&&1!=n)&&y.$lines().$unshift(p.text),p.text=y.$source()),f},u.$to_s=function(){var e,o=this;return"#<"+o.$class()+"@"+o.$object_id()+" {list_context: "+o.$parent().$context().$inspect()+", text: "+o.text.$inspect()+", blocks: "+((e=o.blocks)!==!1&&e!==f?e:[]).$size()+"}>"},f&&"to_s"}(t,l.AbstractBlock)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=(e.slice,e.module),i=e.klass,t=e.hash2,l=e.range,u=e.gvars;return function(o){var s=d(o,"Asciidoctor");s._proto,s._scope,!function(o,d){function s(){}var p=s=i(o,d,"Parser",s),r=p._proto,y=p._scope;return e.cdecl(y,"BlockMatchData",y.Struct.$new("context","masq","tip","terminator")),r.$initialize=function(){var e=this;return e.$raise("Au contraire, mon frere. No lexer instances will be running around.")},e.defs(p,"$parse",function(o,n,d){var i,l,u=this,s=f,p=f;if(null==d&&(d=t([],{})),s=u.$parse_document_header(o,n),(i=d["$[]"]("header_only"))===f||i._isBoolean&&1!=i)for(;(l=o["$has_more_lines?"]())!==f&&(!l._isBoolean||1==l);)l=e.to_ary(u.$next_section(o,n,s)),p=null==l[0]?f:l[0],s=null==l[1]?f:l[1],p!==!1&&p!==f&&n["$<<"](p);return n}),e.defs(p,"$parse_document_header",function(o,n){var d,i,t=this,l=f,u=f,s=f,p=f,r=f,y=f,a=f,c=f;return l=t.$parse_block_metadata_lines(o,n),(d=l["$has_key?"]("title"))===f||d._isBoolean&&1!=d?(u=f,((d=(s=n.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]())===f||d._isBoolean&&1!=d)&&(n["$title="](s),u=s),p=f,(d=t["$is_next_line_document_title?"](o,l))===f||d._isBoolean&&1!=d||((d=n.$sourcemap())===f||d._isBoolean&&1!=d||(r=o.$cursor()),d=e.to_ary(t.$parse_section_title(o,n)),n["$id="](null==d[0]?f:d[0]),y=null==d[1]?f:d[1],a=null==d[2]?f:d[2],y=null==d[3]?f:d[3],c=null==d[4]?f:d[4],u!==!1&&u!==f||(n["$title="](a),u=a),c!==!1&&c!==f||n.$set_attribute("compat-mode",""),r!==!1&&r!==f&&n.$header()["$source_location="](r),n.$attributes()["$[]="]("doctitle",p=a),((d=n.$id())===f||d._isBoolean&&1!=d)&&n["$id="](l.$delete("id")),t.$parse_header_metadata(o,n)),i=(s=n.$attributes()["$[]"]("doctitle"))["$nil_or_empty?"]()["$!"](),(d=i!==!1&&i!==f?s["$=="](p)["$!"]():i)===f||d._isBoolean&&1!=d||(n["$title="](s),u=s),u!==!1&&u!==f&&n.$attributes()["$[]="]("doctitle",u),n.$doctype()["$=="]("manpage")&&t.$parse_manpage_header(o,n),n.$finalize_header(l)):n.$finalize_header(l,!1)}),e.defs(p,"$parse_manpage_header",function(e,o){var n,d=this,i=f,l=f,u=f;return(n=i=y.ManpageTitleVolnumRx.$match(o.$attributes()["$[]"]("doctitle")))===f||n._isBoolean&&1!=n?d.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed manpage title"):(o.$attributes()["$[]="]("mantitle",o.$sub_attributes(i["$[]"](1).$rstrip().$downcase())),
  o.$attributes()["$[]="]("manvolnum",i["$[]"](2).$strip())),e.$skip_blank_lines(),(n=d["$is_next_line_section?"](e,t([],{})))===f||n._isBoolean&&1!=n?d.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section expected"):(l=d.$initialize_section(e,o,t([],{})),l.$level()["$=="](1)?(u=e.$read_lines_until(t(["break_on_blank_lines"],{break_on_blank_lines:!0})).$join(" ").$tr_s(" "," "),(n=i=y.ManpageNamePurposeRx.$match(u))===f||n._isBoolean&&1!=n?d.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": malformed name section body"):(o.$attributes()["$[]="]("manname",o.$sub_attributes(i["$[]"](1))),o.$attributes()["$[]="]("manpurpose",i["$[]"](2)),o.$backend()["$=="]("manpage")?(o.$attributes()["$[]="]("docname",o.$attributes()["$[]"]("manname")),o.$attributes()["$[]="]("outfilesuffix","."+o.$attributes()["$[]"]("manvolnum"))):f)):d.$warn("asciidoctor: ERROR: "+e.$prev_line_info()+": name section title must be at level 1"))}),e.defs(p,"$next_section",function(o,n,d){var i,l,u,s,p=this,r=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f,A=f;for(null==d&&(d=t([],{})),r=!1,a=!1,c=!1,l=(u=n.$context()["$=="]("document"))?n.$blocks()["$empty?"]():u,(i=l!==!1&&l!==f?(u=(s=b=n["$has_header?"]())!==!1&&s!==f?s:d.$delete("invalid-header"))!==!1&&u!==f?u:p["$is_next_line_section?"](o,d)["$!"]():l)===f||i._isBoolean&&1!=i?(w=n.$document().$doctype(),g=p.$initialize_section(o,n,d),d=function(){return(i=j=d["$[]"]("title"))===f||i._isBoolean&&1!=i?t([],{}):t(["title"],{title:j})}(),m=g.$level(),(i=(l=m["$=="](0))?w["$=="]("book"):l)===f||i._isBoolean&&1!=i?x=[m["$+"](1)]:(a=g.$special()["$!"](),l=g.$special(),x=(i=l!==!1&&l!==f?["preface","appendix"]["$include?"](g.$sectname()):l)===f||i._isBoolean&&1!=i?[m["$+"](1)]:[m["$+"](2)])):(w=n.$doctype(),(i=(l=b)!==!1&&l!==f?l:(u=w["$=="]("book"))?d["$[]"](1)["$=="]("abstract")["$!"]():u)===f||i._isBoolean&&1!=i||(r=c=y.Block.$new(n,"preamble",t(["content_model"],{content_model:"compound"})),(i=(l=w["$=="]("book"))?n["$attr?"]("preface-title"):l)===f||i._isBoolean&&1!=i||r["$title="](n.$attr("preface-title")),n["$<<"](r)),g=n,m=0,x=(i=n.$attributes()["$has_key?"]("fragment"))===f||i._isBoolean&&1!=i?w["$=="]("book")?[0,1]:[1]:f),o.$skip_blank_lines();(l=o["$has_more_lines?"]())!==f&&(!l._isBoolean||1==l);){if(p.$parse_block_metadata_lines(o,g,d),(l=k=p["$is_next_line_section?"](o,d))===f||l._isBoolean&&1!=l)P=o.$line_info(),(l=h=p.$next_block(o,(u=c)!==!1&&u!==f?u:g,d,t(["parse_metadata"],{parse_metadata:!1})))===f||l._isBoolean&&1!=l||(a!==!1&&a!==f&&((l=g["$blocks?"]()["$!"]())===f||l._isBoolean&&1!=l?g.$blocks().$size()["$=="](1)&&(q=g.$blocks()["$[]"](0),u=c["$!"](),(l=u!==!1&&u!==f?q.$content_model()["$=="]("compound"):u)===f||l._isBoolean&&1!=l?(l=q.$content_model()["$=="]("compound")["$!"]())===f||l._isBoolean&&1!=l||(c=y.Block.$new(g,"open",t(["content_model"],{content_model:"compound"})),c["$style="]("partintro"),g.$blocks().$shift(),q.$style()["$=="]("partintro")&&(q["$context="]("paragraph"),q["$style="](f)),q["$parent="](c),c["$<<"](q),h["$parent="](c),g["$<<"](c)):p.$warn("asciidoctor: ERROR: "+P+": illegal block content outside of partintro block")):(l=h.$style()["$=="]("partintro")["$!"]())===f||l._isBoolean&&1!=l||(h.$context()["$=="]("paragraph")?(h["$context="]("open"),h["$style="]("partintro")):(c=y.Block.$new(g,"open",t(["content_model"],{content_model:"compound"})),c["$style="]("partintro"),h["$parent="](c),g["$<<"](c)))),((l=c)!==!1&&l!==f?l:g)["$<<"](h),d=t([],{}));else{if(k=k["$+"](g.$document().$attr("leveloffset",0).$to_i()),(l=(u=k["$>"](m))!==!1&&u!==f?u:(s=g.$context()["$=="]("document"))?k["$=="](0):s)===f||l._isBoolean&&1!=l){(l=(u=k["$=="](0))?w["$=="]("book")["$!"]():u)===f||l._isBoolean&&1!=l||p.$warn("asciidoctor: ERROR: "+o.$line_info()+": only book doctypes can contain level 0 sections");break}(l=(u=k["$=="](0))?w["$=="]("book")["$!"]():u)===f||l._isBoolean&&1!=l?(l=(u=x!==!1&&x!==f)?x["$include?"](k)["$!"]():u)===f||l._isBoolean&&1!=l||p.$warn(("asciidoctor: WARNING: "+o.$line_info()+": section title out of sequence: ")["$+"]("expected "+function(){return x.$size()["$>"](1)?"levels":"level"}()+" "+x["$*"](" or ")+", ")["$+"]("got level "+k)):p.$warn("asciidoctor: ERROR: "+o.$line_info()+": only book doctypes can contain level 0 sections"),l=e.to_ary(p.$next_section(o,g,d)),v=null==l[0]?f:l[0],d=null==l[1]?f:l[1],g["$<<"](v)}o.$skip_blank_lines()}if(a!==!1&&a!==f)l=g["$blocks?"](),((i=l!==!1&&l!==f?g.$blocks()["$[]"](-1).$context()["$=="]("section"):l)===f||i._isBoolean&&1!=i)&&p.$warn("asciidoctor: ERROR: "+o.$line_info()+": invalid part, must have at least one section (e.g., chapter, appendix, etc.)");else if(r!==!1&&r!==f)if(z=n,(i=r["$blocks?"]())===f||i._isBoolean&&1!=i)z.$blocks().$shift();else if(u=y.Compliance.$unwrap_standalone_preamble(),l=u!==!1&&u!==f?z.$blocks().$size()["$=="](1):u,(i=l!==!1&&l!==f?w["$=="]("book")["$!"]():l)!==f&&(!i._isBoolean||1==i))for(z.$blocks().$shift();(l=A=r.$blocks().$shift())!==f&&(!l._isBoolean||1==l);)A["$parent="](z),z["$<<"](A);return[function(){return(i=g["$=="](n)["$!"]())===f||i._isBoolean&&1!=i?f:g}(),d.$dup()]}),e.defs(p,"$next_block",function(o,n,d,i){var u,s,p,r,a,c,b,w,g,m,x,j,k,v,P,h,q,z,A,B=this,C=f,D=f,E=f,F=f,G=f,H=f,I=f,J=f,K=f,L=f,M=f,N=f,O=f,Q=f,R=f,S=f,T=f,U=f,V=f,W=f,X=f,Y=f,Z=f,$=f,_=f,ee=f,oe=f,fe=f,ne=f,de=f,ie=f,te=f,le=f,ue=f,se=f,pe=f,re=f,ye=f,ae=f,ce=f,be=f,we=f,ge=f,me=f,xe=f,je=f,ke=f,ve=f,Pe=f,he=f,qe=f,ze=f,Ae=f,Be=f,Ce=f,De=f,Ee=f,Fe=f,Ge=f;if(null==d&&(d=t([],{})),null==i&&(i=t([],{})),C=o.$skip_blank_lines(),(u=o["$has_more_lines?"]())===f||u._isBoolean&&1!=u)return f;for(s=D=i["$[]"]("text"),(u=s!==!1&&s!==f?C["$>"](0):s)===f||u._isBoolean&&1!=u||(i.$delete("text"),D=!1),E=i.$fetch("parse_metadata",!0),F=n.$document(),(u=G=F.$extensions())===f||u._isBoolean&&1!=u?H=I=!1:(H=G["$blocks?"](),I=G["$block_macros?"]()),J=n["$is_a?"](y.List),K=f,L=f,M=f,N=F.$sourcemap(),O=f;p=K["$!"](),(s=p!==!1&&p!==f?o["$has_more_lines?"]():p)!==f&&(!s._isBoolean||1==s);)if((s=(p=E!==!1&&E!==f)?B.$parse_block_metadata_line(o,F,d,i):p)===f||s._isBoolean&&1!=s){if(N!==!1&&N!==f&&(O=o.$cursor()),Q=o.$read_line(),R=!1,S=f,T=f,U=f,(s=d["$[]"](1))===f||s._isBoolean&&1!=s||(s=e.to_ary(B.$parse_style_attribute(d,o)),L=null==s[0]?f:s[0],M=null==s[1]?f:s[1]),(s=V=B["$is_delimited_block?"](Q,!0))===f||s._isBoolean&&1!=s||(R=!0,S=T=V.$context(),U=V.$terminator(),(s=L["$!"]())===f||s._isBoolean&&1!=s?(s=L["$=="](S.$to_s())["$!"]())===f||s._isBoolean&&1!=s||((s=V.$masq()["$include?"](L))===f||s._isBoolean&&1!=s?(p=V.$masq()["$include?"]("admonition"),(s=p!==!1&&p!==f?y.ADMONITION_STYLES["$include?"](L):p)===f||s._isBoolean&&1!=s?(s=(p=H!==!1&&H!==f)?G["$registered_for_block?"](L,S):p)===f||s._isBoolean&&1!=s?(B.$warn("asciidoctor: WARNING: "+o.$prev_line_info()+": invalid style for "+S+" block: "+L),L=S.$to_s()):S=L.$to_sym():S="admonition"):S=L.$to_sym()):L=d["$[]="]("style",S.$to_s())),R!==!1&&R!==f);else for(;(p=!0)!==f&&(!p._isBoolean||1==p);){if(r=(a=L!==!1&&L!==f)?y.Compliance.$strict_verbatim_paragraphs():a,(p=r!==!1&&r!==f?y.VERBATIM_STYLES["$include?"](L):r)!==f&&(!p._isBoolean||1==p)){S=L.$to_sym(),o.$unshift_line(Q);break}if(D!==!1&&D!==f);else{if(W=function(){return(p=y.Compliance.$markdown_syntax())===f||p._isBoolean&&1!=p?Q.$chr():Q.$lstrip().$chr()}(),a=y.LAYOUT_BREAK_LINES["$has_key?"](W),r=a!==!1&&a!==f?Q.$length()["$>="](3):a,!((p=r!==!1&&r!==f?function(){return(a=y.Compliance.$markdown_syntax())===f||a._isBoolean&&1!=a?y.LayoutBreakLineRx:y.LayoutBreakLinePlusRx}()["$=~"](Q):r)===f||p._isBoolean&&1!=p)){K=y.Block.$new(n,y.LAYOUT_BREAK_LINES["$[]"](W),t(["content_model"],{content_model:"empty"}));break}if(r=Q["$end_with?"]("]"),!((p=r!==!1&&r!==f?X=y.MediaBlockMacroRx.$match(Q):r)===f||p._isBoolean&&1!=p)){if(Y=X["$[]"](1).$to_sym(),K=y.Block.$new(n,Y,t(["content_model"],{content_model:"empty"})),Z=Y["$=="]("image")?["alt","width","height"]:Y["$=="]("video")?["poster","width","height"]:[],((p=(r=L["$!"]())!==!1&&r!==f?r:M)===f||p._isBoolean&&1!=p)&&(Y["$=="]("image")&&d["$[]="]("alt",L),d.$delete("style"),L=f),K.$parse_attributes(X["$[]"](3),Z,t(["unescape_input","sub_input","sub_result","into"],{unescape_input:Y["$=="]("image"),sub_input:!0,sub_result:!1,into:d})),$=K.$sub_attributes(X["$[]"](2),t(["attribute_missing"],{attribute_missing:"drop-line"})),(p=$["$empty?"]())!==f&&(!p._isBoolean||1==p))return F.$attributes().$fetch("attribute-missing",y.Compliance.$attribute_missing())["$=="]("skip")?y.Block.$new(n,"paragraph",t(["content_model","source"],{content_model:"simple",source:[Q]})):(d.$clear(),f);d["$[]="]("target",$);break}if(!((p=(r=W["$=="]("t"))?X=y.TocBlockMacroRx.$match(Q):r)===f||p._isBoolean&&1!=p)){K=y.Block.$new(n,"toc",t(["content_model"],{content_model:"empty"})),K.$parse_attributes(X["$[]"](1),[],t(["sub_result","into"],{sub_result:!1,into:d}));break}if(r=(a=I!==!1&&I!==f)?X=y.GenericBlockMacroRx.$match(Q):a,(p=r!==!1&&r!==f?_=G["$registered_for_block_macro?"](X["$[]"](1)):r)!==f&&(!p._isBoolean||1==p)){if($=X["$[]"](2),ee=X["$[]"](3),_.$config()["$[]"]("content_model")["$=="]("attributes")?((p=ee["$empty?"]())===f||p._isBoolean&&1!=p)&&F.$parse_attributes(ee,(p=_.$config()["$[]"]("pos_attrs"))!==!1&&p!==f?p:[],t(["sub_input","sub_result","into"],{sub_input:!0,sub_result:!1,into:d})):d["$[]="]("text",ee),(p=oe=_.$config()["$[]"]("default_attrs"))===f||p._isBoolean&&1!=p||(p=(r=oe).$each,p._p=(c=function(e,o){var n,i,t;return c._s||this,null==e&&(e=f),null==o&&(o=f),n=e,i=d,(t=i["$[]"](n))!==!1&&t!==f?t:i["$[]="](n,o)},c._s=B,c),p).call(r),(p=K=_.$process_method()["$[]"](n,$,d.$dup()))===f||p._isBoolean&&1!=p)return d.$clear(),f;d.$replace(K.$attributes());break}}if(!((p=X=y.CalloutListRx.$match(Q))===f||p._isBoolean&&1!=p)){for(K=y.List.$new(n,"colist"),d["$[]="]("style","arabic"),o.$unshift_line(Q),fe=1;b=o["$has_more_lines?"](),(a=b!==!1&&b!==f?X=y.CalloutListRx.$match(o.$peek_line()):b)!==f&&(!a._isBoolean||1==a);)(a=X["$[]"](1).$to_i()["$=="](fe)["$!"]())===f||a._isBoolean&&1!=a||B.$warn("asciidoctor: WARNING: "+o.$path()+": line "+o.$lineno()["$-"](2)+": callout list item index: expected "+fe+" got "+X["$[]"](1)),ne=B.$next_list_item(o,K,X),fe=fe["$+"](1),ne!==!1&&ne!==f&&(K["$<<"](ne),de=F.$callouts().$callout_ids(K.$items().$size()),(a=de["$empty?"]()["$!"]())===f||a._isBoolean&&1!=a?B.$warn("asciidoctor: WARNING: "+o.$path()+": line "+o.$lineno()["$-"](2)+": no callouts refer to list item "+K.$items().$size()):ne.$attributes()["$[]="]("coids",de));F.$callouts().$next_list();break}if(!((p=y.UnorderedListRx["$=~"](Q))===f||p._isBoolean&&1!=p)){o.$unshift_line(Q),K=B.$next_outline_list(o,"ulist",n);break}if(!((p=X=y.OrderedListRx.$match(Q))===f||p._isBoolean&&1!=p)){o.$unshift_line(Q),K=B.$next_outline_list(o,"olist",n),a=d["$[]"]("style")["$!"](),(p=a!==!1&&a!==f?K.$attributes()["$[]"]("style")["$!"]():a)===f||p._isBoolean&&1!=p||(ie=K.$items()["$[]"](0).$marker(),(p=ie["$start_with?"]("."))===f||p._isBoolean&&1!=p?(L=(p=(a=y.ORDERED_LIST_STYLES).$detect,p._p=(w=function(e){return w._s||this,null==e&&(e=f),y.OrderedListMarkerRxMap["$[]"](e)["$=~"](ie)},w._s=B,w),p).call(a),d["$[]="]("style",((p=L)!==!1&&p!==f?p:y.ORDERED_LIST_STYLES["$[]"](0)).$to_s())):d["$[]="]("style",((p=y.ORDERED_LIST_STYLES["$[]"](ie.$length()["$-"](1)))!==!1&&p!==f?p:y.ORDERED_LIST_STYLES["$[]"](0)).$to_s()));break}if(!((p=X=y.DefinitionListRx.$match(Q))===f||p._isBoolean&&1!=p)){o.$unshift_line(Q),K=B.$next_labeled_list(o,X,n);break}if(b=(g=L["$=="]("float"))!==!1&&g!==f?g:L["$=="]("discrete"),!((p=b!==!1&&b!==f?B["$is_section_title?"](Q,function(){return(g=y.Compliance.$underline_style_section_titles())===f||g._isBoolean&&1!=g?f:o.$peek_line(!0)}()):b)===f||p._isBoolean&&1!=p)){o.$unshift_line(Q),p=e.to_ary(B.$parse_section_title(o,F)),te=null==p[0]?f:p[0],le=null==p[1]?f:p[1],ue=null==p[2]?f:p[2],se=null==p[3]?f:p[3],pe=null==p[4]?f:p[4],le!==!1&&le!==f&&d["$[]="]("reftext",le),(p=d["$has_key?"]("id"))===f||p._isBoolean&&1!=p||((p=te)!==!1&&p!==f?p:te=d["$[]"]("id")),K=y.Block.$new(n,"floating_title",t(["content_model"],{content_model:"empty"})),(p=te["$nil_or_empty?"]())===f||p._isBoolean&&1!=p?K["$id="](te):(re=y.Section.$new(n),re["$title="](ue),K["$id="](re.$generate_id())),K["$level="](se),K["$title="](ue);break}if((p=(b=L!==!1&&L!==f)?L["$=="]("normal")["$!"]():b)!==f&&(!p._isBoolean||1==p)){if(!((p=y.PARAGRAPH_STYLES["$include?"](L))===f||p._isBoolean&&1!=p)){S=L.$to_sym(),T="paragraph",o.$unshift_line(Q);break}if(!((p=y.ADMONITION_STYLES["$include?"](L))===f||p._isBoolean&&1!=p)){S="admonition",T="paragraph",o.$unshift_line(Q);break}if(!((p=(b=H!==!1&&H!==f)?G["$registered_for_block?"](L,"paragraph"):b)===f||p._isBoolean&&1!=p)){S=L.$to_sym(),T="paragraph",o.$unshift_line(Q);break}B.$warn("asciidoctor: WARNING: "+o.$prev_line_info()+": invalid style for paragraph: "+L),L=f}if(ye=(p=C["$=="](0))?J:p,b=L["$=="]("normal")["$!"](),(p=b!==!1&&b!==f?y.LiteralParagraphRx["$=~"](Q):b)===f||p._isBoolean&&1!=p){if(o.$unshift_line(Q),ae=(p=(g=o).$read_lines_until,p._p=(x=function(e){var o,n,d,i=x._s||this;return null==e&&(e=f),(o=(n=ye!==!1&&ye!==f)?y.AnyListRx["$=~"](e):n)!==!1&&o!==f?o:(n=y.Compliance.$block_terminates_paragraph(),n!==!1&&n!==f?(d=i["$is_delimited_block?"](e))!==!1&&d!==f?d:y.BlockAttributeLineRx["$=~"](e):n)},x._s=B,x),p).call(g,t(["break_on_blank_lines","break_on_list_continuation","preserve_last_line","skip_line_comments"],{break_on_blank_lines:!0,break_on_list_continuation:!0,preserve_last_line:!0,skip_line_comments:!0})),(p=ae["$empty?"]())!==f&&(!p._isBoolean||1==p))return o.$advance(),f;if(B.$catalog_inline_anchors(ae.$join(y.EOL),F),ce=ae["$[]"](0),j=D["$!"](),(p=j!==!1&&j!==f?be=y.AdmonitionParagraphRx.$match(ce):j)===f||p._isBoolean&&1!=p)if(k=D["$!"](),j=k!==!1&&k!==f?y.Compliance.$markdown_syntax():k,(p=j!==!1&&j!==f?ce["$start_with?"]("> "):j)===f||p._isBoolean&&1!=p)if(q=D["$!"](),h=q!==!1&&q!==f?ae.$size()["$>"](1):q,P=h!==!1&&h!==f?ce["$start_with?"]('"'):h,k=P!==!1&&P!==f?ae["$[]"](-1)["$start_with?"]("-- "):P,(p=k!==!1&&k!==f?ae["$[]"](-2)["$end_with?"]('"'):k)===f||p._isBoolean&&1!=p)(p=(k=L["$=="]("normal"))?(P=(W=ae["$[]"](0).$chr())["$=="](" "))!==!1&&P!==f?P:W["$=="](y.TAB):k)===f||p._isBoolean&&1!=p||(ce=ae["$[]"](0),xe=ce.$lstrip(),je=B.$line_length(ce)["$-"](B.$line_length(xe)),ae["$[]="](0,xe),(p=(k=ae.$size()).$times,p._p=(z=function(e){return z._s||this,null==e&&(e=f),e["$>"](0)?ae["$[]="](e,ae["$[]"](e)["$[]"](l(je,-1,!1))):f},z._s=B,z),p).call(k)),K=y.Block.$new(n,"paragraph",t(["content_model","source","attributes"],{content_model:"simple",source:ae,attributes:d}));else{for(ae["$[]="](0,ce["$[]"](l(1,-1,!1))),p=e.to_ary(ae.$pop()["$[]"](l(3,-1,!1)).$split(", ",2)),ge=null==p[0]?f:p[0],me=null==p[1]?f:p[1];(k=ae["$[]"](-1)["$empty?"]())!==f&&(!k._isBoolean||1==k);)ae.$pop();ae["$[]="](-1,ae["$[]"](-1).$chop()),d["$[]="]("style","quote"),ge!==!1&&ge!==f&&d["$[]="]("attribution",ge),me!==!1&&me!==f&&d["$[]="]("citetitle",me),K=y.Block.$new(n,"quote",t(["content_model","source","attributes"],{content_model:"simple",source:ae,attributes:d}))}else{if((p=(j=ae)["$map!"],p._p=(v=function(e){var o;return v._s||this,null==e&&(e=f),e["$=="](">")?e["$[]"](l(1,-1,!1)):(o=e["$start_with?"]("> "))===f||o._isBoolean&&1!=o?e:e["$[]"](l(2,-1,!1))},v._s=B,v),p).call(j),(p=ae["$[]"](-1)["$start_with?"]("-- "))===f||p._isBoolean&&1!=p)p=e.to_ary(f),ge=null==p[0]?f:p[0],me=null==p[1]?f:p[1];else for(p=e.to_ary(ae.$pop()["$[]"](l(3,-1,!1)).$split(", ",2)),ge=null==p[0]?f:p[0],me=null==p[1]?f:p[1];(k=ae["$[]"](-1)["$empty?"]())!==f&&(!k._isBoolean||1==k);)ae.$pop();d["$[]="]("style","quote"),ge!==!1&&ge!==f&&d["$[]="]("attribution",ge),me!==!1&&me!==f&&d["$[]="]("citetitle",me),K=B.$build_block("quote","compound",!1,n,y.Reader.$new(ae),d)}else ae["$[]="](0,be.$post_match().$lstrip()),d["$[]="]("style",be["$[]"](1)),d["$[]="]("name",we=be["$[]"](1).$downcase()),p="caption",j=d,(k=j["$[]"](p))!==!1&&k!==f?k:j["$[]="](p,F.$attributes()["$[]"](""+we+"-caption")),K=y.Block.$new(n,"admonition",t(["content_model","source","attributes"],{content_model:"simple",source:ae,attributes:d}))}else o.$unshift_line(Q),ae=(p=(b=o).$read_lines_until,p._p=(m=function(e){var o,n,d,i=m._s||this;return null==e&&(e=f),(o=(n=ye!==!1&&ye!==f)?y.AnyListRx["$=~"](e):n)!==!1&&o!==f?o:(n=y.Compliance.$block_terminates_paragraph(),n!==!1&&n!==f?(d=i["$is_delimited_block?"](e))!==!1&&d!==f?d:y.BlockAttributeLineRx["$=~"](e):n)},m._s=B,m),p).call(b,t(["break_on_blank_lines","break_on_list_continuation","preserve_last_line"],{break_on_blank_lines:!0,break_on_list_continuation:!0,preserve_last_line:!0})),B["$reset_block_indent!"](ae),K=y.Block.$new(n,"literal",t(["content_model","source","attributes"],{content_model:"verbatim",source:ae,attributes:d})),J!==!1&&J!==f&&K.$set_option("listparagraph");break}if(p=K["$!"](),(s=p!==!1&&p!==f?S:p)!==f&&(!s._isBoolean||1==s))if((s=(p=S["$=="]("abstract"))!==!1&&p!==f?p:S["$=="]("partintro"))===f||s._isBoolean&&1!=s||(S="open"),ke=S,"admonition"["$==="](ke))d["$[]="]("name",we=L.$downcase()),s="caption",p=d,(P=p["$[]"](s))!==!1&&P!==f?P:p["$[]="](s,F.$attributes()["$[]"](""+we+"-caption")),K=B.$build_block(S,"compound",U,n,o,d);else{if("comment"["$==="](ke))return B.$build_block(S,"skip",U,n,o,d),f;if("example"["$==="](ke))K=B.$build_block(S,"compound",U,n,o,d);else if("listing"["$==="](ke)||"fenced_code"["$==="](ke)||"source"["$==="](ke))S["$=="]("fenced_code")?(L=d["$[]="]("style","source"),s=e.to_ary(Q["$[]"](l(3,-1,!1)).$split(",",2)),ve=null==s[0]?f:s[0],Pe=null==s[1]?f:s[1],(s=(p=ve!==!1&&ve!==f)?(ve=ve.$strip())["$empty?"]()["$!"]():p)===f||s._isBoolean&&1!=s?(s=he=F.$attributes()["$[]"]("source-language"))===f||s._isBoolean&&1!=s||d["$[]="]("language",he):(d["$[]="]("language",ve),(s=(p=Pe!==!1&&Pe!==f)?Pe.$strip()["$empty?"]()["$!"]():p)===f||s._isBoolean&&1!=s||d["$[]="]("linenums","")),U=U["$[]"](l(0,2,!1))):S["$=="]("source")&&(y.AttributeList.$rekey(d,[f,"language","linenums"]),((s=d["$has_key?"]("language"))===f||s._isBoolean&&1!=s)&&((s=he=F.$attributes()["$[]"]("source-language"))===f||s._isBoolean&&1!=s||d["$[]="]("language",he))),K=B.$build_block("listing","verbatim",U,n,o,d);else if("literal"["$==="](ke))K=B.$build_block(S,"verbatim",U,n,o,d);else if("pass"["$==="](ke))K=B.$build_block(S,"raw",U,n,o,d);else if("stem"["$==="](ke)||"latexmath"["$==="](ke)||"asciimath"["$==="](ke))S["$=="]("stem")&&d["$[]="]("style",function(){return(s=qe=d["$[]"](2))===f||s._isBoolean&&1!=s?(s=(ze=F.$attributes()["$[]"]("stem"))["$nil_or_empty?"]())===f||s._isBoolean&&1!=s?ze:"asciimath":(s=qe["$include?"]("tex"))===f||s._isBoolean&&1!=s?"asciimath":"latexmath"}()),K=B.$build_block("stem","raw",U,n,o,d);else if("open"["$==="](ke)||"sidebar"["$==="](ke))K=B.$build_block(S,"compound",U,n,o,d);else if("table"["$==="](ke))Ae=o.$cursor(),Be=y.Reader.$new(o.$read_lines_until(t(["terminator","skip_line_comments"],{terminator:U,skip_line_comments:!0})),Ae),ke=U.$chr(),","["$==="](ke)?d["$[]="]("format","csv"):":"["$==="](ke)&&d["$[]="]("format","dsv"),K=B.$next_table(Be,n,d);else if("quote"["$==="](ke)||"verse"["$==="](ke))y.AttributeList.$rekey(d,[f,"attribution","citetitle"]),K=B.$build_block(S,function(){return S["$=="]("verse")?"verbatim":"compound"}(),U,n,o,d);else if((s=(p=H!==!1&&H!==f)?_=G["$registered_for_block?"](S,T):p)===f||s._isBoolean&&1!=s)B.$raise("Unsupported block type "+S+" at "+o.$line_info());else if((s=(Ce=_.$config()["$[]"]("content_model"))["$=="]("skip")["$!"]())===f||s._isBoolean&&1!=s||((s=(De=(p=_.$config()["$[]"]("pos_attrs"))!==!1&&p!==f?p:[])["$empty?"]()["$!"]())===f||s._isBoolean&&1!=s||y.AttributeList.$rekey(d,[f].$concat(De)),(s=oe=_.$config()["$[]"]("default_attrs"))===f||s._isBoolean&&1!=s||(s=(p=oe).$each,s._p=(A=function(e,o){var n,i,t;return A._s||this,null==e&&(e=f),null==o&&(o=f),n=e,i=d,(t=i["$[]"](n))!==!1&&t!==f?t:i["$[]="](n,o)},A._s=B,A),s).call(p)),K=B.$build_block(S,Ce,U,n,o,d,t(["extension"],{extension:_})),(s=(P=K!==!1&&K!==f)?Ce["$=="]("skip")["$!"]():P)===f||s._isBoolean&&1!=s)return d.$clear(),f}}else o.$advance();return K!==!1&&K!==f&&(O!==!1&&O!==f&&K["$source_location="](O),((u=K["$title?"]())===f||u._isBoolean&&1!=u)&&K["$title="](d["$[]"]("title")),K.$context()["$=="]("image")?(Ee=d["$[]"]("target"),K.$document().$register("images",Ee),u="alt",s=d,(P=s["$[]"](u))!==!1&&P!==f?P:s["$[]="](u,(null==(h=e.Object._scope.File)?e.cm("File"):h).$basename(Ee,(null==(h=e.Object._scope.File)?e.cm("File"):h).$extname(Ee)).$tr("_-"," ")),d["$[]="]("alt",K.$sub_specialcharacters(d["$[]"]("alt"))),K.$assign_caption(d.$delete("caption"),"figure"),(u=Fe=d["$[]"]("scaledwidth"))===f||u._isBoolean&&1!=u||(u=l(48,57,!1)["$include?"](((s=Fe["$[]"](-1))!==!1&&s!==f?s:0).$ord()))===f||u._isBoolean&&1!=u||d["$[]="]("scaledwidth",""+Fe+"%")):(u=K,(s=u.$caption())!==!1&&s!==f?s:u["$caption="](d.$delete("caption"))),K["$style="](d["$[]"]("style")),s=K,(u=Ge=(P=s.$id())!==!1&&P!==f?P:s["$id="](d["$[]"]("id")))===f||u._isBoolean&&1!=u||F.$register("ids",[Ge,(u=d["$[]"]("reftext"))!==!1&&u!==f?u:function(){return(s=K["$title?"]())===f||s._isBoolean&&1!=s?f:K.$title()}()]),((u=d["$empty?"]())===f||u._isBoolean&&1!=u)&&K.$attributes().$update(d),K.$lock_in_subs(),(u=K["$sub?"]("callouts"))===f||u._isBoolean&&1!=u||((u=B.$catalog_callouts(K.$source(),F))===f||u._isBoolean&&1!=u)&&K.$remove_sub("callouts")),K}),e.defs(p,"$is_delimited_block?",function(e,o){var n,d,i=f,t=f,u=f,s=f,p=f,r=f,a=f;if(null==o&&(o=!1),(n=(d=(i=e.$length())["$>"](1))?y.DELIMITED_BLOCK_LEADERS["$include?"](e["$[]"](l(0,1,!1))):d)===f||n._isBoolean&&1!=n)return f;if(i["$=="](2))t=e,u=2;else{if(i["$<="](4)?(t=e,u=i):(t=e["$[]"](l(0,3,!1)),u=4),s=!1,(n=y.Compliance.$markdown_syntax())!==f&&(!n._isBoolean||1==n)&&(p=function(){return u["$=="](4)?t.$chop():t}(),p["$=="]("```"))){if((n=(d=u["$=="](4))?t["$end_with?"]("`"):d)!==f&&(!n._isBoolean||1==n))return f;t=p,u=3,s=!0}if((n=(d=u["$=="](3))?s["$!"]():d)!==f&&(!n._isBoolean||1==n))return f}return(n=y.DELIMITED_BLOCKS["$has_key?"](t))===f||n._isBoolean&&1!=n?f:(n=(d=u["$<"](4))!==!1&&d!==f?d:u["$=="](i))===f||n._isBoolean&&1!=n?(""+t+t["$[]"](l(-1,-1,!1))["$*"](i["$-"](u)))["$=="](e)?o!==!1&&o!==f?((n=y.DELIMITED_BLOCKS["$[]"](t)).$to_a?n=n.$to_a():n._isArray?n:n=[n],r=null==n[0]?f:n[0],a=null==n[1]?f:n[1],y.BlockMatchData.$new(r,a,t,e)):!0:f:o!==!1&&o!==f?((n=y.DELIMITED_BLOCKS["$[]"](t)).$to_a?n=n.$to_a():n._isArray?n:n=[n],r=null==n[0]?f:n[0],a=null==n[1]?f:n[1],y.BlockMatchData.$new(r,a,t,t)):!0}),e.defs(p,"$build_block",function(e,o,n,d,i,l,u){var s,p,r,a,c=this,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f;if(null==u&&(u=t([],{})),(s=(p=o["$=="]("skip"))!==!1&&p!==f?p:o["$=="]("raw"))===f||s._isBoolean&&1!=s?(b=!1,w=o):(b=o["$=="]("skip"),w="simple"),(s=n["$nil?"]())===f||s._isBoolean&&1!=s?(s=w["$=="]("compound")["$!"]())===f||s._isBoolean&&1!=s?n["$=="](!1)?(g=f,m=i):(g=f,x=i.$cursor(),m=y.Reader.$new(i.$read_lines_until(t(["terminator","skip_processing"],{terminator:n,skip_processing:b})),x)):(g=i.$read_lines_until(t(["terminator","skip_processing"],{terminator:n,skip_processing:b})),m=f):(w["$=="]("verbatim")?g=i.$read_lines_until(t(["break_on_blank_lines","break_on_list_continuation"],{break_on_blank_lines:!0,break_on_list_continuation:!0})):(o["$=="]("compound")&&(o="simple"),g=(s=(p=i).$read_lines_until,s._p=(r=function(e){var o,n,d=r._s||this;return null==e&&(e=f),o=y.Compliance.$block_terminates_paragraph(),o!==!1&&o!==f?(n=d["$is_delimited_block?"](e))!==!1&&n!==f?n:y.BlockAttributeLineRx["$=~"](e):o},r._s=c,r),s).call(p,t(["break_on_blank_lines","break_on_list_continuation","preserve_last_line","skip_line_comments","skip_processing"],{break_on_blank_lines:!0,break_on_list_continuation:!0,preserve_last_line:!0,skip_line_comments:!0,skip_processing:b}))),m=f),o["$=="]("skip"))return l.$clear(),g;if((s=(a=o["$=="]("verbatim"))?j=l["$[]"]("indent"):a)===f||s._isBoolean&&1!=s||c["$reset_block_indent!"](g,j.$to_i()),(s=k=u["$[]"]("extension"))===f||s._isBoolean&&1!=s)v=y.Block.$new(d,e,t(["content_model","source","attributes"],{content_model:o,source:g,attributes:l}));else{if(l.$delete("style"),(s=v=k.$process_method()["$[]"](d,(a=m)!==!1&&a!==f?a:y.Reader.$new(g),l.$dup()))===f||s._isBoolean&&1!=s)return f;l.$replace(v.$attributes()),(s=(a=v.$content_model()["$=="]("compound"))?(g=v.$lines())["$nil_or_empty?"]()["$!"]():a)===f||s._isBoolean&&1!=s||(o="compound",m=y.Reader.$new(g))}return a=l["$has_key?"]("title"),(s=a!==!1&&a!==f?v.$document()["$attr?"](""+v.$context()+"-caption"):a)===f||s._isBoolean&&1!=s||(v["$title="](l.$delete("title")),v.$assign_caption(l.$delete("caption"))),o["$=="]("compound")&&c.$parse_blocks(m,v),v}),e.defs(p,"$parse_blocks",function(e,o){for(var n,d=f;(n=e["$has_more_lines?"]())!==f&&(!n._isBoolean||1==n);)d=y.Parser.$next_block(e,o),d!==!1&&d!==f&&o["$<<"](d)}),e.defs(p,"$next_outline_list",function(e,o,n){var d,i,t=this,l=f,u=f,s=f,p=f,r=f,a=f;for(l=y.List.$new(n,o),l["$level="](n.$context()["$=="](o)?n.$level()["$+"](1):1);i=e["$has_more_lines?"](),(d=i!==!1&&i!==f?u=y.ListRxMap["$[]"](o).$match(e.$peek_line()):i)!==f&&(!d._isBoolean||1==d);){if(s=t.$resolve_list_marker(o,u["$[]"](1)),i=l["$items?"](),(d=i!==!1&&i!==f?s["$=="](l.$items()["$[]"](0).$marker())["$!"]():i)===f||d._isBoolean&&1!=d)p=l.$level();else for(p=l.$level()["$+"](1),r=n;r.$context()["$=="](o);){if(s["$=="](r.$items()["$[]"](0).$marker())){p=r.$level();break}r=r.$parent()}if((d=(i=l["$items?"]()["$!"]())!==!1&&i!==f?i:p["$=="](l.$level()))===f||d._isBoolean&&1!=d){if(p["$<"](l.$level()))break;p["$>"](l.$level())&&l.$items()["$[]"](-1)["$<<"](t.$next_block(e,l))}else a=t.$next_list_item(e,l,u);a!==!1&&a!==f&&l["$<<"](a),a=f,e.$skip_blank_lines()}return l}),e.defs(p,"$catalog_callouts",function(e,o){var n,d,i,t=this,l=f;return l=!1,(n=e["$include?"]("<"))===f||n._isBoolean&&1!=n||(n=(d=e).$scan,n._p=(i=function(){var e,n=(i._s||this,f);return null==u["~"]&&(u["~"]=f),n=u["~"],(e=n["$[]"](0).$chr()["$=="]("\\")["$!"]())===f||e._isBoolean&&1!=e||o.$callouts().$register(n["$[]"](2)),l=!0},i._s=t,i),n).call(d,y.CalloutQuickScanRx),l}),e.defs(p,"$catalog_inline_anchors",function(e,o){var n,d,i,t=this;return(n=e["$include?"]("["))===f||n._isBoolean&&1!=n||(n=(d=e).$scan,n._p=(i=function(){var e,n=(i._s||this,f),d=f,t=f;return null==u["~"]&&(u["~"]=f),n=u["~"],(e=n["$[]"](0)["$start_with?"]("\\"))===f||e._isBoolean&&1!=e?(d=(e=n["$[]"](1))!==!1&&e!==f?e:n["$[]"](3),t=(e=n["$[]"](2))!==!1&&e!==f?e:n["$[]"](4),o.$register("ids",[d,t])):f},i._s=t,i),n).call(d,y.InlineAnchorRx),f}),e.defs(p,"$next_labeled_list",function(o,n,d){var i,t,l=this,u=f,s=f,p=f,r=f,a=f;for(u=y.List.$new(d,"dlist"),s=f,p=y.DefinitionListSiblingRx["$[]"](n["$[]"](2));t=o["$has_more_lines?"](),(i=t!==!1&&t!==f?n=p.$match(o.$peek_line()):t)!==f&&(!i._isBoolean||1==i);)i=e.to_ary(l.$next_list_item(o,u,n,p)),r=null==i[0]?f:i[0],a=null==i[1]?f:i[1],(i=(t=s!==!1&&s!==f)?s["$[]"](-1)["$!"]():t)===f||i._isBoolean&&1!=i?u.$items()["$<<"](s=[[r],a]):(s.$pop(),s["$[]"](0)["$<<"](r),s["$<<"](a));return u}),e.defs(p,"$next_list_item",function(e,o,n,d){var i,u,s=this,p=f,r=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f;if(null==d&&(d=f),(p=o.$context())["$=="]("dlist")?(r=y.ListItem.$new(o,n["$[]"](1)),a=y.ListItem.$new(o,n["$[]"](3)),c=n["$[]"](3)["$nil_or_empty?"]()["$!"]()):(b=n["$[]"](2),w=!1,(i=(u=p["$=="]("ulist"))?b["$start_with?"]("["):u)===f||i._isBoolean&&1!=i||((i=b["$start_with?"]("[ ] "))===f||i._isBoolean&&1!=i?(i=(u=b["$start_with?"]("[x] "))!==!1&&u!==f?u:b["$start_with?"]("[*] "))===f||i._isBoolean&&1!=i||(w=!0,g=!0,b=b["$[]"](l(3,-1,!1)).$lstrip()):(w=!0,g=!1,b=b["$[]"](l(3,-1,!1)).$lstrip())),a=y.ListItem.$new(o,b),w!==!1&&w!==f&&(o.$attributes()["$[]="]("checklist-option",""),a.$attributes()["$[]="]("checkbox",""),g!==!1&&g!==f&&a.$attributes()["$[]="]("checked","")),(i=d)!==!1&&i!==f?i:d=s.$resolve_list_marker(p,n["$[]"](1),o.$items().$size(),!0,e),a["$marker="](d),c=!0),e.$advance(),m=e.$cursor(),x=y.Reader.$new(s.$read_lines_for_list_item(e,p,d,c),m),(i=x["$has_more_lines?"]())!==f&&(!i._isBoolean||1==i)){for(j=x.$skip_line_comments(),k=x.$peek_line(),((i=j["$empty?"]())===f||i._isBoolean&&1!=i)&&x.$unshift_lines(j),(i=k["$nil?"]()["$!"]())===f||i._isBoolean&&1!=i?(v=!1,P=!1):(v=k["$empty?"](),u=v["$!"](),(i=u!==!1&&u!==f?p["$=="]("dlist")["$!"]():u)===f||i._isBoolean&&1!=i||(c=!1),i=v["$!"](),P=i!==!1&&i!==f?k["$empty?"]()["$!"]():i),h=t(["text"],{text:c["$!"]()});(u=x["$has_more_lines?"]())!==f&&(!u._isBoolean||1==u);)q=s.$next_block(x,o,t([],{}),h),q!==!1&&q!==f&&a["$<<"](q);a.$fold_first(v,P)}return p["$=="]("dlist")?(((i=(u=a["$text?"]())!==!1&&u!==f?u:a["$blocks?"]())===f||i._isBoolean&&1!=i)&&(a=f),[r,a]):a}),e.defs(p,"$read_lines_for_list_item",function(e,o,n,d){var i,l,s,p,r,a,c,b,w,g,m,x,j,k=this,v=f,P=f,h=f,q=f,z=f,A=f,B=f,C=f;for(null==u["~"]&&(u["~"]=f),null==n&&(n=f),null==d&&(d=!0),v=[],P="inactive",h=!1,q=f;(l=e["$has_more_lines?"]())!==f&&(!l._isBoolean||1==l)&&(z=e.$read_line(),(l=k["$is_sibling_list_item?"](z,o,n))===f||l._isBoolean&&1!=l);)if(A=function(){return(l=v["$empty?"]())===f||l._isBoolean&&1!=l?v["$[]"](-1):f}(),A["$=="](y.LIST_CONTINUATION)&&(P["$=="]("inactive")&&(P="active",d=!0,h!==!1&&h!==f||v["$[]="](-1,"")),z["$=="](y.LIST_CONTINUATION)))(l=P["$=="]("frozen")["$!"]())===f||l._isBoolean&&1!=l||(P="frozen",v["$<<"](z)),z=f;else{if((l=B=k["$is_delimited_block?"](z,!0))===f||l._isBoolean&&1!=l){if(s=(p=o["$=="]("dlist"))?P["$=="]("active")["$!"]():p,!((l=s!==!1&&s!==f?y.BlockAttributeLineRx["$=~"](z):s)===f||l._isBoolean&&1!=l))break;if((l=(s=P["$=="]("active"))?z["$empty?"]()["$!"]():s)===f||l._isBoolean&&1!=l)if(p=A["$nil?"]()["$!"](),(l=p!==!1&&p!==f?A["$empty?"]():p)===f||l._isBoolean&&1!=l)(l=z["$empty?"]()["$!"]())===f||l._isBoolean&&1!=l||(d=!0),(l=C=(m=(x=function(){return h!==!1&&h!==f?["dlist"]:y.NESTABLE_LIST_CONTEXTS}()).$detect,m._p=(j=function(e){return j._s||this,null==e&&(e=f),y.ListRxMap["$[]"](e)["$=~"](z)},j._s=k,j),m).call(x))===f||l._isBoolean&&1!=l||(h=!0,(l=(m=C["$=="]("dlist"))?u["~"]["$[]"](3)["$nil_or_empty?"]():m)===f||l._isBoolean&&1!=l||(d=!1)),v["$<<"](z);else{if(!((l=z["$empty?"]())===f||l._isBoolean&&1!=l||(e.$skip_blank_lines(),z=e.$read_line(),(l=(p=z["$nil?"]())!==!1&&p!==f?p:k["$is_sibling_list_item?"](z,o,n))===f||l._isBoolean&&1!=l)))break;if(z["$=="](y.LIST_CONTINUATION))q=v.$size(),v["$<<"](z);else if(d!==!1&&d!==f){if(!((l=k["$is_sibling_list_item?"](z,o,n))===f||l._isBoolean&&1!=l))break;if((l=C=(p=(b=y.NESTABLE_LIST_CONTEXTS).$detect,p._p=(w=function(e){return w._s||this,null==e&&(e=f),y.ListRxMap["$[]"](e)["$=~"](z)},w._s=k,w),p).call(b))===f||l._isBoolean&&1!=l){if((l=y.LiteralParagraphRx["$=~"](z))===f||l._isBoolean&&1!=l)break;e.$unshift_line(z),v.$concat((l=(p=e).$read_lines_until,l._p=(g=function(e){var d,i=g._s||this;return null==e&&(e=f),(d=o["$=="]("dlist"))?i["$is_sibling_list_item?"](e,o,n):d},g._s=k,g),l).call(p,t(["preserve_last_line","break_on_blank_lines","break_on_list_continuation"],{preserve_last_line:!0,break_on_blank_lines:!0,break_on_list_continuation:!0})))}else v["$<<"](z),h=!0,(l=(p=C["$=="]("dlist"))?u["~"]["$[]"](3)["$nil_or_empty?"]():p)===f||l._isBoolean&&1!=l||(d=!1)}else h!==!1&&h!==f||v.$pop(),v["$<<"](z),d=!0}else(l=y.LiteralParagraphRx["$=~"](z))===f||l._isBoolean&&1!=l?(l=(p=(a=y.BlockTitleRx["$=~"](z))!==!1&&a!==f?a:y.BlockAttributeLineRx["$=~"](z))!==!1&&p!==f?p:y.AttributeEntryRx["$=~"](z))===f||l._isBoolean&&1!=l?((l=C=(p=(a=function(){return h!==!1&&h!==f?["dlist"]:y.NESTABLE_LIST_CONTEXTS}()).$detect,p._p=(c=function(e){return c._s||this,null==e&&(e=f),y.ListRxMap["$[]"](e)["$=~"](z)},c._s=k,c),p).call(a))===f||l._isBoolean&&1!=l||(h=!0,(l=(p=C["$=="]("dlist"))?u["~"]["$[]"](3)["$nil_or_empty?"]():p)===f||l._isBoolean&&1!=l||(d=!1)),v["$<<"](z),P="inactive"):v["$<<"](z):(e.$unshift_line(z),v.$concat((l=(s=e).$read_lines_until,l._p=(r=function(e){var d,i=r._s||this;return null==e&&(e=f),(d=o["$=="]("dlist"))?i["$is_sibling_list_item?"](e,o,n):d;
  },r._s=k,r),l).call(s,t(["preserve_last_line","break_on_blank_lines","break_on_list_continuation"],{preserve_last_line:!0,break_on_blank_lines:!0,break_on_list_continuation:!0}))),P="inactive")}else{if(!P["$=="]("active"))break;v["$<<"](z),v.$concat(e.$read_lines_until(t(["terminator","read_last_line"],{terminator:B.$terminator(),read_last_line:!0}))),P="inactive"}z=f}for(z!==!1&&z!==f&&e.$unshift_line(z),q!==!1&&q!==f&&v.$delete_at(q);m=v["$empty?"]()["$!"](),(l=m!==!1&&m!==f?v["$[]"](-1)["$empty?"]():m)!==f&&(!l._isBoolean||1==l);)v.$pop();return l=v["$empty?"]()["$!"](),(i=l!==!1&&l!==f?v["$[]"](-1)["$=="](y.LIST_CONTINUATION):l)===f||i._isBoolean&&1!=i||v.$pop(),v}),e.defs(p,"$initialize_section",function(o,n,d){var i,l,u=this,s=f,p=f,r=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f;return null==d&&(d=t([],{})),s=n.$document(),(i=s.$sourcemap())===f||i._isBoolean&&1!=i||(p=o.$cursor()),i=e.to_ary(u.$parse_section_title(o,s)),r=null==i[0]?f:i[0],a=null==i[1]?f:i[1],c=null==i[2]?f:i[2],b=null==i[3]?f:i[3],w=null==i[4]?f:i[4],a!==!1&&a!==f&&d["$[]="]("reftext",a),g=y.Section.$new(n,b,s.$attributes()["$has_key?"]("sectnums")),p!==!1&&p!==f&&g["$source_location="](p),g["$id="](r),g["$title="](c),(i=d["$[]"](1))===f||i._isBoolean&&1!=i?(i=(l=c.$downcase()["$=="]("synopsis"))?s.$doctype()["$=="]("manpage"):l)===f||i._isBoolean&&1!=i?g["$sectname="]("sect"+g.$level()):(g["$special="](!0),g["$sectname="]("synopsis")):(i=e.to_ary(u.$parse_style_attribute(d,o)),m=null==i[0]?f:i[0],w=null==i[1]?f:i[1],m!==!1&&m!==f?(g["$sectname="](m),g["$special="](!0),(i=(l=g.$sectname()["$=="]("abstract"))?s.$doctype()["$=="]("book"):l)===f||i._isBoolean&&1!=i||(g["$sectname="]("sect1"),g["$special="](!1),g["$level="](1))):g["$sectname="]("sect"+g.$level())),l=g.$id()["$!"](),(i=l!==!1&&l!==f?x=d["$[]"]("id"):l)===f||i._isBoolean&&1!=i?(i=g,(l=i.$id())!==!1&&l!==f?l:i["$id="](g.$generate_id())):g["$id="](x),(i=g.$id())===f||i._isBoolean&&1!=i||g.$document().$register("ids",[g.$id(),(i=d["$[]"]("reftext"))!==!1&&i!==f?i:g.$title()]),g.$update_attributes(d),o.$skip_blank_lines(),g}),e.defs(p,"$section_level",function(e){return y.SECTION_LEVELS["$[]"](e.$chr())}),e.defs(p,"$single_line_section_level",function(e){return e.$length()["$-"](1)}),e.defs(p,"$is_next_line_section?",function(e,o){var n,d,i,t,l=this,u=f,s=f;return i=(u=o["$[]"](1))["$nil?"]()["$!"](),d=i!==!1&&i!==f?(t=(s=u["$[]"](0).$ord())["$=="](100))!==!1&&t!==f?t:s["$=="](102):i,(n=d!==!1&&d!==f?u["$=~"](y.FloatingTitleStyleRx):d)===f||n._isBoolean&&1!=n?(n=e["$has_more_lines?"]())===f||n._isBoolean&&1!=n?!1:(n=y.Compliance.$underline_style_section_titles())===f||n._isBoolean&&1!=n?l["$is_section_title?"](e.$peek_line()):(n=l)["$is_section_title?"].apply(n,[].concat(e.$peek_lines(2))):!1}),e.defs(p,"$is_next_line_document_title?",function(e,o){var f=this;return f["$is_next_line_section?"](e,o)["$=="](0)}),e.defs(p,"$is_section_title?",function(e,o){var n,d,i=this,t=f;return null==o&&(o=f),((n=t=i["$is_single_line_section_title?"](e))===f||n._isBoolean&&1!=n)&&((n=(d=o!==!1&&o!==f)?t=i["$is_two_line_section_title?"](e,o):d)===f||n._isBoolean&&1!=n)?!1:t}),e.defs(p,"$is_single_line_section_title?",function(e){var o,n,d,i,t=this,l=f,u=f;return l=function(){return e!==!1&&e!==f?e.$chr():f}(),n=(d=l["$=="]("="))!==!1&&d!==f?d:(i=y.Compliance.$markdown_syntax(),i!==!1&&i!==f?l["$=="]("#"):i),(o=n!==!1&&n!==f?u=y.AtxSectionRx.$match(e):n)===f||o._isBoolean&&1!=o?!1:t.$single_line_section_level(u["$[]"](1))}),e.defs(p,"$is_two_line_section_title?",function(e,o){var n,d,i,t,l,u,s=this;return l=(u=e!==!1&&e!==f)?o:u,t=l!==!1&&l!==f?y.SECTION_LEVELS["$has_key?"](o.$chr()):l,i=t!==!1&&t!==f?o["$=~"](y.SetextSectionLineRx):t,d=i!==!1&&i!==f?e["$=~"](y.SetextSectionTitleRx):i,(n=d!==!1&&d!==f?s.$line_length(e)["$-"](s.$line_length(o)).$abs()["$<="](1):d)===f||n._isBoolean&&1!=n?!1:s.$section_level(o)}),e.defs(p,"$parse_section_title",function(e,o){var n,d,i,t,l,u=this,s=f,p=f,r=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f;return s=e.$read_line(),p=f,r=f,a=-1,c=f,b=!0,w=s.$chr(),d=(i=w["$=="]("="))!==!1&&i!==f?i:(t=y.Compliance.$markdown_syntax(),t!==!1&&t!==f?w["$=="]("#"):t),(n=d!==!1&&d!==f?g=y.AtxSectionRx.$match(s):d)===f||n._isBoolean&&1!=n?(n=y.Compliance.$underline_style_section_titles())===f||n._isBoolean&&1!=n||(l=x=e.$peek_line(!0),t=l!==!1&&l!==f?y.SECTION_LEVELS["$has_key?"](x.$chr()):l,i=t!==!1&&t!==f?x["$=~"](y.SetextSectionLineRx):t,d=i!==!1&&i!==f?j=y.SetextSectionTitleRx.$match(s):i,(n=d!==!1&&d!==f?u.$line_length(s)["$-"](u.$line_length(x)).$abs()["$<="](1):d)===f||n._isBoolean&&1!=n||(r=j["$[]"](1),d=r["$end_with?"]("]]"),(n=d!==!1&&d!==f?m=y.InlineSectionAnchorRx.$match(r):d)===f||n._isBoolean&&1!=n||(n=m["$[]"](2)["$nil?"]())===f||n._isBoolean&&1!=n||(r=m["$[]"](1),p=m["$[]"](3),c=m["$[]"](4)),a=u.$section_level(x),b=!1,e.$advance())):(a=u.$single_line_section_level(g["$[]"](1)),r=g["$[]"](2),d=r["$end_with?"]("]]"),(n=d!==!1&&d!==f?m=y.InlineSectionAnchorRx.$match(r):d)===f||n._isBoolean&&1!=n||(n=m["$[]"](2)["$nil?"]())===f||n._isBoolean&&1!=n||(r=m["$[]"](1),p=m["$[]"](3),c=m["$[]"](4))),a["$>="](0)&&(a=a["$+"](o.$attr("leveloffset",0).$to_i())),[p,c,r,a,b]}),e.defs(p,"$line_length",function(e){var o;return(o=y.FORCE_UNICODE_LINE_LENGTH)===f||o._isBoolean&&1!=o?e.$length():e.$scan(y.UnicodeCharScanRx).$length()}),e.defs(p,"$parse_header_metadata",function(o,n){var d,i,l,u,s,p,r=this,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f;if(null==n&&(n=f),r.$process_attribute_entries(o,n),a=t([],{}),c=f,b=f,i=o["$has_more_lines?"](),(d=i!==!1&&i!==f?o["$next_line_empty?"]()["$!"]():i)===f||d._isBoolean&&1!=d||(w=r.$process_authors(o.$read_line()),((d=w["$empty?"]())===f||d._isBoolean&&1!=d)&&(n!==!1&&n!==f&&((d=(i=w).$each,d._p=(l=function(o,d){var i,t;return l._s||this,null==o&&(o=f),null==d&&(d=f),(i=n.$attributes()["$has_key?"](o))===f||i._isBoolean&&1!=i?n.$attributes()["$[]="](o,function(){return(i=d["$is_a?"](null==(t=e.Object._scope.String)?e.cm("String"):t))===f||i._isBoolean&&1!=i?d:n.$apply_header_subs(d)}()):f},l._s=r,l),d).call(i),c=n.$attributes()["$[]"]("author"),b=n.$attributes()["$[]"]("authors")),a=w),r.$process_attribute_entries(o,n),g=t([],{}),u=o["$has_more_lines?"](),(d=u!==!1&&u!==f?o["$next_line_empty?"]()["$!"]():u)===f||d._isBoolean&&1!=d||(m=o.$read_line(),(d=x=y.RevisionInfoLineRx.$match(m))===f||d._isBoolean&&1!=d?o.$unshift_line(m):(g["$[]="]("revdate",x["$[]"](2).$strip()),((d=x["$[]"](1)["$nil?"]())===f||d._isBoolean&&1!=d)&&g["$[]="]("revnumber",x["$[]"](1).$rstrip()),((d=x["$[]"](3)["$nil?"]())===f||d._isBoolean&&1!=d)&&g["$[]="]("revremark",x["$[]"](3).$rstrip()))),((d=g["$empty?"]())===f||d._isBoolean&&1!=d)&&(n!==!1&&n!==f&&(d=(u=g).$each,d._p=(s=function(e,o){var d;return s._s||this,null==e&&(e=f),null==o&&(o=f),(d=n.$attributes()["$has_key?"](e))===f||d._isBoolean&&1!=d?n.$attributes()["$[]="](e,n.$apply_header_subs(o)):f},s._s=r,s),d).call(u),a.$update(g)),r.$process_attribute_entries(o,n),o.$skip_blank_lines()),n!==!1&&n!==f){if(w=f,p=n.$attributes()["$has_key?"]("author"),(d=p!==!1&&p!==f?(j=n.$attributes()["$[]"]("author"))["$=="](c)["$!"]():p)===f||d._isBoolean&&1!=d)if(p=n.$attributes()["$has_key?"]("authors"),(d=p!==!1&&p!==f?(j=n.$attributes()["$[]"]("authors"))["$=="](b)["$!"]():p)===f||d._isBoolean&&1!=d){for(k=[],v="author_"+k.$size()["$+"](1);(p=n.$attributes()["$has_key?"](v))!==f&&(!p._isBoolean||1==p);)k["$<<"](n.$attributes()["$[]"](v)),v="author_"+k.$size()["$+"](1);k.$size()["$=="](1)?w=r.$process_authors(k["$[]"](0),!0,!1):k.$size()["$>"](1)&&(w=r.$process_authors(k.$join("; "),!0))}else w=r.$process_authors(j,!0);else w=r.$process_authors(j,!0,!1);w!==!1&&w!==f&&(n.$attributes().$update(w),p=n.$attributes()["$has_key?"]("email")["$!"](),(d=p!==!1&&p!==f?n.$attributes()["$has_key?"]("email_1"):p)===f||d._isBoolean&&1!=d||n.$attributes()["$[]="]("email",n.$attributes()["$[]"]("email_1")))}return a}),e.defs(p,"$process_authors",function(e,o,n){var d,i,l,u,s,p=this,r=f,a=f,c=f;return null==o&&(o=!1),null==n&&(n=!0),r=t([],{}),a=["author","authorinitials","firstname","middlename","lastname","email"],c=function(){return n!==!1&&n!==f?(d=(i=e.$split(";")).$map,d._p=(l=function(e){return l._s||this,null==e&&(e=f),e.$strip()},l._s=p,l),d).call(i):[e]}(),(d=(u=c).$each_with_index,d._p=(s=function(e,n){var d,i,l,u,p,c,b,w=s._s||this,g=f,m=f,x=f,j=f,k=f,v=f;return null==e&&(e=f),null==n&&(n=f),(d=e["$empty?"]())===f||d._isBoolean&&1!=d?(g=t([],{}),(d=n["$zero?"]())===f||d._isBoolean&&1!=d?(d=(u=a).$each,d._p=(p=function(e){return p._s||this,null==e&&(e=f),g["$[]="](e.$to_sym(),""+e+"_"+n["$+"](1))},p._s=w,p),d).call(u):(d=(i=a).$each,d._p=(l=function(e){return l._s||this,null==e&&(e=f),g["$[]="](e.$to_sym(),e)},l._s=w,l),d).call(i),m=f,o!==!1&&o!==f?m=e.$split(" ",3):(d=x=y.AuthorInfoLineRx.$match(e))===f||d._isBoolean&&1!=d||(m=x.$to_a(),m.$shift()),(d=m["$nil?"]())===f||d._isBoolean&&1!=d?(r["$[]="](g["$[]"]("firstname"),j=m["$[]"](0).$tr("_"," ")),r["$[]="](g["$[]"]("author"),j),r["$[]="](g["$[]"]("authorinitials"),j["$[]"](0,1)),c=m["$[]"](1)["$nil?"]()["$!"](),(d=c!==!1&&c!==f?m["$[]"](2)["$nil?"]()["$!"]():c)===f||d._isBoolean&&1!=d?(d=m["$[]"](1)["$nil?"]()["$!"]())===f||d._isBoolean&&1!=d||(r["$[]="](g["$[]"]("lastname"),v=m["$[]"](1).$tr("_"," ")),r["$[]="](g["$[]"]("author"),[j,v].$join(" ")),r["$[]="](g["$[]"]("authorinitials"),[j["$[]"](0,1),v["$[]"](0,1)].$join())):(r["$[]="](g["$[]"]("middlename"),k=m["$[]"](1).$tr("_"," ")),r["$[]="](g["$[]"]("lastname"),v=m["$[]"](2).$tr("_"," ")),r["$[]="](g["$[]"]("author"),[j,k,v].$join(" ")),r["$[]="](g["$[]"]("authorinitials"),[j["$[]"](0,1),k["$[]"](0,1),v["$[]"](0,1)].$join())),((d=(c=o)!==!1&&c!==f?c:m["$[]"](3)["$nil?"]())===f||d._isBoolean&&1!=d)&&r["$[]="](g["$[]"]("email"),m["$[]"](3))):(r["$[]="](g["$[]"]("author"),r["$[]="](g["$[]"]("firstname"),j=e.$strip().$tr_s(" "," "))),r["$[]="](g["$[]"]("authorinitials"),j["$[]"](0,1))),r["$[]="]("authorcount",n["$+"](1)),n["$=="](1)&&(d=(c=a).$each,d._p=(b=function(e){var o;return b._s||this,null==e&&(e=f),(o=r["$has_key?"](e))===f||o._isBoolean&&1!=o?f:r["$[]="](""+e+"_1",r["$[]"](e))},b._s=w,b),d).call(c),(d=n["$zero?"]())===f||d._isBoolean&&1!=d?r["$[]="]("authors",""+r["$[]"]("authors")+", "+r["$[]"](g["$[]"]("author"))):r["$[]="]("authors",r["$[]"](g["$[]"]("author")))):f},s._s=p,s),d).call(u),r}),e.defs(p,"$parse_block_metadata_lines",function(e,o,n,d){var i,l=this;for(null==n&&(n=t([],{})),null==d&&(d=t([],{}));(i=l.$parse_block_metadata_line(e,o,n,d))!==f&&(!i._isBoolean||1==i);)e.$advance(),e.$skip_blank_lines();return n}),e.defs(p,"$parse_block_metadata_line",function(e,o,n,d){var i,l,u,s=this,p=f,r=f,a=f,c=f,b=f;if(null==d&&(d=t([],{})),(i=e["$has_more_lines?"]())===f||i._isBoolean&&1!=i)return!1;if(p=e.$peek_line(),l=r=p["$start_with?"]("//"),(i=l!==!1&&l!==f?a=y.CommentBlockRx.$match(p):l)===f||i._isBoolean&&1!=i){if((i=(l=r!==!1&&r!==f)?y.CommentLineRx["$=~"](p):l)===f||i._isBoolean&&1!=i)if(u=d["$[]"]("text")["$!"](),l=u!==!1&&u!==f?p["$start_with?"](":"):u,(i=l!==!1&&l!==f?a=y.AttributeEntryRx.$match(p):l)===f||i._isBoolean&&1!=i)if(u=p["$start_with?"]("["),l=b=u!==!1&&u!==f?p["$end_with?"]("]"):u,(i=l!==!1&&l!==f?a=y.BlockAnchorRx.$match(p):l)===f||i._isBoolean&&1!=i)if((i=(l=b!==!1&&b!==f)?a=y.BlockAttributeListRx.$match(p):l)===f||i._isBoolean&&1!=i){if(l=d["$[]"]("text")["$!"](),(i=l!==!1&&l!==f?a=y.BlockTitleRx.$match(p):l)===f||i._isBoolean&&1!=i)return!1;n["$[]="]("title",a["$[]"](1))}else o.$document().$parse_attributes(a["$[]"](1),[],t(["sub_input","into"],{sub_input:!0,into:n}));else((i=a["$[]"](1)["$nil_or_empty?"]())===f||i._isBoolean&&1!=i)&&(n["$[]="]("id",a["$[]"](1)),((i=a["$[]"](2)["$nil?"]())===f||i._isBoolean&&1!=i)&&n["$[]="]("reftext",a["$[]"](2)));else s.$process_attribute_entry(e,o,n,a)}else c=a["$[]"](0),e.$read_lines_until(t(["skip_first_line","preserve_last_line","terminator","skip_processing"],{skip_first_line:!0,preserve_last_line:!0,terminator:c,skip_processing:!0}));return!0}),e.defs(p,"$process_attribute_entries",function(e,o,n){var d,i=this;for(null==n&&(n=f),e.$skip_comment_lines();(d=i.$process_attribute_entry(e,o,n))!==f&&(!d._isBoolean||1==d);)e.$advance(),e.$skip_comment_lines()}),e.defs(p,"$process_attribute_entry",function(e,o,n,d){var i,t,l=this,u=f,s=f,p=f,r=f,a=f,c=f;if(null==n&&(n=f),null==d&&(d=f),(i=d)!==!1&&i!==f?i:d=function(){return(t=e["$has_more_lines?"]())===f||t._isBoolean&&1!=t?f:y.AttributeEntryRx.$match(e.$peek_line())}(),d!==!1&&d!==f){if(u=d["$[]"](1),((i=(s=(t=d["$[]"](2))!==!1&&t!==f?t:"")["$empty?"]())===f||i._isBoolean&&1!=i)&&(i=(t=s["$end_with?"](p=y.LINE_CONTINUATION))!==!1&&t!==f?t:s["$end_with?"](p=y.LINE_CONTINUATION_LEGACY))!==f&&(!i._isBoolean||1==i))for(s=s.$chop().$rstrip();(t=e.$advance())!==f&&(!t._isBoolean||1==t)&&((t=(r=e.$peek_line().$strip())["$empty?"]())===f||t._isBoolean&&1!=t)&&((t=a=r["$end_with?"](p))===f||t._isBoolean&&1!=t||(r=r.$chop().$rstrip()),c=function(){return(t=s["$end_with?"](y.LINE_BREAK))===f||t._isBoolean&&1!=t?" ":y.EOL}(),s=""+s+c+r,a!==!1&&a!==f););return l.$store_attribute(u,s,function(){return o!==!1&&o!==f?o.$document():f}(),n),!0}return!1}),e.defs(p,"$store_attribute",function(e,o,n,d){var i,t,u=this,s=f,p=f;return null==n&&(n=f),null==d&&(d=f),(i=e["$end_with?"]("!"))===f||i._isBoolean&&1!=i?(i=e["$start_with?"]("!"))===f||i._isBoolean&&1!=i||(o=f,e=e["$[]"](l(1,-1,!1))):(o=f,e=e.$chop()),e=u.$sanitize_attribute_name(e),s=!0,n!==!1&&n!==f&&(e["$=="]("numbered")?e="sectnums":e["$=="]("leveloffset")&&o!==!1&&o!==f&&(p=o.$chr(),"+"["$==="](p)?o=n.$attr("leveloffset",0).$to_i()["$+"](((i=o["$[]"](l(1,-1,!1)))!==!1&&i!==f?i:0).$to_i()).$to_s():"-"["$==="](p)&&(o=n.$attr("leveloffset",0).$to_i()["$-"](((i=o["$[]"](l(1,-1,!1)))!==!1&&i!==f?i:0).$to_i()).$to_s())),s=function(){return o!==!1&&o!==f?n.$set_attribute(e,o):n.$delete_attribute(e)}()),(i=(t=s!==!1&&s!==f)?d:t)===f||i._isBoolean&&1!=i||(o!==!1&&o!==f&&(o=n.$attributes()["$[]"](e)),y.Document._scope.AttributeEntry.$new(e,o).$save_to(d)),[e,o]}),e.defs(p,"$resolve_list_marker",function(e,o,n,d,i){var t,l,u=this;return null==n&&(n=0),null==d&&(d=!1),null==i&&(i=f),(t=(l=e["$=="]("olist"))?o["$start_with?"](".")["$!"]():l)===f||t._isBoolean&&1!=t?e["$=="]("colist")?"<1>":o:u.$resolve_ordered_list_marker(o,n,d,i)}),e.defs(p,"$resolve_ordered_list_marker",function(e,o,n,d){var i,t,l,u,s=this,p=f,r=f,a=f,c=f;return null==o&&(o=0),null==n&&(n=!1),null==d&&(d=f),p=(i=(t=y.ORDERED_LIST_STYLES).$detect,i._p=(l=function(o){return l._s||this,null==o&&(o=f),y.OrderedListMarkerRxMap["$[]"](o)["$=~"](e)},l._s=s,l),i).call(t),r=a=f,c=p,"arabic"["$==="](c)?(n!==!1&&n!==f&&(r=o["$+"](1),a=e.$to_i()),e="1."):"loweralpha"["$==="](c)?(n!==!1&&n!==f&&(r="a"["$[]"](0).$ord()["$+"](o).$chr(),a=e.$chomp(".")),e="a."):"upperalpha"["$==="](c)?(n!==!1&&n!==f&&(r="A"["$[]"](0).$ord()["$+"](o).$chr(),a=e.$chomp(".")),e="A."):"lowerroman"["$==="](c)?(n!==!1&&n!==f&&(r=o["$+"](1),a=s.$roman_numeral_to_int(e.$chomp(")"))),e="i)"):"upperroman"["$==="](c)&&(n!==!1&&n!==f&&(r=o["$+"](1),a=s.$roman_numeral_to_int(e.$chomp(")"))),e="I)"),(i=(u=n!==!1&&n!==f)?r["$=="](a)["$!"]():u)===f||i._isBoolean&&1!=i||s.$warn("asciidoctor: WARNING: "+d.$line_info()+": list item index: expected "+r+", got "+a),e}),e.defs(p,"$is_sibling_list_item?",function(o,n,d){var i,t,l=this,u=f,s=f,p=f;return(i=d["$is_a?"](null==(t=e.Object._scope.Regexp)?e.cm("Regexp"):t))===f||i._isBoolean&&1!=i?(u=y.ListRxMap["$[]"](n),s=d):(u=d,s=!1),(i=p=u.$match(o))===f||i._isBoolean&&1!=i?!1:s!==!1&&s!==f?s["$=="](l.$resolve_list_marker(n,p["$[]"](1))):!0}),e.defs(p,"$next_table",function(o,n,d){var i,t,u,s,p,r,a,c=this,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f;for(b=y.Table.$new(n,d),(i=d["$has_key?"]("title"))===f||i._isBoolean&&1!=i||(b["$title="](d.$delete("title")),b.$assign_caption(d.$delete("caption"))),(i=d["$has_key?"]("cols"))===f||i._isBoolean&&1!=i?w=!1:(b.$create_columns(c.$parse_col_specs(d["$[]"]("cols"))),w=!0),g=o.$skip_blank_lines(),m=y.Table._scope.ParserContext.$new(o,b,d),x=-1;(t=o["$has_more_lines?"]())!==f&&(!t._isBoolean||1==t);){for(x=x["$+"](1),j=o.$read_line(),p=(r=g["$=="](0))?x["$zero?"]():r,s=p!==!1&&p!==f?d["$has_key?"]("options")["$!"]():p,u=s!==!1&&s!==f?(k=o.$peek_line())["$nil?"]()["$!"]():s,(t=u!==!1&&u!==f?k["$empty?"]():u)===f||t._isBoolean&&1!=t||(b["$has_header_option="](!0),b.$set_option("header")),m.$format()["$=="]("psv")&&((t=m["$starts_with_delimiter?"](j))===f||t._isBoolean&&1!=t?(t=e.to_ary(c.$parse_cell_spec(j,"start",m.$delimiter())),v=null==t[0]?f:t[0],j=null==t[1]?f:t[1],(t=v["$nil?"]()["$!"]())===f||t._isBoolean&&1!=t||m.$close_open_cell(v)):(j=j["$[]"](l(1,-1,!1)),m.$close_open_cell())),P=!1;(u=(s=P["$!"]())!==!1&&s!==f?s:j["$empty?"]()["$!"]())!==f&&(!u._isBoolean||1==u);)if(P=!0,(u=h=m.$match_delimiter(j))===f||u._isBoolean&&1!=u)m["$buffer="](""+m.$buffer()+j+y.EOL),m.$format()["$=="]("csv")&&m["$buffer="](""+m.$buffer().$rstrip()+" "),j="",(u=(s=m.$format()["$=="]("psv"))!==!1&&s!==f?s:(p=m.$format()["$=="]("csv"))?m["$buffer_has_unclosed_quotes?"]():p)===f||u._isBoolean&&1!=u?m.$close_cell(!0):m.$keep_cell_open();else{if(m.$format()["$=="]("csv")){if((u=m["$buffer_has_unclosed_quotes?"](h.$pre_match()))!==f&&(!u._isBoolean||1==u)){j=m.$skip_matched_delimiter(h);continue}}else if((u=h.$pre_match()["$end_with?"]("\\"))!==f&&(!u._isBoolean||1==u)){j=m.$skip_matched_delimiter(h,!0);continue}m.$format()["$=="]("psv")?(u=e.to_ary(c.$parse_cell_spec(h.$pre_match(),"end")),v=null==u[0]?f:u[0],q=null==u[1]?f:u[1],m.$push_cell_spec(v),m["$buffer="](""+m.$buffer()+q)):m["$buffer="](""+m.$buffer()+h.$pre_match()),(j=h.$post_match())["$=="]("")&&(P=!1),m.$close_cell()}((t=m["$cell_open?"]())===f||t._isBoolean&&1!=t)&&(g=o.$skip_blank_lines()),((t=o["$has_more_lines?"]())===f||t._isBoolean&&1!=t)&&((t=m["$cell_open?"]())===f||t._isBoolean&&1!=t||m.$close_cell(!0))}return i="colcount",t=b.$attributes(),(u=t["$[]"](i))!==!1&&u!==f?u:t["$[]="](i,m.$col_count()),(i=w["$!"]())===f||i._isBoolean&&1!=i||(z=100["$/"](m.$col_count()).$floor(),(i=(t=b.$columns()).$each,i._p=(a=function(e){return a._s||this,null==e&&(e=f),e.$assign_width(0,z)},a._s=c,a),i).call(t)),b.$partition_header_footer(d),b}),e.defs(p,"$parse_col_specs",function(o){var n,d,i,l,u,s=this,p=f;return(n=y.DigitsRx["$=~"](o))===f||n._isBoolean&&1!=n?(p=[],(n=(l=o.$split(",")).$each,n._p=(u=function(o){var n,d,i,l=u._s||this,s=f,r=f,a=f,c=f,b=f;return null==o&&(o=f),(n=s=y.ColumnSpecRx.$match(o))===f||n._isBoolean&&1!=n?f:(r=t([],{}),(n=s["$[]"](2))===f||n._isBoolean&&1!=n||(n=e.to_ary(s["$[]"](2).$split(".")),a=null==n[0]?f:n[0],c=null==n[1]?f:n[1],d=a["$nil_or_empty?"]()["$!"](),(n=d!==!1&&d!==f?y.Table._scope.ALIGNMENTS["$[]"]("h")["$has_key?"](a):d)===f||n._isBoolean&&1!=n||r["$[]="]("halign",y.Table._scope.ALIGNMENTS["$[]"]("h")["$[]"](a)),d=c["$nil_or_empty?"]()["$!"](),(n=d!==!1&&d!==f?y.Table._scope.ALIGNMENTS["$[]"]("v")["$has_key?"](c):d)===f||n._isBoolean&&1!=n||r["$[]="]("valign",y.Table._scope.ALIGNMENTS["$[]"]("v")["$[]"](c))),r["$[]="]("width",function(){return(n=s["$[]"](3)["$nil?"]()["$!"]())===f||n._isBoolean&&1!=n?1:s["$[]"](3).$to_i()}()),d=s["$[]"](4),(n=d!==!1&&d!==f?y.Table._scope.TEXT_STYLES["$has_key?"](s["$[]"](4)):d)===f||n._isBoolean&&1!=n||r["$[]="]("style",y.Table._scope.TEXT_STYLES["$[]"](s["$[]"](4))),b=function(){return(n=s["$[]"](1)["$nil?"]()["$!"]())===f||n._isBoolean&&1!=n?1:s["$[]"](1).$to_i()}(),(n=(d=1).$upto,n._p=(i=function(){return i._s||this,p["$<<"](r.$dup())},i._s=l,i),n).call(d,b))},u._s=s,u),n).call(l),p):(n=(d=null==(l=e.Object._scope.Array)?e.cm("Array"):l).$new,n._p=(i=function(){return i._s||this,t(["width"],{width:1})},i._s=s,i),n).call(d,o.$to_i())}),e.defs(p,"$parse_cell_spec",function(o,n,d){var i,l,u=f,s=f,p=f,r=f,a=f,c=f,b=f;if(null==n&&(n="start"),null==d&&(d=f),u=f,s="",p=n,"start"["$==="](p)){if((i=o["$include?"](d))===f||i._isBoolean&&1!=i)return[f,o];if(i=e.to_ary(o.$split(d,2)),r=null==i[0]?f:i[0],s=null==i[1]?f:i[1],(i=u=y.CellSpecStartRx.$match(r))===f||i._isBoolean&&1!=i)return[f,o];if((i=u["$[]"](0)["$empty?"]())!==f&&(!i._isBoolean||1==i))return[t([],{}),s]}else if("end"["$==="](p)){if((i=u=y.CellSpecEndRx.$match(o))===f||i._isBoolean&&1!=i)return[t([],{}),o];if((i=u["$[]"](0).$lstrip()["$empty?"]())!==f&&(!i._isBoolean||1==i))return[t([],{}),o.$rstrip()];s=u.$pre_match()}return a=t([],{}),(i=u["$[]"](1))===f||i._isBoolean&&1!=i||(i=e.to_ary(u["$[]"](1).$split(".")),c=null==i[0]?f:i[0],b=null==i[1]?f:i[1],c=function(){return(i=c["$nil_or_empty?"]())===f||i._isBoolean&&1!=i?c.$to_i():1}(),b=function(){return(i=b["$nil_or_empty?"]())===f||i._isBoolean&&1!=i?b.$to_i():1}(),u["$[]"](2)["$=="]("+")?(c["$=="](1)||a["$[]="]("colspan",c),b["$=="](1)||a["$[]="]("rowspan",b)):u["$[]"](2)["$=="]("*")&&(c["$=="](1)||a["$[]="]("repeatcol",c))),(i=u["$[]"](3))===f||i._isBoolean&&1!=i||(i=e.to_ary(u["$[]"](3).$split(".")),c=null==i[0]?f:i[0],b=null==i[1]?f:i[1],l=c["$nil_or_empty?"]()["$!"](),(i=l!==!1&&l!==f?y.Table._scope.ALIGNMENTS["$[]"]("h")["$has_key?"](c):l)===f||i._isBoolean&&1!=i||a["$[]="]("halign",y.Table._scope.ALIGNMENTS["$[]"]("h")["$[]"](c)),l=b["$nil_or_empty?"]()["$!"](),(i=l!==!1&&l!==f?y.Table._scope.ALIGNMENTS["$[]"]("v")["$has_key?"](b):l)===f||i._isBoolean&&1!=i||a["$[]="]("valign",y.Table._scope.ALIGNMENTS["$[]"]("v")["$[]"](b))),l=u["$[]"](4),(i=l!==!1&&l!==f?y.Table._scope.TEXT_STYLES["$has_key?"](u["$[]"](4)):l)===f||i._isBoolean&&1!=i||a["$[]="]("style",y.Table._scope.TEXT_STYLES["$[]"](u["$[]"](4))),[a,s]}),e.defs(p,"$parse_style_attribute",function(e,o){var n,d,i,l,u,s,p,r=this,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f;return null==o&&(o=f),a=e["$[]"]("style"),c=e["$[]"](1),d=(i=c!==!1&&c!==f)?c["$include?"](" ")["$!"]():i,(n=d!==!1&&d!==f?y.Compliance.$shorthand_property_syntax():d)===f||n._isBoolean&&1!=n?(e["$[]="]("style",c),[c,a]):(b="style",w=[],g=t([],{}),m=(n=(d=r).$lambda,n._p=(l=function(){var e,n,d,i=l._s||this,t=f;return(e=w["$empty?"]())===f||e._isBoolean&&1!=e?(t=b,"role"["$==="](t)||"option"["$==="](t)?(e=b,n=g,(d=n["$[]"](e))!==!1&&d!==f?d:n["$[]="](e,[]),g["$[]"](b).$push(w.$join())):"id"["$==="](t)?((e=g["$has_key?"]("id"))===f||e._isBoolean&&1!=e||i.$warn("asciidoctor: WARNING:"+function(){return(e=o["$nil?"]())===f||e._isBoolean&&1!=e?" "+o.$prev_line_info()+":":f}()+" multiple ids detected in style attribute"),g["$[]="](b,w.$join())):g["$[]="](b,w.$join()),w=[]):(e=b["$=="]("style")["$!"]())===f||e._isBoolean&&1!=e?f:i.$warn("asciidoctor: WARNING:"+function(){return(e=o["$nil?"]())===f||e._isBoolean&&1!=e?" "+o.$prev_line_info()+":":f}()+" invalid empty "+b+" detected in style attribute")},l._s=r,l),n).call(d),(n=(i=c).$each_char,n._p=(u=function(e){var o,n,d,i=(u._s||this,f);return null==e&&(e=f),(o=(n=(d=e["$=="]("."))!==!1&&d!==f?d:e["$=="]("#"))!==!1&&n!==f?n:e["$=="]("%"))===f||o._isBoolean&&1!=o?w.$push(e):(m.$call(),function(){return i=e,"."["$==="](i)?b="role":"#"["$==="](i)?b="id":"%"["$==="](i)?b="option":f}())},u._s=r,u),n).call(i),b["$=="]("style")?x=e["$[]="]("style",c):(m.$call(),x=(n=g["$has_key?"]("style"))===f||n._isBoolean&&1!=n?f:e["$[]="]("style",g["$[]"]("style")),(n=g["$has_key?"]("id"))===f||n._isBoolean&&1!=n||e["$[]="]("id",g["$[]"]("id")),(n=g["$has_key?"]("role"))===f||n._isBoolean&&1!=n||e["$[]="]("role",g["$[]"]("role")["$*"](" ")),(n=g["$has_key?"]("option"))===f||n._isBoolean&&1!=n||((n=(s=j=g["$[]"]("option")).$each,n._p=(p=function(o){return p._s||this,null==o&&(o=f),e["$[]="](""+o+"-option","")},p._s=r,p),n).call(s),(n=k=e["$[]"]("options"))===f||n._isBoolean&&1!=n?e["$[]="]("options",j["$*"](",")):e["$[]="]("options",j["$+"](k.$split(","))["$*"](",")))),[x,a])}),e.defs(p,"$reset_block_indent!",function(e,o){var d,i,t,u,s,p,r,a=this,c=f,b=f,w=f,g=f,m=f;return null==o&&(o=0),(d=(i=o["$!"]())!==!1&&i!==f?i:e["$empty?"]())===f||d._isBoolean&&1!=d?(c=!1,b="    ",w=(d=(i=e).$map,d._p=(t=function(e){var o,d=(t._s||this,f),i=f;return null==e&&(e=f),(o=e.$chr().$lstrip()["$empty?"]())===f||o._isBoolean&&1!=o?(n.$v=[],n):((o=e["$include?"](y.TAB))===f||o._isBoolean&&1!=o||(c=!0,e=e.$gsub(y.TAB_PATTERN,b)),(o=(d=e.$lstrip())["$empty?"]())===f||o._isBoolean&&1!=o?(i=e.$length()["$-"](d.$length()))["$=="](0)?(n.$v=[],n):i:f)},t._s=a,t),d).call(i),((d=(u=w["$empty?"]())!==!1&&u!==f?u:(w=w.$compact())["$empty?"]())===f||d._isBoolean&&1!=d)&&(g=w.$min())["$>"](0)&&(d=(u=e)["$map!"],d._p=(s=function(e){return s._s||this,null==e&&(e=f),c!==!1&&c!==f&&(e=e.$gsub(y.TAB_PATTERN,b)),e["$[]"](l(g,-1,!1)).$to_s()},s._s=a,s),d).call(u),o["$>"](0)&&(m=" "["$*"](o),(d=(p=e)["$map!"],d._p=(r=function(e){return r._s||this,null==e&&(e=f),""+m+e},r._s=a,r),d).call(p)),f):f}),e.defs(p,"$sanitize_attribute_name",function(e){return e.$gsub(y.InvalidAttributeNameCharsRx,"").$downcase()}),e.defs(p,"$roman_numeral_to_int",function(e){var o,n,d,i=this,u=f,s=f;return e=e.$downcase(),u=t(["i","v","x"],{i:1,v:5,x:10}),s=0,(o=(n=l(0,e.$length()["$-"](1),!1)).$each,o._p=(d=function(o){var n,i,t=(d._s||this,f);return null==o&&(o=f),t=u["$[]"](e["$[]"](l(o,o,!1))),s=(n=(i=o["$+"](1)["$<"](e.$length()))?u["$[]"](e["$[]"](l(o["$+"](1),o["$+"](1),!1)))["$>"](t):i)===f||n._isBoolean&&1!=n?s["$+"](t):s["$-"](t)},d._s=i,d),o).call(n),s}),f&&"roman_numeral_to_int"}(s,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2,t=e.range,l=e.gvars;return function(o){var u=n(o,"Asciidoctor");u._proto,u._scope,!function(o,n){function u(){}var s=u=d(o,n,"PathResolver",u),p=s._proto,r=s._scope;return p.file_separator=p._partition_path_web=p._partition_path_sys=p.working_dir=f,e.cdecl(r,"DOT","."),e.cdecl(r,"DOT_DOT",".."),e.cdecl(r,"DOT_SLASH","./"),e.cdecl(r,"SLASH","/"),e.cdecl(r,"BACKSLASH","\\"),e.cdecl(r,"DOUBLE_SLASH","//"),e.cdecl(r,"WindowsRootRx",/^[a-zA-Z]:(?:\\|\/)/),s.$attr_accessor("file_separator"),s.$attr_accessor("working_dir"),p.$initialize=function(o,n){var d,t,l=this;return null==o&&(o=f),null==n&&(n=f),l.file_separator=function(){return o!==!1&&o!==f?o:(d=(null==(t=e.Object._scope.File)?e.cm("File"):t)._scope.ALT_SEPARATOR)!==!1&&d!==f?d:(null==(t=e.Object._scope.File)?e.cm("File"):t)._scope.SEPARATOR}(),l.working_dir=n!==!1&&n!==f?function(){return(d=l["$is_root?"](n))===f||d._isBoolean&&1!=d?(null==(d=e.Object._scope.File)?e.cm("File"):d).$expand_path(n):n}():(null==(d=e.Object._scope.File)?e.cm("File"):d).$expand_path((null==(d=e.Object._scope.Dir)?e.cm("Dir"):d).$pwd()),l._partition_path_sys=i([],{}),l._partition_path_web=i([],{})},p["$is_root?"]=function(e){var o,n,d=this;return((o=e["$start_with?"](r.SLASH))===f||o._isBoolean&&1!=o)&&((o=(n=d.file_separator["$=="](r.BACKSLASH))?r.WindowsRootRx["$=~"](e):n)===f||o._isBoolean&&1!=o)?!1:!0},p["$is_unc?"]=function(e){return e["$start_with?"](r.DOUBLE_SLASH)},p["$is_web_root?"]=function(e){return e["$start_with?"](r.SLASH)},p.$posixfy=function(e){var o;return(o=e["$nil_or_empty?"]())===f||o._isBoolean&&1!=o?(o=e["$include?"](r.BACKSLASH))===f||o._isBoolean&&1!=o?e:e.$tr(r.BACKSLASH,r.SLASH):""},p.$expand_path=function(o){var n,d=this,i=f,t=f,l=f;return n=e.to_ary(d.$partition_path(o)),i=null==n[0]?f:n[0],t=null==n[1]?f:n[1],l=null==n[2]?f:n[2],d.$join_path(i,t)},p.$partition_path=function(e,o){var n,d=this,i=f,l=f,u=f,s=f;return null==o&&(o=!1),(n=i=function(){return o!==!1&&o!==f?d._partition_path_web["$[]"](e):d._partition_path_sys["$[]"](e)}())===f||n._isBoolean&&1!=n?(l=d.$posixfy(e),u=function(){return o!==!1&&o!==f?(n=d["$is_web_root?"](l))===f||n._isBoolean&&1!=n?(n=l["$start_with?"](r.DOT_SLASH))===f||n._isBoolean&&1!=n?f:r.DOT_SLASH:r.SLASH:(n=d["$is_root?"](l))===f||n._isBoolean&&1!=n?(n=l["$start_with?"](r.DOT_SLASH))===f||n._isBoolean&&1!=n?f:r.DOT_SLASH:(n=d["$is_unc?"](l))===f||n._isBoolean&&1!=n?(n=l["$start_with?"](r.SLASH))===f||n._isBoolean&&1!=n?l["$[]"](t(0,l.$index(r.SLASH),!1)):r.SLASH:r.DOUBLE_SLASH}(),s=l.$split(r.SLASH),u["$=="](r.DOUBLE_SLASH)?s=s["$[]"](t(2,-1,!1)):u!==!1&&u!==f&&s.$shift(),s.$delete(r.DOT),function(){return o!==!1&&o!==f?d._partition_path_web:d._partition_path_sys}()["$[]="](e,[s,u,l])):i},p.$join_path=function(e,o){return null==o&&(o=f),o!==!1&&o!==f?""+o+e["$*"](r.SLASH):e["$*"](r.SLASH)},p.$system_path=function(o,n,d,t){var l,u,s,p=this,y=f,a=f,c=f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f;if(null==d&&(d=f),null==t&&(t=i([],{})),y=t.$fetch("recover",!0),d!==!1&&d!==f&&(((l=p["$is_root?"](d))===f||l._isBoolean&&1!=l)&&p.$raise(null==(l=e.Object._scope.SecurityError)?e.cm("SecurityError"):l,"Jail is not an absolute path: "+d),d=p.$posixfy(d)),(l=o["$nil_or_empty?"]())===f||l._isBoolean&&1!=l?(l=e.to_ary(p.$partition_path(o)),a=null==l[0]?f:l[0],c=null==l[1]?f:l[1],b=null==l[2]?f:l[2]):a=[],(l=a["$empty?"]())!==f&&(!l._isBoolean||1==l)){if(!((l=n["$nil_or_empty?"]())===f||l._isBoolean&&1!=l))return function(){return d!==!1&&d!==f?d:p.working_dir}();if((l=p["$is_root?"](n))===f||l._isBoolean&&1!=l)return p.$system_path(n,d,d);if(d===!1||d===f)return p.$expand_path(n)}return(l=(u=c!==!1&&c!==f)?c["$=="](r.DOT_SLASH)["$!"]():u)===f||l._isBoolean&&1!=l||(w=p.$join_path(a,c),(l=(u=d["$!"]())!==!1&&u!==f?u:w["$start_with?"](d))===f||l._isBoolean&&1!=l)?(n=(l=n["$nil_or_empty?"]())===f||l._isBoolean&&1!=l?(l=p["$is_root?"](n))===f||l._isBoolean&&1!=l?p.$system_path(n,d,d):p.$posixfy(n):function(){return d!==!1&&d!==f?d:p.working_dir}(),d["$=="](n)?(l=e.to_ary(p.$partition_path(d)),g=null==l[0]?f:l[0],m=null==l[1]?f:l[1],b=null==l[2]?f:l[2],x=g.$dup()):d!==!1&&d!==f?(((l=n["$start_with?"](d))===f||l._isBoolean&&1!=l)&&p.$raise(null==(l=e.Object._scope.SecurityError)?e.cm("SecurityError"):l,""+((l=t["$[]"]("target_name"))!==!1&&l!==f?l:"Start path")+" "+n+" is outside of jail: "+d+" (disallowed in safe mode)"),l=e.to_ary(p.$partition_path(n)),x=null==l[0]?f:l[0],j=null==l[1]?f:l[1],b=null==l[2]?f:l[2],l=e.to_ary(p.$partition_path(d)),g=null==l[0]?f:l[0],m=null==l[1]?f:l[1],b=null==l[2]?f:l[2]):(l=e.to_ary(p.$partition_path(n)),x=null==l[0]?f:l[0],j=null==l[1]?f:l[1],b=null==l[2]?f:l[2],m=j),k=x.$dup(),v=!1,(l=(u=a).$each,l._p=(s=function(n){var i,l=s._s||this;return null==n&&(n=f),n["$=="](r.DOT_DOT)?d!==!1&&d!==f?k.$length()["$>"](g.$length())?k.$pop():(i=y["$!"]())===f||i._isBoolean&&1!=i?(i=v["$!"]())===f||i._isBoolean&&1!=i?f:(l.$warn("asciidoctor: WARNING: "+((i=t["$[]"]("target_name"))!==!1&&i!==f?i:"path")+" has illegal reference to ancestor of jail, auto-recovering"),v=!0):l.$raise(null==(i=e.Object._scope.SecurityError)?e.cm("SecurityError"):i,""+((i=t["$[]"]("target_name"))!==!1&&i!==f?i:"path")+" "+o+" refers to location outside jail: "+d+" (disallowed in safe mode)"):k.$pop():k.$push(n)},s._s=p,s),l).call(u),p.$join_path(k,m)):w},p.$web_path=function(o,n){var d,i,u,s=this,p=f,y=f,a=f,c=f,b=f;return null==l["~"]&&(l["~"]=f),null==n&&(n=f),o=s.$posixfy(o),n=s.$posixfy(n),p=f,((d=(i=n["$nil_or_empty?"]())!==!1&&i!==f?i:s["$is_web_root?"](o))===f||d._isBoolean&&1!=d)&&(o=""+n+r.SLASH+o,i=o["$include?"](":"),(d=i!==!1&&i!==f?r.UriSniffRx["$=~"](o):i)===f||d._isBoolean&&1!=d||(p=l["~"]["$[]"](0),o=o["$[]"](t(p.$length(),-1,!1)))),d=e.to_ary(s.$partition_path(o,!0)),y=null==d[0]?f:d[0],a=null==d[1]?f:d[1],c=null==d[2]?f:d[2],b=[],(d=(i=y).$each,d._p=(u=function(e){var o,n;return u._s||this,null==e&&(e=f),e["$=="](r.DOT_DOT)?(o=b["$empty?"]())===f||o._isBoolean&&1!=o?b["$[]"](-1)["$=="](r.DOT_DOT)?b["$<<"](e):b.$pop():(o=(n=a!==!1&&a!==f)?a["$=="](r.DOT_SLASH)["$!"]():n)===f||o._isBoolean&&1!=o?b["$<<"](e):f:b["$<<"](e)},u._s=s,u),d).call(i),p!==!1&&p!==f?""+p+s.$join_path(b,a):s.$join_path(b,a)},p.$relative_path=function(e,o){var n,d,i=this,l=f;return d=i["$is_root?"](e),(n=d!==!1&&d!==f?i["$is_root?"](o):d)===f||n._isBoolean&&1!=n?e:(l=o.$chomp(i.file_separator).$length()["$+"](1),e["$[]"](t(l,-1,!1)))},f&&"relative_path"}(u,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module,t=e.klass,l=e.hash2,u=e.range;return function(o){var s=i(o,"Asciidoctor"),p=(s._proto,s._scope);!function(o,d){
  function i(){}var s,p=i=t(o,d,"Reader",i),r=p._proto,y=p._scope;return r.file=r.dir=r.lines=r.process_lines=r.look_ahead=r.eof=r.unescape_next_line=r.lineno=r.path=r.source_lines=f,function(o,n){function d(){}var i=d=t(o,n,"Cursor",d),l=i._proto;return i._scope,i.$attr_accessor("file"),i.$attr_accessor("dir"),i.$attr_accessor("path"),i.$attr_accessor("lineno"),l.$initialize=function(e,o,n,d){var i=this;return null==o&&(o=f),null==n&&(n=f),null==d&&(d=f),i.file=e,i.dir=o,i.path=n,i.lineno=d},l.$line_info=function(){var e=this;return""+e.$path()+": line "+e.$lineno()},e.defn(i,"$to_s",l.$line_info)}(p,null),p.$attr_reader("file"),p.$attr_reader("dir"),p.$attr_reader("path"),p.$attr_reader("lineno"),p.$attr_reader("source_lines"),p.$attr_accessor("process_lines"),r.$initialize=function(o,n,d){var i,t,u=this;return null==o&&(o=f),null==n&&(n=f),null==d&&(d=l(["normalize"],{normalize:!1})),(i=n["$!"]())===f||i._isBoolean&&1!=i?(i=n["$is_a?"](null==(t=e.Object._scope.String)?e.cm("String"):t))===f||i._isBoolean&&1!=i?(u.file=n.$file(),u.dir=n.$dir(),u.path=(i=n.$path())!==!1&&i!==f?i:"<stdin>",(i=u.file)===f||i._isBoolean&&1!=i||(((i=u.dir)===f||i._isBoolean&&1!=i)&&(u.dir=(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(u.file),u.dir["$=="](".")&&(u.dir=f)),((i=n.$path())===f||i._isBoolean&&1!=i)&&(u.path=(null==(i=e.Object._scope.File)?e.cm("File"):i).$basename(u.file))),u.lineno=(i=n.$lineno())!==!1&&i!==f?i:1):(u.file=n,i=e.to_ary((null==(t=e.Object._scope.File)?e.cm("File"):t).$split(u.file)),u.dir=null==i[0]?f:i[0],u.path=null==i[1]?f:i[1],u.lineno=1):(u.file=u.dir=f,u.path="<stdin>",u.lineno=1),u.lines=function(){return o!==!1&&o!==f?u.$prepare_lines(o,d):[]}(),u.source_lines=u.lines.$dup(),u.eof=u.lines["$empty?"](),u.look_ahead=0,u.process_lines=!0,u.unescape_next_line=!1},r.$prepare_lines=function(o,n){var d,i;return null==n&&(n=l([],{})),(d=o["$is_a?"](null==(i=e.Object._scope.String)?e.cm("String"):i))===f||d._isBoolean&&1!=d?(d=n["$[]"]("normalize"))===f||d._isBoolean&&1!=d?o.$dup():y.Helpers.$normalize_lines_array(o):(d=n["$[]"]("normalize"))===f||d._isBoolean&&1!=d?o.$split(y.EOL):y.Helpers.$normalize_lines_from_string(o)},r.$process_line=function(e){var o,n=this;return(o=n.process_lines)===f||o._isBoolean&&1!=o||(n.look_ahead=n.look_ahead["$+"](1)),e},r["$has_more_lines?"]=function(){var e,o=this;return((e=o.eof)!==!1&&e!==f?e:o.eof=o.$peek_line()["$nil?"]())["$!"]()},r["$next_line_empty?"]=function(){var e=this;return e.$peek_line()["$nil_or_empty?"]()},r.$peek_line=function(e){var o,n,d=this,i=f;return null==e&&(e=!1),(o=(n=e)!==!1&&n!==f?n:d.look_ahead["$>"](0))===f||o._isBoolean&&1!=o?(o=(n=d.eof)!==!1&&n!==f?n:d.lines["$empty?"]())===f||o._isBoolean&&1!=o?(o=(i=d.$process_line(d.lines["$[]"](0)))["$!"]())===f||o._isBoolean&&1!=o?i:d.$peek_line():(d.eof=!0,d.look_ahead=0,f):(o=d.unescape_next_line)===f||o._isBoolean&&1!=o?d.lines["$[]"](0):d.lines["$[]"](0)["$[]"](u(1,-1,!1))},r.$peek_lines=function(e,o){var d,i,t,l,u,s=this,p=f,r=f;return null==e&&(e=1),null==o&&(o=!0),p=s.look_ahead,r=[],(d=(i=e).$times,d._p=(t=function(){var e,d=t._s||this,i=f;return(e=i=d.$read_line(o))===f||e._isBoolean&&1!=e?(n.$v=f,n):r["$<<"](i)},t._s=s,t),d).call(i),((d=r["$empty?"]())===f||d._isBoolean&&1!=d)&&((d=(l=r).$reverse_each,d._p=(u=function(e){var o=u._s||this;return null==e&&(e=f),o.$unshift(e)},u._s=s,u),d).call(l),o!==!1&&o!==f&&(s.look_ahead=p)),r},r.$read_line=function(e){var o,n,d,i=this;return null==e&&(e=!1),(o=(n=(d=e)!==!1&&d!==f?d:i.look_ahead["$>"](0))!==!1&&n!==f?n:i["$has_more_lines?"]())===f||o._isBoolean&&1!=o?f:i.$shift()},r.$read_lines=function(){var e,o=this,n=f;for(n=[];(e=o["$has_more_lines?"]())!==f&&(!e._isBoolean||1==e);)n["$<<"](o.$shift());return n},e.defn(p,"$readlines",r.$read_lines),r.$read=function(){var e=this;return e.$read_lines()["$*"](y.EOL)},r.$advance=function(e){var o=this;return null==e&&(e=!0),o.$read_line(e)["$!"]()["$!"]()},r.$unshift_line=function(e){var o=this;return o.$unshift(e),f},e.defn(p,"$restore_line",r.$unshift_line),r.$unshift_lines=function(e){var o,n,d,i=this;return(o=(n=e).$reverse_each,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),o.$unshift(e)},d._s=i,d),o).call(n),f},e.defn(p,"$restore_lines",r.$unshift_lines),r.$replace_line=function(e){var o=this;return o.$advance(),o.$unshift(e),f},r.$skip_blank_lines=function(){var e,o,n=this,d=f,i=f;if((e=n["$eof?"]())!==f&&(!e._isBoolean||1==e))return 0;for(d=0;(o=i=n.$peek_line())!==f&&(!o._isBoolean||1==o);){if((o=i["$empty?"]())===f||o._isBoolean&&1!=o)return d;n.$advance(),d=d["$+"](1)}return d},r.$skip_comment_lines=function(e){var o,n,d,i,t=this,u=f,s=f,p=f,r=f,a=f;if(null==e&&(e=l([],{})),(o=t["$eof?"]())!==f&&(!o._isBoolean||1==o))return[];for(u=[],s=e["$[]"]("include_blank_lines");(n=p=t.$peek_line())!==f&&(!n._isBoolean||1==n);)if((n=(d=s!==!1&&s!==f)?p["$empty?"]():d)===f||n._isBoolean&&1!=n)if(d=r=p["$start_with?"]("//"),(n=d!==!1&&d!==f?a=y.CommentBlockRx.$match(p):d)===f||n._isBoolean&&1!=n){if((d=(i=r!==!1&&r!==f)?y.CommentLineRx["$=~"](p):i)===f||d._isBoolean&&1!=d)break;u["$<<"](t.$shift())}else u["$<<"](t.$shift()),(n=u).$push.apply(n,[].concat(t.$read_lines_until(l(["terminator","read_last_line","skip_processing"],{terminator:a["$[]"](0),read_last_line:!0,skip_processing:!0}))));else u["$<<"](t.$shift());return u},r.$skip_line_comments=function(){var e,o,n=this,d=f,i=f;if((e=n["$eof?"]())!==f&&(!e._isBoolean||1==e))return[];for(d=[];!((o=i=n.$peek_line())===f||o._isBoolean&&1!=o||(o=y.CommentLineRx["$=~"](i))===f||o._isBoolean&&1!=o);)d["$<<"](n.$shift());return d},r.$terminate=function(){var e=this;return e.lineno=e.lineno["$+"](e.lines.$size()),e.lines.$clear(),e.eof=!0,e.look_ahead=0,f},r["$eof?"]=function(){var e=this;return e["$has_more_lines?"]()["$!"]()},e.defn(p,"$empty?",r["$eof?"]),r.$read_lines_until=s=function(o){var d,i,t,u,p,r=this,a=s._p,c=a||f,b=f,w=f,g=f,m=f,x=f,j=f,k=f,v=f,P=f,h=f;for(null==o&&(o=l([],{})),s._p=null,b=[],(d=o["$[]"]("skip_first_line"))===f||d._isBoolean&&1!=d||r.$advance(),i=r.process_lines,(d=i!==!1&&i!==f?o["$[]"]("skip_processing"):i)===f||d._isBoolean&&1!=d?w=!1:(r.process_lines=!1,w=!0),(d=g=o["$[]"]("terminator"))===f||d._isBoolean&&1!=d?(m=o["$[]"]("break_on_blank_lines"),x=o["$[]"]("break_on_list_continuation")):(m=!1,x=!1),j=o["$[]"]("skip_line_comments"),k=!1,v=!1,P=!1;t=P["$!"](),(i=t!==!1&&t!==f?h=r.$read_line():t)!==f&&(!i._isBoolean||1==i);)P=function(){for(;(t=!0)!==f&&(!t._isBoolean||1==t);)return((t=(u=g!==!1&&g!==f)?h["$=="](g):u)===f||t._isBoolean&&1!=t)&&((t=(u=m!==!1&&m!==f)?h["$empty?"]():u)===f||t._isBoolean&&1!=t)?(u=(p=x!==!1&&x!==f)?k:p,(t=u!==!1&&u!==f?h["$=="](y.LIST_CONTINUATION):u)===f||t._isBoolean&&1!=t?(t=(u=c!==f)?(p=e.$yield1(c,h))===n?n.$v:p:u)===f||t._isBoolean&&1!=t?!1:!0:(o["$[]="]("preserve_last_line",!0),!0)):!0;return f}(),P!==!1&&P!==f?((i=o["$[]"]("read_last_line"))===f||i._isBoolean&&1!=i||(b["$<<"](h),k=!0),(i=o["$[]"]("preserve_last_line"))===f||i._isBoolean&&1!=i||(r.$restore_line(h),v=!0)):(t=(u=j!==!1&&j!==f)?h["$start_with?"]("//"):u,((i=t!==!1&&t!==f?y.CommentLineRx["$=~"](h):t)===f||i._isBoolean&&1!=i)&&(b["$<<"](h),k=!0));return w!==!1&&w!==f&&(r.process_lines=!0,(d=(i=v!==!1&&v!==f)?g["$!"]():i)===f||d._isBoolean&&1!=d||(r.look_ahead=r.look_ahead["$-"](1))),b},r.$shift=function(){var e=this;return e.lineno=e.lineno["$+"](1),e.look_ahead["$=="](0)||(e.look_ahead=e.look_ahead["$-"](1)),e.lines.$shift()},r.$unshift=function(e){var o=this;return o.lineno=o.lineno["$-"](1),o.look_ahead=o.look_ahead["$+"](1),o.eof=!1,o.lines.$unshift(e)},r.$cursor=function(){var e=this;return y.Cursor.$new(e.file,e.dir,e.path,e.lineno)},r.$line_info=function(){var e=this;return""+e.path+": line "+e.lineno},e.defn(p,"$next_line_info",r.$line_info),r.$prev_line_info=function(){var e=this;return""+e.path+": line "+e.lineno["$-"](1)},r.$lines=function(){var e=this;return e.lines.$dup()},r.$string=function(){var e=this;return e.lines["$*"](y.EOL)},r.$source=function(){var e=this;return e.source_lines["$*"](y.EOL)},r.$to_s=function(){var e=this;return e.$line_info()},f&&"to_s"}(s,null),function(o,i){function s(){}var p,r,y,a,c=s=t(o,i,"PreprocessorReader",s),b=c._proto,w=c._scope;return b.document=b.lineno=b.process_lines=b.look_ahead=b.skipping=b.include_stack=b.conditional_stack=b.path=b.include_processor_extensions=b.maxdepth=b.dir=b.lines=b.file=b.includes=b.unescape_next_line=f,c.$attr_reader("include_stack"),c.$attr_reader("includes"),b.$initialize=p=function(o,n,d){var i,t,u,s=this,r=(p._p,f);return null==n&&(n=f),null==d&&(d=f),p._p=null,s.document=o,e.find_super_dispatcher(s,"initialize",p,null).apply(s,[n,d,l(["normalize"],{normalize:!0})]),r=o.$attributes().$fetch("max-include-depth",64).$to_i(),r["$<"](0)&&(r=0),s.maxdepth=l(["abs","rel"],{abs:r,rel:r}),s.include_stack=[],s.includes=(i="includes",t=o.$references(),(u=t["$[]"](i))!==!1&&u!==f?u:t["$[]="](i,[])),s.skipping=!1,s.conditional_stack=[],s.include_processor_extensions=f},b.$prepare_lines=r=function(o,n){var i,t,u,s=d.call(arguments,0),p=this,y=r._p,a=f,c=f,b=f,g=f,m=f;if(null==n&&(n=l([],{})),r._p=null,a=e.find_super_dispatcher(p,"prepare_lines",r,y).apply(p,s),t=p.document,(i=t!==!1&&t!==f?p.document.$attributes()["$has_key?"]("skip-front-matter"):t)===f||i._isBoolean&&1!=i||(i=c=p["$skip_front_matter!"](a))===f||i._isBoolean&&1!=i||p.document.$attributes()["$[]="]("front-matter",c["$*"](w.EOL)),(i=n.$fetch("condense",!0))!==f&&(!i._isBoolean||1==i)){for(;u=b=a["$[]"](0),(t=u!==!1&&u!==f?b["$empty?"]():u)!==f&&(!t._isBoolean||1==t);)t=a.$shift(),t!==!1&&t!==f?p.lineno=p.lineno["$+"](1):t;for(;u=g=a["$[]"](-1),(t=u!==!1&&u!==f?g["$empty?"]():u)!==f&&(!t._isBoolean||1==t);)a.$pop()}return(i=m=n.$fetch("indent",f))===f||i._isBoolean&&1!=i||w.Parser["$reset_block_indent!"](a,m.$to_i()),a},b.$process_line=function(e){var o,n,d,i,t=this,l=f,s=f;return(o=t.process_lines)===f||o._isBoolean&&1!=o?e:(o=e["$empty?"]())===f||o._isBoolean&&1!=o?(d=e["$end_with?"]("]"),n=d!==!1&&d!==f?e["$start_with?"]("[")["$!"]():d,(o=n!==!1&&n!==f?e["$include?"]("::"):n)===f||o._isBoolean&&1!=o?(o=t.skipping)===f||o._isBoolean&&1!=o?(t.look_ahead=t.look_ahead["$+"](1),e):(t.$advance(),f):(n=e["$include?"]("if"),(o=n!==!1&&n!==f?l=w.ConditionalDirectiveRx.$match(e):n)===f||o._isBoolean&&1!=o?(o=t.skipping)===f||o._isBoolean&&1!=o?(d=(i=s=e["$start_with?"]("\\include::"))!==!1&&i!==f?i:e["$start_with?"]("include::"),(o=d!==!1&&d!==f?l=w.IncludeDirectiveRx.$match(e):d)===f||o._isBoolean&&1!=o?(t.look_ahead=t.look_ahead["$+"](1),e):s!==!1&&s!==f?(t.unescape_next_line=!0,t.look_ahead=t.look_ahead["$+"](1),e["$[]"](u(1,-1,!1))):(o=t.$preprocess_include(l["$[]"](1),l["$[]"](2).$strip()))===f||o._isBoolean&&1!=o?(t.look_ahead=t.look_ahead["$+"](1),e):f):(t.$advance(),f):(o=e["$start_with?"]("\\"))===f||o._isBoolean&&1!=o?(o=(n=t).$preprocess_conditional_inclusion.apply(n,[].concat(l.$captures())))===f||o._isBoolean&&1!=o?(t.look_ahead=t.look_ahead["$+"](1),e):(t.$advance(),f):(t.unescape_next_line=!0,t.look_ahead=t.look_ahead["$+"](1),e["$[]"](u(1,-1,!1))))):(t.look_ahead=t.look_ahead["$+"](1),"")},b.$peek_line=y=function(o){var n,i=d.call(arguments,0),t=this,l=y._p,u=f;return null==o&&(o=!1),y._p=null,(n=u=e.find_super_dispatcher(t,"peek_line",y,l).apply(t,i))===f||n._isBoolean&&1!=n?(n=t.include_stack["$empty?"]())===f||n._isBoolean&&1!=n?(t.$pop_include(),t.$peek_line(o)):f:u},b.$preprocess_conditional_inclusion=function(e,o,n,d){var i,t,u,s,p,r,y,a,c,b,g=this,m=f,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f;if(u=(s=e["$=="]("ifdef"))!==!1&&s!==f?s:e["$=="]("ifndef"),(i=(t=u!==!1&&u!==f?o["$empty?"]():u)!==!1&&t!==f?t:(u=e["$=="]("endif"))?d:u)!==f&&(!i._isBoolean||1==i))return!1;if(o=o.$downcase(),e["$=="]("endif"))return m=g.conditional_stack.$size(),m["$>"](0)?(x=g.conditional_stack["$[]"](-1),(i=(t=o["$empty?"]())!==!1&&t!==f?t:o["$=="](x["$[]"]("target")))===f||i._isBoolean&&1!=i?g.$warn("asciidoctor: ERROR: "+g.$line_info()+": mismatched macro: endif::"+o+"[], expected endif::"+x["$[]"]("target")+"[]"):(g.conditional_stack.$pop(),g.skipping=function(){return(i=g.conditional_stack["$empty?"]())===f||i._isBoolean&&1!=i?g.conditional_stack["$[]"](-1)["$[]"]("skipping"):!1}())):g.$warn("asciidoctor: ERROR: "+g.$line_info()+": unmatched macro: endif::"+o+"[]"),!0;if(j=!1,(i=g.skipping)===f||i._isBoolean&&1!=i)if(k=e,"ifdef"["$==="](k))k=n,f["$==="](k)?j=g.document.$attributes()["$has_key?"](o)["$!"]():","["$==="](k)?j=(i=(t=o.$split(",")).$detect,i._p=(p=function(e){var o=p._s||this;return null==o.document&&(o.document=f),null==e&&(e=f),o.document.$attributes()["$has_key?"](e)},p._s=g,p),i).call(t)["$!"]():"+"["$==="](k)&&(j=(i=(u=o.$split("+")).$detect,i._p=(r=function(e){var o=r._s||this;return null==o.document&&(o.document=f),null==e&&(e=f),o.document.$attributes()["$has_key?"](e)["$!"]()},r._s=g,r),i).call(u));else if("ifndef"["$==="](k))k=n,f["$==="](k)?j=g.document.$attributes()["$has_key?"](o):","["$==="](k)?j=(i=(s=o.$split(",")).$detect,i._p=(y=function(e){var o=y._s||this;return null==o.document&&(o.document=f),null==e&&(e=f),o.document.$attributes()["$has_key?"](e)["$!"]()},y._s=g,y),i).call(s)["$!"]():"+"["$==="](k)&&(j=(i=(a=o.$split("+")).$detect,i._p=(c=function(e){var o=c._s||this;return null==o.document&&(o.document=f),null==e&&(e=f),o.document.$attributes()["$has_key?"](e)},c._s=g,c),i).call(a));else if("ifeval"["$==="](k)){if((i=(b=o["$empty?"]()["$!"]())!==!1&&b!==f?b:(v=w.EvalExpressionRx.$match(d.$strip()))["$!"]())!==f&&(!i._isBoolean||1==i))return!1;P=g.$resolve_expr_val(v["$[]"](1)),h=v["$[]"](2),q=g.$resolve_expr_val(v["$[]"](3)),j=P.$send(h.$to_sym(),q)["$!"]()}if((i=(b=e["$=="]("ifeval"))!==!1&&b!==f?b:d["$!"]())===f||i._isBoolean&&1!=i){if((i=(b=g.skipping)!==!1&&b!==f?b:j)===f||i._isBoolean&&1!=i)return z=g.$peek_line(!0),g.$replace_line(d.$rstrip()),g.$unshift(z),!0}else j!==!1&&j!==f&&(g.skipping=!0),g.conditional_stack["$<<"](l(["target","skip","skipping"],{target:o,skip:j,skipping:g.skipping}));return!0},b.$preprocess_include=function(o,d){var i,t,u,s,p,r,y,a,c,b,g,m=this,x=f,j=f,k=f,v=f,P=f,h=f,q=f,z=f,A=f,B=f,C=f,D=f,E=f,F=f,G=f;if((i=(x=m.document.$sub_attributes(o,l(["attribute_missing"],{attribute_missing:"drop-line"})))["$empty?"]())===f||i._isBoolean&&1!=i){if(t=m["$include_processors?"](),(i=t!==!1&&t!==f?j=(u=(s=m.include_processor_extensions).$find,u._p=(p=function(e){return p._s||this,null==e&&(e=f),e.$instance()["$handles?"](x)},p._s=m,p),u).call(s):t)===f||i._isBoolean&&1!=i){if(m.document.$safe()["$>="](w.SafeMode._scope.SECURE))return m.$replace_line("link:"+x+"[]"),!0;if((i=(t=(k=m.maxdepth["$[]"]("abs"))["$>"](0))?m.include_stack.$size()["$>="](k):t)===f||i._isBoolean&&1!=i){if(k["$>"](0)){if((i=null==(t=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):t)===f||i._isBoolean&&1!=i)if(t=x["$include?"](":"),(i=t!==!1&&t!==f?w.UriSniffRx["$=~"](x):t)===f||i._isBoolean&&1!=i){if(v="file",P=m.document.$normalize_system_path(x,m.dir,f,l(["target_name"],{target_name:"include file"})),(i=(null==(t=e.Object._scope.File)?e.cm("File"):t)["$file?"](P))===f||i._isBoolean&&1!=i)return m.$warn("asciidoctor: WARNING: "+m.$line_info()+": include file not found: "+P),m.$replace_line("Unresolved directive in "+m.path+" - include::"+x+"["+d+"]"),!0;h=w.PathResolver.$new().$relative_path(P,m.document.$base_dir())}else{if((i=m.document.$attributes()["$has_key?"]("allow-uri-read"))===f||i._isBoolean&&1!=i)return m.$replace_line("link:"+x+"[]"),!0;v="uri",P=h=x,(i=m.document.$attributes()["$has_key?"]("cache-uri"))===f||i._isBoolean&&1!=i?(i=(null==(t=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):t)["$!"]())===f||i._isBoolean&&1!=i||(null==(i=e.Object._scope.OpenURI)?e.cm("OpenURI"):i):w.Helpers.$require_library("open-uri/cached","open-uri-cached")}else v="file",P=h=function(){return(i=m.include_stack["$empty?"]())===f||i._isBoolean&&1!=i?(null==(i=e.Object._scope.File)?e.cm("File"):i).$join(m.dir,x):(null==(i=e.Object._scope.Dir)?e.cm("Dir"):i).$pwd()["$=="](m.document.$base_dir())?x:(null==(i=e.Object._scope.File)?e.cm("File"):i).$join(m.dir,x)}();if(q=f,z=f,A=l([],{}),(i=d["$empty?"]()["$!"]())===f||i._isBoolean&&1!=i||(A=w.AttributeList.$new(d).$parse(),(i=A["$has_key?"]("lines"))===f||i._isBoolean&&1!=i?(i=A["$has_key?"]("tag"))===f||i._isBoolean&&1!=i?(i=A["$has_key?"]("tags"))===f||i._isBoolean&&1!=i||(z=A["$[]"]("tags").$split(w.DataDelimiterRx).$to_set()):z=[A["$[]"]("tag")].$to_set():(q=[],(i=(t=A["$[]"]("lines").$split(w.DataDelimiterRx)).$each,i._p=(r=function(o){var n,d,i,t=(r._s||this,f),l=f;return null==o&&(o=f),(n=o["$include?"](".."))===f||n._isBoolean&&1!=n?q["$<<"](o.$to_i()):(n=e.to_ary((d=(i=o.$split("..")).$map,d._p="to_i".$to_proc(),d).call(i)),t=null==n[0]?f:n[0],l=null==n[1]?f:n[1],l["$=="](-1)?(q["$<<"](t),q["$<<"](1["$/"](0))):q.$concat((null==(n=e.Object._scope.Range)?e.cm("Range"):n).$new(t,l).$to_a()))},r._s=m,r),i).call(t),q=q.$sort().$uniq())),q!==!1&&q!==f){if((i=q["$empty?"]())===f||i._isBoolean&&1!=i){B=[],C=0,D=0;try{(i=(u=m).$open,i._p=(y=function(o){var d,i,t,l=y._s||this;return null==o&&(o=f),(d=(i=o).$each_line,d._p=(t=function(d){var i,l,u,s=(t._s||this,f);return null==d&&(d=f),D=D["$+"](1),s=q["$[]"](0),l=s["$is_a?"](null==(u=e.Object._scope.Float)?e.cm("Float"):u),(i=l!==!1&&l!==f?s["$infinite?"]():l)===f||i._isBoolean&&1!=i?(o.$lineno()["$=="](s)&&(B.$push(d),C["$=="](0)&&(C=D),q.$shift()),(i=q["$empty?"]())===f||i._isBoolean&&1!=i?f:(n.$v=f,n)):(B.$push(d),C["$=="](0)?C=D:f)},t._s=l,t),d).call(i)},y._s=m,y),i).call(u,P,"r")}catch(H){return m.$warn("asciidoctor: WARNING: "+m.$line_info()+": include "+v+" not readable: "+P),m.$replace_line("Unresolved directive in "+m.path+" - include::"+x+"["+d+"]"),!0}m.$advance(),m.$push_include(B,P,h,C,A)}}else if(z!==!1&&z!==f){if((i=z["$empty?"]())===f||i._isBoolean&&1!=i){B=[],C=0,D=0,E=f,F=(null==(i=e.Object._scope.Set)?e.cm("Set"):i).$new();try{(i=(a=m).$open,i._p=(c=function(o){var d,i,t,l=c._s||this;return null==o&&(o=f),(d=(i=o).$each_line,d._p=(t=function(o){var d,i,l,u=t._s||this,s=f;return null==o&&(o=f),D=D["$+"](1),(d=w.FORCE_ENCODING)===f||d._isBoolean&&1!=d||o.$force_encoding((null==(d=e.Object._scope.Encoding)?e.cm("Encoding"):d)._scope.UTF_8),o=o.$rstrip(),s=o.$chomp("-->").$rstrip(),E!==!1&&E!==f?(d=s["$end_with?"]("end::"+E+"[]"))===f||d._isBoolean&&1!=d?(i=s["$end_with?"]("[]"),((d=i!==!1&&i!==f?w.TagDirectiveRx["$=~"](s):i)===f||d._isBoolean&&1!=d)&&B.$push(o),C["$=="](0)?C=D:f):E=f:(i=s["$end_with?"]("[]"),(d=i!==!1&&i!==f?w.TagDirectiveRx["$=~"](s):i)===f||d._isBoolean&&1!=d?f:(d=(i=z).$each,d._p=(l=function(e){var o;return l._s||this,null==e&&(e=f),(o=s["$end_with?"]("tag::"+e+"[]"))===f||o._isBoolean&&1!=o?f:(E=e,F["$<<"](e),n.$v=f,n)},l._s=u,l),d).call(i))},t._s=l,t),d).call(i)},c._s=m,c),i).call(a,P,"r")}catch(H){return m.$warn("asciidoctor: WARNING: "+m.$line_info()+": include "+v+" not readable: "+P),m.$replace_line("Unresolved directive in "+m.path+" - include::"+x+"["+d+"]"),!0}((i=(G=z.$to_a()["$-"](F.$to_a()))["$empty?"]())===f||i._isBoolean&&1!=i)&&m.$warn("asciidoctor: WARNING: "+m.$line_info()+": tag"+function(){return G.$size()["$>"](1)?"s":f}()+" '"+G["$*"](",")+"' not found in include "+v+": "+P),m.$advance(),m.$push_include(B,P,h,C,A)}}else try{m.$advance(),m.$push_include((i=(b=m).$open,i._p=(g=function(e){return g._s||this,null==e&&(e=f),e.$read()},g._s=m,g),i).call(b,P,"r"),P,h,1,A)}catch(H){return m.$warn("asciidoctor: WARNING: "+m.$line_info()+": include "+v+" not readable: "+P),m.$replace_line("Unresolved directive in "+m.path+" - include::"+x+"["+d+"]"),!0}return!0}return!1}return m.$warn("asciidoctor: ERROR: "+m.$line_info()+": maximum include depth of "+m.maxdepth["$[]"]("rel")+" exceeded"),!1}return m.$advance(),j.$process_method()["$[]"](m.document,m,x,w.AttributeList.$new(d).$parse()),!0}return m.document.$attributes().$fetch("attribute-missing",w.Compliance.$attribute_missing())["$=="]("skip")?(m.$replace_line("Unresolved directive in "+m.path+" - include::"+o+"["+d+"]"),!0):(m.$advance(),!0)},b.$push_include=function(o,n,d,i,t){var u,s=this,p=f,r=f;return null==n&&(n=f),null==d&&(d=f),null==i&&(i=1),null==t&&(t=l([],{})),s.include_stack["$<<"]([s.lines,s.file,s.dir,s.path,s.lineno,s.maxdepth,s.process_lines]),n!==!1&&n!==f?(s.file=n,s.dir=w.File.$dirname(n),s.process_lines=w.ASCIIDOC_EXTENSIONS["$[]"]((null==(u=e.Object._scope.File)?e.cm("File"):u).$extname(n))):(s.file=f,s.dir=".",s.process_lines=!0),s.path=function(){return d!==!1&&d!==f?(s.includes["$<<"](w.Helpers.$rootname(d)),d):"<stdin>"}(),s.lineno=i,(u=t["$has_key?"]("depth"))===f||u._isBoolean&&1!=u||(p=t["$[]"]("depth").$to_i(),p["$<="](0)&&(p=1),s.maxdepth=l(["abs","rel"],{abs:s.include_stack.$size()["$-"](1)["$+"](p),rel:p})),(u=(s.lines=s.$prepare_lines(o,l(["normalize","condense","indent"],{normalize:!0,condense:!1,indent:t["$[]"]("indent")})))["$empty?"]())===f||u._isBoolean&&1!=u?((u=t["$has_key?"]("leveloffset"))===f||u._isBoolean&&1!=u||(s.lines.$unshift(""),s.lines.$unshift(":leveloffset: "+t["$[]"]("leveloffset")),s.lines.$push(""),s.lines.$push((u=r=s.document.$attr("leveloffset"))===f||u._isBoolean&&1!=u?":leveloffset!:":":leveloffset: "+r),s.lineno=s.lineno["$-"](2)),s.eof=!1,s.look_ahead=0):s.$pop_include(),f},b.$pop_include=function(){var o,n=this;return n.include_stack.$size()["$>"](0)&&(o=e.to_ary(n.include_stack.$pop()),n.lines=null==o[0]?f:o[0],n.file=null==o[1]?f:o[1],n.dir=null==o[2]?f:o[2],n.path=null==o[3]?f:o[3],n.lineno=null==o[4]?f:o[4],n.maxdepth=null==o[5]?f:o[5],n.process_lines=null==o[6]?f:o[6],n.eof=n.lines["$empty?"](),n.look_ahead=0),f},b.$include_depth=function(){var e=this;return e.include_stack.$size()},b["$exceeded_max_depth?"]=function(){var e,o,n=this,d=f;return(e=(o=(d=n.maxdepth["$[]"]("abs"))["$>"](0))?n.include_stack.$size()["$>="](d):o)===f||e._isBoolean&&1!=e?!1:n.maxdepth["$[]"]("rel")},b.$shift=a=function(){var o,n=d.call(arguments,0),i=this,t=a._p;return a._p=null,(o=i.unescape_next_line)===f||o._isBoolean&&1!=o?e.find_super_dispatcher(i,"shift",a,t).apply(i,n):(i.unescape_next_line=!1,e.find_super_dispatcher(i,"shift",a,t).apply(i,n)["$[]"](u(1,-1,!1)))},b["$skip_front_matter!"]=function(e,o){var n,d,i,t=this,l=f,u=f;if(null==o&&(o=!0),l=f,e["$[]"](0)["$=="]("---")){for(u=e.$dup(),l=[],e.$shift(),o!==!1&&o!==f&&(t.lineno=t.lineno["$+"](1));i=e["$empty?"]()["$!"](),(d=i!==!1&&i!==f?e["$[]"](0)["$=="]("---")["$!"]():i)!==f&&(!d._isBoolean||1==d);)l.$push(e.$shift()),o!==!1&&o!==f&&(t.lineno=t.lineno["$+"](1));(n=e["$empty?"]())===f||n._isBoolean&&1!=n?(e.$shift(),o!==!1&&o!==f&&(t.lineno=t.lineno["$+"](1))):((n=e).$unshift.apply(n,[].concat(u)),o!==!1&&o!==f&&(t.lineno=0),l=f)}return l},b.$resolve_expr_val=function(e){var o,n,d,i=this,t=f,l=f;return t=e,l=f,d=t["$start_with?"]('"'),(o=(n=d!==!1&&d!==f?t["$end_with?"]('"'):d)!==!1&&n!==f?n:(d=t["$start_with?"]("'"),d!==!1&&d!==f?t["$end_with?"]("'"):d))===f||o._isBoolean&&1!=o||(l="string",t=t["$[]"](u(1,-1,!0))),(o=t["$include?"]("{"))===f||o._isBoolean&&1!=o||(t=i.document.$sub_attributes(t)),l["$=="]("string")||(t=(o=t["$empty?"]())===f||o._isBoolean&&1!=o?(o=t.$strip()["$empty?"]())===f||o._isBoolean&&1!=o?t["$=="]("true")?!0:t["$=="]("false")?!1:(o=t["$include?"]("."))===f||o._isBoolean&&1!=o?t.$to_i():t.$to_f():" ":f),t},b["$include_processors?"]=function(){var e,o,n=this;return(e=n.include_processor_extensions["$nil?"]())===f||e._isBoolean&&1!=e?n.include_processor_extensions["$=="](!1)["$!"]():(o=n.document["$extensions?"](),(e=o!==!1&&o!==f?n.document.$extensions()["$include_processors?"]():o)===f||e._isBoolean&&1!=e?n.include_processor_extensions=!1:(n.include_processor_extensions=n.document.$extensions().$include_processors())["$!"]()["$!"]())},b.$to_s=function(){var e,o,n,d=this;return"#<"+d.$class()+"@"+d.$object_id()+" {path: "+d.path.$inspect()+", line #: "+d.lineno+", include depth: "+d.include_stack.$size()+", include stack: ["+(e=(o=d.include_stack).$map,e._p=(n=function(e){return n._s||this,null==e&&(e=f),e.$to_s()},n._s=d,n),e).call(o).$join(", ")+"]}>"},f&&"to_s"}(s,p.Reader)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass,t=e.hash2,l=e.range;return function(o){var u=d(o,"Asciidoctor"),s=(u._proto,u._scope);!function(o,d){function u(){}var s,p,r,y=u=i(o,d,"Section",u),a=y._proto,c=y._scope;return a.level=a.document=a.parent=a.number=a.title=a.numbered=a.blocks=f,y.$attr_accessor("index"),y.$attr_accessor("number"),y.$attr_accessor("sectname"),y.$attr_accessor("special"),y.$attr_accessor("numbered"),a.$initialize=s=function(o,n,d,i){var l,u,p=this;return s._p,null==o&&(o=f),null==n&&(n=f),null==d&&(d=!0),null==i&&(i=t([],{})),s._p=null,e.find_super_dispatcher(p,"initialize",s,null).apply(p,[o,"section",i]),p.level=n!==!1&&n!==f?n:function(){return o!==!1&&o!==f?o.$level()["$+"](1):1}(),p.numbered=(l=d!==!1&&d!==f)?p.level["$>"](0):l,p.special=(l=(u=o!==!1&&o!==f)?o.$context()["$=="]("section"):u,l!==!1&&l!==f?o.$special():l),p.index=0,p.number=1},e.defn(y,"$name",a.$title),a.$generate_id=function(){var e,o,n=this,d=f,i=f,t=f,u=f,s=f;if((e=n.document.$attributes()["$has_key?"]("sectids"))===f||e._isBoolean&&1!=e)return f;if(d=(e=n.document.$attributes()["$[]"]("idseparator"))!==!1&&e!==f?e:"_",i=(e=n.document.$attributes()["$[]"]("idprefix"))!==!1&&e!==f?e:"_",t=""+i+n.$title().$downcase().$gsub(c.InvalidSectionIdCharsRx,d).$tr_s(d,d).$chomp(d),o=i["$empty?"](),(e=o!==!1&&o!==f?t["$start_with?"](d):o)!==f&&(!e._isBoolean||1==e))for(t=t["$[]"](l(1,-1,!1));(o=t["$start_with?"](d))!==f&&(!o._isBoolean||1==o);)t=t["$[]"](l(1,-1,!1));for(u=t,s=c.Compliance.$unique_id_start_index();(o=n.document.$references()["$[]"]("ids")["$has_key?"](u))!==f&&(!o._isBoolean||1==o);)u=""+t+d+s,s=s["$+"](1);return u},a.$sectnum=function(e,o){var n,d,i,t,l=this;return null==e&&(e="."),null==o&&(o=f),(n=o)!==!1&&n!==f?n:o=function(){return o["$=="](!1)?"":e}(),t=l.level,i=t!==!1&&t!==f?l.level["$>"](1):t,d=i!==!1&&i!==f?l.parent:i,(n=d!==!1&&d!==f?l.parent.$context()["$=="]("section"):d)===f||n._isBoolean&&1!=n?""+l.number+o:""+l.parent.$sectnum(e)+l.number+o},a["$<<"]=p=function(o){var d=n.call(arguments,0),i=this,t=p._p;return p._p=null,e.find_super_dispatcher(i,"<<",p,t).apply(i,d),o.$context()["$=="]("section")?i.$assign_index(o):f},a.$to_s=r=function(){var o,d=n.call(arguments,0),i=this,t=r._p,l=f;return r._p=null,(o=i.title["$=="](f)["$!"]())===f||o._isBoolean&&1!=o?e.find_super_dispatcher(i,"to_s",r,t).apply(i,d):(l=function(){return(o=i.numbered)===f||o._isBoolean&&1!=o?i.title:""+i.$sectnum()+" "+i.title}(),"#<"+i.$class()+"@"+i.$object_id()+" {level: "+i.level+", title: "+l.$inspect()+", blocks: "+i.blocks.$size()+"}>")},f&&"to_s"}(u,s.AbstractBlock)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor");t._proto,t._scope,!function(o,n){function t(){}var l,u=t=d(o,n,"Stylesheets",t),s=u._proto,p=u._scope;return s.primary_stylesheet_data=s.coderay_stylesheet_data=s.pygments_stylesheet_data=f,e.cdecl(p,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(p,"DEFAULT_PYGMENTS_STYLE","default"),e.cdecl(p,"STYLESHEETS_DATA_PATH",(null==(l=e.Object._scope.File)?e.cm("File"):l).$join(p.DATA_PATH,"stylesheets")),u.__instance__=u.$new(),e.defs(u,"$instance",function(){var e=this;return null==e.__instance__&&(e.__instance__=f),e.__instance__}),s.$primary_stylesheet_name=function(){return p.DEFAULT_STYLESHEET_NAME},s.$primary_stylesheet_data=function(){var o,n,d=this;return(o=d.primary_stylesheet_data)!==!1&&o!==f?o:d.primary_stylesheet_data=(null==(n=e.Object._scope.IO)?e.cm("IO"):n).$read((null==(n=e.Object._scope.File)?e.cm("File"):n).$join(p.STYLESHEETS_DATA_PATH,"asciidoctor-default.css")).$chomp()},s.$embed_primary_stylesheet=function(){var e=this;return"<style>\n"+e.$primary_stylesheet_data()+"\n</style>"},s.$write_primary_stylesheet=function(o){var n,d,i,t,l=this;return(n=(d=null==(t=e.Object._scope.File)?e.cm("File"):t).$open,n._p=(i=function(e){var o=i._s||this;return null==e&&(e=f),e.$write(o.$primary_stylesheet_data())},i._s=l,i),n).call(d,(null==(t=e.Object._scope.File)?e.cm("File"):t).$join(o,l.$primary_stylesheet_name()),"w")},s.$coderay_stylesheet_name=function(){return"coderay-asciidoctor.css"},s.$coderay_stylesheet_data=function(){var o,n,d=this;return(o=d.coderay_stylesheet_data)!==!1&&o!==f?o:d.coderay_stylesheet_data=(null==(n=e.Object._scope.IO)?e.cm("IO"):n).$read((null==(n=e.Object._scope.File)?e.cm("File"):n).$join(p.STYLESHEETS_DATA_PATH,"coderay-asciidoctor.css")).$chomp()},s.$embed_coderay_stylesheet=function(){var e=this;return"<style>\n"+e.$coderay_stylesheet_data()+"\n</style>"},s.$write_coderay_stylesheet=function(o){var n,d,i,t,l=this;return(n=(d=null==(t=e.Object._scope.File)?e.cm("File"):t).$open,n._p=(i=function(e){var o=i._s||this;return null==e&&(e=f),e.$write(o.$coderay_stylesheet_data())},i._s=l,i),n).call(d,(null==(t=e.Object._scope.File)?e.cm("File"):t).$join(o,l.$coderay_stylesheet_name()),"w")},s.$pygments_stylesheet_name=function(e){var o;return null==e&&(e=f),(o=e)!==!1&&o!==f?o:e=p.DEFAULT_PYGMENTS_STYLE,"pygments-"+e+".css"},s.$pygments_stylesheet_data=function(e){var o,n=this;return null==e&&(e=f),(o=e)!==!1&&o!==f?o:e=p.DEFAULT_PYGMENTS_STYLE,(o=n.pygments_stylesheet_data)!==!1&&o!==f?o:n.pygments_stylesheet_data=n.$load_pygments()},s.$embed_pygments_stylesheet=function(e){var o=this;return null==e&&(e=f),"<style>\n"+o.$pygments_stylesheet_data(e)+"\n</style>"},s.$write_pygments_stylesheet=function(o,n){var d,i,t,l,u=this;return null==n&&(n=f),(d=(i=null==(l=e.Object._scope.File)?e.cm("File"):l).$open,d._p=(t=function(e){var o=t._s||this;return null==e&&(e=f),e.$write(o.$pygments_stylesheet_data(n))},t._s=u,t),d).call(i,(null==(l=e.Object._scope.File)?e.cm("File"):l).$join(o,u.$pygments_stylesheet_name(n)),"w")},s.$load_pygments=function(){var o;return((o=null==e.Object._scope.Pygments?f:"constant")===f||o._isBoolean&&1!=o)&&p.Helpers.$require_library("pygments","pygments.rb"),i([],{})},f&&"load_pygments"}(t,null)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass,t=e.hash2,l=e.range;return function(o){var u=d(o,"Asciidoctor"),s=(u._proto,u._scope);!function(o,n){function d(){}var l,u=d=i(o,n,"Table",d),s=u._proto,p=u._scope;return s.attributes=s.document=s.has_header_option=s.rows=f,function(o,f){function n(){}var d=n=i(o,f,"Rows",n),t=d._proto;return d._scope,d.$attr_accessor("head","foot","body"),t.$initialize=function(e,o,f){var n=this;return null==e&&(e=[]),null==o&&(o=[]),null==f&&(f=[]),n.head=e,n.foot=o,n.body=f},e.defn(d,"$[]",t.$send)}(u,null),e.cdecl(p,"DEFAULT_DATA_FORMAT","psv"),e.cdecl(p,"DATA_FORMATS",["psv","dsv","csv"]),e.cdecl(p,"DEFAULT_DELIMITERS",t(["psv","dsv","csv"],{psv:"|",dsv:":",csv:","})),e.cdecl(p,"TEXT_STYLES",t(["d","s","e","m","h","l","v","a"],{d:"none",s:"strong",e:"emphasis",m:"monospaced",h:"header",l:"literal",v:"verse",a:"asciidoc"})),e.cdecl(p,"ALIGNMENTS",t(["h","v"],{h:t(["<",">","^"],{"<":"left",">":"right","^":"center"}),v:t(["<",">","^"],{"<":"top",">":"bottom","^":"middle"})})),u.$attr_accessor("columns"),u.$attr_accessor("rows"),u.$attr_accessor("has_header_option"),s.$initialize=l=function(o,n){var d,i,t,u=this,s=(l._p,f),r=f;return l._p=null,e.find_super_dispatcher(u,"initialize",l,null).apply(u,[o,"table"]),u.rows=p.Rows.$new(),u.columns=[],u.has_header_option=n["$has_key?"]("header-option"),s=n["$[]"]("width"),r=s.$to_i().$abs(),(d=(i=(t=r["$=="](0))?s["$=="]("0")["$!"]():t)!==!1&&i!==f?i:r["$>"](100))===f||d._isBoolean&&1!=d||(r=100),u.attributes["$[]="]("tablepcwidth",r),(d=u.document.$attributes()["$has_key?"]("pagewidth"))===f||d._isBoolean&&1!=d?f:(d="tableabswidth",i=u.attributes,(t=i["$[]"](d))!==!1&&t!==f?t:i["$[]="](d,u.attributes["$[]"]("tablepcwidth").$to_f()["$/"](100)["$*"](u.document.$attributes()["$[]"]("pagewidth")).$round()))},s["$header_row?"]=function(){var e,o=this;
  return e=o.has_header_option,e!==!1&&e!==f?o.rows.$body()["$empty?"]():e},s.$create_columns=function(e){var o,n,d,i,t,l=this,u=f,s=f,r=f;return u=0,s=[],(o=(n=e).$each,o._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),u=u["$+"](e["$[]"]("width")),s["$<<"](p.Column.$new(o,s.$size(),e))},d._s=l,d),o).call(n),((o=s["$empty?"]())===f||o._isBoolean&&1!=o)&&(l.attributes["$[]="]("colcount",s.$size()),r=100["$/"](s.$size()).$floor(),(o=(i=s).$each,o._p=(t=function(e){return t._s||this,null==e&&(e=f),e.$assign_width(u,r)},t._s=l,t),o).call(i)),l.columns=s,f},s.$partition_header_footer=function(e){var o,n,d,i,t=this,l=f,u=f;return t.attributes["$[]="]("rowcount",t.rows.$body().$size()),l=t.rows.$body().$size(),(o=(n=l["$>"](0))?t.has_header_option:n)===f||o._isBoolean&&1!=o||(u=t.rows.$body().$shift(),l=l["$-"](1),(o=(n=u).$each,o._p=(d=function(e){return d._s||this,null==e&&(e=f),e["$style="](f)},d._s=t,d),o).call(n),t.rows["$head="]([u])),(o=(i=l["$>"](0))?e["$has_key?"]("footer-option"):i)===f||o._isBoolean&&1!=o||t.rows["$foot="]([t.rows.$body().$pop()]),f},f&&"partition_header_footer"}(u,s.AbstractBlock),function(o,n){function d(){}var l,u=d=i(o,n,"Column",d),s=u._proto;return u._scope,s.attributes=f,u.$attr_accessor("style"),s.$initialize=l=function(o,n,d){var i,u,s,p=this;return l._p,null==d&&(d=t([],{})),l._p=null,e.find_super_dispatcher(p,"initialize",l,null).apply(p,[o,"column"]),p.style=d["$[]"]("style"),d["$[]="]("colnumber",n["$+"](1)),i="width",u=d,(s=u["$[]"](i))!==!1&&s!==f?s:u["$[]="](i,1),i="halign",u=d,(s=u["$[]"](i))!==!1&&s!==f?s:u["$[]="](i,"left"),i="valign",u=d,(s=u["$[]"](i))!==!1&&s!==f?s:u["$[]="](i,"top"),p.$update_attributes(d)},e.defn(u,"$table",s.$parent),s.$assign_width=function(e,o){var n,d=this,i=f;return i=e["$>"](0)?d.attributes["$[]"]("width").$to_f()["$/"](e)["$*"](100).$floor():o,d.attributes["$[]="]("colpcwidth",i),(n=d.$parent().$attributes()["$has_key?"]("tableabswidth"))===f||n._isBoolean&&1!=n||d.attributes["$[]="]("colabswidth",i.$to_f()["$/"](100)["$*"](d.$parent().$attributes()["$[]"]("tableabswidth")).$round()),f},f&&"assign_width"}(s.Table,s.AbstractNode),function(o,d){function l(){}var u,s,p=l=i(o,d,"Cell",l),r=p._proto,y=p._scope;return r.style=r.document=r.text=r.inner_document=r.colspan=r.rowspan=r.attributes=f,p.$attr_accessor("style"),p.$attr_accessor("colspan"),p.$attr_accessor("rowspan"),e.defn(p,"$column",r.$parent),p.$attr_reader("inner_document"),r.$initialize=u=function(o,n,d,i){var l,s,p=this,r=(u._p,f),a=f,c=f,b=f;return null==d&&(d=t([],{})),null==i&&(i=f),u._p=null,e.find_super_dispatcher(p,"initialize",u,null).apply(p,[o,"cell"]),p.text=n,p.style=f,p.colspan=f,p.rowspan=f,o!==!1&&o!==f&&(p.style=o.$attributes()["$[]"]("style"),p.$update_attributes(o.$attributes())),d!==!1&&d!==f&&(p.colspan=d.$delete("colspan"),p.rowspan=d.$delete("rowspan"),(l=d["$has_key?"]("style"))===f||l._isBoolean&&1!=l||(p.style=d["$[]"]("style")),p.$update_attributes(d)),(l=(s=p.style["$=="]("asciidoc"))?o.$table()["$header_row?"]()["$!"]():s)===f||l._isBoolean&&1!=l?f:(r=p.document.$attributes().$delete("doctitle"),a=p.text.$split(y.EOL),((l=(s=a["$empty?"]())!==!1&&s!==f?s:a["$[]"](0)["$include?"]("::")["$!"]())===f||l._isBoolean&&1!=l)&&(c=a["$[]"](0),b=y.PreprocessorReader.$new(p.document,c).$readlines(),(l=b["$=="](c)["$!"]())===f||l._isBoolean&&1!=l||(a.$shift(),(l=a).$unshift.apply(l,[].concat(b)))),p.inner_document=y.Document.$new(a,t(["header_footer","parent","cursor"],{header_footer:!1,parent:p.document,cursor:i})),(s=r["$nil?"]())===f||s._isBoolean&&1!=s?p.document.$attributes()["$[]="]("doctitle",r):f)},r.$text=function(){var e=this;return e.$apply_normal_subs(e.text).$strip()},r.$content=function(){var e,o,n,d=this;return d.style["$=="]("asciidoc")?d.inner_document.$convert():(e=(o=d.$text().$split(y.BlankLineRx)).$map,e._p=(n=function(e){var o,d,i=n._s||this;return null==i.style&&(i.style=f),null==e&&(e=f),(o=(d=i.style["$!"]())!==!1&&d!==f?d:i.style["$=="]("header"))===f||o._isBoolean&&1!=o?y.Inline.$new(i.$parent(),"quoted",e,t(["type"],{type:i.style})).$convert():e},n._s=d,n),e).call(o)},r.$to_s=s=function(){var o,d=n.call(arguments,0),i=this,t=s._p;return s._p=null,""+e.find_super_dispatcher(i,"to_s",s,t).apply(i,d).$to_s()+" - [text: "+i.text+", colspan: "+((o=i.colspan)!==!1&&o!==f?o:1)+", rowspan: "+((o=i.rowspan)!==!1&&o!==f?o:1)+", attributes: "+i.attributes+"]"},f&&"to_s"}(s.Table,s.AbstractNode),function(e,o){function n(){}var d=n=i(e,o,"ParserContext",n),u=d._proto,s=d._scope;return u.format=u.delimiter=u.delimiter_re=u.buffer=u.cell_specs=u.cell_open=u.last_cursor=u.table=u.current_row=u.col_count=u.col_visits=u.active_rowspans=u.linenum=f,d.$attr_accessor("table"),d.$attr_accessor("format"),d.$attr_reader("col_count"),d.$attr_accessor("buffer"),d.$attr_reader("delimiter"),d.$attr_reader("delimiter_re"),u.$initialize=function(e,o,n){var d,i,l,u=this;return null==n&&(n=t([],{})),u.reader=e,u.table=o,u.last_cursor=e.$cursor(),(d=u.format=n["$[]"]("format"))===f||d._isBoolean&&1!=d?u.format=s.Table._scope.DEFAULT_DATA_FORMAT:((d=s.Table._scope.DATA_FORMATS["$include?"](u.format))===f||d._isBoolean&&1!=d)&&u.$raise("Illegal table format: "+u.format),u.delimiter=function(){return i=(l=u.format["$=="]("psv"))?n["$has_key?"]("separator")["$!"]():l,(d=i!==!1&&i!==f?o.$document()["$nested?"]():i)===f||d._isBoolean&&1!=d?(d=n["$[]"]("separator"))!==!1&&d!==f?d:s.Table._scope.DEFAULT_DELIMITERS["$[]"](u.format):"!"}(),u.delimiter_re=new RegExp(""+s.Regexp.$escape(u.delimiter)),u.col_count=function(){return(d=o.$columns()["$empty?"]())===f||d._isBoolean&&1!=d?o.$columns().$size():-1}(),u.buffer="",u.cell_specs=[],u.cell_open=!1,u.active_rowspans=[0],u.col_visits=0,u.current_row=[],u.linenum=-1},u["$starts_with_delimiter?"]=function(e){var o=this;return e["$start_with?"](o.delimiter)},u.$match_delimiter=function(e){var o=this;return o.delimiter_re.$match(e)},u.$skip_matched_delimiter=function(e,o){var n=this;return null==o&&(o=!1),n.buffer=""+n.buffer+function(){return o!==!1&&o!==f?e.$pre_match().$chop():e.$pre_match()}()+n.delimiter,e.$post_match()},u["$buffer_has_unclosed_quotes?"]=function(e){var o,n,d=this,i=f;return null==e&&(e=f),i=(""+d.buffer+e).$strip(),n=i["$start_with?"]('"'),o=n!==!1&&n!==f?i["$start_with?"]('""')["$!"]():n,o!==!1&&o!==f?i["$end_with?"]('"')["$!"]():o},u["$buffer_quoted?"]=function(){var e,o=this;return o.buffer=o.buffer.$lstrip(),e=o.buffer["$start_with?"]('"'),e!==!1&&e!==f?o.buffer["$start_with?"]('""')["$!"]():e},u.$take_cell_spec=function(){var e=this;return e.cell_specs.$shift()},u.$push_cell_spec=function(e){var o,n=this;return null==e&&(e=t([],{})),n.cell_specs["$<<"]((o=e)!==!1&&o!==f?o:t([],{})),f},u.$keep_cell_open=function(){var e=this;return e.cell_open=!0,f},u.$mark_cell_closed=function(){var e=this;return e.cell_open=!1,f},u["$cell_open?"]=function(){var e=this;return e.cell_open},u["$cell_closed?"]=function(){var e=this;return e.cell_open["$!"]()},u.$close_open_cell=function(e){var o,n=this;return null==e&&(e=t([],{})),n.$push_cell_spec(e),(o=n["$cell_open?"]())===f||o._isBoolean&&1!=o||n.$close_cell(!0),n.$advance(),f},u.$close_cell=function(e){var o,n,d,i=this,u=f,p=f,r=f;return null==e&&(e=!1),u=i.buffer.$strip(),i.buffer="",i.format["$=="]("psv")?(p=i.$take_cell_spec(),(o=p["$nil?"]())===f||o._isBoolean&&1!=o?(r=p.$fetch("repeatcol",1),p.$delete("repeatcol")):(i.$warn("asciidoctor: ERROR: "+i.last_cursor.$line_info()+": table missing leading separator, recovering automatically"),p=t([],{}),r=1)):(p=f,r=1,i.format["$=="]("csv")&&(n=u["$empty?"]()["$!"](),(o=n!==!1&&n!==f?u["$include?"]('"'):n)===f||o._isBoolean&&1!=o||(n=u["$start_with?"]('"'),(o=n!==!1&&n!==f?u["$end_with?"]('"'):n)===f||o._isBoolean&&1!=o||(u=u["$[]"](l(1,-1,!0)).$strip()),u=u.$tr_s('"','"')))),(o=(n=1).$upto,o._p=(d=function(o){var n,i,t,l,y,a,c=d._s||this,b=f,w=f,g=f;return null==c.col_count&&(c.col_count=f),null==c.table&&(c.table=f),null==c.current_row&&(c.current_row=f),null==c.last_cursor&&(c.last_cursor=f),null==c.reader&&(c.reader=f),null==c.col_visits&&(c.col_visits=f),null==c.linenum&&(c.linenum=f),null==o&&(o=f),c.col_count["$=="](-1)?(c.table.$columns()["$<<"](b=s.Table._scope.Column.$new(c.table,c.current_row.$size()["$+"](o)["$-"](1))),i=(t=p!==!1&&p!==f)?p["$has_key?"]("colspan"):t,(n=i!==!1&&i!==f?(w=p["$[]"]("colspan").$to_i()["$-"](1))["$>"](0):i)===f||n._isBoolean&&1!=n||(n=(i=w).$times,n._p=(l=function(e){var n=l._s||this;return null==n.table&&(n.table=f),null==n.current_row&&(n.current_row=f),null==e&&(e=f),n.table.$columns()["$<<"](s.Table._scope.Column.$new(n.table,n.current_row.$size()["$+"](o)["$+"](e)["$-"](1)))},l._s=c,l),n).call(i)):b=c.table.$columns()["$[]"](c.current_row.$size()),g=s.Table._scope.Cell.$new(b,u,p,c.last_cursor),c.last_cursor=c.reader.$cursor(),((n=(t=g.$rowspan()["$!"]())!==!1&&t!==f?t:g.$rowspan()["$=="](1))===f||n._isBoolean&&1!=n)&&c.$activate_rowspan(g.$rowspan(),(n=g.$colspan())!==!1&&n!==f?n:1),c.col_visits=c.col_visits["$+"]((n=g.$colspan())!==!1&&n!==f?n:1),c.current_row["$<<"](g),t=c["$end_of_row?"](),(n=t!==!1&&t!==f?(y=(a=c.col_count["$=="](-1)["$!"]())!==!1&&a!==f?a:c.linenum["$>"](0))!==!1&&y!==f?y:(a=e!==!1&&e!==f)?o["$=="](r):a:t)===f||n._isBoolean&&1!=n?f:c.$close_row()},d._s=i,d),o).call(n,r),i.cell_open=!1,f},u.$close_row=function(){var e,o,n,d=this;return d.table.$rows().$body()["$<<"](d.current_row),d.col_count["$=="](-1)&&(d.col_count=d.col_visits),d.col_visits=0,d.current_row=[],d.active_rowspans.$shift(),e=0,o=d.active_rowspans,(n=o["$[]"](e))!==!1&&n!==f?n:o["$[]="](e,0),f},u.$activate_rowspan=function(e,o){var n,d,i,t=this;return(n=(d=1..$upto(e["$-"](1))).$each,n._p=(i=function(e){var n,d=i._s||this;return null==d.active_rowspans&&(d.active_rowspans=f),null==e&&(e=f),d.active_rowspans["$[]="](e,((n=d.active_rowspans["$[]"](e))!==!1&&n!==f?n:0)["$+"](o))},i._s=t,i),n).call(d),f},u["$end_of_row?"]=function(){var e,o=this;return(e=o.col_count["$=="](-1))!==!1&&e!==f?e:o.$effective_col_visits()["$=="](o.col_count)},u.$effective_col_visits=function(){var e=this;return e.col_visits["$+"](e.active_rowspans["$[]"](0))},u.$advance=function(){var e=this;return e.linenum=e.linenum["$+"](1)},f&&"advance"}(s.Table,null)}(o)}(Opal),function(e){var o,f=e.top,n=e,d=e.nil,i=(e.breaker,e.slice,e.gvars),t=e.module,l=e.hash2,u=e.range,s=e.hash;return null==i[":"]&&(i[":"]=d),((o=null!=n.RUBY_ENGINE)===d||o._isBoolean&&1!=o)&&e.cdecl(n,"RUBY_ENGINE","unknown"),e.cdecl(n,"RUBY_ENGINE_OPAL",n.RUBY_ENGINE["$=="]("opal")),e.cdecl(n,"RUBY_ENGINE_JRUBY",n.RUBY_ENGINE["$=="]("jruby")),e.cdecl(n,"RUBY_MIN_VERSION_1_9",n.RUBY_VERSION["$>="]("1.9")),e.cdecl(n,"RUBY_MIN_VERSION_2",n.RUBY_VERSION["$>="]("2")),n.RUBY_ENGINE["$=="]("opal"),i[":"].$unshift(n.File.$dirname("asciidoctor")),function(o){var f,n,i,p=t(o,"Asciidoctor"),r=(p._proto,p._scope),y=d,a=d;e.cdecl(r,"RUBY_ENGINE",null==(f=e.Object._scope.RUBY_ENGINE)?e.cm("RUBY_ENGINE"):f),function(o){var f=t(o,"SafeMode"),n=(f._proto,f._scope);e.cdecl(n,"UNSAFE",0),e.cdecl(n,"SAFE",1),e.cdecl(n,"SERVER",10),e.cdecl(n,"SECURE",20)}(p),function(o){var f,n=t(o,"Compliance");n._proto,n._scope,n.keys=(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new(),function(e){return e._scope,e._proto,e.$attr("keys")}(n.$singleton_class()),e.defs(n,"$define",function(o,f){var n,i,t=this;return null==t.keys&&(t.keys=d),(n=(i=o["$=="]("keys"))!==!1&&i!==d?i:t["$respond_to?"](o))===d||n._isBoolean&&1!=n||t.$raise(null==(n=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):n,"illegal key name: "+o),t.$instance_variable_set("@"+o,f),function(e){return e._scope,e._proto,e}(t.$singleton_class()).$send("attr_accessor",o),t.keys["$<<"](o)}),n.$define("block_terminates_paragraph",!0),n.$define("strict_verbatim_paragraphs",!0),n.$define("underline_style_section_titles",!0),n.$define("unwrap_standalone_preamble",!0),n.$define("attribute_missing","skip"),n.$define("attribute_undefined","drop-line"),n.$define("shorthand_property_syntax",!0),n.$define("unique_id_start_index",2),n.$define("markdown_syntax",!0)}(p),e.cdecl(r,"ROOT_PATH",(null==(f=e.Object._scope.File)?e.cm("File"):f).$dirname((null==(f=e.Object._scope.File)?e.cm("File"):f).$dirname((null==(f=e.Object._scope.File)?e.cm("File"):f).$expand_path("asciidoctor")))),e.cdecl(r,"LIB_PATH",(null==(f=e.Object._scope.File)?e.cm("File"):f).$join(r.ROOT_PATH,"lib")),e.cdecl(r,"DATA_PATH",(null==(f=e.Object._scope.File)?e.cm("File"):f).$join(r.ROOT_PATH,"data"));try{e.cdecl(r,"USER_HOME",(null==(f=e.Object._scope.Dir)?e.cm("Dir"):f).$home())}catch(c){e.cdecl(r,"USER_HOME",(f=(null==(n=e.Object._scope.ENV)?e.cm("ENV"):n)["$[]"]("HOME"))!==!1&&f!==d?f:(null==(n=e.Object._scope.Dir)?e.cm("Dir"):n).$pwd())}e.cdecl(r,"COERCE_ENCODING",(f=(null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)["$!"](),f!==!1&&f!==d?null==(n=e.Object._scope.RUBY_MIN_VERSION_1_9)?e.cm("RUBY_MIN_VERSION_1_9"):n:f)),e.cdecl(r,"FORCE_ENCODING",(f=r.COERCE_ENCODING,f!==!1&&f!==d?(null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n).$default_external()["$=="]((null==(n=e.Object._scope.Encoding)?e.cm("Encoding"):n)._scope.UTF_8)["$!"]():f)),e.cdecl(r,"BOM_BYTES_UTF_8","ï»¿".$bytes().$to_a()),e.cdecl(r,"BOM_BYTES_UTF_16LE","ÿþ".$bytes().$to_a()),e.cdecl(r,"BOM_BYTES_UTF_16BE","þÿ".$bytes().$to_a()),e.cdecl(r,"FORCE_UNICODE_LINE_LENGTH",(null==(f=e.Object._scope.RUBY_MIN_VERSION_1_9)?e.cm("RUBY_MIN_VERSION_1_9"):f)["$!"]()),e.cdecl(r,"SUPPORTS_GSUB_RESULT_HASH",(f=null==(n=e.Object._scope.RUBY_MIN_VERSION_1_9)?e.cm("RUBY_MIN_VERSION_1_9"):n,f!==!1&&f!==d?(null==(n=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):n)["$!"]():f)),e.cdecl(r,"EOL","\n"),e.cdecl(r,"NULL","\x00"),e.cdecl(r,"TAB","	"),e.cdecl(r,"TAB_PATTERN",/\t/),e.cdecl(r,"DEFAULT_DOCTYPE","article"),e.cdecl(r,"DEFAULT_BACKEND","html5"),e.cdecl(r,"DEFAULT_STYLESHEET_KEYS",["","DEFAULT"].$to_set()),e.cdecl(r,"DEFAULT_STYLESHEET_NAME","asciidoctor.css"),e.cdecl(r,"BACKEND_ALIASES",l(["html","docbook"],{html:"html5",docbook:"docbook5"})),e.cdecl(r,"DEFAULT_PAGE_WIDTHS",l(["docbook"],{docbook:425})),e.cdecl(r,"DEFAULT_EXTENSIONS",l(["html","docbook","pdf","epub","asciidoc"],{html:".html",docbook:".xml",pdf:".pdf",epub:".epub",asciidoc:".adoc"})),e.cdecl(r,"ASCIIDOC_EXTENSIONS",l([".asciidoc",".adoc",".ad",".asc",".txt"],{".asciidoc":!0,".adoc":!0,".ad":!0,".asc":!0,".txt":!0})),e.cdecl(r,"SECTION_LEVELS",l(["=","-","~","^","+"],{"=":0,"-":1,"~":2,"^":3,"+":4})),e.cdecl(r,"ADMONITION_STYLES",["NOTE","TIP","IMPORTANT","WARNING","CAUTION"].$to_set()),e.cdecl(r,"PARAGRAPH_STYLES",["comment","example","literal","listing","normal","pass","quote","sidebar","source","verse","abstract","partintro"].$to_set()),e.cdecl(r,"VERBATIM_STYLES",["literal","listing","source","verse"].$to_set()),e.cdecl(r,"DELIMITED_BLOCKS",l(["--","----","....","====","****","____",'""',"++++","|===",",===",":===","!===","////","```"],{"--":["open",["comment","example","literal","listing","pass","quote","sidebar","source","verse","admonition","abstract","partintro"].$to_set()],"----":["listing",["literal","source"].$to_set()],"....":["literal",["listing","source"].$to_set()],"====":["example",["admonition"].$to_set()],"****":["sidebar",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],____:["quote",["verse"].$to_set()],'""':["quote",["verse"].$to_set()],"++++":["pass",["stem","latexmath","asciimath"].$to_set()],"|===":["table",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],",===":["table",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],":===":["table",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],"!===":["table",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],"////":["comment",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()],"```":["fenced_code",(null==(f=e.Object._scope.Set)?e.cm("Set"):f).$new()]})),e.cdecl(r,"DELIMITED_BLOCK_LEADERS",(f=(n=r.DELIMITED_BLOCKS.$keys()).$map,f._p=(i=function(e){return i._s||this,null==e&&(e=d),e["$[]"](u(0,1,!1))},i._s=p,i),f).call(n).$to_set()),e.cdecl(r,"LAYOUT_BREAK_LINES",l(["'","-","*","_","<"],{"'":"thematic_break","-":"thematic_break","*":"thematic_break",_:"thematic_break","<":"page_break"})),e.cdecl(r,"NESTABLE_LIST_CONTEXTS",["ulist","olist","dlist"]),e.cdecl(r,"ORDERED_LIST_STYLES",["arabic","loweralpha","lowerroman","upperalpha","upperroman"]),e.cdecl(r,"ORDERED_LIST_KEYWORDS",l(["loweralpha","lowerroman","upperalpha","upperroman"],{loweralpha:"a",lowerroman:"i",upperalpha:"A",upperroman:"I"})),e.cdecl(r,"LIST_CONTINUATION","+"),e.cdecl(r,"LINE_BREAK"," +"),e.cdecl(r,"LINE_CONTINUATION"," \\"),e.cdecl(r,"LINE_CONTINUATION_LEGACY"," +"),e.cdecl(r,"BLOCK_MATH_DELIMITERS",l(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\[","\\]"]})),e.cdecl(r,"INLINE_MATH_DELIMITERS",l(["asciimath","latexmath"],{asciimath:["\\$","\\$"],latexmath:["\\(","\\)"]})),e.cdecl(r,"FLEXIBLE_ATTRIBUTES",["sectnums"]),r.RUBY_ENGINE["$=="]("opal")&&(e.cdecl(r,"CC_ALPHA","a-zA-Z"),e.cdecl(r,"CG_ALPHA","[a-zA-Z]"),e.cdecl(r,"CC_ALNUM","a-zA-Z0-9"),e.cdecl(r,"CG_ALNUM","[a-zA-Z0-9]"),e.cdecl(r,"CG_BLANK","[ \\t]"),e.cdecl(r,"CC_EOL","(?=\\n|$)"),e.cdecl(r,"CG_GRAPH","[\\x21-\\x7E]"),e.cdecl(r,"CC_ALL","[\\s\\S]"),e.cdecl(r,"CC_WORD","a-zA-Z0-9_"),e.cdecl(r,"CG_WORD","[a-zA-Z0-9_]")),e.cdecl(r,"AuthorInfoLineRx",new RegExp("^("+r.CG_WORD+"["+r.CC_WORD+"\\-'.]*)(?: +("+r.CG_WORD+"["+r.CC_WORD+"\\-'.]*))?(?: +("+r.CG_WORD+"["+r.CC_WORD+"\\-'.]*))?(?: +<([^>]+)>)?$")),e.cdecl(r,"RevisionInfoLineRx",/^(?:\D*(.*?),)?(?:\s*(?!:)(.*?))(?:\s*(?!^):\s*(.*))?$/),e.cdecl(r,"ManpageTitleVolnumRx",/^(.*)\((.*)\)$/),e.cdecl(r,"ManpageNamePurposeRx",new RegExp("^(.*?)"+r.CG_BLANK+"+-"+r.CG_BLANK+"+(.*)$")),e.cdecl(r,"ConditionalDirectiveRx",/^\\?(ifdef|ifndef|ifeval|endif)::(\S*?(?:([,\+])\S+?)?)\[(.+)?\]$/),e.cdecl(r,"EvalExpressionRx",new RegExp("^(\\S.*?)"+r.CG_BLANK+"*(==|!=|<=|>=|<|>)"+r.CG_BLANK+"*(\\S.*)$")),e.cdecl(r,"IncludeDirectiveRx",/^\\?include::([^\[]+)\[(.*?)\]$/),e.cdecl(r,"TagDirectiveRx",/\b(?:tag|end)::\S+\[\]$/),e.cdecl(r,"AttributeEntryRx",new RegExp("^:(!?\\w.*?):(?:"+r.CG_BLANK+"+(.*))?$")),e.cdecl(r,"InvalidAttributeNameCharsRx",/[^\w\-]/),e.cdecl(r,"AttributeEntryPassMacroRx",/^pass:([a-z,]*)\[(.*)\]$/),e.cdecl(r,"AttributeReferenceRx",/(\\)?\{((set|counter2?):.+?|\w+(?:[\-]\w+)*)(\\)?\}/),e.cdecl(r,"BlockAnchorRx",new RegExp("^\\[\\[(?:|(["+r.CC_ALPHA+":_]["+r.CC_WORD+":.-]*)(?:,"+r.CG_BLANK+"*(\\S.*))?)\\]\\]$")),e.cdecl(r,"BlockAttributeListRx",new RegExp("^\\[(|"+r.CG_BLANK+"*["+r.CC_WORD+"\\{,.#\"'%].*)\\]$")),e.cdecl(r,"BlockAttributeLineRx",new RegExp("^\\[(|"+r.CG_BLANK+"*["+r.CC_WORD+"\\{,.#\"'%].*|\\[(?:|["+r.CC_ALPHA+":_]["+r.CC_WORD+":.-]*(?:,"+r.CG_BLANK+"*\\S.*)?)\\])\\]$")),e.cdecl(r,"BlockTitleRx",/^\.([^\s.].*)$/),e.cdecl(r,"AdmonitionParagraphRx",new RegExp("^("+r.ADMONITION_STYLES.$to_a()["$*"]("|")+"):"+r.CG_BLANK)),e.cdecl(r,"LiteralParagraphRx",new RegExp("^("+r.CG_BLANK+"+.*)$")),e.cdecl(r,"CommentBlockRx",/^\/{4,}$/),e.cdecl(r,"CommentLineRx",/^\/\/(?:[^\/]|$)/),e.cdecl(r,"AtxSectionRx",new RegExp("^((?:=|#){1,6})"+r.CG_BLANK+"+(\\S.*?)(?:"+r.CG_BLANK+"+\\1)?$")),e.cdecl(r,"SetextSectionTitleRx",new RegExp("^((?=.*"+r.CG_WORD+"+.*)[^.].*?)$")),e.cdecl(r,"SetextSectionLineRx",/^(?:=|-|~|\^|\+)+$/),e.cdecl(r,"InlineSectionAnchorRx",new RegExp("^(.*?)"+r.CG_BLANK+"+(\\\\)?\\[\\[(["+r.CC_ALPHA+":_]["+r.CC_WORD+":.-]*)(?:,"+r.CG_BLANK+"*(\\S.*?))?\\]\\]$")),e.cdecl(r,"InvalidSectionIdCharsRx",new RegExp("&(?:[a-zA-Z]{2,}|#\\d{2,5}|#x[a-fA-F0-9]{2,4});|[^"+r.CC_WORD+"]+?")),e.cdecl(r,"FloatingTitleStyleRx",/^(?:float|discrete)\b/),e.cdecl(r,"AnyListRx",new RegExp("^(?:<?\\d+>"+r.CG_BLANK+"+"+r.CG_GRAPH+"|"+r.CG_BLANK+"*(?:-|(?:\\*|\\.){1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+r.CG_BLANK+"+"+r.CG_GRAPH+"|"+r.CG_BLANK+"*.*?(?::{2,4}|;;)(?:"+r.CG_BLANK+"+"+r.CG_GRAPH+"|$))")),e.cdecl(r,"UnorderedListRx",new RegExp("^"+r.CG_BLANK+"*(-|\\*{1,5})"+r.CG_BLANK+"+(.*)$")),e.cdecl(r,"OrderedListRx",new RegExp("^"+r.CG_BLANK+"*(\\.{1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))"+r.CG_BLANK+"+(.*)$")),e.cdecl(r,"OrderedListMarkerRxMap",l(["arabic","loweralpha","lowerroman","upperalpha","upperroman"],{arabic:/\d+[.>]/,loweralpha:/[a-z]\./,lowerroman:/[ivx]+\)/,upperalpha:/[A-Z]\./,upperroman:/[IVX]+\)/})),e.cdecl(r,"DefinitionListRx",new RegExp("^(?!\\/\\/)"+r.CG_BLANK+"*(.*?)(:{2,4}|;;)(?:"+r.CG_BLANK+"+(.*))?$")),e.cdecl(r,"DefinitionListSiblingRx",l(["::",":::","::::",";;"],{"::":new RegExp("^(?!\\/\\/)"+r.CG_BLANK+"*((?:.*[^:])?)(::)(?:"+r.CG_BLANK+"+(.*))?$"),":::":new RegExp("^(?!\\/\\/)"+r.CG_BLANK+"*((?:.*[^:])?)(:::)(?:"+r.CG_BLANK+"+(.*))?$"),"::::":new RegExp("^(?!\\/\\/)"+r.CG_BLANK+"*((?:.*[^:])?)(::::)(?:"+r.CG_BLANK+"+(.*))?$"),";;":new RegExp("^(?!\\/\\/)"+r.CG_BLANK+"*(.*)(;;)(?:"+r.CG_BLANK+"+(.*))?$")})),e.cdecl(r,"CalloutListRx",new RegExp("^<?(\\d+)>"+r.CG_BLANK+"+(.*)")),e.cdecl(r,"CalloutExtractRx",/(?:(?:\/\/|#|--|;;) ?)?(\\)?<!?(--|)(\d+)\2>(?=(?: ?\\?<!?\2\d+\2>)*$)/),e.cdecl(r,"CalloutExtractRxt","(\\\\)?<()(\\d+)>(?=(?: ?\\\\?<\\d+>)*$)"),e.cdecl(r,"CalloutQuickScanRx",new RegExp("\\\\?<!?(--|)(\\d+)\\1>(?=(?: ?\\\\?<!?\\1\\d+\\1>)*"+r.CC_EOL+")")),e.cdecl(r,"CalloutSourceRx",new RegExp("(?:(?:\\/\\/|#|--|;;) ?)?(\\\\)?&lt;!?(--|)(\\d+)\\2&gt;(?=(?: ?\\\\?&lt;!?\\2\\d+\\2&gt;)*"+r.CC_EOL+")")),e.cdecl(r,"CalloutSourceRxt","(\\\\)?&lt;()(\\d+)&gt;(?=(?: ?\\\\?&lt;\\d+&gt;)*"+r.CC_EOL+")"),e.cdecl(r,"ListRxMap",l(["ulist","olist","dlist","colist"],{ulist:r.UnorderedListRx,olist:r.OrderedListRx,dlist:r.DefinitionListRx,colist:r.CalloutListRx})),e.cdecl(r,"ColumnSpecRx",/^(?:(\d+)\*)?([<^>](?:\.[<^>]?)?|(?:[<^>]?\.)?[<^>])?(\d+%?)?([a-z])?$/),e.cdecl(r,"CellSpecStartRx",new RegExp("^"+r.CG_BLANK+"*(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(r,"CellSpecEndRx",new RegExp(""+r.CG_BLANK+"+(?:(\\d+(?:\\.\\d*)?|(?:\\d*\\.)?\\d+)([*+]))?([<^>](?:\\.[<^>]?)?|(?:[<^>]?\\.)?[<^>])?([a-z])?$")),e.cdecl(r,"GenericBlockMacroRx",new RegExp("^("+r.CG_WORD+"+)::(\\S*?)\\[((?:\\\\\\]|[^\\]])*?)\\]$")),e.cdecl(r,"MediaBlockMacroRx",/^(image|video|audio)::(\S+?)\[((?:\\\]|[^\]])*?)\]$/),e.cdecl(r,"TocBlockMacroRx",/^toc::\[(.*?)\]$/),e.cdecl(r,"InlineAnchorRx",new RegExp("\\\\?(?:\\[\\[(["+r.CC_ALPHA+":_]["+r.CC_WORD+":.-]*)(?:,"+r.CG_BLANK+"*(\\S.*?))?\\]\\]|anchor:(\\S+)\\[(.*?[^\\\\])?\\])")),e.cdecl(r,"InlineBiblioAnchorRx",new RegExp("\\\\?\\[\\[\\[(["+r.CC_WORD+":]["+r.CC_WORD+":.-]*?)\\]\\]\\]")),e.cdecl(r,"EmailInlineMacroRx",new RegExp("([\\\\>:\\/])?"+r.CG_WORD+"["+r.CC_WORD+".%+-]*@"+r.CG_ALNUM+"["+r.CC_ALNUM+".-]*\\."+r.CG_ALPHA+"{2,4}\\b")),e.cdecl(r,"FootnoteInlineMacroRx",new RegExp("\\\\?(footnote(?:ref)?):\\[("+r.CC_ALL+"*?[^\\\\])\\]")),e.cdecl(r,"ImageInlineMacroRx",/\\?(?:image|icon):([^:\[][^\[]*)\[((?:\\\]|[^\]])*?)\]/),e.cdecl(r,"IndextermInlineMacroRx",new RegExp("\\\\?(?:(indexterm2?):\\[("+r.CC_ALL+"*?[^\\\\])\\]|\\(\\(("+r.CC_ALL+"+?)\\)\\)(?!\\)))")),e.cdecl(r,"KbdBtnInlineMacroRx",/\\?(?:kbd|btn):\[((?:\\\]|[^\]])+?)\]/),e.cdecl(r,"KbdDelimiterRx",new RegExp("(?:\\+|,)(?="+r.CG_BLANK+"*[^\\1])")),e.cdecl(r,"LinkInlineRx",/(^|link:|&lt;|[\s>\(\)\[\];])(\\?(?:https?|file|ftp|irc):\/\/[^\s\[\]<]*[^\s.,\[\]<])(?:\[((?:\\\]|[^\]])*?)\])?/),e.cdecl(r,"LinkInlineMacroRx",/\\?(?:link|mailto):([^\s\[]+)(?:\[((?:\\\]|[^\]])*?)\])/),e.cdecl(r,"StemInlineMacroRx",new RegExp("\\\\?(stem|(?:latex|ascii)math):([a-z,]*)\\[("+r.CC_ALL+"*?[^\\\\])\\]")),e.cdecl(r,"MenuInlineMacroRx",new RegExp("\\\\?menu:("+r.CG_WORD+"|"+r.CG_WORD+".*?\\S)\\["+r.CG_BLANK+"*(.+?)?\\]")),e.cdecl(r,"MenuInlineRx",new RegExp('\\\\?"('+r.CG_WORD+'[^"]*?'+r.CG_BLANK+"*&gt;"+r.CG_BLANK+'*[^" \\t][^"]*)"')),e.cdecl(r,"PassInlineRx",s(!1,["+","`",new RegExp("(^|[^"+r.CC_WORD+";:])(?:\\[([^\\]]+?)\\])?(\\\\?(\\+|`)(\\S|\\S"+r.CC_ALL+"*?\\S)\\4)(?!"+r.CG_WORD+")")],!0,["`",d,new RegExp("(^|[^`"+r.CC_WORD+"])(?:\\[([^\\]]+?)\\])?(\\\\?(`)([^`\\s]|[^`\\s]"+r.CC_ALL+"*?\\S)\\4)(?![`"+r.CC_WORD+"])")])),e.cdecl(r,"PassInlineMacroRx",new RegExp("(?:(?:(\\\\?)\\[([^\\]]+?)\\])?(\\\\{0,2})(\\+{2,3}|\\${2})("+r.CC_ALL+"*?)\\4|(\\\\?)pass:([a-z,]*)\\[("+r.CC_ALL+"*?[^\\\\])\\])")),e.cdecl(r,"XrefInlineMacroRx",new RegExp("\\\\?(?:&lt;&lt;(["+r.CC_WORD+'":]'+r.CC_ALL+"*?)&gt;&gt;|xref:(["+r.CC_WORD+'":]'+r.CC_ALL+"*?)\\[("+r.CC_ALL+"*?)\\])")),r.RUBY_ENGINE["$=="]("opal")&&e.cdecl(r,"LineBreakRx",/^(.*)[ \t]\+$/m),e.cdecl(r,"LayoutBreakLineRx",/^('|<){3,}$/),e.cdecl(r,"LayoutBreakLinePlusRx",/^(?:'|<){3,}$|^ {0,3}([-\*_])( *)\1\2\1$/),e.cdecl(r,"BlankLineRx",new RegExp("^"+r.CG_BLANK+"*\\n")),e.cdecl(r,"DataDelimiterRx",/,|;/),e.cdecl(r,"DigitsRx",/^\d+$/),e.cdecl(r,"DoubleQuotedRx",/^("|)(.*)\1$/),e.cdecl(r,"DoubleQuotedMultiRx",new RegExp('^("|)('+r.CC_ALL+"*)\\1$")),e.cdecl(r,"TrailingDigitsRx",/\d+$/),e.cdecl(r,"EscapedSpaceRx",new RegExp("\\\\("+r.CG_BLANK+")")),e.cdecl(r,"SpaceDelimiterRx",new RegExp("([^\\\\])"+r.CG_BLANK+"+")),e.cdecl(r,"SubModifierSniffRx",/[+-]/),e.cdecl(r,"UnicodeCharScanRx",function(){return r.RUBY_ENGINE["$=="]("opal")?d:d}()),e.cdecl(r,"UriSniffRx",new RegExp("^"+r.CG_ALPHA+"["+r.CC_ALNUM+".+-]+:/{0,2}")),e.cdecl(r,"UriTerminator",/[);:]$/),e.cdecl(r,"XmlSanitizeRx",/<[^>]+>/),e.cdecl(r,"INTRINSIC_ATTRIBUTES",l(["startsb","endsb","vbar","caret","asterisk","tilde","plus","backslash","backtick","blank","empty","sp","two-colons","two-semicolons","nbsp","deg","zwsp","quot","apos","lsquo","rsquo","ldquo","rdquo","wj","brvbar","cpp","amp","lt","gt"],{startsb:"[",endsb:"]",vbar:"|",caret:"^",asterisk:"*",tilde:"~",plus:"&#43;",backslash:"\\",backtick:"`",blank:"",empty:"",sp:" ","two-colons":"::","two-semicolons":";;",nbsp:"&#160;",deg:"&#176;",zwsp:"&#8203;",quot:"&#34;",apos:"&#39;",lsquo:"&#8216;",rsquo:"&#8217;",ldquo:"&#8220;",rdquo:"&#8221;",wj:"&#8288;",brvbar:"&#166;",cpp:"C++",amp:"&",lt:"<",gt:">"})),y=[["strong","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\*\\*("+r.CC_ALL+"+?)\\*\\*")],["strong","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?\\*(\\S|\\S"+r.CC_ALL+"*?\\S)\\*(?!"+r.CG_WORD+")")],["double","constrained",new RegExp("(^|[^"+r.CC_WORD+';:}])(?:\\[([^\\]]+?)\\])?"`(\\S|\\S'+r.CC_ALL+'*?\\S)`"(?!'+r.CG_WORD+")")],["single","constrained",new RegExp("(^|[^"+r.CC_WORD+";:`}])(?:\\[([^\\]]+?)\\])?'`(\\S|\\S"+r.CC_ALL+"*?\\S)`'(?!"+r.CG_WORD+")")],["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?``("+r.CC_ALL+"+?)``")],["monospaced","constrained",new RegExp("(^|[^"+r.CC_WORD+";:\"'`}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+r.CC_ALL+"*?\\S)`(?!["+r.CC_WORD+"\"'`])")],["emphasis","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?__("+r.CC_ALL+"+?)__")],["emphasis","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?_(\\S|\\S"+r.CC_ALL+"*?\\S)_(?!"+r.CG_WORD+")")],["mark","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?##("+r.CC_ALL+"+?)##")],["mark","constrained",new RegExp("(^|[^"+r.CC_WORD+"&;:}])(?:\\[([^\\]]+?)\\])?#(\\S|\\S"+r.CC_ALL+"*?\\S)#(?!"+r.CG_WORD+")")],["superscript","unconstrained",/\\?(?:\[([^\]]+?)\])?\^(\S+?)\^/],["subscript","unconstrained",/\\?(?:\[([^\]]+?)\])?~(\S+?)~/]],a=y.$dup(),a["$[]="](2,["double","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?``(\\S|\\S"+r.CC_ALL+"*?\\S)''(?!"+r.CG_WORD+")")]),a["$[]="](3,["single","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?`(\\S|\\S"+r.CC_ALL+"*?\\S)'(?!"+r.CG_WORD+")")]),a["$[]="](4,["monospaced","unconstrained",new RegExp("\\\\?(?:\\[([^\\]]+?)\\])?\\+\\+("+r.CC_ALL+"+?)\\+\\+")]),a["$[]="](5,["monospaced","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?\\+(\\S|\\S"+r.CC_ALL+"*?\\S)\\+(?!"+r.CG_WORD+")")]),a.$insert(3,["emphasis","constrained",new RegExp("(^|[^"+r.CC_WORD+";:}])(?:\\[([^\\]]+?)\\])?'(\\S|\\S"+r.CC_ALL+"*?\\S)'(?!"+r.CG_WORD+")")]),e.cdecl(r,"QUOTE_SUBS",s(!1,y,!0,a)),y=d,a=d,e.cdecl(r,"REPLACEMENTS",[[/\\?\(C\)/,"&#169;","none"],[/\\?\(R\)/,"&#174;","none"],[/\\?\(TM\)/,"&#8482;","none"],[/(^|\n| |\\)--( |\n|$)/,"&#8201;&#8212;&#8201;","none"],[new RegExp("("+r.CG_WORD+")\\\\?--(?="+r.CG_WORD+")"),"&#8212;&#8203;","leading"],[/\\?\.\.\./,"&#8230;&#8203;","leading"],[/\\?`'/,"&#8217;","none"],[new RegExp("("+r.CG_ALNUM+")\\\\?'(?="+r.CG_ALPHA+")"),"&#8217;","leading"],[/\\?-&gt;/,"&#8594;","none"],[/\\?=&gt;/,"&#8658;","none"],[/\\?&lt;-/,"&#8592;","none"],[/\\?&lt;=/,"&#8656;","none"],[/\\?(&)amp;((?:[a-zA-Z]+|#\d{2,5}|#x[a-fA-F0-9]{2,4});)/,"","bounding"]]),function(o){var f=o._scope;return o._proto,o._proto.$load=function(o,n){var i,t,u,s,p,r,y,a,c=this,b=d,w=d,g=d,m=d,x=d,j=d,k=d,v=d,P=d,h=d,q=d,z=d;null==n&&(n=l([],{}));try{if(n=n.$dup(),(i=b=n["$[]"]("timings"))===d||i._isBoolean&&1!=i||b.$start("read"),w=n["$[]="]("attributes",function(){return(i=(g=n["$[]"]("attributes"))["$!"]())===d||i._isBoolean&&1!=i?(i=(t=(null==(u=e.Object._scope.Hash)?e.cm("Hash"):u)["$==="](g))!==!1&&t!==d?t:(u=null==(s=e.Object._scope.RUBY_ENGINE_JRUBY)?e.cm("RUBY_ENGINE_JRUBY"):s,u!==!1&&u!==d?(null==(s=e.Object._scope.Java)?e.cm("Java"):s)._scope.JavaUtil._scope.Map["$==="](g):u))===d||i._isBoolean&&1!=i?(i=(null==(t=e.Object._scope.Array)?e.cm("Array"):t)["$==="](g))===d||i._isBoolean&&1!=i?(i=(null==(u=e.Object._scope.String)?e.cm("String"):u)["$==="](g))===d||i._isBoolean&&1!=i?(s=g["$respond_to?"]("keys"),(i=s!==!1&&s!==d?g["$respond_to?"]("[]"):s)===d||i._isBoolean&&1!=i?c.$raise(null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i,"illegal type for attributes option: "+g.$class().$ancestors()):(x=g,g=l([],{}),(i=(s=x.$keys()).$each,i._p=(y=function(e){return y._s||this,null==e&&(e=d),g["$[]="](e,x["$[]"](e))},y._s=c,y),i).call(s),g)):(m=function(){return(i=null==(u=e.Object._scope.RUBY_ENGINE_OPAL)?e.cm("RUBY_ENGINE_OPAL"):u)===d||i._isBoolean&&1!=i?"\\1":"$1"}(),g=g.$gsub(f.SpaceDelimiterRx,""+m+f.NULL).$gsub(f.EscapedSpaceRx,m),(i=(u=g.$split(f.NULL)).$inject,i._p=(r=function(o,f){var n,i=(r._s||this,d),t=d;return null==o&&(o=d),null==f&&(f=d),n=e.to_ary(f.$split("=",2)),i=null==n[0]?d:n[0],t=null==n[1]?d:n[1],o["$[]="](i,(n=t)!==!1&&n!==d?n:""),o},r._s=c,r),i).call(u,l([],{}))):(i=(t=g).$inject,i._p=(p=function(o,f){var n,i=(p._s||this,d),t=d;return null==o&&(o=d),null==f&&(f=d),n=e.to_ary(f.$split("=",2)),i=null==n[0]?d:n[0],t=null==n[1]?d:n[1],o["$[]="](i,(n=t)!==!1&&n!==d?n:""),o},p._s=c,p),i).call(t,l([],{})):g.$dup():l([],{})}()),j=d,(i=(null==(a=e.Object._scope.File)?e.cm("File"):a)["$==="](o))===d||i._isBoolean&&1!=i)if((i=o["$respond_to?"]("readlines"))===d||i._isBoolean&&1!=i)(i=(null==(a=e.Object._scope.String)?e.cm("String"):a)["$==="](o))===d||i._isBoolean&&1!=i?(i=(null==(a=e.Object._scope.Array)?e.cm("Array"):a)["$==="](o))===d||i._isBoolean&&1!=i?c.$raise(null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i,"unsupported input type: "+o.$class()):j=o.$dup():j=o.$lines().$entries();else{try{o.$rewind()}catch(A){}j=o.$readlines()}else k=(null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path(o.$path()),v=o.$mtime(),j=o.$readlines(),w["$[]="]("docfile",k),w["$[]="]("docdir",(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(k)),w["$[]="]("docname",(null==(i=e.Object._scope.File)?e.cm("File"):i).$basename(k,(null==(i=e.Object._scope.File)?e.cm("File"):i).$extname(k))),w["$[]="]("docdate",P=v.$strftime("%Y-%m-%d")),w["$[]="]("doctime",h=v.$strftime("%H:%M:%S %Z")),w["$[]="]("docdatetime",""+P+" "+h);return b!==!1&&b!==d&&(b.$record("read"),b.$start("parse")),q=n["$[]"]("parse")["$=="](!1)?f.Document.$new(j,n):f.Document.$new(j,n).$parse(),b!==!1&&b!==d&&b.$record("parse"),q}catch(A){return z=A,c.$raise(z.$class(),"asciidoctor: FAILED: "+w.$fetch("docfile","<stdin>")+": Failed to parse source, "+z.$message())}},o._proto.$load_file=function(o,f){var n,i=this;return null==f&&(f=l([],{})),i.$load((null==(n=e.Object._scope.File)?e.cm("File"):n).$new((n=o)!==!1&&n!==d?n:""),f)},o._proto.$convert=function(o,n){var i,t,u,s,p,r,y=this,a=d,c=d,b=d,w=d,g=d,m=d,x=d,j=d,k=d,v=d,P=d,h=d,q=d,z=d,A=d,B=d,C=d,D=d,E=d,F=d,G=d,H=d,I=d,J=d,K=d;
  if(null==n&&(n=l([],{})),n=n.$dup(),a=n.$delete("to_file"),c=n.$delete("to_dir"),b=(i=n.$delete("mkdirs"))!==!1&&i!==d?i:!1,w=n["$[]"]("timings"),g=a,(!0)["$==="](g)||d["$==="](g))i=c["$!"](),m=i!==!1&&i!==d?(null==(t=e.Object._scope.File)?e.cm("File"):t)["$==="](o):i,x=!1,j=c,a=d;else if((!1)["$==="](g))m=!1,x=!1,j=!1,a=d;else{if("/dev/null"["$==="](g))return y.$load(o,n);m=!1,x=a["$respond_to?"]("write"),j=function(){return x!==!1&&x!==d?!1:a}()}return((i=n["$key?"]("header_footer"))===d||i._isBoolean&&1!=i)&&((i=(t=m)!==!1&&t!==d?t:j)===d||i._isBoolean&&1!=i||n["$[]="]("header_footer",!0)),m!==!1&&m!==d?(k=(null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path(o.$path()),n["$[]="]("to_dir",v=(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(k))):j!==!1&&j!==d?c!==!1&&c!==d?a!==!1&&a!==d?n["$[]="]("to_dir",(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname((null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path((null==(i=e.Object._scope.File)?e.cm("File"):i).$join(c,a)))):n["$[]="]("to_dir",(null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path(c)):a!==!1&&a!==d&&n["$[]="]("to_dir",(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname((null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path(a))):n["$[]="]("to_dir",d),P=y.$load(o,n),m!==!1&&m!==d?(h=(null==(i=e.Object._scope.File)?e.cm("File"):i).$join(v,""+P.$attributes()["$[]"]("docname")+P.$attributes()["$[]"]("outfilesuffix")),h["$=="](k)&&y.$raise(null==(i=e.Object._scope.IOError)?e.cm("IOError"):i,"input file and output file cannot be the same: "+h)):j!==!1&&j!==d?(q=function(){return(null==(i=e.Object._scope.File)?e.cm("File"):i).$expand_path((i=n["$has_key?"]("base_dir"))===d||i._isBoolean&&1!=i?(null==(i=e.Object._scope.Dir)?e.cm("Dir"):i).$pwd():n["$[]"]("base_dir"))}(),z=function(){return P.$safe()["$>="](f.SafeMode._scope.SAFE)?q:d}(),c!==!1&&c!==d?(v=P.$normalize_system_path(c,q,z,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),a!==!1&&a!==d?(h=P.$normalize_system_path(a,v,d,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),v=(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(h)):h=(null==(i=e.Object._scope.File)?e.cm("File"):i).$join(v,""+P.$attributes()["$[]"]("docname")+P.$attributes()["$[]"]("outfilesuffix"))):a!==!1&&a!==d&&(h=P.$normalize_system_path(a,q,z,l(["target_name","recover"],{target_name:"to_dir",recover:!1})),v=(null==(i=e.Object._scope.File)?e.cm("File"):i).$dirname(h)),((i=(null==(t=e.Object._scope.File)?e.cm("File"):t)["$directory?"](v))===d||i._isBoolean&&1!=i)&&(b!==!1&&b!==d?(null==(i=e.Object._scope.FileUtils)?e.cm("FileUtils"):i).$mkdir_p(v):y.$raise(null==(i=e.Object._scope.IOError)?e.cm("IOError"):i,"target directory does not exist: "+c))):(h=a,v=d),w!==!1&&w!==d&&w.$start("convert"),A=function(){return(i=(t=h!==!1&&h!==d)?x["$!"]():t)===d||i._isBoolean&&1!=i?l([],{}):l(["outfile","outdir"],{outfile:h,outdir:v})}(),B=P.$convert(A),w!==!1&&w!==d&&w.$record("convert"),h!==!1&&h!==d?(w!==!1&&w!==d&&w.$start("write"),P.$write(B,h),w!==!1&&w!==d&&w.$record("write"),p=x["$!"](),s=p!==!1&&p!==d?P.$safe()["$<"](f.SafeMode._scope.SECURE):p,u=s!==!1&&s!==d?P["$attr?"]("basebackend-html"):s,t=u!==!1&&u!==d?P["$attr?"]("linkcss"):u,(i=t!==!1&&t!==d?P["$attr?"]("copycss"):t)===d||i._isBoolean&&1!=i||(C=f.DEFAULT_STYLESHEET_KEYS["$include?"](D=P.$attr("stylesheet")),i=C["$!"](),E=i!==!1&&i!==d?D["$nil_or_empty?"]()["$!"]():i,i=P["$attr?"]("source-highlighter","coderay"),F=i!==!1&&i!==d?P.$attr("coderay-css","class")["$=="]("class"):i,i=P["$attr?"]("source-highlighter","pygments"),G=i!==!1&&i!==d?P.$attr("pygments-css","class")["$=="]("class"):i,(i=(t=(u=(s=C)!==!1&&s!==d?s:E)!==!1&&u!==d?u:F)!==!1&&t!==d?t:G)===d||i._isBoolean&&1!=i||(H=P.$normalize_system_path(P.$attr("stylesdir"),v,function(){return P.$safe()["$>="](f.SafeMode._scope.SAFE)?v:d}()),b!==!1&&b!==d&&f.Helpers.$mkdir_p(H),C!==!1&&C!==d?f.Stylesheets.$instance().$write_primary_stylesheet(H):E!==!1&&E!==d&&(I=P.$normalize_system_path((i=(I=P.$attr("copycss"))["$empty?"]())===d||i._isBoolean&&1!=i?I:D),J=P.$normalize_system_path(D,H,function(){return P.$safe()["$>="](f.SafeMode._scope.SAFE)?v:d}()),((i=(t=I["$=="](J))!==!1&&t!==d?t:(K=P.$read_asset(I))["$nil?"]())===d||i._isBoolean&&1!=i)&&(i=(t=null==(u=e.Object._scope.File)?e.cm("File"):u).$open,i._p=(r=function(e){return r._s||this,null==e&&(e=d),e.$write(K)},r._s=y,r),i).call(t,J,"w")),F!==!1&&F!==d?f.Stylesheets.$instance().$write_coderay_stylesheet(H):G!==!1&&G!==d&&f.Stylesheets.$instance().$write_pygments_stylesheet(H,P.$attr("pygments-style")))),P):B},o._proto.$render=o._proto.$convert,o._proto.$convert_file=function(o,f){var n,i=this;return null==f&&(f=l([],{})),i.$convert((null==(n=e.Object._scope.File)?e.cm("File"):n).$new((n=o)!==!1&&n!==d?n:""),f)},o._proto.$render_file=o._proto.$convert_file}(p.$singleton_class()),r.RUBY_ENGINE["$=="]("opal")}(f),(o=n.RUBY_ENGINE_OPAL)!==d&&(!o._isBoolean||1==o),!0}(Opal),require("./asciidoctor-docbook.min.js")(Opal),loadExtensions&&require("./asciidoctor-extensions.min.js")(Opal),Opal.Asciidoctor}}}},{"./asciidoctor-docbook.min.js":7,"./asciidoctor-extensions.min.js":8,fs:12,"opal-npm-wrapper":117,xmlhttprequest:140}],7:[function(e,o,f){o.exports=function(o){var f=o||e("opal-npm-wrapper").Opal;!function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor"),l=(t._proto,t._scope);!function(o,n){function t(){}var l=t=d(o,n,"DocBook5Converter",t),u=l._proto,s=l._scope;return u.$document=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f;return d=[],(i=e.$doctype())["$=="]("manpage")&&(i="refentry"),d["$<<"]('<?xml version="1.0" encoding="UTF-8"?>'),(o=t=n.$doctype_declaration(i))===f||o._isBoolean&&1!=o||d["$<<"](t),(o=e["$attr?"]("toc"))===f||o._isBoolean&&1!=o||d["$<<"]((o=e["$attr?"]("toclevels"))===f||o._isBoolean&&1!=o?"<?asciidoc-toc?>":'<?asciidoc-toc maxdepth="'+e.$attr("toclevels")+'"?>'),(o=e["$attr?"]("sectnums"))===f||o._isBoolean&&1!=o||d["$<<"]((o=e["$attr?"]("sectnumlevels"))===f||o._isBoolean&&1!=o?"<?asciidoc-numbered?>":'<?asciidoc-numbered maxdepth="'+e.$attr("sectnumlevels")+'"?>'),l=function(){return(o=e["$attr?"]("nolang"))===f||o._isBoolean&&1!=o?" "+n.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':f}(),d["$<<"]("<"+i+n.$document_ns_attributes(e)+l+">"),d["$<<"](n.$document_info_element(e,i)),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||d["$<<"](e.$content()),((o=(u=e.$docinfo("footer"))["$empty?"]())===f||o._isBoolean&&1!=o)&&d["$<<"](u),d["$<<"]("</"+i+">"),d["$*"](s.EOL)},e.defn(l,"$embedded",u.$content),u.$section=function(e){var o,n,d=this,i=f,t=f;return i=e.$document().$doctype(),t=function(){return(o=e.$special())===f||o._isBoolean&&1!=o?(o=(n=i["$=="]("book"))?e.$level()["$<="](1):n)===f||o._isBoolean&&1!=o?"section":function(){return e.$level()["$=="](0)?"part":"chapter"}():e.$level()["$<="](1)?e.$sectname():"section"}(),i["$=="]("manpage")&&(t["$=="]("section")?t="refsection":t["$=="]("synopsis")&&(t="refsynopsisdiv")),"<"+t+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+e.$content()+"\n</"+t+">"},u.$admonition=function(e){var o=this,n=f;return"<"+(n=e.$attr("name"))+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e)+o.$resolve_content(e)+"\n</"+n+">"},e.defn(l,"$audio",u.$skip),u.$colist=function(e){var o,n,d,i=this,t=f;return t=[],t["$<<"]("<calloutlist"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),t["$<<"]('<callout arearefs="'+e.$attr("coids")+'">'),t["$<<"]("<para>"+e.$text()+"</para>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</callout>")},d._s=i,d),o).call(n),t["$<<"]("</calloutlist>"),t["$*"](s.EOL)},e.cdecl(s,"DLIST_TAGS",i(["labeled","qanda","glossary"],{labeled:i(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:i(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:i(["list","entry","term","item"],{list:f,entry:"glossentry",term:"glossterm",item:"glossdef"})})),s.DLIST_TAGS["$default="](s.DLIST_TAGS["$[]"]("labeled")),u.$dlist=function(e){var o,n,d,i,t,l=this,u=f,p=f,r=f,y=f,a=f,c=f,b=f,w=f;return u=[],e.$style()["$=="]("horizontal")?(u["$<<"]("<"+(p=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"informaltable":"table"}())+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+l.$title_tag(e)+'<tgroup cols="2">\n<colspec colwidth="'+e.$attr("labelwidth",15)+'*"/>\n<colspec colwidth="'+e.$attr("itemwidth",85)+'*"/>\n<tbody valign="top">'),(o=(n=e.$items()).$each,o._p=(d=function(e,o){var n,i,t,l=d._s||this;return null==e&&(e=f),null==o&&(o=f),u["$<<"]("<row>\n<entry>"),(n=(i=[].concat(e)).$each,n._p=(t=function(e){return t._s||this,null==e&&(e=f),u["$<<"]("<simpara>"+e.$text()+"</simpara>")},t._s=l,t),n).call(i),u["$<<"]("</entry>\n<entry>"),((n=o["$nil?"]())===f||n._isBoolean&&1!=n)&&((n=o["$text?"]())===f||n._isBoolean&&1!=n||u["$<<"]("<simpara>"+o.$text()+"</simpara>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||u["$<<"](o.$content())),u["$<<"]("</entry>\n</row>")},d._s=l,d),o).call(n),u["$<<"]("</tbody>\n</tgroup>\n</"+p+">")):(r=s.DLIST_TAGS["$[]"](e.$style()),y=r["$[]"]("list"),a=r["$[]"]("entry"),c=r["$[]"]("label"),b=r["$[]"]("term"),w=r["$[]"]("item"),y!==!1&&y!==f&&(u["$<<"]("<"+y+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>")),(o=(i=e.$items()).$each,o._p=(t=function(e,o){var n,d,i,l=t._s||this;return null==e&&(e=f),null==o&&(o=f),u["$<<"]("<"+a+">"),c!==!1&&c!==f&&u["$<<"]("<"+c+">"),(n=(d=[].concat(e)).$each,n._p=(i=function(e){return i._s||this,null==e&&(e=f),u["$<<"]("<"+b+">"+e.$text()+"</"+b+">")},i._s=l,i),n).call(d),c!==!1&&c!==f&&u["$<<"]("</"+c+">"),u["$<<"]("<"+w+">"),((n=o["$nil?"]())===f||n._isBoolean&&1!=n)&&((n=o["$text?"]())===f||n._isBoolean&&1!=n||u["$<<"]("<simpara>"+o.$text()+"</simpara>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||u["$<<"](o.$content())),u["$<<"]("</"+w+">"),u["$<<"]("</"+a+">")},t._s=l,t),o).call(i),y!==!1&&y!==f&&u["$<<"]("</"+y+">")),u["$*"](s.EOL)},u.$example=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalexample"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+n.$resolve_content(e)+"\n</informalexample>":"<example"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+n.$resolve_content(e)+"\n</example>"},u.$floating_title=function(e){var o=this;return"<bridgehead"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+' renderas="sect'+e.$level()+'">'+e.$title()+"</bridgehead>"},u.$image=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f,s=f;return d=function(){return(o=e["$attr?"]("width"))===f||o._isBoolean&&1!=o?f:' contentwidth="'+e.$attr("width")+'"'}(),i=function(){return(o=e["$attr?"]("height"))===f||o._isBoolean&&1!=o?f:' contentdepth="'+e.$attr("height")+'"'}(),t=function(){return(o=e["$attr?"]("scaledwidth"))===f||o._isBoolean&&1!=o?f:' width="'+e.$attr("scaledwidth")+'" scalefit="1"'}(),l=function(){return(o=e["$attr?"]("scale"))===f||o._isBoolean&&1!=o?f:' scale="'+e.$attr("scale")+'"'}(),u=function(){return(o=e["$attr?"]("align"))===f||o._isBoolean&&1!=o?f:' align="'+e.$attr("align")+'"'}(),s='<mediaobject>\n<imageobject>\n<imagedata fileref="'+e.$image_uri(e.$attr("target"))+'"'+d+i+t+l+u+"/>\n</imageobject>\n<textobject><phrase>"+e.$attr("alt")+"</phrase></textobject>\n</mediaobject>",(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalfigure"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+s+"\n</informalfigure>":"<figure"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+s+"\n</figure>"},u.$listing=function(e){var o,n,d=this,i=f,t=f,l=f,u=f;return i=e["$title?"]()["$!"](),t=d.$common_attributes(e.$id(),e.$role(),e.$reftext()),(o=(n=e.$style()["$=="]("source"))?e["$attr?"]("language"):n)===f||o._isBoolean&&1!=o?u="<screen"+function(){return i!==!1&&i!==f?t:f}()+">"+e.$content()+"</screen>":(l=function(){return(o=e["$attr?"]("linenums"))===f||o._isBoolean&&1!=o?"unnumbered":"numbered"}(),u="<programlisting"+function(){return i!==!1&&i!==f?t:f}()+' language="'+e.$attr("language",f,!1)+'" linenumbering="'+l+'">'+e.$content()+"</programlisting>"),i!==!1&&i!==f?u:"<formalpara"+t+">\n<title>"+e.$title()+"</title>\n<para>\n"+u+"\n</para>\n</formalpara>"},u.$literal=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<literallayout"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+' class="monospaced">'+e.$content()+"</literallayout>":"<formalpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+'</title>\n<para>\n<literallayout class="monospaced">'+e.$content()+"</literallayout>\n</para>\n</formalpara>"},u.$stem=function(e){var o,n=this,d=f,i=f,t=f;return(o=d=e.$subs().$index("specialcharacters"))===f||o._isBoolean&&1!=o||e.$subs().$delete("specialcharacters"),i=e.$content(),d!==!1&&d!==f&&e.$subs().$insert(d,"specialcharacters"),t=e.$style()["$=="]("latexmath")?"<alt><![CDATA["+i+"]]></alt>\n<mediaobject><textobject><phrase></phrase></textobject></mediaobject>":"<mediaobject><textobject><phrase><![CDATA["+i+"]]></phrase></textobject></mediaobject>",(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalequation"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+t+"\n</informalequation>":"<equation"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+t+"\n</equation>"},u.$olist=function(e){var o,n,d,i=this,t=f,l=f,u=f;return t=[],l=function(){return(o=e.$style())===f||o._isBoolean&&1!=o?f:' numeration="'+e.$style()+'"'}(),u=function(){return(o=e["$attr?"]("start"))===f||o._isBoolean&&1!=o?f:' startingnumber="'+e.$attr("start")+'"'}(),t["$<<"]("<orderedlist"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+l+u+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),t["$<<"]("<listitem>"),t["$<<"]("<simpara>"+e.$text()+"</simpara>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</listitem>")},d._s=i,d),o).call(n),t["$<<"]("</orderedlist>"),t["$*"](s.EOL)},u.$open=function(e){var o,n,d,i=this,t=f;return function(){return t=e.$style(),"abstract"["$==="](t)?(o=(n=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):n)===f||o._isBoolean&&1!=o?"<abstract>\n"+i.$title_tag(e)+i.$resolve_content(e)+"\n</abstract>":(i.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](t)?(n=(d=e.$level()["$=="](0))?e.$parent().$context()["$=="]("section"):d,(o=n!==!1&&n!==f?e.$document().$doctype()["$=="]("book"):n)===f||o._isBoolean&&1!=o?(i.$warn("asciidoctor: ERROR: partintro block can only be used when doctype is book and it's a child of a part section. Excluding block content."),""):"<partintro"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+i.$title_tag(e)+i.$resolve_content(e)+"\n</partintro>"):e.$content()}()},u.$page_break=function(){return"<simpara><?asciidoc-pagebreak?></simpara>"},u.$paragraph=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<simpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"+e.$content()+"</simpara>":"<formalpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n<para>"+e.$content()+"</para>\n</formalpara>"},u.$preamble=function(e){var o=this;return e.$document().$doctype()["$=="]("book")?"<preface"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e,!1)+e.$content()+"\n</preface>":e.$content()},u.$quote=function(e){var o,n,d=this,i=f;return i=[],i["$<<"]("<blockquote"+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||i["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e["$attr?"]("attribution"))!==!1&&n!==f?n:e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||(i["$<<"]("<attribution>"),(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o||i["$<<"](e.$attr("attribution")),(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||i["$<<"]("<citetitle>"+e.$attr("citetitle")+"</citetitle>"),i["$<<"]("</attribution>")),i["$<<"](d.$resolve_content(e)),i["$<<"]("</blockquote>"),i["$*"](s.EOL)},u.$thematic_break=function(){return"<simpara><?asciidoc-hr?></simpara>"},u.$sidebar=function(e){var o=this;return"<sidebar"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e)+o.$resolve_content(e)+"\n</sidebar>"},e.cdecl(s,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(s,"TABLE_SECTIONS",["head","foot","body"]),u.$table=function(e){var o,n,d,i,t,l,u,p,r,y,a=this,c=f,b=f,w=f,g=f,m=f;return c=!1,b=[],w=function(){return(o=e["$option?"]("pgwide"))===f||o._isBoolean&&1!=o?f:' pgwide="1"'}(),b["$<<"]("<"+(g=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"informaltable":"table"}())+a.$common_attributes(e.$id(),e.$role(),e.$reftext())+w+' frame="'+e.$attr("frame","all")+'" rowsep="'+function(){return(o=["none","cols"]["$include?"](e.$attr("grid")))===f||o._isBoolean&&1!=o?1:0}()+'" colsep="'+function(){return(o=["none","rows"]["$include?"](e.$attr("grid")))===f||o._isBoolean&&1!=o?1:0}()+'">'),g["$=="]("table")&&b["$<<"]("<title>"+e.$title()+"</title>"),(o=m=function(){return(n=e["$attr?"]("width"))===f||n._isBoolean&&1!=n?f:e.$attr("width")}())===f||o._isBoolean&&1!=o||(o=(n=s.TABLE_PI_NAMES).$each,o._p=(d=function(e){return d._s||this,null==e&&(e=f),b["$<<"]("<?"+e+' table-width="'+m+'"?>')},d._s=a,d),o).call(n),b["$<<"]('<tgroup cols="'+e.$attr("colcount")+'">'),(o=(i=e.$columns()).$each,o._p=(t=function(e){return t._s||this,null==e&&(e=f),b["$<<"]('<colspec colname="col_'+e.$attr("colnumber")+'" colwidth="'+e.$attr(function(){return m!==!1&&m!==f?"colabswidth":"colpcwidth"}())+'*"/>')},t._s=a,t),o).call(i),(o=(l=(p=(r=s.TABLE_SECTIONS).$select,p._p=(y=function(o){return y._s||this,null==o&&(o=f),e.$rows()["$[]"](o)["$empty?"]()["$!"]()},y._s=a,y),p).call(r)).$each,o._p=(u=function(o){var n,d,i,t=u._s||this;return null==o&&(o=f),o["$=="]("body")&&(c=!0),b["$<<"]("<t"+o+">"),(n=(d=e.$rows()["$[]"](o)).$each,n._p=(i=function(n){var d,t,l,u=i._s||this;return null==n&&(n=f),b["$<<"]("<row>"),(d=(t=n).$each,d._p=(l=function(n){var d,i,t,u,s,p=l._s||this,r=f,y=f,a=f,c=f,w=f,g=f,m=f,x=f,j=f;return null==n&&(n=f),r=function(){return(d=n["$attr?"]("halign"))===f||d._isBoolean&&1!=d?f:' align="'+n.$attr("halign")+'"'}(),y=function(){return(d=n["$attr?"]("valign"))===f||d._isBoolean&&1!=d?f:' valign="'+n.$attr("valign")+'"'}(),a=function(){return(d=n.$colspan())===f||d._isBoolean&&1!=d?f:' namest="col_'+(c=n.$column().$attr("colnumber"))+'" nameend="col_'+c["$+"](n.$colspan())["$-"](1)+'"'}(),w=function(){return(d=n.$rowspan())===f||d._isBoolean&&1!=d?f:' morerows="'+n.$rowspan()["$-"](1)+'"'}(),g="<entry"+r+y+a+w+">",m=function(){return o["$=="]("head")?n.$text():function(){return x=n.$style(),"asciidoc"["$==="](x)?n.$content():"verse"["$==="](x)?"<literallayout>"+n.$text()+"</literallayout>":"literal"["$==="](x)?'<literallayout class="monospaced">'+n.$text()+"</literallayout>":"header"["$==="](x)?(d=(i=n.$content()).$map,d._p=(t=function(e){return t._s||this,null==e&&(e=f),'<simpara><emphasis role="strong">'+e+"</emphasis></simpara>"},t._s=p,t),d).call(i).$join():(d=(u=n.$content()).$map,d._p=(s=function(e){return s._s||this,null==e&&(e=f),"<simpara>"+e+"</simpara>"},s._s=p,s),d).call(u).$join()}()}(),j=function(){return(d=e.$document()["$attr?"]("cellbgcolor"))===f||d._isBoolean&&1!=d?"</entry>":'<?dbfo bgcolor="'+e.$document().$attr("cellbgcolor")+'"?></entry>'}(),b["$<<"](""+g+m+j)},l._s=u,l),d).call(t),b["$<<"]("</row>")},i._s=t,i),n).call(d),b["$<<"]("</t"+o+">")},u._s=a,u),o).call(l),b["$<<"]("</tgroup>"),b["$<<"]("</"+g+">"),c!==!1&&c!==f||a.$warn("asciidoctor: WARNING: tables must have at least one body row"),b["$*"](s.EOL)},e.defn(l,"$toc",u.$skip),u.$ulist=function(e){var o,n,d,i,t,l=this,u=f,p=f,r=f,y=f;return u=[],e.$style()["$=="]("bibliography")?(u["$<<"]("<bibliodiv"+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),u["$<<"]("<bibliomixed>"),u["$<<"]("<bibliomisc>"+e.$text()+"</bibliomisc>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||u["$<<"](e.$content()),u["$<<"]("</bibliomixed>")},d._s=l,d),o).call(n),u["$<<"]("</bibliodiv>")):(p=function(){return(o=r=e["$option?"]("checklist"))===f||o._isBoolean&&1!=o?e.$style():"none"}(),y=function(){return p!==!1&&p!==f?' mark="'+p+'"':f}(),u["$<<"]("<itemizedlist"+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+y+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>"),(o=(i=e.$items()).$each,o._p=(t=function(e){var o,n,d=(t._s||this,f);return null==e&&(e=f),d=function(){return(o=(n=r!==!1&&r!==f)?e["$attr?"]("checkbox"):n)===f||o._isBoolean&&1!=o?f:(o=e["$attr?"]("checked"))===f||o._isBoolean&&1!=o?"&#10063; ":"&#10003; "}(),u["$<<"]("<listitem>"),u["$<<"]("<simpara>"+d+e.$text()+"</simpara>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||u["$<<"](e.$content()),u["$<<"]("</listitem>")},t._s=l,t),o).call(i),u["$<<"]("</itemizedlist>")),u["$*"](s.EOL)},u.$verse=function(e){var o,n,d=this,i=f;return i=[],i["$<<"]("<blockquote"+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||i["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e["$attr?"]("attribution"))!==!1&&n!==f?n:e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||(i["$<<"]("<attribution>"),(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o||i["$<<"](e.$attr("attribution")),(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||i["$<<"]("<citetitle>"+e.$attr("citetitle")+"</citetitle>"),i["$<<"]("</attribution>")),i["$<<"]("<literallayout>"+e.$content()+"</literallayout>"),i["$<<"]("</blockquote>"),i["$*"](s.EOL)},e.defn(l,"$video",u.$skip),u.$inline_anchor=function(e){var o,n=this,d=f,i=f,t=f;return function(){return d=e.$type(),"ref"["$==="](d)?"<anchor"+n.$common_attributes(e.$target(),f,e.$text())+"/>":"xref"["$==="](d)?(o=e["$attr?"]("path",f))===f||o._isBoolean&&1!=o?'<link xlink:href="'+n.$target()+'">'+((o=e.$text())!==!1&&o!==f?o:e.$attr("path"))+"</link>":(i=(o=e.$attr("fragment"))!==!1&&o!==f?o:e.$target(),(o=t=e.$text())===f||o._isBoolean&&1!=o?'<xref linkend="'+i+'"/>':'<link linkend="'+i+'">'+t+"</link>"):"link"["$==="](d)?'<link xlink:href="'+e.$target()+'">'+e.$text()+"</link>":"bibref"["$==="](d)?"<anchor"+n.$common_attributes(e.$target(),f,"["+e.$target()+"]")+"/>["+e.$target()+"]":n.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()},u.$inline_break=function(e){return""+e.$text()+"<?asciidoc-br?>"},u.$inline_button=function(e){return"<guibutton>"+e.$text()+"</guibutton>"},u.$inline_callout=function(e){var o=this;return"<co"+o.$common_attributes(e.$id())+"/>"},u.$inline_footnote=function(e){var o=this;return e.$type()["$=="]("xref")?'<footnoteref linkend="'+e.$target()+'"/>':"<footnote"+o.$common_attributes(e.$id())+"><simpara>"+e.$text()+"</simpara></footnote>"},u.$inline_image=function(e){var o,n=f,d=f;return n=function(){return(o=e["$attr?"]("width"))===f||o._isBoolean&&1!=o?f:' contentwidth="'+e.$attr("width")+'"'}(),d=function(){return(o=e["$attr?"]("height"))===f||o._isBoolean&&1!=o?f:' contentdepth="'+e.$attr("height")+'"'}(),'<inlinemediaobject>\n<imageobject>\n<imagedata fileref="'+function(){return e.$type()["$=="]("icon")?e.$icon_uri(e.$target()):e.$image_uri(e.$target())}()+'"'+n+d+"/>\n</imageobject>\n<textobject><phrase>"+e.$attr("alt")+"</phrase></textobject>\n</inlinemediaobject>"},u.$inline_indexterm=function(e){var o=f,n=f,d=f;return e.$type()["$=="]("visible")?"<indexterm><primary>"+e.$text()+"</primary></indexterm>"+e.$text():(o=e.$attr("terms"),n=[],(d=o.$size())["$>"](2)&&n["$<<"]("<indexterm>\n<primary>"+o["$[]"](0)+"</primary><secondary>"+o["$[]"](1)+"</secondary><tertiary>"+o["$[]"](2)+"</tertiary>\n</indexterm>"),d["$>"](1)&&n["$<<"]("<indexterm>\n<primary>"+o["$[]"](-2)+"</primary><secondary>"+o["$[]"](-1)+"</secondary>\n</indexterm>"),n["$<<"]("<indexterm>\n<primary>"+o["$[]"](-1)+"</primary>\n</indexterm>"),n["$*"](s.EOL))},u.$inline_kbd=function(e){var o,n,d,i=this,t=f,l=f;return(t=e.$attr("keys")).$size()["$=="](1)?"<keycap>"+t["$[]"](0)+"</keycap>":(l=(o=(n=t).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),"<keycap>"+e+"</keycap>"},d._s=i,d),o).call(n).$join(),"<keycombo>"+l+"</keycombo>")},u.$inline_menu=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f;return t=e.$attr("menu"),(o=(l=e.$attr("submenus"))["$empty?"]()["$!"]())===f||o._isBoolean&&1!=o?(o=s=e.$attr("menuitem"))===f||o._isBoolean&&1!=o?"<guimenu>"+t+"</guimenu>":"<menuchoice><guimenu>"+t+"</guimenu> <guimenuitem>"+s+"</guimenuitem></menuchoice>":(u=(o=(n=l).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),"<guisubmenu>"+e+"</guisubmenu> "},d._s=i,d),o).call(n).$join().$chop(),"<menuchoice><guimenu>"+t+"</guimenu> "+u+" <guimenuitem>"+e.$attr("menuitem")+"</guimenuitem></menuchoice>")},e.cdecl(s,"QUOTE_TAGS",i(["emphasis","strong","monospaced","superscript","subscript","double","single","mark"],{emphasis:["<emphasis>","</emphasis>",!0],strong:['<emphasis role="strong">',"</emphasis>",!0],monospaced:["<literal>","</literal>",!1],superscript:["<superscript>","</superscript>",!1],subscript:["<subscript>","</subscript>",!1],"double":["&#8220;","&#8221;",!0],single:["&#8216;","&#8217;",!0],mark:['<emphasis role="marked">',"</emphasis>",!1]})),s.QUOTE_TAGS["$default="]([f,f,!0]),u.$inline_quoted=function(o){var n,d=this,i=f,t=f,l=f,u=f,p=f,r=f,y=f;return(i=o.$type())["$=="]("latexmath")?"<inlineequation>\n<alt><![CDATA["+o.$text()+"]]></alt>\n<inlinemediaobject><textobject><phrase><![CDATA["+o.$text()+"]]></phrase></textobject></inlinemediaobject>\n</inlineequation>":(n=e.to_ary(s.QUOTE_TAGS["$[]"](i)),t=null==n[0]?f:n[0],l=null==n[1]?f:n[1],u=null==n[2]?f:n[2],p=o.$text(),y=(n=r=o.$role())===f||n._isBoolean&&1!=n?""+t+p+l:u!==!1&&u!==f?""+t+'<phrase role="'+r+'">'+p+"</phrase>"+l:""+t.$chop()+' role="'+r+'">'+p+l,(n=o.$id())===f||n._isBoolean&&1!=n?y:"<anchor"+d.$common_attributes(o.$id(),f,p)+"/>"+y)},u.$author_element=function(e,o){var n,d=f,i=f,t=f,l=f,u=f;return null==o&&(o=f),d=function(){return o!==!1&&o!==f?"firstname_"+o:"firstname"}(),i=function(){return o!==!1&&o!==f?"middlename_"+o:"middlename"}(),t=function(){return o!==!1&&o!==f?"lastname_"+o:"lastname"}(),l=function(){return o!==!1&&o!==f?"email_"+o:"email"}(),u=[],u["$<<"]("<author>"),u["$<<"]("<personname>"),(n=e["$attr?"](d))===f||n._isBoolean&&1!=n||u["$<<"]("<firstname>"+e.$attr(d)+"</firstname>"),(n=e["$attr?"](i))===f||n._isBoolean&&1!=n||u["$<<"]("<othername>"+e.$attr(i)+"</othername>"),(n=e["$attr?"](t))===f||n._isBoolean&&1!=n||u["$<<"]("<surname>"+e.$attr(t)+"</surname>"),u["$<<"]("</personname>"),(n=e["$attr?"](l))===f||n._isBoolean&&1!=n||u["$<<"]("<email>"+e.$attr(l)+"</email>"),u["$<<"]("</author>"),u["$*"](s.EOL)},u.$common_attributes=function(e,o,n){var d=f;return null==o&&(o=f),null==n&&(n=f),d=function(){return e!==!1&&e!==f?' xml:id="'+e+'"':""}(),o!==!1&&o!==f&&(d=""+d+' role="'+o+'"'),n!==!1&&n!==f&&(d=""+d+' xreflabel="'+n+'"'),d},u.$doctype_declaration=function(){return f},u.$document_info_element=function(e,o,n){var d,t,l,u,p,r=this,y=f,a=f,c=f;return null==n&&(n=!1),n!==!1&&n!==f||(o=""),y=[],y["$<<"]("<"+o+"info>"),((d=e.$notitle())===f||d._isBoolean&&1!=d)&&y["$<<"](r.$document_title_tags(e.$doctitle(i(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),y["$<<"]("<date>"+function(){return e.$attr((d=e["$attr?"]("revdate"))===f||d._isBoolean&&1!=d?"docdate":"revdate")}()+"</date>"),(d=e["$has_header?"]())===f||d._isBoolean&&1!=d||((d=e["$attr?"]("author"))===f||d._isBoolean&&1!=d||((a=e.$attr("authorcount").$to_i())["$<"](2)?(y["$<<"](r.$author_element(e)),(d=e["$attr?"]("authorinitials"))===f||d._isBoolean&&1!=d||y["$<<"]("<authorinitials>"+e.$attr("authorinitials")+"</authorinitials>")):(y["$<<"]("<authorgroup>"),(d=(t=a).$times,d._p=(l=function(o){var n=l._s||this;return null==o&&(o=f),y["$<<"](n.$author_element(e,o["$+"](1)))},l._s=r,l),d).call(t),y["$<<"]("</authorgroup>"))),u=e["$attr?"]("revdate"),(d=u!==!1&&u!==f?(p=e["$attr?"]("revnumber"))!==!1&&p!==f?p:e["$attr?"]("revremark"):u)===f||d._isBoolean&&1!=d||(y["$<<"]("<revhistory>\n<revision>"),(d=e["$attr?"]("revnumber"))===f||d._isBoolean&&1!=d||y["$<<"]("<revnumber>"+e.$attr("revnumber")+"</revnumber>"),(d=e["$attr?"]("revdate"))===f||d._isBoolean&&1!=d||y["$<<"]("<date>"+e.$attr("revdate")+"</date>"),(d=e["$attr?"]("authorinitials"))===f||d._isBoolean&&1!=d||y["$<<"]("<authorinitials>"+e.$attr("authorinitials")+"</authorinitials>"),(d=e["$attr?"]("revremark"))===f||d._isBoolean&&1!=d||y["$<<"]("<revremark>"+e.$attr("revremark")+"</revremark>"),y["$<<"]("</revision>\n</revhistory>")),((d=(c=e.$docinfo("header"))["$empty?"]())===f||d._isBoolean&&1!=d)&&y["$<<"](c),(d=e["$attr?"]("orgname"))===f||d._isBoolean&&1!=d||y["$<<"]("<orgname>"+e.$attr("orgname")+"</orgname>")),y["$<<"]("</"+o+"info>"),e.$doctype()["$=="]("manpage")&&(y["$<<"]("<refmeta>"),(d=e["$attr?"]("mantitle"))===f||d._isBoolean&&1!=d||y["$<<"]("<refentrytitle>"+e.$attr("mantitle")+"</refentrytitle>"),(d=e["$attr?"]("manvolnum"))===f||d._isBoolean&&1!=d||y["$<<"]("<manvolnum>"+e.$attr("manvolnum")+"</manvolnum>"),y["$<<"]("</refmeta>"),y["$<<"]("<refnamediv>"),(d=e["$attr?"]("manname"))===f||d._isBoolean&&1!=d||y["$<<"]("<refname>"+e.$attr("manname")+"</refname>"),(d=e["$attr?"]("manpurpose"))===f||d._isBoolean&&1!=d||y["$<<"]("<refpurpose>"+e.$attr("manpurpose")+"</refpurpose>"),y["$<<"]("</refnamediv>")),y["$*"](s.EOL)},u.$document_ns_attributes=function(){return' xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"'},u.$lang_attribute_name=function(){return"xml:lang"},u.$document_title_tags=function(e){var o;return(o=e["$subtitle?"]())===f||o._isBoolean&&1!=o?"<title>"+e+"</title>":"<title>"+e.$main()+"</title>\n<subtitle>"+e.$subtitle()+"</subtitle>"},u.$resolve_content=function(e){return e.$content_model()["$=="]("compound")?e.$content():"<simpara>"+e.$content()+"</simpara>"},u.$title_tag=function(e,o){var n,d;return null==o&&(o=!0),(n=(d=o["$!"]())!==!1&&d!==f?d:e["$title?"]())===f||n._isBoolean&&1!=n?f:"<title>"+e.$title()+"</title>\n"},f&&"title_tag"}(l.Converter,l.Converter._scope.BuiltIn)}(o)}(f),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module,i=e.klass;return function(o){var t=d(o,"Asciidoctor"),l=(t._proto,t._scope);!function(o,d){function t(){}var l,u,s=t=i(o,d,"DocBook45Converter",t),p=s._proto,r=s._scope;return p.$admonition=l=function(o){var f=n.call(arguments,0),d=this,i=l._p;return l._p=null,o.$parent().$context()["$=="]("example")?"<para>\n"+e.find_super_dispatcher(d,"admonition",l,i).apply(d,f)+"\n</para>":e.find_super_dispatcher(d,"admonition",l,i).apply(d,f)},p.$olist=function(e){var o,n,d,i=this,t=f,l=f,u=f;return t=[],l=function(){return(o=e.$style())===f||o._isBoolean&&1!=o?f:' numeration="'+e.$style()+'"'}(),u=function(){return(o=e["$attr?"]("start"))===f||o._isBoolean&&1!=o?f:' override="'+e.$attr("start")+'"'}(),t["$<<"]("<orderedlist"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+l+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]("<title>"+e.$title()+"</title>"),
  (o=(n=e.$items()).$each_with_index,o._p=(d=function(e,o){var n;return d._s||this,null==e&&(e=f),null==o&&(o=f),t["$<<"](function(){return o["$=="](0)?"<listitem"+u+">":"<listitem>"}()),t["$<<"]("<simpara>"+e.$text()+"</simpara>"),(n=e["$blocks?"]())===f||n._isBoolean&&1!=n||t["$<<"](e.$content()),t["$<<"]("</listitem>")},d._s=i,d),o).call(n),t["$<<"]("</orderedlist>"),t["$*"](r.EOL)},p.$inline_anchor=function(e){var o,n=this,d=f,i=f,t=f,l=f;return d=e.$target(),function(){return i=e.$type(),"ref"["$==="](i)?"<anchor"+n.$common_attributes(d,f,e.$text())+"/>":"xref"["$==="](i)?(o=e["$attr?"]("path",f))===f||o._isBoolean&&1!=o?(l=(o=e.$text())!==!1&&o!==f?o:e.$attr("path"),'<ulink url="'+d+'">'+l+"</ulink>"):(t=(o=e.$attr("fragment"))!==!1&&o!==f?o:d,(o=l=e.$text())===f||o._isBoolean&&1!=o?'<xref linkend="'+t+'"/>':'<link linkend="'+t+'">'+l+"</link>"):"link"["$==="](i)?'<ulink url="'+d+'">'+e.$text()+"</ulink>":"bibref"["$==="](i)?"<anchor"+n.$common_attributes(d,f,"["+d+"]")+"/>["+d+"]":f}()},p.$author_element=function(e,o){var n,d=f,i=f,t=f,l=f,u=f;return null==o&&(o=f),d=function(){return o!==!1&&o!==f?"firstname_"+o:"firstname"}(),i=function(){return o!==!1&&o!==f?"middlename_"+o:"middlename"}(),t=function(){return o!==!1&&o!==f?"lastname_"+o:"lastname"}(),l=function(){return o!==!1&&o!==f?"email_"+o:"email"}(),u=[],u["$<<"]("<author>"),(n=e["$attr?"](d))===f||n._isBoolean&&1!=n||u["$<<"]("<firstname>"+e.$attr(d)+"</firstname>"),(n=e["$attr?"](i))===f||n._isBoolean&&1!=n||u["$<<"]("<othername>"+e.$attr(i)+"</othername>"),(n=e["$attr?"](t))===f||n._isBoolean&&1!=n||u["$<<"]("<surname>"+e.$attr(t)+"</surname>"),(n=e["$attr?"](l))===f||n._isBoolean&&1!=n||u["$<<"]("<email>"+e.$attr(l)+"</email>"),u["$<<"]("</author>"),u["$*"](r.EOL)},p.$common_attributes=function(e,o,n){var d=f;return null==o&&(o=f),null==n&&(n=f),d=function(){return e!==!1&&e!==f?' id="'+e+'"':""}(),o!==!1&&o!==f&&(d=""+d+' role="'+o+'"'),n!==!1&&n!==f&&(d=""+d+' xreflabel="'+n+'"'),d},p.$doctype_declaration=function(e){return"<!DOCTYPE "+e+' PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">'},p.$document_info_element=u=function(o,f){var n=this;return u._p,u._p=null,e.find_super_dispatcher(n,"document_info_element",u,null).apply(n,[o,f,!0])},p.$lang_attribute_name=function(){return"lang"},p.$document_ns_attributes=function(e){var o,n=f;return(o=n=e.$attr("xmlns"))===f||o._isBoolean&&1!=o?f:(o=n["$empty?"]())===f||o._isBoolean&&1!=o?' xmlns="'+n+'"':' xmlns="http://docbook.org/ns/docbook"'},f&&"document_ns_attributes"}(l.Converter,l.Converter._scope.DocBook5Converter)}(o)}(f),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module),d=e.klass,i=e.hash2;return function(o){var t=n(o,"Asciidoctor"),l=(t._proto,t._scope);!function(o,n){function t(){}var l=t=d(o,n,"DocBook5Converter",t),u=l._proto,s=l._scope;return u.$document=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f;return d=[],(i=e.$doctype())["$=="]("manpage")&&(i="refentry"),d["$<<"]('<?xml version="1.0" encoding="UTF-8"?>'),(o=t=n.$doctype_declaration(i))===f||o._isBoolean&&1!=o||d["$<<"](t),(o=e["$attr?"]("toc"))===f||o._isBoolean&&1!=o||d["$<<"]((o=e["$attr?"]("toclevels"))===f||o._isBoolean&&1!=o?"<?asciidoc-toc?>":'<?asciidoc-toc maxdepth="'+e.$attr("toclevels")+'"?>'),(o=e["$attr?"]("sectnums"))===f||o._isBoolean&&1!=o||d["$<<"]((o=e["$attr?"]("sectnumlevels"))===f||o._isBoolean&&1!=o?"<?asciidoc-numbered?>":'<?asciidoc-numbered maxdepth="'+e.$attr("sectnumlevels")+'"?>'),l=function(){return(o=e["$attr?"]("nolang"))===f||o._isBoolean&&1!=o?" "+n.$lang_attribute_name()+'="'+e.$attr("lang","en")+'"':f}(),d["$<<"]("<"+i+n.$document_ns_attributes(e)+l+">"),d["$<<"](n.$document_info_element(e,i)),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||d["$<<"](e.$content()),((o=(u=e.$docinfo("footer"))["$empty?"]())===f||o._isBoolean&&1!=o)&&d["$<<"](u),d["$<<"]("</"+i+">"),d["$*"](s.EOL)},e.defn(l,"$embedded",u.$content),u.$section=function(e){var o,n,d=this,i=f,t=f;return i=e.$document().$doctype(),t=function(){return(o=e.$special())===f||o._isBoolean&&1!=o?(o=(n=i["$=="]("book"))?e.$level()["$<="](1):n)===f||o._isBoolean&&1!=o?"section":function(){return e.$level()["$=="](0)?"part":"chapter"}():e.$level()["$<="](1)?e.$sectname():"section"}(),i["$=="]("manpage")&&(t["$=="]("section")?t="refsection":t["$=="]("synopsis")&&(t="refsynopsisdiv")),"<"+t+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+e.$content()+"\n</"+t+">"},u.$admonition=function(e){var o=this,n=f;return"<"+(n=e.$attr("name"))+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e)+o.$resolve_content(e)+"\n</"+n+">"},e.defn(l,"$audio",u.$skip),u.$colist=function(e){var o,n,d,i=this,t=f;return t=[],t["$<<"]("<calloutlist"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),t["$<<"]('<callout arearefs="'+e.$attr("coids")+'">'),t["$<<"]("<para>"+e.$text()+"</para>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</callout>")},d._s=i,d),o).call(n),t["$<<"]("</calloutlist>"),t["$*"](s.EOL)},e.cdecl(s,"DLIST_TAGS",i(["labeled","qanda","glossary"],{labeled:i(["list","entry","term","item"],{list:"variablelist",entry:"varlistentry",term:"term",item:"listitem"}),qanda:i(["list","entry","label","term","item"],{list:"qandaset",entry:"qandaentry",label:"question",term:"simpara",item:"answer"}),glossary:i(["list","entry","term","item"],{list:f,entry:"glossentry",term:"glossterm",item:"glossdef"})})),s.DLIST_TAGS["$default="](s.DLIST_TAGS["$[]"]("labeled")),u.$dlist=function(e){var o,n,d,i,t,l=this,u=f,p=f,r=f,y=f,a=f,c=f,b=f,w=f;return u=[],e.$style()["$=="]("horizontal")?(u["$<<"]("<"+(p=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"informaltable":"table"}())+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+' tabstyle="horizontal" frame="none" colsep="0" rowsep="0">\n'+l.$title_tag(e)+'<tgroup cols="2">\n<colspec colwidth="'+e.$attr("labelwidth",15)+'*"/>\n<colspec colwidth="'+e.$attr("itemwidth",85)+'*"/>\n<tbody valign="top">'),(o=(n=e.$items()).$each,o._p=(d=function(e,o){var n,i,t,l=d._s||this;return null==e&&(e=f),null==o&&(o=f),u["$<<"]("<row>\n<entry>"),(n=(i=[].concat(e)).$each,n._p=(t=function(e){return t._s||this,null==e&&(e=f),u["$<<"]("<simpara>"+e.$text()+"</simpara>")},t._s=l,t),n).call(i),u["$<<"]("</entry>\n<entry>"),((n=o["$nil?"]())===f||n._isBoolean&&1!=n)&&((n=o["$text?"]())===f||n._isBoolean&&1!=n||u["$<<"]("<simpara>"+o.$text()+"</simpara>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||u["$<<"](o.$content())),u["$<<"]("</entry>\n</row>")},d._s=l,d),o).call(n),u["$<<"]("</tbody>\n</tgroup>\n</"+p+">")):(r=s.DLIST_TAGS["$[]"](e.$style()),y=r["$[]"]("list"),a=r["$[]"]("entry"),c=r["$[]"]("label"),b=r["$[]"]("term"),w=r["$[]"]("item"),y!==!1&&y!==f&&(u["$<<"]("<"+y+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>")),(o=(i=e.$items()).$each,o._p=(t=function(e,o){var n,d,i,l=t._s||this;return null==e&&(e=f),null==o&&(o=f),u["$<<"]("<"+a+">"),c!==!1&&c!==f&&u["$<<"]("<"+c+">"),(n=(d=[].concat(e)).$each,n._p=(i=function(e){return i._s||this,null==e&&(e=f),u["$<<"]("<"+b+">"+e.$text()+"</"+b+">")},i._s=l,i),n).call(d),c!==!1&&c!==f&&u["$<<"]("</"+c+">"),u["$<<"]("<"+w+">"),((n=o["$nil?"]())===f||n._isBoolean&&1!=n)&&((n=o["$text?"]())===f||n._isBoolean&&1!=n||u["$<<"]("<simpara>"+o.$text()+"</simpara>"),(n=o["$blocks?"]())===f||n._isBoolean&&1!=n||u["$<<"](o.$content())),u["$<<"]("</"+w+">"),u["$<<"]("</"+a+">")},t._s=l,t),o).call(i),y!==!1&&y!==f&&u["$<<"]("</"+y+">")),u["$*"](s.EOL)},u.$example=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalexample"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+n.$resolve_content(e)+"\n</informalexample>":"<example"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+n.$resolve_content(e)+"\n</example>"},u.$floating_title=function(e){var o=this;return"<bridgehead"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+' renderas="sect'+e.$level()+'">'+e.$title()+"</bridgehead>"},u.$image=function(e){var o,n=this,d=f,i=f,t=f,l=f,u=f,s=f;return d=function(){return(o=e["$attr?"]("width"))===f||o._isBoolean&&1!=o?f:' contentwidth="'+e.$attr("width")+'"'}(),i=function(){return(o=e["$attr?"]("height"))===f||o._isBoolean&&1!=o?f:' contentdepth="'+e.$attr("height")+'"'}(),t=function(){return(o=e["$attr?"]("scaledwidth"))===f||o._isBoolean&&1!=o?f:' width="'+e.$attr("scaledwidth")+'" scalefit="1"'}(),l=function(){return(o=e["$attr?"]("scale"))===f||o._isBoolean&&1!=o?f:' scale="'+e.$attr("scale")+'"'}(),u=function(){return(o=e["$attr?"]("align"))===f||o._isBoolean&&1!=o?f:' align="'+e.$attr("align")+'"'}(),s='<mediaobject>\n<imageobject>\n<imagedata fileref="'+e.$image_uri(e.$attr("target"))+'"'+d+i+t+l+u+"/>\n</imageobject>\n<textobject><phrase>"+e.$attr("alt")+"</phrase></textobject>\n</mediaobject>",(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalfigure"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+s+"\n</informalfigure>":"<figure"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+s+"\n</figure>"},u.$listing=function(e){var o,n,d=this,i=f,t=f,l=f,u=f;return i=e["$title?"]()["$!"](),t=d.$common_attributes(e.$id(),e.$role(),e.$reftext()),(o=(n=e.$style()["$=="]("source"))?e["$attr?"]("language"):n)===f||o._isBoolean&&1!=o?u="<screen"+function(){return i!==!1&&i!==f?t:f}()+">"+e.$content()+"</screen>":(l=function(){return(o=e["$attr?"]("linenums"))===f||o._isBoolean&&1!=o?"unnumbered":"numbered"}(),u="<programlisting"+function(){return i!==!1&&i!==f?t:f}()+' language="'+e.$attr("language",f,!1)+'" linenumbering="'+l+'">'+e.$content()+"</programlisting>"),i!==!1&&i!==f?u:"<formalpara"+t+">\n<title>"+e.$title()+"</title>\n<para>\n"+u+"\n</para>\n</formalpara>"},u.$literal=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<literallayout"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+' class="monospaced">'+e.$content()+"</literallayout>":"<formalpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+'</title>\n<para>\n<literallayout class="monospaced">'+e.$content()+"</literallayout>\n</para>\n</formalpara>"},u.$stem=function(e){var o,n=this,d=f,i=f,t=f;return(o=d=e.$subs().$index("specialcharacters"))===f||o._isBoolean&&1!=o||e.$subs().$delete("specialcharacters"),i=e.$content(),d!==!1&&d!==f&&e.$subs().$insert(d,"specialcharacters"),t=e.$style()["$=="]("latexmath")?"<alt><![CDATA["+i+"]]></alt>\n<mediaobject><textobject><phrase></phrase></textobject></mediaobject>":"<mediaobject><textobject><phrase><![CDATA["+i+"]]></phrase></textobject></mediaobject>",(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<informalequation"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+t+"\n</informalequation>":"<equation"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n"+t+"\n</equation>"},u.$olist=function(e){var o,n,d,i=this,t=f,l=f,u=f;return t=[],l=function(){return(o=e.$style())===f||o._isBoolean&&1!=o?f:' numeration="'+e.$style()+'"'}(),u=function(){return(o=e["$attr?"]("start"))===f||o._isBoolean&&1!=o?f:' startingnumber="'+e.$attr("start")+'"'}(),t["$<<"]("<orderedlist"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+l+u+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||t["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),t["$<<"]("<listitem>"),t["$<<"]("<simpara>"+e.$text()+"</simpara>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||t["$<<"](e.$content()),t["$<<"]("</listitem>")},d._s=i,d),o).call(n),t["$<<"]("</orderedlist>"),t["$*"](s.EOL)},u.$open=function(e){var o,n,d,i=this,t=f;return function(){return t=e.$style(),"abstract"["$==="](t)?(o=(n=e.$parent()["$=="](e.$document()))?e.$document()["$attr?"]("doctype","book"):n)===f||o._isBoolean&&1!=o?"<abstract>\n"+i.$title_tag(e)+i.$resolve_content(e)+"\n</abstract>":(i.$warn("asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content."),""):"partintro"["$==="](t)?(n=(d=e.$level()["$=="](0))?e.$parent().$context()["$=="]("section"):d,(o=n!==!1&&n!==f?e.$document().$doctype()["$=="]("book"):n)===f||o._isBoolean&&1!=o?(i.$warn("asciidoctor: ERROR: partintro block can only be used when doctype is book and it's a child of a part section. Excluding block content."),""):"<partintro"+i.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+i.$title_tag(e)+i.$resolve_content(e)+"\n</partintro>"):e.$content()}()},u.$page_break=function(){return"<simpara><?asciidoc-pagebreak?></simpara>"},u.$paragraph=function(e){var o,n=this;return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"<simpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"+e.$content()+"</simpara>":"<formalpara"+n.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n<title>"+e.$title()+"</title>\n<para>"+e.$content()+"</para>\n</formalpara>"},u.$preamble=function(e){var o=this;return e.$document().$doctype()["$=="]("book")?"<preface"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e,!1)+e.$content()+"\n</preface>":e.$content()},u.$quote=function(e){var o,n,d=this,i=f;return i=[],i["$<<"]("<blockquote"+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||i["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e["$attr?"]("attribution"))!==!1&&n!==f?n:e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||(i["$<<"]("<attribution>"),(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o||i["$<<"](e.$attr("attribution")),(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||i["$<<"]("<citetitle>"+e.$attr("citetitle")+"</citetitle>"),i["$<<"]("</attribution>")),i["$<<"](d.$resolve_content(e)),i["$<<"]("</blockquote>"),i["$*"](s.EOL)},u.$thematic_break=function(){return"<simpara><?asciidoc-hr?></simpara>"},u.$sidebar=function(e){var o=this;return"<sidebar"+o.$common_attributes(e.$id(),e.$role(),e.$reftext())+">\n"+o.$title_tag(e)+o.$resolve_content(e)+"\n</sidebar>"},e.cdecl(s,"TABLE_PI_NAMES",["dbhtml","dbfo","dblatex"]),e.cdecl(s,"TABLE_SECTIONS",["head","foot","body"]),u.$table=function(e){var o,n,d,i,t,l,u,p,r,y,a=this,c=f,b=f,w=f,g=f,m=f;return c=!1,b=[],w=function(){return(o=e["$option?"]("pgwide"))===f||o._isBoolean&&1!=o?f:' pgwide="1"'}(),b["$<<"]("<"+(g=function(){return(o=e["$title?"]())===f||o._isBoolean&&1!=o?"informaltable":"table"}())+a.$common_attributes(e.$id(),e.$role(),e.$reftext())+w+' frame="'+e.$attr("frame","all")+'" rowsep="'+function(){return(o=["none","cols"]["$include?"](e.$attr("grid")))===f||o._isBoolean&&1!=o?1:0}()+'" colsep="'+function(){return(o=["none","rows"]["$include?"](e.$attr("grid")))===f||o._isBoolean&&1!=o?1:0}()+'">'),g["$=="]("table")&&b["$<<"]("<title>"+e.$title()+"</title>"),(o=m=function(){return(n=e["$attr?"]("width"))===f||n._isBoolean&&1!=n?f:e.$attr("width")}())===f||o._isBoolean&&1!=o||(o=(n=s.TABLE_PI_NAMES).$each,o._p=(d=function(e){return d._s||this,null==e&&(e=f),b["$<<"]("<?"+e+' table-width="'+m+'"?>')},d._s=a,d),o).call(n),b["$<<"]('<tgroup cols="'+e.$attr("colcount")+'">'),(o=(i=e.$columns()).$each,o._p=(t=function(e){return t._s||this,null==e&&(e=f),b["$<<"]('<colspec colname="col_'+e.$attr("colnumber")+'" colwidth="'+e.$attr(function(){return m!==!1&&m!==f?"colabswidth":"colpcwidth"}())+'*"/>')},t._s=a,t),o).call(i),(o=(l=(p=(r=s.TABLE_SECTIONS).$select,p._p=(y=function(o){return y._s||this,null==o&&(o=f),e.$rows()["$[]"](o)["$empty?"]()["$!"]()},y._s=a,y),p).call(r)).$each,o._p=(u=function(o){var n,d,i,t=u._s||this;return null==o&&(o=f),o["$=="]("body")&&(c=!0),b["$<<"]("<t"+o+">"),(n=(d=e.$rows()["$[]"](o)).$each,n._p=(i=function(n){var d,t,l,u=i._s||this;return null==n&&(n=f),b["$<<"]("<row>"),(d=(t=n).$each,d._p=(l=function(n){var d,i,t,u,s,p=l._s||this,r=f,y=f,a=f,c=f,w=f,g=f,m=f,x=f,j=f;return null==n&&(n=f),r=function(){return(d=n["$attr?"]("halign"))===f||d._isBoolean&&1!=d?f:' align="'+n.$attr("halign")+'"'}(),y=function(){return(d=n["$attr?"]("valign"))===f||d._isBoolean&&1!=d?f:' valign="'+n.$attr("valign")+'"'}(),a=function(){return(d=n.$colspan())===f||d._isBoolean&&1!=d?f:' namest="col_'+(c=n.$column().$attr("colnumber"))+'" nameend="col_'+c["$+"](n.$colspan())["$-"](1)+'"'}(),w=function(){return(d=n.$rowspan())===f||d._isBoolean&&1!=d?f:' morerows="'+n.$rowspan()["$-"](1)+'"'}(),g="<entry"+r+y+a+w+">",m=function(){return o["$=="]("head")?n.$text():function(){return x=n.$style(),"asciidoc"["$==="](x)?n.$content():"verse"["$==="](x)?"<literallayout>"+n.$text()+"</literallayout>":"literal"["$==="](x)?'<literallayout class="monospaced">'+n.$text()+"</literallayout>":"header"["$==="](x)?(d=(i=n.$content()).$map,d._p=(t=function(e){return t._s||this,null==e&&(e=f),'<simpara><emphasis role="strong">'+e+"</emphasis></simpara>"},t._s=p,t),d).call(i).$join():(d=(u=n.$content()).$map,d._p=(s=function(e){return s._s||this,null==e&&(e=f),"<simpara>"+e+"</simpara>"},s._s=p,s),d).call(u).$join()}()}(),j=function(){return(d=e.$document()["$attr?"]("cellbgcolor"))===f||d._isBoolean&&1!=d?"</entry>":'<?dbfo bgcolor="'+e.$document().$attr("cellbgcolor")+'"?></entry>'}(),b["$<<"](""+g+m+j)},l._s=u,l),d).call(t),b["$<<"]("</row>")},i._s=t,i),n).call(d),b["$<<"]("</t"+o+">")},u._s=a,u),o).call(l),b["$<<"]("</tgroup>"),b["$<<"]("</"+g+">"),c!==!1&&c!==f||a.$warn("asciidoctor: WARNING: tables must have at least one body row"),b["$*"](s.EOL)},e.defn(l,"$toc",u.$skip),u.$ulist=function(e){var o,n,d,i,t,l=this,u=f,p=f,r=f,y=f;return u=[],e.$style()["$=="]("bibliography")?(u["$<<"]("<bibliodiv"+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e.$items()).$each,o._p=(d=function(e){var o;return d._s||this,null==e&&(e=f),u["$<<"]("<bibliomixed>"),u["$<<"]("<bibliomisc>"+e.$text()+"</bibliomisc>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||u["$<<"](e.$content()),u["$<<"]("</bibliomixed>")},d._s=l,d),o).call(n),u["$<<"]("</bibliodiv>")):(p=function(){return(o=r=e["$option?"]("checklist"))===f||o._isBoolean&&1!=o?e.$style():"none"}(),y=function(){return p!==!1&&p!==f?' mark="'+p+'"':f}(),u["$<<"]("<itemizedlist"+l.$common_attributes(e.$id(),e.$role(),e.$reftext())+y+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||u["$<<"]("<title>"+e.$title()+"</title>"),(o=(i=e.$items()).$each,o._p=(t=function(e){var o,n,d=(t._s||this,f);return null==e&&(e=f),d=function(){return(o=(n=r!==!1&&r!==f)?e["$attr?"]("checkbox"):n)===f||o._isBoolean&&1!=o?f:(o=e["$attr?"]("checked"))===f||o._isBoolean&&1!=o?"&#10063; ":"&#10003; "}(),u["$<<"]("<listitem>"),u["$<<"]("<simpara>"+d+e.$text()+"</simpara>"),(o=e["$blocks?"]())===f||o._isBoolean&&1!=o||u["$<<"](e.$content()),u["$<<"]("</listitem>")},t._s=l,t),o).call(i),u["$<<"]("</itemizedlist>")),u["$*"](s.EOL)},u.$verse=function(e){var o,n,d=this,i=f;return i=[],i["$<<"]("<blockquote"+d.$common_attributes(e.$id(),e.$role(),e.$reftext())+">"),(o=e["$title?"]())===f||o._isBoolean&&1!=o||i["$<<"]("<title>"+e.$title()+"</title>"),(o=(n=e["$attr?"]("attribution"))!==!1&&n!==f?n:e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||(i["$<<"]("<attribution>"),(o=e["$attr?"]("attribution"))===f||o._isBoolean&&1!=o||i["$<<"](e.$attr("attribution")),(o=e["$attr?"]("citetitle"))===f||o._isBoolean&&1!=o||i["$<<"]("<citetitle>"+e.$attr("citetitle")+"</citetitle>"),i["$<<"]("</attribution>")),i["$<<"]("<literallayout>"+e.$content()+"</literallayout>"),i["$<<"]("</blockquote>"),i["$*"](s.EOL)},e.defn(l,"$video",u.$skip),u.$inline_anchor=function(e){var o,n=this,d=f,i=f,t=f;return function(){return d=e.$type(),"ref"["$==="](d)?"<anchor"+n.$common_attributes(e.$target(),f,e.$text())+"/>":"xref"["$==="](d)?(o=e["$attr?"]("path",f))===f||o._isBoolean&&1!=o?'<link xlink:href="'+n.$target()+'">'+((o=e.$text())!==!1&&o!==f?o:e.$attr("path"))+"</link>":(i=(o=e.$attr("fragment"))!==!1&&o!==f?o:e.$target(),(o=t=e.$text())===f||o._isBoolean&&1!=o?'<xref linkend="'+i+'"/>':'<link linkend="'+i+'">'+t+"</link>"):"link"["$==="](d)?'<link xlink:href="'+e.$target()+'">'+e.$text()+"</link>":"bibref"["$==="](d)?"<anchor"+n.$common_attributes(e.$target(),f,"["+e.$target()+"]")+"/>["+e.$target()+"]":n.$warn("asciidoctor: WARNING: unknown anchor type: "+e.$type().$inspect())}()},u.$inline_break=function(e){return""+e.$text()+"<?asciidoc-br?>"},u.$inline_button=function(e){return"<guibutton>"+e.$text()+"</guibutton>"},u.$inline_callout=function(e){var o=this;return"<co"+o.$common_attributes(e.$id())+"/>"},u.$inline_footnote=function(e){var o=this;return e.$type()["$=="]("xref")?'<footnoteref linkend="'+e.$target()+'"/>':"<footnote"+o.$common_attributes(e.$id())+"><simpara>"+e.$text()+"</simpara></footnote>"},u.$inline_image=function(e){var o,n=f,d=f;return n=function(){return(o=e["$attr?"]("width"))===f||o._isBoolean&&1!=o?f:' contentwidth="'+e.$attr("width")+'"'}(),d=function(){return(o=e["$attr?"]("height"))===f||o._isBoolean&&1!=o?f:' contentdepth="'+e.$attr("height")+'"'}(),'<inlinemediaobject>\n<imageobject>\n<imagedata fileref="'+function(){return e.$type()["$=="]("icon")?e.$icon_uri(e.$target()):e.$image_uri(e.$target())}()+'"'+n+d+"/>\n</imageobject>\n<textobject><phrase>"+e.$attr("alt")+"</phrase></textobject>\n</inlinemediaobject>"},u.$inline_indexterm=function(e){var o=f,n=f,d=f;return e.$type()["$=="]("visible")?"<indexterm><primary>"+e.$text()+"</primary></indexterm>"+e.$text():(o=e.$attr("terms"),n=[],(d=o.$size())["$>"](2)&&n["$<<"]("<indexterm>\n<primary>"+o["$[]"](0)+"</primary><secondary>"+o["$[]"](1)+"</secondary><tertiary>"+o["$[]"](2)+"</tertiary>\n</indexterm>"),d["$>"](1)&&n["$<<"]("<indexterm>\n<primary>"+o["$[]"](-2)+"</primary><secondary>"+o["$[]"](-1)+"</secondary>\n</indexterm>"),n["$<<"]("<indexterm>\n<primary>"+o["$[]"](-1)+"</primary>\n</indexterm>"),n["$*"](s.EOL))},u.$inline_kbd=function(e){var o,n,d,i=this,t=f,l=f;return(t=e.$attr("keys")).$size()["$=="](1)?"<keycap>"+t["$[]"](0)+"</keycap>":(l=(o=(n=t).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),"<keycap>"+e+"</keycap>"},d._s=i,d),o).call(n).$join(),"<keycombo>"+l+"</keycombo>")},u.$inline_menu=function(e){var o,n,d,i=this,t=f,l=f,u=f,s=f;return t=e.$attr("menu"),(o=(l=e.$attr("submenus"))["$empty?"]()["$!"]())===f||o._isBoolean&&1!=o?(o=s=e.$attr("menuitem"))===f||o._isBoolean&&1!=o?"<guimenu>"+t+"</guimenu>":"<menuchoice><guimenu>"+t+"</guimenu> <guimenuitem>"+s+"</guimenuitem></menuchoice>":(u=(o=(n=l).$map,o._p=(d=function(e){return d._s||this,null==e&&(e=f),"<guisubmenu>"+e+"</guisubmenu> "},d._s=i,d),o).call(n).$join().$chop(),"<menuchoice><guimenu>"+t+"</guimenu> "+u+" <guimenuitem>"+e.$attr("menuitem")+"</guimenuitem></menuchoice>")},e.cdecl(s,"QUOTE_TAGS",i(["emphasis","strong","monospaced","superscript","subscript","double","single","mark"],{emphasis:["<emphasis>","</emphasis>",!0],strong:['<emphasis role="strong">',"</emphasis>",!0],monospaced:["<literal>","</literal>",!1],superscript:["<superscript>","</superscript>",!1],subscript:["<subscript>","</subscript>",!1],"double":["&#8220;","&#8221;",!0],single:["&#8216;","&#8217;",!0],mark:['<emphasis role="marked">',"</emphasis>",!1]})),s.QUOTE_TAGS["$default="]([f,f,!0]),u.$inline_quoted=function(o){var n,d=this,i=f,t=f,l=f,u=f,p=f,r=f,y=f;return(i=o.$type())["$=="]("latexmath")?"<inlineequation>\n<alt><![CDATA["+o.$text()+"]]></alt>\n<inlinemediaobject><textobject><phrase><![CDATA["+o.$text()+"]]></phrase></textobject></inlinemediaobject>\n</inlineequation>":(n=e.to_ary(s.QUOTE_TAGS["$[]"](i)),t=null==n[0]?f:n[0],l=null==n[1]?f:n[1],u=null==n[2]?f:n[2],p=o.$text(),y=(n=r=o.$role())===f||n._isBoolean&&1!=n?""+t+p+l:u!==!1&&u!==f?""+t+'<phrase role="'+r+'">'+p+"</phrase>"+l:""+t.$chop()+' role="'+r+'">'+p+l,(n=o.$id())===f||n._isBoolean&&1!=n?y:"<anchor"+d.$common_attributes(o.$id(),f,p)+"/>"+y)},u.$author_element=function(e,o){var n,d=f,i=f,t=f,l=f,u=f;return null==o&&(o=f),d=function(){return o!==!1&&o!==f?"firstname_"+o:"firstname"}(),i=function(){return o!==!1&&o!==f?"middlename_"+o:"middlename"}(),t=function(){return o!==!1&&o!==f?"lastname_"+o:"lastname"}(),l=function(){return o!==!1&&o!==f?"email_"+o:"email"}(),u=[],u["$<<"]("<author>"),u["$<<"]("<personname>"),(n=e["$attr?"](d))===f||n._isBoolean&&1!=n||u["$<<"]("<firstname>"+e.$attr(d)+"</firstname>"),(n=e["$attr?"](i))===f||n._isBoolean&&1!=n||u["$<<"]("<othername>"+e.$attr(i)+"</othername>"),(n=e["$attr?"](t))===f||n._isBoolean&&1!=n||u["$<<"]("<surname>"+e.$attr(t)+"</surname>"),u["$<<"]("</personname>"),(n=e["$attr?"](l))===f||n._isBoolean&&1!=n||u["$<<"]("<email>"+e.$attr(l)+"</email>"),u["$<<"]("</author>"),u["$*"](s.EOL)},u.$common_attributes=function(e,o,n){var d=f;return null==o&&(o=f),null==n&&(n=f),d=function(){return e!==!1&&e!==f?' xml:id="'+e+'"':""}(),o!==!1&&o!==f&&(d=""+d+' role="'+o+'"'),n!==!1&&n!==f&&(d=""+d+' xreflabel="'+n+'"'),d},u.$doctype_declaration=function(){return f},u.$document_info_element=function(e,o,n){var d,t,l,u,p,r=this,y=f,a=f,c=f;return null==n&&(n=!1),n!==!1&&n!==f||(o=""),y=[],y["$<<"]("<"+o+"info>"),((d=e.$notitle())===f||d._isBoolean&&1!=d)&&y["$<<"](r.$document_title_tags(e.$doctitle(i(["partition","use_fallback"],{partition:!0,use_fallback:!0})))),y["$<<"]("<date>"+function(){return e.$attr((d=e["$attr?"]("revdate"))===f||d._isBoolean&&1!=d?"docdate":"revdate")}()+"</date>"),(d=e["$has_header?"]())===f||d._isBoolean&&1!=d||((d=e["$attr?"]("author"))===f||d._isBoolean&&1!=d||((a=e.$attr("authorcount").$to_i())["$<"](2)?(y["$<<"](r.$author_element(e)),(d=e["$attr?"]("authorinitials"))===f||d._isBoolean&&1!=d||y["$<<"]("<authorinitials>"+e.$attr("authorinitials")+"</authorinitials>")):(y["$<<"]("<authorgroup>"),(d=(t=a).$times,d._p=(l=function(o){var n=l._s||this;return null==o&&(o=f),y["$<<"](n.$author_element(e,o["$+"](1)))},l._s=r,l),d).call(t),y["$<<"]("</authorgroup>"))),u=e["$attr?"]("revdate"),(d=u!==!1&&u!==f?(p=e["$attr?"]("revnumber"))!==!1&&p!==f?p:e["$attr?"]("revremark"):u)===f||d._isBoolean&&1!=d||(y["$<<"]("<revhistory>\n<revision>"),(d=e["$attr?"]("revnumber"))===f||d._isBoolean&&1!=d||y["$<<"]("<revnumber>"+e.$attr("revnumber")+"</revnumber>"),(d=e["$attr?"]("revdate"))===f||d._isBoolean&&1!=d||y["$<<"]("<date>"+e.$attr("revdate")+"</date>"),(d=e["$attr?"]("authorinitials"))===f||d._isBoolean&&1!=d||y["$<<"]("<authorinitials>"+e.$attr("authorinitials")+"</authorinitials>"),(d=e["$attr?"]("revremark"))===f||d._isBoolean&&1!=d||y["$<<"]("<revremark>"+e.$attr("revremark")+"</revremark>"),y["$<<"]("</revision>\n</revhistory>")),((d=(c=e.$docinfo("header"))["$empty?"]())===f||d._isBoolean&&1!=d)&&y["$<<"](c),(d=e["$attr?"]("orgname"))===f||d._isBoolean&&1!=d||y["$<<"]("<orgname>"+e.$attr("orgname")+"</orgname>")),y["$<<"]("</"+o+"info>"),e.$doctype()["$=="]("manpage")&&(y["$<<"]("<refmeta>"),(d=e["$attr?"]("mantitle"))===f||d._isBoolean&&1!=d||y["$<<"]("<refentrytitle>"+e.$attr("mantitle")+"</refentrytitle>"),(d=e["$attr?"]("manvolnum"))===f||d._isBoolean&&1!=d||y["$<<"]("<manvolnum>"+e.$attr("manvolnum")+"</manvolnum>"),y["$<<"]("</refmeta>"),y["$<<"]("<refnamediv>"),(d=e["$attr?"]("manname"))===f||d._isBoolean&&1!=d||y["$<<"]("<refname>"+e.$attr("manname")+"</refname>"),(d=e["$attr?"]("manpurpose"))===f||d._isBoolean&&1!=d||y["$<<"]("<refpurpose>"+e.$attr("manpurpose")+"</refpurpose>"),y["$<<"]("</refnamediv>")),y["$*"](s.EOL)},u.$document_ns_attributes=function(){return' xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"'},u.$lang_attribute_name=function(){return"xml:lang"},u.$document_title_tags=function(e){var o;return(o=e["$subtitle?"]())===f||o._isBoolean&&1!=o?"<title>"+e+"</title>":"<title>"+e.$main()+"</title>\n<subtitle>"+e.$subtitle()+"</subtitle>"},u.$resolve_content=function(e){return e.$content_model()["$=="]("compound")?e.$content():"<simpara>"+e.$content()+"</simpara>"},u.$title_tag=function(e,o){var n,d;return null==o&&(o=!0),(n=(d=o["$!"]())!==!1&&d!==f?d:e["$title?"]())===f||n._isBoolean&&1!=n?f:"<title>"+e.$title()+"</title>\n"},f&&"title_tag"}(l.Converter,l.Converter._scope.BuiltIn)}(o)}(f)}},{"opal-npm-wrapper":117}],8:[function(e,o,f){o.exports=function(o){var f=o||e("opal-npm-wrapper").Opal;!function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module,t=e.klass,l=e.hash2,u=e.range,s=e.hash;return function(o){var p=i(o,"Asciidoctor");p._proto,p._scope,!function(o){var p=i(o,"Extensions"),r=(p._proto,p._scope);!function(o,n){function i(){}var u,s,p,r=i=t(o,n,"Processor",i),y=r._proto,a=r._scope;return y.config=f,function(e){return e._scope,e._proto,e._proto.$config=function(){var e,o=this;return null==o.config&&(o.config=f),(e=o.config)!==!1&&e!==f?e:o.config=l([],{})},e._proto.$option=function(e,o){var f=this;return f.$config()["$[]="](e,o)},e._proto.$use_dsl=function(){var e,o=this;return(e=o.$name()["$nil_or_empty?"]())===f||e._isBoolean&&1!=e?(e=o.$constants().$grep("DSL"))===f||e._isBoolean&&1!=e?f:o.$extend(o.$const_get("DSL")):(e=o.$constants().$grep("DSL"))===f||e._isBoolean&&1!=e?f:o.$include(o.$const_get("DSL"))},e._proto.$extend_dsl=e._proto.$use_dsl,e._proto.$include_dsl=e._proto.$use_dsl}(r.$singleton_class()),r.$attr_reader("config"),y.$initialize=function(e){var o=this;return null==e&&(e=l([],{})),o.config=o.$class().$config().$merge(e)},y.$update_config=function(e){var o=this;return o.config.$update(e)},y.$process=function(o){var f,n=this;return o=d.call(arguments,0),n.$raise(null==(f=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):f)},y.$create_block=function(e,o,f,n,d){return null==d&&(d=l([],{})),a.Block.$new(e,o,l(["source","attributes"],{source:f,attributes:n}).$merge(d))},y.$create_image_block=function(e,o,n){var d=this;return null==n&&(n=l([],{})),d.$create_block(e,"image",f,o,n)},y.$create_inline=function(e,o,f,n){return null==n&&(n=l([],{})),a.Inline.$new(e,o,f,n)},y.$parse_content=function(e,o,n){var d,i,t=f,u=f;for(null==n&&(n=l([],{})),t=function(){return(d=o["$is_a?"](a.Reader))===f||d._isBoolean&&1!=d?a.Reader.$new(o):t}();(i=t["$has_more_lines?"]())!==f&&(!i._isBoolean||1==i);)u=a.Parser.$next_block(t,e,n),u!==!1&&u!==f&&e["$<<"](u);return f},(u=(s=[["create_paragraph","create_block","paragraph"],["create_open_block","create_block","open"],["create_example_block","create_block","example"],["create_pass_block","create_block","pass"],["create_listing_block","create_block","listing"],["create_literal_block","create_block","literal"],["create_anchor","create_inline","anchor"]]).$each,u._p=(p=function(e,o,n){var i,t,l,u=p._s||this;return null==e&&(e=f),null==o&&(o=f),null==n&&(n=f),(i=(t=u).$define_method,i._p=(l=function(e){var f,i=l._s||this;return e=d.call(arguments,0),(f=i).$send.apply(f,[o].concat(e.$dup().$insert(1,n)))},l._s=u,l),i).call(t,e)},p._s=r,p),u).call(s)}(p,null),function(o){var n,t=i(o,"ProcessorDsl"),l=t._proto;t._scope,l.$option=function(e,o){var f=this;return f.$config()["$[]="](e,o)},l.$process=n=function(o){var i,t,l=this,u=n._p,s=u||f;return null==l.process_block&&(l.process_block=f),o=d.call(arguments,0),n._p=null,s!==f?l.process_block=s:(i=l.process_block)===f||i._isBoolean&&1!=i?l.$raise(null==(t=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):t):(i=l.process_block).$call.apply(i,[].concat(o))},l["$process_block_given?"]=function(){var e,o=this;return e=o.process_block,null!=e&&e!==f?"instance-variable":f},e.donate(t,["$option","$process","$process_block_given?"])}(p),function(o,n){function d(){}var i=d=t(o,n,"Preprocessor",d),l=i._proto;return i._scope,l.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o);
  },f&&"process"}(p,r.Processor),e.casgn(r.Preprocessor,"DSL",r.ProcessorDsl),function(o,n){function d(){}var i=d=t(o,n,"Treeprocessor",d),l=i._proto;return i._scope,l.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"process"}(p,r.Processor),e.casgn(r.Treeprocessor,"DSL",r.ProcessorDsl),function(o,n){function d(){}var i=d=t(o,n,"Postprocessor",d),l=i._proto;return i._scope,l.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"process"}(p,r.Processor),e.casgn(r.Postprocessor,"DSL",r.ProcessorDsl),function(o,n){function d(){}var i=d=t(o,n,"IncludeProcessor",d),l=i._proto;return i._scope,l.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},l["$handles?"]=function(){return!0},f&&"handles?"}(p,r.Processor),e.casgn(r.IncludeProcessor,"DSL",r.ProcessorDsl),function(o,n){function d(){}var i,u=d=t(o,n,"DocinfoProcessor",d),s=u._proto;return u._scope,s.config=f,u.$attr_accessor("location"),s.$initialize=i=function(o){var n,d,t,u=this;return i._p,null==o&&(o=l([],{})),i._p=null,e.find_super_dispatcher(u,"initialize",i,null).apply(u,[o]),n="location",d=u.config,(t=d["$[]"](n))!==!1&&t!==f?t:d["$[]="](n,"header")},s.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"process"}(p,r.Processor),function(o){var f=i(o,"DocinfoProcessorDsl"),n=f._proto,d=f._scope;f.$include(d.ProcessorDsl),n.$at_location=function(e){var o=this;return o.$option("location",e)},e.donate(f,["$at_location"])}(p),e.casgn(r.DocinfoProcessor,"DSL",r.DocinfoProcessorDsl),function(o,n){function d(){}var i,u=d=t(o,n,"BlockProcessor",d),s=u._proto;return u._scope,s.config=f,u.$attr_accessor("name"),s.$initialize=i=function(o,n){var d,t,u,s=this,p=(i._p,f);return null==o&&(o=f),null==n&&(n=l([],{})),i._p=null,e.find_super_dispatcher(s,"initialize",i,null).apply(s,[n]),s.name=(d=o)!==!1&&d!==f?d:s.config["$[]"]("name"),p=s.config["$[]"]("contexts"),(null==(d=e.Object._scope.NilClass)?e.cm("NilClass"):d)["$==="](p)?(d="contexts",t=s.config,(u=t["$[]"](d))!==!1&&u!==f?u:t["$[]="](d,["open","paragraph"].$to_set())):(null==(d=e.Object._scope.Symbol)?e.cm("Symbol"):d)["$==="](p)?s.config["$[]="]("contexts",[s.config["$[]"]("contexts")].$to_set()):s.config["$[]="]("contexts",s.config["$[]"]("contexts").$to_set()),d="content_model",t=s.config,(u=t["$[]"](d))!==!1&&u!==f?u:t["$[]="](d,"compound")},s.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"process"}(p,r.Processor),function(o){var n=i(o,"BlockProcessorDsl"),t=n._proto,l=n._scope;n.$include(l.ProcessorDsl),t.$named=function(e){var o,n=this;return(o=n["$is_a?"](l.Processor))===f||o._isBoolean&&1!=o?n.$option("name",e):n.name=e},e.defn(n,"$match_name",t.$named),e.defn(n,"$bind_to",t.$named),t.$contexts=function(e){var o=this;return e=d.call(arguments,0),o.$option("contexts",e.$flatten())},e.defn(n,"$on_contexts",t.$contexts),e.defn(n,"$on_context",t.$contexts),t.$content_model=function(e){var o=this;return o.$option("content_model",e)},e.defn(n,"$parse_content_as",t.$content_model),t.$positional_attributes=function(e){var o=this;return e=d.call(arguments,0),o.$option("pos_attrs",e.$flatten())},e.defn(n,"$pos_attrs",t.$positional_attributes),e.defn(n,"$name_attributes",t.$positional_attributes),e.defn(n,"$name_positional_attributes",t.$positional_attributes),t.$default_attrs=function(e){var o=this;return o.$option("default_attrs",e)},e.defn(n,"$seed_attributes_with",t.$default_attrs),e.donate(n,["$named","$match_name","$bind_to","$contexts","$on_contexts","$on_context","$content_model","$parse_content_as","$positional_attributes","$pos_attrs","$name_attributes","$name_positional_attributes","$default_attrs","$seed_attributes_with"])}(p),e.casgn(r.BlockProcessor,"DSL",r.BlockProcessorDsl),function(o,n){function d(){}var i,u=d=t(o,n,"MacroProcessor",d),s=u._proto;return u._scope,s.config=f,u.$attr_accessor("name"),s.$initialize=i=function(o,n){var d,t,u,s=this;return i._p,null==o&&(o=f),null==n&&(n=l([],{})),i._p=null,e.find_super_dispatcher(s,"initialize",i,null).apply(s,[n]),s.name=(d=o)!==!1&&d!==f?d:s.config["$[]"]("name"),d="content_model",t=s.config,(u=t["$[]"](d))!==!1&&u!==f?u:t["$[]="](d,"attributes")},s.$process=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"process"}(p,r.Processor),function(o){var n=i(o,"MacroProcessorDsl"),t=n._proto,l=n._scope;n.$include(l.ProcessorDsl),t.$named=function(e){var o,n=this;return(o=n["$is_a?"](l.Processor))===f||o._isBoolean&&1!=o?n.$option("name",e):n.name=e},e.defn(n,"$match_name",t.$named),e.defn(n,"$bind_to",t.$named),t.$content_model=function(e){var o=this;return o.$option("content_model",e)},e.defn(n,"$parse_content_as",t.$content_model),t.$positional_attributes=function(e){var o=this;return e=d.call(arguments,0),o.$option("pos_attrs",e.$flatten())},e.defn(n,"$pos_attrs",t.$positional_attributes),e.defn(n,"$name_attributes",t.$positional_attributes),e.defn(n,"$name_positional_attributes",t.$positional_attributes),t.$default_attrs=function(e){var o=this;return o.$option("default_attrs",e)},e.defn(n,"$seed_attributes_with",t.$default_attrs),e.donate(n,["$named","$match_name","$bind_to","$content_model","$parse_content_as","$positional_attributes","$pos_attrs","$name_attributes","$name_positional_attributes","$default_attrs","$seed_attributes_with"])}(p),function(e,o){function n(){}var d=n=t(e,o,"BlockMacroProcessor",n);return d._proto,d._scope,f}(p,r.MacroProcessor),e.casgn(r.BlockMacroProcessor,"DSL",r.MacroProcessorDsl),function(o,n){function i(){}var u,s=i=t(o,n,"InlineMacroProcessor",i),p=s._proto;return s._scope,p.config=p.name=f,p.$initialize=u=function(o,n){var i,t,s,p=d.call(arguments,0),r=this,y=u._p;return null==n&&(n=l([],{})),u._p=null,e.find_super_dispatcher(r,"initialize",u,y).apply(r,p),i="regexp",t=r.config,(s=t["$[]"](i))!==!1&&s!==f?s:t["$[]="](i,r.$resolve_regexp(r.name,r.config["$[]"]("format")))},p.$resolve_regexp=function(e,o){return new RegExp(o["$=="]("short")?"\\\\?"+e+":\\[((?:\\\\\\]|[^\\]])*?)\\]":"\\\\?"+e+":(\\S+?)\\[((?:\\\\\\]|[^\\]])*?)\\]")},f&&"resolve_regexp"}(p,r.MacroProcessor),function(o){var f=i(o,"InlineMacroProcessorDsl"),n=f._proto,d=f._scope;f.$include(d.MacroProcessorDsl),n.$using_format=function(e){var o=this;return o.$option("format",e)},n.$match=function(e){var o=this;return o.$option("regexp",e)},e.donate(f,["$using_format","$match"])}(p),e.casgn(r.InlineMacroProcessor,"DSL",r.InlineMacroProcessorDsl),function(e,o){function n(){}var d=n=t(e,o,"Extension",n),i=d._proto;return d._scope,d.$attr("kind"),d.$attr("config"),d.$attr("instance"),i.$initialize=function(e,o,f){var n=this;return n.kind=e,n.instance=o,n.config=f},f&&"initialize"}(p,null),function(o,n){function d(){}var i,l=d=t(o,n,"ProcessorExtension",d),u=l._proto;return l._scope,l.$attr("process_method"),u.$initialize=i=function(o,n,d){var t,l=this;return i._p,null==d&&(d=f),i._p=null,e.find_super_dispatcher(l,"initialize",i,null).apply(l,[o,n,n.$config()]),l.process_method=(t=d)!==!1&&t!==f?t:n.$method("process")},f&&"initialize"}(p,r.Extension),function(o,n){function d(){}var i=d=t(o,n,"Group",d),l=i._proto;return i._scope,function(e){var o=e._scope;return e._proto,e._proto.$register=function(e){var n=this;return null==e&&(e=f),o.Extensions.$register(e,n)},f&&"register"}(i.$singleton_class()),l.$activate=function(){var o,f=this;return f.$raise(null==(o=e.Object._scope.NotImplementedError)?e.cm("NotImplementedError"):o)},f&&"activate"}(p,null),function(o,i){function s(){}var p,r,y,a,c,b,w,g,m,x,j=s=t(o,i,"Registry",s),k=j._proto,v=j._scope;return k.groups=k.preprocessor_extensions=k.treeprocessor_extensions=k.postprocessor_extensions=k.include_processor_extensions=k.docinfo_processor_extensions=k.block_extensions=k.block_macro_extensions=k.inline_macro_extensions=f,j.$attr_reader("document"),j.$attr_reader("groups"),k.$initialize=function(e){var o=this;return null==e&&(e=l([],{})),o.groups=e,o.preprocessor_extensions=o.treeprocessor_extensions=o.postprocessor_extensions=o.include_processor_extensions=o.docinfo_processor_extensions=f,o.block_extensions=o.block_macro_extensions=o.inline_macro_extensions=f,o.document=f},k.$activate=function(o){var n,d,i,t=this;return t.document=o,(n=(d=v.Extensions.$groups().$values()["$+"](t.groups.$values())).$each,n._p=(i=function(o){var n,d,t=i._s||this,l=f;return null==o&&(o=f),function(){return l=o,(null==(n=e.Object._scope.Proc)?e.cm("Proc"):n)["$==="](l)?function(){return l=o.$arity(),0["$==="](l)||(-1)["$==="](l)?(n=(d=t).$instance_exec,n._p=o.$to_proc(),n).call(d):1["$==="](l)?o.$call(t):f}():(null==(n=e.Object._scope.Class)?e.cm("Class"):n)["$==="](l)?o.$new().$activate(t):o.$activate(t)}()},i._s=t,i),n).call(d),t},k.$preprocessor=p=function(e){var o,n,i=this,t=p._p,l=t||f;return e=d.call(arguments,0),p._p=null,(o=(n=i).$add_document_processor,o._p=l.$to_proc(),o).call(n,"preprocessor",e)},k["$preprocessors?"]=function(){var e=this;return e.preprocessor_extensions["$!"]()["$!"]()},k.$preprocessors=function(){var e=this;return e.preprocessor_extensions},k.$treeprocessor=r=function(e){var o,n,i=this,t=r._p,l=t||f;return e=d.call(arguments,0),r._p=null,(o=(n=i).$add_document_processor,o._p=l.$to_proc(),o).call(n,"treeprocessor",e)},k["$treeprocessors?"]=function(){var e=this;return e.treeprocessor_extensions["$!"]()["$!"]()},k.$treeprocessors=function(){var e=this;return e.treeprocessor_extensions},k.$postprocessor=y=function(e){var o,n,i=this,t=y._p,l=t||f;return e=d.call(arguments,0),y._p=null,(o=(n=i).$add_document_processor,o._p=l.$to_proc(),o).call(n,"postprocessor",e)},k["$postprocessors?"]=function(){var e=this;return e.postprocessor_extensions["$!"]()["$!"]()},k.$postprocessors=function(){var e=this;return e.postprocessor_extensions},k.$include_processor=a=function(e){var o,n,i=this,t=a._p,l=t||f;return e=d.call(arguments,0),a._p=null,(o=(n=i).$add_document_processor,o._p=l.$to_proc(),o).call(n,"include_processor",e)},k["$include_processors?"]=function(){var e=this;return e.include_processor_extensions["$!"]()["$!"]()},k.$include_processors=function(){var e=this;return e.include_processor_extensions},k.$docinfo_processor=c=function(e){var o,n,i=this,t=c._p,l=t||f;return e=d.call(arguments,0),c._p=null,(o=(n=i).$add_document_processor,o._p=l.$to_proc(),o).call(n,"docinfo_processor",e)},k["$docinfo_processors?"]=function(e){var o,n,d,i=this;return null==e&&(e=f),(o=i.docinfo_processor_extensions)===f||o._isBoolean&&1!=o?!1:e!==!1&&e!==f?(o=(n=i.docinfo_processor_extensions).$find,o._p=(d=function(o){return d._s||this,null==o&&(o=f),o.$config()["$[]"]("location")["$=="](e)},d._s=i,d),o).call(n):!0},k.$docinfo_processors=function(e){var o,n,d,i=this;return null==e&&(e=f),(o=i.docinfo_processor_extensions)===f||o._isBoolean&&1!=o?f:e!==!1&&e!==f?(o=(n=i.docinfo_processor_extensions).$select,o._p=(d=function(o){return d._s||this,null==o&&(o=f),o.$config()["$[]"]("location")["$=="](e)},d._s=i,d),o).call(n):i.docinfo_processor_extensions},k.$block=b=function(e){var o,n,i=this,t=b._p,l=t||f;return e=d.call(arguments,0),b._p=null,(o=(n=i).$add_syntax_processor,o._p=l.$to_proc(),o).call(n,"block",e)},k["$blocks?"]=function(){var e=this;return e.block_extensions["$!"]()["$!"]()},k["$registered_for_block?"]=function(e,o){var n,d=this,i=f;return(n=i=d.block_extensions["$[]"](e.$to_sym()))===f||n._isBoolean&&1!=n?!1:(n=i.$config()["$[]"]("contexts")["$include?"](o))===f||n._isBoolean&&1!=n?!1:i},k.$find_block_extension=function(e){var o=this;return o.block_extensions["$[]"](e.$to_sym())},k.$block_macro=w=function(e){var o,n,i=this,t=w._p,l=t||f;return e=d.call(arguments,0),w._p=null,(o=(n=i).$add_syntax_processor,o._p=l.$to_proc(),o).call(n,"block_macro",e)},k["$block_macros?"]=function(){var e=this;return e.block_macro_extensions["$!"]()["$!"]()},k["$registered_for_block_macro?"]=function(e){var o,n=this,d=f;return(o=d=n.block_macro_extensions["$[]"](e.$to_sym()))===f||o._isBoolean&&1!=o?!1:d},k.$find_block_macro_extension=function(e){var o=this;return o.block_macro_extensions["$[]"](e.$to_sym())},k.$inline_macro=g=function(e){var o,n,i=this,t=g._p,l=t||f;return e=d.call(arguments,0),g._p=null,(o=(n=i).$add_syntax_processor,o._p=l.$to_proc(),o).call(n,"inline_macro",e)},k["$inline_macros?"]=function(){var e=this;return e.inline_macro_extensions["$!"]()["$!"]()},k["$registered_for_inline_macro?"]=function(e){var o,n=this,d=f;return(o=d=n.inline_macro_extensions["$[]"](e.$to_sym()))===f||o._isBoolean&&1!=o?!1:d},k.$find_inline_macro_extension=function(e){var o=this;return o.inline_macro_extensions["$[]"](e.$to_sym())},k.$inline_macros=function(){var e=this;return e.inline_macro_extensions.$values()},j.$private(),k.$add_document_processor=m=function(o,n){var d,i,t,l,s,p,r,y=this,a=m._p,c=a||f,b=f,w=f,g=f,x=f,j=f,k=f,P=f,h=f,q=f;return m._p=null,b=o.$to_s().$tr("_"," "),w=(d=(i=b.$split(" ")).$map,d._p=(t=function(e){return t._s||this,null==e&&(e=f),""+e.$chr().$upcase()+e["$[]"](u(1,-1,!1))},t._s=y,t),d).call(i).$join().$to_sym(),g=v.Extensions.$const_get(w),x=function(){return(d=null==e.Object._scope.AsciidoctorJ?f:"constant")===f||d._isBoolean&&1!=d?f:(null==(d=e.Object._scope.AsciidoctorJ)?e.cm("AsciidoctorJ"):d)._scope.Extensions.$const_get(w)}(),j=(d=y.$instance_variable_get(("@"+o+"_extensions").$to_sym()))!==!1&&d!==f?d:y.$instance_variable_set(("@"+o+"_extensions").$to_sym(),[]),k=function(){return c!==f?(P=y.$resolve_args(n,1),h=g.$new(P),(d=g.$constants().$grep("DSL"))===f||d._isBoolean&&1!=d||h.$extend(g.$const_get("DSL")),(d=(l=h).$instance_exec,d._p=c.$to_proc(),d).call(l),h.$freeze(),((d=h["$process_block_given?"]())===f||d._isBoolean&&1!=d)&&y.$raise((null==(d=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):d).$new("No block specified to process "+b+" extension at "+c.$source_location())),v.ProcessorExtension.$new(o,h)):(d=e.to_ary(y.$resolve_args(n,2)),h=null==d[0]?f:d[0],P=null==d[1]?f:d[1],(d=(s=h["$is_a?"](null==(p=e.Object._scope.Class)?e.cm("Class"):p))!==!1&&s!==f?s:(p=h["$is_a?"](null==(r=e.Object._scope.String)?e.cm("String"):r),p!==!1&&p!==f?h=v.Extensions.$class_for_name(h):p))===f||d._isBoolean&&1!=d?(d=(s=h["$is_a?"](g))!==!1&&s!==f?s:(p=x!==!1&&x!==f)?h["$is_a?"](x):p)===f||d._isBoolean&&1!=d?y.$raise((null==(d=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):d).$new("Invalid arguments specified for registering "+b+" extension: "+n)):(h.$update_config(P),h.$freeze(),v.ProcessorExtension.$new(o,h)):(((d=(s=h["$<"](g))!==!1&&s!==f?s:(p=x!==!1&&x!==f)?h["$<"](x):p)===f||d._isBoolean&&1!=d)&&y.$raise((null==(d=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):d).$new("Invalid type for "+b+" extension: "+h)),q=h.$new(P),q.$freeze(),v.ProcessorExtension.$new(o,q)))}(),k.$config()["$[]"]("position")["$=="](">>")?j.$unshift(k):j["$<<"](k)},k.$add_syntax_processor=x=function(o,d){var i,t,s,p,r,y,a,c=this,b=x._p,w=b||f,g=f,m=f,j=f,k=f,P=f,h=f,q=f,z=f,A=f,B=f;if(x._p=null,g=o.$to_s().$tr("_"," "),m=(i=(t=g.$split(" ")).$map,i._p=(s=function(e){return s._s||this,null==e&&(e=f),""+e.$chr().$upcase()+e["$[]"](u(1,-1,!1))},s._s=c,s),i).call(t).$join(),j=(""+m+"Processor").$to_sym(),k=v.Extensions.$const_get(j),P=function(){return(i=null==e.Object._scope.AsciidoctorJ?f:"constant")===f||i._isBoolean&&1!=i?f:(null==(i=e.Object._scope.AsciidoctorJ)?e.cm("AsciidoctorJ"):i)._scope.Extensions.$const_get(j)}(),h=(i=c.$instance_variable_get(("@"+o+"_extensions").$to_sym()))!==!1&&i!==f?i:c.$instance_variable_set(("@"+o+"_extensions").$to_sym(),l([],{})),w!==f){if(i=e.to_ary(c.$resolve_args(d,2)),q=null==i[0]?f:i[0],z=null==i[1]?f:i[1],A=k.$new(c.$as_symbol(q),z),(i=k.$constants().$grep("DSL"))===f||i._isBoolean&&1!=i||A.$extend(k.$const_get("DSL")),w.$arity()["$=="](1)){if(e.$yield1(w,A)===n)return n.$v}else(i=(p=A).$instance_exec,i._p=w.$to_proc(),i).call(p);return((i=q=c.$as_symbol(A.$name()))===f||i._isBoolean&&1!=i)&&c.$raise((null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i).$new("No name specified for "+g+" extension at "+w.$source_location())),((i=A["$process_block_given?"]())===f||i._isBoolean&&1!=i)&&c.$raise((null==(i=e.Object._scope.NoMethodError)?e.cm("NoMethodError"):i).$new("No block specified to process "+g+" extension at "+w.$source_location())),A.$freeze(),h["$[]="](q,v.ProcessorExtension.$new(o,A))}return i=e.to_ary(c.$resolve_args(d,3)),A=null==i[0]?f:i[0],q=null==i[1]?f:i[1],z=null==i[2]?f:i[2],(i=(r=A["$is_a?"](null==(y=e.Object._scope.Class)?e.cm("Class"):y))!==!1&&r!==f?r:(y=A["$is_a?"](null==(a=e.Object._scope.String)?e.cm("String"):a),y!==!1&&y!==f?A=v.Extensions.$class_for_name(A):y))===f||i._isBoolean&&1!=i?(i=(r=A["$is_a?"](k))!==!1&&r!==f?r:(y=P!==!1&&P!==f)?A["$is_a?"](P):y)===f||i._isBoolean&&1!=i?c.$raise((null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i).$new("Invalid arguments specified for registering "+g+" extension: "+d)):(A.$update_config(z),((i=q=function(){return q!==!1&&q!==f?A["$name="](c.$as_symbol(q)):c.$as_symbol(A.$name())}())===f||i._isBoolean&&1!=i)&&c.$raise((null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i).$new("No name specified for "+g+" extension: "+A)),A.$freeze(),h["$[]="](q,v.ProcessorExtension.$new(o,A))):(((i=(r=A["$<"](k))!==!1&&r!==f?r:(y=P!==!1&&P!==f)?A["$<"](P):y)===f||i._isBoolean&&1!=i)&&c.$raise((null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i).$new("Class specified for "+g+" extension does not inherit from "+k+": "+A)),B=A.$new(c.$as_symbol(q),z),((i=q=c.$as_symbol(B.$name()))===f||i._isBoolean&&1!=i)&&c.$raise((null==(i=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):i).$new("No name specified for "+g+" extension: "+A)),A.$freeze(),h["$[]="](q,v.ProcessorExtension.$new(o,B)))},k.$resolve_args=function(o,n){var d,i,t=f,u=f,s=f;return t=function(){return(d=o["$[]"](-1)["$is_a?"](null==(i=e.Object._scope.Hash)?e.cm("Hash"):i))===f||d._isBoolean&&1!=d?l([],{}):o.$pop()}(),n["$=="](1)?t:(u=o.$size(),(s=n["$-"](1)["$-"](u))["$>"](0)?o.$fill(f,u,s):s["$<"](0)&&o.$pop(s["$-@"]()),o["$<<"](t),o)},k.$as_symbol=function(o){var n,d;return o!==!1&&o!==f?function(){return(n=o["$is_a?"](null==(d=e.Object._scope.Symbol)?e.cm("Symbol"):d))===f||n._isBoolean&&1!=n?o.$to_sym():o}():f},f&&"as_symbol"}(p,null),function(o){var n=o._scope;return o._proto,o._proto.$generate_name=function(){var e=this;return"extgrp"+e.$next_auto_id()},o._proto.$next_auto_id=function(){var e,o=this;return null==o.auto_id&&(o.auto_id=f),(e=o.auto_id)!==!1&&e!==f?e:o.auto_id=-1,o.auto_id=o.auto_id["$+"](1)},o._proto.$groups=function(){var e,o=this;return null==o.groups&&(o.groups=f),(e=o.groups)!==!1&&e!==f?e:o.groups=l([],{})},o._proto.$build_registry=TMP_24=function(e){var o,d=this,i=TMP_24._p,t=i||f;return null==e&&(e=f),TMP_24._p=null,t!==f?((o=e)!==!1&&o!==f?o:e=d.$generate_name(),n.Registry.$new(s(e,t))):n.Registry.$new()},o._proto.$register=TMP_25=function(o){var n,i=this,t=TMP_25._p,l=t||f,u=f,s=f,p=f,r=f,y=f;return o=d.call(arguments,0),TMP_25._p=null,u=o.$length(),s=function(){return l!==f?l:(n=(p=o.$pop())["$!"]())===f||n._isBoolean&&1!=n?function(){return r=p,(null==(n=e.Object._scope.Class)?e.cm("Class"):n)["$==="](r)?p:(null==(n=e.Object._scope.String)?e.cm("String"):n)["$==="](r)?i.$class_for_name(p):(null==(n=e.Object._scope.Symbol)?e.cm("Symbol"):n)["$==="](r)?i.$class_for_name(p.$to_s()):p}():i.$raise((null==(n=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):n).$new("Extension group to register not specified"))}(),y=(n=o.$pop())!==!1&&n!==f?n:i.$generate_name(),((n=o["$empty?"]())===f||n._isBoolean&&1!=n)&&i.$raise((null==(n=e.Object._scope.ArgumentError)?e.cm("ArgumentError"):n).$new("Wrong number of arguments ("+u+" for 1..2)")),i.$groups()["$[]="](y,s)},o._proto.$unregister_all=function(){var e=this;return e.groups=l([],{})},o._proto.$resolve_class=function(o){var n,d,i=this;return(n=o["$is_a?"](null==(d=e.Object._scope.Class)?e.cm("Class"):d))===f||n._isBoolean&&1!=n?i.$class_for_name(o.$to_s()):o},o._proto.$class_for_name=function(o){var n,d,i,t=this,l=f;return l=null==(n=e.Object._scope.Object)?e.cm("Object"):n,(n=(d=o.$split("::")).$each,n._p=(i=function(e){var n,d=i._s||this;return null==e&&(e=f),(n=e["$empty?"]())===f||n._isBoolean&&1!=n?(n=l["$const_defined?"](e))===f||n._isBoolean&&1!=n?d.$raise("Could not resolve class for name: "+o):l=l.$const_get(e):f},i._s=t,i),n).call(d),l},f&&"class_for_name"}(p.$singleton_class())}(p)}(o)}(f)}},{"opal-npm-wrapper":117}],9:[function(e,o,f){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function o(e){var o=e.charCodeAt(0);return o===t||o===r?62:o===l||o===y?63:u>o?-1:u+10>o?o-u+26+26:p+26>o?o-p:s+26>o?o-s+26:void 0}function f(e){function f(e){s[r++]=e}var n,d,t,l,u,s;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var p=e.length;u="="===e.charAt(p-2)?2:"="===e.charAt(p-1)?1:0,s=new i(3*e.length/4-u),t=u>0?e.length-4:e.length;var r=0;for(n=0,d=0;t>n;n+=4,d+=3)l=o(e.charAt(n))<<18|o(e.charAt(n+1))<<12|o(e.charAt(n+2))<<6|o(e.charAt(n+3)),f((16711680&l)>>16),f((65280&l)>>8),f(255&l);return 2===u?(l=o(e.charAt(n))<<2|o(e.charAt(n+1))>>4,f(255&l)):1===u&&(l=o(e.charAt(n))<<10|o(e.charAt(n+1))<<4|o(e.charAt(n+2))>>2,f(l>>8&255),f(255&l)),s}function d(e){function o(e){return n.charAt(e)}function f(e){return o(e>>18&63)+o(e>>12&63)+o(e>>6&63)+o(63&e)}var d,i,t,l=e.length%3,u="";for(d=0,t=e.length-l;t>d;d+=3)i=(e[d]<<16)+(e[d+1]<<8)+e[d+2],u+=f(i);switch(l){case 1:i=e[e.length-1],u+=o(i>>2),u+=o(i<<4&63),u+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],u+=o(i>>10),u+=o(i>>4&63),u+=o(i<<2&63),u+="="}return u}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,t="+".charCodeAt(0),l="/".charCodeAt(0),u="0".charCodeAt(0),s="a".charCodeAt(0),p="A".charCodeAt(0),r="-".charCodeAt(0),y="_".charCodeAt(0);e.toByteArray=f,e.fromByteArray=d}("undefined"==typeof f?this.base64js={}:f)},{}],10:[function(e,o,f){o.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},{}],11:[function(e,o,f){},{}],12:[function(e,o,f){arguments[4][11][0].apply(f,arguments)},{dup:11}],13:[function(e,o,f){(function(o){function n(){function e(){}try{var o=new Uint8Array(1);return o.foo=function(){return 42},o.constructor=e,42===o.foo()&&o.constructor===e&&"function"==typeof o.subarray&&0===o.subarray(1,1).byteLength}catch(f){return!1}}function d(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e){return this instanceof i?(this.length=0,this.parent=void 0,"number"==typeof e?t(this,e):"string"==typeof e?l(this,e,arguments.length>1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new i(e,arguments[1]):new i(e)}function t(e,o){if(e=b(e,0>o?0:0|w(o)),!i.TYPED_ARRAY_SUPPORT)for(var f=0;o>f;f++)e[f]=0;return e}function l(e,o,f){("string"!=typeof f||""===f)&&(f="utf8");var n=0|m(o,f);return e=b(e,n),e.write(o,f),e}function u(e,o){if(i.isBuffer(o))return s(e,o);if(Y(o))return p(e,o);if(null==o)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(o.buffer instanceof ArrayBuffer)return r(e,o);if(o instanceof ArrayBuffer)return y(e,o)}return o.length?a(e,o):c(e,o)}function s(e,o){var f=0|w(o.length);return e=b(e,f),o.copy(e,0,0,f),e}function p(e,o){var f=0|w(o.length);e=b(e,f);for(var n=0;f>n;n+=1)e[n]=255&o[n];return e}function r(e,o){var f=0|w(o.length);e=b(e,f);for(var n=0;f>n;n+=1)e[n]=255&o[n];return e}function y(e,o){return i.TYPED_ARRAY_SUPPORT?(o.byteLength,e=i._augment(new Uint8Array(o))):e=r(e,new Uint8Array(o)),e}function a(e,o){var f=0|w(o.length);e=b(e,f);for(var n=0;f>n;n+=1)e[n]=255&o[n];return e}function c(e,o){var f,n=0;"Buffer"===o.type&&Y(o.data)&&(f=o.data,n=0|w(f.length)),e=b(e,n);for(var d=0;n>d;d+=1)e[d]=255&f[d];return e}function b(e,o){i.TYPED_ARRAY_SUPPORT?(e=i._augment(new Uint8Array(o)),e.__proto__=i.prototype):(e.length=o,e._isBuffer=!0);var f=0!==o&&o<=i.poolSize>>>1;return f&&(e.parent=Z),e}function w(e){if(e>=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return 0|e}function g(e,o){if(!(this instanceof g))return new g(e,o);var f=new i(e,o);return delete f.parent,f}function m(e,o){"string"!=typeof e&&(e=""+e);var f=e.length;if(0===f)return 0;for(var n=!1;;)switch(o){case"ascii":case"binary":case"raw":case"raws":return f;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*f;case"hex":return f>>>1;case"base64":return U(e).length;default:if(n)return R(e).length;o=(""+o).toLowerCase(),n=!0}}function x(e,o,f){var n=!1;if(o=0|o,f=void 0===f||f===1/0?this.length:0|f,e||(e="utf8"),0>o&&(o=0),f>this.length&&(f=this.length),o>=f)return"";for(;;)switch(e){case"hex":return E(this,o,f);case"utf8":case"utf-8":return A(this,o,f);case"ascii":return C(this,o,f);case"binary":return D(this,o,f);case"base64":return z(this,o,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,o,f);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function j(e,o,f,n){f=Number(f)||0;var d=e.length-f;n?(n=Number(n),n>d&&(n=d)):n=d;var i=o.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var t=0;n>t;t++){var l=parseInt(o.substr(2*t,2),16);if(isNaN(l))throw new Error("Invalid hex string");e[f+t]=l}return t}function k(e,o,f,n){return V(R(o,e.length-f),e,f,n)}function v(e,o,f,n){return V(S(o),e,f,n)}function P(e,o,f,n){return v(e,o,f,n)}function h(e,o,f,n){return V(U(o),e,f,n)}function q(e,o,f,n){return V(T(o,e.length-f),e,f,n)}function z(e,o,f){return 0===o&&f===e.length?W.fromByteArray(e):W.fromByteArray(e.slice(o,f))}function A(e,o,f){f=Math.min(e.length,f);for(var n=[],d=o;f>d;){var i=e[d],t=null,l=i>239?4:i>223?3:i>191?2:1;if(f>=d+l){var u,s,p,r;switch(l){case 1:128>i&&(t=i);break;case 2:u=e[d+1],128===(192&u)&&(r=(31&i)<<6|63&u,r>127&&(t=r));break;case 3:u=e[d+1],s=e[d+2],128===(192&u)&&128===(192&s)&&(r=(15&i)<<12|(63&u)<<6|63&s,r>2047&&(55296>r||r>57343)&&(t=r));break;case 4:u=e[d+1],s=e[d+2],p=e[d+3],128===(192&u)&&128===(192&s)&&128===(192&p)&&(r=(15&i)<<18|(63&u)<<12|(63&s)<<6|63&p,r>65535&&1114112>r&&(t=r))}}null===t?(t=65533,l=1):t>65535&&(t-=65536,n.push(t>>>10&1023|55296),t=56320|1023&t),n.push(t),d+=l}return B(n)}function B(e){var o=e.length;if($>=o)return String.fromCharCode.apply(String,e);for(var f="",n=0;o>n;)f+=String.fromCharCode.apply(String,e.slice(n,n+=$));return f}function C(e,o,f){var n="";f=Math.min(e.length,f);for(var d=o;f>d;d++)n+=String.fromCharCode(127&e[d]);return n}function D(e,o,f){var n="";f=Math.min(e.length,f);for(var d=o;f>d;d++)n+=String.fromCharCode(e[d]);return n}function E(e,o,f){var n=e.length;(!o||0>o)&&(o=0),(!f||0>f||f>n)&&(f=n);for(var d="",i=o;f>i;i++)d+=Q(e[i]);return d}function F(e,o,f){for(var n=e.slice(o,f),d="",i=0;i<n.length;i+=2)d+=String.fromCharCode(n[i]+256*n[i+1]);return d}function G(e,o,f){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+o>f)throw new RangeError("Trying to access beyond buffer length")}function H(e,o,f,n,d,t){if(!i.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(o>d||t>o)throw new RangeError("value is out of bounds");if(f+n>e.length)throw new RangeError("index out of range")}function I(e,o,f,n){0>o&&(o=65535+o+1);for(var d=0,i=Math.min(e.length-f,2);i>d;d++)e[f+d]=(o&255<<8*(n?d:1-d))>>>8*(n?d:1-d)}function J(e,o,f,n){0>o&&(o=4294967295+o+1);for(var d=0,i=Math.min(e.length-f,4);i>d;d++)e[f+d]=o>>>8*(n?d:3-d)&255}function K(e,o,f,n,d,i){if(o>d||i>o)throw new RangeError("value is out of bounds");if(f+n>e.length)throw new RangeError("index out of range");if(0>f)throw new RangeError("index out of range")}function L(e,o,f,n,d){return d||K(e,o,f,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,o,f,n,23,4),f+4}function M(e,o,f,n,d){return d||K(e,o,f,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,o,f,n,52,8),f+8}function N(e){if(e=O(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function O(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Q(e){return 16>e?"0"+e.toString(16):e.toString(16)}function R(e,o){o=o||1/0;for(var f,n=e.length,d=null,i=[],t=0;n>t;t++){if(f=e.charCodeAt(t),f>55295&&57344>f){if(!d){if(f>56319){(o-=3)>-1&&i.push(239,191,189);continue}if(t+1===n){(o-=3)>-1&&i.push(239,191,189);continue}d=f;continue}if(56320>f){(o-=3)>-1&&i.push(239,191,189),d=f;continue}f=(d-55296<<10|f-56320)+65536}else d&&(o-=3)>-1&&i.push(239,191,189);if(d=null,128>f){if((o-=1)<0)break;i.push(f)}else if(2048>f){if((o-=2)<0)break;i.push(f>>6|192,63&f|128)}else if(65536>f){if((o-=3)<0)break;i.push(f>>12|224,f>>6&63|128,63&f|128)}else{if(!(1114112>f))throw new Error("Invalid code point");if((o-=4)<0)break;i.push(f>>18|240,f>>12&63|128,f>>6&63|128,63&f|128)}}return i}function S(e){for(var o=[],f=0;f<e.length;f++)o.push(255&e.charCodeAt(f));return o}function T(e,o){for(var f,n,d,i=[],t=0;t<e.length&&!((o-=2)<0);t++)f=e.charCodeAt(t),n=f>>8,d=f%256,i.push(d),i.push(n);return i}function U(e){return W.toByteArray(N(e))}function V(e,o,f,n){for(var d=0;n>d&&!(d+f>=o.length||d>=e.length);d++)o[d+f]=e[d];return d}var W=e("base64-js"),X=e("ieee754"),Y=e("is-array");f.Buffer=i,f.SlowBuffer=g,f.INSPECT_MAX_BYTES=50,i.poolSize=8192;var Z={};i.TYPED_ARRAY_SUPPORT=void 0!==o.TYPED_ARRAY_SUPPORT?o.TYPED_ARRAY_SUPPORT:n(),i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array),i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,o){if(!i.isBuffer(e)||!i.isBuffer(o))throw new TypeError("Arguments must be Buffers");if(e===o)return 0;for(var f=e.length,n=o.length,d=0,t=Math.min(f,n);t>d&&e[d]===o[d];)++d;return d!==t&&(f=e[d],n=o[d]),n>f?-1:f>n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,o){if(!Y(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new i(0);var f;if(void 0===o)for(o=0,f=0;f<e.length;f++)o+=e[f].length;var n=new i(o),d=0;for(f=0;f<e.length;f++){var t=e[f];t.copy(n,d),d+=t.length}return n},i.byteLength=m,i.prototype.length=void 0,i.prototype.parent=void 0,i.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):x.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===i.compare(this,e)},i.prototype.inspect=function(){var e="",o=f.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,o).match(/.{2}/g).join(" "),this.length>o&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:i.compare(this,e)},i.prototype.indexOf=function(e,o){function f(e,o,f){for(var n=-1,d=0;f+d<e.length;d++)if(e[f+d]===o[-1===n?0:d-n]){if(-1===n&&(n=d),d-n+1===o.length)return f+n}else n=-1;return-1}if(o>2147483647?o=2147483647:-2147483648>o&&(o=-2147483648),o>>=0,0===this.length)return-1;if(o>=this.length)return-1;if(0>o&&(o=Math.max(this.length+o,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,o);if(i.isBuffer(e))return f(this,e,o);if("number"==typeof e)return i.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,o):f(this,[e],o);throw new TypeError("val must be string, number or Buffer")},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,o){
  return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,o)},i.prototype.write=function(e,o,f,n){if(void 0===o)n="utf8",f=this.length,o=0;else if(void 0===f&&"string"==typeof o)n=o,f=this.length,o=0;else if(isFinite(o))o=0|o,isFinite(f)?(f=0|f,void 0===n&&(n="utf8")):(n=f,f=void 0);else{var d=n;n=o,o=0|f,f=d}var i=this.length-o;if((void 0===f||f>i)&&(f=i),e.length>0&&(0>f||0>o)||o>this.length)throw new RangeError("attempt to write outside buffer bounds");n||(n="utf8");for(var t=!1;;)switch(n){case"hex":return j(this,e,o,f);case"utf8":case"utf-8":return k(this,e,o,f);case"ascii":return v(this,e,o,f);case"binary":return P(this,e,o,f);case"base64":return h(this,e,o,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,e,o,f);default:if(t)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),t=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;i.prototype.slice=function(e,o){var f=this.length;e=~~e,o=void 0===o?f:~~o,0>e?(e+=f,0>e&&(e=0)):e>f&&(e=f),0>o?(o+=f,0>o&&(o=0)):o>f&&(o=f),e>o&&(o=e);var n;if(i.TYPED_ARRAY_SUPPORT)n=i._augment(this.subarray(e,o));else{var d=o-e;n=new i(d,void 0);for(var t=0;d>t;t++)n[t]=this[t+e]}return n.length&&(n.parent=this.parent||this),n},i.prototype.readUIntLE=function(e,o,f){e=0|e,o=0|o,f||G(e,o,this.length);for(var n=this[e],d=1,i=0;++i<o&&(d*=256);)n+=this[e+i]*d;return n},i.prototype.readUIntBE=function(e,o,f){e=0|e,o=0|o,f||G(e,o,this.length);for(var n=this[e+--o],d=1;o>0&&(d*=256);)n+=this[e+--o]*d;return n},i.prototype.readUInt8=function(e,o){return o||G(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,o){return o||G(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,o){return o||G(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,o){return o||G(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,o){return o||G(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,o,f){e=0|e,o=0|o,f||G(e,o,this.length);for(var n=this[e],d=1,i=0;++i<o&&(d*=256);)n+=this[e+i]*d;return d*=128,n>=d&&(n-=Math.pow(2,8*o)),n},i.prototype.readIntBE=function(e,o,f){e=0|e,o=0|o,f||G(e,o,this.length);for(var n=o,d=1,i=this[e+--n];n>0&&(d*=256);)i+=this[e+--n]*d;return d*=128,i>=d&&(i-=Math.pow(2,8*o)),i},i.prototype.readInt8=function(e,o){return o||G(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,o){o||G(e,2,this.length);var f=this[e]|this[e+1]<<8;return 32768&f?4294901760|f:f},i.prototype.readInt16BE=function(e,o){o||G(e,2,this.length);var f=this[e+1]|this[e]<<8;return 32768&f?4294901760|f:f},i.prototype.readInt32LE=function(e,o){return o||G(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,o){return o||G(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,o){return o||G(e,4,this.length),X.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,o){return o||G(e,4,this.length),X.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,o){return o||G(e,8,this.length),X.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,o){return o||G(e,8,this.length),X.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,o,f,n){e=+e,o=0|o,f=0|f,n||H(this,e,o,f,Math.pow(2,8*f),0);var d=1,i=0;for(this[o]=255&e;++i<f&&(d*=256);)this[o+i]=e/d&255;return o+f},i.prototype.writeUIntBE=function(e,o,f,n){e=+e,o=0|o,f=0|f,n||H(this,e,o,f,Math.pow(2,8*f),0);var d=f-1,i=1;for(this[o+d]=255&e;--d>=0&&(i*=256);)this[o+d]=e/i&255;return o+f},i.prototype.writeUInt8=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[o]=255&e,o+1},i.prototype.writeUInt16LE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[o]=255&e,this[o+1]=e>>>8):I(this,e,o,!0),o+2},i.prototype.writeUInt16BE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[o]=e>>>8,this[o+1]=255&e):I(this,e,o,!1),o+2},i.prototype.writeUInt32LE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[o+3]=e>>>24,this[o+2]=e>>>16,this[o+1]=e>>>8,this[o]=255&e):J(this,e,o,!0),o+4},i.prototype.writeUInt32BE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=255&e):J(this,e,o,!1),o+4},i.prototype.writeIntLE=function(e,o,f,n){if(e=+e,o=0|o,!n){var d=Math.pow(2,8*f-1);H(this,e,o,f,d-1,-d)}var i=0,t=1,l=0>e?1:0;for(this[o]=255&e;++i<f&&(t*=256);)this[o+i]=(e/t>>0)-l&255;return o+f},i.prototype.writeIntBE=function(e,o,f,n){if(e=+e,o=0|o,!n){var d=Math.pow(2,8*f-1);H(this,e,o,f,d-1,-d)}var i=f-1,t=1,l=0>e?1:0;for(this[o+i]=255&e;--i>=0&&(t*=256);)this[o+i]=(e/t>>0)-l&255;return o+f},i.prototype.writeInt8=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[o]=255&e,o+1},i.prototype.writeInt16LE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[o]=255&e,this[o+1]=e>>>8):I(this,e,o,!0),o+2},i.prototype.writeInt16BE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[o]=e>>>8,this[o+1]=255&e):I(this,e,o,!1),o+2},i.prototype.writeInt32LE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[o]=255&e,this[o+1]=e>>>8,this[o+2]=e>>>16,this[o+3]=e>>>24):J(this,e,o,!0),o+4},i.prototype.writeInt32BE=function(e,o,f){return e=+e,o=0|o,f||H(this,e,o,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[o]=e>>>24,this[o+1]=e>>>16,this[o+2]=e>>>8,this[o+3]=255&e):J(this,e,o,!1),o+4},i.prototype.writeFloatLE=function(e,o,f){return L(this,e,o,!0,f)},i.prototype.writeFloatBE=function(e,o,f){return L(this,e,o,!1,f)},i.prototype.writeDoubleLE=function(e,o,f){return M(this,e,o,!0,f)},i.prototype.writeDoubleBE=function(e,o,f){return M(this,e,o,!1,f)},i.prototype.copy=function(e,o,f,n){if(f||(f=0),n||0===n||(n=this.length),o>=e.length&&(o=e.length),o||(o=0),n>0&&f>n&&(n=f),n===f)return 0;if(0===e.length||0===this.length)return 0;if(0>o)throw new RangeError("targetStart out of bounds");if(0>f||f>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-o<n-f&&(n=e.length-o+f);var d,t=n-f;if(this===e&&o>f&&n>o)for(d=t-1;d>=0;d--)e[d+o]=this[d+f];else if(1e3>t||!i.TYPED_ARRAY_SUPPORT)for(d=0;t>d;d++)e[d+o]=this[d+f];else e._set(this.subarray(f,f+t),o);return t},i.prototype.fill=function(e,o,f){if(e||(e=0),o||(o=0),f||(f=this.length),o>f)throw new RangeError("end < start");if(f!==o&&0!==this.length){if(0>o||o>=this.length)throw new RangeError("start out of bounds");if(0>f||f>this.length)throw new RangeError("end out of bounds");var n;if("number"==typeof e)for(n=o;f>n;n++)this[n]=e;else{var d=R(e.toString()),i=d.length;for(n=o;f>n;n++)this[n]=d[n%i]}return this}},i.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(i.TYPED_ARRAY_SUPPORT)return new i(this).buffer;for(var e=new Uint8Array(this.length),o=0,f=e.length;f>o;o+=1)e[o]=this[o];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var _=i.prototype;i._augment=function(e){return e.constructor=i,e._isBuffer=!0,e._set=e.set,e.get=_.get,e.set=_.set,e.write=_.write,e.toString=_.toString,e.toLocaleString=_.toString,e.toJSON=_.toJSON,e.equals=_.equals,e.compare=_.compare,e.indexOf=_.indexOf,e.copy=_.copy,e.slice=_.slice,e.readUIntLE=_.readUIntLE,e.readUIntBE=_.readUIntBE,e.readUInt8=_.readUInt8,e.readUInt16LE=_.readUInt16LE,e.readUInt16BE=_.readUInt16BE,e.readUInt32LE=_.readUInt32LE,e.readUInt32BE=_.readUInt32BE,e.readIntLE=_.readIntLE,e.readIntBE=_.readIntBE,e.readInt8=_.readInt8,e.readInt16LE=_.readInt16LE,e.readInt16BE=_.readInt16BE,e.readInt32LE=_.readInt32LE,e.readInt32BE=_.readInt32BE,e.readFloatLE=_.readFloatLE,e.readFloatBE=_.readFloatBE,e.readDoubleLE=_.readDoubleLE,e.readDoubleBE=_.readDoubleBE,e.writeUInt8=_.writeUInt8,e.writeUIntLE=_.writeUIntLE,e.writeUIntBE=_.writeUIntBE,e.writeUInt16LE=_.writeUInt16LE,e.writeUInt16BE=_.writeUInt16BE,e.writeUInt32LE=_.writeUInt32LE,e.writeUInt32BE=_.writeUInt32BE,e.writeIntLE=_.writeIntLE,e.writeIntBE=_.writeIntBE,e.writeInt8=_.writeInt8,e.writeInt16LE=_.writeInt16LE,e.writeInt16BE=_.writeInt16BE,e.writeInt32LE=_.writeInt32LE,e.writeInt32BE=_.writeInt32BE,e.writeFloatLE=_.writeFloatLE,e.writeFloatBE=_.writeFloatBE,e.writeDoubleLE=_.writeDoubleLE,e.writeDoubleBE=_.writeDoubleBE,e.fill=_.fill,e.inspect=_.inspect,e.toArrayBuffer=_.toArrayBuffer,e};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":9,ieee754:93,"is-array":95}],14:[function(e,o,f){f=o.exports=e("./lib/cheerio"),f.version=e("./package").version},{"./lib/cheerio":20,"./package":24}],15:[function(e,o,f){var n=e("lodash"),d=e("../utils"),i=d.isTag,t=d.domEach,l=Object.prototype.hasOwnProperty,u=d.camelCase,s=d.cssCase,p=/\s+/,r="data-",y={"null":null,"true":!0,"false":!1},a=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,c=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,b=function(e,o){return e&&i(e)?(e.attribs||(e.attribs={}),o?l.call(e.attribs,o)?a.test(o)?o:e.attribs[o]:void 0:e.attribs):void 0},w=function(e,o,f){null===f?x(e,o):e.attribs[o]=f+""};f.attr=function(e,o){return"object"==typeof e||void 0!==o?"function"==typeof o?t(this,function(f,n){w(n,e,o.call(n,f,n.attribs[e]))}):t(this,function(f,d){i(d)&&("object"==typeof e?n.each(e,function(e,o){d.attribs[o]=e+""}):w(d,e,o))}):b(this[0],e)};var g=function(e,o,f){return"object"==typeof o?n.extend(e.data,o):void("string"==typeof o&&void 0!==f?e.data[o]=f:"object"==typeof o&&n.exend(e.data,o))},m=function(e,o){var f,n,d,i,t,p,a,b=1===arguments.length;for(b?(f=Object.keys(e.attribs).filter(function(e){return e.slice(0,r.length)===r}),d=f.map(function(e){return u(e.slice(r.length))})):(f=[r+s(o)],d=[o]),p=0,a=f.length;a>p;++p)if(n=f[p],i=d[p],l.call(e.attribs,n)){if(t=e.attribs[n],l.call(y,t))t=y[t];else if(t===String(Number(t)))t=Number(t);else if(c.test(t))try{t=JSON.parse(t)}catch(w){}e.data[i]=t}return b?e.data:t};f.data=function(e,o){var f=this[0];if(f&&i(f))return f.data||(f.data={}),e?"object"==typeof e||void 0!==o?(t(this,function(f,n){g(n,e,o)}),this):l.call(f.data,e)?f.data[e]:m(f,e):m(f)},f.val=function(e){var o=0===arguments.length,f=this[0];if(f)switch(f.name){case"textarea":return this.text(e);case"input":switch(this.attr("type")){case"radio":return o?this.attr("value"):(this.attr("value",e),this);default:return this.attr("value",e)}return;case"select":var n,d=this.find("option:selected");if(void 0===d)return void 0;if(!o){if(!this.attr().hasOwnProperty("multiple")&&"object"==typeof e)return this;"object"!=typeof e&&(e=[e]),this.find("option").removeAttr("selected");for(var i=0;i<e.length;i++)this.find('option[value="'+e[i]+'"]').attr("selected","");return this}return n=d.attr("value"),this.attr().hasOwnProperty("multiple")&&(n=[],t(d,function(e,o){n.push(o.attribs.value)})),n;case"option":return o?this.attr("value"):(this.attr("value",e),this)}};var x=function(e,o){e.attribs&&l.call(e.attribs,o)&&delete e.attribs[o]};f.removeAttr=function(e){return t(this,function(o,f){x(f,e)}),this},f.hasClass=function(e){return n.any(this,function(o){var f,n=o.attribs,d=n&&n["class"],i=-1;if(d)for(;(i=d.indexOf(e,i+1))>-1;)if(f=i+e.length,(0===i||p.test(d[i-1]))&&(f===d.length||p.test(d[f])))return!0})},f.addClass=function(e){if("function"==typeof e)return t(this,function(o,n){var d=n.attribs["class"]||"";f.addClass.call([n],e.call(n,o,d))});if(!e||"string"!=typeof e)return this;for(var o=e.split(p),n=this.length,d=0;n>d;d++)if(i(this[d])){var l,u,s=b(this[d],"class");if(s){u=" "+s+" ",l=o.length;for(var r=0;l>r;r++){var y=o[r]+" ";u.indexOf(" "+y)<0&&(u+=y)}w(this[d],"class",u.trim())}else w(this[d],"class",o.join(" ").trim())}return this};var j=function(e){return e?e.trim().split(p):[]};f.removeClass=function(e){var o,n,d;return"function"==typeof e?t(this,function(o,n){f.removeClass.call([n],e.call(n,o,n.attribs["class"]||""))}):(o=j(e),n=o.length,d=0===arguments.length,t(this,function(e,f){if(i(f))if(d)f.attribs["class"]="";else{for(var t,l,u=j(f.attribs["class"]),s=0;n>s;s++)t=u.indexOf(o[s]),t>=0&&(u.splice(t,1),l=!0,s--);l&&(f.attribs["class"]=u.join(" "))}}))},f.toggleClass=function(e,o){if("function"==typeof e)return t(this,function(n,d){f.toggleClass.call([d],e.call(d,n,d.attribs["class"]||"",o),o)});if(!e||"string"!=typeof e)return this;for(var n,d,l=e.split(p),u=l.length,s="boolean"==typeof o?o?1:-1:0,r=this.length,y=0;r>y;y++)if(i(this[y])){n=j(this[y].attribs["class"]);for(var a=0;u>a;a++)d=n.indexOf(l[a]),s>=0&&0>d?n.push(l[a]):0>=s&&d>=0&&n.splice(d,1);this[y].attribs["class"]=n.join(" ")}return this},f.is=function(e){return e?this.filter(e).length>0:!1}},{"../utils":23,lodash:113}],16:[function(e,o,f){function n(e,o,f,t){if("string"==typeof o){var l=d(e);"function"==typeof f&&(f=f.call(e,t,l[o])),""===f?delete l[o]:null!=f&&(l[o]=f),e.attribs.style=i(l)}else"object"==typeof o&&Object.keys(o).forEach(function(f){n(e,f,o[f])})}function d(e,o){var f=t(e.attribs.style);return"string"==typeof o?f[o]:Array.isArray(o)?l.pick(f,o):f}function i(e){return Object.keys(e||{}).reduce(function(o,f){return o+=""+(o?" ":"")+f+": "+e[f]+";"},"")}function t(e){return e=(e||"").trim(),e?e.split(";").reduce(function(e,o){var f=o.indexOf(":");return 1>f||f===o.length-1?e:(e[o.slice(0,f).trim()]=o.slice(f+1).trim(),e)},{}):{}}var l=e("lodash"),u=e("../utils").domEach,s=Object.prototype.toString;f.css=function(e,o){return 2===arguments.length||"[object Object]"===s.call(e)?u(this,function(f,d){n(d,e,o,f)}):d(this[0],e)}},{"../utils":23,lodash:113}],17:[function(e,o,f){var n=e("lodash"),d="input,select,textarea,keygen",i=/\r?\n/g,t=/^(?:checkbox|radio)$/i,l=/^(?:submit|button|image|reset|file)$/i;f.serializeArray=function(){var e=this.constructor;return this.map(function(){var o=this,f=e(o);return"form"===o.name?f.find(d).toArray():f.filter(d).toArray()}).filter(function(){var o=e(this),f=o.attr("type");return o.attr("name")&&!o.is(":disabled")&&!l.test(f)&&(o.attr("checked")||!t.test(f))}).map(function(o,f){var d=e(f),t=d.attr("name"),l=d.val();return null==l?null:Array.isArray(l)?n.map(l,function(e){return{name:t,value:e.replace(i,"\r\n")}}):{name:t,value:l.replace(i,"\r\n")}}).get()}},{lodash:113}],18:[function(e,o,f){var n=e("lodash"),d=e("../parse"),i=e("../static"),t=d.update,l=d.evaluate,u=e("../utils"),s=u.domEach,p=u.cloneDom,r=Array.prototype.slice;f._makeDomArray=function(e,o){return null==e?[]:e.cheerio?o?p(e.get(),e.options):e.get():Array.isArray(e)?n.flatten(e.map(function(e){return this._makeDomArray(e,o)},this)):"string"==typeof e?l(e,this.options):o?p([e]):[e]};var y=function(e){return function(){var o=r.call(arguments),f=this.length-1;return s(this,function(n,d){var t,l;l="function"==typeof o[0]?o[0].call(d,n,i.html(d.children)):o,t=this._makeDomArray(l,f>n),e(t,d.children,d)})}},a=function(e,o,f,n,d){var i,t,l,u,s,p=[o,f].concat(n),r=e[o-1]||null,y=e[o]||null;for(i=0,t=n.length;t>i;++i)u=n[i],s=u.parent||u.root,l=s&&s.children.indexOf(n[i]),s&&l>-1&&(s.children.splice(l,1),d===s&&o>l&&p[0]--),u.root=null,u.parent=d,u.prev&&(u.prev.next=u.next||null),u.next&&(u.next.prev=u.prev||null),u.prev=n[i-1]||r,u.next=n[i+1]||y;return r&&(r.next=n[0]),y&&(y.prev=n[n.length-1]),e.splice.apply(e,p)};f.append=y(function(e,o,f){a(o,o.length,0,e,f)}),f.prepend=y(function(e,o,f){a(o,0,0,e,f)}),f.after=function(){var e=r.call(arguments),o=this.length-1;return s(this,function(f,n){var d=n.parent||n.root;if(d){var t,l,u=d.children,s=u.indexOf(n);0>s||(t="function"==typeof e[0]?e[0].call(n,f,i.html(n.children)):e,l=this._makeDomArray(t,o>f),a(u,s+1,0,l,d))}}),this},f.insertAfter=function(e){var o=[],f=this;return"string"==typeof e&&(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e=this._makeDomArray(e),f.remove(),s(e,function(e,n){var d=f._makeDomArray(f.clone()),i=n.parent||n.root;if(i){var t=i.children,l=t.indexOf(n);0>l||(a(t,l+1,0,d,i),o.push(d))}}),this.constructor.call(this.constructor,this._makeDomArray(o))},f.before=function(){var e=r.call(arguments),o=this.length-1;return s(this,function(f,n){var d=n.parent||n.root;if(d){var t,l,u=d.children,s=u.indexOf(n);0>s||(t="function"==typeof e[0]?e[0].call(n,f,i.html(n.children)):e,l=this._makeDomArray(t,o>f),a(u,s,0,l,d))}}),this},f.insertBefore=function(e){var o=[],f=this;return"string"==typeof e&&(e=this.constructor.call(this.constructor,e,null,this._originalRoot)),e=this._makeDomArray(e),f.remove(),s(e,function(e,n){var d=f._makeDomArray(f.clone()),i=n.parent||n.root;if(i){var t=i.children,l=t.indexOf(n);0>l||(a(t,l,0,d,i),o.push(d))}}),this.constructor.call(this.constructor,this._makeDomArray(o))},f.remove=function(e){var o=this;return e&&(o=o.filter(e)),s(o,function(e,o){var f=o.parent||o.root;if(f){var n=f.children,d=n.indexOf(o);0>d||(n.splice(d,1),o.prev&&(o.prev.next=o.next),o.next&&(o.next.prev=o.prev),o.prev=o.next=o.parent=o.root=null)}}),this},f.replaceWith=function(e){var o=this;return s(this,function(f,n){var d=n.parent||n.root;if(d){var i,l=d.children,u=o._makeDomArray("function"==typeof e?e.call(n,f,n):e);t(u,null),i=l.indexOf(n),a(l,i,1,u,d),n.parent=n.prev=n.next=n.root=null}}),this},f.empty=function(){return s(this,function(e,o){n.each(o.children,function(e){e.next=e.prev=e.parent=null}),o.children.length=0}),this},f.html=function(e){if(void 0===e)return this[0]&&this[0].children?i.html(this[0].children,this.options):null;var o=this.options;return s(this,function(f,d){n.each(d.children,function(e){e.next=e.prev=e.parent=null});var i=e.cheerio?e.clone().get():l(e,o);t(i,d)}),this},f.toString=function(){return i.html(this,this.options)},f.text=function(e){return void 0===e?i.text(this):"function"==typeof e?s(this,function(o,n){var d=[n];return f.text.call(d,e.call(n,o,i.text(d)))}):(s(this,function(o,f){n.each(f.children,function(e){e.next=e.prev=e.parent=null});var d={data:e,type:"text",parent:f,prev:null,next:null,children:[]};t(d,f)}),this)},f.clone=function(){return this._make(p(this.get(),this.options))}},{"../parse":21,"../static":22,"../utils":23,lodash:113}],19:[function(e,o,f){function n(e,o,n,d){for(var i=[];o&&i.length<d;)(!n||f.filter.call([o],n,e).length)&&i.push(o),o=o.parent;return i}var d=e("lodash"),i=e("css-select"),t=e("../utils"),l=t.domEach,u=e("htmlparser2").DomUtils.uniqueSort,s=t.isTag;f.find=function(e){var o,f=d.reduce(this,function(e,o){return e.concat(d.filter(o.children,s))},[]),n=this.constructor.contains;return e&&"string"!=typeof e?(o=e.cheerio?e.get():[e],this._make(o.filter(function(e){var o,f;for(o=0,f=this.length;f>o;++o)if(n(this[o],e))return!0},this))):this._make(i(e,f,this.options))},f.parent=function(e){var o=[];return l(this,function(e,f){var n=f.parent;n&&o.indexOf(n)<0&&o.push(n)}),arguments.length&&(o=f.filter.call(o,e,this)),this._make(o)},f.parents=function(e){var o=[];return this.get().reverse().forEach(function(f){n(this,f.parent,e,1/0).forEach(function(e){-1===o.indexOf(e)&&o.push(e)})},this),this._make(o)},f.parentsUntil=function(e,o){var f,n,d=[];return"string"==typeof e?f=i(e,this.parents().toArray(),this.options)[0]:e&&e.cheerio?n=e.toArray():e&&(f=e),this.toArray().reverse().forEach(function(e){for(;(e=e.parent)&&(f&&e!==f||n&&-1===n.indexOf(e)||!f&&!n);)s(e)&&-1===d.indexOf(e)&&d.push(e)},this),this._make(o?i(o,d,this.options):d)},f.closest=function(e){var o=[];return e?(l(this,function(f,d){var i=n(this,d,e,1)[0];i&&o.indexOf(i)<0&&o.push(i)}.bind(this)),this._make(o)):this._make(o)},f.next=function(e){if(!this[0])return this;var o=[];return d.forEach(this,function(e){for(;e=e.next;)if(s(e))return void o.push(e)}),e?f.filter.call(o,e,this):this._make(o)},f.nextAll=function(e){if(!this[0])return this;var o=[];return d.forEach(this,function(e){for(;e=e.next;)s(e)&&-1===o.indexOf(e)&&o.push(e)}),e?f.filter.call(o,e,this):this._make(o)},f.nextUntil=function(e,o){if(!this[0])return this;var n,t,l=[];return"string"==typeof e?n=i(e,this.nextAll().get(),this.options)[0]:e&&e.cheerio?t=e.get():e&&(n=e),d.forEach(this,function(e){for(;(e=e.next)&&(n&&e!==n||t&&-1===t.indexOf(e)||!n&&!t);)s(e)&&-1===l.indexOf(e)&&l.push(e)}),o?f.filter.call(l,o,this):this._make(l)},f.prev=function(e){if(!this[0])return this;var o=[];return d.forEach(this,function(e){for(;e=e.prev;)if(s(e))return void o.push(e)}),e?f.filter.call(o,e,this):this._make(o)},f.prevAll=function(e){if(!this[0])return this;var o=[];return d.forEach(this,function(e){for(;e=e.prev;)s(e)&&-1===o.indexOf(e)&&o.push(e)}),e?f.filter.call(o,e,this):this._make(o)},f.prevUntil=function(e,o){if(!this[0])return this;var n,t,l=[];return"string"==typeof e?n=i(e,this.prevAll().get(),this.options)[0]:e&&e.cheerio?t=e.get():e&&(n=e),d.forEach(this,function(e){for(;(e=e.prev)&&(n&&e!==n||t&&-1===t.indexOf(e)||!n&&!t);)s(e)&&-1===l.indexOf(e)&&l.push(e)}),o?f.filter.call(l,o,this):this._make(l)},f.siblings=function(e){var o=this.parent(),n=d.filter(o?o.children():this.siblingsAndMe(),function(e){return s(e)&&!this.is(e)},this);return void 0!==e?f.filter.call(n,e,this):this._make(n)},f.children=function(e){var o=d.reduce(this,function(e,o){return e.concat(d.filter(o.children,s))},[]);return void 0===e?this._make(o):f.filter.call(o,e,this)},f.contents=function(){return this._make(d.reduce(this,function(e,o){return e.push.apply(e,o.children),e},[]))},f.each=function(e){for(var o=0,f=this.length;f>o&&e.call(this[o],o,this[o])!==!1;)++o;return this},f.map=function(e){return this._make(d.reduce(this,function(o,f,n){var d=e.call(f,n,f);return null==d?o:o.concat(d)},[]))};var p=function(e){return function(o,f){var n;return f=f||this,n="string"==typeof o?i.compile(o,f.options):"function"==typeof o?function(e,f){return o.call(e,f,e)}:o.cheerio?o.is.bind(o):function(e){return o===e},f._make(e(this,n))}};f.filter=p(d.filter),f.not=p(d.reject),f.has=function(e){var o=this;return f.filter.call(this,function(){return o._make(this).find(e).length>0})},f.first=function(){return this.length>1?this._make(this[0]):this},f.last=function(){return this.length>1?this._make(this[this.length-1]):this},f.eq=function(e){return e=+e,0===e&&this.length<=1?this:(0>e&&(e=this.length+e),this[e]?this._make(this[e]):this._make([]))},f.get=function(e){return null==e?Array.prototype.slice.call(this):this[0>e?this.length+e:e]},f.index=function(e){var o,f;return 0===arguments.length?(o=this.parent().children(),f=this[0]):"string"==typeof e?(o=this._make(e),f=this[0]):(o=this,f=e.cheerio?e[0]:e),o.get().indexOf(f)},f.slice=function(){return this._make([].slice.apply(this,arguments))},f.end=function(){return this.prevObject||this._make([])},f.add=function(e,o){for(var f=this._make(e,o),n=u(f.get().concat(this.get())),d=0;d<n.length;++d)f[d]=n[d];return f.length=n.length,f},f.addBack=function(e){return this.add(arguments.length?this.prevObject.filter(e):this.prevObject)}},{"../utils":23,"css-select":26,htmlparser2:76,lodash:113}],20:[function(e,o,f){var n=e("./parse"),d=e("lodash"),i=[e("./api/attributes"),e("./api/traversing"),e("./api/manipulation"),e("./api/css"),e("./api/forms")],t=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=o.exports=function(e,o,f,i){return this instanceof l?(this.options=d.defaults(i||{},this.options),e?(f&&("string"==typeof f&&(f=n(f,this.options)),this._root=l.call(this,f)),e.cheerio?e:(s(e)&&(e=[e]),Array.isArray(e)?(d.forEach(e,function(e,o){this[o]=e},this),this.length=e.length,this):"string"==typeof e&&u(e)?l.call(this,n(e,this.options).children):(o?"string"==typeof o?u(o)?(o=n(o,this.options),o=l.call(this,o)):(e=[o,e].join(" "),o=this._root):o.cheerio||(o=l.call(this,o)):o=this._root,o?o.find(e):this))):this):new l(e,o,f,i)};d.extend(l,e("./static")),l.prototype.cheerio="[cheerio object]",l.prototype.options={withDomLvl1:!0,normalizeWhitespace:!1,xmlMode:!1,decodeEntities:!0},l.prototype.length=0,l.prototype.splice=Array.prototype.splice;var u=function(e){if("<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3)return!0;var o=t.exec(e);return!(!o||!o[1])};l.prototype._make=function(e,o){var f=new this.constructor(e,o,this._root,this.options);return f.prevObject=this,f},l.prototype.toArray=function(){return this.get()},i.forEach(function(e){d.extend(l.prototype,e)});var s=function(e){return e.name||"text"===e.type||"comment"===e.type}},{"./api/attributes":15,"./api/css":16,"./api/forms":17,"./api/manipulation":18,"./api/traversing":19,"./parse":21,"./static":22,lodash:113}],21:[function(e,o,f){(function(n){var d=e("htmlparser2");f=o.exports=function(e,o){var n=f.evaluate(e,o),d=f.evaluate("<root></root>",o)[0];return d.type="root",f.update(n,d),d},f.evaluate=function(e,o){var f;return f="string"==typeof e||n.isBuffer(e)?d.parseDOM(e,o):e},f.update=function(e,o){Array.isArray(e)||(e=[e]),o?o.children=e:o=null;for(var f=0;f<e.length;f++){var n=e[f],d=n.parent||n.root,i=d&&d.children;i&&i!==e&&(i.splice(i.indexOf(n),1),n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev)),o?(n.prev=e[f-1]||null,n.next=e[f+1]||null):n.prev=n.next=null,o&&"root"===o.type?(n.root=o,n.parent=null):(n.root=null,n.parent=o)}return o}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":96,htmlparser2:76}],22:[function(e,o,f){function n(e,o,f){if(o)"string"==typeof o&&(o=d(o,e._root,f));else{if(!e._root||!e._root.children)return"";o=e._root.children}return t(o,f)}var d=e("css-select"),i=e("./parse"),t=e("dom-serializer"),l=e("lodash");f.load=function(o,n){var d=e("./cheerio");n=l.defaults(n||{},d.prototype.options);var t=i(o,n),u=function(e,o,f,i){return this instanceof u?(i=l.defaults(i||{},n),d.call(this,e,o,f||t,i)):new u(e,o,f,i)};return u.prototype=Object.create(d.prototype),u.prototype.constructor=u,u.fn=u.prototype,u.prototype._originalRoot=t,l.merge(u,f),u._root=t,u._options=n,u},f.html=function(o,f){var d=e("./cheerio");return"[object Object]"!==Object.prototype.toString.call(o)||f||"length"in o||"type"in o||(f=o,o=void 0),f=l.defaults(f||{},this._options,d.prototype.options),n(this,o,f)},f.xml=function(e){var o=l.defaults({xmlMode:!0},this._options);return n(this,e,o)},f.text=function(e){if(!e)return"";for(var o,n="",d=e.length,i=0;d>i;i++)o=e[i],"text"===o.type?n+=o.data:o.children&&"comment"!==o.type&&(n+=f.text(o.children));return n},f.parseHTML=function(e,o,f){var n;return e&&"string"==typeof e?("boolean"==typeof o&&(f=o),n=this.load(e),f||n("script").remove(),n.root()[0].children.slice()):null},f.root=function(){return this(this._root)},f.contains=function(e,o){if(o===e)return!1;for(;o&&o!==o.parent;)if(o=o.parent,o===e)return!0;return!1}},{"./cheerio":20,"./parse":21,"css-select":26,"dom-serializer":34,lodash:113}],23:[function(e,o,f){var n=e("./parse"),d=e("dom-serializer"),i={tag:!0,script:!0,style:!0};f.isTag=function(e){return e.type&&(e=e.type),i[e]||!1},f.camelCase=function(e){return e.replace(/[_.-](\w|$)/g,function(e,o){return o.toUpperCase()})},f.cssCase=function(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()},f.domEach=function(e,o){for(var f=0,n=e.length;n>f&&o.call(e,f,e[f])!==!1;)++f;return e},f.cloneDom=function(e,o){return n(d(e,o),o).children}},{"./parse":21,"dom-serializer":34}],24:[function(e,o,f){o.exports={_args:[["cheerio@^0.19.0","/Users/samypesse/Projects/GitBook/gitbook-parsers/node_modules/gitbook-asciidoc"]],_from:"cheerio@>=0.19.0 <0.20.0",_id:"cheerio@0.19.0",_inCache:!0,_installable:!0,_location:"/cheerio",_nodeVersion:"1.5.1",_npmUser:{email:"me@feedic.com",name:"feedic"},_npmVersion:"2.7.1",_phantomChildren:{},_requested:{name:"cheerio",raw:"cheerio@^0.19.0",rawSpec:"^0.19.0",scope:null,spec:">=0.19.0 <0.20.0",type:"range"},_requiredBy:["/gitbook-asciidoc","/gitbook-restructuredtext"],_resolved:"https://registry.npmjs.org/cheerio/-/cheerio-0.19.0.tgz",_shasum:"772e7015f2ee29965096d71ea4175b75ab354925",_shrinkwrap:null,_spec:"cheerio@^0.19.0",_where:"/Users/samypesse/Projects/GitBook/gitbook-parsers/node_modules/gitbook-asciidoc",author:{email:"mattmuelle@gmail.com",name:"Matt Mueller",url:"mat.io"},bugs:{url:"https://github.com/cheeriojs/cheerio/issues"},dependencies:{"css-select":"~1.0.0","dom-serializer":"~0.1.0",entities:"~1.1.1",htmlparser2:"~3.8.1",lodash:"^3.2.0"},description:"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server",devDependencies:{benchmark:"~1.0.0",coveralls:"~2.10","expect.js":"~0.3.1",istanbul:"~0.2",jsdom:"~0.8.9",jshint:"~2.5.1",mocha:"*",xyz:"~0.5.0"},directories:{},dist:{shasum:"772e7015f2ee29965096d71ea4175b75ab354925",tarball:"http://registry.npmjs.org/cheerio/-/cheerio-0.19.0.tgz"},engines:{node:">= 0.6"},gitHead:"9e3746d391c47a09ad5b130d770c747a0d673869",homepage:"https://github.com/cheeriojs/cheerio",keywords:["html","htmlparser","jquery","parser","scraper","selector"],license:"MIT",main:"./index.js",maintainers:[{name:"mattmueller",email:"mattmuelle@gmail.com"},{name:"davidchambers",email:"dc@davidchambers.me"},{name:"jugglinmike",email:"mike@mikepennisi.com"},{name:"feedic",email:"me@feedic.com"}],name:"cheerio",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git://github.com/cheeriojs/cheerio.git"},scripts:{test:"make test"},version:"0.19.0",browserify:{transform:["browserify-swap"]}}},{}],25:[function(e,o,f){(function(e){function o(e){return Array.isArray?Array.isArray(e):"[object Array]"===w(e)}function n(e){return"boolean"==typeof e}function d(e){return null===e}function i(e){return null==e}function t(e){return"number"==typeof e}function l(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function s(e){return void 0===e}function p(e){return"[object RegExp]"===w(e)}function r(e){return"object"==typeof e&&null!==e}function y(e){return"[object Date]"===w(e)}function a(e){return"[object Error]"===w(e)||e instanceof Error}function c(e){return"function"==typeof e}function b(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function w(e){return Object.prototype.toString.call(e)}f.isArray=o,f.isBoolean=n,f.isNull=d,f.isNullOrUndefined=i,f.isNumber=t,f.isString=l,f.isSymbol=u,f.isUndefined=s,f.isRegExp=p,f.isObject=r,f.isDate=y,f.isError=a,f.isFunction=c,f.isPrimitive=b,f.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":96}],26:[function(e,o,f){"use strict";function n(e){return function(o,f,n){return"function"!=typeof o&&(o=c(o,n)),f=Array.isArray(f)?r(f):p(f),e(o,f)}}function d(e,o,f){return("function"==typeof o?o:a(o,f))(e)}function i(e,o,f){return b(e,o,f)}o.exports=i;var t=e("./lib/pseudos.js"),l=e("domutils"),u=l.findOne,s=l.findAll,p=l.getChildren,r=l.removeSubsets,y=e("boolbase").falseFunc,a=e("./lib/compile.js"),c=a.compileUnsafe,b=n(function(e,o){return e!==y&&o&&0!==o.length?s(e,o):[]}),w=n(function(e,o){return e!==y&&o&&0!==o.length?u(e,o):null});i.compile=a,i.filters=t.filters,i.pseudos=t.pseudos,i.selectAll=b,i.selectOne=w,i.is=d,i.parse=a,i.iterate=b,i._compileUnsafe=c},{"./lib/compile.js":28,"./lib/pseudos.js":31,boolbase:10,domutils:40}],27:[function(e,o,f){var n=e("domutils"),d=n.hasAttrib,i=n.getAttributeValue,t=e("boolbase").falseFunc,l=/[-[\]{}()*+?.,\\^$|#\s]/g,u={__proto__:null,equals:function(e,o){var f=o.name,n=o.value;return o.ignoreCase?(n=n.toLowerCase(),function(o){var d=i(o,f);return null!=d&&d.toLowerCase()===n&&e(o)}):function(o){return i(o,f)===n&&e(o)}},hyphen:function(e,o){var f=o.name,n=o.value,d=n.length;return o.ignoreCase?(n=n.toLowerCase(),
  function(o){var t=i(o,f);return null!=t&&(t.length===d||"-"===t.charAt(d))&&t.substr(0,d).toLowerCase()===n&&e(o)}):function(o){var t=i(o,f);return null!=t&&t.substr(0,d)===n&&(t.length===d||"-"===t.charAt(d))&&e(o)}},element:function(e,o){var f=o.name,n=o.value;if(/\s/.test(n))return t;n=n.replace(l,"\\$&");var d="(?:^|\\s)"+n+"(?:$|\\s)",u=o.ignoreCase?"i":"",s=new RegExp(d,u);return function(o){var n=i(o,f);return null!=n&&s.test(n)&&e(o)}},exists:function(e,o){var f=o.name;return function(o){return d(o,f)&&e(o)}},start:function(e,o){var f=o.name,n=o.value,d=n.length;return 0===d?t:o.ignoreCase?(n=n.toLowerCase(),function(o){var t=i(o,f);return null!=t&&t.substr(0,d).toLowerCase()===n&&e(o)}):function(o){var t=i(o,f);return null!=t&&t.substr(0,d)===n&&e(o)}},end:function(e,o){var f=o.name,n=o.value,d=-n.length;return 0===d?t:o.ignoreCase?(n=n.toLowerCase(),function(o){var t=i(o,f);return null!=t&&t.substr(d).toLowerCase()===n&&e(o)}):function(o){var t=i(o,f);return null!=t&&t.substr(d)===n&&e(o)}},any:function(e,o){var f=o.name,n=o.value;if(""===n)return t;if(o.ignoreCase){var d=new RegExp(n.replace(l,"\\$&"),"i");return function(o){var n=i(o,f);return null!=n&&d.test(n)&&e(o)}}return function(o){var d=i(o,f);return null!=d&&d.indexOf(n)>=0&&e(o)}},not:function(e,o){var f=o.name,n=o.value;return""===n?function(o){return!!i(o,f)&&e(o)}:o.ignoreCase?(n=n.toLowerCase(),function(o){var d=i(o,f);return null!=d&&d.toLowerCase()!==n&&e(o)}):function(o){return i(o,f)!==n&&e(o)}}};o.exports={compile:function(e,o,f){if(f&&f.strict&&(o.ignoreCase||"not"===o.action))throw SyntaxError("Unsupported attribute selector");return u[o.action](e,o)},rules:u}},{boolbase:10,domutils:40}],28:[function(e,o,f){function n(e,o){var f=i(e,o);return d(f)}function d(e){return function(o){return c(o)&&e(o)}}function i(e,o){var f=y(e,o);return t(f,o)}function t(e,o){if(e.forEach(w),o&&o.context){var f=o.context;e.forEach(function(e){l(e[0])||e.unshift({type:"descendant"})});var n=Array.isArray(f)?function(e){return f.indexOf(e)>=0}:function(e){return f===e};if(o.rootFunc){var d=o.rootFunc;o.rootFunc=function(e){return n(e)&&d(e)}}else o.rootFunc=n}return e.map(u,o).reduce(s,x)}function l(e){return j[e.type]<0}function u(e){if(0===e.length)return x;var o=this;return e.reduce(function(e,f){return e===x?e:b[f.type](e,f,o)},o&&o.rootFunc||m)}function s(e,o){return o===x||e===m?e:e===x||o===m?o:function(f){return e(f)||o(f)}}function p(e){return e.some(l)}function r(e){var o=e.charAt(0);return o!==e.slice(-1)||"'"!==o&&'"'!==o||(e=e.slice(1,-1)),e}o.exports=n,o.exports.compileUnsafe=i;var y=e("css-what"),a=e("domutils"),c=a.isTag,b=e("./general.js"),w=e("./sort.js"),g=e("boolbase"),m=g.trueFunc,x=g.falseFunc,j=e("./procedure.json"),k=e("./pseudos.js"),v=k.filters,P=a.existsOne,c=a.isTag,h=a.getChildren;v.not=function(e,o,f){var n,d={xmlMode:!(!f||!f.xmlMode),strict:!(!f||!f.strict)};if(o=r(o),d.strict){var l=y(o);if(l.length>1||l.some(p))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");n=t(l,d)}else n=i(o,d);return n===x?e:n===m?x:function(o){return!n(o)&&e(o)}},v.has=function(e,o,f){var n={xmlMode:!(!f||!f.xmlMode),strict:!(!f||!f.strict)},t=i(o,n);return t===x?x:t===m?function(o){return h(o).some(c)&&e(o)}:(t=d(t),function(o){return e(o)&&P(t,h(o))})},v.matches=function(e,o,f){var n={xmlMode:!(!f||!f.xmlMode),strict:!(!f||!f.strict),rootFunc:e};return o=r(o),i(o,n)}},{"./general.js":29,"./procedure.json":30,"./pseudos.js":31,"./sort.js":32,boolbase:10,"css-what":33,domutils:40}],29:[function(e,o,f){var n=e("domutils"),d=n.isTag,i=n.getParent,t=n.getChildren,l=n.getSiblings,u=n.getName;o.exports={__proto__:null,attribute:e("./attributes.js").compile,pseudo:e("./pseudos.js").compile,tag:function(e,o){var f=o.name;return function(o){return u(o)===f&&e(o)}},descendant:function(e){return function(o){for(var f=!1;!f&&(o=i(o));)f=e(o);return f}},parent:function(e,o,f){function n(o){return d(o)&&e(o)}if(f&&f.strict)throw SyntaxError("Parent selector isn't part of CSS3");return function(e){return t(e).some(n)}},child:function(e){return function(o){var f=i(o);return!!f&&e(f)}},sibling:function(e){return function(o){for(var f=l(o),n=0;n<f.length;n++)if(d(f[n])){if(f[n]===o)break;if(e(f[n]))return!0}return!1}},adjacent:function(e){return function(o){for(var f,n=l(o),i=0;i<n.length;i++)if(d(n[i])){if(n[i]===o)break;f=n[i]}return!!f&&e(f)}},universal:function(e){return e}}},{"./attributes.js":27,"./pseudos.js":31,domutils:40}],30:[function(e,o,f){o.exports={universal:5,tag:3,attribute:1,pseudo:0,descendant:-1,child:-1,parent:-1,sibling:-1,adjacent:-1}},{}],31:[function(e,o,f){function n(e){for(var o=0;e&&o<e.length;o++)if(u(e[o]))return e[o]}function d(e,o){var f={name:e,value:o};return function(e){return g(e,f)}}function i(e){return function(o){return!!p(o)&&e(o)}}function t(e,o,f){if(null===f){if(e.length>1)throw new SyntaxError("pseudo-selector :"+o+" requires an argument")}else if(1===e.length)throw new SyntaxError("pseudo-selector :"+o+" doesn't have any arguments")}var l=e("domutils"),u=l.isTag,s=l.getText,p=l.getParent,r=l.getChildren,y=l.getSiblings,a=l.hasAttrib,c=l.getName,b=l.getAttributeValue,w=e("nth-check"),g=e("./attributes.js").rules.equals,m=e("boolbase"),x=m.trueFunc,j=m.falseFunc,k={contains:function(e,o){return'"'!==o.charAt(0)&&"'"!==o.charAt(0)||o.charAt(0)!==o.substr(-1)||(o=o.slice(1,-1)),function(f){return e(f)&&s(f).indexOf(o)>=0}},"nth-child":function(e,o){var f=w(o);return f===j?f:f===x?i(e):function(o){for(var n=y(o),d=0,i=0;d<n.length;d++)if(u(n[d])){if(n[d]===o)break;i++}return f(i)&&e(o)}},"nth-last-child":function(e,o){var f=w(o);return f===j?f:f===x?i(e):function(o){for(var n=y(o),d=0,i=n.length-1;i>=0;i--)if(u(n[i])){if(n[i]===o)break;d++}return f(d)&&e(o)}},"nth-of-type":function(e,o){var f=w(o);return f===j?f:f===x?i(e):function(o){for(var n=y(o),d=0,i=0;i<n.length;i++)if(u(n[i])){if(n[i]===o)break;c(n[i])===c(o)&&d++}return f(d)&&e(o)}},"nth-last-of-type":function(e,o){var f=w(o);return f===j?f:f===x?i(e):function(o){for(var n=y(o),d=0,i=n.length-1;i>=0;i--)if(u(n[i])){if(n[i]===o)break;c(n[i])===c(o)&&d++}return f(d)&&e(o)}},checkbox:d("type","checkbox"),file:d("type","file"),password:d("type","password"),radio:d("type","radio"),reset:d("type","reset"),image:d("type","image"),submit:d("type","submit")},v={root:function(e){return!p(e)},empty:function(e){return!r(e).some(function(e){return u(e)||"text"===e.type})},"first-child":function(e){return n(y(e))===e},"last-child":function(e){for(var o=y(e),f=o.length-1;f>=0;f--){if(o[f]===e)return!0;if(u(o[f]))break}return!1},"first-of-type":function(e){for(var o=y(e),f=0;f<o.length;f++)if(u(o[f])){if(o[f]===e)return!0;if(c(o[f])===c(e))break}return!1},"last-of-type":function(e){for(var o=y(e),f=o.length-1;f>=0;f--)if(u(o[f])){if(o[f]===e)return!0;if(c(o[f])===c(e))break}return!1},"only-of-type":function(e){for(var o=y(e),f=0,n=o.length;n>f;f++)if(u(o[f])){if(o[f]===e)continue;if(c(o[f])===c(e))return!1}return!0},"only-child":function(e){for(var o=y(e),f=0;f<o.length;f++)if(u(o[f])&&o[f]!==e)return!1;return!0},selected:function(e){if(a(e,"selected"))return!0;if("option"!==c(e))return!1;var o=p(e);if(!o||"select"!==c(o)||a(o,"multiple"))return!1;for(var f=r(o),n=!1,d=0;d<f.length;d++)if(u(f[d]))if(f[d]===e)n=!0;else{if(!n)return!1;if(a(f[d],"selected"))return!1}return n},disabled:function(e){return a(e,"disabled")},enabled:function(e){return!a(e,"disabled")},checked:function(e){return a(e,"checked")||v.selected(e)},parent:function(e){return!v.empty(e)},header:function(e){var o=c(e);return"h1"===o||"h2"===o||"h3"===o||"h4"===o||"h5"===o||"h6"===o},button:function(e){var o=c(e);return"button"===o||"input"===o&&"button"===b(e,"type")},input:function(e){var o=c(e);return"input"===o||"textarea"===o||"select"===o||"button"===o},text:function(e){var o;return"input"===c(e)&&(!(o=b(e,"type"))||"text"===o.toLowerCase())}},P=/^(?:(?:nth|last|first|only)-(?:child|of-type)|root|empty|(?:en|dis)abled|checked|not)$/;o.exports={compile:function(e,o,f){var n=o.name,d=o.data;if(f&&f.strict&&!P.test(n))throw SyntaxError(":"+n+" isn't part of CSS3");if("function"==typeof k[n])return t(k[n],n,d),k[n](e,d,f);if("function"==typeof v[n]){var i=v[n];return t(i,n,d),e===x?i:function(o){return i(o,d)&&e(o)}}throw new SyntaxError("unmatched pseudo-class :"+n)},filters:k,pseudos:v}},{"./attributes.js":27,boolbase:10,domutils:40,"nth-check":115}],32:[function(e,o,f){function n(e){for(var o=1;o<e.length;o++){var f=d[e[o].type];if(!(0>f))for(var n=o-1;n>=0&&(!(f>d[e[n].type])&&(f===i&&d[e[n].type]===i&&t[e[o].action]<=t[e[n].action]));n--){var l=e[n+1];e[n+1]=e[n],e[n]=l}}}o.exports=n;var d=e("./procedure.json"),i=d.attribute,t={__proto__:null,exists:8,equals:7,not:6,start:5,end:4,any:3,hyphen:2,element:1}},{"./procedure.json":30}],33:[function(e,o,f){"use strict";function n(e,o,f){var n="0x"+o-65536;return n!==n||f?o:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}function d(e){return e.replace(s,n)}function i(e){for(var o=1,f=1,n=e.length;f>0&&n>o;o++)"("===e.charAt(o)?f++:")"===e.charAt(o)&&f--;return o}function t(e,o){function f(){var o=e.match(u)[0];return e=e.substr(o.length),d(o)}e=(e+"").trimLeft();for(var n,t,s,c=[],b=[],w=!1;""!==e;)if(u.test(e))w&&(b.push({type:"descendant"}),w=!1),s=f(),o&&("lowerCaseTags"in o?!o.lowerCaseTags:o.xmlMode)||(s=s.toLowerCase()),b.push({type:"tag",name:s});else if(l.test(e))w=!0,e=e.trimLeft();else{if(t=e.charAt(0),e=e.substr(1),t in y){b.push({type:y[t]}),e=e.trimLeft(),w=!1;continue}if(","===t){if(0===b.length)throw new SyntaxError("empty sub-selector");c.push(b),b=[],e=e.trimLeft(),w=!1;continue}if(w&&(b.push({type:"descendant"}),w=!1),"*"===t)b.push({type:"universal"});else if(t in a)b.push({type:"attribute",name:a[t][0],action:a[t][1],value:f(),ignoreCase:!1});else if("["===t){if(n=e.match(p),!n)throw new SyntaxError("Malformed attribute selector: "+e);e=e.substr(n[0].length),s=d(n[1]),o&&("lowerCaseAttributeNames"in o?!o.lowerCaseAttributeNames:o.xmlMode)||(s=s.toLowerCase()),b.push({type:"attribute",name:s,action:r[n[2]],value:d(n[4]||n[5]||""),ignoreCase:!!n[6]})}else{if(":"!==t)throw new SyntaxError("Unmatched selector: "+t+e);if(s=f().toLowerCase(),n=null,"("===e.charAt(0)){var g=i(e);n=e.substr(1,g-2),e=e.substr(g)}b.push({type:"pseudo",name:s,data:n})}}if(c.length>0&&0===b.length)throw new SyntaxError("empty sub-selector");return c.push(b),c}o.exports=t;var l=/^\s/,u=/^(?:\\.|[\w\-\u00c0-\uFFFF])+/,s=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,p=/^\s*((?:\\.|[\w\u00c0-\uFFFF\-])+)\s*(?:(\S?)=\s*(?:(['"])(.*?)\3|(#?(?:\\.|[\w\u00c0-\uFFFF\-])*)|)|)\s*(i)?\]/,r={__proto__:null,undefined:"exists","":"equals","~":"element","^":"start",$:"end","*":"any","!":"not","|":"hyphen"},y={__proto__:null,">":"child","<":"parent","~":"sibling","+":"adjacent"},a={__proto__:null,"#":["id","equals"],".":["class","element"]}},{}],34:[function(e,o,f){function n(e,o){if(e){var f,n="";for(var d in e)f=e[d],n&&(n+=" "),n+=!f&&r[d]?d:d+'="'+(o.decodeEntities?p.encodeXML(f):f)+'"';return n}}function d(e,o){"svg"===e.name&&(o={decodeEntities:o.decodeEntities,xmlMode:!0});var f="<"+e.name,d=n(e.attribs,o);return d&&(f+=" "+d),!o.xmlMode||e.children&&0!==e.children.length?(f+=">",e.children&&(f+=c(e.children,o)),(!a[e.name]||o.xmlMode)&&(f+="</"+e.name+">")):f+="/>",f}function i(e){return"<"+e.data+">"}function t(e,o){var f=e.data||"";return!o.decodeEntities||e.parent&&e.parent.name in y||(f=p.encodeXML(f)),f}function l(e){return"<![CDATA["+e.children[0].data+"]]>"}function u(e){return"<!--"+e.data+"-->"}var s=e("domelementtype"),p=e("entities"),r={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,"default":!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},y={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=o.exports=function(e,o){Array.isArray(e)||e.cheerio||(e=[e]),o=o||{};for(var f="",n=0;n<e.length;n++){var p=e[n];f+="root"===p.type?c(p.children,o):s.isTag(p)?d(p,o):p.type===s.Directive?i(p):p.type===s.Comment?u(p):p.type===s.CDATA?l(p):t(p,o)}return f}},{domelementtype:35,entities:47}],35:[function(e,o,f){o.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},{}],36:[function(e,o,f){o.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},{}],37:[function(e,o,f){function n(e,o,f){"object"==typeof e?(f=o,o=e,e=null):"function"==typeof o&&(f=o,o=u),this._callback=e,this._options=o||u,this._elementCB=f,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var d=e("domelementtype"),i=/\s+/g,t=e("./lib/node"),l=e("./lib/element"),u={normalizeWhitespace:!1,withStartIndices:!1};n.prototype.onparserinit=function(e){this._parser=e},n.prototype.onreset=function(){n.call(this,this._callback,this._options,this._elementCB)},n.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},n.prototype._handleCallback=n.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},n.prototype.onclosetag=function(){var e=this._tagStack.pop();this._elementCB&&this._elementCB(e)},n.prototype._addDomElement=function(e){var o=this._tagStack[this._tagStack.length-1],f=o?o.children:this.dom,n=f[f.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withDomLvl1&&(e.__proto__="tag"===e.type?l:t),n?(e.prev=n,n.next=e):e.prev=null,f.push(e),e.parent=o||null},n.prototype.onopentag=function(e,o){var f={type:"script"===e?d.Script:"style"===e?d.Style:d.Tag,name:e,attribs:o,children:[]};this._addDomElement(f),this._tagStack.push(f)},n.prototype.ontext=function(e){var o,f=this._options.normalizeWhitespace||this._options.ignoreWhitespace;!this._tagStack.length&&this.dom.length&&(o=this.dom[this.dom.length-1]).type===d.Text?f?o.data=(o.data+e).replace(i," "):o.data+=e:this._tagStack.length&&(o=this._tagStack[this._tagStack.length-1])&&(o=o.children[o.children.length-1])&&o.type===d.Text?f?o.data=(o.data+e).replace(i," "):o.data+=e:(f&&(e=e.replace(i," ")),this._addDomElement({data:e,type:d.Text}))},n.prototype.oncomment=function(e){var o=this._tagStack[this._tagStack.length-1];if(o&&o.type===d.Comment)return void(o.data+=e);var f={data:e,type:d.Comment};this._addDomElement(f),this._tagStack.push(f)},n.prototype.oncdatastart=function(){var e={children:[{data:"",type:d.Text}],type:d.CDATA};this._addDomElement(e),this._tagStack.push(e)},n.prototype.oncommentend=n.prototype.oncdataend=function(){this._tagStack.pop()},n.prototype.onprocessinginstruction=function(e,o){this._addDomElement({name:e,data:o,type:d.Directive})},o.exports=n},{"./lib/element":38,"./lib/node":39,domelementtype:36}],38:[function(e,o,f){var n=e("./node"),d=o.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach(function(e){var o=i[e];Object.defineProperty(d,e,{get:function(){return this[o]||null},set:function(e){return this[o]=e,e}})})},{"./node":39}],39:[function(e,o,f){var n=o.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return i[this.type]||i.element}},d={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(d).forEach(function(e){var o=d[e];Object.defineProperty(n,e,{get:function(){return this[o]||null},set:function(e){return this[o]=e,e}})})},{}],40:[function(e,o,f){var n=o.exports;[e("./lib/stringify"),e("./lib/traversal"),e("./lib/manipulation"),e("./lib/querying"),e("./lib/legacy"),e("./lib/helpers")].forEach(function(e){Object.keys(e).forEach(function(o){n[o]=e[o].bind(n)})})},{"./lib/helpers":41,"./lib/legacy":42,"./lib/manipulation":43,"./lib/querying":44,"./lib/stringify":45,"./lib/traversal":46}],41:[function(e,o,f){f.removeSubsets=function(e){for(var o,f,n,d=e.length;--d>-1;){for(o=f=e[d],e[d]=null,n=!0;f;){if(e.indexOf(f)>-1){n=!1,e.splice(d,1);break}f=f.parent}n&&(e[d]=o)}return e}},{}],42:[function(e,o,f){function n(e,o){return"function"==typeof o?function(f){return f.attribs&&o(f.attribs[e])}:function(f){return f.attribs&&f.attribs[e]===o}}function d(e,o){return function(f){return e(f)||o(f)}}var i=e("domelementtype"),t=f.isTag=i.isTag;f.testElement=function(e,o){for(var f in e)if(e.hasOwnProperty(f)){if("tag_name"===f){if(!t(o)||!e.tag_name(o.name))return!1}else if("tag_type"===f){if(!e.tag_type(o.type))return!1}else if("tag_contains"===f){if(t(o)||!e.tag_contains(o.data))return!1}else if(!o.attribs||!e[f](o.attribs[f]))return!1}else;return!0};var l={tag_name:function(e){return"function"==typeof e?function(o){return t(o)&&e(o.name)}:"*"===e?t:function(o){return t(o)&&o.name===e}},tag_type:function(e){return"function"==typeof e?function(o){return e(o.type)}:function(o){return o.type===e}},tag_contains:function(e){return"function"==typeof e?function(o){return!t(o)&&e(o.data)}:function(o){return!t(o)&&o.data===e}}};f.getElements=function(e,o,f,i){var t=Object.keys(e).map(function(o){var f=e[o];return o in l?l[o](f):n(o,f)});return 0===t.length?[]:this.filter(t.reduce(d),o,f,i)},f.getElementById=function(e,o,f){return Array.isArray(o)||(o=[o]),this.findOne(n("id",e),o,f!==!1)},f.getElementsByTagName=function(e,o,f,n){return this.filter(l.tag_name(e),o,f,n)},f.getElementsByTagType=function(e,o,f,n){return this.filter(l.tag_type(e),o,f,n)}},{domelementtype:36}],43:[function(e,o,f){f.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var o=e.parent.children;o.splice(o.lastIndexOf(e),1)}},f.replaceElement=function(e,o){var f=o.prev=e.prev;f&&(f.next=o);var n=o.next=e.next;n&&(n.prev=o);var d=o.parent=e.parent;if(d){var i=d.children;i[i.lastIndexOf(e)]=o}},f.appendChild=function(e,o){if(o.parent=e,1!==e.children.push(o)){var f=e.children[e.children.length-2];f.next=o,o.prev=f,o.next=null}},f.append=function(e,o){var f=e.parent,n=e.next;if(o.next=n,o.prev=e,e.next=o,o.parent=f,n){if(n.prev=o,f){var d=f.children;d.splice(d.lastIndexOf(n),0,o)}}else f&&f.children.push(o)},f.prepend=function(e,o){var f=e.parent;if(f){var n=f.children;n.splice(n.lastIndexOf(e),0,o)}e.prev&&(e.prev.next=o),o.parent=f,o.prev=e.prev,o.next=e,e.prev=o}},{}],44:[function(e,o,f){function n(e,o,f,n){return Array.isArray(o)||(o=[o]),"number"==typeof n&&isFinite(n)||(n=1/0),d(e,o,f!==!1,n)}function d(e,o,f,n){for(var i,t=[],l=0,u=o.length;u>l&&!(e(o[l])&&(t.push(o[l]),--n<=0))&&(i=o[l].children,!(f&&i&&i.length>0&&(i=d(e,i,f,n),t=t.concat(i),n-=i.length,0>=n)));l++);return t}function i(e,o){for(var f=0,n=o.length;n>f;f++)if(e(o[f]))return o[f];return null}function t(e,o){for(var f=null,n=0,d=o.length;d>n&&!f;n++)s(o[n])&&(e(o[n])?f=o[n]:o[n].children.length>0&&(f=t(e,o[n].children)));return f}function l(e,o){for(var f=0,n=o.length;n>f;f++)if(s(o[f])&&(e(o[f])||o[f].children.length>0&&l(e,o[f].children)))return!0;return!1}function u(e,o){for(var f=[],n=0,d=o.length;d>n;n++)s(o[n])&&(e(o[n])&&f.push(o[n]),o[n].children.length>0&&(f=f.concat(u(e,o[n].children))));return f}var s=e("domelementtype").isTag;o.exports={filter:n,find:d,findOneChild:i,findOne:t,existsOne:l,findAll:u}},{domelementtype:36}],45:[function(e,o,f){function n(e){return e.children?e.children.map(d).join(""):""}function d(e){switch(e.type){case t.Text:return e.data;case t.Comment:return"<!--"+e.data+"-->";case t.Directive:return"<"+e.data+">";case t.CDATA:return"<!CDATA "+n(e)+"]]>"}var o="<"+e.name;if("attribs"in e)for(var f in e.attribs)if(e.attribs.hasOwnProperty(f)){o+=" "+f;var d=e.attribs[f];null==d?f in u||(o+='=""'):o+='="'+d+'"'}return e.name in s&&0===e.children.length?o+" />":o+">"+n(e)+"</"+e.name+">"}function i(e){return Array.isArray(e)?e.map(i).join(""):l(e)||e.type===t.CDATA?i(e.children):e.type===t.Text?e.data:""}var t=e("domelementtype"),l=t.isTag;o.exports={getInnerHTML:n,getOuterHTML:d,getText:i};var u={__proto__:null,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,defer:!0,disabled:!0,hidden:!0,loop:!0,multiple:!0,open:!0,readonly:!0,required:!0,scoped:!0,selected:!0},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,link:!0,meta:!0,param:!0,embed:!0}},{domelementtype:36}],46:[function(e,o,f){var n=f.getChildren=function(e){return e.children},d=f.getParent=function(e){return e.parent};f.getSiblings=function(e){var o=d(e);return o?n(o):[e]},f.getAttributeValue=function(e,o){return e.attribs&&e.attribs[o]},f.hasAttrib=function(e,o){return hasOwnProperty.call(e.attribs,o)},f.getName=function(e){return e.name}},{}],47:[function(e,o,f){var n=e("./lib/encode.js"),d=e("./lib/decode.js");f.decode=function(e,o){return(!o||0>=o?d.XML:d.HTML)(e)},f.decodeStrict=function(e,o){return(!o||0>=o?d.XML:d.HTMLStrict)(e)},f.encode=function(e,o){return(!o||0>=o?n.XML:n.HTML)(e)},f.encodeXML=n.XML,f.encodeHTML4=f.encodeHTML5=f.encodeHTML=n.HTML,f.decodeXML=f.decodeXMLStrict=d.XML,f.decodeHTML4=f.decodeHTML5=f.decodeHTML=d.HTML,f.decodeHTML4Strict=f.decodeHTML5Strict=f.decodeHTMLStrict=d.HTMLStrict,f.escape=n.escape},{"./lib/decode.js":48,"./lib/encode.js":50}],48:[function(e,o,f){function n(e){var o=Object.keys(e).join("|"),f=i(e);o+="|#[xX][\\da-fA-F]+|#\\d+";var n=new RegExp("&(?:"+o+");","g");return function(e){return String(e).replace(n,f)}}function d(e,o){return o>e?1:-1}function i(e){return function(o){return"#"===o.charAt(1)?s("X"===o.charAt(2)||"x"===o.charAt(2)?parseInt(o.substr(3),16):parseInt(o.substr(2),10)):e[o.slice(1,-1)]}}var t=e("../maps/entities.json"),l=e("../maps/legacy.json"),u=e("../maps/xml.json"),s=e("./decode_codepoint.js"),p=n(u),r=n(t),y=function(){function e(e){return";"!==e.substr(-1)&&(e+=";"),p(e)}for(var o=Object.keys(l).sort(d),f=Object.keys(t).sort(d),n=0,u=0;n<f.length;n++)o[u]===f[n]?(f[n]+=";?",u++):f[n]+=";";var s=new RegExp("&(?:"+f.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),p=i(t);return function(o){return String(o).replace(s,e)}}();o.exports={XML:p,HTML:y,HTMLStrict:r}},{"../maps/entities.json":52,"../maps/legacy.json":53,"../maps/xml.json":54,"./decode_codepoint.js":49}],49:[function(e,o,f){function n(e){if(e>=55296&&57343>=e||e>1114111)return"�";e in d&&(e=d[e]);var o="";return e>65535&&(e-=65536,o+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),o+=String.fromCharCode(e)}var d=e("../maps/decode.json");o.exports=n},{"../maps/decode.json":51}],50:[function(e,o,f){function n(e){return Object.keys(e).sort().reduce(function(o,f){return o[e[f]]="&"+f+";",o},{})}function d(e){var o=[],f=[];return Object.keys(e).forEach(function(e){1===e.length?o.push("\\"+e):f.push(e)}),f.unshift("["+o.join("")+"]"),new RegExp(f.join("|"),"g")}function i(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function t(e){var o=e.charCodeAt(0),f=e.charCodeAt(1),n=1024*(o-55296)+f-56320+65536;return"&#x"+n.toString(16).toUpperCase()+";"}function l(e,o){function f(o){return e[o]}return function(e){return e.replace(o,f).replace(c,t).replace(a,i)}}function u(e){return e.replace(b,i).replace(c,t).replace(a,i)}var s=n(e("../maps/xml.json")),p=d(s);f.XML=l(s,p);var r=n(e("../maps/entities.json")),y=d(r);f.HTML=l(r,y);var a=/[^\0-\x7F]/g,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=d(s);f.escape=u},{"../maps/entities.json":52,"../maps/xml.json":54}],51:[function(e,o,f){o.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},{}],52:[function(e,o,f){o.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",
  hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"Ĳ",ijlig:"ĳ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅","in":"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺","int":"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"	",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],53:[function(e,o,f){o.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}},{}],54:[function(e,o,f){o.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},{}],55:[function(e,o,f){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function d(e){return"function"==typeof e}function i(e){return"number"==typeof e}function t(e){return"object"==typeof e&&null!==e}function l(e){return void 0===e}o.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var o,f,n,i,u,s;if(this._events||(this._events={}),"error"===e&&(!this._events.error||t(this._events.error)&&!this._events.error.length)){if(o=arguments[1],o instanceof Error)throw o;throw TypeError('Uncaught, unspecified "error" event.')}if(f=this._events[e],l(f))return!1;if(d(f))switch(arguments.length){case 1:f.call(this);break;case 2:f.call(this,arguments[1]);break;case 3:f.call(this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),u=1;n>u;u++)i[u-1]=arguments[u];f.apply(this,i)}else if(t(f)){for(n=arguments.length,i=new Array(n-1),u=1;n>u;u++)i[u-1]=arguments[u];for(s=f.slice(),n=s.length,u=0;n>u;u++)s[u].apply(this,i)}return!0},n.prototype.addListener=function(e,o){var f;if(!d(o))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,d(o.listener)?o.listener:o),this._events[e]?t(this._events[e])?this._events[e].push(o):this._events[e]=[this._events[e],o]:this._events[e]=o,t(this._events[e])&&!this._events[e].warned){var f;f=l(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,f&&f>0&&this._events[e].length>f&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,o){function f(){this.removeListener(e,f),n||(n=!0,o.apply(this,arguments))}if(!d(o))throw TypeError("listener must be a function");var n=!1;return f.listener=o,this.on(e,f),this},n.prototype.removeListener=function(e,o){var f,n,i,l;if(!d(o))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(f=this._events[e],i=f.length,n=-1,f===o||d(f.listener)&&f.listener===o)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,o);else if(t(f)){for(l=i;l-->0;)if(f[l]===o||f[l].listener&&f[l].listener===o){n=l;break}if(0>n)return this;1===f.length?(f.length=0,delete this._events[e]):f.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,o)}return this},n.prototype.removeAllListeners=function(e){var o,f;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(o in this._events)"removeListener"!==o&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events={},this}if(f=this._events[e],d(f))this.removeListener(e,f);else for(;f.length;)this.removeListener(e,f[f.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var o;return o=this._events&&this._events[e]?d(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.listenerCount=function(e,o){var f;return f=e._events&&e._events[o]?d(e._events[o])?1:e._events[o].length:0}},{}],56:[function(e,o,f){function n(e){var o=l(e),f=t.load(o),n=[];return f("h2").each(function(){var e=f(this),o=e.next().find("p"),d={};d.name=e.text(),d.description=o.text(),n.push(d)}),n}function d(e){var o="\n",f=i.map(e,function(e){return"== "+e.name+o+o+e.description}).join(o+o);return"= Glossary"+o+o+f}var i=e("lodash"),t=e("cheerio"),l=e("./utils/convert");o.exports=n,o.exports.toText=d},{"./utils/convert":62,cheerio:14,lodash:113}],57:[function(e,o,f){o.exports={summary:e("./summary"),glossary:e("./glossary"),langs:e("./langs"),readme:e("./readme"),page:e("./page")}},{"./glossary":56,"./langs":58,"./page":59,"./readme":60,"./summary":61}],58:[function(e,o,f){function n(e){var o="\n",f="= Languages"+o+o;return d.each(e,function(e){f=f+". link:"+e.path+"["+e.title+"]"+o}),f}var d=e("lodash"),i=e("./summary").entries,t=function(e){return i(e)};o.exports=t,o.exports.toText=n},{"./summary":61,lodash:113}],59:[function(e,o,f){function n(e){return{sections:[{type:"normal",content:d(e)}]}}var d=(e("q"),e("lodash"),e("./utils/convert"));o.exports=n},{"./utils/convert":62,lodash:113,q:121}],60:[function(e,o,f){function n(e){var o=i(e),f=d.load(o);return{title:f("h1:first-child").text().trim(),description:f("div.paragraph").first().text().trim()}}var d=(e("lodash"),e("cheerio")),i=e("./utils/convert");o.exports=n},{"./utils/convert":62,cheerio:14,lodash:113}],61:[function(e,o,f){function n(e,o){var f=[];return e.children("li").each(function(){var e={},d=o(this),i=d.children("p");e.title=i.text();var t=i.children("a");t.length>0&&(e.title=t.first().text(),e.path=t.attr("href").replace(/\\/g,"/").replace(/^\/+/,""));var l=d.children(".olist").children("ol");e.articles=n(l,o),f.push(e)}),f}function d(e){var o=i(e);return{chapters:o}}function i(e){var o=s(e),f=u.load(o),d=n(f("ol").first(),f);return d}function t(e){var o="\n",f="= Summary"+o+o,n=function(e){return e.path?"link:"+e.path+"["+e.title+"]":e.title},d=function(e,i){f=f+Array(i+2).join(".")+" "+n(e)+o,l.each(e.articles,function(e){d(e,i+1)})};return l.each(e.chapters,function(e){d(e,0)}),f+=o}var l=e("lodash"),u=e("cheerio"),s=e("./utils/convert");o.exports=d,o.exports.entries=i,o.exports.toText=t},{"./utils/convert":62,cheerio:14,lodash:113}],62:[function(e,o,f){var n=e("asciidoctor.js")(),d=n.Opal,i=null,t=!0;i=t?n.Asciidoctor(!0):n.Asciidoctor();var l=function(e){var o=d.hash2(["attributes"],{attributes:"showtitle"}),f=i.$convert(e,o);return f};o.exports=l},{"asciidoctor.js":6}],63:[function(e,o,f){function n(e){var o=e.slice(1).concat(null);return t.reduce(e,function(e,f,n){return"heading"===f.type&&o[n]&&"paragraph"===o[n].type?(e.push([f,o[n]]),e):e},[])}function d(e){var o=l.lexer(e);return n(o).map(function(e){return{name:e[0].text,description:e[1].text}})}function i(e){var o="\n",f=t.map(e,function(e){return"## "+e.name+o+o+e.description}).join(o+o);return"# Glossary"+o+o+f}var t=e("lodash"),l=e("kramed");o.exports=d,o.exports.toText=i},{kramed:103,lodash:113}],64:[function(e,o,f){e("kramed"),e("lodash");o.exports={summary:e("./summary"),glossary:e("./glossary"),langs:e("./langs"),readme:e("./readme"),page:e("./page")}},{"./glossary":63,"./langs":65,"./page":66,"./readme":67,"./summary":68,kramed:103,lodash:113}],65:[function(e,o,f){function n(e){return t(e)}function d(e){var o="\n",f="# Languages"+o+o;return i.each(e,function(e){f=f+"* ["+e.title+"]("+e.path+")"+o}),f}var i=e("lodash"),t=e("./summary").entries;o.exports=n,o.exports.toText=d},{"./summary":68,lodash:113}],66:[function(e,o,f){function n(e){return p+e+r}function d(e){return l.pluck(e,"raw").join("")}function i(e){var o=s.blocks(e),f=0,i=function(e){if("code"==e.type&&0==f)e.raw=n(e.raw);else if("tplexpr"==e.type){var o=e.matches[0];"raw"===o?f+=1:"endraw"===o&&(f=0)}return e},t=o.map(function(e){if("paragraph"==e.type||"heading"==e.type){var o=s.inline(e.raw);return o=o.map(i),e.raw=d(o),e}return i(e)});return d(t)}function t(e){var o=l.extend({},u.defaults,{mathjax:!1,renderer:new u.Renderer({langPrefix:"lang-",smartypants:!1,headerPrefix:"",headerAutoId:!1,xhtml:!1})});return{sections:[{type:"normal",content:u(e,o)}]}}var l=e("lodash"),u=e("kramed"),s=e("kramed/lib/annotate/"),p="{% raw %}",r="{% endraw %}";o.exports=t,o.exports.prepare=i},{kramed:103,"kramed/lib/annotate/":101,lodash:113}],67:[function(e,o,f){function n(e,o){return i.chain(e).filter(function(e){return e.type==o}).pluck("text").first().value()}function d(e){var o,f,d,u=l();o=t.lexer(e),f=n(o,"heading")||"",d=n(o,"paragraph")||"";var s=i.compose(function(e){return i.unescape(e.replace(/(\r\n|\n|\r)/gm,""))},function(e){return t.parse(e,i.extend({},t.defaults,{renderer:u}))});return{title:s(f),description:s(d)}}var i=e("lodash"),t=e("kramed"),l=e("kramed-text-renderer");o.exports=d},{kramed:103,"kramed-text-renderer":98,lodash:113}],68:[function(e,o,f){function n(e,o,f){var n=0,d=0,i=[];return c.reduce(e,function(e,t){return o(t)?n++:f(t)&&d++,i.push(t),n===d&&0!==n&&(e.push(i.slice(1,-1)),i=[]),e},[])}function d(e){return c.filter(e,function(e){return e&&"space"!=e.type})}function i(e){return c.map(e,function(e){return e&&"loose_item_start"==e.type?(e.type="list_item_start",e):e})}function t(e,o,f){return n(e,function(e){return e.type===o},function(e){return e.type===f})}function l(e){return c.chain(e).toArray().dropWhile(function(e){return"list_start"!==e.type}).reverse().dropWhile(function(e){return"list_end"!==e.type}).reverse().value().slice(1,-1)}function u(e){var o=b.InlineLexer.rules.link.exec(e);return o?{title:o[1],path:o[2]}:{title:e,path:null}}function s(e){var o=c.first(e);if(!o)return null;if(!o.text)throw new Error("Invalid entry in the SUMMARY");return c.extend(u(o.text),{articles:c.chain(t(l(e),"list_item_start","list_item_end")).map(function(e,o){return s(e)}).compact().value()})}function p(e){var o=b.lexer(e);return t(l(i(d(o))),"list_item_start","list_item_end")}function r(e){var o=c.chain(p(e)).map(s).compact().value();return{chapters:o}}function y(e){return c.chain(p(e)).map(s).compact().value()}function a(e){var o="\n",f="# Summary"+o+o,n=function(e){return e.path?"* ["+e.title+"]("+e.path+")":"* "+e.title},d=function(e,i){f=f+Array(4*i).join(" ")+n(e)+o,c.each(e.articles,function(e){d(e,i+1)})};return c.each(e.chapters,function(e){d(e,0)}),f+=o}var c=e("lodash"),b=e("kramed");o.exports=r,o.exports.entries=y,o.exports.toText=a},{kramed:103,lodash:113}],69:[function(e,o,f){function n(e){this._cbs=e||{},this.events=[]}o.exports=n;var d=e("./").EVENTS;Object.keys(d).forEach(function(e){if(0===d[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===d[e])e="on"+e,n.prototype[e]=function(o){this.events.push([e,o]),this._cbs[e]&&this._cbs[e](o)};else{if(2!==d[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(o,f){this.events.push([e,o,f]),this._cbs[e]&&this._cbs[e](o,f)}}}),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,o=this.events.length;o>e;e++)if(this._cbs[this.events[e][0]]){var f=this.events[e].length;1===f?this._cbs[this.events[e][0]]():2===f?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},{"./":76}],70:[function(e,o,f){function n(e,o){this.init(e,o)}function d(e,o){return p.getElementsByTagName(e,o,!0)}function i(e,o){return p.getElementsByTagName(e,o,!0,1)[0]}function t(e,o,f){return p.getText(p.getElementsByTagName(e,o,f,1)).trim()}function l(e,o,f,n,d){var i=t(f,n,d);i&&(e[o]=i)}var u=e("./index.js"),s=u.DomHandler,p=u.DomUtils;e("util").inherits(n,s),n.prototype.init=s;var r=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};n.prototype.onend=function(){var e,o,f={},n=i(r,this.dom);n&&("feed"===n.name?(o=n.children,f.type="atom",l(f,"id","id",o),l(f,"title","title",o),(e=i("link",o))&&(e=e.attribs)&&(e=e.href)&&(f.link=e),l(f,"description","subtitle",o),(e=t("updated",o))&&(f.updated=new Date(e)),l(f,"author","email",o,!0),f.items=d("entry",o).map(function(e){var o,f={};return e=e.children,l(f,"id","id",e),l(f,"title","title",e),(o=i("link",e))&&(o=o.attribs)&&(o=o.href)&&(f.link=o),(o=t("summary",e)||t("content",e))&&(f.description=o),(o=t("updated",e))&&(f.pubDate=new Date(o)),f})):(o=i("channel",n.children).children,f.type=n.name.substr(0,3),f.id="",l(f,"title","title",o),l(f,"link","link",o),l(f,"description","description",o),(e=t("lastBuildDate",o))&&(f.updated=new Date(e)),l(f,"author","managingEditor",o,!0),f.items=d("item",n.children).map(function(e){var o,f={};return e=e.children,l(f,"id","guid",e),l(f,"title","title",e),l(f,"link","link",e),l(f,"description","description",e),(o=t("pubDate",e))&&(f.pubDate=new Date(o)),f}))),this.dom=f,s.prototype._handleCallback.call(this,n?null:Error("couldn't find root of feed"))},o.exports=n},{"./index.js":76,util:139}],71:[function(e,o,f){function n(e,o){this._options=o||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._tokenizer=new d(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}var d=e("./Tokenizer.js"),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},t={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},l={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,path:!0,circle:!0,ellipse:!0,line:!0,rect:!0,use:!0,stop:!0,polyline:!0,polygon:!0},u=/\s|\//;e("util").inherits(n,e("events").EventEmitter),n.prototype._updatePosition=function(e){
  null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},n.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},n.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in t)for(var o;(o=this._stack[this._stack.length-1])in t[e];this.onclosetag(o));!this._options.xmlMode&&e in l||this._stack.push(e),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},n.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in l&&this._cbs.onclosetag(this._tagname),this._tagname=""},n.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in l&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var o=this._stack.lastIndexOf(e);if(-1!==o)if(this._cbs.onclosetag)for(o=this._stack.length-o;o--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=o;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},n.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},n.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},n.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},n.prototype.onattribdata=function(e){this._attribvalue+=e},n.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},n.prototype._getInstructionName=function(e){var o=e.search(u),f=0>o?e:e.substr(0,o);return this._lowerCaseTagNames&&(f=f.toLowerCase()),f},n.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var o=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+o,"!"+e)}},n.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var o=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+o,"?"+e)}},n.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},n.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},n.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},n.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},n.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},n.prototype.parseComplete=function(e){this.reset(),this.end(e)},n.prototype.write=function(e){this._tokenizer.write(e)},n.prototype.end=function(e){this._tokenizer.end(e)},n.prototype.pause=function(){this._tokenizer.pause()},n.prototype.resume=function(){this._tokenizer.resume()},n.prototype.parseChunk=n.prototype.write,n.prototype.done=n.prototype.end,o.exports=n},{"./Tokenizer.js":74,events:55,util:139}],72:[function(e,o,f){function n(e){this._cbs=e||{}}o.exports=n;var d=e("./").EVENTS;Object.keys(d).forEach(function(e){if(0===d[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===d[e])e="on"+e,n.prototype[e]=function(o){this._cbs[e]&&this._cbs[e](o)};else{if(2!==d[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(o,f){this._cbs[e]&&this._cbs[e](o,f)}}})},{"./":76}],73:[function(e,o,f){function n(e){i.call(this,new d(this),e)}function d(e){this.scope=e}o.exports=n;var i=e("./WritableStream.js");e("util").inherits(n,i),n.prototype.readable=!0;var t=e("../").EVENTS;Object.keys(t).forEach(function(e){if(0===t[e])d.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===t[e])d.prototype["on"+e]=function(o){this.scope.emit(e,o)};else{if(2!==t[e])throw Error("wrong number of arguments!");d.prototype["on"+e]=function(o,f){this.scope.emit(e,o,f)}}})},{"../":76,"./WritableStream.js":75,util:139}],74:[function(e,o,f){function n(e){return" "===e||"\n"===e||"	"===e||"\f"===e||"\r"===e}function d(e,o){return function(f){f===e&&(this._state=o)}}function i(e,o,f){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=o:(this._state=f,this._index--)}:function(d){d===n||d===e?this._state=o:(this._state=f,this._index--)}}function t(e,o){var f=e.toLowerCase();return function(n){n===f||n===e?this._state=o:(this._state=b,this._index--)}}function l(e,o){this._state=a,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=a,this._special=be,this._cbs=o,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}o.exports=l;var u=e("entities/lib/decode_codepoint.js"),s=e("entities/maps/entities.json"),p=e("entities/maps/legacy.json"),r=e("entities/maps/xml.json"),y=0,a=y++,c=y++,b=y++,w=y++,g=y++,m=y++,x=y++,j=y++,k=y++,v=y++,P=y++,h=y++,q=y++,z=y++,A=y++,B=y++,C=y++,D=y++,E=y++,F=y++,G=y++,H=y++,I=y++,J=y++,K=y++,L=y++,M=y++,N=y++,O=y++,Q=y++,R=y++,S=y++,T=y++,U=y++,V=y++,W=y++,X=y++,Y=y++,Z=y++,$=y++,_=y++,ee=y++,oe=y++,fe=y++,ne=y++,de=y++,ie=y++,te=y++,le=y++,ue=y++,se=y++,pe=y++,re=y++,ye=y++,ae=y++,ce=0,be=ce++,we=ce++,ge=ce++;l.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===be&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=a,this._state=se,this._sectionStart=this._index)},l.prototype._stateBeforeTagName=function(e){"/"===e?this._state=g:">"===e||this._special!==be||n(e)?this._state=a:"!"===e?(this._state=A,this._sectionStart=this._index+1):"?"===e?(this._state=C,this._sectionStart=this._index+1):"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):(this._state=this._xmlMode||"s"!==e&&"S"!==e?b:R,this._sectionStart=this._index)},l.prototype._stateInTagName=function(e){("/"===e||">"===e||n(e))&&(this._emitToken("onopentagname"),this._state=j,this._index--)},l.prototype._stateBeforeCloseingTagName=function(e){n(e)||(">"===e?this._state=a:this._special!==be?"s"===e||"S"===e?this._state=S:(this._state=a,this._index--):(this._state=m,this._sectionStart=this._index))},l.prototype._stateInCloseingTagName=function(e){(">"===e||n(e))&&(this._emitToken("onclosetag"),this._state=x,this._index--)},l.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=a,this._sectionStart=this._index+1)},l.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=a,this._sectionStart=this._index+1):"/"===e?this._state=w:n(e)||(this._state=k,this._sectionStart=this._index)},l.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=a,this._sectionStart=this._index+1):n(e)||(this._state=j,this._index--)},l.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||n(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},l.prototype._stateAfterAttributeName=function(e){"="===e?this._state=P:"/"===e||">"===e?(this._cbs.onattribend(),this._state=j,this._index--):n(e)||(this._cbs.onattribend(),this._state=k,this._sectionStart=this._index)},l.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=h,this._sectionStart=this._index+1):"'"===e?(this._state=q,this._sectionStart=this._index+1):n(e)||(this._state=z,this._sectionStart=this._index,this._index--)},l.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=j):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},l.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=j):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},l.prototype._stateInAttributeValueNoQuotes=function(e){n(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=j,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},l.prototype._stateBeforeDeclaration=function(e){this._state="["===e?H:"-"===e?D:B},l.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=a,this._sectionStart=this._index+1)},l.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=a,this._sectionStart=this._index+1)},l.prototype._stateBeforeComment=function(e){"-"===e?(this._state=E,this._sectionStart=this._index+1):this._state=B},l.prototype._stateInComment=function(e){"-"===e&&(this._state=F)},l.prototype._stateAfterComment1=function(e){"-"===e?this._state=G:this._state=E},l.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=a,this._sectionStart=this._index+1):"-"!==e&&(this._state=E)},l.prototype._stateBeforeCdata1=i("C",I,B),l.prototype._stateBeforeCdata2=i("D",J,B),l.prototype._stateBeforeCdata3=i("A",K,B),l.prototype._stateBeforeCdata4=i("T",L,B),l.prototype._stateBeforeCdata5=i("A",M,B),l.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=N,this._sectionStart=this._index+1):(this._state=B,this._index--)},l.prototype._stateInCdata=function(e){"]"===e&&(this._state=O)},l.prototype._stateAfterCdata1=d("]",Q),l.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=a,this._sectionStart=this._index+1):"]"!==e&&(this._state=N)},l.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=T:"t"===e||"T"===e?this._state=oe:(this._state=b,this._index--)},l.prototype._stateBeforeSpecialEnd=function(e){this._special!==we||"c"!==e&&"C"!==e?this._special!==ge||"t"!==e&&"T"!==e?this._state=a:this._state=ie:this._state=Y},l.prototype._stateBeforeScript1=t("R",U),l.prototype._stateBeforeScript2=t("I",V),l.prototype._stateBeforeScript3=t("P",W),l.prototype._stateBeforeScript4=t("T",X),l.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||n(e))&&(this._special=we),this._state=b,this._index--},l.prototype._stateAfterScript1=i("R",Z,a),l.prototype._stateAfterScript2=i("I",$,a),l.prototype._stateAfterScript3=i("P",_,a),l.prototype._stateAfterScript4=i("T",ee,a),l.prototype._stateAfterScript5=function(e){">"===e||n(e)?(this._special=be,this._state=m,this._sectionStart=this._index-6,this._index--):this._state=a},l.prototype._stateBeforeStyle1=t("Y",fe),l.prototype._stateBeforeStyle2=t("L",ne),l.prototype._stateBeforeStyle3=t("E",de),l.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||n(e))&&(this._special=ge),this._state=b,this._index--},l.prototype._stateAfterStyle1=i("Y",te,a),l.prototype._stateAfterStyle2=i("L",le,a),l.prototype._stateAfterStyle3=i("E",ue,a),l.prototype._stateAfterStyle4=function(e){">"===e||n(e)?(this._special=be,this._state=m,this._sectionStart=this._index-5,this._index--):this._state=a},l.prototype._stateBeforeEntity=i("#",pe,re),l.prototype._stateBeforeNumericEntity=i("X",ae,ye),l.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),o=this._xmlMode?r:s;o.hasOwnProperty(e)&&(this._emitPartial(o[e]),this._sectionStart=this._index+1)}},l.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,o=this._index-e;for(o>6&&(o=6);o>=2;){var f=this._buffer.substr(e,o);if(p.hasOwnProperty(f))return this._emitPartial(p[f]),void(this._sectionStart+=o+1);o--}},l.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):("a">e||e>"z")&&("A">e||e>"Z")&&("0">e||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==a?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},l.prototype._decodeNumericEntity=function(e,o){var f=this._sectionStart+e;if(f!==this._index){var n=this._buffer.substring(f,this._index),d=parseInt(n,o);this._emitPartial(u(d)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},l.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):("0">e||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},l.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):("a">e||e>"f")&&("A">e||e>"F")&&("0">e||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},l.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._index=0,this._bufferOffset+=this._index):this._running&&(this._state===a?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._index=0,this._bufferOffset+=this._index):this._sectionStart===this._index?(this._buffer="",this._index=0,this._bufferOffset+=this._index):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},l.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},l.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===a?this._stateText(e):this._state===c?this._stateBeforeTagName(e):this._state===b?this._stateInTagName(e):this._state===g?this._stateBeforeCloseingTagName(e):this._state===m?this._stateInCloseingTagName(e):this._state===x?this._stateAfterCloseingTagName(e):this._state===w?this._stateInSelfClosingTag(e):this._state===j?this._stateBeforeAttributeName(e):this._state===k?this._stateInAttributeName(e):this._state===v?this._stateAfterAttributeName(e):this._state===P?this._stateBeforeAttributeValue(e):this._state===h?this._stateInAttributeValueDoubleQuotes(e):this._state===q?this._stateInAttributeValueSingleQuotes(e):this._state===z?this._stateInAttributeValueNoQuotes(e):this._state===A?this._stateBeforeDeclaration(e):this._state===B?this._stateInDeclaration(e):this._state===C?this._stateInProcessingInstruction(e):this._state===D?this._stateBeforeComment(e):this._state===E?this._stateInComment(e):this._state===F?this._stateAfterComment1(e):this._state===G?this._stateAfterComment2(e):this._state===H?this._stateBeforeCdata1(e):this._state===I?this._stateBeforeCdata2(e):this._state===J?this._stateBeforeCdata3(e):this._state===K?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===M?this._stateBeforeCdata6(e):this._state===N?this._stateInCdata(e):this._state===O?this._stateAfterCdata1(e):this._state===Q?this._stateAfterCdata2(e):this._state===R?this._stateBeforeSpecial(e):this._state===S?this._stateBeforeSpecialEnd(e):this._state===T?this._stateBeforeScript1(e):this._state===U?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===W?this._stateBeforeScript4(e):this._state===X?this._stateBeforeScript5(e):this._state===Y?this._stateAfterScript1(e):this._state===Z?this._stateAfterScript2(e):this._state===$?this._stateAfterScript3(e):this._state===_?this._stateAfterScript4(e):this._state===ee?this._stateAfterScript5(e):this._state===oe?this._stateBeforeStyle1(e):this._state===fe?this._stateBeforeStyle2(e):this._state===ne?this._stateBeforeStyle3(e):this._state===de?this._stateBeforeStyle4(e):this._state===ie?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===le?this._stateAfterStyle3(e):this._state===ue?this._stateAfterStyle4(e):this._state===se?this._stateBeforeEntity(e):this._state===pe?this._stateBeforeNumericEntity(e):this._state===re?this._stateInNamedEntity(e):this._state===ye?this._stateInNumericEntity(e):this._state===ae?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},l.prototype.pause=function(){this._running=!1},l.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},l.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},l.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},l.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===N||this._state===O||this._state===Q?this._cbs.oncdata(e):this._state===E||this._state===F||this._state===G?this._cbs.oncomment(e):this._state!==re||this._xmlMode?this._state!==ye||this._xmlMode?this._state!==ae||this._xmlMode?this._state!==b&&this._state!==j&&this._state!==P&&this._state!==v&&this._state!==k&&this._state!==q&&this._state!==h&&this._state!==z&&this._state!==m&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},l.prototype.reset=function(){l.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},l.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},l.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},l.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},l.prototype._emitPartial=function(e){this._baseState!==a?this._cbs.onattribdata(e):this._cbs.ontext(e)}},{"entities/lib/decode_codepoint.js":84,"entities/maps/entities.json":86,"entities/maps/legacy.json":87,"entities/maps/xml.json":88}],75:[function(e,o,f){function n(e,o){var f=this._parser=new d(e,o);i.call(this,{decodeStrings:!1}),this.once("finish",function(){f.end()})}o.exports=n;var d=e("./Parser.js"),i=e("stream").Writable||e("readable-stream").Writable;e("util").inherits(n,i),i.prototype._write=function(e,o,f){this._parser.write(e),f()}},{"./Parser.js":71,"readable-stream":11,stream:135,util:139}],76:[function(e,o,f){function n(e,f){return delete o.exports[e],o.exports[e]=f,f}var d=e("./Parser.js"),i=e("domhandler");o.exports={Parser:d,Tokenizer:e("./Tokenizer.js"),ElementType:e("domelementtype"),DomHandler:i,get FeedHandler(){return n("FeedHandler",e("./FeedHandler.js"))},get Stream(){return n("Stream",e("./Stream.js"))},get WritableStream(){return n("WritableStream",e("./WritableStream.js"))},get ProxyHandler(){return n("ProxyHandler",e("./ProxyHandler.js"))},get DomUtils(){return n("DomUtils",e("domutils"))},get CollectingHandler(){return n("CollectingHandler",e("./CollectingHandler.js"))},DefaultHandler:i,get RssHandler(){return n("RssHandler",this.FeedHandler)},parseDOM:function(e,o){var f=new i(o);return new d(f,o).end(e),f.dom},parseFeed:function(e,f){var n=new o.exports.FeedHandler(f);return new d(n,f).end(e),n.dom},createDomStream:function(e,o,f){var n=new i(e,o,f);return new d(n,o)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},{"./CollectingHandler.js":69,"./FeedHandler.js":70,"./Parser.js":71,"./ProxyHandler.js":72,"./Stream.js":73,"./Tokenizer.js":74,"./WritableStream.js":75,domelementtype:36,domhandler:37,domutils:77}],77:[function(e,o,f){arguments[4][40][0].apply(f,arguments)},{"./lib/helpers":78,"./lib/legacy":79,"./lib/manipulation":80,"./lib/querying":81,"./lib/stringify":82,"./lib/traversal":83,dup:40}],78:[function(e,o,f){f.removeSubsets=function(e){for(var o,f,n,d=e.length;--d>-1;){for(o=f=e[d],e[d]=null,n=!0;f;){if(e.indexOf(f)>-1){n=!1,e.splice(d,1);break}f=f.parent}n&&(e[d]=o)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},d=f.compareDocumentPosition=function(e,o){var f,d,i,t,l,u,s=[],p=[];if(e===o)return 0;for(f=e;f;)s.unshift(f),f=f.parent;for(f=o;f;)p.unshift(f),f=f.parent;for(u=0;s[u]===p[u];)u++;return 0===u?n.DISCONNECTED:(d=s[u-1],i=d.children,t=s[u],l=p[u],i.indexOf(t)>i.indexOf(l)?d===o?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:d===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};f.uniqueSort=function(e){var o,f,i=e.length;for(e=e.slice();--i>-1;)o=e[i],f=e.indexOf(o),f>-1&&i>f&&e.splice(i,1);return e.sort(function(e,o){var f=d(e,o);return f&n.PRECEDING?-1:f&n.FOLLOWING?1:0}),e}},{}],79:[function(e,o,f){arguments[4][42][0].apply(f,arguments)},{domelementtype:36,dup:42}],80:[function(e,o,f){arguments[4][43][0].apply(f,arguments)},{dup:43}],81:[function(e,o,f){arguments[4][44][0].apply(f,arguments)},{domelementtype:36,dup:44}],82:[function(e,o,f){function n(e,o){return e.children?e.children.map(function(e){return t(e,o)}).join(""):""}function d(e){return Array.isArray(e)?e.map(d).join(""):l(e)||e.type===i.CDATA?d(e.children):e.type===i.Text?e.data:""}var i=e("domelementtype"),t=e("dom-serializer"),l=i.isTag;o.exports={getInnerHTML:n,getOuterHTML:t,getText:d}},{"dom-serializer":34,domelementtype:36}],83:[function(e,o,f){var n=f.getChildren=function(e){return e.children},d=f.getParent=function(e){return e.parent};f.getSiblings=function(e){var o=d(e);return o?n(o):[e]},f.getAttributeValue=function(e,o){return e.attribs&&e.attribs[o]},f.hasAttrib=function(e,o){return!!e.attribs&&hasOwnProperty.call(e.attribs,o)},f.getName=function(e){return e.name}},{}],84:[function(e,o,f){arguments[4][49][0].apply(f,arguments)},{"../maps/decode.json":85,dup:49}],85:[function(e,o,f){arguments[4][51][0].apply(f,arguments)},{dup:51}],86:[function(e,o,f){arguments[4][52][0].apply(f,arguments)},{dup:52}],87:[function(e,o,f){arguments[4][53][0].apply(f,arguments)},{dup:53}],88:[function(e,o,f){arguments[4][54][0].apply(f,arguments)},{dup:54}],89:[function(e,o,f){var n=o.exports,d=(e("events").EventEmitter,e("./lib/request")),i=e("url");n.request=function(e,o){"string"==typeof e&&(e=i.parse(e)),e||(e={}),e.host||e.port||(e.port=parseInt(window.location.port,10)),!e.host&&e.hostname&&(e.host=e.hostname),e.protocol||(e.scheme?e.protocol=e.scheme+":":e.protocol=window.location.protocol),e.host||(e.host=window.location.hostname||window.location.host),/:/.test(e.host)&&(e.port||(e.port=e.host.split(":")[1]),e.host=e.host.split(":")[0]),e.port||(e.port="https:"==e.protocol?443:80);var f=new d(new t,e);return o&&f.on("response",o),f},n.get=function(e,o){e.method="GET";var f=n.request(e,o);return f.end(),f},n.Agent=function(){},n.Agent.defaultMaxSockets=4;var t=function(){if("undefined"==typeof window)throw new Error("no window object present");if(window.XMLHttpRequest)return window.XMLHttpRequest;if(window.ActiveXObject){for(var e=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"],o=0;o<e.length;o++)try{var f=new window.ActiveXObject(e[o]);return function(){if(f){var n=f;return f=null,n}return new window.ActiveXObject(e[o])}}catch(n){}throw new Error("ajax not supported in this browser")}throw new Error("ajax not supported in this browser")}();n.STATUS_CODES={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Time-out",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Large",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Time-out",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{"./lib/request":90,events:55,url:137}],90:[function(e,o,f){var n=e("stream"),d=e("./response"),i=e("Base64"),t=e("inherits"),l=o.exports=function(e,o){var f=this;f.writable=!0,f.xhr=e,f.body=[],f.uri=(o.protocol||"http:")+"//"+o.host+(o.port?":"+o.port:"")+(o.path||"/"),"undefined"==typeof o.withCredentials&&(o.withCredentials=!0);try{e.withCredentials=o.withCredentials}catch(n){}if(o.responseType)try{e.responseType=o.responseType}catch(n){}if(e.open(o.method||"GET",f.uri,!0),e.onerror=function(e){f.emit("error",new Error("Network error"))},f._headers={},o.headers)for(var t=u(o.headers),l=0;l<t.length;l++){var s=t[l];if(f.isSafeRequestHeader(s)){var p=o.headers[s];f.setHeader(s,p)}}o.auth&&this.setHeader("Authorization","Basic "+i.btoa(o.auth));var r=new d;r.on("close",function(){f.emit("close")}),r.on("ready",function(){f.emit("response",r)}),r.on("error",function(e){f.emit("error",e)}),e.onreadystatechange=function(){e.__aborted||r.handle(e)}};t(l,n),l.prototype.setHeader=function(e,o){this._headers[e.toLowerCase()]=o},l.prototype.getHeader=function(e){return this._headers[e.toLowerCase()]},l.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},l.prototype.write=function(e){this.body.push(e)},l.prototype.destroy=function(e){this.xhr.__aborted=!0,this.xhr.abort(),this.emit("close")},l.prototype.end=function(e){void 0!==e&&this.body.push(e);for(var o=u(this._headers),f=0;f<o.length;f++){var n=o[f],d=this._headers[n];if(s(d))for(var i=0;i<d.length;i++)this.xhr.setRequestHeader(n,d[i]);else this.xhr.setRequestHeader(n,d)}if(0===this.body.length)this.xhr.send("");else if("string"==typeof this.body[0])this.xhr.send(this.body.join(""));else if(s(this.body[0])){for(var t=[],f=0;f<this.body.length;f++)t.push.apply(t,this.body[f]);this.xhr.send(t)}else if(/Array/.test(Object.prototype.toString.call(this.body[0]))){for(var l=0,f=0;f<this.body.length;f++)l+=this.body[f].length;for(var t=new this.body[0].constructor(l),p=0,f=0;f<this.body.length;f++)for(var y=this.body[f],i=0;i<y.length;i++)t[p++]=y[i];this.xhr.send(t)}else if(r(this.body[0]))this.xhr.send(this.body[0]);else{for(var t="",f=0;f<this.body.length;f++)t+=this.body[f].toString();this.xhr.send(t)}},l.unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"],l.prototype.isSafeRequestHeader=function(e){return e?-1===p(l.unsafeHeaders,e.toLowerCase()):!1};var u=Object.keys||function(e){var o=[];for(var f in e)o.push(f);return o},s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},p=function(e,o){if(e.indexOf)return e.indexOf(o);for(var f=0;f<e.length;f++)if(e[f]===o)return f;return-1},r=function(e){return"undefined"!=typeof Blob&&e instanceof Blob?!0:"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?!0:"undefined"!=typeof FormData&&e instanceof FormData?!0:void 0}},{"./response":91,Base64:5,inherits:94,stream:135}],91:[function(e,o,f){function n(e){for(var o=e.getAllResponseHeaders().split(/\r?\n/),f={},n=0;n<o.length;n++){var d=o[n];if(""!==d){var i=d.match(/^([^:]+):\s*(.*)/);if(i){var t=i[1].toLowerCase(),l=i[2];void 0!==f[t]?u(f[t])?f[t].push(l):f[t]=[f[t],l]:f[t]=l}else f[d]=!0}}return f}var d=e("stream"),i=e("util"),t=o.exports=function(e){this.offset=0,this.readable=!0};i.inherits(t,d);var l={streaming:!0,status2:!0};t.prototype.getResponse=function(e){var o=String(e.responseType).toLowerCase();return"blob"===o?e.responseBlob||e.response:"arraybuffer"===o?e.response:e.responseText},t.prototype.getHeader=function(e){return this.headers[e.toLowerCase()]},t.prototype.handle=function(e){if(2===e.readyState&&l.status2){try{this.statusCode=e.status,this.headers=n(e)}catch(o){l.status2=!1}l.status2&&this.emit("ready")}else if(l.streaming&&3===e.readyState){try{this.statusCode||(this.statusCode=e.status,this.headers=n(e),this.emit("ready"))}catch(o){}try{this._emitData(e)}catch(o){l.streaming=!1}}else 4===e.readyState&&(this.statusCode||(this.statusCode=e.status,this.emit("ready")),this._emitData(e),e.error?this.emit("error",this.getResponse(e)):this.emit("end"),this.emit("close"))},t.prototype._emitData=function(e){var o=this.getResponse(e);return o.toString().match(/ArrayBuffer/)?(this.emit("data",new Uint8Array(o,this.offset)),void(this.offset=o.byteLength)):void(o.length>this.offset&&(this.emit("data",o.slice(this.offset)),this.offset=o.length))};var u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{stream:135,util:139}],92:[function(e,o,f){var n=e("http"),d=o.exports;for(var i in n)n.hasOwnProperty(i)&&(d[i]=n[i]);d.request=function(e,o){return e||(e={}),e.scheme="https",e.protocol="https:",n.request.call(this,e,o)}},{http:89}],93:[function(e,o,f){f.read=function(e,o,f,n,d){var i,t,l=8*d-n-1,u=(1<<l)-1,s=u>>1,p=-7,r=f?d-1:0,y=f?-1:1,a=e[o+r];for(r+=y,i=a&(1<<-p)-1,a>>=-p,p+=l;p>0;i=256*i+e[o+r],r+=y,p-=8);for(t=i&(1<<-p)-1,i>>=-p,p+=n;p>0;t=256*t+e[o+r],r+=y,p-=8);if(0===i)i=1-s;else{if(i===u)return t?NaN:(a?-1:1)*(1/0);t+=Math.pow(2,n),i-=s}return(a?-1:1)*t*Math.pow(2,i-n)},f.write=function(e,o,f,n,d,i){var t,l,u,s=8*i-d-1,p=(1<<s)-1,r=p>>1,y=23===d?Math.pow(2,-24)-Math.pow(2,-77):0,a=n?0:i-1,c=n?1:-1,b=0>o||0===o&&0>1/o?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(l=isNaN(o)?1:0,t=p):(t=Math.floor(Math.log(o)/Math.LN2),o*(u=Math.pow(2,-t))<1&&(t--,u*=2),o+=t+r>=1?y/u:y*Math.pow(2,1-r),o*u>=2&&(t++,u/=2),t+r>=p?(l=0,t=p):t+r>=1?(l=(o*u-1)*Math.pow(2,d),t+=r):(l=o*Math.pow(2,r-1)*Math.pow(2,d),t=0));d>=8;e[f+a]=255&l,a+=c,l/=256,d-=8);for(t=t<<d|l,s+=d;s>0;e[f+a]=255&t,a+=c,t/=256,s-=8);e[f+a-c]|=128*b}},{}],94:[function(e,o,f){"function"==typeof Object.create?o.exports=function(e,o){e.super_=o,e.prototype=Object.create(o.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:o.exports=function(e,o){e.super_=o;var f=function(){};f.prototype=o.prototype,e.prototype=new f,e.prototype.constructor=e;
  }},{}],95:[function(e,o,f){var n=Array.isArray,d=Object.prototype.toString;o.exports=n||function(e){return!!e&&"[object Array]"==d.call(e)}},{}],96:[function(e,o,f){o.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}],97:[function(e,o,f){o.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},{}],98:[function(e,o,f){function n(e){return this instanceof n?void(this.options=e||{}):new n(e)}function d(){return"\n"}n.prototype.code=function(e,o,f){return"\n\n"+e+"\n\n"},n.prototype.blockquote=function(e){return"	"+e+"\n"},n.prototype.html=function(e){return e},n.prototype.heading=function(e,o,f){return e},n.prototype.hr=function(){return"\n\n"},n.prototype.list=function(e,o){return e},n.prototype.listitem=function(e){return"	"+e+"\n"},n.prototype.paragraph=function(e){return"\n"+e+"\n"},n.prototype.table=function(e,o){return"\n"+e+"\n"+o+"\n\n"},n.prototype.tablerow=function(e){return e+"\n"},n.prototype.tablecell=function(e,o){return e+"	"},n.prototype.strong=function(e){return e},n.prototype.em=function(e){return e},n.prototype.codespan=function(e){return e},n.prototype.br=function(){return"\n\n"},n.prototype.del=function(e){return e},n.prototype.link=function(e,o,f){return[o,f].filter(Boolean).join(" ")},n.prototype.image=function(e,o,f){return[o,f].filter(Boolean).join(" ")},n.prototype.footnote=function(e,o){return"\n"+o+"\n"},n.prototype.math=d,n.prototype.reffn=d,o.exports=n},{}],99:[function(e,o,f){function n(e){return i(e,d,t,l)}var d=e("../rules/block").tables,i=e("./engine"),t=["newline","code","fences","footnote","heading","nptable","lheading","hr","blockquote","list","html","def","table","paragraph","text"],l={nptable:"table",lheading:"heading",newline:"space",fences:"code"};o.exports=n},{"../rules/block":110,"./engine":100}],100:[function(e,o,f){function n(e,o,f,n){for(var d=[];e;){var i=f.filter(function(f,n){var d=o[f];return d.exec(e)})[0];if(!i)throw new Error("No rule found for: "+e);var t=o[i],l=t.exec(e),u=(n[i]||i,l[0]);if(0===u.length)break;d.push({type:n[i]||i,raw:u,matches:l.slice(1)}),e=e.substring(u.length)}return d}o.exports=n},{}],101:[function(e,o,f){function n(e){return d(e)}var d=e("./block"),i=e("./inline");o.exports=n,o.exports.blocks=d,o.exports.inline=i},{"./block":99,"./inline":102}],102:[function(e,o,f){function n(e){return i(e,d,t,l)}var d=e("../rules/inline").gitbook,i=e("./engine"),t=["escape","autolink","url","html","link","reflink","nolink","reffn","strong","em","code","br","del","tplexpr","tplvar","text"],l={};o.exports=n},{"../rules/inline":111,"./engine":100}],103:[function(e,o,f){function n(e,o,f){if(f||"function"==typeof o){f||(f=o,o=null),o=i({},n.defaults,o||{});var d,l,s=o.highlight,p=0;try{d=t.lex(e,o)}catch(r){return f(r)}l=d.length;var y=function(e){if(e)return o.highlight=s,f(e);var n;try{n=u.parse(d,o)}catch(i){e=i}return o.highlight=s,e?f(e):f(null,n)};if(!s||s.length<3)return y();if(delete o.highlight,!l)return y();for(;p<d.length;p++)!function(e){return"code"!==e.type?--l||y():s(e.text,e.lang,function(o,f){return o?y(o):null==f||f===e.text?--l||y():(e.text=f,e.escaped=!0,void(--l||y()))})}(d[p])}else try{return o&&(o=i({},n.defaults,o)),u.parse(t.lex(e,o),o)}catch(r){if(r.message+="\nPlease report this to https://github.com/GitbookIO/kramed.",(o||n.defaults).silent)return"<p>An error occured:</p><pre>"+escape(r.message+"",!0)+"</pre>";throw r}}var d=e("./utils"),i=d.merge,t=e("./lex/block"),l=e("./lex/inline"),u=e("./parser"),s=e("./renderer");n.options=n.setOptions=function(e){return i(n.defaults,e),n},n.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,smartLists:!1,mathjax:!0,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",headerAutoId:!0,xhtml:!1,renderer:new s},n.Parser=u,n.parser=u.parse,n.Renderer=s,n.Lexer=t,n.lexer=t.lex,n.InlineLexer=l,n.inlineLexer=l.output,n.parse=n,o.exports=n},{"./lex/block":104,"./lex/inline":106,"./parser":108,"./renderer":109,"./utils":112}],104:[function(e,o,f){function n(e){this.tokens=[],this.tokens.links={},this.options=e||l,this.rules=t.normal,this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm),this.options.mathjax||(this.rules.math=i)}var d=e("../utils"),i=d.noop,t=e("../rules/block"),l=e("./options");n.rules=t,n.lex=function(e,o){var f=new n(o);return f.lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,o,f){for(var n,d,i,l,u,s,p,r,y,e=e.replace(/^ +$/gm,"");e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]});else if(i=this.rules.footnote.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"footnote",refname:i[1],text:i[2]});else if(i=this.rules.math.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"math",text:i[2]});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(o&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},r=0;r<s.align.length;r++)/^ *-+: *$/.test(s.align[r])?s.align[r]="right":/^ *:-+: *$/.test(s.align[r])?s.align[r]="center":/^ *:-+ *$/.test(s.align[r])?s.align[r]="left":s.align[r]=null;for(r=0;r<s.cells.length;r++)s.cells[r]=s.cells[r].split(/ *\| */);this.tokens.push(s)}else if(i=this.rules.lheading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:"="===i[2]?1:2,text:i[1]});else if(i=this.rules.hr.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"hr"});else if(i=this.rules.blockquote.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"blockquote_start"}),i=i[0].replace(/^ *> ?/gm,""),this.token(i,o,!0),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),l=i[2],this.tokens.push({type:"list_start",ordered:l.length>1}),i=i[0].match(this.rules._item),n=!1,y=i.length,r=0;y>r;r++)s=i[r],p=s.length,s=s.replace(/^ *([*+-]|\d+\.) +/,""),~s.indexOf("\n ")&&(p-=s.length,s=this.options.pedantic?s.replace(/^ {1,4}/gm,""):s.replace(new RegExp("^ {1,"+p+"}","gm"),"")),this.options.smartLists&&r!==y-1&&(u=t._bullet.exec(i[r+1])[0],l===u||l.length>1&&u.length>1||(e=i.slice(r+1).join("\n")+e,r=y-1)),d=n||/\n\n(?!\s*$)/.test(s),r!==y-1&&(n="\n"===s.charAt(s.length-1),d||(d=n)),this.tokens.push({type:d?"loose_item_start":"list_item_start"}),this.token(s,!1,f),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:"pre"===i[1]||"script"===i[1]||"style"===i[1],text:i[0]});else if(!f&&o&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),this.tokens.links[i[1].toLowerCase()]={href:i[2],title:i[3]};else if(o&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n").slice(0)},r=0;r<s.align.length;r++)/^ *-+: *$/.test(s.align[r])?s.align[r]="right":/^ *:-+: *$/.test(s.align[r])?s.align[r]="center":/^ *:-+ *$/.test(s.align[r])?s.align[r]="left":s.align[r]=null;for(r=0;r<s.cells.length;r++)s.cells[r]=s.cells[r].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(s)}else if(o&&(i=this.rules.paragraph.exec(e)))e=e.substring(i[0].length),this.tokens.push({type:"paragraph",text:"\n"===i[1].charAt(i[1].length-1)?i[1].slice(0,-1):i[1]});else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"text",text:i[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens},o.exports=n},{"../rules/block":110,"../utils":112,"./options":107}],105:[function(e,o,f){"use strict";function n(e){if(!e)return!1;var o=e.toLowerCase();return Boolean(i[o])}var d=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","script","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],i=d.reduce(function(e,o){return e[o]=!0,e},{});o.exports=n},{}],106:[function(e,o,f){function n(e,o,f){if(this.options=o||u,this.links=e,this.rules=l.normal,this.renderer=f,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=l.breaks:this.rules=l.gfm:this.options.pedantic&&(this.rules=l.pedantic),this.options.mathjax||(this.rules.math=t)}var d=e("../utils"),i=d.escape,t=d.noop,l=e("../rules/inline"),u=(e("../renderer"),e("./options")),s=e("./html_blocks");n.rules=l,n.output=function(e,o,f){var d=new n(o,f,new Renderer);return d.output(e)},n.prototype.escape=function(e,o){return this.options&&this.options.escape===!1?e:i(e,o)},n.prototype.output=function(e){for(var o,f,n,d,i="";e;)if(d=this.rules.escape.exec(e))e=e.substring(d[0].length),i+=d[1];else if(d=this.rules.autolink.exec(e))e=e.substring(d[0].length),"@"===d[2]?(f=":"===d[1].charAt(6)?this.mangle(d[1].substring(7)):this.mangle(d[1]),n=this.mangle("mailto:")+f):(f=this.escape(d[1]),n=f),i+=this.renderer.link(n,null,f);else if(this.inLink||!(d=this.rules.url.exec(e))){if(d=this.rules.html.exec(e)){if("a"===d[1]&&d[2]&&!this.inLink){i+=d[0].substring(0,d[0].indexOf(d[2])),this.inLink=!0,i+=this.output(d[2]),this.inLink=!1,i+=d[0].substring(d[0].indexOf(d[2])+d[2].length),e=e.substring(d[0].length);continue}if(d[1]&&!s(d[1])&&d[2]){i+=d[0].substring(0,d[0].indexOf(d[2])),i+=this.output(d[2]),i+=d[0].substring(d[0].indexOf(d[2])+d[2].length),e=e.substring(d[0].length);continue}e=e.substring(d[0].length),i+=d[0]}else if(d=this.rules.link.exec(e))e=e.substring(d[0].length),this.inLink=!0,i+=this.outputLink(d,{href:d[2],title:d[3]}),this.inLink=!1;else if(d=this.rules.reffn.exec(e))e=e.substring(d[0].length),i+=this.renderer.reffn(d[1]);else if((d=this.rules.reflink.exec(e))||(d=this.rules.nolink.exec(e))){if(e=e.substring(d[0].length),o=(d[2]||d[1]).replace(/\s+/g," "),o=this.links[o.toLowerCase()],!o||!o.href){i+=d[0].charAt(0),e=d[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(d,o),this.inLink=!1}else if(d=this.rules.strong.exec(e))e=e.substring(d[0].length),i+=this.renderer.strong(this.output(d[2]||d[1]));else if(d=this.rules.em.exec(e))e=e.substring(d[0].length),i+=this.renderer.em(this.output(d[2]||d[1]));else if(d=this.rules.code.exec(e))e=e.substring(d[0].length),i+=this.renderer.codespan(this.escape(d[2],!0));else if(d=this.rules.math.exec(e))e=e.substring(d[0].length),i+=this.renderer.math(d[1],"math/tex",!1);else if(d=this.rules.br.exec(e))e=e.substring(d[0].length),i+=this.renderer.br();else if(d=this.rules.del.exec(e))e=e.substring(d[0].length),i+=this.renderer.del(this.output(d[1]));else if(d=this.rules.text.exec(e))e=e.substring(d[0].length),i+=this.escape(this.smartypants(d[0]));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(d[0].length),f=this.escape(d[1]),n=f,i+=this.renderer.link(n,null,f);return i},n.prototype.outputLink=function(e,o){var f=this.escape(o.href),n=o.title?this.escape(o.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(f,n,this.output(e[1])):this.renderer.image(f,n,this.escape(e[1]))},n.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/--/g,"—").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},n.prototype.mangle=function(e){for(var o,f="",n=e.length,d=0;n>d;d++)o=e.charCodeAt(d),Math.random()>.5&&(o="x"+o.toString(16)),f+="&#"+o+";";return f},o.exports=n},{"../renderer":109,"../rules/inline":111,"../utils":112,"./html_blocks":105,"./options":107}],107:[function(e,o,f){o.exports={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,smartLists:!1,mathjax:!0}},{}],108:[function(e,o,f){function n(e,o){this.tokens=[],this.token=null,this.options=e?e:null,this.renderer=o||this.options&&this.options.renderer||new d(this.options)}var d=e("./renderer"),i=e("./lex/inline");n.parse=function(e,o,f){var d=new n(o,f);return d.parse(e)},n.prototype.parse=function(e){this.inline=new i(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var o="";this.next();)o+=this.tok();return o},n.prototype.next=function(){return this.token=this.tokens.pop()},n.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},n.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},n.prototype.tok=function(){if("undefined"==typeof this.token||!this.token.hasOwnProperty("type"))return"";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"footnote":return this.renderer.footnote(this.token.refname,this.inline.output(this.token.text));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"math":return this.renderer.math(this.token.text,"math/tex",!0);case"table":var e,o,f,n,d,i="",t="";for(f="",e=0;e<this.token.header.length;e++)n={header:!0,align:this.token.align[e]},f+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(f),e=0;e<this.token.cells.length;e++){for(o=this.token.cells[e],f="",d=0;d<o.length;d++)f+=this.renderer.tablecell(this.inline.output(o[d]),{header:!1,align:this.token.align[d]});t+=this.renderer.tablerow(f)}return this.renderer.table(i,t);case"blockquote_start":for(var t="";"blockquote_end"!==this.next().type;)t+=this.tok();return this.renderer.blockquote(t);case"list_start":for(var t="",l=this.token.ordered;"list_end"!==this.next().type;)t+=this.tok();return this.renderer.list(t,l);case"list_item_start":for(var t="";"list_item_end"!==this.next().type;)t+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(t);case"loose_item_start":for(var t="";"list_item_end"!==this.next().type;)t+=this.tok();return this.renderer.listitem(t);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},o.exports=n},{"./lex/inline":106,"./renderer":109}],109:[function(e,o,f){function n(e){this.options=e||l}var d=e("./utils"),i=d.escape,t=d.unescape,l={langPrefix:"lang-",smartypants:!1,headerPrefix:"",headerAutoId:!0,xhtml:!1};n.prototype.code=function(e,o,f){if(this.options.highlight){var n=this.options.highlight(e,o);null!=n&&n!==e&&(f=!0,e=n)}return o?'<pre><code class="'+this.options.langPrefix+i(o,!0)+'">'+(f?e:i(e,!0))+"\n</code></pre>\n":"<pre><code>"+(f?e:i(e,!0))+"\n</code></pre>"},n.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},n.prototype.html=function(e){return e},n.prototype._createId=function(e){e=e.toLowerCase().replace(/[\s\]\[\!\"\#\$\%\&\'\(\)\*\+\,\.\/\:\;\<\=\>\?\@\\\^\_\`\{\|\}\~\-]+/g,"-");try{e=encodeURIComponent(e)}catch(o){e=e.replace(/[^\w]+/g,"-")}return e.replace(/-$/,"")},n.prototype.heading=function(e,o,f){var n=/({#)(.+)(})/g.exec(f);return n=n?n[2]:null,n||this.options.headerAutoId===!1||(n=this._createId(f)),"<h"+o+(n?' id="'+n+'"':"")+">"+e.replace(/{#.+}/g,"")+"</h"+o+">\n"},n.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},n.prototype.list=function(e,o){var f=o?"ol":"ul";return"<"+f+">\n"+e+"</"+f+">\n"},n.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},n.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},n.prototype.table=function(e,o){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+o+"</tbody>\n</table>\n"},n.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},n.prototype.tablecell=function(e,o){var f=o.header?"th":"td",n=o.align?"<"+f+' style="text-align:'+o.align+'">':"<"+f+">";return n+e+"</"+f+">\n"},n.prototype.math=function(e,o,f){return mode=f?"; mode=display":"",'<script type="'+o+mode+'">'+e+"</script>"},n.prototype.strong=function(e){return"<strong>"+e+"</strong>"},n.prototype.em=function(e){return"<em>"+e+"</em>"},n.prototype.codespan=function(e){return"<code>"+e+"</code>"},n.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},n.prototype.del=function(e){return"<del>"+e+"</del>"},n.prototype.reffn=function(e){return'<sup><a href="#fn_'+e+'" id="reffn_'+e+'">'+e+"</a></sup>"},n.prototype.footnote=function(e,o){return'<blockquote id="fn_'+e+'">\n<sup>'+e+"</sup>. "+o+'<a href="#reffn_'+e+'" title="Jump back to footnote ['+e+'] in the text."> &#8617;</a>\n</blockquote>\n'},n.prototype.link=function(e,o,f){if(this.options.sanitize){try{var n=decodeURIComponent(t(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(d){return""}if(0===n.indexOf("javascript:"))return""}var i='<a href="'+e+'"';return o&&(i+=' title="'+o+'"'),i+=">"+f+"</a>"},n.prototype.image=function(e,o,f){var n='<img src="'+e+'" alt="'+f+'"';return o&&(n+=' title="'+o+'"'),n+=this.options.xhtml?"/>":">"},o.exports=n},{"./utils":112}],110:[function(e,o,f){var n=e("../utils"),d=n.replace,i=n.merge,t=n.noop,l={newline:/^\n+/,code:/^((?: {4}|\t)[^\n]+\n*)+/,fences:t,yamlHeader:t,hr:/^( *[-*_]){3,} *(?:\n|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n|$)/,nptable:t,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n|$)/,footnote:/^\[\^([^\]]+)\]: ([^\n]+)/,table:t,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def|math))+)\n*/,text:/^[^\n]+/,math:/^ *(\${2,}) *([\s\S]+?)\s*\1 *(?:\n|$)/};l._bullet=/(?:[*+-]|\d+\.)/,l._item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,l._item=d(l._item,"gm")(/bull/g,l._bullet)(),l.list=d(l.list)(/bull/g,l._bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+l.def.source+")")("footnote",l.footnote)(),l.blockquote=d(l.blockquote)("def",l.def)(),l._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:\\/|[^\\w\\s@]*@)\\b",l.html=d(l.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,l._tag)(),l.paragraph=d(l.paragraph)("hr",l.hr)("heading",l.heading)("lheading",l.lheading)("blockquote",l.blockquote)("tag","<"+l._tag)("def",l.def)("math",l.math)(),l.normal=i({},l),l.gfm=i({},l.normal,{fences:/^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n|$)/,paragraph:/^/,yamlHeader:/^ *(?=```)/}),l.gfm.paragraph=d(l.paragraph)("(?!","(?!"+l.gfm.fences.source.replace("\\1","\\2")+"|"+l.list.source.replace("\\1","\\3")+"|")(),l.tables=i({},l.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),o.exports=l},{"../utils":112}],111:[function(e,o,f){var n=e("../utils"),d=n.replace,i=n.merge,t=n.noop,l={escape:/^\\([\\`*{}\[\]()#$+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:t,html:/^<!--[\s\S]*?-->|^<(\w+(?!:\/|[^\w\s@]*@)\b)*?(?:"[^"]*"|'[^']*'|[^'">])*?>([\s\S]*?)?<\/\1>|^<(\w+(?!:\/|[^\w\s@]*@)\b)(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,reffn:/^!?\[\^(inside)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:t,text:/^[\s\S]+?(?=[\\<!\[_*`$]| {2,}\n|$)/,math:/^\$\$\s*([\s\S]*?[^\$])\s*\$\$(?!\$)/};l._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,l._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,l.link=d(l.link)("inside",l._inside)("href",l._href)(),l.reflink=d(l.reflink)("inside",l._inside)(),l.reffn=d(l.reffn)("inside",l._inside)(),l.normal=i({},l),l.pedantic=i({},l.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),l.gfm=i({},l.normal,{escape:d(l.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:d(l.text)("]|","~]|")("|","|https?://|")()}),l.gitbook=i({},l.gfm,{tplvar:/^{{\s*(.*?)\s*(?=}})}}/,tplexpr:/^{%\s*(.*?)\s*(?=%})%}/}),l.gitbook.text=d(l.gfm.text)("~]|","~]|"+l.gitbook.tplvar.source+"|"+l.gitbook.tplexpr.source+"|")(),l.breaks=i({},l.gfm,{br:d(l.br)("{2,}","*")(),text:d(l.gfm.text)("{2,}","*")()}),o.exports=l},{"../utils":112}],112:[function(e,o,f){function n(e,o){return e.replace(o?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function d(e){return e.replace(/&([#\w]+);/g,function(e,o){return o=o.toLowerCase(),"colon"===o?":":"#"===o.charAt(0)?"x"===o.charAt(1)?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""})}function i(e,o){return e=e.source,o=o||"",function f(n,d){return n?(d=d.source||d,d=d.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(n,d),f):new RegExp(e,o)}}function t(){}function l(e){for(var o,f,n=1;n<arguments.length;n++){o=arguments[n];for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f])}return e}t.exec=t,o.exports={escape:n,unescape:d,replace:i,noop:t,merge:l}},{}],113:[function(e,o,f){(function(e){(function(){function n(e,o){if(e!==o){var f=null===e,n=e===q,d=e===e,i=null===o,t=o===q,l=o===o;if(e>o&&!i||!d||f&&!t&&l||n&&l)return 1;if(o>e&&!f||!l||i&&!n&&d||t&&d)return-1}return 0}function d(e,o,f){for(var n=e.length,d=f?n:-1;f?d--:++d<n;)if(o(e[d],d,e))return d;return-1}function i(e,o,f){if(o!==o)return w(e,f);for(var n=f-1,d=e.length;++n<d;)if(e[n]===o)return n;return-1}function t(e){return"function"==typeof e||!1}function l(e){return null==e?"":e+""}function u(e,o){for(var f=-1,n=e.length;++f<n&&o.indexOf(e.charAt(f))>-1;);return f}function s(e,o){for(var f=e.length;f--&&o.indexOf(e.charAt(f))>-1;);return f}function p(e,o){return n(e.criteria,o.criteria)||e.index-o.index}function r(e,o,f){for(var d=-1,i=e.criteria,t=o.criteria,l=i.length,u=f.length;++d<l;){var s=n(i[d],t[d]);if(s){if(d>=u)return s;var p=f[d];return s*("asc"===p||p===!0?1:-1)}}return e.index-o.index}function y(e){return Se[e]}function a(e){return Te[e]}function c(e,o,f){return o?e=We[e]:f&&(e=Xe[e]),"\\"+e}function b(e){return"\\"+Xe[e]}function w(e,o,f){for(var n=e.length,d=o+(f?0:-1);f?d--:++d<n;){var i=e[d];if(i!==i)return d}return-1}function g(e){return!!e&&"object"==typeof e}function m(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function x(e,o){for(var f=-1,n=e.length,d=-1,i=[];++f<n;)e[f]===o&&(e[f]=S,i[++d]=f);return i}function j(e,o){for(var f,n=-1,d=e.length,i=-1,t=[];++n<d;){var l=e[n],u=o?o(l,n,e):l;n&&f===u||(f=u,t[++i]=l)}return t}function k(e){for(var o=-1,f=e.length;++o<f&&m(e.charCodeAt(o)););return o}function v(e){for(var o=e.length;o--&&m(e.charCodeAt(o)););return o}function P(e){return Ue[e]}function h(e){function o(e){if(g(e)&&!Dl(e)&&!(e instanceof Z)){if(e instanceof m)return e;if(ft.call(e,"__chain__")&&ft.call(e,"__wrapped__"))return bn(e)}return new m(e)}function f(){}function m(e,o,f){this.__wrapped__=e,this.__actions__=f||[],this.__chain__=!!o}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ct,this.__views__=[]}function oe(){var e=new Z(this.__wrapped__);return e.__actions__=eo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=eo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=eo(this.__views__),e}function ne(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Se(){var e=this.__wrapped__.value(),o=this.__dir__,f=Dl(e),n=0>o,d=f?e.length:0,i=Vf(0,d,this.__views__),t=i.start,l=i.end,u=l-t,s=n?l:t-1,p=this.__iteratees__,r=p.length,y=0,a=ht(u,this.__takeCount__);if(!f||N>d||d==u&&a==u)return nf(n&&f?e.reverse():e,this.__actions__);var c=[];e:for(;u--&&a>y;){s+=o;for(var b=-1,w=e[s];++b<r;){var g=p[b],m=g.iteratee,x=g.type,j=m(w);if(x==Q)w=j;else if(!j){if(x==O)continue e;break e}}c[y++]=w}return c}function Te(){this.__data__={}}function Ue(e){return this.has(e)&&delete this.__data__[e]}function Ve(e){return"__proto__"==e?q:this.__data__[e]}function We(e){return"__proto__"!=e&&ft.call(this.__data__,e)}function Xe(e,o){return"__proto__"!=e&&(this.__data__[e]=o),this}function Ye(e){var o=e?e.length:0;for(this.data={hash:mt(null),set:new yt};o--;)this.push(e[o])}function Ze(e,o){var f=e.data,n="string"==typeof o||Jd(o)?f.set.has(o):f.hash[o];return n?0:-1}function $e(e){var o=this.data;"string"==typeof e||Jd(e)?o.set.add(e):o.hash[e]=!0}function _e(e,o){for(var f=-1,n=e.length,d=-1,i=o.length,t=Qi(n+i);++f<n;)t[f]=e[f];for(;++d<i;)t[f++]=o[d];return t}function eo(e,o){var f=-1,n=e.length;for(o||(o=Qi(n));++f<n;)o[f]=e[f];return o}function oo(e,o){for(var f=-1,n=e.length;++f<n&&o(e[f],f,e)!==!1;);return e}function io(e,o){for(var f=e.length;f--&&o(e[f],f,e)!==!1;);return e}function to(e,o){for(var f=-1,n=e.length;++f<n;)if(!o(e[f],f,e))return!1;return!0}function lo(e,o,f,n){for(var d=-1,i=e.length,t=n,l=t;++d<i;){var u=e[d],s=+o(u);f(s,t)&&(t=s,l=u)}return l}function uo(e,o){for(var f=-1,n=e.length,d=-1,i=[];++f<n;){var t=e[f];o(t,f,e)&&(i[++d]=t)}return i}function so(e,o){for(var f=-1,n=e.length,d=Qi(n);++f<n;)d[f]=o(e[f],f,e);return d}function po(e,o){for(var f=-1,n=o.length,d=e.length;++f<n;)e[d+f]=o[f];return e}function ro(e,o,f,n){var d=-1,i=e.length;for(n&&i&&(f=e[++d]);++d<i;)f=o(f,e[d],d,e);return f}function yo(e,o,f,n){var d=e.length;for(n&&d&&(f=e[--d]);d--;)f=o(f,e[d],d,e);return f}function ao(e,o){for(var f=-1,n=e.length;++f<n;)if(o(e[f],f,e))return!0;return!1}function co(e,o){for(var f=e.length,n=0;f--;)n+=+o(e[f])||0;return n}function bo(e,o){return e===q?o:e}function wo(e,o,f,n){return e!==q&&ft.call(n,f)?e:o}function go(e,o,f){for(var n=-1,d=Ol(o),i=d.length;++n<i;){var t=d[n],l=e[t],u=f(l,o[t],t,e,o);(u===u?u===l:l!==l)&&(l!==q||t in e)||(e[t]=u)}return e}function mo(e,o){return null==o?e:jo(o,Ol(o),e)}function xo(e,o){for(var f=-1,n=null==e,d=!n&&$f(e),i=d?e.length:0,t=o.length,l=Qi(t);++f<t;){var u=o[f];d?l[f]=_f(u,i)?e[u]:q:l[f]=n?q:e[u]}return l}function jo(e,o,f){f||(f={});for(var n=-1,d=o.length;++n<d;){var i=o[n];f[i]=e[i]}return f}function ko(e,o,f){var n=typeof e;return"function"==n?o===q?e:lf(e,o,f):null==e?Ci:"object"==n?No(e):o===q?Ii(e):Oo(e,o)}function vo(e,o,f,n,d,i,t){var l;if(f&&(l=d?f(e,n,d):f(e)),l!==q)return l;if(!Jd(e))return e;var u=Dl(e);if(u){if(l=Wf(e),!o)return eo(e,l)}else{var s=dt.call(e),p=s==Y;if(s!=_&&s!=T&&(!p||d))return Re[s]?Yf(e,s,o):d?e:{};if(l=Xf(p?{}:e),!o)return mo(l,e)}i||(i=[]),t||(t=[]);for(var r=i.length;r--;)if(i[r]==e)return t[r];return i.push(e),t.push(l),(u?oo:Fo)(e,function(n,d){l[d]=vo(n,o,f,d,e,i,t)}),l}function Po(e,o,f){if("function"!=typeof e)throw new Zi(R);return at(function(){e.apply(q,f)},o)}function ho(e,o){var f=e?e.length:0,n=[];if(!f)return n;var d=-1,t=Sf(),l=t==i,u=l&&o.length>=N?wf(o):null,s=o.length;u&&(t=Ze,l=!1,o=u);e:for(;++d<f;){var p=e[d];if(l&&p===p){for(var r=s;r--;)if(o[r]===p)continue e;n.push(p)}else t(o,p,0)<0&&n.push(p)}return n}function qo(e,o){var f=!0;return Kt(e,function(e,n,d){return f=!!o(e,n,d)}),f}function zo(e,o,f,n){var d=n,i=d;return Kt(e,function(e,t,l){var u=+o(e,t,l);(f(u,d)||u===n&&u===i)&&(d=u,i=e)}),i}function Ao(e,o,f,n){var d=e.length;for(f=null==f?0:+f||0,0>f&&(f=-f>d?0:d+f),n=n===q||n>d?d:+n||0,0>n&&(n+=d),d=f>n?0:n>>>0,f>>>=0;d>f;)e[f++]=o;return e}function Bo(e,o){var f=[];return Kt(e,function(e,n,d){o(e,n,d)&&f.push(e)}),f}function Co(e,o,f,n){var d;return f(e,function(e,f,i){return o(e,f,i)?(d=n?f:e,!1):void 0}),d}function Do(e,o,f,n){n||(n=[]);for(var d=-1,i=e.length;++d<i;){var t=e[d];g(t)&&$f(t)&&(f||Dl(t)||Ad(t))?o?Do(t,o,f,n):po(n,t):f||(n[n.length]=t)}return n}function Eo(e,o){return Mt(e,o,fi)}function Fo(e,o){return Mt(e,o,Ol)}function Go(e,o){return Nt(e,o,Ol)}function Ho(e,o){for(var f=-1,n=o.length,d=-1,i=[];++f<n;){var t=o[f];Id(e[t])&&(i[++d]=t)}return i}function Io(e,o,f){if(null!=e){f!==q&&f in an(e)&&(o=[f]);for(var n=0,d=o.length;null!=e&&d>n;)e=e[o[n++]];return n&&n==d?e:q}}function Jo(e,o,f,n,d,i){return e===o?!0:null==e||null==o||!Jd(e)&&!g(o)?e!==e&&o!==o:Ko(e,o,Jo,f,n,d,i)}function Ko(e,o,f,n,d,i,t){var l=Dl(e),u=Dl(o),s=U,p=U;l||(s=dt.call(e),s==T?s=_:s!=_&&(l=Td(e))),u||(p=dt.call(o),p==T?p=_:p!=_&&(u=Td(o)));var r=s==_,y=p==_,a=s==p;if(a&&!l&&!r)return Nf(e,o,s);if(!d){var c=r&&ft.call(e,"__wrapped__"),b=y&&ft.call(o,"__wrapped__");if(c||b)return f(c?e.value():e,b?o.value():o,n,d,i,t)}if(!a)return!1;i||(i=[]),t||(t=[]);for(var w=i.length;w--;)if(i[w]==e)return t[w]==o;i.push(e),t.push(o);var g=(l?Mf:Of)(e,o,f,n,d,i,t);return i.pop(),t.pop(),g}function Lo(e,o,f){var n=o.length,d=n,i=!f;if(null==e)return!d;for(e=an(e);n--;){var t=o[n];if(i&&t[2]?t[1]!==e[t[0]]:!(t[0]in e))return!1}for(;++n<d;){t=o[n];var l=t[0],u=e[l],s=t[1];if(i&&t[2]){if(u===q&&!(l in e))return!1}else{var p=f?f(u,s,l):q;if(!(p===q?Jo(s,u,f,!0):p))return!1}}return!0}function Mo(e,o){var f=-1,n=$f(e)?Qi(e.length):[];return Kt(e,function(e,d,i){n[++f]=o(e,d,i)}),n}function No(e){var o=Tf(e);if(1==o.length&&o[0][2]){var f=o[0][0],n=o[0][1];return function(e){return null==e?!1:e[f]===n&&(n!==q||f in an(e))}}return function(e){return Lo(e,o)}}function Oo(e,o){var f=Dl(e),n=on(e)&&dn(o),d=e+"";return e=cn(e),function(i){if(null==i)return!1;var t=d;if(i=an(i),(f||!n)&&!(t in i)){if(i=1==e.length?i:Io(i,Xo(e,0,-1)),null==i)return!1;t=Bn(e),i=an(i)}return i[t]===o?o!==q||t in i:Jo(o,i[t],q,!0)}}function Qo(e,o,f,n,d){if(!Jd(e))return e;var i=$f(o)&&(Dl(o)||Td(o)),t=i?q:Ol(o);return oo(t||o,function(l,u){if(t&&(u=l,l=o[u]),g(l))n||(n=[]),d||(d=[]),Ro(e,o,u,Qo,f,n,d);else{var s=e[u],p=f?f(s,l,u,e,o):q,r=p===q;r&&(p=l),p===q&&(!i||u in e)||!r&&(p===p?p===s:s!==s)||(e[u]=p)}}),e}function Ro(e,o,f,n,d,i,t){for(var l=i.length,u=o[f];l--;)if(i[l]==u)return void(e[f]=t[l]);var s=e[f],p=d?d(s,u,f,e,o):q,r=p===q;r&&(p=u,$f(u)&&(Dl(u)||Td(u))?p=Dl(s)?s:$f(s)?eo(s):[]:Qd(u)||Ad(u)?p=Ad(s)?Yd(s):Qd(s)?s:{}:r=!1),i.push(u),t.push(p),r?e[f]=n(p,u,d,i,t):(p===p?p!==s:s===s)&&(e[f]=p)}function So(e){return function(o){return null==o?q:o[e]}}function To(e){var o=e+"";return e=cn(e),function(f){return Io(f,e,o)}}function Uo(e,o){for(var f=e?o.length:0;f--;){var n=o[f];if(n!=d&&_f(n)){var d=n;ct.call(e,n,1)}}return e}function Vo(e,o){return e+xt(At()*(o-e+1))}function Wo(e,o,f,n,d){return d(e,function(e,d,i){f=n?(n=!1,e):o(f,e,d,i)}),f}function Xo(e,o,f){var n=-1,d=e.length;o=null==o?0:+o||0,0>o&&(o=-o>d?0:d+o),f=f===q||f>d?d:+f||0,0>f&&(f+=d),d=o>f?0:f-o>>>0,o>>>=0;for(var i=Qi(d);++n<d;)i[n]=e[n+o];
  return i}function Yo(e,o){var f;return Kt(e,function(e,n,d){return f=o(e,n,d),!f}),!!f}function Zo(e,o){var f=e.length;for(e.sort(o);f--;)e[f]=e[f].value;return e}function $o(e,o,f){var n=Qf(),d=-1;o=so(o,function(e){return n(e)});var i=Mo(e,function(e){var f=so(o,function(o){return o(e)});return{criteria:f,index:++d,value:e}});return Zo(i,function(e,o){return r(e,o,f)})}function _o(e,o){var f=0;return Kt(e,function(e,n,d){f+=+o(e,n,d)||0}),f}function ef(e,o){var f=-1,n=Sf(),d=e.length,t=n==i,l=t&&d>=N,u=l?wf():null,s=[];u?(n=Ze,t=!1):(l=!1,u=o?[]:s);e:for(;++f<d;){var p=e[f],r=o?o(p,f,e):p;if(t&&p===p){for(var y=u.length;y--;)if(u[y]===r)continue e;o&&u.push(r),s.push(p)}else n(u,r,0)<0&&((o||l)&&u.push(r),s.push(p))}return s}function of(e,o){for(var f=-1,n=o.length,d=Qi(n);++f<n;)d[f]=e[o[f]];return d}function ff(e,o,f,n){for(var d=e.length,i=n?d:-1;(n?i--:++i<d)&&o(e[i],i,e););return f?Xo(e,n?0:i,n?i+1:d):Xo(e,n?i+1:0,n?d:i)}function nf(e,o){var f=e;f instanceof Z&&(f=f.value());for(var n=-1,d=o.length;++n<d;){var i=o[n];f=i.func.apply(i.thisArg,po([f],i.args))}return f}function df(e,o,f){var n=0,d=e?e.length:n;if("number"==typeof o&&o===o&&Ft>=d){for(;d>n;){var i=n+d>>>1,t=e[i];(f?o>=t:o>t)&&null!==t?n=i+1:d=i}return d}return tf(e,o,Ci,f)}function tf(e,o,f,n){o=f(o);for(var d=0,i=e?e.length:0,t=o!==o,l=null===o,u=o===q;i>d;){var s=xt((d+i)/2),p=f(e[s]),r=p!==q,y=p===p;if(t)var a=y||n;else a=l?y&&r&&(n||null!=p):u?y&&(n||r):null==p?!1:n?o>=p:o>p;a?d=s+1:i=s}return ht(i,Et)}function lf(e,o,f){if("function"!=typeof e)return Ci;if(o===q)return e;switch(f){case 1:return function(f){return e.call(o,f)};case 3:return function(f,n,d){return e.call(o,f,n,d)};case 4:return function(f,n,d,i){return e.call(o,f,n,d,i)};case 5:return function(f,n,d,i,t){return e.call(o,f,n,d,i,t)}}return function(){return e.apply(o,arguments)}}function uf(e){var o=new lt(e.byteLength),f=new bt(o);return f.set(new bt(e)),o}function sf(e,o,f){for(var n=f.length,d=-1,i=Pt(e.length-n,0),t=-1,l=o.length,u=Qi(l+i);++t<l;)u[t]=o[t];for(;++d<n;)u[f[d]]=e[d];for(;i--;)u[t++]=e[d++];return u}function pf(e,o,f){for(var n=-1,d=f.length,i=-1,t=Pt(e.length-d,0),l=-1,u=o.length,s=Qi(t+u);++i<t;)s[i]=e[i];for(var p=i;++l<u;)s[p+l]=o[l];for(;++n<d;)s[p+f[n]]=e[i++];return s}function rf(e,o){return function(f,n,d){var i=o?o():{};if(n=Qf(n,d,3),Dl(f))for(var t=-1,l=f.length;++t<l;){var u=f[t];e(i,u,n(u,t,f),f)}else Kt(f,function(o,f,d){e(i,o,n(o,f,d),d)});return i}}function yf(e){return xd(function(o,f){var n=-1,d=null==o?0:f.length,i=d>2?f[d-2]:q,t=d>2?f[2]:q,l=d>1?f[d-1]:q;for("function"==typeof i?(i=lf(i,l,5),d-=2):(i="function"==typeof l?l:q,d-=i?1:0),t&&en(f[0],f[1],t)&&(i=3>d?q:i,d=1);++n<d;){var u=f[n];u&&e(o,u,i)}return o})}function af(e,o){return function(f,n){var d=f?Rt(f):0;if(!nn(d))return e(f,n);for(var i=o?d:-1,t=an(f);(o?i--:++i<d)&&n(t[i],i,t)!==!1;);return f}}function cf(e){return function(o,f,n){for(var d=an(o),i=n(o),t=i.length,l=e?t:-1;e?l--:++l<t;){var u=i[l];if(f(d[u],u,d)===!1)break}return o}}function bf(e,o){function f(){var d=this&&this!==fo&&this instanceof f?n:e;return d.apply(o,arguments)}var n=mf(e);return f}function wf(e){return mt&&yt?new Ye(e):null}function gf(e){return function(o){for(var f=-1,n=zi(yi(o)),d=n.length,i="";++f<d;)i=e(i,n[f],f);return i}}function mf(e){return function(){var o=arguments;switch(o.length){case 0:return new e;case 1:return new e(o[0]);case 2:return new e(o[0],o[1]);case 3:return new e(o[0],o[1],o[2]);case 4:return new e(o[0],o[1],o[2],o[3]);case 5:return new e(o[0],o[1],o[2],o[3],o[4]);case 6:return new e(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new e(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var f=Jt(e.prototype),n=e.apply(f,o);return Jd(n)?n:f}}function xf(e){function o(f,n,d){d&&en(f,n,d)&&(n=q);var i=Lf(f,e,q,q,q,q,q,n);return i.placeholder=o.placeholder,i}return o}function jf(e,o){return xd(function(f){var n=f[0];return null==n?n:(f.push(o),e.apply(q,f))})}function kf(e,o){return function(f,n,d){if(d&&en(f,n,d)&&(n=q),n=Qf(n,d,3),1==n.length){f=Dl(f)?f:yn(f);var i=lo(f,n,e,o);if(!f.length||i!==o)return i}return zo(f,n,e,o)}}function vf(e,o){return function(f,n,i){if(n=Qf(n,i,3),Dl(f)){var t=d(f,n,o);return t>-1?f[t]:q}return Co(f,n,e)}}function Pf(e){return function(o,f,n){return o&&o.length?(f=Qf(f,n,3),d(o,f,e)):-1}}function hf(e){return function(o,f,n){return f=Qf(f,n,3),Co(o,f,e,!0)}}function qf(e){return function(){for(var o,f=arguments.length,n=e?f:-1,d=0,i=Qi(f);e?n--:++n<f;){var t=i[d++]=arguments[n];if("function"!=typeof t)throw new Zi(R);!o&&m.prototype.thru&&"wrapper"==Rf(t)&&(o=new m([],!0))}for(n=o?-1:f;++n<f;){t=i[n];var l=Rf(t),u="wrapper"==l?Qt(t):q;o=u&&fn(u[0])&&u[1]==(H|D|F|I)&&!u[4].length&&1==u[9]?o[Rf(u[0])].apply(o,u[3]):1==t.length&&fn(t)?o[l]():o.thru(t)}return function(){var e=arguments,n=e[0];if(o&&1==e.length&&Dl(n)&&n.length>=N)return o.plant(n).value();for(var d=0,t=f?i[d].apply(this,e):n;++d<f;)t=i[d].call(this,t);return t}}}function zf(e,o){return function(f,n,d){return"function"==typeof n&&d===q&&Dl(f)?e(f,n):o(f,lf(n,d,3))}}function Af(e){return function(o,f,n){return("function"!=typeof f||n!==q)&&(f=lf(f,n,3)),e(o,f,fi)}}function Bf(e){return function(o,f,n){return("function"!=typeof f||n!==q)&&(f=lf(f,n,3)),e(o,f)}}function Cf(e){return function(o,f,n){var d={};return f=Qf(f,n,3),Fo(o,function(o,n,i){var t=f(o,n,i);n=e?t:n,o=e?o:t,d[n]=o}),d}}function Df(e){return function(o,f,n){return o=l(o),(e?o:"")+Hf(o,f,n)+(e?"":o)}}function Ef(e){var o=xd(function(f,n){var d=x(n,o.placeholder);return Lf(f,e,q,n,d)});return o}function Ff(e,o){return function(f,n,d,i){var t=arguments.length<3;return"function"==typeof n&&i===q&&Dl(f)?e(f,n,d,t):Wo(f,Qf(n,i,4),d,t,o)}}function Gf(e,o,f,n,d,i,t,l,u,s){function p(){for(var m=arguments.length,j=m,k=Qi(m);j--;)k[j]=arguments[j];if(n&&(k=sf(k,n,d)),i&&(k=pf(k,i,t)),c||w){var v=p.placeholder,P=x(k,v);if(m-=P.length,s>m){var h=l?eo(l):q,z=Pt(s-m,0),C=c?P:q,D=c?q:P,E=c?k:q,H=c?q:k;o|=c?F:G,o&=~(c?G:F),b||(o&=~(A|B));var I=[e,o,f,E,C,H,D,h,u,z],J=Gf.apply(q,I);return fn(e)&&St(J,I),J.placeholder=v,J}}var K=y?f:this,L=a?K[e]:e;return l&&(k=pn(k,l)),r&&u<k.length&&(k.length=u),this&&this!==fo&&this instanceof p&&(L=g||mf(e)),L.apply(K,k)}var r=o&H,y=o&A,a=o&B,c=o&D,b=o&C,w=o&E,g=a?q:mf(e);return p}function Hf(e,o,f){var n=e.length;if(o=+o,n>=o||!kt(o))return"";var d=o-n;return f=null==f?" ":f+"",mi(f,gt(d/f.length)).slice(0,d)}function If(e,o,f,n){function d(){for(var o=-1,l=arguments.length,u=-1,s=n.length,p=Qi(s+l);++u<s;)p[u]=n[u];for(;l--;)p[u++]=arguments[++o];var r=this&&this!==fo&&this instanceof d?t:e;return r.apply(i?f:this,p)}var i=o&A,t=mf(e);return d}function Jf(e){var o=Ui[e];return function(e,f){return f=f===q?0:+f||0,f?(f=pt(10,f),o(e*f)/f):o(e)}}function Kf(e){return function(o,f,n,d){var i=Qf(n);return null==n&&i===ko?df(o,f,e):tf(o,f,i(n,d,1),e)}}function Lf(e,o,f,n,d,i,t,l){var u=o&B;if(!u&&"function"!=typeof e)throw new Zi(R);var s=n?n.length:0;if(s||(o&=~(F|G),n=d=q),s-=d?d.length:0,o&G){var p=n,r=d;n=d=q}var y=u?q:Qt(e),a=[e,o,f,n,d,p,r,i,t,l];if(y&&(tn(a,y),o=a[1],l=a[9]),a[9]=null==l?u?0:e.length:Pt(l-s,0)||0,o==A)var c=bf(a[0],a[2]);else c=o!=F&&o!=(A|F)||a[4].length?Gf.apply(q,a):If.apply(q,a);var b=y?Ot:St;return b(c,a)}function Mf(e,o,f,n,d,i,t){var l=-1,u=e.length,s=o.length;if(u!=s&&!(d&&s>u))return!1;for(;++l<u;){var p=e[l],r=o[l],y=n?n(d?r:p,d?p:r,l):q;if(y!==q){if(y)continue;return!1}if(d){if(!ao(o,function(e){return p===e||f(p,e,n,d,i,t)}))return!1}else if(p!==r&&!f(p,r,n,d,i,t))return!1}return!0}function Nf(e,o,f){switch(f){case V:case W:return+e==+o;case X:return e.name==o.name&&e.message==o.message;case $:return e!=+e?o!=+o:e==+o;case ee:case fe:return e==o+""}return!1}function Of(e,o,f,n,d,i,t){var l=Ol(e),u=l.length,s=Ol(o),p=s.length;if(u!=p&&!d)return!1;for(var r=u;r--;){var y=l[r];if(!(d?y in o:ft.call(o,y)))return!1}for(var a=d;++r<u;){y=l[r];var c=e[y],b=o[y],w=n?n(d?b:c,d?c:b,y):q;if(!(w===q?f(c,b,n,d,i,t):w))return!1;a||(a="constructor"==y)}if(!a){var g=e.constructor,m=o.constructor;if(g!=m&&"constructor"in e&&"constructor"in o&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m))return!1}return!0}function Qf(e,f,n){var d=o.callback||Ai;return d=d===Ai?ko:d,n?d(e,f,n):d}function Rf(e){for(var o=e.name,f=It[o],n=f?f.length:0;n--;){var d=f[n],i=d.func;if(null==i||i==e)return d.name}return o}function Sf(e,f,n){var d=o.indexOf||zn;return d=d===zn?i:d,e?d(e,f,n):d}function Tf(e){for(var o=ni(e),f=o.length;f--;)o[f][2]=dn(o[f][1]);return o}function Uf(e,o){var f=null==e?q:e[o];return Md(f)?f:q}function Vf(e,o,f){for(var n=-1,d=f.length;++n<d;){var i=f[n],t=i.size;switch(i.type){case"drop":e+=t;break;case"dropRight":o-=t;break;case"take":o=ht(o,e+t);break;case"takeRight":e=Pt(e,o-t)}}return{start:e,end:o}}function Wf(e){var o=e.length,f=new e.constructor(o);return o&&"string"==typeof e[0]&&ft.call(e,"index")&&(f.index=e.index,f.input=e.input),f}function Xf(e){var o=e.constructor;return"function"==typeof o&&o instanceof o||(o=Wi),new o}function Yf(e,o,f){var n=e.constructor;switch(o){case de:return uf(e);case V:case W:return new n(+e);case ie:case te:case le:case ue:case se:case pe:case re:case ye:case ae:var d=e.buffer;return new n(f?uf(d):d,e.byteOffset,e.length);case $:case fe:return new n(e);case ee:var i=new n(e.source,Fe.exec(e));i.lastIndex=e.lastIndex}return i}function Zf(e,o,f){null==e||on(o,e)||(o=cn(o),e=1==o.length?e:Io(e,Xo(o,0,-1)),o=Bn(o));var n=null==e?e:e[o];return null==n?q:n.apply(e,f)}function $f(e){return null!=e&&nn(Rt(e))}function _f(e,o){return e="number"==typeof e||Ie.test(e)?+e:-1,o=null==o?Gt:o,e>-1&&e%1==0&&o>e}function en(e,o,f){if(!Jd(f))return!1;var n=typeof o;if("number"==n?$f(f)&&_f(o,f.length):"string"==n&&o in f){var d=f[o];return e===e?e===d:d!==d}return!1}function on(e,o){var f=typeof e;if("string"==f&&qe.test(e)||"number"==f)return!0;if(Dl(e))return!1;var n=!he.test(e);return n||null!=o&&e in an(o)}function fn(e){var f=Rf(e);if(!(f in Z.prototype))return!1;var n=o[f];if(e===n)return!0;var d=Qt(n);return!!d&&e===d[0]}function nn(e){return"number"==typeof e&&e>-1&&e%1==0&&Gt>=e}function dn(e){return e===e&&!Jd(e)}function tn(e,o){var f=e[1],n=o[1],d=f|n,i=H>d,t=n==H&&f==D||n==H&&f==I&&e[7].length<=o[8]||n==(H|I)&&f==D;if(!i&&!t)return e;n&A&&(e[2]=o[2],d|=f&A?0:C);var l=o[3];if(l){var u=e[3];e[3]=u?sf(u,l,o[4]):eo(l),e[4]=u?x(e[3],S):eo(o[4])}return l=o[5],l&&(u=e[5],e[5]=u?pf(u,l,o[6]):eo(l),e[6]=u?x(e[5],S):eo(o[6])),l=o[7],l&&(e[7]=eo(l)),n&H&&(e[8]=null==e[8]?o[8]:ht(e[8],o[8])),null==e[9]&&(e[9]=o[9]),e[0]=o[0],e[1]=d,e}function ln(e,o){return e===q?o:El(e,o,ln)}function un(e,o){e=an(e);for(var f=-1,n=o.length,d={};++f<n;){var i=o[f];i in e&&(d[i]=e[i])}return d}function sn(e,o){var f={};return Eo(e,function(e,n,d){o(e,n,d)&&(f[n]=e)}),f}function pn(e,o){for(var f=e.length,n=ht(o.length,f),d=eo(e);n--;){var i=o[n];e[n]=_f(i,f)?d[i]:q}return e}function rn(e){for(var o=fi(e),f=o.length,n=f&&e.length,d=!!n&&nn(n)&&(Dl(e)||Ad(e)),i=-1,t=[];++i<f;){var l=o[i];(d&&_f(l,n)||ft.call(e,l))&&t.push(l)}return t}function yn(e){return null==e?[]:$f(e)?Jd(e)?e:Wi(e):li(e)}function an(e){return Jd(e)?e:Wi(e)}function cn(e){if(Dl(e))return e;var o=[];return l(e).replace(ze,function(e,f,n,d){o.push(n?d.replace(De,"$1"):f||e)}),o}function bn(e){return e instanceof Z?e.clone():new m(e.__wrapped__,e.__chain__,eo(e.__actions__))}function wn(e,o,f){o=(f?en(e,o,f):null==o)?1:Pt(xt(o)||1,1);for(var n=0,d=e?e.length:0,i=-1,t=Qi(gt(d/o));d>n;)t[++i]=Xo(e,n,n+=o);return t}function gn(e){for(var o=-1,f=e?e.length:0,n=-1,d=[];++o<f;){var i=e[o];i&&(d[++n]=i)}return d}function mn(e,o,f){var n=e?e.length:0;return n?((f?en(e,o,f):null==o)&&(o=1),Xo(e,0>o?0:o)):[]}function xn(e,o,f){var n=e?e.length:0;return n?((f?en(e,o,f):null==o)&&(o=1),o=n-(+o||0),Xo(e,0,0>o?0:o)):[]}function jn(e,o,f){return e&&e.length?ff(e,Qf(o,f,3),!0,!0):[]}function kn(e,o,f){return e&&e.length?ff(e,Qf(o,f,3),!0):[]}function vn(e,o,f,n){var d=e?e.length:0;return d?(f&&"number"!=typeof f&&en(e,o,f)&&(f=0,n=d),Ao(e,o,f,n)):[]}function Pn(e){return e?e[0]:q}function hn(e,o,f){var n=e?e.length:0;return f&&en(e,o,f)&&(o=!1),n?Do(e,o):[]}function qn(e){var o=e?e.length:0;return o?Do(e,!0):[]}function zn(e,o,f){var n=e?e.length:0;if(!n)return-1;if("number"==typeof f)f=0>f?Pt(n+f,0):f;else if(f){var d=df(e,o);return n>d&&(o===o?o===e[d]:e[d]!==e[d])?d:-1}return i(e,o,f||0)}function An(e){return xn(e,1)}function Bn(e){var o=e?e.length:0;return o?e[o-1]:q}function Cn(e,o,f){var n=e?e.length:0;if(!n)return-1;var d=n;if("number"==typeof f)d=(0>f?Pt(n+f,0):ht(f||0,n-1))+1;else if(f){d=df(e,o,!0)-1;var i=e[d];return(o===o?o===i:i!==i)?d:-1}if(o!==o)return w(e,d,!0);for(;d--;)if(e[d]===o)return d;return-1}function Dn(){var e=arguments,o=e[0];if(!o||!o.length)return o;for(var f=0,n=Sf(),d=e.length;++f<d;)for(var i=0,t=e[f];(i=n(o,t,i))>-1;)ct.call(o,i,1);return o}function En(e,o,f){var n=[];if(!e||!e.length)return n;var d=-1,i=[],t=e.length;for(o=Qf(o,f,3);++d<t;){var l=e[d];o(l,d,e)&&(n.push(l),i.push(d))}return Uo(e,i),n}function Fn(e){return mn(e,1)}function Gn(e,o,f){var n=e?e.length:0;return n?(f&&"number"!=typeof f&&en(e,o,f)&&(o=0,f=n),Xo(e,o,f)):[]}function Hn(e,o,f){var n=e?e.length:0;return n?((f?en(e,o,f):null==o)&&(o=1),Xo(e,0,0>o?0:o)):[]}function In(e,o,f){var n=e?e.length:0;return n?((f?en(e,o,f):null==o)&&(o=1),o=n-(+o||0),Xo(e,0>o?0:o)):[]}function Jn(e,o,f){return e&&e.length?ff(e,Qf(o,f,3),!1,!0):[]}function Kn(e,o,f){return e&&e.length?ff(e,Qf(o,f,3)):[]}function Ln(e,o,f,n){var d=e?e.length:0;if(!d)return[];null!=o&&"boolean"!=typeof o&&(n=f,f=en(e,o,n)?q:o,o=!1);var t=Qf();return(null!=f||t!==ko)&&(f=t(f,n,3)),o&&Sf()==i?j(e,f):ef(e,f)}function Mn(e){if(!e||!e.length)return[];var o=-1,f=0;e=uo(e,function(e){return $f(e)?(f=Pt(e.length,f),!0):void 0});for(var n=Qi(f);++o<f;)n[o]=so(e,So(o));return n}function Nn(e,o,f){var n=e?e.length:0;if(!n)return[];var d=Mn(e);return null==o?d:(o=lf(o,f,4),so(d,function(e){return ro(e,o,q,!0)}))}function On(){for(var e=-1,o=arguments.length;++e<o;){var f=arguments[e];if($f(f))var n=n?po(ho(n,f),ho(f,n)):f}return n?ef(n):[]}function Qn(e,o){var f=-1,n=e?e.length:0,d={};for(!n||o||Dl(e[0])||(o=[]);++f<n;){var i=e[f];o?d[i]=o[f]:i&&(d[i[0]]=i[1])}return d}function Rn(e){var f=o(e);return f.__chain__=!0,f}function Sn(e,o,f){return o.call(f,e),e}function Tn(e,o,f){return o.call(f,e)}function Un(){return Rn(this)}function Vn(){return new m(this.value(),this.__chain__)}function Wn(e){for(var o,n=this;n instanceof f;){var d=bn(n);o?i.__wrapped__=d:o=d;var i=d;n=n.__wrapped__}return i.__wrapped__=e,o}function Xn(){var e=this.__wrapped__,o=function(e){return f&&f.__dir__<0?e:e.reverse()};if(e instanceof Z){var f=e;return this.__actions__.length&&(f=new Z(this)),f=f.reverse(),f.__actions__.push({func:Tn,args:[o],thisArg:q}),new m(f,this.__chain__)}return this.thru(o)}function Yn(){return this.value()+""}function Zn(){return nf(this.__wrapped__,this.__actions__)}function $n(e,o,f){var n=Dl(e)?to:qo;return f&&en(e,o,f)&&(o=q),("function"!=typeof o||f!==q)&&(o=Qf(o,f,3)),n(e,o)}function _n(e,o,f){var n=Dl(e)?uo:Bo;return o=Qf(o,f,3),n(e,o)}function ed(e,o){return il(e,No(o))}function od(e,o,f,n){var d=e?Rt(e):0;return nn(d)||(e=li(e),d=e.length),f="number"!=typeof f||n&&en(o,f,n)?0:0>f?Pt(d+f,0):f||0,"string"==typeof e||!Dl(e)&&Sd(e)?d>=f&&e.indexOf(o,f)>-1:!!d&&Sf(e,o,f)>-1}function fd(e,o,f){var n=Dl(e)?so:Mo;return o=Qf(o,f,3),n(e,o)}function nd(e,o){return fd(e,Ii(o))}function dd(e,o,f){var n=Dl(e)?uo:Bo;return o=Qf(o,f,3),n(e,function(e,f,n){return!o(e,f,n)})}function id(e,o,f){if(f?en(e,o,f):null==o){e=yn(e);var n=e.length;return n>0?e[Vo(0,n-1)]:q}var d=-1,i=Xd(e),n=i.length,t=n-1;for(o=ht(0>o?0:+o||0,n);++d<o;){var l=Vo(d,t),u=i[l];i[l]=i[d],i[d]=u}return i.length=o,i}function td(e){return id(e,Ct)}function ld(e){var o=e?Rt(e):0;return nn(o)?o:Ol(e).length}function ud(e,o,f){var n=Dl(e)?ao:Yo;return f&&en(e,o,f)&&(o=q),("function"!=typeof o||f!==q)&&(o=Qf(o,f,3)),n(e,o)}function sd(e,o,f){if(null==e)return[];f&&en(e,o,f)&&(o=q);var n=-1;o=Qf(o,f,3);var d=Mo(e,function(e,f,d){return{criteria:o(e,f,d),index:++n,value:e}});return Zo(d,p)}function pd(e,o,f,n){return null==e?[]:(n&&en(o,f,n)&&(f=q),Dl(o)||(o=null==o?[]:[o]),Dl(f)||(f=null==f?[]:[f]),$o(e,o,f))}function rd(e,o){return _n(e,No(o))}function yd(e,o){if("function"!=typeof o){if("function"!=typeof e)throw new Zi(R);var f=e;e=o,o=f}return e=kt(e=+e)?e:0,function(){return--e<1?o.apply(this,arguments):void 0}}function ad(e,o,f){return f&&en(e,o,f)&&(o=q),o=e&&null==o?e.length:Pt(+o||0,0),Lf(e,H,q,q,q,q,o)}function cd(e,o){var f;if("function"!=typeof o){if("function"!=typeof e)throw new Zi(R);var n=e;e=o,o=n}return function(){return--e>0&&(f=o.apply(this,arguments)),1>=e&&(o=q),f}}function bd(e,o,f){function n(){a&&ut(a),s&&ut(s),b=0,s=a=c=q}function d(o,f){f&&ut(f),s=a=c=q,o&&(b=wl(),p=e.apply(y,u),a||s||(u=y=q))}function i(){var e=o-(wl()-r);0>=e||e>o?d(c,s):a=at(i,e)}function t(){d(g,a)}function l(){if(u=arguments,r=wl(),y=this,c=g&&(a||!m),w===!1)var f=m&&!a;else{s||m||(b=r);var n=w-(r-b),d=0>=n||n>w;d?(s&&(s=ut(s)),b=r,p=e.apply(y,u)):s||(s=at(t,n))}return d&&a?a=ut(a):a||o===w||(a=at(i,o)),f&&(d=!0,p=e.apply(y,u)),!d||a||s||(u=y=q),p}var u,s,p,r,y,a,c,b=0,w=!1,g=!0;if("function"!=typeof e)throw new Zi(R);if(o=0>o?0:+o||0,f===!0){var m=!0;g=!1}else Jd(f)&&(m=!!f.leading,w="maxWait"in f&&Pt(+f.maxWait||0,o),g="trailing"in f?!!f.trailing:g);return l.cancel=n,l}function wd(e,o){if("function"!=typeof e||o&&"function"!=typeof o)throw new Zi(R);var f=function(){var n=arguments,d=o?o.apply(this,n):n[0],i=f.cache;if(i.has(d))return i.get(d);var t=e.apply(this,n);return f.cache=i.set(d,t),t};return f.cache=new wd.Cache,f}function gd(e){if("function"!=typeof e)throw new Zi(R);return function(){return!e.apply(this,arguments)}}function md(e){return cd(2,e)}function xd(e,o){if("function"!=typeof e)throw new Zi(R);return o=Pt(o===q?e.length-1:+o||0,0),function(){for(var f=arguments,n=-1,d=Pt(f.length-o,0),i=Qi(d);++n<d;)i[n]=f[o+n];switch(o){case 0:return e.call(this,i);case 1:return e.call(this,f[0],i);case 2:return e.call(this,f[0],f[1],i)}var t=Qi(o+1);for(n=-1;++n<o;)t[n]=f[n];return t[o]=i,e.apply(this,t)}}function jd(e){if("function"!=typeof e)throw new Zi(R);return function(o){return e.apply(this,o)}}function kd(e,o,f){var n=!0,d=!0;if("function"!=typeof e)throw new Zi(R);return f===!1?n=!1:Jd(f)&&(n="leading"in f?!!f.leading:n,d="trailing"in f?!!f.trailing:d),bd(e,o,{leading:n,maxWait:+o,trailing:d})}function vd(e,o){return o=null==o?Ci:o,Lf(o,F,q,[e],[])}function Pd(e,o,f,n){return o&&"boolean"!=typeof o&&en(e,o,f)?o=!1:"function"==typeof o&&(n=f,f=o,o=!1),"function"==typeof f?vo(e,o,lf(f,n,1)):vo(e,o)}function hd(e,o,f){return"function"==typeof o?vo(e,!0,lf(o,f,1)):vo(e,!0)}function qd(e,o){return e>o}function zd(e,o){return e>=o}function Ad(e){return g(e)&&$f(e)&&ft.call(e,"callee")&&!rt.call(e,"callee")}function Bd(e){return e===!0||e===!1||g(e)&&dt.call(e)==V}function Cd(e){return g(e)&&dt.call(e)==W}function Dd(e){return!!e&&1===e.nodeType&&g(e)&&!Qd(e)}function Ed(e){return null==e?!0:$f(e)&&(Dl(e)||Sd(e)||Ad(e)||g(e)&&Id(e.splice))?!e.length:!Ol(e).length}function Fd(e,o,f,n){f="function"==typeof f?lf(f,n,3):q;var d=f?f(e,o):q;return d===q?Jo(e,o,f):!!d}function Gd(e){return g(e)&&"string"==typeof e.message&&dt.call(e)==X}function Hd(e){return"number"==typeof e&&kt(e)}function Id(e){return Jd(e)&&dt.call(e)==Y}function Jd(e){var o=typeof e;return!!e&&("object"==o||"function"==o)}function Kd(e,o,f,n){return f="function"==typeof f?lf(f,n,3):q,Lo(e,Tf(o),f)}function Ld(e){return Od(e)&&e!=+e}function Md(e){return null==e?!1:Id(e)?tt.test(ot.call(e)):g(e)&&He.test(e)}function Nd(e){return null===e}function Od(e){return"number"==typeof e||g(e)&&dt.call(e)==$}function Qd(e){var o;if(!g(e)||dt.call(e)!=_||Ad(e)||!ft.call(e,"constructor")&&(o=e.constructor,"function"==typeof o&&!(o instanceof o)))return!1;var f;return Eo(e,function(e,o){f=o}),f===q||ft.call(e,f)}function Rd(e){return Jd(e)&&dt.call(e)==ee}function Sd(e){return"string"==typeof e||g(e)&&dt.call(e)==fe}function Td(e){return g(e)&&nn(e.length)&&!!Qe[dt.call(e)]}function Ud(e){return e===q}function Vd(e,o){return o>e}function Wd(e,o){return o>=e}function Xd(e){var o=e?Rt(e):0;return nn(o)?o?eo(e):[]:li(e)}function Yd(e){return jo(e,fi(e))}function Zd(e,o,f){var n=Jt(e);return f&&en(e,o,f)&&(o=q),o?mo(n,o):n}function $d(e){return Ho(e,fi(e))}function _d(e,o,f){var n=null==e?q:Io(e,cn(o),o+"");return n===q?f:n}function ei(e,o){if(null==e)return!1;var f=ft.call(e,o);if(!f&&!on(o)){if(o=cn(o),e=1==o.length?e:Io(e,Xo(o,0,-1)),null==e)return!1;o=Bn(o),f=ft.call(e,o)}return f||nn(e.length)&&_f(o,e.length)&&(Dl(e)||Ad(e))}function oi(e,o,f){f&&en(e,o,f)&&(o=q);for(var n=-1,d=Ol(e),i=d.length,t={};++n<i;){var l=d[n],u=e[l];o?ft.call(t,u)?t[u].push(l):t[u]=[l]:t[u]=l}return t}function fi(e){if(null==e)return[];Jd(e)||(e=Wi(e));var o=e.length;o=o&&nn(o)&&(Dl(e)||Ad(e))&&o||0;for(var f=e.constructor,n=-1,d="function"==typeof f&&f.prototype===e,i=Qi(o),t=o>0;++n<o;)i[n]=n+"";for(var l in e)t&&_f(l,o)||"constructor"==l&&(d||!ft.call(e,l))||i.push(l);return i}function ni(e){e=an(e);for(var o=-1,f=Ol(e),n=f.length,d=Qi(n);++o<n;){var i=f[o];d[o]=[i,e[i]]}return d}function di(e,o,f){var n=null==e?q:e[o];return n===q&&(null==e||on(o,e)||(o=cn(o),e=1==o.length?e:Io(e,Xo(o,0,-1)),n=null==e?q:e[Bn(o)]),n=n===q?f:n),Id(n)?n.call(e):n}function ii(e,o,f){if(null==e)return e;var n=o+"";o=null!=e[n]||on(o,e)?[n]:cn(o);for(var d=-1,i=o.length,t=i-1,l=e;null!=l&&++d<i;){var u=o[d];Jd(l)&&(d==t?l[u]=f:null==l[u]&&(l[u]=_f(o[d+1])?[]:{})),l=l[u]}return e}function ti(e,o,f,n){var d=Dl(e)||Td(e);if(o=Qf(o,n,4),null==f)if(d||Jd(e)){var i=e.constructor;f=d?Dl(e)?new i:[]:Jt(Id(i)?i.prototype:q)}else f={};return(d?oo:Fo)(e,function(e,n,d){return o(f,e,n,d)}),f}function li(e){return of(e,Ol(e))}function ui(e){return of(e,fi(e))}function si(e,o,f){return o=+o||0,f===q?(f=o,o=0):f=+f||0,e>=ht(o,f)&&e<Pt(o,f)}function pi(e,o,f){f&&en(e,o,f)&&(o=f=q);var n=null==e,d=null==o;if(null==f&&(d&&"boolean"==typeof e?(f=e,e=1):"boolean"==typeof o&&(f=o,d=!0)),n&&d&&(o=1,d=!1),e=+e||0,d?(o=e,e=0):o=+o||0,f||e%1||o%1){var i=At();return ht(e+i*(o-e+st("1e-"+((i+"").length-1))),o)}return Vo(e,o)}function ri(e){return e=l(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function yi(e){return e=l(e),e&&e.replace(Je,y).replace(Ce,"")}function ai(e,o,f){e=l(e),o+="";var n=e.length;return f=f===q?n:ht(0>f?0:+f||0,n),f-=o.length,f>=0&&e.indexOf(o,f)==f}function ci(e){return e=l(e),e&&je.test(e)?e.replace(me,a):e}function bi(e){return e=l(e),e&&Be.test(e)?e.replace(Ae,c):e||"(?:)"}function wi(e,o,f){e=l(e),o=+o;var n=e.length;if(n>=o||!kt(o))return e;var d=(o-n)/2,i=xt(d),t=gt(d);return f=Hf("",t,f),f.slice(0,i)+e+f}function gi(e,o,f){return(f?en(e,o,f):null==o)?o=0:o&&(o=+o),e=ki(e),zt(e,o||(Ge.test(e)?16:10))}function mi(e,o){var f="";if(e=l(e),o=+o,1>o||!e||!kt(o))return f;do o%2&&(f+=e),o=xt(o/2),e+=e;while(o);return f}function xi(e,o,f){return e=l(e),f=null==f?0:ht(0>f?0:+f||0,e.length),e.lastIndexOf(o,f)==f}function ji(e,f,n){var d=o.templateSettings;n&&en(e,f,n)&&(f=n=q),e=l(e),f=go(mo({},n||f),d,wo);var i,t,u=go(mo({},f.imports),d.imports,wo),s=Ol(u),p=of(u,s),r=0,y=f.interpolate||Ke,a="__p += '",c=Xi((f.escape||Ke).source+"|"+y.source+"|"+(y===Pe?Ee:Ke).source+"|"+(f.evaluate||Ke).source+"|$","g"),w="//# sourceURL="+("sourceURL"in f?f.sourceURL:"lodash.templateSources["+ ++Oe+"]")+"\n";e.replace(c,function(o,f,n,d,l,u){return n||(n=d),a+=e.slice(r,u).replace(Le,b),f&&(i=!0,a+="' +\n__e("+f+") +\n'"),l&&(t=!0,a+="';\n"+l+";\n__p += '"),n&&(a+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),r=u+o.length,o}),a+="';\n";var g=f.variable;g||(a="with (obj) {\n"+a+"\n}\n"),a=(t?a.replace(ce,""):a).replace(be,"$1").replace(we,"$1;"),a="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(t?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+a+"return __p\n}";var m=$l(function(){return Ti(s,w+"return "+a).apply(q,p)});if(m.source=a,Gd(m))throw m;return m}function ki(e,o,f){var n=e;return(e=l(e))?(f?en(n,o,f):null==o)?e.slice(k(e),v(e)+1):(o+="",e.slice(u(e,o),s(e,o)+1)):e}function vi(e,o,f){var n=e;return e=l(e),e?(f?en(n,o,f):null==o)?e.slice(k(e)):e.slice(u(e,o+"")):e}function Pi(e,o,f){var n=e;return e=l(e),e?(f?en(n,o,f):null==o)?e.slice(0,v(e)+1):e.slice(0,s(e,o+"")+1):e}function hi(e,o,f){f&&en(e,o,f)&&(o=q);var n=J,d=K;if(null!=o)if(Jd(o)){var i="separator"in o?o.separator:i;n="length"in o?+o.length||0:n,d="omission"in o?l(o.omission):d}else n=+o||0;if(e=l(e),n>=e.length)return e;var t=n-d.length;if(1>t)return d;var u=e.slice(0,t);if(null==i)return u+d;if(Rd(i)){if(e.slice(t).search(i)){var s,p,r=e.slice(0,t);for(i.global||(i=Xi(i.source,(Fe.exec(i)||"")+"g")),i.lastIndex=0;s=i.exec(r);)p=s.index;u=u.slice(0,null==p?t:p)}}else if(e.indexOf(i,t)!=t){var y=u.lastIndexOf(i);y>-1&&(u=u.slice(0,y))}return u+d}function qi(e){return e=l(e),e&&xe.test(e)?e.replace(ge,P):e}function zi(e,o,f){return f&&en(e,o,f)&&(o=q),e=l(e),e.match(o||Me)||[]}function Ai(e,o,f){return f&&en(e,o,f)&&(o=q),g(e)?Di(e):ko(e,o)}function Bi(e){return function(){return e}}function Ci(e){return e}function Di(e){return No(vo(e,!0))}function Ei(e,o){return Oo(e,vo(o,!0))}function Fi(e,o,f){if(null==f){var n=Jd(o),d=n?Ol(o):q,i=d&&d.length?Ho(o,d):q;(i?i.length:n)||(i=!1,f=o,o=e,e=this)}i||(i=Ho(o,Ol(o)));var t=!0,l=-1,u=Id(e),s=i.length;f===!1?t=!1:Jd(f)&&"chain"in f&&(t=f.chain);for(;++l<s;){var p=i[l],r=o[p];e[p]=r,u&&(e.prototype[p]=function(o){return function(){var f=this.__chain__;if(t||f){var n=e(this.__wrapped__),d=n.__actions__=eo(this.__actions__);return d.push({func:o,args:arguments,thisArg:e}),n.__chain__=f,n}return o.apply(e,po([this.value()],arguments))}}(r))}return e}function Gi(){return fo._=it,this}function Hi(){}function Ii(e){return on(e)?So(e):To(e)}function Ji(e){return function(o){return Io(e,cn(o),o+"")}}function Ki(e,o,f){f&&en(e,o,f)&&(o=f=q),e=+e||0,f=null==f?1:+f||0,null==o?(o=e,e=0):o=+o||0;for(var n=-1,d=Pt(gt((o-e)/(f||1)),0),i=Qi(d);++n<d;)i[n]=e,e+=f;return i}function Li(e,o,f){if(e=xt(e),1>e||!kt(e))return[];var n=-1,d=Qi(ht(e,Dt));for(o=lf(o,f,1);++n<e;)Dt>n?d[n]=o(n):o(n);return d}function Mi(e){var o=++nt;return l(e)+o}function Ni(e,o){return(+e||0)+(+o||0)}function Oi(e,o,f){return f&&en(e,o,f)&&(o=q),o=Qf(o,f,3),1==o.length?co(Dl(e)?e:yn(e),o):_o(e,o)}e=e?no.defaults(fo.Object(),e,no.pick(fo,Ne)):fo;var Qi=e.Array,Ri=e.Date,Si=e.Error,Ti=e.Function,Ui=e.Math,Vi=e.Number,Wi=e.Object,Xi=e.RegExp,Yi=e.String,Zi=e.TypeError,$i=Qi.prototype,_i=Wi.prototype,et=Yi.prototype,ot=Ti.prototype.toString,ft=_i.hasOwnProperty,nt=0,dt=_i.toString,it=fo._,tt=Xi("^"+ot.call(ft).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lt=e.ArrayBuffer,ut=e.clearTimeout,st=e.parseFloat,pt=Ui.pow,rt=_i.propertyIsEnumerable,yt=Uf(e,"Set"),at=e.setTimeout,ct=$i.splice,bt=e.Uint8Array,wt=Uf(e,"WeakMap"),gt=Ui.ceil,mt=Uf(Wi,"create"),xt=Ui.floor,jt=Uf(Qi,"isArray"),kt=e.isFinite,vt=Uf(Wi,"keys"),Pt=Ui.max,ht=Ui.min,qt=Uf(Ri,"now"),zt=e.parseInt,At=Ui.random,Bt=Vi.NEGATIVE_INFINITY,Ct=Vi.POSITIVE_INFINITY,Dt=4294967295,Et=Dt-1,Ft=Dt>>>1,Gt=9007199254740991,Ht=wt&&new wt,It={};o.support={};o.templateSettings={escape:ke,evaluate:ve,interpolate:Pe,variable:"",imports:{_:o}};var Jt=function(){function e(){}return function(o){if(Jd(o)){e.prototype=o;var f=new e;e.prototype=q}return f||{}}}(),Kt=af(Fo),Lt=af(Go,!0),Mt=cf(),Nt=cf(!0),Ot=Ht?function(e,o){return Ht.set(e,o),e}:Ci,Qt=Ht?function(e){return Ht.get(e)}:Hi,Rt=So("length"),St=function(){var e=0,o=0;return function(f,n){var d=wl(),i=M-(d-o);if(o=d,i>0){if(++e>=L)return f}else e=0;return Ot(f,n)}}(),Tt=xd(function(e,o){return g(e)&&$f(e)?ho(e,Do(o,!1,!0)):[]}),Ut=Pf(),Vt=Pf(!0),Wt=xd(function(e){for(var o=e.length,f=o,n=Qi(r),d=Sf(),t=d==i,l=[];f--;){var u=e[f]=$f(u=e[f])?u:[];n[f]=t&&u.length>=120?wf(f&&u):null}var s=e[0],p=-1,r=s?s.length:0,y=n[0];e:for(;++p<r;)if(u=s[p],(y?Ze(y,u):d(l,u,0))<0){for(var f=o;--f;){var a=n[f];if((a?Ze(a,u):d(e[f],u,0))<0)continue e}y&&y.push(u),l.push(u)}return l}),Xt=xd(function(e,o){o=Do(o);var f=xo(e,o);return Uo(e,o.sort(n)),f}),Yt=Kf(),Zt=Kf(!0),$t=xd(function(e){return ef(Do(e,!1,!0))}),_t=xd(function(e,o){return $f(e)?ho(e,o):[]}),el=xd(Mn),ol=xd(function(e){var o=e.length,f=o>2?e[o-2]:q,n=o>1?e[o-1]:q;return o>2&&"function"==typeof f?o-=2:(f=o>1&&"function"==typeof n?(--o,n):q,n=q),e.length=o,Nn(e,f,n)}),fl=xd(function(e){return e=Do(e),this.thru(function(o){return _e(Dl(o)?o:[an(o)],e)})}),nl=xd(function(e,o){return xo(e,Do(o))}),dl=rf(function(e,o,f){ft.call(e,f)?++e[f]:e[f]=1}),il=vf(Kt),tl=vf(Lt,!0),ll=zf(oo,Kt),ul=zf(io,Lt),sl=rf(function(e,o,f){ft.call(e,f)?e[f].push(o):e[f]=[o]}),pl=rf(function(e,o,f){e[f]=o}),rl=xd(function(e,o,f){var n=-1,d="function"==typeof o,i=on(o),t=$f(e)?Qi(e.length):[];return Kt(e,function(e){var l=d?o:i&&null!=e?e[o]:q;t[++n]=l?l.apply(e,f):Zf(e,o,f)}),t}),yl=rf(function(e,o,f){e[f?0:1].push(o)},function(){return[[],[]]}),al=Ff(ro,Kt),cl=Ff(yo,Lt),bl=xd(function(e,o){if(null==e)return[];var f=o[2];return f&&en(o[0],o[1],f)&&(o.length=1),$o(e,Do(o),[])}),wl=qt||function(){return(new Ri).getTime()},gl=xd(function(e,o,f){var n=A;if(f.length){var d=x(f,gl.placeholder);n|=F}return Lf(e,n,o,f,d)}),ml=xd(function(e,o){o=o.length?Do(o):$d(e);for(var f=-1,n=o.length;++f<n;){var d=o[f];e[d]=Lf(e[d],A,e)}return e}),xl=xd(function(e,o,f){var n=A|B;if(f.length){var d=x(f,xl.placeholder);n|=F}return Lf(o,n,e,f,d)}),jl=xf(D),kl=xf(E),vl=xd(function(e,o){return Po(e,1,o)}),Pl=xd(function(e,o,f){return Po(e,o,f)}),hl=qf(),ql=qf(!0),zl=xd(function(e,o){if(o=Do(o),"function"!=typeof e||!to(o,t))throw new Zi(R);var f=o.length;return xd(function(n){for(var d=ht(n.length,f);d--;)n[d]=o[d](n[d]);return e.apply(this,n)})}),Al=Ef(F),Bl=Ef(G),Cl=xd(function(e,o){return Lf(e,I,q,q,q,Do(o))}),Dl=jt||function(e){return g(e)&&nn(e.length)&&dt.call(e)==U},El=yf(Qo),Fl=yf(function(e,o,f){return f?go(e,o,f):mo(e,o)}),Gl=jf(Fl,bo),Hl=jf(El,ln),Il=hf(Fo),Jl=hf(Go),Kl=Af(Mt),Ll=Af(Nt),Ml=Bf(Fo),Nl=Bf(Go),Ol=vt?function(e){var o=null==e?q:e.constructor;return"function"==typeof o&&o.prototype===e||"function"!=typeof e&&$f(e)?rn(e):Jd(e)?vt(e):[]}:rn,Ql=Cf(!0),Rl=Cf(),Sl=xd(function(e,o){if(null==e)return{};if("function"!=typeof o[0]){var o=so(Do(o),Yi);return un(e,ho(fi(e),o))}var f=lf(o[0],o[1],3);return sn(e,function(e,o,n){return!f(e,o,n)})}),Tl=xd(function(e,o){return null==e?{}:"function"==typeof o[0]?sn(e,lf(o[0],o[1],3)):un(e,Do(o))}),Ul=gf(function(e,o,f){return o=o.toLowerCase(),e+(f?o.charAt(0).toUpperCase()+o.slice(1):o)}),Vl=gf(function(e,o,f){return e+(f?"-":"")+o.toLowerCase()}),Wl=Df(),Xl=Df(!0),Yl=gf(function(e,o,f){return e+(f?"_":"")+o.toLowerCase()}),Zl=gf(function(e,o,f){return e+(f?" ":"")+(o.charAt(0).toUpperCase()+o.slice(1))}),$l=xd(function(e,o){try{return e.apply(q,o)}catch(f){return Gd(f)?f:new Si(f)}}),_l=xd(function(e,o){return function(f){return Zf(f,e,o)}}),eu=xd(function(e,o){return function(f){return Zf(e,f,o)}}),ou=Jf("ceil"),fu=Jf("floor"),nu=kf(qd,Bt),du=kf(Vd,Ct),iu=Jf("round");return o.prototype=f.prototype,m.prototype=Jt(f.prototype),m.prototype.constructor=m,Z.prototype=Jt(f.prototype),Z.prototype.constructor=Z,Te.prototype["delete"]=Ue,Te.prototype.get=Ve,Te.prototype.has=We,Te.prototype.set=Xe,Ye.prototype.push=$e,wd.Cache=Te,o.after=yd,o.ary=ad,o.assign=Fl,o.at=nl,o.before=cd,o.bind=gl,o.bindAll=ml,o.bindKey=xl,o.callback=Ai,o.chain=Rn,o.chunk=wn,o.compact=gn,o.constant=Bi,o.countBy=dl,o.create=Zd,o.curry=jl,o.curryRight=kl,o.debounce=bd,o.defaults=Gl,o.defaultsDeep=Hl,o.defer=vl,o.delay=Pl,o.difference=Tt,o.drop=mn,o.dropRight=xn,o.dropRightWhile=jn,o.dropWhile=kn,o.fill=vn,o.filter=_n,o.flatten=hn,o.flattenDeep=qn,
  o.flow=hl,o.flowRight=ql,o.forEach=ll,o.forEachRight=ul,o.forIn=Kl,o.forInRight=Ll,o.forOwn=Ml,o.forOwnRight=Nl,o.functions=$d,o.groupBy=sl,o.indexBy=pl,o.initial=An,o.intersection=Wt,o.invert=oi,o.invoke=rl,o.keys=Ol,o.keysIn=fi,o.map=fd,o.mapKeys=Ql,o.mapValues=Rl,o.matches=Di,o.matchesProperty=Ei,o.memoize=wd,o.merge=El,o.method=_l,o.methodOf=eu,o.mixin=Fi,o.modArgs=zl,o.negate=gd,o.omit=Sl,o.once=md,o.pairs=ni,o.partial=Al,o.partialRight=Bl,o.partition=yl,o.pick=Tl,o.pluck=nd,o.property=Ii,o.propertyOf=Ji,o.pull=Dn,o.pullAt=Xt,o.range=Ki,o.rearg=Cl,o.reject=dd,o.remove=En,o.rest=Fn,o.restParam=xd,o.set=ii,o.shuffle=td,o.slice=Gn,o.sortBy=sd,o.sortByAll=bl,o.sortByOrder=pd,o.spread=jd,o.take=Hn,o.takeRight=In,o.takeRightWhile=Jn,o.takeWhile=Kn,o.tap=Sn,o.throttle=kd,o.thru=Tn,o.times=Li,o.toArray=Xd,o.toPlainObject=Yd,o.transform=ti,o.union=$t,o.uniq=Ln,o.unzip=Mn,o.unzipWith=Nn,o.values=li,o.valuesIn=ui,o.where=rd,o.without=_t,o.wrap=vd,o.xor=On,o.zip=el,o.zipObject=Qn,o.zipWith=ol,o.backflow=ql,o.collect=fd,o.compose=ql,o.each=ll,o.eachRight=ul,o.extend=Fl,o.iteratee=Ai,o.methods=$d,o.object=Qn,o.select=_n,o.tail=Fn,o.unique=Ln,Fi(o,o),o.add=Ni,o.attempt=$l,o.camelCase=Ul,o.capitalize=ri,o.ceil=ou,o.clone=Pd,o.cloneDeep=hd,o.deburr=yi,o.endsWith=ai,o.escape=ci,o.escapeRegExp=bi,o.every=$n,o.find=il,o.findIndex=Ut,o.findKey=Il,o.findLast=tl,o.findLastIndex=Vt,o.findLastKey=Jl,o.findWhere=ed,o.first=Pn,o.floor=fu,o.get=_d,o.gt=qd,o.gte=zd,o.has=ei,o.identity=Ci,o.includes=od,o.indexOf=zn,o.inRange=si,o.isArguments=Ad,o.isArray=Dl,o.isBoolean=Bd,o.isDate=Cd,o.isElement=Dd,o.isEmpty=Ed,o.isEqual=Fd,o.isError=Gd,o.isFinite=Hd,o.isFunction=Id,o.isMatch=Kd,o.isNaN=Ld,o.isNative=Md,o.isNull=Nd,o.isNumber=Od,o.isObject=Jd,o.isPlainObject=Qd,o.isRegExp=Rd,o.isString=Sd,o.isTypedArray=Td,o.isUndefined=Ud,o.kebabCase=Vl,o.last=Bn,o.lastIndexOf=Cn,o.lt=Vd,o.lte=Wd,o.max=nu,o.min=du,o.noConflict=Gi,o.noop=Hi,o.now=wl,o.pad=wi,o.padLeft=Wl,o.padRight=Xl,o.parseInt=gi,o.random=pi,o.reduce=al,o.reduceRight=cl,o.repeat=mi,o.result=di,o.round=iu,o.runInContext=h,o.size=ld,o.snakeCase=Yl,o.some=ud,o.sortedIndex=Yt,o.sortedLastIndex=Zt,o.startCase=Zl,o.startsWith=xi,o.sum=Oi,o.template=ji,o.trim=ki,o.trimLeft=vi,o.trimRight=Pi,o.trunc=hi,o.unescape=qi,o.uniqueId=Mi,o.words=zi,o.all=$n,o.any=ud,o.contains=od,o.eq=Fd,o.detect=il,o.foldl=al,o.foldr=cl,o.head=Pn,o.include=od,o.inject=al,Fi(o,function(){var e={};return Fo(o,function(f,n){o.prototype[n]||(e[n]=f)}),e}(),!1),o.sample=id,o.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(o){return id(o,e)}):id(this.value())},o.VERSION=z,oo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){o[e].placeholder=o}),oo(["drop","take"],function(e,o){Z.prototype[e]=function(f){var n=this.__filtered__;if(n&&!o)return new Z(this);f=null==f?1:Pt(xt(f)||0,0);var d=this.clone();return n?d.__takeCount__=ht(d.__takeCount__,f):d.__views__.push({size:f,type:e+(d.__dir__<0?"Right":"")}),d},Z.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),oo(["filter","map","takeWhile"],function(e,o){var f=o+1,n=f!=Q;Z.prototype[e]=function(e,o){var d=this.clone();return d.__iteratees__.push({iteratee:Qf(e,o,1),type:f}),d.__filtered__=d.__filtered__||n,d}}),oo(["first","last"],function(e,o){var f="take"+(o?"Right":"");Z.prototype[e]=function(){return this[f](1).value()[0]}}),oo(["initial","rest"],function(e,o){var f="drop"+(o?"":"Right");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[f](1)}}),oo(["pluck","where"],function(e,o){var f=o?"filter":"map",n=o?No:Ii;Z.prototype[e]=function(e){return this[f](n(e))}}),Z.prototype.compact=function(){return this.filter(Ci)},Z.prototype.reject=function(e,o){return e=Qf(e,o,1),this.filter(function(o){return!e(o)})},Z.prototype.slice=function(e,o){e=null==e?0:+e||0;var f=this;return f.__filtered__&&(e>0||0>o)?new Z(f):(0>e?f=f.takeRight(-e):e&&(f=f.drop(e)),o!==q&&(o=+o||0,f=0>o?f.dropRight(-o):f.take(o-e)),f)},Z.prototype.takeRightWhile=function(e,o){return this.reverse().takeWhile(e,o).reverse()},Z.prototype.toArray=function(){return this.take(Ct)},Fo(Z.prototype,function(e,f){var n=/^(?:filter|map|reject)|While$/.test(f),d=/^(?:first|last)$/.test(f),i=o[d?"take"+("last"==f?"Right":""):f];i&&(o.prototype[f]=function(){var o=d?[1]:arguments,f=this.__chain__,t=this.__wrapped__,l=!!this.__actions__.length,u=t instanceof Z,s=o[0],p=u||Dl(t);p&&n&&"function"==typeof s&&1!=s.length&&(u=p=!1);var r=function(e){return d&&f?i(e,1)[0]:i.apply(q,po([e],o))},y={func:Tn,args:[r],thisArg:q},a=u&&!l;if(d&&!f)return a?(t=t.clone(),t.__actions__.push(y),e.call(t)):i.call(q,this.value())[0];if(!d&&p){t=a?t:new Z(this);var c=e.apply(t,o);return c.__actions__.push(y),new m(c,f)}return this.thru(r)})}),oo(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var f=(/^(?:replace|split)$/.test(e)?et:$i)[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",d=/^(?:join|pop|replace|shift)$/.test(e);o.prototype[e]=function(){var e=arguments;return d&&!this.__chain__?f.apply(this.value(),e):this[n](function(o){return f.apply(o,e)})}}),Fo(Z.prototype,function(e,f){var n=o[f];if(n){var d=n.name,i=It[d]||(It[d]=[]);i.push({name:f,func:n})}}),It[Gf(q,B).name]=[{name:"wrapper",func:q}],Z.prototype.clone=oe,Z.prototype.reverse=ne,Z.prototype.value=Se,o.prototype.chain=Un,o.prototype.commit=Vn,o.prototype.concat=fl,o.prototype.plant=Wn,o.prototype.reverse=Xn,o.prototype.toString=Yn,o.prototype.run=o.prototype.toJSON=o.prototype.valueOf=o.prototype.value=Zn,o.prototype.collect=o.prototype.map,o.prototype.head=o.prototype.first,o.prototype.select=o.prototype.filter,o.prototype.tail=o.prototype.rest,o}var q,z="3.10.1",A=1,B=2,C=4,D=8,E=16,F=32,G=64,H=128,I=256,J=30,K="...",L=150,M=16,N=200,O=1,Q=2,R="Expected a function",S="__lodash_placeholder__",T="[object Arguments]",U="[object Array]",V="[object Boolean]",W="[object Date]",X="[object Error]",Y="[object Function]",Z="[object Map]",$="[object Number]",_="[object Object]",ee="[object RegExp]",oe="[object Set]",fe="[object String]",ne="[object WeakMap]",de="[object ArrayBuffer]",ie="[object Float32Array]",te="[object Float64Array]",le="[object Int8Array]",ue="[object Int16Array]",se="[object Int32Array]",pe="[object Uint8Array]",re="[object Uint8ClampedArray]",ye="[object Uint16Array]",ae="[object Uint32Array]",ce=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,me=/[&<>"'`]/g,xe=RegExp(ge.source),je=RegExp(me.source),ke=/<%-([\s\S]+?)%>/g,ve=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,he=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,qe=/^\w*$/,ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Ae=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Be=RegExp(Ae.source),Ce=/[\u0300-\u036f\ufe20-\ufe23]/g,De=/\\(\\)?/g,Ee=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fe=/\w*$/,Ge=/^0[xX]/,He=/^\[object .+?Constructor\]$/,Ie=/^\d+$/,Je=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ke=/($^)/,Le=/['\n\r\u2028\u2029\\]/g,Me=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+o+")|"+e+"?"+o+"|"+e+"+|[0-9]+","g")}(),Ne=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Oe=-1,Qe={};Qe[ie]=Qe[te]=Qe[le]=Qe[ue]=Qe[se]=Qe[pe]=Qe[re]=Qe[ye]=Qe[ae]=!0,Qe[T]=Qe[U]=Qe[de]=Qe[V]=Qe[W]=Qe[X]=Qe[Y]=Qe[Z]=Qe[$]=Qe[_]=Qe[ee]=Qe[oe]=Qe[fe]=Qe[ne]=!1;var Re={};Re[T]=Re[U]=Re[de]=Re[V]=Re[W]=Re[ie]=Re[te]=Re[le]=Re[ue]=Re[se]=Re[$]=Re[_]=Re[ee]=Re[fe]=Re[pe]=Re[re]=Re[ye]=Re[ae]=!0,Re[X]=Re[Y]=Re[Z]=Re[oe]=Re[ne]=!1;var Se={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Te={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Ue={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Ve={"function":!0,object:!0},We={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Xe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ye=Ve[typeof f]&&f&&!f.nodeType&&f,Ze=Ve[typeof o]&&o&&!o.nodeType&&o,$e=Ye&&Ze&&"object"==typeof e&&e&&e.Object&&e,_e=Ve[typeof self]&&self&&self.Object&&self,eo=Ve[typeof window]&&window&&window.Object&&window,oo=Ze&&Ze.exports===Ye&&Ye,fo=$e||eo!==(this&&this.window)&&eo||_e||this,no=h();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(fo._=no,define(function(){return no})):Ye&&Ze?oo?(Ze.exports=no)._=no:Ye._=no:fo._=no}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],114:[function(e,o,f){function n(e){var o=e[0],f=e[1]-1;if(0>f&&0>=o)return t;if(-1===o)return function(e){return f>=e};if(0===o)return function(e){return e===f};if(1===o)return 0>f?i:function(e){return e>=f};var n=f%o;return 0>n&&(n+=o),o>1?function(e){return e>=f&&e%o===n}:(o*=-1,function(e){return f>=e&&e%o===n})}o.exports=n;var d=e("boolbase"),i=d.trueFunc,t=d.falseFunc},{boolbase:10}],115:[function(e,o,f){var n=e("./parse.js"),d=e("./compile.js");o.exports=function(e){return d(n(e))},o.exports.parse=n,o.exports.compile=d},{"./compile.js":114,"./parse.js":116}],116:[function(e,o,f){function n(e){if(e=e.trim().toLowerCase(),"even"===e)return[2,0];if("odd"===e)return[2,1];var o=e.match(d);if(!o)throw new SyntaxError("n-th rule couldn't be parsed ('"+e+"')");var f;return o[1]?(f=parseInt(o[1],10),isNaN(f)&&(f="-"===o[1].charAt(0)?-1:1)):f=0,[f,o[3]?parseInt((o[2]||"")+o[3],10):0]}o.exports=n;var d=/^([+\-]?\d*n)?\s*(?:([+\-]?)\s*(\d+))?$/},{}],117:[function(require,module,exports){var Opal=this.Opal={};(function(e){function o(){}function f(){}function n(){}function d(){}function i(){}function t(e,o,f){var n=function(){},d=n.prototype=new e.constructor;o._scope=d,d.base=o,o._base_module=e.base,d.constructor=n,d.constants=[],f&&(o._orig_scope=e,e[f]=e.constructor[f]=o,e.constants.push(f))}function l(e,o){function f(){}var n=function(){};n.prototype=e.constructor.prototype,f.prototype=new n;var d=new f;return d._id=j++,d._alloc=o,d._isClass=!0,d.constructor=f,d._super=e,d._methods=[],d.__inc__=[],d.__parent=e,d._proto=o.prototype,o.prototype._klass=d,d}function u(){function e(){}var o=function(){};o.prototype=c.constructor.prototype,e.prototype=new o;var f=new e;return f._id=j++,f._isClass=!0,f.constructor=e,f._super=c,f._methods=[],f.__inc__=[],f.__parent=c,f._proto={},f.__mod__=!0,f.__dep__=[],f}function s(e,o){var f=l(a,o);f._name=e,t(Opal,f,e),w.push(f);for(var n=y._methods.concat(a._methods),d=0,i=n.length;i>d;d++){var u=n[d];o.prototype[u]=a._proto[u]}return f}function p(e,o){function f(){return this.$method_missing._p=f._p,f._p=null,this.$method_missing.apply(this,[o.slice(1)].concat(x.call(arguments)))}f.rb_stub=!0,e[o]=f}function r(e,o){y._methods.push(e);for(var f=0,n=w.length;n>f;f++)w[f]._proto[e]=o}var y,a,c,b,w=[],g=function(){};g.prototype=Opal,Opal.constructor=g,Opal.constants=[],Opal.global=this;var m=Opal.hasOwnProperty,x=Opal.slice=Array.prototype.slice,j=0;Opal.uid=function(){return j++},Opal.cvars={},Opal.gvars={},Opal.create_scope=t,Opal.klass=function(e,o,f,n){e._isClass||(e=e._klass),null===o&&(o=a);var d=e._scope[f];if(m.call(e._scope,f)&&d._orig_scope===e._scope){if(!d._isClass)throw Opal.TypeError.$new(f+" is not a class");if(o!==d._super&&o!==a)throw Opal.TypeError.$new("superclass mismatch for class "+f)}else{if("function"==typeof o)return s(f,o);d=k(o,n),d._name=f,t(e._scope,d,f),e[f]=e._scope[f]=d,o!==a&&o!==y&&Opal.donate_constants(o,d),o.$inherited&&o.$inherited(d)}return d};var k=Opal.boot=function(e,o){var f=function(){};return f.prototype=e._proto,o.prototype=new f,o.prototype.constructor=o,l(e,o)};Opal.module=function(e,o){var f;if(e._isClass||(e=e._klass),m.call(e._scope,o)){if(f=e._scope[o],!f.__mod__&&f!==a)throw Opal.TypeError.$new(o+" is not a module")}else f=u(),f._name=o,t(e._scope,f,o),e[o]=e._scope[o]=f;return f};var v=function(e,o,f){if(f){var n=function(){};n.prototype=f.prototype,o.prototype=new n}return o.prototype.constructor=o,o},P=function(e,o,f){function n(){}var d=function(){};d.prototype=f.prototype,n.prototype=new d;var i=new n;return i._id=j++,i._alloc=o,i._isClass=!0,i._name=e,i._super=f,i.constructor=n,i._methods=[],i.__inc__=[],i.__parent=f,i._proto=o.prototype,o.prototype._klass=i,Opal[e]=i,Opal.constants.push(e),i};Opal.casgn=function(e,o,f){var n=e._scope;return f._isClass&&f._name===q&&(f._name=o),f._isClass&&(f._base_module=e),n.constants.push(o),n[o]=f},Opal.cdecl=function(e,o,f){return e.constants.push(o),e[o]=f},Opal.cget=function(e,o){null==o&&(o=e,e=Opal.Object);var f=e;for(o=o.split("::");0!=o.length;)f=f.$const_get(o.shift());return f},Opal.donate_constants=function(e,o){for(var f=e._scope.constants,n=o._scope,d=n.constants,i=0,t=f.length;t>i;i++)d.push(f[i]),n[f[i]]=e._scope[f[i]]},Opal.add_stubs=function(e){for(var f=0,n=e.length;n>f;f++){var d=e[f];o.prototype[d]||(o.prototype[d]=!0,p(o.prototype,d))}},Opal.add_stub_for=p,Opal.cm=function(e){return this.base.$const_missing(e)},Opal.ac=function(e,o,f,n){var d=(f._isClass?f._name+".":f._klass._name+"#")+n,i="["+d+"] wrong number of arguments("+e+" for "+o+")";throw Opal.ArgumentError.$new(i)},Opal.find_super_dispatcher=function(e,o,f,n,d){var i;return i=d?e._isClass?d._super:e._klass._proto:e._isClass?e._super:h(e,o,f),i=i["$"+o],i._p=n,i},Opal.find_iter_super_dispatcher=function(e,o,f,n,d){return f._def?Opal.find_super_dispatcher(e,f._jsid,f,n,d):Opal.find_super_dispatcher(e,o,f,n,d)};var h=function(e,o,f){for(var n=e.__meta__||e._klass;n&&n._proto["$"+o]!==f;)n=n.__parent;if(!n)throw new Error("could not find current class for super()");for(n=n.__parent;n;){var d=n._proto["$"+o];if(d&&d!==f)break;n=n.__parent}return n._proto};Opal.$return=function(e){throw Opal.returner.$v=e,Opal.returner},Opal.$yield1=function(e,o){if("function"!=typeof e)throw Opal.LocalJumpError.$new("no block given");return e.length>1&&o._isArray?e.apply(null,o):e(o)},Opal.$yieldX=function(e,o){if("function"!=typeof e)throw Opal.LocalJumpError.$new("no block given");return e.length>1&&1==o.length&&o[0]._isArray?e.apply(null,o[0]):(o._isArray||(o=x.call(o)),e.apply(null,o))},Opal.$rescue=function(e,o){for(var f=0;f!=o.length;f++){var n=o[f];if(n._isArray){var d;if(d=Opal.$rescue(e,n))return d}else if(n["$==="](e))return n}return null},Opal.is_a=function(e,o){if(e.__meta__===o)return!0;for(var f=e._klass;f;){if(f===o)return!0;for(var n=0,d=f.__inc__.length;d>n;n++)if(f.__inc__[n]==o)return!0;f=f._super}return!1},Opal.to_ary=function(e){return e._isArray?e:e.$to_ary&&!e.$to_ary.rb_stub?e.$to_ary():[e]},Opal.send=function(e,o){var f=x.call(arguments,2),n=e["$"+o];return n?n.apply(e,f):e.$method_missing.apply(e,[o].concat(f))},Opal.block_send=function(e,o,f){var n=x.call(arguments,3),d=e["$"+o];return d?(d._p=f,d.apply(e,n)):e.$method_missing.apply(e,[o].concat(n))},Opal.donate=function(e,o,f){var n=e._methods,d=e.__dep__;if(e._methods=n.concat(o),d)for(var i=0,t=d.length;t>i;i++){for(var l=d[i],u=l._proto,s=0,p=o.length;p>s;s++){var r=o[s];u[r]=e._proto[r],u[r]._donated=!0}l.__dep__&&Opal.donate(l,o,!0)}},Opal.defn=function(e,o,f){return e.__mod__?(e._proto[o]=f,Opal.donate(e,[o])):e._isClass?(e._proto[o]=f,e===y?r(o,f):e===a&&Opal.donate(e,[o])):e[o]=f,q},Opal.defs=function(e,o,f){e._isClass||e.__mod__?e.constructor.prototype[o]=f:e[o]=f},Opal.hash=function(){if(1==arguments.length&&arguments[0]._klass==Opal.Hash)return arguments[0];var e=new Opal.Hash._alloc,o=[],f={};if(e.map=f,e.keys=o,1==arguments.length)if(arguments[0]._isArray)for(var n=arguments[0],d=0,i=n.length;i>d;d++){var t=n[d];if(2!==t.length)throw Opal.ArgumentError.$new("value not of length 2: "+t.$inspect());var l=t[0],u=t[1];null==f[l]&&o.push(l),f[l]=u}else{var u=arguments[0];for(var l in u)f[l]=u[l],o.push(l)}else{var i=arguments.length;if(i%2!==0)throw Opal.ArgumentError.$new("odd number of arguments for Hash");for(var d=0;i>d;d++){var l=arguments[d],u=arguments[++d];null==f[l]&&o.push(l),f[l]=u}}return e},Opal.hash2=function(e,o){var f=new Opal.Hash._alloc;return f.keys=e,f.map=o,f},Opal.range=function(e,o,f){var n=new Opal.Range._alloc;return n.begin=e,n.end=o,n.exclude=f,n},v("BasicObject",o),v("Object",f,o),v("Module",d,f),v("Class",n,d),y=P("BasicObject",o,n),a=P("Object",f,y.constructor),c=P("Module",d,a.constructor),b=P("Class",n,c.constructor),y._klass=b,a._klass=b,c._klass=b,b._klass=b,y._super=null,a._super=y,c._super=a,b._super=c,a.__dep__=w,Opal.base=a,y._scope=a._scope=Opal,y._orig_scope=a._orig_scope=Opal,Opal.Kernel=a,c._scope=a._scope,b._scope=a._scope,c._orig_scope=a._orig_scope,b._orig_scope=a._orig_scope,a._proto.toString=function(){return this.$to_s()},Opal.top=new a._alloc,Opal.klass(a,a,"NilClass",i);var q=Opal.nil=new i;q.call=q.apply=function(){throw Opal.LocalJumpError.$new("no block given")},Opal.breaker=new Error("unexpected break"),Opal.returner=new Error("unexpected return"),s("Array",Array),s("Boolean",Boolean),s("Numeric",Number),s("String",String),s("Proc",Function),s("Exception",Error),s("Regexp",RegExp),s("Time",Date),TypeError._super=Error}).call(this),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.module;return e.add_stubs(["$new","$class","$===","$respond_to?","$raise","$type_error","$__send__","$coerce_to","$nil?","$<=>","$name","$inspect"]),function(o){var i=d(o,"Opal"),t=(i._proto,i._scope);e.defs(i,"$type_error",function(e,o,n,d){var i,l;return null==n&&(n=f),null==d&&(d=f),(i=(l=n!==!1&&n!==f)?d:l)===f||i._isBoolean&&1!=i?t.TypeError.$new("no implicit conversion of "+e.$class()+" into "+o):t.TypeError.$new("can't convert "+e.$class()+" into "+o+" ("+e.$class()+"#"+n+" gives "+d.$class())}),e.defs(i,"$coerce_to",function(e,o,n){var d,i=this;return(d=o["$==="](e))===f||d._isBoolean&&1!=d?(((d=e["$respond_to?"](n))===f||d._isBoolean&&1!=d)&&i.$raise(i.$type_error(e,o)),e.$__send__(n)):e}),e.defs(i,"$coerce_to!",function(e,o,n){var d,i=this,t=f;return t=i.$coerce_to(e,o,n),((d=o["$==="](t))===f||d._isBoolean&&1!=d)&&i.$raise(i.$type_error(e,o,n,t)),t}),e.defs(i,"$coerce_to?",function(e,o,n){var d,i=this,t=f;return(d=e["$respond_to?"](n))===f||d._isBoolean&&1!=d?f:(t=i.$coerce_to(e,o,n),(d=t["$nil?"]())===f||d._isBoolean&&1!=d?(((d=o["$==="](t))===f||d._isBoolean&&1!=d)&&i.$raise(i.$type_error(e,o,n,t)),t):f)}),e.defs(i,"$try_convert",function(e,o,n){var d;return(d=o["$==="](e))===f||d._isBoolean&&1!=d?(d=e["$respond_to?"](n))===f||d._isBoolean&&1!=d?f:e.$__send__(n):e}),e.defs(i,"$compare",function(e,o){var n,d=this,i=f;return i=e["$<=>"](o),(n=i===f)===f||n._isBoolean&&1!=n||d.$raise(t.ArgumentError,"comparison of "+e.$class().$name()+" with "+o.$class().$name()+" failed"),i}),e.defs(i,"$destructure",function(e){return 1==e.length?e[0]:e._isArray?e:n.call(e)}),e.defs(i,"$respond_to?",function(e,o){return null!=e&&e._klass?e["$respond_to?"](o):!1}),e.defs(i,"$inspect",function(e){return void 0===e?"undefined":null===e?"null":e._klass?e.$inspect():e.toString()})}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass;return e.add_stubs(["$attr_reader","$attr_writer","$=~","$raise","$const_missing","$to_str","$to_proc","$append_features","$included","$name","$new","$to_s"]),function(o,i){function t(){}var l,u,s,p,r=t=d(o,i,"Module",t),y=r._proto,a=r._scope;return e.defs(r,"$new",l=function(){function o(){}var n=l._p,d=n||f;l._p=null;var i=Opal.boot(Opal.Module,o);if(i._name=f,i._klass=Opal.Module,i.__dep__=[],i.__mod__=!0,i._proto={},e.create_scope(Opal.Module._scope,i),d!==f){var t=d._s;d._s=null,d.call(i),d._s=t}return i}),y["$==="]=function(o){var n,d=this;return(n=null==o)===f||n._isBoolean&&1!=n?e.is_a(o,d):!1},y["$<"]=function(e){for(var o=this,f=o;f;){if(f===e)return!0;f=f.__parent}return!1},y.$alias_method=function(o,f){var n=this;return n._proto["$"+o]=n._proto["$"+f],n._methods&&e.donate(n,["$"+o]),n},y.$alias_native=function(e,o){var f=this;return null==o&&(o=e),f._proto["$"+e]=f._proto[o]},y.$ancestors=function(){for(var e=this,o=e,f=[];o;)f.push(o),f=f.concat(o.__inc__),o=o._super;return f},y.$append_features=function(o){for(var f=this,n=f,d=o.__inc__,i=0,t=d.length;t>i;i++)if(d[i]===n)return;d.push(n),n.__dep__.push(o);var l={name:n._name,_proto:n._proto,__parent:o.__parent,__iclass:!0};o.__parent=l;for(var u=n._proto,s=o._proto,p=n._methods,i=0,t=p.length;t>i;i++){var r=p[i];s.hasOwnProperty(r)&&!s[r]._donated||(s[r]=u[r],s[r]._donated=!0)}return o.__dep__&&e.donate(o,p.slice(),!0),e.donate_constants(n,o),f},y.$attr_accessor=function(e){var o,f,d=this;return e=n.call(arguments,0),(o=d).$attr_reader.apply(o,[].concat(e)),(f=d).$attr_writer.apply(f,[].concat(e))},y.$attr_reader=function(o){var d=this;o=n.call(arguments,0);for(var i=d._proto,t=d,l=0,u=o.length;u>l;l++)!function(o){i[o]=f;var n=function(){return this[o]};t._isSingleton?i.constructor.prototype["$"+o]=n:(i["$"+o]=n,e.donate(d,["$"+o]))}(o[l]);return f},y.$attr_writer=function(o){var d=this;o=n.call(arguments,0);for(var i=d._proto,t=d,l=0,u=o.length;u>l;l++)!function(o){i[o]=f;var n=function(e){return this[o]=e};t._isSingleton?i.constructor.prototype["$"+o+"="]=n:(i["$"+o+"="]=n,e.donate(d,["$"+o+"="]))}(o[l]);return f},e.defn(r,"$attr",y.$attr_accessor),y.$constants=function(){var e=this;return e._scope.constants},y["$const_defined?"]=function(e,o){var n,d=this;if(null==o&&(o=!0),((n=e["$=~"](/^[A-Z]\w*$/))===f||n._isBoolean&&1!=n)&&d.$raise(a.NameError,"wrong constant name "+e),scopes=[d._scope],o||d===Opal.Object)for(var i=d._super;i!==Opal.BasicObject;)scopes.push(i._scope),i=i._super;for(var t=0,l=scopes.length;l>t;t++)if(scopes[t].hasOwnProperty(e))return!0;return!1},y.$const_get=function(e,o){var n,d=this;null==o&&(o=!0),((n=e["$=~"](/^[A-Z]\w*$/))===f||n._isBoolean&&1!=n)&&d.$raise(a.NameError,"wrong constant name "+e);var i=[d._scope];if(o||d==Opal.Object)for(var t=d._super;t!==Opal.BasicObject;)i.push(t._scope),t=t._super;for(var l=0,u=i.length;u>l;l++)if(i[l].hasOwnProperty(e))return i[l][e];return d.$const_missing(e)},y.$const_missing=function(e){var o=this,n=f;return n=o._name,o.$raise(a.NameError,"uninitialized constant "+n+"::"+e)},y.$const_set=function(o,n){var d,i=this;((d=o["$=~"](/^[A-Z]\w*$/))===f||d._isBoolean&&1!=d)&&i.$raise(a.NameError,"wrong constant name "+o);try{o=o.$to_str()}catch(t){i.$raise(a.TypeError,"conversion with #to_str failed")}return e.casgn(i,o,n),n},y.$define_method=u=function(o,n){var d=this,i=u._p,t=i||f;if(u._p=null,n&&(t=n.$to_proc()),t===f)throw new Error("no block given");var l="$"+o;return t._jsid=o,t._s=null,t._def=t,d._proto[l]=t,e.donate(d,[l]),o},y.$remove_method=function(e){var o=this,f="$"+e;o._proto[f];return delete o._proto[f],o},y.$include=function(e){var o=this;e=n.call(arguments,0);for(var f=e.length-1;f>=0;f--){var d=e[f];d!==o&&(d.$append_features(o),d.$included(o))}return o},y["$include?"]=function(e){for(var o=this,f=o;f;f=f.parent)for(var n=0;n!=f.__inc__.length;n++){var d=f.__inc__[n];if(e===d)return!0}return!1},y.$instance_method=function(e){var o=this,f=o._proto["$"+e];return(!f||f.rb_stub)&&o.$raise(a.NameError,"undefined method `"+e+"' for class `"+o.$name()+"'"),a.UnboundMethod.$new(o,f,e)},y.$instance_methods=function(e){var o=this;null==e&&(e=!1);var f=[],n=o._proto;for(var d in o._proto)(e||n.hasOwnProperty(d))&&(e||!n[d]._donated)&&"$"===d.charAt(0)&&f.push(d.substr(1));return f},y.$included=function(e){return f},y.$extended=function(e){return f},y.$module_eval=s=function(){var e=this,o=s._p,n=o||f;s._p=null,n!==!1&&n!==f||e.$raise(a.ArgumentError,"no block given");var d,i=n._s;return n._s=null,d=n.call(e),n._s=i,d},e.defn(r,"$class_eval",y.$module_eval),y.$module_exec=p=function(){var e=this,o=p._p,d=o||f;if(p._p=null,d===f)throw new Error("no block given");var i,t=d._s;return d._s=null,i=d.apply(e,n.call(arguments)),d._s=t,i},e.defn(r,"$class_exec",y.$module_exec),y["$method_defined?"]=function(e){var o=this,f=o._proto["$"+e];return!!f&&!f.rb_stub},y.$module_function=function(e){var o=this;e=n.call(arguments,0);for(var f=0,d=e.length;d>f;f++){var i=e[f],t=o._proto["$"+i];o.constructor.prototype["$"+i]=t}return o},y.$name=function(){var o=this;if(o._full_name)return o._full_name;for(var n=[],d=o;d;){if(d._name===f)return 0===n.length?f:n.join("::");if(n.unshift(d._name),d=d._base_module,d===e.Object)break}return 0===n.length?f:o._full_name=n.join("::")},y.$public=function(){return f},y.$private_class_method=function(e){var o=this;return o["$"+e]||f},e.defn(r,"$private",y.$public),e.defn(r,"$protected",y.$public),y["$private_method_defined?"]=function(e){return!1},y.$private_constant=function(){return f},e.defn(r,"$protected_method_defined?",y["$private_method_defined?"]),e.defn(r,"$public_instance_methods",y.$instance_methods),e.defn(r,"$public_method_defined?",y["$method_defined?"]),y.$remove_class_variable=function(){return f},y.$remove_const=function(e){var o=this,f=o._scope[e];return delete o._scope[e],f},y.$to_s=function(){var e=this;return e.$name().$to_s()},y.$undef_method=function(o){var f=this;return e.add_stub_for(f._proto,"$"+o),f},f&&"undef_method"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass;return e.add_stubs(["$raise","$allocate"]),function(o,i){function t(){}var l,u,s=t=d(o,i,"Class",t),p=s._proto,r=s._scope;return e.defs(s,"$new",l=function(o){function n(){}var d=this,i=l._p,t=i||f;null==o&&(o=r.Object),l._p=null,(!o._isClass||o.__mod__)&&d.$raise(r.TypeError,"superclass must be a Class");var u=Opal.boot(o,n);if(u._name=f,u.__parent=o,e.create_scope(o._scope,u),o.$inherited(u),t!==f){var s=t._s;t._s=null,t.call(u),t._s=s}return u}),p.$allocate=function(){var e=this,o=new e._alloc;return o._id=Opal.uid(),o},p.$inherited=function(e){return f},p.$new=u=function(e){var o=this,d=u._p,i=d||f;e=n.call(arguments,0),u._p=null;var t=o.$allocate();return t.$initialize._p=i,t.$initialize.apply(t,e),t},p.$superclass=function(){var e=this;return e._super||f},f&&"superclass"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass;return e.add_stubs(["$raise"]),function(o,i){function t(){}var l,u,s,p,r=t=d(o,i,"BasicObject",t),y=r._proto,a=r._scope;return e.defn(r,"$initialize",function(){return f}),e.defn(r,"$==",function(e){var o=this;return o===e}),e.defn(r,"$__id__",function(){var e=this;return e._id||(e._id=Opal.uid())}),e.defn(r,"$__send__",l=function(e,o){var d=this,i=l._p,t=i||f;o=n.call(arguments,1),l._p=null;var u=d["$"+e];return u?(t!==f&&(u._p=t),u.apply(d,o)):(t!==f&&(d.$method_missing._p=t),d.$method_missing.apply(d,[e].concat(o)))}),e.defn(r,"$!",function(){return!1}),e.defn(r,"$eql?",y["$=="]),e.defn(r,"$equal?",y["$=="]),e.defn(r,"$instance_eval",u=function(){var e=this,o=u._p,n=o||f;u._p=null,n!==!1&&n!==f||a.Kernel.$raise(a.ArgumentError,"no block given");var d,i=n._s;return n._s=null,d=n.call(e,e),n._s=i,d}),e.defn(r,"$instance_exec",s=function(e){var o=this,d=s._p,i=d||f;e=n.call(arguments,0),s._p=null,i!==!1&&i!==f||a.Kernel.$raise(a.ArgumentError,"no block given");var t,l=i._s;return i._s=null,t=i.apply(o,e),i._s=l,t}),e.defn(r,"$method_missing",p=function(e,o){p._p;return o=n.call(arguments,1),p._p=null,a.Kernel.$raise(a.NoMethodError,"undefined method `"+e+"' for BasicObject instance")}),f&&"method_missing"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module,t=e.gvars;return e.add_stubs(["$raise","$inspect","$==","$name","$class","$new","$respond_to?","$to_ary","$to_a","$allocate","$copy_instance_variables","$initialize_clone","$initialize_copy","$singleton_class","$initialize_dup","$for","$to_proc","$append_features","$extended","$to_i","$to_s","$to_f","$*","$===","$empty?","$ArgumentError","$nan?","$infinite?","$to_int","$>","$length","$print","$format","$puts","$each","$<=","$[]","$nil?","$is_a?","$rand","$coerce_to","$respond_to_missing?"]),function(o){var l,u,s,p,r,y,a,c,b=i(o,"Kernel"),w=b._proto,g=b._scope;w.$method_missing=l=function(e,o){var f=this;l._p;return o=d.call(arguments,1),l._p=null,f.$raise(g.NoMethodError,"undefined method `"+e+"' for "+f.$inspect())},w["$=~"]=function(e){return!1},w["$==="]=function(e){var o=this;return o["$=="](e)},w["$<=>"]=function(e){var o=this;return o["$=="](e)?0:f},w.$method=function(e){var o=this,f=o["$"+e];return(!f||f.rb_stub)&&o.$raise(g.NameError,"undefined method `"+e+"' for class `"+o.$class().$name()+"'"),g.Method.$new(o,f,e)},w.$methods=function(o){var n=this;null==o&&(o=!0);var d=[];for(var i in n)if("$"==i[0]&&"function"==typeof n[i]){if((0==o||o===f)&&!e.hasOwnProperty.call(n,i))continue;void 0===n[i].rb_stub&&d.push(i.substr(1))}return d},w.$Array=u=function(e,o){u._p;return o=d.call(arguments,1),u._p=null,null==e||e===f?[]:e["$respond_to?"]("to_ary")?e.$to_ary():e["$respond_to?"]("to_a")?e.$to_a():[e]},w.$caller=function(){return[]},w.$class=function(){var e=this;return e._klass},w.$copy_instance_variables=function(e){var o=this;for(var f in e)"$"!==f.charAt(0)&&"_id"!==f&&"_klass"!==f&&(o[f]=e[f])},w.$clone=function(){var e=this,o=f;return o=e.$class().$allocate(),o.$copy_instance_variables(e),o.$initialize_clone(e),o},w.$initialize_clone=function(e){var o=this;return o.$initialize_copy(e)},w.$define_singleton_method=s=function(e){var o=this,n=s._p,d=n||f;s._p=null,d!==!1&&d!==f||o.$raise(g.ArgumentError,"tried to create Proc object without a block");var i="$"+e;return d._jsid=e,d._s=null,d._def=d,o.$singleton_class()._proto[i]=d,o},w.$dup=function(){var e=this,o=f;return o=e.$class().$allocate(),o.$copy_instance_variables(e),o.$initialize_dup(e),o},w.$initialize_dup=function(e){var o=this;return o.$initialize_copy(e)},w.$enum_for=p=function(e,o){var n,i,t=this,l=p._p,u=l||f;return o=d.call(arguments,1),null==e&&(e="each"),p._p=null,(n=(i=g.Enumerator).$for,n._p=u.$to_proc(),n).apply(i,[t,e].concat(o))},e.defn(b,"$to_enum",w.$enum_for),w["$equal?"]=function(e){var o=this;return o===e},w.$extend=function(e){var o=this;e=d.call(arguments,0);for(var f=o.$singleton_class(),n=e.length-1;n>=0;n--){var i=e[n];i.$append_features(f),i.$extended(o)}return o},w.$format=function(e,o){o=d.call(arguments,1);var f=0;return e.replace(/%(\d+\$)?([-+ 0]*)(\d*|\*(\d+\$)?)(?:\.(\d*|\*(\d+\$)?))?([cspdiubBoxXfgeEG])|(%%)/g,function(e,n,d,i,t,l,u,s,p){if(p)return"%";var r,y,a,c=-1!="diubBoxX".indexOf(s),b=-1!="eEfgG".indexOf(s),w="";if(void 0===i)r=void 0;else if("*"==i.charAt(0)){var g=f++;t&&(g=parseInt(t,10)-1),r=o[g].$to_i()}else r=parseInt(i,10);if(l)if("*"==l.charAt(0)){var m=f++;u&&(m=parseInt(u,10)-1),y=o[m].$to_i()}else y=parseInt(l,10);else y=b?6:void 0;switch(n&&(f=parseInt(n,10)-1),s){case"c":a=o[f],e=a._isString?a.charAt(0):String.fromCharCode(a.$to_i());break;case"s":e=o[f].$to_s(),void 0!==y&&(e=e.substr(0,y));break;case"p":e=o[f].$inspect(),void 0!==y&&(e=e.substr(0,y));break;case"d":case"i":case"u":e=o[f].$to_i().toString();break;case"b":case"B":e=o[f].$to_i().toString(2);break;case"o":e=o[f].$to_i().toString(8);break;case"x":case"X":e=o[f].$to_i().toString(16);break;case"e":case"E":e=o[f].$to_f().toExponential(y);break;case"f":e=o[f].$to_f().toFixed(y);break;case"g":case"G":e=o[f].$to_f().toPrecision(y)}f++,(c||b)&&("-"==e.charAt(0)?(w="-",
  e=e.substr(1)):-1!=d.indexOf("+")?w="+":-1!=d.indexOf(" ")&&(w=" ")),c&&void 0!==y&&e.length<y&&(e="0"["$*"](y-e.length)+e);var x=w.length+e.length;if(void 0!==r&&r>x)if(-1!=d.indexOf("-"))e+=" "["$*"](r-x);else{-1!=d.indexOf("0")?e="0"["$*"](r-x)+e:w=" "["$*"](r-x)+w}var j=w+e;return-1!="XEG".indexOf(s)&&(j=j.toUpperCase()),j})},w.$hash=function(){var e=this;return e._id},w.$initialize_copy=function(e){return f},w.$inspect=function(){var e=this;return e.$to_s()},w["$instance_of?"]=function(e){var o=this;return o._klass===e},w["$instance_variable_defined?"]=function(o){var f=this;return e.hasOwnProperty.call(f,o.substr(1))},w.$instance_variable_get=function(e){var o=this,n=o[e.substr(1)];return null==n?f:n},w.$instance_variable_set=function(e,o){var f=this;return f[e.substr(1)]=o},w.$instance_variables=function(){var e=this,o=[];for(var f in e)"$"!==f.charAt(0)&&"_klass"!==f&&"_id"!==f&&o.push("@"+f);return o},w.$Integer=function(e,o){var n,d,i=this,t=f;return null==o&&(o=f),(n=g.String["$==="](e))===f||n._isBoolean&&1!=n?(o!==!1&&o!==f&&i.$raise(i.$ArgumentError("base is only valid for String values")),function(){return t=e,g.Integer["$==="](t)?e:g.Float["$==="](t)?((n=(d=e["$nan?"]())!==!1&&d!==f?d:e["$infinite?"]())===f||n._isBoolean&&1!=n||i.$raise(g.FloatDomainError,"unable to coerce "+e+" to Integer"),e.$to_int()):g.NilClass["$==="](t)?i.$raise(g.TypeError,"can't convert nil into Integer"):(n=e["$respond_to?"]("to_int"))===f||n._isBoolean&&1!=n?(n=e["$respond_to?"]("to_i"))===f||n._isBoolean&&1!=n?i.$raise(g.TypeError,"can't convert "+e.$class()+" into Integer"):e.$to_i():e.$to_int()}()):((n=e["$empty?"]())===f||n._isBoolean&&1!=n||i.$raise(g.ArgumentError,"invalid value for Integer: (empty string)"),parseInt(e,(n=o)!==!1&&n!==f?n:void 0))},w.$Float=function(e){var o,n=this;return(o=g.String["$==="](e))===f||o._isBoolean&&1!=o?(o=e["$respond_to?"]("to_f"))===f||o._isBoolean&&1!=o?n.$raise(g.TypeError,"can't convert "+e.$class()+" into Float"):e.$to_f():parseFloat(e)},w["$is_a?"]=function(o){var f=this;return e.is_a(f,o)},e.defn(b,"$kind_of?",w["$is_a?"]),w.$lambda=r=function(){var e=r._p,o=e||f;return r._p=null,o.is_lambda=!0,o},w.$loop=y=function(){var e=this,o=y._p,d=o||f;for(y._p=null;;)if(d()===n)return n.$v;return e},w["$nil?"]=function(){return!1},e.defn(b,"$object_id",w.$__id__),w.$printf=function(e){var o,n=this;return e=d.call(arguments,0),e.$length()["$>"](0)&&n.$print((o=n).$format.apply(o,[].concat(e))),f},w.$private_methods=function(){return[]},w.$proc=a=function(){var e=this,o=a._p,n=o||f;return a._p=null,n!==!1&&n!==f||e.$raise(g.ArgumentError,"tried to create Proc object without a block"),n.is_lambda=!1,n},w.$puts=function(e){var o;return null==t.stdout&&(t.stdout=f),e=d.call(arguments,0),(o=t.stdout).$puts.apply(o,[].concat(e))},w.$p=function(e){var o,n,i,l=this;return e=d.call(arguments,0),(o=(n=e).$each,o._p=(i=function(e){i._s||this;return null==t.stdout&&(t.stdout=f),null==e&&(e=f),t.stdout.$puts(e.$inspect())},i._s=l,i),o).call(n),e.$length()["$<="](1)?e["$[]"](0):e},w.$print=function(e){var o;return null==t.stdout&&(t.stdout=f),e=d.call(arguments,0),(o=t.stdout).$print.apply(o,[].concat(e))},w.$warn=function(e){var o,n;return null==t.VERBOSE&&(t.VERBOSE=f),null==t.stderr&&(t.stderr=f),e=d.call(arguments,0),((o=(n=t.VERBOSE["$nil?"]())!==!1&&n!==f?n:e["$empty?"]())===f||o._isBoolean&&1!=o)&&(o=t.stderr).$puts.apply(o,[].concat(e)),f},w.$raise=function(e,o){throw null==t["!"]&&(t["!"]=f),null==e&&t["!"]?e=t["!"]:e._isString?e=g.RuntimeError.$new(e):e["$is_a?"](g.Exception)||(e=e.$new(o)),t["!"]=e,e},e.defn(b,"$fail",w.$raise),w.$rand=function(e){var o=this;if(void 0===e)return Math.random();if(e._isRange){var f=e.$to_a();return f[o.$rand(f.length)]}return Math.floor(Math.random()*Math.abs(g.Opal.$coerce_to(e,g.Integer,"to_int")))},e.defn(b,"$srand",w.$rand),w["$respond_to?"]=function(e,o){var n,d=this;if(null==o&&(o=!1),(n=d["$respond_to_missing?"](e))!==f&&(!n._isBoolean||1==n))return!0;var i=d["$"+e];return"function"!=typeof i||i.rb_stub?!1:!0},e.defn(b,"$send",w.$__send__),e.defn(b,"$public_send",w.$__send__),w.$singleton_class=function(){var o=this;if(o._isClass){if(o.__meta__)return o.__meta__;var f=new e.Class._alloc;return f._klass=e.Class,o.__meta__=f,f._proto=o.constructor.prototype,f._isSingleton=!0,f.__inc__=[],f._methods=[],f._scope=o._scope,f}if(o._isClass)return o._klass;if(o.__meta__)return o.__meta__;var n=o._klass,d="#<Class:#<"+n._name+":"+n._id+">>",i=function(){},f=Opal.boot(n,i);return f._name=d,f._proto=o,o.__meta__=f,f._klass=n._klass,f._scope=n._scope,f.__parent=n,f},e.defn(b,"$sprintf",w.$format),w.$String=function(e){return String(e)},w.$tap=c=function(){var o=this,d=c._p,i=d||f;return c._p=null,e.$yield1(i,o)===n?n.$v:o},w.$to_proc=function(){var e=this;return e},w.$to_s=function(){var e=this;return"#<"+e.$class().$name()+":"+e._id+">"},w.$freeze=function(){var e=this;return e.___frozen___=!0,e},w["$frozen?"]=function(){var e,o=this;return null==o.___frozen___&&(o.___frozen___=f),(e=o.___frozen___)!==!1&&e!==f?e:!1},w["$respond_to_missing?"]=function(e){return!1},e.donate(b,["$method_missing","$=~","$===","$<=>","$method","$methods","$Array","$caller","$class","$copy_instance_variables","$clone","$initialize_clone","$define_singleton_method","$dup","$initialize_dup","$enum_for","$to_enum","$equal?","$extend","$format","$hash","$initialize_copy","$inspect","$instance_of?","$instance_variable_defined?","$instance_variable_get","$instance_variable_set","$instance_variables","$Integer","$Float","$is_a?","$kind_of?","$lambda","$loop","$nil?","$object_id","$printf","$private_methods","$proc","$puts","$p","$print","$warn","$raise","$fail","$rand","$srand","$respond_to?","$send","$public_send","$singleton_class","$sprintf","$String","$tap","$to_proc","$to_s","$freeze","$frozen?","$respond_to_missing?"])}(o)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass);return e.add_stubs(["$raise"]),function(o,f){function i(){}var t=i=d(o,f,"NilClass",i),l=t._proto,u=t._scope;return l["$!"]=function(){return!0},l["$&"]=function(e){return!1},l["$|"]=function(e){return e!==!1&&e!==n},l["$^"]=function(e){return e!==!1&&e!==n},l["$=="]=function(e){return e===n},l.$dup=function(){var e=this;return e.$raise(u.TypeError)},l.$inspect=function(){return"nil"},l["$nil?"]=function(){return!0},l.$singleton_class=function(){return u.NilClass},l.$to_a=function(){return[]},l.$to_h=function(){return e.hash()},l.$to_i=function(){return 0},e.defn(t,"$to_f",l.$to_i),l.$to_s=function(){return""},l.$object_id=function(){return u.NilClass._id||(u.NilClass._id=e.uid())},e.defn(t,"$hash",l.$object_id)}(o,null),e.cdecl(f,"NIL",n)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass);return e.add_stubs(["$undef_method"]),function(o,f){function i(){}var t=i=d(o,f,"Boolean",i),l=t._proto;t._scope;return l._isBoolean=!0,function(e){e._scope,e._proto;return e.$undef_method("new")}(t.$singleton_class()),l["$!"]=function(){var e=this;return 1!=e},l["$&"]=function(e){var o=this;return 1==o?e!==!1&&e!==n:!1},l["$|"]=function(e){var o=this;return 1==o?!0:e!==!1&&e!==n},l["$^"]=function(e){var o=this;return 1==o?e===!1||e===n:e!==!1&&e!==n},l["$=="]=function(e){var o=this;return 1==o===e.valueOf()},e.defn(t,"$equal?",l["$=="]),e.defn(t,"$singleton_class",l.$class),l.$to_s=function(){var e=this;return 1==e?"true":"false"},n&&"to_s"}(o,null),e.cdecl(f,"TrueClass",f.Boolean),e.cdecl(f,"FalseClass",f.Boolean),e.cdecl(f,"TRUE",!0),e.cdecl(f,"FALSE",!1)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass),i=e.module;return e.add_stubs(["$attr_reader","$name","$class"]),function(o,f){function i(){}var t=i=d(o,f,"Exception",i),l=t._proto;t._scope;return l.message=n,t.$attr_reader("message"),e.defs(t,"$new",function(e){var o=this;null==e&&(e="");var f=new Error(e);return f._klass=o,f.name=o._name,f}),l.$backtrace=function(){var e=this,o=e.stack;return"string"==typeof o?o.split("\n").slice(0,15):o?o.slice(0,15):[]},l.$inspect=function(){var e=this;return"#<"+e.$class().$name()+": '"+e.message+"'>"},e.defn(t,"$to_s",l.$message)}(o,null),function(e,o){function f(){}var i=f=d(e,o,"ScriptError",f);i._proto,i._scope;return n}(o,f.Exception),function(e,o){function f(){}var i=f=d(e,o,"SyntaxError",f);i._proto,i._scope;return n}(o,f.ScriptError),function(e,o){function f(){}var i=f=d(e,o,"LoadError",f);i._proto,i._scope;return n}(o,f.ScriptError),function(e,o){function f(){}var i=f=d(e,o,"NotImplementedError",f);i._proto,i._scope;return n}(o,f.ScriptError),function(e,o){function f(){}var i=f=d(e,o,"SystemExit",f);i._proto,i._scope;return n}(o,f.Exception),function(e,o){function f(){}var i=f=d(e,o,"StandardError",f);i._proto,i._scope;return n}(o,f.Exception),function(e,o){function f(){}var i=f=d(e,o,"NameError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"NoMethodError",f);i._proto,i._scope;return n}(o,f.NameError),function(e,o){function f(){}var i=f=d(e,o,"RuntimeError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"LocalJumpError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"TypeError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"ArgumentError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"IndexError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"StopIteration",f);i._proto,i._scope;return n}(o,f.IndexError),function(e,o){function f(){}var i=f=d(e,o,"KeyError",f);i._proto,i._scope;return n}(o,f.IndexError),function(e,o){function f(){}var i=f=d(e,o,"RangeError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"FloatDomainError",f);i._proto,i._scope;return n}(o,f.RangeError),function(e,o){function f(){}var i=f=d(e,o,"IOError",f);i._proto,i._scope;return n}(o,f.StandardError),function(e,o){function f(){}var i=f=d(e,o,"SystemCallError",f);i._proto,i._scope;return n}(o,f.StandardError),function(o){var f=i(o,"Errno"),t=(f._proto,f._scope);!function(o,f){function i(){}var t,l=i=d(o,f,"EINVAL",i);l._proto,l._scope;return e.defs(l,"$new",t=function(){var o=this;t._p;return t._p=null,e.find_super_dispatcher(o,"new",t,null,i).apply(o,["Invalid argument"])}),n&&"new"}(f,t.SystemCallError)}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass,i=e.gvars;return e.add_stubs(["$respond_to?","$to_str","$to_s","$coerce_to","$new","$raise","$class","$call"]),function(o,t){function l(){}var u,s=l=d(o,t,"Regexp",l),p=s._proto,r=s._scope;return p._isRegexp=!0,function(e){e._scope,e._proto;return e._proto.$escape=function(e){return e.replace(/([-[\]\/{}()*+?.^$\\| ])/g,"\\$1").replace(/[\n]/g,"\\n").replace(/[\r]/g,"\\r").replace(/[\f]/g,"\\f").replace(/[\t]/g,"\\t")},e._proto.$quote=e._proto.$escape,e._proto.$union=function(e){return e=n.call(arguments,0),new RegExp(e.join(""))},e._proto.$new=function(e,o){return new RegExp(e,o)},f&&"new"}(s.$singleton_class()),p["$=="]=function(e){var o=this;return e.constructor==RegExp&&o.toString()===e.toString()},p["$==="]=function(e){var o=this;return!e._isString&&e["$respond_to?"]("to_str")&&(e=e.$to_str()),e._isString?o.test(e):!1},p["$=~"]=function(e){var o,n=this;if((o=e===f)!==f&&(!o._isBoolean||1==o))return i["~"]=i["`"]=i["'"]=f,f;e=r.Opal.$coerce_to(e,r.String,"to_str").$to_s();var d=n;d.global?d.lastIndex=0:d=new RegExp(d.source,"g"+(d.multiline?"m":"")+(d.ignoreCase?"i":""));var t=d.exec(e);return t?i["~"]=r.MatchData.$new(d,t):i["~"]=i["`"]=i["'"]=f,t?t.index:f},e.defn(s,"$eql?",p["$=="]),p.$inspect=function(){var e=this;return e.toString()},p.$match=u=function(e,o){var n,d=this,t=u._p,l=t||f;if(u._p=null,(n=e===f)!==f&&(!n._isBoolean||1==n))return i["~"]=i["`"]=i["'"]=f,f;(n=null==e._isString)===f||n._isBoolean&&1!=n||(((n=e["$respond_to?"]("to_str"))===f||n._isBoolean&&1!=n)&&d.$raise(r.TypeError,"no implicit conversion of "+e.$class()+" into String"),e=e.$to_str());var s=d;s.global?s.lastIndex=0:s=new RegExp(s.source,"g"+(s.multiline?"m":"")+(s.ignoreCase?"i":""));var p=s.exec(e);return p?(p=i["~"]=r.MatchData.$new(s,p),l===f?p:l.$call(p)):i["~"]=i["`"]=i["'"]=f},p.$source=function(){var e=this;return e.source},e.defn(s,"$to_s",p.$source)}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice,e.module);return e.add_stubs(["$===","$>","$<","$equal?","$<=>","$==","$normalize","$raise","$class","$>=","$<="]),function(o){var d=n(o,"Comparable"),i=d._proto,t=d._scope;e.defs(d,"$normalize",function(e){var o;return(o=t.Integer["$==="](e))===f||o._isBoolean&&1!=o?e["$>"](0)?1:e["$<"](0)?-1:0:e}),i["$=="]=function(o){var n,d=this,i=f;try{return(n=d["$equal?"](o))===f||n._isBoolean&&1!=n?(n=i=d["$<=>"](o))===f||n._isBoolean&&1!=n?!1:t.Comparable.$normalize(i)["$=="](0):!0}catch(l){if(e.$rescue(l,[t.StandardError]))return!1;throw l}},i["$>"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$>"](0)},i["$>="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$>="](0)},i["$<"]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$<"](0)},i["$<="]=function(e){var o,n=this,d=f;return((o=d=n["$<=>"](e))===f||o._isBoolean&&1!=o)&&n.$raise(t.ArgumentError,"comparison of "+n.$class()+" with "+e.$class()+" failed"),t.Comparable.$normalize(d)["$<="](0)},i["$between?"]=function(e,o){var f=this;return f["$<"](e)?!1:f["$>"](o)?!1:!0},e.donate(d,["$==","$>","$>=","$<","$<=","$between?"])}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.module;return e.add_stubs(["$raise","$enum_for","$flatten","$map","$==","$destructure","$nil?","$coerce_to!","$coerce_to","$===","$new","$<<","$[]","$[]=","$inspect","$__send__","$yield","$enumerator_size","$respond_to?","$size","$private","$compare","$<=>","$dup","$sort","$call","$first","$zip","$to_a"]),function(o){var t,l,u,s,p,r,y,a,c,b,w,g,m,x,j,k,v,P,h,q,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O=i(o,"Enumerable"),Q=O._proto,R=O._scope;Q["$all?"]=t=function(){var o,d=this,i=t._p,l=i||f;t._p=null;var u=!0;return l!==f?d.$each._p=function(){var d=e.$yieldX(l,arguments);return d===n?(u=n.$v,n):(o=d)===f||o._isBoolean&&0==o?(u=!1,n):void 0}:d.$each._p=function(e){return 1==arguments.length&&((o=e)===f||o._isBoolean&&0==o)?(u=!1,n):void 0},d.$each(),u},Q["$any?"]=l=function(){var o,d=this,i=l._p,t=i||f;l._p=null;var u=!1;return t!==f?d.$each._p=function(){var d=e.$yieldX(t,arguments);return d===n?(u=n.$v,n):(o=d)===f||o._isBoolean&&1!=o?void 0:(u=!0,n)}:d.$each._p=function(e){return 1==arguments.length&&((o=e)===f||o._isBoolean&&1!=o)?void 0:(u=!0,n)},d.$each(),u},Q.$chunk=u=function(e){var o=this;u._p;return u._p=null,o.$raise(R.NotImplementedError)},Q.$collect=s=function(){var o=this,d=s._p,i=d||f;if(s._p=null,i===f)return o.$enum_for("collect");var t=[];return o.$each._p=function(){var o=e.$yieldX(i,arguments);return o===n?(t=n.$v,n):void t.push(o)},o.$each(),t},Q.$collect_concat=p=function(){var o,d,i,t=this,l=p._p,u=l||f;return p._p=null,u===f?t.$enum_for("collect_concat"):(o=(d=t).$map,o._p=(i=function(o){var d;i._s||this;return null==o&&(o=f),d=e.$yield1(u,o),d===n?d:d},i._s=t,i),o).call(d).$flatten(1)},Q.$count=r=function(o){var d,i=this,t=r._p,l=t||f;r._p=null;var u=0;return null!=o?l=function(){return R.Opal.$destructure(arguments)["$=="](o)}:l===f&&(l=function(){return!0}),i.$each._p=function(){var o=e.$yieldX(l,arguments);return o===n?(u=n.$v,n):void((d=o)===f||d._isBoolean&&1!=d||u++)},i.$each(),u},Q.$cycle=y=function(o){var d,i=this,t=y._p,l=t||f;if(null==o&&(o=f),y._p=null,l===!1||l===f)return i.$enum_for("cycle",o);if((d=o["$nil?"]())===f||d._isBoolean&&1!=d){if(o=R.Opal["$coerce_to!"](o,R.Integer,"to_int"),(d=0>=o)!==f&&(!d._isBoolean||1==d))return f}else;var u,s=[];if(i.$each._p=function(){var o=R.Opal.$destructure(arguments),f=e.$yield1(l,o);return f===n?(u=n.$v,n):void s.push(o)},i.$each(),void 0!==u)return u;if(0===s.length)return f;if((d=o["$nil?"]())===f||d._isBoolean&&1!=d)for(;o>1;){for(var p=0,r=s.length;r>p;p++){var a=e.$yield1(l,s[p]);if(a===n)return n.$v}o--}else for(;;)for(var p=0,r=s.length;r>p;p++){var a=e.$yield1(l,s[p]);if(a===n)return n.$v}},Q.$detect=a=function(o){var d,i=this,t=a._p,l=t||f;if(a._p=null,l===f)return i.$enum_for("detect",o);var u=void 0;return i.$each._p=function(){var o=R.Opal.$destructure(arguments),i=e.$yield1(l,o);return i===n?(u=n.$v,n):(d=i)===f||d._isBoolean&&1!=d?void 0:(u=o,n)},i.$each(),void 0===u&&void 0!==o&&(u="function"==typeof o?o():o),void 0===u?f:u},Q.$drop=function(e){var o,n=this;e=R.Opal.$coerce_to(e,R.Integer,"to_int"),(o=0>e)===f||o._isBoolean&&1!=o||n.$raise(R.ArgumentError,"attempt to drop negative size");var d=[],i=0;return n.$each._p=function(){i>=e&&d.push(R.Opal.$destructure(arguments)),i++},n.$each(),d},Q.$drop_while=c=function(){var o,d=this,i=c._p,t=i||f;if(c._p=null,t===f)return d.$enum_for("drop_while");var l=[],u=!0;return d.$each._p=function(){var d=R.Opal.$destructure(arguments);if(u){var i=e.$yield1(t,d);if(i===n)return l=n.$v,n;((o=i)===f||o._isBoolean&&0==o)&&(u=!1,l.push(d))}else l.push(d)},d.$each(),l},Q.$each_cons=b=function(e){var o=this;b._p;return b._p=null,o.$raise(R.NotImplementedError)},Q.$each_entry=w=function(){var e=this;w._p;return w._p=null,e.$raise(R.NotImplementedError)},Q.$each_slice=g=function(o){var d,i=this,t=g._p,l=t||f;if(g._p=null,o=R.Opal.$coerce_to(o,R.Integer,"to_int"),(d=0>=o)===f||d._isBoolean&&1!=d||i.$raise(R.ArgumentError,"invalid slice size"),l===f)return i.$enum_for("each_slice",o);var u,s=[];return i.$each._p=function(){var f=R.Opal.$destructure(arguments);if(s.push(f),s.length===o){if(e.$yield1(l,s)===n)return u=n.$v,n;s=[]}},i.$each(),void 0!==u?u:s.length>0&&e.$yield1(l,s)===n?n.$v:f},Q.$each_with_index=m=function(e){var o,i=this,t=m._p,l=t||f;if(e=d.call(arguments,0),m._p=null,l===f)return(o=i).$enum_for.apply(o,["each_with_index"].concat(e));var u,s=0;return i.$each._p=function(){var e=R.Opal.$destructure(arguments),o=l(e,s);return o===n?(u=n.$v,n):void s++},i.$each.apply(i,e),void 0!==u?u:i},Q.$each_with_object=x=function(e){var o=this,d=x._p,i=d||f;if(x._p=null,i===f)return o.$enum_for("each_with_object",e);var t;return o.$each._p=function(){var o=R.Opal.$destructure(arguments),f=i(o,e);return f===n?(t=n.$v,n):void 0},o.$each(),void 0!==t?t:e},Q.$entries=function(e){var o=this;e=d.call(arguments,0);var f=[];return o.$each._p=function(){f.push(R.Opal.$destructure(arguments))},o.$each.apply(o,e),f},e.defn(O,"$find",Q.$detect),Q.$find_all=j=function(){var o,d=this,i=j._p,t=i||f;if(j._p=null,t===f)return d.$enum_for("find_all");var l=[];return d.$each._p=function(){var d=R.Opal.$destructure(arguments),i=e.$yield1(t,d);return i===n?(l=n.$v,n):void((o=i)===f||o._isBoolean&&1!=o||l.push(d))},d.$each(),l},Q.$find_index=k=function(o){var d,i=this,t=k._p,l=t||f;if(k._p=null,(d=void 0===o&&l===f)!==f&&(!d._isBoolean||1==d))return i.$enum_for("find_index");var u=f,s=0;return null!=o?i.$each._p=function(){var e=R.Opal.$destructure(arguments);return e["$=="](o)?(u=s,n):void(s+=1)}:l!==f&&(i.$each._p=function(){var o=e.$yieldX(l,arguments);return o===n?(u=n.$v,n):(d=o)===f||d._isBoolean&&1!=d?void(s+=1):(u=s,n)}),i.$each(),u},Q.$first=function(e){var o,d=this,i=f;if((o=void 0===e)===f||o._isBoolean&&1!=o){if(i=[],e=R.Opal.$coerce_to(e,R.Integer,"to_int"),(o=0>e)===f||o._isBoolean&&1!=o||d.$raise(R.ArgumentError,"attempt to take negative size"),(o=0==e)!==f&&(!o._isBoolean||1==o))return[];var t=0,e=R.Opal.$coerce_to(e,R.Integer,"to_int");d.$each._p=function(){return i.push(R.Opal.$destructure(arguments)),e<=++t?n:void 0},d.$each()}else i=f,d.$each._p=function(){return i=R.Opal.$destructure(arguments),n},d.$each();return i},e.defn(O,"$flat_map",Q.$collect_concat),Q.$grep=v=function(o){var d,i=this,t=v._p,l=t||f;v._p=null;var u=[];return l!==f?i.$each._p=function(){var i=R.Opal.$destructure(arguments),t=o["$==="](i);if((d=t)!==f&&(!d._isBoolean||1==d)){if(t=e.$yield1(l,i),t===n)return u=n.$v,n;u.push(t)}}:i.$each._p=function(){var e=R.Opal.$destructure(arguments),n=o["$==="](e);(d=n)===f||d._isBoolean&&1!=d||u.push(e)},i.$each(),u},Q.$group_by=P=function(){var o,d,i,t=this,l=P._p,u=l||f,s=f;if(P._p=null,u===f)return t.$enum_for("group_by");s=R.Hash.$new();var p;return t.$each._p=function(){var t=R.Opal.$destructure(arguments),l=e.$yield1(u,t);return l===n?(p=n.$v,n):void(o=l,d=s,(i=d["$[]"](o))!==!1&&i!==f?i:d["$[]="](o,[]))["$<<"](t)},t.$each(),void 0!==p?p:s},Q["$include?"]=function(e){var o=this,f=!1;return o.$each._p=function(){var o=R.Opal.$destructure(arguments);return o["$=="](e)?(f=!0,n):void 0},o.$each(),f},Q.$inject=h=function(o,d){var i=this,t=h._p,l=t||f;h._p=null;var u=o;return l!==f&&void 0===d?i.$each._p=function(){var o=R.Opal.$destructure(arguments);return void 0===u?void(u=o):(o=e.$yieldX(l,[u,o]),o===n?(u=n.$v,n):void(u=o))}:(void 0===d&&(R.Symbol["$==="](o)||i.$raise(R.TypeError,""+o.$inspect()+" is not a Symbol"),d=o,u=void 0),i.$each._p=function(){var e=R.Opal.$destructure(arguments);return void 0===u?void(u=e):void(u=u.$__send__(d,e))}),i.$each(),void 0==u?f:u},Q.$lazy=function(){var e,o,n,i=this;return(e=(o=R.Enumerator._scope.Lazy).$new,e._p=(n=function(e,o){var i;n._s||this;return null==e&&(e=f),o=d.call(arguments,1),(i=e).$yield.apply(i,[].concat(o))},n._s=i,n),e).call(o,i,i.$enumerator_size())},Q.$enumerator_size=function(){var e,o=this;return(e=o["$respond_to?"]("size"))===f||e._isBoolean&&1!=e?f:o.$size()},O.$private("enumerator_size"),e.defn(O,"$map",Q.$collect),Q.$max=q=function(){var e=this,o=q._p,d=o||f;q._p=null;var i;return d!==f?e.$each._p=function(){var o=R.Opal.$destructure(arguments);if(void 0===i)return void(i=o);var t=d(o,i);return t===n?(i=n.$v,n):(t===f&&e.$raise(R.ArgumentError,"comparison failed"),void(t>0&&(i=o)))}:e.$each._p=function(){var e=R.Opal.$destructure(arguments);return void 0===i?void(i=e):void(R.Opal.$compare(e,i)>0&&(i=e))},e.$each(),void 0===i?f:i},Q.$max_by=z=function(){var o=this,d=z._p,i=d||f;if(z._p=null,i===!1||i===f)return o.$enum_for("max_by");var t,l;return o.$each._p=function(){var o=R.Opal.$destructure(arguments),f=e.$yield1(i,o);return void 0===t?(t=o,void(l=f)):f===n?(t=n.$v,n):void(f["$<=>"](l)>0&&(t=o,l=f))},o.$each(),void 0===t?f:t},e.defn(O,"$member?",Q["$include?"]),Q.$min=A=function(){var e=this,o=A._p,d=o||f;A._p=null;var i;return d!==f?e.$each._p=function(){var o=R.Opal.$destructure(arguments);if(void 0===i)return void(i=o);var t=d(o,i);return t===n?(i=n.$v,n):(t===f&&e.$raise(R.ArgumentError,"comparison failed"),void(0>t&&(i=o)))}:e.$each._p=function(){var e=R.Opal.$destructure(arguments);return void 0===i?void(i=e):void(R.Opal.$compare(e,i)<0&&(i=e))},e.$each(),void 0===i?f:i},Q.$min_by=B=function(){var o=this,d=B._p,i=d||f;if(B._p=null,i===!1||i===f)return o.$enum_for("min_by");var t,l;return o.$each._p=function(){var o=R.Opal.$destructure(arguments),f=e.$yield1(i,o);return void 0===t?(t=o,void(l=f)):f===n?(t=n.$v,n):void(f["$<=>"](l)<0&&(t=o,l=f))},o.$each(),void 0===t?f:t},Q.$minmax=C=function(){var e=this;C._p;return C._p=null,e.$raise(R.NotImplementedError)},Q.$minmax_by=D=function(){var e=this;D._p;return D._p=null,e.$raise(R.NotImplementedError)},Q["$none?"]=E=function(){var o,d=this,i=E._p,t=i||f;E._p=null;var l=!0;return t!==f?d.$each._p=function(){var d=e.$yieldX(t,arguments);return d===n?(l=n.$v,n):(o=d)===f||o._isBoolean&&1!=o?void 0:(l=!1,n)}:d.$each._p=function(){var e=R.Opal.$destructure(arguments);return(o=e)===f||o._isBoolean&&1!=o?void 0:(l=!1,n)},d.$each(),l},Q["$one?"]=F=function(){var o,d=this,i=F._p,t=i||f;F._p=null;var l=!1;return t!==f?d.$each._p=function(){var d=e.$yieldX(t,arguments);if(d===n)return l=n.$v,n;if((o=d)!==f&&(!o._isBoolean||1==o)){if(l===!0)return l=!1,n;l=!0}}:d.$each._p=function(){var e=R.Opal.$destructure(arguments);if((o=e)!==f&&(!o._isBoolean||1==o)){if(l===!0)return l=!1,n;l=!0}},d.$each(),l},Q.$partition=G=function(){var o,d=this,i=G._p,t=i||f;if(G._p=null,t===f)return d.$enum_for("partition");var l=[],u=[];return d.$each._p=function(){var d=R.Opal.$destructure(arguments),i=e.$yield1(t,d);return i===n?(result=n.$v,n):void((o=i)===f||o._isBoolean&&1!=o?u.push(d):l.push(d))},d.$each(),[l,u]},e.defn(O,"$reduce",Q.$inject),Q.$reject=H=function(){var o,d=this,i=H._p,t=i||f;if(H._p=null,t===f)return d.$enum_for("reject");var l=[];return d.$each._p=function(){var d=R.Opal.$destructure(arguments),i=e.$yield1(t,d);return i===n?(l=n.$v,n):void(((o=i)===f||o._isBoolean&&0==o)&&l.push(d))},d.$each(),l},Q.$reverse_each=I=function(){var o=this,n=I._p,d=n||f;if(I._p=null,d===f)return o.$enum_for("reverse_each");var i=[];o.$each._p=function(){i.push(arguments)},o.$each();for(var t=i.length-1;t>=0;t--)e.$yieldX(d,i[t]);return i},e.defn(O,"$select",Q.$find_all),Q.$slice_before=J=function(o){var n,d,i,t=this,l=J._p,u=l||f;return J._p=null,(n=void 0===o&&u===f||arguments.length>1)===f||n._isBoolean&&1!=n||t.$raise(R.ArgumentError,"wrong number of arguments ("+arguments.length+" for 1)"),(n=(d=R.Enumerator).$new,n._p=(i=function(n){var d,t=i._s||this;null==n&&(n=f);var l=[];u!==f?void 0===o?t.$each._p=function(){var o=R.Opal.$destructure(arguments),i=e.$yield1(u,o);(d=i)!==f&&(!d._isBoolean||1==d)&&l.length>0&&(n["$<<"](l),l=[]),l.push(o)}:t.$each._p=function(){var e=R.Opal.$destructure(arguments),i=u(e,o.$dup());(d=i)!==f&&(!d._isBoolean||1==d)&&l.length>0&&(n["$<<"](l),l=[]),l.push(e)}:t.$each._p=function(){var e=R.Opal.$destructure(arguments),i=o["$==="](e);(d=i)!==f&&(!d._isBoolean||1==d)&&l.length>0&&(n["$<<"](l),l=[]),l.push(e)},t.$each(),l.length>0&&n["$<<"](l)},i._s=t,i),n).call(d)},Q.$sort=K=function(){var e=this;K._p;return K._p=null,e.$raise(R.NotImplementedError)},Q.$sort_by=L=function(){var e,o,n,d,i,t,l,u,s,p=this,r=L._p,y=r||f;return L._p=null,y===f?p.$enum_for("sort_by"):(e=(o=(d=(i=(l=(u=p).$map,l._p=(s=function(){s._s||this;return arg=R.Opal.$destructure(arguments),[y.$call(arg),arg]},s._s=p,s),l).call(u)).$sort,d._p=(t=function(e,o){t._s||this;return null==e&&(e=f),null==o&&(o=f),e["$[]"](0)["$<=>"](o["$[]"](0))},t._s=p,t),d).call(i)).$map,e._p=(n=function(e){n._s||this;return null==e&&(e=f),e[1]},n._s=p,n),e).call(o)},Q.$take=function(e){var o=this;return o.$first(e)},Q.$take_while=M=function(){var o,d=this,i=M._p,t=i||f;if(M._p=null,t===!1||t===f)return d.$enum_for("take_while");var l=[];return d.$each._p=function(){var d=R.Opal.$destructure(arguments),i=e.$yield1(t,d);return i===n?(l=n.$v,n):(o=i)===f||o._isBoolean&&0==o?n:void l.push(d)},d.$each(),l},e.defn(O,"$to_a",Q.$entries),Q.$zip=N=function(e){var o,f=this;N._p;return e=d.call(arguments,0),N._p=null,(o=f.$to_a()).$zip.apply(o,[].concat(e))},e.donate(O,["$all?","$any?","$chunk","$collect","$collect_concat","$count","$cycle","$detect","$drop","$drop_while","$each_cons","$each_entry","$each_slice","$each_with_index","$each_with_object","$entries","$find","$find_all","$find_index","$first","$flat_map","$grep","$group_by","$include?","$inject","$lazy","$enumerator_size","$map","$max","$max_by","$member?","$min","$min_by","$minmax","$minmax_by","$none?","$one?","$partition","$reduce","$reject","$reverse_each","$select","$slice_before","$sort","$sort_by","$take","$take_while","$to_a","$zip"])}(o)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass;return e.add_stubs(["$include","$allocate","$new","$to_proc","$coerce_to","$nil?","$empty?","$+","$class","$__send__","$===","$call","$enum_for","$destructure","$name","$inspect","$[]","$raise","$yield","$each","$enumerator_size","$respond_to?","$try_convert","$<","$for"]),function(o,t){function l(){}var u,s,p,r,y=l=i(o,t,"Enumerator",l),a=y._proto,c=y._scope;return a.size=a.args=a.object=a.method=f,y.$include(c.Enumerable),e.defs(y,"$for",u=function(e,o,n){var i=this,t=u._p,l=t||f;n=d.call(arguments,2),null==o&&(o="each"),u._p=null;var s=i.$allocate();return s.object=e,s.size=l,s.method=o,s.args=n,s}),a.$initialize=s=function(){var e,o,n=this,i=s._p,t=i||f;return s._p=null,t!==!1&&t!==f?(n.object=(e=(o=c.Generator).$new,e._p=t.$to_proc(),e).call(o),n.method="each",n.args=[],n.size=arguments[0]||f,(e=n.size)===f||e._isBoolean&&1!=e?f:n.size=c.Opal.$coerce_to(n.size,c.Integer,"to_int")):(n.object=arguments[0],n.method=arguments[1]||"each",n.args=d.call(arguments,2),n.size=f)},a.$each=p=function(e){var o,n,i,t=this,l=p._p,u=l||f;return e=d.call(arguments,0),p._p=null,n=u["$nil?"](),(o=n!==!1&&n!==f?e["$empty?"]():n)===f||o._isBoolean&&1!=o?(e=t.args["$+"](e),(o=u["$nil?"]())===f||o._isBoolean&&1!=o?(n=(i=t.object).$__send__,n._p=u.$to_proc(),n).apply(i,[t.method].concat(e)):(o=t.$class()).$new.apply(o,[t.object,t.method].concat(e))):t},a.$size=function(){var e,o=this;return(e=c.Proc["$==="](o.size))===f||e._isBoolean&&1!=e?o.size:(e=o.size).$call.apply(e,[].concat(o.args))},a.$with_index=r=function(e){var o=this,d=r._p,i=d||f;if(null==e&&(e=0),r._p=null,e=e!==!1&&e!==f?c.Opal.$coerce_to(e,c.Integer,"to_int"):0,i===!1||i===f)return o.$enum_for("with_index",e);var t;return o.$each._p=function(){var e=c.Opal.$destructure(arguments),o=i(e,index);return o===n?(t=n.$v,n):void index++},o.$each(),void 0!==t?t:void 0},e.defn(y,"$with_object",a.$each_with_object),a.$inspect=function(){var e,o=this,n=f;return n="#<"+o.$class().$name()+": "+o.object.$inspect()+":"+o.method,((e=o.args["$empty?"]())===f||e._isBoolean&&1!=e)&&(n=n["$+"]("("+o.args.$inspect()["$[]"](c.Range.$new(1,-2))+")")),n["$+"](">")},function(o,t){function l(){}var u,s,p=l=i(o,t,"Generator",l),r=p._proto,y=p._scope;return r.block=f,p.$include(y.Enumerable),r.$initialize=u=function(){var e=this,o=u._p,n=o||f;return u._p=null,n!==!1&&n!==f||e.$raise(y.LocalJumpError,"no block given"),e.block=n},r.$each=s=function(o){var i,t,l=this,u=s._p,p=u||f,r=f;o=d.call(arguments,0),s._p=null,r=(i=(t=y.Yielder).$new,i._p=p.$to_proc(),i).call(t);try{if(o.unshift(r),e.$yieldX(l.block,o)===n)return n.$v}catch(a){if(a===n)return n.$v;throw a}return l},f&&"each"}(y,null),function(o,t){function l(){}var u,s=l=i(o,t,"Yielder",l),p=s._proto;s._scope;return p.block=f,p.$initialize=u=function(){var e=this,o=u._p,n=o||f;return u._p=null,e.block=n},p.$yield=function(o){var f=this;o=d.call(arguments,0);var i=e.$yieldX(f.block,o);if(i===n)throw n;return i},p["$<<"]=function(e){var o,f=this;return e=d.call(arguments,0),(o=f).$yield.apply(o,[].concat(e)),f},f&&"<<"}(y,null),function(o,t){function l(){}var u,s,p,r,y,a,c,b,w,g=l=i(o,t,"Lazy",l),m=g._proto,x=g._scope;return m.enumerator=f,function(e,o){function n(){}var d=n=i(e,o,"StopLazyError",n);d._proto,d._scope;return f}(g,x.Exception),m.$initialize=u=function(o,i){var t,l=this,s=u._p,p=s||f;return null==i&&(i=f),u._p=null,p!==f||l.$raise(x.ArgumentError,"tried to call lazy new without a block"),l.enumerator=o,e.find_super_dispatcher(l,"initialize",u,(t=function(i,l){var u,s,r,y=t._s||this;null==i&&(i=f),l=d.call(arguments,1);try{return(u=(s=o).$each,u._p=(r=function(o){r._s||this;return o=d.call(arguments,0),o.unshift(i),e.$yieldX(p,o)===n?n:void 0},r._s=y,r),u).apply(s,[].concat(l))}catch(a){if(e.$rescue(a,[x.Exception]))return f;throw a}},t._s=l,t)).apply(l,[i])},e.defn(g,"$force",m.$to_a),m.$lazy=function(){var e=this;return e},m.$collect=s=function(){var o,i,t,l=this,u=s._p,p=u||f;return s._p=null,p!==!1&&p!==f||l.$raise(x.ArgumentError,"tried to call lazy map without a block"),(o=(i=x.Lazy).$new,o._p=(t=function(o,i){t._s||this;null==o&&(o=f),i=d.call(arguments,1);var l=e.$yieldX(p,i);return l===n?n:void o.$yield(l)},t._s=l,t),o).call(i,l,l.$enumerator_size())},m.$collect_concat=p=function(){
  var o,i,t,l=this,u=p._p,s=u||f;return p._p=null,s!==!1&&s!==f||l.$raise(x.ArgumentError,"tried to call lazy map without a block"),(o=(i=x.Lazy).$new,o._p=(t=function(o,i){var l,u,p,r,y,a=t._s||this;null==o&&(o=f),i=d.call(arguments,1);var c=e.$yieldX(s,i);if(c===n)return n;if(c["$respond_to?"]("force")&&c["$respond_to?"]("each"))(l=(u=c).$each,l._p=(p=function(e){p._s||this;return null==e&&(e=f),o.$yield(e)},p._s=a,p),l).call(u);else{var b=x.Opal.$try_convert(c,x.Array,"to_ary");b===f?o.$yield(c):(l=(r=c).$each,l._p=(y=function(e){y._s||this;return null==e&&(e=f),o.$yield(e)},y._s=a,y),l).call(r)}},t._s=l,t),o).call(i,l,f)},m.$drop=function(e){var o,n,i,t=this,l=f,u=f,s=f;return e=x.Opal.$coerce_to(e,x.Integer,"to_int"),e["$<"](0)&&t.$raise(x.ArgumentError,"attempt to drop negative size"),l=t.$enumerator_size(),u=function(){return(o=x.Integer["$==="](l))===f||o._isBoolean&&1!=o?l:e["$<"](l)?e:l}(),s=0,(o=(n=x.Lazy).$new,o._p=(i=function(o,n){var t;i._s||this;return null==o&&(o=f),n=d.call(arguments,1),s["$<"](e)?s=s["$+"](1):(t=o).$yield.apply(t,[].concat(n))},i._s=t,i),o).call(n,t,u)},m.$drop_while=r=function(){var o,i,t,l=this,u=r._p,s=u||f,p=f;return r._p=null,s!==!1&&s!==f||l.$raise(x.ArgumentError,"tried to call lazy drop_while without a block"),p=!0,(o=(i=x.Lazy).$new,o._p=(t=function(o,i){var l,u;t._s||this;if(null==o&&(o=f),i=d.call(arguments,1),p===!1||p===f)return(u=o).$yield.apply(u,[].concat(i));var r=e.$yieldX(s,i);return r===n?n:void(((l=r)===f||l._isBoolean&&0==l)&&(p=!1,(l=o).$yield.apply(l,[].concat(i))))},t._s=l,t),o).call(i,l,f)},m.$enum_for=y=function(e,o){var n,i,t=this,l=y._p,u=l||f;return o=d.call(arguments,1),null==e&&(e="each"),y._p=null,(n=(i=t.$class()).$for,n._p=u.$to_proc(),n).apply(i,[t,e].concat(o))},m.$find_all=a=function(){var o,i,t,l=this,u=a._p,s=u||f;return a._p=null,s!==!1&&s!==f||l.$raise(x.ArgumentError,"tried to call lazy select without a block"),(o=(i=x.Lazy).$new,o._p=(t=function(o,i){var l;t._s||this;null==o&&(o=f),i=d.call(arguments,1);var u=e.$yieldX(s,i);return u===n?n:void((l=u)===f||l._isBoolean&&1!=l||(l=o).$yield.apply(l,[].concat(i)))},t._s=l,t),o).call(i,l,f)},e.defn(g,"$flat_map",m.$collect_concat),m.$grep=c=function(o){var i,t,l,u,s,p=this,r=c._p,y=r||f;return c._p=null,y!==!1&&y!==f?(i=(t=x.Lazy).$new,i._p=(l=function(i,t){var u;l._s||this;null==i&&(i=f),t=d.call(arguments,1);var s=x.Opal.$destructure(t),p=o["$==="](s);if((u=p)!==f&&(!u._isBoolean||1==u)){if(p=e.$yield1(y,s),p===n)return n;i.$yield(e.$yield1(y,s))}},l._s=p,l),i).call(t,p,f):(i=(u=x.Lazy).$new,i._p=(s=function(e,n){var i;s._s||this;null==e&&(e=f),n=d.call(arguments,1);var t=x.Opal.$destructure(n),l=o["$==="](t);(i=l)===f||i._isBoolean&&1!=i||e.$yield(t)},s._s=p,s),i).call(u,p,f)},e.defn(g,"$map",m.$collect),e.defn(g,"$select",m.$find_all),m.$reject=b=function(){var o,i,t,l=this,u=b._p,s=u||f;return b._p=null,s!==!1&&s!==f||l.$raise(x.ArgumentError,"tried to call lazy reject without a block"),(o=(i=x.Lazy).$new,o._p=(t=function(o,i){var l;t._s||this;null==o&&(o=f),i=d.call(arguments,1);var u=e.$yieldX(s,i);return u===n?n:void(((l=u)===f||l._isBoolean&&0==l)&&(l=o).$yield.apply(l,[].concat(i)))},t._s=l,t),o).call(i,l,f)},m.$take=function(e){var o,n,i,t=this,l=f,u=f,s=f;return e=x.Opal.$coerce_to(e,x.Integer,"to_int"),e["$<"](0)&&t.$raise(x.ArgumentError,"attempt to take negative size"),l=t.$enumerator_size(),u=function(){return(o=x.Integer["$==="](l))===f||o._isBoolean&&1!=o?l:e["$<"](l)?e:l}(),s=0,(o=(n=x.Lazy).$new,o._p=(i=function(o,n){var t,l=i._s||this;return null==o&&(o=f),n=d.call(arguments,1),s["$<"](e)?((t=o).$yield.apply(t,[].concat(n)),s=s["$+"](1)):l.$raise(x.StopLazyError)},i._s=t,i),o).call(n,t,u)},m.$take_while=w=function(){var o,i,t,l=this,u=w._p,s=u||f;return w._p=null,s!==!1&&s!==f||l.$raise(x.ArgumentError,"tried to call lazy take_while without a block"),(o=(i=x.Lazy).$new,o._p=(t=function(o,i){var l,u=t._s||this;null==o&&(o=f),i=d.call(arguments,1);var p=e.$yieldX(s,i);return p===n?n:void((l=p)===f||l._isBoolean&&1!=l?u.$raise(x.StopLazyError):(l=o).$yield.apply(l,[].concat(i)))},t._s=l,t),o).call(i,l,f)},e.defn(g,"$to_enum",m.$enum_for),m.$inspect=function(){var e=this;return"#<"+e.$class().$name()+": "+e.enumerator.$inspect()+">"},f&&"inspect"}(y,y)}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass,t=e.gvars,l=e.range;return e.add_stubs(["$include","$new","$class","$raise","$===","$to_a","$respond_to?","$to_ary","$coerce_to","$coerce_to?","$==","$to_str","$clone","$hash","$<=>","$inspect","$empty?","$enum_for","$nil?","$coerce_to!","$initialize_clone","$initialize_dup","$replace","$eql?","$length","$begin","$end","$exclude_end?","$flatten","$object_id","$[]","$to_s","$join","$delete_if","$to_proc","$each","$reverse","$!","$map","$rand","$keep_if","$shuffle!","$>","$<","$sort","$times","$[]=","$<<","$at"]),function(o,u){function s(){}var p,r,y,a,c,b,w,g,m,x,j,k,v,P,h,q,z,A,B,C,D,E=s=i(o,u,"Array",s),F=E._proto,G=E._scope;return F.length=f,E.$include(G.Enumerable),F._isArray=!0,e.defs(E,"$[]",function(e){return e=d.call(arguments,0)}),F.$initialize=function(e){var o,f=this;return e=d.call(arguments,0),(o=f.$class()).$new.apply(o,[].concat(e))},e.defs(E,"$new",p=function(e,o){var d,i=this,t=p._p,l=t||f;if(null==e&&(e=f),null==o&&(o=f),p._p=null,(d=arguments.length>2)===f||d._isBoolean&&1!=d||i.$raise(G.ArgumentError,"wrong number of arguments ("+arguments.length+" for 0..2)"),(d=0===arguments.length)!==f&&(!d._isBoolean||1==d))return[];if((d=1===arguments.length)!==f&&(!d._isBoolean||1==d)){if(!((d=G.Array["$==="](e))===f||d._isBoolean&&1!=d))return e.$to_a();if((d=e["$respond_to?"]("to_ary"))!==f&&(!d._isBoolean||1==d))return e.$to_ary()}e=G.Opal.$coerce_to(e,G.Integer,"to_int"),(d=0>e)===f||d._isBoolean&&1!=d||i.$raise(G.ArgumentError,"negative array size");var u=[];if(l===f)for(var s=0;e>s;s++)u.push(o);else for(var r,s=0;e>s;s++){if(r=l(s),r===n)return n.$v;u[s]=r}return u}),e.defs(E,"$try_convert",function(e){return G.Opal["$coerce_to?"](e,G.Array,"to_ary")}),F["$&"]=function(e){var o,n=this;e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a();for(var d=[],i={},t=0,l=n.length;l>t;t++){var u=n[t];if(!i[u])for(var s=0,p=e.length;p>s;s++){var r=e[s];!i[r]&&u["$=="](r)&&(i[u]=!0,d.push(u))}}return d},F["$*"]=function(e){var o,n=this;if((o=e["$respond_to?"]("to_str"))!==f&&(!o._isBoolean||1==o))return n.join(e.$to_str());((o=e["$respond_to?"]("to_int"))===f||o._isBoolean&&1!=o)&&n.$raise(G.TypeError,"no implicit conversion of "+e.$class()+" into Integer"),e=G.Opal.$coerce_to(e,G.Integer,"to_int"),(o=0>e)===f||o._isBoolean&&1!=o||n.$raise(G.ArgumentError,"negative argument");for(var d=[],i=0;e>i;i++)d=d.concat(n);return d},F["$+"]=function(e){var o,n=this;return e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a(),n.concat(e)},F["$-"]=function(e){var o,n=this;if(e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a(),(o=0===n.length)!==f&&(!o._isBoolean||1==o))return[];if((o=0===e.length)!==f&&(!o._isBoolean||1==o))return n.$clone();for(var d={},i=[],t=0,l=e.length;l>t;t++)d[e[t]]=!0;for(var t=0,l=n.length;l>t;t++){var u=n[t];d[u]||i.push(u)}return i},F["$<<"]=function(e){var o=this;return o.push(e),o},F["$<=>"]=function(e){var o,n=this;if((o=G.Array["$==="](e))===f||o._isBoolean&&1!=o){if((o=e["$respond_to?"]("to_ary"))===f||o._isBoolean&&1!=o)return f;e=e.$to_ary().$to_a()}else e=e.$to_a();if(n.$hash()===e.$hash())return 0;if(n.length!=e.length)return n.length>e.length?1:-1;for(var d=0,i=n.length;i>d;d++){var t=n[d]["$<=>"](e[d]);if(0!==t)return t}return 0},F["$=="]=function(e){var o,n=this;if((o=n===e)!==f&&(!o._isBoolean||1==o))return!0;if((o=G.Array["$==="](e))===f||o._isBoolean&&1!=o)return(o=e["$respond_to?"]("to_ary"))===f||o._isBoolean&&1!=o?!1:e["$=="](n);if(e=e.$to_a(),(o=n.length===e.length)===f||o._isBoolean&&1!=o)return!1;for(var d=0,i=n.length;i>d;d++){var t=n[d],l=e[d];if(!(t._isArray&&l._isArray&&t===n||t["$=="](l)))return!1}return!0},F["$[]"]=function(e,o){var n,d=this;if((n=G.Range["$==="](e))===f||n._isBoolean&&1!=n){e=G.Opal.$coerce_to(e,G.Integer,"to_int");var i=d.length;return 0>e&&(e+=i,0>e)?f:void 0===o?e>=i||0>e?f:d[e]:(o=G.Opal.$coerce_to(o,G.Integer,"to_int"),0>o||e>i||0>e?f:d.slice(e,e+o))}var i=d.length,t=e.exclude,l=G.Opal.$coerce_to(e.begin,G.Integer,"to_int"),u=G.Opal.$coerce_to(e.end,G.Integer,"to_int");return 0>l&&(l+=i,0>l)?f:l>i?f:0>u&&(u+=i,0>u)?[]:(t||(u+=1),d.slice(l,u))},F["$[]="]=function(e,o,n){var d,i=this,t=f,l=f;if((d=G.Range["$==="](e))===f||d._isBoolean&&1!=d){(d=void 0===n)===f||d._isBoolean&&1!=d?(l=o,o=n,t=(d=G.Array["$==="](o))===f||d._isBoolean&&1!=d?(d=o["$respond_to?"]("to_ary"))===f||d._isBoolean&&1!=d?[o]:o.$to_ary().$to_a():o.$to_a()):l=1;var u,s=i.length,e=G.Opal.$coerce_to(e,G.Integer,"to_int"),l=G.Opal.$coerce_to(l,G.Integer,"to_int");if(0>e&&(u=e,e+=s,0>e&&i.$raise(G.IndexError,"index "+u+" too small for array; minimum "+-i.length)),0>l&&i.$raise(G.IndexError,"negative length ("+l+")"),e>s)for(var p=s;e>p;p++)i[p]=f;return void 0===n?i[e]=o:i.splice.apply(i,[e,l].concat(t)),o}t=(d=G.Array["$==="](o))===f||d._isBoolean&&1!=d?(d=o["$respond_to?"]("to_ary"))===f||d._isBoolean&&1!=d?[o]:o.$to_ary().$to_a():o.$to_a();var s=i.length,r=e.exclude,y=G.Opal.$coerce_to(e.begin,G.Integer,"to_int"),a=G.Opal.$coerce_to(e.end,G.Integer,"to_int");if(0>y&&(y+=s,0>y&&i.$raise(G.RangeError,""+e.$inspect()+" out of range")),0>a&&(a+=s),r||(a+=1),y>s)for(var p=s;y>p;p++)i[p]=f;return 0>a?i.splice.apply(i,[y,0].concat(t)):i.splice.apply(i,[y,a-y].concat(t)),o},F.$assoc=function(e){for(var o,n=this,d=0,i=n.length;i>d;d++)if(o=n[d],o.length&&o[0]["$=="](e))return o;return f},F.$at=function(e){var o=this;return e=G.Opal.$coerce_to(e,G.Integer,"to_int"),0>e&&(e+=o.length),0>e||e>=o.length?f:o[e]},F.$cycle=r=function(o){var d,i,t=this,l=r._p,u=l||f;if(null==o&&(o=f),r._p=null,(d=(i=t["$empty?"]())!==!1&&i!==f?i:o["$=="](0))!==f&&(!d._isBoolean||1==d))return f;if(u===!1||u===f)return t.$enum_for("cycle",o);if((d=o["$nil?"]())===f||d._isBoolean&&1!=d){if(o=G.Opal["$coerce_to!"](o,G.Integer,"to_int"),0>=o)return t;for(;o>0;){for(var s=0,p=t.length;p>s;s++){var y=e.$yield1(u,t[s]);if(y===n)return n.$v}o--}}else for(;;)for(var s=0,p=t.length;p>s;s++){var y=e.$yield1(u,t[s]);if(y===n)return n.$v}return t},F.$clear=function(){var e=this;return e.splice(0,e.length),e},F.$clone=function(){var e=this,o=f;return o=[],o.$initialize_clone(e),o},F.$dup=function(){var e=this,o=f;return o=[],o.$initialize_dup(e),o},F.$initialize_copy=function(e){var o=this;return o.$replace(e)},F.$collect=y=function(){var e=this,o=y._p,d=o||f;if(y._p=null,d===f)return e.$enum_for("collect");for(var i=[],t=0,l=e.length;l>t;t++){var u=Opal.$yield1(d,e[t]);if(u===n)return n.$v;i.push(u)}return i},F["$collect!"]=a=function(){var e=this,o=a._p,d=o||f;if(a._p=null,d===f)return e.$enum_for("collect!");for(var i=0,t=e.length;t>i;i++){var l=Opal.$yield1(d,e[i]);if(l===n)return n.$v;e[i]=l}return e},F.$compact=function(){for(var e,o=this,n=[],d=0,i=o.length;i>d;d++)(e=o[d])!==f&&n.push(e);return n},F["$compact!"]=function(){for(var e=this,o=e.length,n=0,d=e.length;d>n;n++)e[n]===f&&(e.splice(n,1),d--,n--);return e.length===o?f:e},F.$concat=function(e){var o,n=this;e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a();for(var d=0,i=e.length;i>d;d++)n.push(e[d]);return n},F.$delete=function(e){for(var o=this,n=o.length,d=0,i=n;i>d;d++)o[d]["$=="](e)&&(o.splice(d,1),i--,d--);return o.length===n?f:e},F.$delete_at=function(e){var o=this;if(e=G.Opal.$coerce_to(e,G.Integer,"to_int"),0>e&&(e+=o.length),0>e||e>=o.length)return f;var n=o[e];return o.splice(e,1),n},F.$delete_if=c=function(){var e=this,o=c._p,d=o||f;if(c._p=null,d===f)return e.$enum_for("delete_if");for(var i,t=0,l=e.length;l>t;t++){if((i=d(e[t]))===n)return n.$v;i!==!1&&i!==f&&(e.splice(t,1),l--,t--)}return e},F.$drop=function(e){var o=this;return 0>e&&o.$raise(G.ArgumentError),o.slice(e)},e.defn(E,"$dup",F.$clone),F.$each=b=function(){var o=this,d=b._p,i=d||f;if(b._p=null,i===f)return o.$enum_for("each");for(var t=0,l=o.length;l>t;t++){var u=e.$yield1(i,o[t]);if(u==n)return n.$v}return o},F.$each_index=w=function(){var o=this,d=w._p,i=d||f;if(w._p=null,i===f)return o.$enum_for("each_index");for(var t=0,l=o.length;l>t;t++){var u=e.$yield1(i,t);if(u===n)return n.$v}return o},F["$empty?"]=function(){var e=this;return 0===e.length},F["$eql?"]=function(e){var o,n=this;if((o=n===e)!==f&&(!o._isBoolean||1==o))return!0;if((o=G.Array["$==="](e))===f||o._isBoolean&&1!=o)return!1;if(e=e.$to_a(),(o=n.length===e.length)===f||o._isBoolean&&1!=o)return!1;for(var d=0,i=n.length;i>d;d++){var t=n[d],l=e[d];if(!(t._isArray&&l._isArray&&t===n||t["$eql?"](l)))return!1}return!0},F.$fetch=g=function(e,o){var n=this,d=g._p,i=d||f;g._p=null;var t=e;return e=G.Opal.$coerce_to(e,G.Integer,"to_int"),0>e&&(e+=n.length),e>=0&&e<n.length?n[e]:i!==f?i(t):null!=o?o:void(0===n.length?n.$raise(G.IndexError,"index "+t+" outside of array bounds: 0...0"):n.$raise(G.IndexError,"index "+t+" outside of array bounds: -"+n.length+"..."+n.length))},F.$fill=m=function(o){var i,t=this,l=m._p,u=l||f,s=f,p=f,r=f,y=f,a=f;if(o=d.call(arguments,0),m._p=null,u!==!1&&u!==f?((i=o.length>2)===f||i._isBoolean&&1!=i||t.$raise(G.ArgumentError,"wrong number of arguments ("+o.$length()+" for 0..2)"),i=e.to_ary(o),s=null==i[0]?f:i[0],p=null==i[1]?f:i[1]):((i=0==o.length)===f||i._isBoolean&&1!=i?(i=o.length>3)===f||i._isBoolean&&1!=i||t.$raise(G.ArgumentError,"wrong number of arguments ("+o.$length()+" for 1..3)"):t.$raise(G.ArgumentError,"wrong number of arguments (0 for 1..3)"),i=e.to_ary(o),r=null==i[0]?f:i[0],s=null==i[1]?f:i[1],p=null==i[2]?f:i[2]),(i=G.Range["$==="](s))===f||i._isBoolean&&1!=i)if(s!==!1&&s!==f)if(y=G.Opal.$coerce_to(s,G.Integer,"to_int"),(i=0>y)===f||i._isBoolean&&1!=i||(y+=t.length),(i=0>y)===f||i._isBoolean&&1!=i||(y=0),p!==!1&&p!==f){if(a=G.Opal.$coerce_to(p,G.Integer,"to_int"),(i=0==a)!==f&&(!i._isBoolean||1==i))return t;a+=y}else a=t.length;else y=0,a=t.length;else if(p!==!1&&p!==f&&t.$raise(G.TypeError,"length invalid with range"),y=G.Opal.$coerce_to(s.$begin(),G.Integer,"to_int"),(i=0>y)===f||i._isBoolean&&1!=i||(y+=t.length),(i=0>y)===f||i._isBoolean&&1!=i||t.$raise(G.RangeError,""+s.$inspect()+" out of range"),a=G.Opal.$coerce_to(s.$end(),G.Integer,"to_int"),(i=0>a)===f||i._isBoolean&&1!=i||(a+=t.length),((i=s["$exclude_end?"]())===f||i._isBoolean&&1!=i)&&(a+=1),(i=y>=a)!==f&&(!i._isBoolean||1==i))return t;if((i=y>t.length)!==f&&(!i._isBoolean||1==i))for(var c=t.length;a>c;c++)t[c]=f;if((i=a>t.length)===f||i._isBoolean&&1!=i||(t.length=a),u!==!1&&u!==f){for(t.length;a>y;y++){var b=u(y);if(b===n)return n.$v;t[y]=b}}else{for(t.length;a>y;y++)t[y]=r}return t},F.$first=function(e){var o=this;return null==e?0===o.length?f:o[0]:(e=G.Opal.$coerce_to(e,G.Integer,"to_int"),0>e&&o.$raise(G.ArgumentError,"negative array size"),o.slice(0,e))},F.$flatten=function(e){for(var o=this,f=[],n=0,d=o.length;d>n;n++){var i=o[n];G.Opal["$respond_to?"](i,"to_ary")?(i=i.$to_ary(),null==e?f.push.apply(f,i.$flatten().$to_a()):0==e?f.push(i):f.push.apply(f,i.$flatten(e-1).$to_a())):f.push(i)}return f},F["$flatten!"]=function(e){var o=this,n=o.$flatten(e);if(o.length==n.length){for(var d=0,i=o.length;i>d&&o[d]===n[d];d++);if(d==i)return f}return o.$replace(n),o},F.$hash=function(){var e=this;return e._id||(e._id=Opal.uid())},F["$include?"]=function(e){for(var o=this,f=0,n=o.length;n>f;f++)if(o[f]["$=="](e))return!0;return!1},F.$index=x=function(e){var o=this,d=x._p,i=d||f;if(x._p=null,null!=e){for(var t=0,l=o.length;l>t;t++)if(o[t]["$=="](e))return t}else{if(i===f)return o.$enum_for("index");for(var u,t=0,l=o.length;l>t;t++){if((u=i(o[t]))===n)return n.$v;if(u!==!1&&u!==f)return t}}return f},F.$insert=function(e,o){var n=this;if(o=d.call(arguments,1),e=G.Opal.$coerce_to(e,G.Integer,"to_int"),o.length>0){if(0>e&&(e+=n.length+1,0>e&&n.$raise(G.IndexError,""+e+" is out of bounds")),e>n.length)for(var i=n.length;e>i;i++)n.push(f);n.splice.apply(n,[e,0].concat(o))}return n},F.$inspect=function(){var e,o,f,n,d,i,t=this;for(o=[],i=t.$object_id(),d=t.length,e=0;d>e;e++)f=t["$[]"](e),n=f.$object_id()===i?"[...]":f.$inspect(),o.push(n);return"["+o.join(", ")+"]"},F.$join=function(e){var o,n=this;if(null==t[","]&&(t[","]=f),null==e&&(e=f),(o=0===n.length)!==f&&(!o._isBoolean||1==o))return"";(o=e===f)===f||o._isBoolean&&1!=o||(e=t[","]);for(var d=[],i=0,l=n.length;l>i;i++){var u=n[i];if(G.Opal["$respond_to?"](u,"to_str")){var s=u.$to_str();if(s!==f){d.push(s.$to_s());continue}}if(G.Opal["$respond_to?"](u,"to_ary")){var s=u.$to_ary();if(s!==f){d.push(s.$join(e));continue}}if(G.Opal["$respond_to?"](u,"to_s")){var s=u.$to_s();if(s!==f){d.push(s);continue}}n.$raise(G.NoMethodError,""+G.Opal.$inspect(u)+" doesn't respond to #to_str, #to_ary or #to_s")}return e===f?d.join(""):d.join(G.Opal["$coerce_to!"](e,G.String,"to_str").$to_s())},F.$keep_if=j=function(){var e=this,o=j._p,d=o||f;if(j._p=null,d===f)return e.$enum_for("keep_if");for(var i,t=0,l=e.length;l>t;t++){if((i=d(e[t]))===n)return n.$v;(i===!1||i===f)&&(e.splice(t,1),l--,t--)}return e},F.$last=function(e){var o=this;return null==e?0===o.length?f:o[o.length-1]:(e=G.Opal.$coerce_to(e,G.Integer,"to_int"),0>e&&o.$raise(G.ArgumentError,"negative array size"),e>o.length&&(e=o.length),o.slice(o.length-e,o.length))},F.$length=function(){var e=this;return e.length},e.defn(E,"$map",F.$collect),e.defn(E,"$map!",F["$collect!"]),F.$pop=function(e){var o,n=this;return(o=void 0===e)===f||o._isBoolean&&1!=o?(e=G.Opal.$coerce_to(e,G.Integer,"to_int"),(o=0>e)===f||o._isBoolean&&1!=o||n.$raise(G.ArgumentError,"negative array size"),(o=0===n.length)===f||o._isBoolean&&1!=o?(o=e>n.length)===f||o._isBoolean&&1!=o?n.splice(n.length-e,n.length):n.splice(0,n.length):[]):(o=0===n.length)===f||o._isBoolean&&1!=o?n.pop():f},F.$push=function(e){var o=this;e=d.call(arguments,0);for(var f=0,n=e.length;n>f;f++)o.push(e[f]);return o},F.$rassoc=function(e){for(var o,n=this,d=0,i=n.length;i>d;d++)if(o=n[d],o.length&&void 0!==o[1]&&o[1]["$=="](e))return o;return f},F.$reject=k=function(){var e=this,o=k._p,d=o||f;if(k._p=null,d===f)return e.$enum_for("reject");for(var i,t=[],l=0,u=e.length;u>l;l++){if((i=d(e[l]))===n)return n.$v;(i===!1||i===f)&&t.push(e[l])}return t},F["$reject!"]=v=function(){var e,o,n=this,d=v._p,i=d||f,t=f;return v._p=null,i===f?n.$enum_for("reject!"):(t=n.$length(),(e=(o=n).$delete_if,e._p=i.$to_proc(),e).call(o),n.$length()["$=="](t)?f:n)},F.$replace=function(e){var o,n=this;return e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a(),n.splice(0,n.length),n.push.apply(n,e),n},F.$reverse=function(){var e=this;return e.slice(0).reverse()},F["$reverse!"]=function(){var e=this;return e.reverse()},F.$reverse_each=P=function(){var e,o,n=this,d=P._p,i=d||f;return P._p=null,i===f?n.$enum_for("reverse_each"):((e=(o=n.$reverse()).$each,e._p=i.$to_proc(),e).call(o),n)},F.$rindex=h=function(e){var o=this,d=h._p,i=d||f;if(h._p=null,null!=e){for(var t=o.length-1;t>=0;t--)if(o[t]["$=="](e))return t}else if(i!==f)for(var l,t=o.length-1;t>=0;t--){if((l=i(o[t]))===n)return n.$v;if(l!==!1&&l!==f)return t}else if(null==e)return o.$enum_for("rindex");return f},F.$sample=function(e){var o,n,d,i=this;return null==e&&(e=f),n=e["$!"](),(o=n!==!1&&n!==f?i["$empty?"]():n)===f||o._isBoolean&&1!=o?(o=(n=e!==!1&&e!==f)?i["$empty?"]():n)===f||o._isBoolean&&1!=o?e!==!1&&e!==f?(o=(n=l(1,e,!1)).$map,o._p=(d=function(){var e=d._s||this;return e["$[]"](e.$rand(e.$length()))},d._s=i,d),o).call(n):i["$[]"](i.$rand(i.$length())):[]:f},F.$select=q=function(){var o=this,d=q._p,i=d||f;if(q._p=null,i===f)return o.$enum_for("select");for(var t,l,u=[],s=0,p=o.length;p>s;s++){if(t=o[s],(l=e.$yield1(i,t))===n)return n.$v;l!==!1&&l!==f&&u.push(t)}return u},F["$select!"]=z=function(){var e,o,n=this,d=z._p,i=d||f;if(z._p=null,i===f)return n.$enum_for("select!");var t=n.length;return(e=(o=n).$keep_if,e._p=i.$to_proc(),e).call(o),n.length===t?f:n},F.$shift=function(e){var o,n=this;return(o=void 0===e)===f||o._isBoolean&&1!=o?(e=G.Opal.$coerce_to(e,G.Integer,"to_int"),(o=0>e)===f||o._isBoolean&&1!=o||n.$raise(G.ArgumentError,"negative array size"),(o=0===n.length)===f||o._isBoolean&&1!=o?n.splice(0,e):[]):(o=0===n.length)===f||o._isBoolean&&1!=o?n.shift():f},e.defn(E,"$size",F.$length),F.$shuffle=function(){var e=this;return e.$clone()["$shuffle!"]()},F["$shuffle!"]=function(){for(var e=this,o=e.length-1;o>0;o--){var f=e[o],n=Math.floor(Math.random()*(o+1));e[o]=e[n],e[n]=f}return e},e.defn(E,"$slice",F["$[]"]),F["$slice!"]=function(e,o){var n=this;return 0>e&&(e+=n.length),null!=o?n.splice(e,o):0>e||e>=n.length?f:n.splice(e,1)[0]},F.$sort=A=function(){var e,o=this,d=A._p,i=d||f;if(A._p=null,(e=o.length>1)===f||e._isBoolean&&1!=e)return o;i===f&&(i=function(e,o){return e["$<=>"](o)});try{return o.slice().sort(function(e,d){var t=i(e,d);if(t===n)throw n;return t===f&&o.$raise(G.ArgumentError,"comparison of "+e.$inspect()+" with "+d.$inspect()+" failed"),t["$>"](0)?1:t["$<"](0)?-1:0})}catch(t){if(t===n)return n.$v;throw t}},F["$sort!"]=B=function(){var e,o,n=this,d=B._p,i=d||f;B._p=null;var t;t=i!==f?(e=(o=n.slice()).$sort,e._p=i.$to_proc(),e).call(o):n.slice().$sort(),n.length=0;for(var l=0,u=t.length;u>l;l++)n.push(t[l]);return n},F.$take=function(e){var o=this;return 0>e&&o.$raise(G.ArgumentError),o.slice(0,e)},F.$take_while=C=function(){var e=this,o=C._p,d=o||f;C._p=null;for(var i,t,l=[],u=0,s=e.length;s>u;u++){if(i=e[u],(t=d(i))===n)return n.$v;if(t===!1||t===f)return l;l.push(i)}return l},F.$to_a=function(){var e=this;return e},e.defn(E,"$to_ary",F.$to_a),e.defn(E,"$to_s",F.$inspect),F.$transpose=function(){var e,o,n,d=this,i=f,t=f;return(e=d["$empty?"]())===f||e._isBoolean&&1!=e?(i=[],t=f,(e=(o=d).$each,e._p=(n=function(e){var o,d,l,u=n._s||this;return null==e&&(e=f),e=(o=G.Array["$==="](e))===f||o._isBoolean&&1!=o?G.Opal.$coerce_to(e,G.Array,"to_ary").$to_a():e.$to_a(),(o=t)!==!1&&o!==f?o:t=e.length,(o=e.length["$=="](t)["$!"]())===f||o._isBoolean&&1!=o||u.$raise(G.IndexError,"element size differs ("+e.length+" should be "+t),(o=(d=e.length).$times,o._p=(l=function(o){var n,d,t,u=(l._s||this,f);return null==o&&(o=f),n=o,d=i,u=(t=d["$[]"](n))!==!1&&t!==f?t:d["$[]="](n,[]),u["$<<"](e.$at(o))},l._s=u,l),o).call(d)},n._s=d,n),e).call(o),i):[]},F.$uniq=function(){for(var e,o,f=this,n=[],d={},i=0,t=f.length;t>i;i++)e=f[i],o=e,d[o]||(d[o]=!0,n.push(e));return n},F["$uniq!"]=function(){for(var e,o,n=this,d=n.length,i={},t=0,l=d;l>t;t++)e=n[t],o=e,i[o]?(n.splice(t,1),l--,t--):i[o]=!0;return n.length===d?f:n},F.$unshift=function(e){var o=this;e=d.call(arguments,0);for(var f=e.length-1;f>=0;f--)o.unshift(e[f]);return o},F.$zip=D=function(e){var o=this,n=D._p,i=n||f;e=d.call(arguments,0),D._p=null;for(var t,l,u=[],s=o.length,p=0;s>p;p++){t=[o[p]];for(var r=0,y=e.length;y>r;r++)l=e[r][p],null==l&&(l=f),t[r+1]=l;u[p]=t}if(i!==f){for(var p=0;s>p;p++)i(u[p]);return f}return u},f&&"zip"}(o,null)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice),i=e.klass;return e.add_stubs(["$new","$allocate","$initialize","$to_proc","$__send__","$clone","$respond_to?","$==","$eql?","$inspect","$*","$class","$slice","$uniq","$flatten"]),function(o,f){function d(){}var t=d=i(o,f,"Array",d),l=(t._proto,t._scope);return e.defs(t,"$inherited",function(e){var o=n;o=l.Class.$new(l.Array._scope.Wrapper),e._proto=o._proto,e._proto._klass=e,e._alloc=o._alloc,e.__parent=l.Array._scope.Wrapper,e.$allocate=o.$allocate,e.$new=o.$new,e["$[]"]=o["$[]"]}),n&&"inherited"}(o,null),function(o,f){function t(){}var l,u,s,p,r,y=t=i(o,f,"Wrapper",t),a=y._proto,c=y._scope;return a.literal=n,e.defs(y,"$allocate",l=function(o){var f=this,d=(l._p,n);return null==o&&(o=[]),l._p=null,d=e.find_super_dispatcher(f,"allocate",l,null,t).apply(f,[]),d.literal=o,d}),e.defs(y,"$new",u=function(e){var o,f,i=this,t=u._p,l=t||n,s=n;return e=d.call(arguments,0),u._p=null,s=i.$allocate(),(o=(f=s).$initialize,o._p=l.$to_proc(),o).apply(f,[].concat(e)),s}),e.defs(y,"$[]",function(e){var o=this;return e=d.call(arguments,0),o.$allocate(e)}),a.$initialize=s=function(e){var o,f,i=this,t=s._p,l=t||n;return e=d.call(arguments,0),s._p=null,i.literal=(o=(f=c.Array).$new,o._p=l.$to_proc(),o).apply(f,[].concat(e))},a.$method_missing=p=function(e){var o,f,i=this,t=p._p,l=t||n,u=n;return e=d.call(arguments,0),p._p=null,u=(o=(f=i.literal).$__send__,o._p=l.$to_proc(),o).apply(f,[].concat(e)),(o=u===i.literal)===n||o._isBoolean&&1!=o?u:i},a.$initialize_copy=function(e){var o=this;return o.literal=e.literal.$clone()},a["$respond_to?"]=r=function(o){var f,i=d.call(arguments,0),t=this,l=r._p;return r._p=null,(f=e.find_super_dispatcher(t,"respond_to?",r,l).apply(t,i))!==!1&&f!==n?f:t.literal["$respond_to?"](o)},a["$=="]=function(e){var o=this;return o.literal["$=="](e)},a["$eql?"]=function(e){var o=this;return o.literal["$eql?"](e)},a.$to_a=function(){var e=this;return e.literal},a.$to_ary=function(){var e=this;return e},a.$inspect=function(){var e=this;return e.literal.$inspect()},a["$*"]=function(e){var o=this,f=o.literal["$*"](e);return f._isArray?o.$class().$allocate(f):f},a["$[]"]=function(e,o){var f=this,n=f.literal.$slice(e,o);return n._isArray&&(e._isRange||void 0!==o)?f.$class().$allocate(n):n},e.defn(y,"$slice",a["$[]"]),a.$uniq=function(){var e=this;return e.$class().$allocate(e.literal.$uniq())},a.$flatten=function(e){var o=this;return o.$class().$allocate(o.literal.$flatten(e))},n&&"flatten"}(f.Array,null)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass;return e.add_stubs(["$include","$!","$==","$call","$coerce_to!","$lambda?","$abs","$arity","$raise","$enum_for","$flatten","$inspect","$===","$alias_method","$clone"]),function(o,t){function l(){}var u,s,p,r,y,a,c,b,w,g,m,x,j,k=l=i(o,t,"Hash",l),v=k._proto,P=k._scope;return v.proc=v.none=f,k.$include(P.Enumerable),e.defs(k,"$[]",function(o){return o=d.call(arguments,0),e.hash.apply(null,o)}),e.defs(k,"$allocate",function(){var e=this,o=new e._alloc;return o.map={},o.keys=[],o.none=f,o.proc=f,o}),v.$initialize=u=function(e){var o=this,n=u._p,d=n||f;return u._p=null,o.none=void 0===e?f:e,o.proc=d,o},v["$=="]=function(e){var o=this;if(o===e)return!0;if(!e.map||!e.keys)return!1;if(o.keys.length!==e.keys.length)return!1;for(var f=o.map,n=e.map,d=0,i=o.keys.length;i>d;d++){var t=o.keys[d],l=f[t],u=n[t];if(void 0===u||l["$=="](u)["$!"]())return!1}return!0},v["$[]"]=function(o){var n=this,d=n.map;if(e.hasOwnProperty.call(d,o))return d[o];var i=n.proc;return i!==f?i.$call(n,o):n.none},v["$[]="]=function(o,f){var n=this,d=n.map;return e.hasOwnProperty.call(d,o)||n.keys.push(o),d[o]=f,f},v.$assoc=function(e){for(var o,n=this,d=n.keys,i=0,t=d.length;t>i;i++)if(o=d[i],o["$=="](e))return[o,n.map[o]];return f},v.$clear=function(){var e=this;return e.map={},e.keys=[],e},v.$clone=function(){for(var e=this,o={},f=[],n=0,d=e.keys.length;d>n;n++){var i=e.keys[n],t=e.map[i];f.push(i),o[i]=t}var l=new e._klass._alloc;return l.map=o,l.keys=f,l.none=e.none,l.proc=e.proc,l},v.$default=function(e){var o=this;return void 0!==e&&o.proc!==f?o.proc.$call(o,e):o.none},v["$default="]=function(e){var o=this;return o.proc=f,o.none=e},v.$default_proc=function(){var e=this;return e.proc},v["$default_proc="]=function(e){var o=this;return e!==f&&(e=P.Opal["$coerce_to!"](e,P.Proc,"to_proc"),e["$lambda?"]()&&2!=e.$arity().$abs()&&o.$raise(P.TypeError,"default_proc takes two arguments")),o.none=f,o.proc=e},v.$delete=s=function(e){var o=this,n=s._p,d=n||f;s._p=null;var i=o.map,t=i[e];return null!=t?(delete i[e],o.keys.$delete(e),t):d!==f?d.$call(e):f},v.$delete_if=p=function(){var e=this,o=p._p,d=o||f;if(p._p=null,d===!1||d===f)return e.$enum_for("delete_if");for(var i,t=e.map,l=e.keys,u=0,s=l.length;s>u;u++){var r=l[u],y=t[r];if((i=d(r,y))===n)return n.$v;i!==!1&&i!==f&&(l.splice(u,1),delete t[r],s--,u--)}return e},e.defn(k,"$dup",v.$clone),v.$each=r=function(){var o=this,d=r._p,i=d||f;if(r._p=null,i===!1||i===f)return o.$enum_for("each");for(var t=o.map,l=o.keys,u=0,s=l.length;s>u;u++){var p=l[u],y=e.$yield1(i,[p,t[p]]);if(y===n)return n.$v}return o},v.$each_key=y=function(){var e=this,o=y._p,d=o||f;if(y._p=null,d===!1||d===f)return e.$enum_for("each_key");for(var i=e.keys,t=0,l=i.length;l>t;t++){var u=i[t];if(d(u)===n)return n.$v}return e},e.defn(k,"$each_pair",v.$each),v.$each_value=a=function(){var e=this,o=a._p,d=o||f;if(a._p=null,d===!1||d===f)return e.$enum_for("each_value");for(var i=e.map,t=e.keys,l=0,u=t.length;u>l;l++)if(d(i[t[l]])===n)return n.$v;return e},v["$empty?"]=function(){var e=this;return 0===e.keys.length},e.defn(k,"$eql?",v["$=="]),v.$fetch=c=function(e,o){var d=this,i=c._p,t=i||f;c._p=null;var l=d.map[e];if(null!=l)return l;if(t!==f){var l;return(l=t(e))===n?n.$v:l}return null!=o?o:void d.$raise(P.KeyError,"key not found")},v.$flatten=function(e){for(var o=this,f=o.map,n=o.keys,d=[],i=0,t=n.length;t>i;i++){var l=n[i],u=f[l];d.push(l),u._isArray?null==e||1===e?d.push(u):d=d.concat(u.$flatten(e-1)):d.push(u)}return d},v["$has_key?"]=function(o){var f=this;return e.hasOwnProperty.call(f.map,o)},v["$has_value?"]=function(e){var o=this;for(var f in o.map)if(o.map[f]["$=="](e))return!0;return!1},v.$hash=function(){var e=this;return e._id},e.defn(k,"$include?",v["$has_key?"]),v.$index=function(e){for(var o=this,n=o.map,d=o.keys,i=0,t=d.length;t>i;i++){var l=d[i];if(n[l]["$=="](e))return l}return f},v.$indexes=function(e){var o=this;e=d.call(arguments,0);for(var f,n=[],i=o.map,t=0,l=e.length;l>t;t++){var u=e[t],f=i[u];null!=f?n.push(f):n.push(o.none)}return n},e.defn(k,"$indices",v.$indexes),v.$inspect=function(){for(var e=this,o=[],f=e.keys,n=e.map,d=0,i=f.length;i>d;d++){var t=f[d],l=n[t];l===e?o.push(t.$inspect()+"=>{...}"):o.push(t.$inspect()+"=>"+n[t].$inspect())}return"{"+o.join(", ")+"}"},v.$invert=function(){for(var o=this,f=e.hash(),n=o.keys,d=o.map,i=f.keys,t=f.map,l=0,u=n.length;u>l;l++){var s=n[l],p=d[s];i.push(p),t[p]=s}return f},v.$keep_if=b=function(){var e=this,o=b._p,d=o||f;if(b._p=null,d===!1||d===f)return e.$enum_for("keep_if");for(var i,t=e.map,l=e.keys,u=0,s=l.length;s>u;u++){var p=l[u],r=t[p];if((i=d(p,r))===n)return n.$v;(i===!1||i===f)&&(l.splice(u,1),delete t[p],s--,u--)}return e},e.defn(k,"$key",v.$index),e.defn(k,"$key?",v["$has_key?"]),v.$keys=function(){var e=this;return e.keys.slice(0)},v.$length=function(){var e=this;return e.keys.length},e.defn(k,"$member?",v["$has_key?"]),v.$merge=w=function(o){var n=this,d=w._p,i=d||f;w._p=null,P.Hash["$==="](o)||(o=P.Opal["$coerce_to!"](o,P.Hash,"to_hash"));for(var t=n.keys,l=n.map,u=e.hash(),s=u.keys,p=u.map,r=0,y=t.length;y>r;r++){var a=t[r];s.push(a),p[a]=l[a]}var t=o.keys,l=o.map;if(i===f)for(var r=0,y=t.length;y>r;r++){var a=t[r];null==p[a]&&s.push(a),p[a]=l[a]}else for(var r=0,y=t.length;y>r;r++){var a=t[r];null==p[a]?(s.push(a),p[a]=l[a]):p[a]=i(a,p[a],l[a])}return u},v["$merge!"]=g=function(e){var o=this,n=g._p,d=n||f;g._p=null,P.Hash["$==="](e)||(e=P.Opal["$coerce_to!"](e,P.Hash,"to_hash"));var i=o.keys,t=o.map,l=e.keys,u=e.map;if(d===f)for(var s=0,p=l.length;p>s;s++){var r=l[s];null==t[r]&&i.push(r),t[r]=u[r]}else for(var s=0,p=l.length;p>s;s++){var r=l[s];null==t[r]?(i.push(r),t[r]=u[r]):t[r]=d(r,t[r],u[r])}return o},v.$rassoc=function(e){for(var o=this,n=o.keys,d=o.map,i=0,t=n.length;t>i;i++){var l=n[i],u=d[l];if(u["$=="](e))return[l,u]}return f},v.$reject=m=function(){var o=this,d=m._p,i=d||f;if(m._p=null,i===!1||i===f)return o.$enum_for("reject");for(var t=o.keys,l=o.map,u=e.hash(),s=u.map,p=u.keys,r=0,y=t.length;y>r;r++){var a,c=t[r],b=l[c];if((a=i(c,b))===n)return n.$v;(a===!1||a===f)&&(p.push(c),s[c]=b)}return u},v.$replace=function(e){for(var o=this,f=o.map={},n=o.keys=[],d=0,i=e.keys.length;i>d;d++){var t=e.keys[d];n.push(t),
  f[t]=e.map[t]}return o},v.$select=x=function(){var o=this,d=x._p,i=d||f;if(x._p=null,i===!1||i===f)return o.$enum_for("select");for(var t=o.keys,l=o.map,u=e.hash(),s=u.map,p=u.keys,r=0,y=t.length;y>r;r++){var a,c=t[r],b=l[c];if((a=i(c,b))===n)return n.$v;a!==!1&&a!==f&&(p.push(c),s[c]=b)}return u},v["$select!"]=j=function(){var e=this,o=j._p,d=o||f;if(j._p=null,d===!1||d===f)return e.$enum_for("select!");for(var i,t=e.map,l=e.keys,u=f,s=0,p=l.length;p>s;s++){var r=l[s],y=t[r];if((i=d(r,y))===n)return n.$v;(i===!1||i===f)&&(l.splice(s,1),delete t[r],p--,s--,u=e)}return u},v.$shift=function(){var e=this,o=e.keys,n=e.map;if(o.length){var d=o[0],i=n[d];return delete n[d],o.splice(0,1),[d,i]}return f},e.defn(k,"$size",v.$length),k.$alias_method("store","[]="),v.$to_a=function(){for(var e=this,o=e.keys,f=e.map,n=[],d=0,i=o.length;i>d;d++){var t=o[d];n.push([t,f[t]])}return n},v.$to_h=function(){var e=this,o=new Opal.Hash._alloc,f=e.$clone();return o.map=f.map,o.keys=f.keys,o.none=f.none,o.proc=f.proc,o},v.$to_hash=function(){var e=this;return e},e.defn(k,"$to_s",v.$inspect),e.defn(k,"$update",v["$merge!"]),e.defn(k,"$value?",v["$has_value?"]),e.defn(k,"$values_at",v.$indexes),v.$values=function(){var e=this,o=e.map,f=[];for(var n in o)f.push(o[n]);return f},f&&"values"}(o,null)}(Opal),function($opal){var self=$opal.top,$scope=$opal,nil=$opal.nil,$breaker=$opal.breaker,$slice=$opal.slice,$klass=$opal.klass,$gvars=$opal.gvars;return $opal.add_stubs(["$include","$to_str","$===","$format","$coerce_to","$to_s","$respond_to?","$<=>","$raise","$=~","$empty?","$ljust","$ceil","$/","$+","$rjust","$floor","$to_a","$each_char","$to_proc","$coerce_to!","$initialize_clone","$initialize_dup","$enum_for","$split","$chomp","$escape","$class","$to_i","$name","$!","$each_line","$match","$new","$try_convert","$chars","$&","$join","$is_a?","$[]","$str","$value","$proc","$send"]),function($base,$super){function $String(){}var self=$String=$klass($base,$super,"String",$String),def=self._proto,$scope=self._scope,TMP_1,TMP_2,TMP_3,TMP_4,TMP_5,TMP_6,TMP_7;return def.length=nil,self.$include($scope.Comparable),def._isString=!0,$opal.defs(self,"$try_convert",function(e){try{return e.$to_str()}catch(o){return nil}}),$opal.defs(self,"$new",function(e){return null==e&&(e=""),new String(e)}),def["$%"]=function(e){var o,f=this;return(o=$scope.Array["$==="](e))===nil||o._isBoolean&&1!=o?f.$format(f,e):(o=f).$format.apply(o,[f].concat(e))},def["$*"]=function(e){var o=this;if(1>e)return"";for(var f="",n=o;e>0;)1&e&&(f+=n),e>>=1,n+=n;return f},def["$+"]=function(e){var o=this;return e=$scope.Opal.$coerce_to(e,$scope.String,"to_str"),o+e.$to_s()},def["$<=>"]=function(e){var o,f=this;if((o=e["$respond_to?"]("to_str"))===nil||o._isBoolean&&1!=o){var n=e["$<=>"](f);return n===nil?nil:n>0?-1:0>n?1:0}return e=e.$to_str().$to_s(),f>e?1:e>f?-1:0},def["$=="]=function(e){var o,f=this;return(o=$scope.String["$==="](e))===nil||o._isBoolean&&1!=o?!1:f.$to_s()==e.$to_s()},$opal.defn(self,"$eql?",def["$=="]),$opal.defn(self,"$===",def["$=="]),def["$=~"]=function(e){var o=this;return e._isString&&o.$raise($scope.TypeError,"type mismatch: String given"),e["$=~"](o)},def["$[]"]=function(e,o){var f=this,n=f.length;if(e._isRange){var d=e.exclude,o=e.end,e=e.begin;return 0>e&&(e+=n),0>o&&(o+=n),d||(o+=1),e>n?nil:(o-=e,0>o&&(o=0),f.substr(e,o))}return 0>e&&(e+=f.length),null==o?e>=f.length||0>e?nil:f.substr(e,1):e>f.length||0>e?nil:f.substr(e,o)},def.$capitalize=function(){var e=this;return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()},def.$casecmp=function(e){var o=this;return e=$scope.Opal.$coerce_to(e,$scope.String,"to_str").$to_s(),o.toLowerCase()["$<=>"](e.toLowerCase())},def.$center=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=n.$ljust(e["$+"](n.length)["$/"](2).$ceil(),o),i=n.$rjust(e["$+"](n.length)["$/"](2).$floor(),o);return i+d.slice(n.length)},def.$chars=TMP_1=function(){var e,o,f=this,n=TMP_1._p,d=n||nil;return TMP_1._p=null,d===!1||d===nil?f.$each_char().$to_a():(e=(o=f).$each_char,e._p=d.$to_proc(),e).call(o)},def.$chomp=function(e){var o,f=this;if(null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),(o=e===nil||0===f.length)!==nil&&(!o._isBoolean||1==o))return f;if(e=$scope.Opal["$coerce_to!"](e,$scope.String,"to_str").$to_s(),"\n"===e)return f.replace(/\r?\n?$/,"");if(""===e)return f.replace(/(\r?\n)+$/,"");if(f.length>e.length){var n=f.substr(f.length-e.length,e.length);if(n===e)return f.substr(0,f.length-e.length)}return f},def.$chop=function(){var e=this,o=e.length;return 1>=o?"":"\n"===e.charAt(o-1)&&"\r"===e.charAt(o-2)?e.substr(0,o-2):e.substr(0,o-1)},def.$chr=function(){var e=this;return e.charAt(0)},def.$clone=function(){var e=this,o=nil;return o=e.slice(),o.$initialize_clone(e),o},def.$dup=function(){var e=this,o=nil;return o=e.slice(),o.$initialize_dup(e),o},def.$count=function(e){var o=this;return(o.length-o.replace(new RegExp(e,"g"),"").length)/e.length},$opal.defn(self,"$dup",def.$clone),def.$downcase=function(){var e=this;return e.toLowerCase()},def.$each_char=TMP_2=function(){var e,o=this,f=TMP_2._p,n=f||nil;if(TMP_2._p=null,n===nil)return o.$enum_for("each_char");for(var d=0,i=o.length;i>d;d++)(e=$opal.$yield1(n,o.charAt(d)))===$breaker?$breaker.$v:e;return o},def.$each_line=TMP_3=function(e){var o,f=this,n=TMP_3._p,d=n||nil;if(null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),TMP_3._p=null,d===nil)return f.$split(e);for(var i=f.$chomp(),t=f.length!=i.length,l=i.split(e),u=0,s=l.length;s>u;u++)s-1>u||t?(o=$opal.$yield1(d,l[u]+e))===$breaker?$breaker.$v:o:(o=$opal.$yield1(d,l[u]))===$breaker?$breaker.$v:o;return f},def["$empty?"]=function(){var e=this;return 0===e.length},def["$end_with?"]=function(e){var o=this;e=$slice.call(arguments,0);for(var f=0,n=e.length;n>f;f++){var d=$scope.Opal.$coerce_to(e[f],$scope.String,"to_str").$to_s();if(o.length>=d.length&&o.substr(o.length-d.length,d.length)==d)return!0}return!1},$opal.defn(self,"$eql?",def["$=="]),$opal.defn(self,"$equal?",def["$==="]),def.$gsub=TMP_4=function(e,o){var f,n,d=this,i=TMP_4._p,t=i||nil;TMP_4._p=null,(f=(n=$scope.String["$==="](e))!==!1&&n!==nil?n:e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f||(e=new RegExp(""+$scope.Regexp.$escape(e.$to_str()))),((f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f)&&d.$raise($scope.TypeError,"wrong argument type "+e.$class()+" (expected Regexp)");var e=e.toString(),l=e.substr(e.lastIndexOf("/")+1)+"g",u=e.substr(1,e.lastIndexOf("/")-1);return d.$sub._p=t,d.$sub(new RegExp(u,l),o)},def.$hash=function(){var e=this;return e.toString()},def.$hex=function(){var e=this;return e.$to_i(16)},def["$include?"]=function(e){var o,f=this;return e._isString?-1!==f.indexOf(e):(((o=e["$respond_to?"]("to_str"))===nil||o._isBoolean&&1!=o)&&f.$raise($scope.TypeError,"no implicit conversion of "+e.$class().$name()+" into String"),-1!==f.indexOf(e.$to_str()))},def.$index=function(e,o){var f,n=this,d=nil;if(null==o&&(o=nil),(f=$scope.String["$==="](e))===nil||f._isBoolean&&1!=f?(f=e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f?(f=$scope.Regexp["$==="](e)["$!"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.TypeError,"type mismatch: "+e.$class()+" given"):e=e.$to_str().$to_s():e=e.$to_s(),d=-1,o!==!1&&o!==nil){o=$scope.Opal.$coerce_to(o,$scope.Integer,"to_int");var i=n.length;if(0>o&&(o+=i),o>i)return nil;d=(f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f?n.substr(o).indexOf(e):(f=e["$=~"](n.substr(o)))!==!1&&f!==nil?f:-1,-1!==d&&(d+=o)}else d=(f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f?n.indexOf(e):(f=e["$=~"](n))!==!1&&f!==nil?f:-1;return(f=-1===d)===nil||f._isBoolean&&1!=f?d:nil},def.$inspect=function(){var e=this,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(e)?'"'+e.replace(o,function(e){var o=f[e];return"string"==typeof o?o:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},def.$intern=function(){var e=this;return e},def.$lines=function(e){var o=this;return null==$gvars["/"]&&($gvars["/"]=nil),null==e&&(e=$gvars["/"]),o.$each_line(e).$to_a()},def.$length=function(){var e=this;return e.length},def.$ljust=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=-1,i="";for(e-=n.length;++d<e;)i+=o;return n+i.slice(0,e)},def.$lstrip=function(){var e=this;return e.replace(/^\s*/,"")},def.$match=TMP_5=function(e,o){var f,n,d=this,i=TMP_5._p,t=i||nil;return TMP_5._p=null,(f=(n=$scope.String["$==="](e))!==!1&&n!==nil?n:e["$respond_to?"]("to_str"))===nil||f._isBoolean&&1!=f||(e=new RegExp(""+$scope.Regexp.$escape(e.$to_str()))),((f=$scope.Regexp["$==="](e))===nil||f._isBoolean&&1!=f)&&d.$raise($scope.TypeError,"wrong argument type "+e.$class()+" (expected Regexp)"),(f=(n=e).$match,f._p=t.$to_proc(),f).call(n,d,o)},def.$next=function(){var e=this;if(0===e.length)return"";var o=e.substr(0,e.length-1),f=String.fromCharCode(e.charCodeAt(e.length-1)+1);return o+f},def.$ord=function(){var e=this;return e.charCodeAt(0)},def.$partition=function(e){var o=this,f=o.split(e),n=f[0].length===o.length?"":e;return[f[0],n,f.slice(1).join(e.toString())]},def.$reverse=function(){var e=this;return e.split("").reverse().join("")},def.$rindex=function(e,o){var f=this,n=null==e?Opal.NilClass:e.constructor;if(n!=String&&n!=RegExp){var d="type mismatch: "+n+" given";f.$raise($scope.TypeError.$new(d))}if(0==f.length)return 0==e.length?0:nil;var i=-1;return null!=o?(0>o&&(o=f.length+o),n==String?i=f.lastIndexOf(e,o):(i=f.substr(0,o+1).$reverse().search(e),-1!==i&&(i=o-i))):n==String?i=f.lastIndexOf(e):(i=f.$reverse().search(e),-1!==i&&(i=f.length-1-i)),-1===i?nil:i},def.$rjust=function(e,o){var f,n=this;if(null==o&&(o=" "),e=$scope.Opal.$coerce_to(e,$scope.Integer,"to_int"),o=$scope.Opal.$coerce_to(o,$scope.String,"to_str").$to_s(),(f=o["$empty?"]())===nil||f._isBoolean&&1!=f||n.$raise($scope.ArgumentError,"zero width padding"),(f=e<=n.length)!==nil&&(!f._isBoolean||1==f))return n;var d=Math.floor(e-n.length),i=Math.floor(d/o.length),t=Array(i+1).join(o),l=d-t.length;return t+o.slice(0,l)+n},def.$rstrip=function(){var e=this;return e.replace(/\s*$/,"")},def.$scan=TMP_6=function(e){var o=this,f=TMP_6._p,n=f||nil;TMP_6._p=null,e.global?e.lastIndex=0:e=new RegExp(e.source,"g"+(e.multiline?"m":"")+(e.ignoreCase?"i":""));for(var d,i=[];null!=(d=e.exec(o));){$scope.MatchData.$new(e,d);n===nil?1==d.length?i.push(d[0]):i.push(d.slice(1)):1==d.length?n(d[0]):n.apply(o,d.slice(1))}return n!==nil?o:i},$opal.defn(self,"$size",def.$length),$opal.defn(self,"$slice",def["$[]"]),def.$split=function(pattern,limit){var self=this,$a;null==$gvars[";"]&&($gvars[";"]=nil),null==pattern&&(pattern=($a=$gvars[";"])!==!1&&$a!==nil?$a:" "),(pattern===nil||void 0===pattern)&&(pattern=$gvars[";"]);var result=[];if(void 0!==limit&&(limit=$scope.Opal["$coerce_to!"](limit,$scope.Integer,"to_int")),0===self.length)return[];if(1===limit)return[self];if(pattern&&pattern._isRegexp){var pattern_str=pattern.toString(),blank_pattern="/^/"==pattern_str.substr(0,3)||"/(?:)/"==pattern_str.substr(0,6);if(void 0===limit||0===limit)result=self.split(blank_pattern?/(?:)/:pattern);else{pattern.global||(pattern=eval(pattern_str+"g"));var match_data,prev_index=0;for(pattern.lastIndex=0;null!==(match_data=pattern.exec(self));){var segment=self.slice(prev_index,match_data.index);if(result.push(segment),prev_index=pattern.lastIndex,0===match_data[0].length){blank_pattern&&(pattern=/(?:)/),result=self.split(pattern),void 0!==limit&&0>limit&&blank_pattern&&result.push(""),prev_index=void 0;break}if(void 0!==limit&&limit>1&&result.length+1==limit)break}void 0!==prev_index&&result.push(self.slice(prev_index,self.length))}}else{var splitted=0,start=0,lim=0;pattern=pattern===nil||void 0===pattern?" ":$scope.Opal.$try_convert(pattern,$scope.String,"to_str").$to_s();for(var string=" "==pattern?self.replace(/[\r\n\t\v]\s+/g," "):self,cursor=-1;(cursor=string.indexOf(pattern,start))>-1&&cursor<string.length&&splitted+1!==limit;)" "!=pattern||cursor!=start?(result.push(string.substr(start,pattern.length?cursor-start:1)),splitted++,start=cursor+(pattern.length?pattern.length:1)):start=cursor+1;string.length>0&&(0>limit||string.length>start)&&(string.length==start?result.push(""):result.push(string.substr(start,string.length)))}if(void 0===limit||0===limit)for(;""===result[result.length-1];)result.length=result.length-1;if(limit>0){var tail=result.slice(limit-1).join("");result.splice(limit-1,result.length-1,tail)}return result},def.$squeeze=function(e){var o=this;if(e=$slice.call(arguments,0),0===e.length)return o.replace(/(.)\1+/g,"$1");for(var f=$scope.Opal.$coerce_to(e[0],$scope.String,"to_str").$chars(),n=1,d=e.length;d>n;n++)f=f["$&"]($scope.Opal.$coerce_to(e[n],$scope.String,"to_str").$chars());return 0===f.length?o:o.replace(new RegExp("(["+$scope.Regexp.$escape(f.$join())+"])\\1+","g"),"$1")},def["$start_with?"]=function(e){var o=this;e=$slice.call(arguments,0);for(var f=0,n=e.length;n>f;f++){var d=$scope.Opal.$coerce_to(e[f],$scope.String,"to_str").$to_s();if(0===o.indexOf(d))return!0}return!1},def.$strip=function(){var e=this;return e.replace(/^\s*/,"").replace(/\s*$/,"")},def.$sub=TMP_7=function(e,o){var f=this,n=TMP_7._p,d=n||nil;return TMP_7._p=null,"string"==typeof o?(o=o.replace(/\\([1-9])/g,"$$$1"),f.replace(e,o)):d!==nil?f.replace(e,function(){for(var e=[],o=0,f=arguments.length;f>o;o++){var n=arguments[o];void 0==n?e.push(nil):e.push(n)}e.pop(),e.pop(),e.length;return $gvars["&"]=e[0],$gvars["~"]=e,d(e[0])}):void 0!==o?o["$is_a?"]($scope.Hash)?f.replace(e,function(e){var n=o["$[]"](f.$str());return null==n?nil:f.$value().$to_s()}):(o=$scope.String.$try_convert(o),null==o&&f.$raise($scope.TypeError,"can't convert "+o.$class()+" into String"),f.replace(e,o)):(o=o.toString().replace(/\\([1-9])/g,"$$$1"),f.replace(e,o))},$opal.defn(self,"$succ",def.$next),def.$sum=function(e){var o=this;null==e&&(e=16);for(var f=0,n=0,d=o.length;d>n;n++)f+=o.charCodeAt(n)%((1<<e)-1);return f},def.$swapcase=function(){var e=this,o=e.replace(/([a-z]+)|([A-Z]+)/g,function(e,o,f){return o?e.toUpperCase():e.toLowerCase()});return e.constructor===String?o:e.$class().$new(o)},def.$to_f=function(){var e=this;if("_"===e.charAt(0))return 0;var o=parseFloat(e.replace(/_/g,""));return isNaN(o)||o==1/0||o==-(1/0)?0:o},def.$to_i=function(e){var o=this;null==e&&(e=10);var f=parseInt(o,e);return isNaN(f)?0:f},def.$to_proc=function(){var e,o,f,n=this;return(e=(o=n).$proc,e._p=(f=function(e,o){var n,d=f._s||this;return null==e&&(e=nil),o=$slice.call(arguments,1),(n=e).$send.apply(n,[d].concat(o))},f._s=n,f),e).call(o)},def.$to_s=function(){var e=this;return e.toString()},$opal.defn(self,"$to_str",def.$to_s),$opal.defn(self,"$to_sym",def.$intern),def.$tr=function(e,o){var f=this;if(0==e.length||e===o)return f;var n={},d=e.split(""),i=d.length,t=o.split(""),l=t.length,u=!1,s=null;"^"===d[0]&&(u=!0,d.shift(),s=t[l-1],i-=1);for(var p=[],r=null,y=!1,a=0;i>a;a++){var c=d[a];if(null==r)r=c,p.push(c);else if("-"===c)"-"===r?(p.push("-"),p.push("-")):a==i-1?p.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)p.push(String.fromCharCode(g));p.push(c),y=null,r=null}else p.push(c)}if(d=p,i=d.length,u)for(var a=0;i>a;a++)n[d[a]]=!0;else{if(l>0){for(var m=[],x=null,y=!1,a=0;l>a;a++){var c=t[a];if(null==r)r=c,m.push(c);else if("-"===c)"-"===x?(m.push("-"),m.push("-")):a==l-1?m.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)m.push(String.fromCharCode(g));m.push(c),y=null,r=null}else m.push(c)}t=m,l=t.length}var j=i-l;if(j>0)for(var k=l>0?t[l-1]:"",a=0;j>a;a++)t.push(k);for(var a=0;i>a;a++)n[d[a]]=t[a]}for(var v="",a=0,P=f.length;P>a;a++){var c=f.charAt(a),h=n[c];v+=u?null==h?s:c:null!=h?h:c}return v},def.$tr_s=function(e,o){var f=this;if(0==e.length)return f;var n={},d=e.split(""),i=d.length,t=o.split(""),l=t.length,u=!1,s=null;"^"===d[0]&&(u=!0,d.shift(),s=t[l-1],i-=1);for(var p=[],r=null,y=!1,a=0;i>a;a++){var c=d[a];if(null==r)r=c,p.push(c);else if("-"===c)"-"===r?(p.push("-"),p.push("-")):a==i-1?p.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)p.push(String.fromCharCode(g));p.push(c),y=null,r=null}else p.push(c)}if(d=p,i=d.length,u)for(var a=0;i>a;a++)n[d[a]]=!0;else{if(l>0){for(var m=[],x=null,y=!1,a=0;l>a;a++){var c=t[a];if(null==r)r=c,m.push(c);else if("-"===c)"-"===x?(m.push("-"),m.push("-")):a==l-1?m.push("-"):y=!0;else if(y){for(var b=r.charCodeAt(0)+1,w=c.charCodeAt(0),g=b;w>g;g++)m.push(String.fromCharCode(g));m.push(c),y=null,r=null}else m.push(c)}t=m,l=t.length}var j=i-l;if(j>0)for(var k=l>0?t[l-1]:"",a=0;j>a;a++)t.push(k);for(var a=0;i>a;a++)n[d[a]]=t[a]}for(var v="",P=null,a=0,h=f.length;h>a;a++){var c=f.charAt(a),q=n[c];u?null==q?null==P&&(v+=s,P=!0):(v+=c,P=null):null!=q?(null==P||P!==q)&&(v+=q,P=q):(v+=c,P=null)}return v},def.$upcase=function(){var e=this;return e.toUpperCase()},def.$freeze=function(){var e=this;return e},def["$frozen?"]=function(){return!0},nil&&"frozen?"}(self,null),$opal.cdecl($scope,"Symbol",$scope.String)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice),i=e.klass;return e.add_stubs(["$new","$allocate","$initialize","$to_proc","$__send__","$class","$clone","$respond_to?","$==","$inspect"]),function(o,f){function d(){}var t=d=i(o,f,"String",d),l=(t._proto,t._scope);return e.defs(t,"$inherited",function(e){var o=n;o=l.Class.$new(l.String._scope.Wrapper),e._proto=o._proto,e._proto._klass=e,e._alloc=o._alloc,e.__parent=l.String._scope.Wrapper,e.$allocate=o.$allocate,e.$new=o.$new}),n&&"inherited"}(o,null),function(o,f){function t(){}var l,u,s,p,r=t=i(o,f,"Wrapper",t),y=r._proto;r._scope;return y.literal=n,e.defs(r,"$allocate",l=function(o){var f=this,d=(l._p,n);return null==o&&(o=""),l._p=null,d=e.find_super_dispatcher(f,"allocate",l,null,t).apply(f,[]),d.literal=o,d}),e.defs(r,"$new",u=function(e){var o,f,i=this,t=u._p,l=t||n,s=n;return e=d.call(arguments,0),u._p=null,s=i.$allocate(),(o=(f=s).$initialize,o._p=l.$to_proc(),o).apply(f,[].concat(e)),s}),e.defs(r,"$[]",function(e){var o=this;return e=d.call(arguments,0),o.$allocate(e)}),y.$initialize=function(e){var o=this;return null==e&&(e=""),o.literal=e},y.$method_missing=s=function(e){var o,f,i=this,t=s._p,l=t||n,u=n;return e=d.call(arguments,0),s._p=null,u=(o=(f=i.literal).$__send__,o._p=l.$to_proc(),o).apply(f,[].concat(e)),(o=null!=u._isString)===n||o._isBoolean&&1!=o?u:(o=u==i.literal)===n||o._isBoolean&&1!=o?i.$class().$allocate(u):i},y.$initialize_copy=function(e){var o=this;return o.literal=e.literal.$clone()},y["$respond_to?"]=p=function(o){var f,i=d.call(arguments,0),t=this,l=p._p;return p._p=null,(f=e.find_super_dispatcher(t,"respond_to?",p,l).apply(t,i))!==!1&&f!==n?f:t.literal["$respond_to?"](o)},y["$=="]=function(e){var o=this;return o.literal["$=="](e)},e.defn(r,"$eql?",y["$=="]),e.defn(r,"$===",y["$=="]),y.$to_s=function(){var e=this;return e.literal},y.$to_str=function(){var e=this;return e},y.$inspect=function(){var e=this;return e.literal.$inspect()},n&&"inspect"}(f.String,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass,i=e.gvars;return e.add_stubs(["$attr_reader","$pre_match","$post_match","$[]","$===","$!","$==","$raise","$inspect"]),function(o,t){function l(){}var u,s=l=d(o,t,"MatchData",l),p=s._proto,r=s._scope;return p.string=p.matches=p.begin=f,s.$attr_reader("post_match","pre_match","regexp","string"),e.defs(s,"$new",u=function(o,n){var d=this,t=(u._p,f);return u._p=null,t=e.find_super_dispatcher(d,"new",u,null,l).apply(d,[o,n]),i["`"]=t.$pre_match(),i["'"]=t.$post_match(),i["~"]=t,t}),p.$initialize=function(e,o){var n=this;n.regexp=e,n.begin=o.index,n.string=o.input,n.pre_match=n.string.substr(0,e.lastIndex-o[0].length),n.post_match=n.string.substr(e.lastIndex),n.matches=[];for(var d=0,i=o.length;i>d;d++){var t=o[d];null==t?n.matches.push(f):n.matches.push(t)}},p["$[]"]=function(e){var o,f=this;return e=n.call(arguments,0),(o=f.matches)["$[]"].apply(o,[].concat(e))},p["$=="]=function(e){var o,n,d,i,t=this;return(o=r.MatchData["$==="](e))===f||o._isBoolean&&1!=o?!1:(i=t.string==e.string,d=i!==!1&&i!==f?t.regexp==e.regexp:i,n=d!==!1&&d!==f?t.pre_match==e.pre_match:d,o=n!==!1&&n!==f?t.post_match==e.post_match:n,o!==!1&&o!==f?t.begin==e.begin:o)},p.$begin=function(e){var o,n,d=this;return n=e["$=="](0)["$!"](),(o=n!==!1&&n!==f?e["$=="](1)["$!"]():n)===f||o._isBoolean&&1!=o||d.$raise(r.ArgumentError,"MatchData#begin only supports 0th element"),d.begin},p.$captures=function(){var e=this;return e.matches.slice(1)},p.$inspect=function(){for(var e=this,o="#<MatchData "+e.matches[0].$inspect(),f=1,n=e.matches.length;n>f;f++)o+=" "+f+":"+e.matches[f].$inspect();return o+">"},p.$length=function(){var e=this;return e.matches.length},e.defn(s,"$size",p.$length),p.$to_a=function(){var e=this;return e.matches},p.$to_s=function(){var e=this;return e.matches[0]},p.$values_at=function(e){var o=this;e=n.call(arguments,0);for(var d=[],i=o.matches.length,t=0,l=e.length;l>t;t++){var u=e[t];u>=0?d.push(o.matches[u]):(u+=i,u>0?d.push(o.matches[u]):d.push(f))}return d},f&&"values_at"}(o,null)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=e.breaker,i=e.slice,t=e.klass;return e.add_stubs(["$include","$coerce","$===","$raise","$class","$__send__","$send_coerced","$to_int","$coerce_to!","$-@","$**","$-","$respond_to?","$==","$enum_for","$gcd","$lcm","$<","$>","$floor","$/","$%"]),function(o,f){function l(){}var u,s,p,r,y,a,c=l=t(o,f,"Numeric",l),b=c._proto,w=c._scope;return c.$include(w.Comparable),b._isNumber=!0,b.$coerce=function(e,o){var f=this,d=n;null==o&&(o="operation");try{return e._isNumber?[f,e]:e.$coerce(f)}catch(i){return function(){return d=o,"operation"["$==="](d)?f.$raise(w.TypeError,""+e.$class()+" can't be coerce into Numeric"):"comparison"["$==="](d)?f.$raise(w.ArgumentError,"comparison of "+f.$class()+" with "+e.$class()+" failed"):n}()}},b.$send_coerced=function(o,f){var d,i=this,t=n,l=n,u=n,s=n;return t=function(){return l=o,"+"["$==="](l)||"-"["$==="](l)||"*"["$==="](l)||"/"["$==="](l)||"%"["$==="](l)||"&"["$==="](l)||"|"["$==="](l)||"^"["$==="](l)||"**"["$==="](l)?"operation":">"["$==="](l)||">="["$==="](l)||"<"["$==="](l)||"<="["$==="](l)||"<=>"["$==="](l)?"comparison":n}(),d=e.to_ary(i.$coerce(f,t)),u=null==d[0]?n:d[0],s=null==d[1]?n:d[1],u.$__send__(o,s)},b["$+"]=function(e){var o=this;return e._isNumber?o+e:o.$send_coerced("+",e)},b["$-"]=function(e){var o=this;return e._isNumber?o-e:o.$send_coerced("-",e)},b["$*"]=function(e){var o=this;return e._isNumber?o*e:o.$send_coerced("*",e)},b["$/"]=function(e){var o=this;return e._isNumber?o/e:o.$send_coerced("/",e)},b["$%"]=function(e){var o=this;return e._isNumber?0>e||0>o?(o%e+e)%e:o%e:o.$send_coerced("%",e)},b["$&"]=function(e){var o=this;return e._isNumber?o&e:o.$send_coerced("&",e)},b["$|"]=function(e){var o=this;return e._isNumber?o|e:o.$send_coerced("|",e)},b["$^"]=function(e){var o=this;return e._isNumber?o^e:o.$send_coerced("^",e)},b["$<"]=function(e){var o=this;return e._isNumber?e>o:o.$send_coerced("<",e)},b["$<="]=function(e){var o=this;return e._isNumber?e>=o:o.$send_coerced("<=",e)},b["$>"]=function(e){var o=this;return e._isNumber?o>e:o.$send_coerced(">",e)},b["$>="]=function(e){var o=this;return e._isNumber?o>=e:o.$send_coerced(">=",e)},b["$<=>"]=function(o){var f=this;try{return o._isNumber?f>o?1:o>f?-1:0:f.$send_coerced("<=>",o)}catch(d){if(e.$rescue(d,[w.ArgumentError]))return n;throw d}},b["$<<"]=function(e){var o=this;return o<<e.$to_int()},b["$>>"]=function(e){var o=this;return o>>e.$to_int()},b["$[]"]=function(e){var o=this,f=n,d=n;return e=w.Opal["$coerce_to!"](e,w.Integer,"to_int"),f=2["$**"](30)["$-@"](),d=2["$**"](30)["$-"](1),f>e||e>d?0:(o>>e)%2},b["$+@"]=function(){var e=this;return+e},b["$-@"]=function(){var e=this;return-e},b["$~"]=function(){var e=this;return~e},b["$**"]=function(e){var o=this;return e._isNumber?Math.pow(o,e):o.$send_coerced("**",e)},b["$=="]=function(e){var o=this;return e._isNumber?o==Number(e):e["$respond_to?"]("==")?e["$=="](o):!1},b.$abs=function(){var e=this;return Math.abs(e)},b.$ceil=function(){var e=this;return Math.ceil(e)},b.$chr=function(){var e=this;return String.fromCharCode(e)},b.$conj=function(){var e=this;return e},e.defn(c,"$conjugate",b.$conj),b.$downto=u=function(e){var o=this,f=u._p,i=f||n;if(u._p=null,i===!1||i===n)return o.$enum_for("downto",e);for(var t=o;t>=e;t--)if(i(t)===d)return d.$v;return o},e.defn(c,"$eql?",b["$=="]),e.defn(c,"$equal?",b["$=="]),b["$even?"]=function(){var e=this;return e%2===0},b.$floor=function(){var e=this;return Math.floor(e)},b.$gcd=function(e){var o,f=this;((o=w.Integer["$==="](e))===n||o._isBoolean&&1!=o)&&f.$raise(w.TypeError,"not an integer");for(var d=Math.abs(f),i=Math.abs(e);d>0;){var t=d;d=i%d,i=t}return i},b.$gcdlcm=function(e){var o=this;return[o.$gcd(),o.$lcm()]},b.$hash=function(){var e=this;return e.toString()},b["$integer?"]=function(){var e=this;return e%1===0},b["$is_a?"]=s=function(o){var f,d,t=i.call(arguments,0),l=this,u=s._p;return s._p=null,((f=(d=o["$=="](w.Fixnum))?w.Integer["$==="](l):d)===n||f._isBoolean&&1!=f)&&((f=(d=o["$=="](w.Integer))?w.Integer["$==="](l):d)===n||f._isBoolean&&1!=f)&&((f=(d=o["$=="](w.Float))?w.Float["$==="](l):d)===n||f._isBoolean&&1!=f)?e.find_super_dispatcher(l,"is_a?",s,u).apply(l,t):!0},e.defn(c,"$kind_of?",b["$is_a?"]),b["$instance_of?"]=p=function(o){var f,d,t=i.call(arguments,0),l=this,u=p._p;return p._p=null,((f=(d=o["$=="](w.Fixnum))?w.Integer["$==="](l):d)===n||f._isBoolean&&1!=f)&&((f=(d=o["$=="](w.Integer))?w.Integer["$==="](l):d)===n||f._isBoolean&&1!=f)&&((f=(d=o["$=="](w.Float))?w.Float["$==="](l):d)===n||f._isBoolean&&1!=f)?e.find_super_dispatcher(l,"instance_of?",p,u).apply(l,t):!0},b.$lcm=function(e){var o,f=this;return((o=w.Integer["$==="](e))===n||o._isBoolean&&1!=o)&&f.$raise(w.TypeError,"not an integer"),0==f||0==e?0:Math.abs(f*e/f.$gcd(e))},e.defn(c,"$magnitude",b.$abs),e.defn(c,"$modulo",b["$%"]),b.$next=function(){var e=this;return e+1},b["$nonzero?"]=function(){var e=this;return 0==e?n:e},b["$odd?"]=function(){var e=this;return e%2!==0},b.$ord=function(){var e=this;return e},b.$pred=function(){var e=this;return e-1},b.$round=function(){var e=this;return Math.round(e)},b.$step=r=function(e,o){var f,d=this,i=r._p,t=i||n;if(null==o&&(o=1),r._p=null,t===!1||t===n)return d.$enum_for("step",e,o);(f=0==o)===n||f._isBoolean&&1!=f||d.$raise(w.ArgumentError,"step cannot be 0");var l=d;if(o>0)for(;e>=l;)t(l),l+=o;else for(;l>=e;)t(l),l+=o;return d},e.defn(c,"$succ",b.$next),b.$times=y=function(){var e=this,o=y._p,f=o||n;if(y._p=null,f===!1||f===n)return e.$enum_for("times");for(var i=0;e>i;i++)if(f(i)===d)return d.$v;return e},b.$to_f=function(){var e=this;return e},b.$to_i=function(){var e=this;return parseInt(e)},e.defn(c,"$to_int",b.$to_i),b.$to_s=function(e){var o,f,d=this;return null==e&&(e=10),(o=(f=e["$<"](2))!==!1&&f!==n?f:e["$>"](36))===n||o._isBoolean&&1!=o||d.$raise(w.ArgumentError,"base must be between 2 and 36"),d.toString(e)},e.defn(c,"$inspect",b.$to_s),b.$divmod=function(e){var o=this,f=n,d=n;return f=o["$/"](e).$floor(),d=o["$%"](e),[f,d]},b.$upto=a=function(e){var o=this,f=a._p,i=f||n;if(a._p=null,i===!1||i===n)return o.$enum_for("upto",e);for(var t=o;e>=t;t++)if(i(t)===d)return d.$v;return o},b["$zero?"]=function(){var e=this;return 0==e},b.$size=function(){return 4},b["$nan?"]=function(){var e=this;return isNaN(e)},b["$finite?"]=function(){var e=this;return e!=1/0&&e!=-(1/0)},b["$infinite?"]=function(){var e=this;return e==1/0?1:e==-(1/0)?-1:n},b["$positive?"]=function(){var e=this;return 1/e>0},b["$negative?"]=function(){var e=this;return 0>1/e},n&&"negative?"}(o,null),e.cdecl(f,"Fixnum",f.Numeric),function(o,f){function d(){}var i=d=t(o,f,"Integer",d);i._proto,i._scope;return e.defs(i,"$===",function(e){return e._isNumber?e%1===0:!1}),n&&"==="}(o,f.Numeric),function(o,f){function d(){}var i,l=d=t(o,f,"Float",d),u=(l._proto,l._scope);return e.defs(l,"$===",function(e){return!!e._isNumber}),e.cdecl(u,"INFINITY",1/0),e.cdecl(u,"NAN",NaN),(i="undefined"!=typeof Number.EPSILON)===n||i._isBoolean&&1!=i?e.cdecl(u,"EPSILON",2.220446049250313e-16):e.cdecl(u,"EPSILON",Number.EPSILON)}(o,f.Numeric)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass);return e.add_stubs([]),function(e,o){function f(){}var i=f=d(e,o,"Complex",f);i._proto,i._scope;return n}(o,f.Numeric)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice,e.klass);return e.add_stubs([]),function(e,o){function f(){}var i=f=d(e,o,"Rational",f);i._proto,i._scope;return n}(o,f.Numeric)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass;return e.add_stubs(["$raise"]),function(o,t){function l(){}var u,s,p=l=i(o,t,"Proc",l),r=p._proto,y=p._scope;return r._isProc=!0,r.is_lambda=!1,e.defs(p,"$new",u=function(){var e=this,o=u._p,n=o||f;return u._p=null,n!==!1&&n!==f||e.$raise(y.ArgumentError,"tried to create a Proc object without a block"),n}),r.$call=s=function(e){var o=this,i=s._p,t=i||f;e=d.call(arguments,0),s._p=null,t!==f&&(o._p=t);var l;return l=o.is_lambda?o.apply(null,e):Opal.$yieldX(o,e),l===n?n.$v:l},e.defn(p,"$[]",r.$call),r.$to_proc=function(){var e=this;return e},r["$lambda?"]=function(){var e=this;return!!e.is_lambda},r.$arity=function(){var e=this;return e.length},f&&"arity"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass;return e.add_stubs(["$attr_reader","$class","$arity","$new","$name"]),function(o,i){function t(){}var l,u=t=d(o,i,"Method",t),s=u._proto,p=u._scope;return s.method=s.receiver=s.owner=s.name=s.obj=f,u.$attr_reader("owner","receiver","name"),s.$initialize=function(e,o,f){var n=this;return n.receiver=e,n.owner=e.$class(),n.name=f,n.method=o},s.$arity=function(){var e=this;return e.method.$arity()},s.$call=l=function(e){var o=this,d=l._p,i=d||f;return e=n.call(arguments,0),l._p=null,o.method._p=i,o.method.apply(o.receiver,e)},e.defn(u,"$[]",s.$call),s.$unbind=function(){var e=this;return p.UnboundMethod.$new(e.owner,e.method,e.name)},s.$to_proc=function(){var e=this;return e.method},s.$inspect=function(){var e=this;return"#<Method: "+e.obj.$class().$name()+"#"+e.name+"}>"},f&&"inspect"}(o,null),function(e,o){function n(){}var i=n=d(e,o,"UnboundMethod",n),t=i._proto,l=i._scope;return t.method=t.name=t.owner=f,i.$attr_reader("owner","name"),t.$initialize=function(e,o,f){var n=this;return n.owner=e,n.method=o,n.name=f},t.$arity=function(){var e=this;return e.method.$arity()},t.$bind=function(e){var o=this;return l.Method.$new(e,o.method,o.name)},t.$inspect=function(){var e=this;return"#<UnboundMethod: "+e.owner.$name()+"#"+e.name+">"},f&&"inspect"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass;return e.add_stubs(["$include","$attr_reader","$<=","$<","$enum_for","$succ","$!","$==","$===","$exclude_end?","$eql?","$begin","$end","$-","$abs","$to_i","$raise","$inspect"]),function(o,t){function l(){}var u,s,p,r=l=i(o,t,"Range",l),y=r._proto,a=r._scope;return y.begin=y.exclude=y.end=f,r.$include(a.Enumerable),y._isRange=!0,r.$attr_reader("begin","end"),y.$initialize=function(e,o,f){var n=this;return null==f&&(f=!1),n.begin=e,n.end=o,n.exclude=f},y["$=="]=function(e){var o=this;return e._isRange?o.exclude===e.exclude&&o.begin==e.begin&&o.end==e.end:!1},y["$==="]=function(e){var o,n,d=this;return(o=d.begin["$<="](e))?function(){
  return(n=d.exclude)===f||n._isBoolean&&1!=n?e["$<="](d.end):e["$<"](d.end)}():o},e.defn(r,"$cover?",y["$==="]),y.$each=u=function(){var o,d,i=this,t=u._p,l=t||f,s=f,p=f;if(u._p=null,l===f)return i.$enum_for("each");for(s=i.begin,p=i.end;s["$<"](p);){if(e.$yield1(l,s)===n)return n.$v;s=s.$succ()}return d=i.exclude["$!"](),(o=d!==!1&&d!==f?s["$=="](p):d)===f||o._isBoolean&&1!=o||e.$yield1(l,s)!==n?i:n.$v},y["$eql?"]=function(e){var o,n,d=this;return(o=a.Range["$==="](e))===f||o._isBoolean&&1!=o?!1:(n=d.exclude["$==="](e["$exclude_end?"]()),o=n!==!1&&n!==f?d.begin["$eql?"](e.$begin()):n,o!==!1&&o!==f?d.end["$eql?"](e.$end()):o)},y["$exclude_end?"]=function(){var e=this;return e.exclude},e.defn(r,"$first",y.$begin),e.defn(r,"$include?",y["$cover?"]),e.defn(r,"$last",y.$end),y.$max=s=function(){var o=d.call(arguments,0),n=this,i=s._p,t=i||f;return s._p=null,t!==f?e.find_super_dispatcher(n,"max",s,i).apply(n,o):n.exclude?n.end-1:n.end},e.defn(r,"$member?",y["$cover?"]),y.$min=p=function(){var o=d.call(arguments,0),n=this,i=p._p,t=i||f;return p._p=null,t!==f?e.find_super_dispatcher(n,"min",p,i).apply(n,o):n.begin},e.defn(r,"$member?",y["$include?"]),y.$size=function(){var e,o,n=this,d=f,i=f,t=f;return d=n.begin,i=n.end,(e=n.exclude)===f||e._isBoolean&&1!=e||(i=i["$-"](1)),o=a.Numeric["$==="](d),(e=o!==!1&&o!==f?a.Numeric["$==="](i):o)===f||e._isBoolean&&1!=e?f:i["$<"](d)?0:(t=a.Float._scope.INFINITY,(e=(o=t["$=="](d.$abs()))!==!1&&o!==f?o:i.$abs()["$=="](t))===f||e._isBoolean&&1!=e?(Math.abs(i-d)+1).$to_i():t)},y.$step=function(e){var o=this;return null==e&&(e=1),o.$raise(a.NotImplementedError)},y.$to_s=function(){var e=this;return e.begin.$inspect()+(e.exclude?"...":"..")+e.end.$inspect()},e.defn(r,"$inspect",y.$to_s)}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=(e.breaker,e.slice),d=e.klass;return e.add_stubs(["$include","$kind_of?","$to_i","$coerce_to","$between?","$raise","$new","$compact","$nil?","$===","$<=>","$to_f","$strftime","$is_a?","$zero?","$utc?","$warn","$yday","$rjust","$ljust","$zone","$sec","$min","$hour","$day","$month","$year","$wday","$isdst"]),function(o,i){function t(){}var l=t=d(o,i,"Time",t),u=l._proto,s=l._scope;l.$include(s.Comparable);var p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=["January","February","March","April","May","June","July","August","September","October","November","December"];return e.defs(l,"$at",function(e,o){return null==o&&(o=0),new Date(1e3*e+o)}),e.defs(l,"$new",function(e,o,f,n,d,i,t){switch(arguments.length){case 1:return new Date(e,0);case 2:return new Date(e,o-1);case 3:return new Date(e,o-1,f);case 4:return new Date(e,o-1,f,n);case 5:return new Date(e,o-1,f,n,d);case 6:return new Date(e,o-1,f,n,d,i);case 7:return new Date(e,o-1,f,n,d,i);default:return new Date}}),e.defs(l,"$local",function(e,o,d,i,t,l,u){var p,r=this;if(null==o&&(o=f),null==d&&(d=f),null==i&&(i=f),null==t&&(t=f),null==l&&(l=f),null==u&&(u=f),(p=10===arguments.length)!==f&&(!p._isBoolean||1==p)){var y=n.call(arguments).reverse();l=y[9],t=y[8],i=y[7],d=y[6],o=y[5],e=y[4]}return e=function(){return(p=e["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to(e,s.Integer,"to_int"):e.$to_i()}(),o=function(){return(p=o["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to((p=o)!==!1&&p!==f?p:1,s.Integer,"to_int"):o.$to_i()}(),((p=o["$between?"](1,12))===f||p._isBoolean&&1!=p)&&r.$raise(s.ArgumentError,"month out of range: "+o),d=function(){return(p=d["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to((p=d)!==!1&&p!==f?p:1,s.Integer,"to_int"):d.$to_i()}(),((p=d["$between?"](1,31))===f||p._isBoolean&&1!=p)&&r.$raise(s.ArgumentError,"day out of range: "+d),i=function(){return(p=i["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to((p=i)!==!1&&p!==f?p:0,s.Integer,"to_int"):i.$to_i()}(),((p=i["$between?"](0,24))===f||p._isBoolean&&1!=p)&&r.$raise(s.ArgumentError,"hour out of range: "+i),t=function(){return(p=t["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to((p=t)!==!1&&p!==f?p:0,s.Integer,"to_int"):t.$to_i()}(),((p=t["$between?"](0,59))===f||p._isBoolean&&1!=p)&&r.$raise(s.ArgumentError,"minute out of range: "+t),l=function(){return(p=l["$kind_of?"](s.String))===f||p._isBoolean&&1!=p?s.Opal.$coerce_to((p=l)!==!1&&p!==f?p:0,s.Integer,"to_int"):l.$to_i()}(),((p=l["$between?"](0,59))===f||p._isBoolean&&1!=p)&&r.$raise(s.ArgumentError,"second out of range: "+l),(p=r).$new.apply(p,[].concat([e,o,d,i,t,l].$compact()))}),e.defs(l,"$gm",function(e,o,n,d,i,t,l){var u,p=this;(u=e["$nil?"]())===f||u._isBoolean&&1!=u||p.$raise(s.TypeError,"missing year (got nil)"),(o>12||n>31||d>24||i>59||t>59)&&p.$raise(s.ArgumentError);var r=new Date(Date.UTC(e,(o||1)-1,n||1,d||0,i||0,t||0));return r.tz_offset=0,r}),function(e){e._scope,e._proto;return e._proto.$mktime=e._proto.$local,e._proto.$utc=e._proto.$gm}(l.$singleton_class()),e.defs(l,"$now",function(){return new Date}),u["$+"]=function(e){var o,n=this;(o=s.Time["$==="](e))===f||o._isBoolean&&1!=o||n.$raise(s.TypeError,"time + time?"),e=s.Opal.$coerce_to(e,s.Integer,"to_int");var d=new Date(n.getTime()+1e3*e);return d.tz_offset=n.tz_offset,d},u["$-"]=function(e){var o,n=this;if((o=s.Time["$==="](e))===f||o._isBoolean&&1!=o){e=s.Opal.$coerce_to(e,s.Integer,"to_int");var d=new Date(n.getTime()-1e3*e);return d.tz_offset=n.tz_offset,d}return(n.getTime()-e.getTime())/1e3},u["$<=>"]=function(e){var o=this;return o.$to_f()["$<=>"](e.$to_f())},u["$=="]=function(e){var o=this;return o.$to_f()===e.$to_f()},u.$asctime=function(){var e=this;return e.$strftime("%a %b %e %H:%M:%S %Y")},e.defn(l,"$ctime",u.$asctime),u.$day=function(){var e=this;return e.getDate()},u.$yday=function(){var e=this,o=new Date(e.getFullYear(),0,1);return Math.ceil((e-o)/864e5)},u.$isdst=function(){var e=this;return e.$raise(s.NotImplementedError)},u["$eql?"]=function(e){var o,n=this;return o=e["$is_a?"](s.Time),o!==!1&&o!==f?n["$<=>"](e)["$zero?"]():o},u["$friday?"]=function(){var e=this;return 5===e.getDay()},u.$hour=function(){var e=this;return e.getHours()},u.$inspect=function(){var e,o=this;return(e=o["$utc?"]())===f||e._isBoolean&&1!=e?o.$strftime("%Y-%m-%d %H:%M:%S %z"):o.$strftime("%Y-%m-%d %H:%M:%S UTC")},e.defn(l,"$mday",u.$day),u.$min=function(){var e=this;return e.getMinutes()},u.$mon=function(){var e=this;return e.getMonth()+1},u["$monday?"]=function(){var e=this;return 1===e.getDay()},e.defn(l,"$month",u.$mon),u["$saturday?"]=function(){var e=this;return 6===e.getDay()},u.$sec=function(){var e=this;return e.getSeconds()},u.$usec=function(){var e=this;return e.$warn("Microseconds are not supported"),0},u.$zone=function(){var e,o=this,f=o.toString();return e=-1==f.indexOf("(")?f.match(/[A-Z]{3,4}/)[0]:f.match(/\([^)]+\)/)[0].match(/[A-Z]/g).join(""),"GMT"==e&&/(GMT\W*\d{4})/.test(f)?RegExp.$1:e},u.$getgm=function(){var e=this,o=new Date(e.getTime());return o.tz_offset=0,o},u["$gmt?"]=function(){var e=this;return 0==e.tz_offset},u.$gmt_offset=function(){var e=this;return 60*-e.getTimezoneOffset()},u.$strftime=function(e){var o=this;return e.replace(/%([\-_#^0]*:{0,2})(\d+)?([EO]*)(.)/g,function(e,f,n,d,i){var t="",n=parseInt(n),l=-1!==f.indexOf("0"),u=-1===f.indexOf("-"),s=-1!==f.indexOf("_"),c=-1!==f.indexOf("^"),b=-1!==f.indexOf("#"),w=(f.match(":")||[]).length;switch(l&&s&&(f.indexOf("0")<f.indexOf("_")?l=!1:s=!1),i){case"Y":t+=o.getFullYear();break;case"C":l=!s,t+=Match.round(o.getFullYear()/100);break;case"y":l=!s,t+=o.getFullYear()%100;break;case"m":l=!s,t+=o.getMonth()+1;break;case"B":t+=a[o.getMonth()];break;case"b":case"h":s=!l,t+=y[o.getMonth()];break;case"d":l=!s,t+=o.getDate();break;case"e":s=!l,t+=o.getDate();break;case"j":t+=o.$yday();break;case"H":l=!s,t+=o.getHours();break;case"k":s=!l,t+=o.getHours();break;case"I":l=!s,t+=o.getHours()%12||12;break;case"l":s=!l,t+=o.getHours()%12||12;break;case"P":t+=o.getHours()>=12?"pm":"am";break;case"p":t+=o.getHours()>=12?"PM":"AM";break;case"M":l=!s,t+=o.getMinutes();break;case"S":l=!s,t+=o.getSeconds();break;case"L":l=!s,n=isNaN(n)?3:n,t+=o.getMilliseconds();break;case"N":n=isNaN(n)?9:n,t+=o.getMilliseconds().toString().$rjust(3,"0"),t=t.$ljust(n,"0");break;case"z":var g=o.getTimezoneOffset(),m=Math.floor(Math.abs(g)/60),x=Math.abs(g)%60;t+=0>g?"+":"-",t+=10>m?"0":"",t+=m,w>0&&(t+=":"),t+=10>x?"0":"",t+=x,w>1&&(t+=":00");break;case"Z":t+=o.$zone();break;case"A":t+=p[o.getDay()];break;case"a":t+=r[o.getDay()];break;case"u":t+=o.getDay()+1;break;case"w":t+=o.getDay();break;case"s":t+=parseInt(o.getTime()/1e3);break;case"n":t+="\n";break;case"t":t+="	";break;case"%":t+="%";break;case"c":t+=o.$strftime("%a %b %e %T %Y");break;case"D":case"x":t+=o.$strftime("%m/%d/%y");break;case"F":t+=o.$strftime("%Y-%m-%d");break;case"v":t+=o.$strftime("%e-%^b-%4Y");break;case"r":t+=o.$strftime("%I:%M:%S %p");break;case"R":t+=o.$strftime("%H:%M");break;case"T":case"X":t+=o.$strftime("%H:%M:%S");break;default:return e}return c&&(t=t.toUpperCase()),b&&(t=t.replace(/[A-Z]/,function(e){e.toLowerCase()}).replace(/[a-z]/,function(e){e.toUpperCase()})),u&&(l||s)&&(t=t.$rjust(isNaN(n)?2:n,s?" ":"0")),t})},u["$sunday?"]=function(){var e=this;return 0===e.getDay()},u["$thursday?"]=function(){var e=this;return 4===e.getDay()},u.$to_a=function(){var e=this;return[e.$sec(),e.$min(),e.$hour(),e.$day(),e.$month(),e.$year(),e.$wday(),e.$yday(),e.$isdst(),e.$zone()]},u.$to_f=function(){var e=this;return e.getTime()/1e3},u.$to_i=function(){var e=this;return parseInt(e.getTime()/1e3)},e.defn(l,"$to_s",u.$inspect),u["$tuesday?"]=function(){var e=this;return 2===e.getDay()},e.defn(l,"$utc?",u["$gmt?"]),u.$utc_offset=function(){var e=this;return-60*e.getTimezoneOffset()},u.$wday=function(){var e=this;return e.getDay()},u["$wednesday?"]=function(){var e=this;return 3===e.getDay()},u.$year=function(){var e=this;return e.getFullYear()},f&&"year"}(o,null)}(Opal),function(e){var o=e.top,f=e.nil,n=e.breaker,d=e.slice,i=e.klass;return e.add_stubs(["$==","$[]","$upcase","$const_set","$new","$unshift","$each","$define_struct_attribute","$instance_eval","$to_proc","$raise","$<<","$members","$define_method","$instance_variable_get","$instance_variable_set","$include","$each_with_index","$class","$===","$>=","$size","$include?","$to_sym","$enum_for","$hash","$all?","$length","$map","$+","$name","$join","$inspect","$each_pair"]),function(o,t){function l(){}var u,s,p,r=l=i(o,t,"Struct",l),y=r._proto,a=r._scope;return e.defs(r,"$new",u=function(o,n){var i,t,s,p,r=d.call(arguments,0),y=this,c=u._p,b=c||f;return n=d.call(arguments,1),u._p=null,y["$=="](a.Struct)?o["$[]"](0)["$=="](o["$[]"](0).$upcase())?a.Struct.$const_set(o,(i=y).$new.apply(i,[].concat(n))):(n.$unshift(o),(t=(s=a.Class).$new,t._p=(p=function(){var e,o,d,i,t=p._s||this;return(e=(o=n).$each,e._p=(d=function(e){var o=d._s||this;return null==e&&(e=f),o.$define_struct_attribute(e)},d._s=t,d),e).call(o),b!==!1&&b!==f?(e=(i=t).$instance_eval,e._p=b.$to_proc(),e).call(i):f},p._s=y,p),t).call(s,y)):e.find_super_dispatcher(y,"new",u,c,l).apply(y,r)}),e.defs(r,"$define_struct_attribute",function(e){var o,n,d,i,t,l=this;return l["$=="](a.Struct)&&l.$raise(a.ArgumentError,"you cannot define attributes to the Struct class"),l.$members()["$<<"](e),(o=(n=l).$define_method,o._p=(d=function(){var o=d._s||this;return o.$instance_variable_get("@"+e)},d._s=l,d),o).call(n,e),(o=(i=l).$define_method,o._p=(t=function(o){var n=t._s||this;return null==o&&(o=f),n.$instance_variable_set("@"+e,o)},t._s=l,t),o).call(i,""+e+"=")}),e.defs(r,"$members",function(){var e,o=this;return null==o.members&&(o.members=f),o["$=="](a.Struct)&&o.$raise(a.ArgumentError,"the Struct class has no members"),(e=o.members)!==!1&&e!==f?e:o.members=[]}),e.defs(r,"$inherited",function(e){var o,n,d,i=this,t=f;return null==i.members&&(i.members=f),i["$=="](a.Struct)?f:(t=i.members,(o=(n=e).$instance_eval,o._p=(d=function(){var e=d._s||this;return e.members=t},d._s=i,d),o).call(n))}),function(e){e._scope,e._proto;return e._proto["$[]"]=e._proto.$new}(r.$singleton_class()),r.$include(a.Enumerable),y.$initialize=function(e){var o,n,i,t=this;return e=d.call(arguments,0),(o=(n=t.$members()).$each_with_index,o._p=(i=function(o,n){var d=i._s||this;return null==o&&(o=f),null==n&&(n=f),d.$instance_variable_set("@"+o,e["$[]"](n))},i._s=t,i),o).call(n)},y.$members=function(){var e=this;return e.$class().$members()},y["$[]"]=function(e){var o,n=this;return(o=a.Integer["$==="](e))===f||o._isBoolean&&1!=o?((o=n.$members()["$include?"](e.$to_sym()))===f||o._isBoolean&&1!=o)&&n.$raise(a.NameError,"no member '"+e+"' in struct"):(e["$>="](n.$members().$size())&&n.$raise(a.IndexError,"offset "+e+" too large for struct(size:"+n.$members().$size()+")"),e=n.$members()["$[]"](e)),n.$instance_variable_get("@"+e)},y["$[]="]=function(e,o){var n,d=this;return(n=a.Integer["$==="](e))===f||n._isBoolean&&1!=n?((n=d.$members()["$include?"](e.$to_sym()))===f||n._isBoolean&&1!=n)&&d.$raise(a.NameError,"no member '"+e+"' in struct"):(e["$>="](d.$members().$size())&&d.$raise(a.IndexError,"offset "+e+" too large for struct(size:"+d.$members().$size()+")"),e=d.$members()["$[]"](e)),d.$instance_variable_set("@"+e,o)},y.$each=s=function(){var o,d,i,t=this,l=s._p,u=l||f;return s._p=null,u===f?t.$enum_for("each"):((o=(d=t.$members()).$each,o._p=(i=function(o){var d,t=i._s||this;return null==o&&(o=f),d=e.$yield1(u,t["$[]"](o)),d===n?d:d},i._s=t,i),o).call(d),t)},y.$each_pair=p=function(){var o,d,i,t=this,l=p._p,u=l||f;return p._p=null,u===f?t.$enum_for("each_pair"):((o=(d=t.$members()).$each,o._p=(i=function(o){var d,t=i._s||this;return null==o&&(o=f),d=e.$yieldX(u,[o,t["$[]"](o)]),d===n?d:d},i._s=t,i),o).call(d),t)},y["$eql?"]=function(e){var o,n,d,i,t=this;return(o=t.$hash()["$=="](e.$hash()))!==!1&&o!==f?o:(n=(d=e.$each_with_index())["$all?"],n._p=(i=function(e,o){var n=i._s||this;return null==e&&(e=f),null==o&&(o=f),n["$[]"](n.$members()["$[]"](o))["$=="](e)},i._s=t,i),n).call(d)},y.$length=function(){var e=this;return e.$members().$length()},e.defn(r,"$size",y.$length),y.$to_a=function(){var e,o,n,d=this;return(e=(o=d.$members()).$map,e._p=(n=function(e){var o=n._s||this;return null==e&&(e=f),o["$[]"](e)},n._s=d,n),e).call(o)},e.defn(r,"$values",y.$to_a),y.$inspect=function(){var e,o,n,d=this,i=f;return i="#<struct ",d.$class()["$=="](a.Struct)&&(i=i["$+"](""+d.$class().$name()+" ")),i=i["$+"]((e=(o=d.$each_pair()).$map,e._p=(n=function(e,o){n._s||this;return null==e&&(e=f),null==o&&(o=f),""+e+"="+o.$inspect()},n._s=d,n),e).call(o).$join(", ")),i=i["$+"](">")},e.defn(r,"$to_s",y.$inspect)}(o,null)}(Opal),function(e){var o=e.top,f=e,n=e.nil,d=(e.breaker,e.slice),i=e.klass,t=e.module,l=e.gvars;return null==l.stdout&&(l.stdout=n),null==l.stderr&&(l.stderr=n),e.add_stubs(["$write","$join","$map","$String","$getbyte","$getc","$raise","$new","$to_s","$extend"]),function(o,f){function u(){}var s=u=i(o,f,"IO",u),p=(s._proto,s._scope);return e.cdecl(p,"SEEK_SET",0),e.cdecl(p,"SEEK_CUR",1),e.cdecl(p,"SEEK_END",2),function(o){var f=t(o,"Writable"),i=f._proto;f._scope;i["$<<"]=function(e){var o=this;return o.$write(e),o},i.$print=function(e){var o,f,i,t=this;return null==l[","]&&(l[","]=n),e=d.call(arguments,0),t.$write((o=(f=e).$map,o._p=(i=function(e){var o=i._s||this;return null==e&&(e=n),o.$String(e)},i._s=t,i),o).call(f).$join(l[","]))},i.$puts=function(e){var o,f,i,t=this;return null==l["/"]&&(l["/"]=n),e=d.call(arguments,0),t.$write((o=(f=e).$map,o._p=(i=function(e){var o=i._s||this;return null==e&&(e=n),o.$String(e)},i._s=t,i),o).call(f).$join(l["/"]))},e.donate(f,["$<<","$print","$puts"])}(s),function(o){var f=t(o,"Readable"),d=f._proto,i=f._scope;d.$readbyte=function(){var e=this;return e.$getbyte()},d.$readchar=function(){var e=this;return e.$getc()},d.$readline=function(e){var o=this;return null==l["/"]&&(l["/"]=n),null==e&&(e=l["/"]),o.$raise(i.NotImplementedError)},d.$readpartial=function(e,o){var f=this;return null==o&&(o=n),f.$raise(i.NotImplementedError)},e.donate(f,["$readbyte","$readchar","$readline","$readpartial"])}(s)}(o,null),e.cdecl(f,"STDERR",l.stderr=f.IO.$new()),e.cdecl(f,"STDIN",l.stdin=f.IO.$new()),e.cdecl(f,"STDOUT",l.stdout=f.IO.$new()),e.defs(l.stdout,"$write",function(e){return console.log(e.$to_s()),n}),e.defs(l.stderr,"$write",function(e){return console.warn(e.$to_s()),n}),l.stdout.$extend(f.IO._scope.Writable),l.stderr.$extend(f.IO._scope.Writable)}(Opal),function(e){var o=e.top,f=e,n=e.nil;e.breaker,e.slice;return e.add_stubs(["$include"]),e.defs(o,"$to_s",function(){return"main"}),e.defs(o,"$include",function(e){return f.Object.$include(e)}),n&&"include"}(Opal),function(e){var o=(e.top,e),f=e.nil,n=(e.breaker,e.slice,e.gvars),d=e.hash2;return e.add_stubs(["$new"]),n["&"]=n["~"]=n["`"]=n["'"]=f,n[":"]=[],n['"']=[],n["/"]="\n",n[","]=f,e.cdecl(o,"ARGV",[]),e.cdecl(o,"ARGF",o.Object.$new()),e.cdecl(o,"ENV",d([],{})),n.VERBOSE=!1,n.DEBUG=!1,n.SAFE=0,e.cdecl(o,"RUBY_PLATFORM","opal"),e.cdecl(o,"RUBY_ENGINE","opal"),e.cdecl(o,"RUBY_VERSION","2.1.1"),e.cdecl(o,"RUBY_ENGINE_VERSION","0.6.1"),e.cdecl(o,"RUBY_RELEASE_DATE","2014-04-15")}(Opal),function(e){e.top,e.nil,e.breaker,e.slice;return e.add_stubs([]),!0}(Opal),module.exports.Opal=this.Opal},{}],118:[function(e,o,f){(function(e){function o(e,o){for(var f=0,n=e.length-1;n>=0;n--){var d=e[n];"."===d?e.splice(n,1):".."===d?(e.splice(n,1),f++):f&&(e.splice(n,1),f--)}if(o)for(;f--;f)e.unshift("..");return e}function n(e,o){if(e.filter)return e.filter(o);for(var f=[],n=0;n<e.length;n++)o(e[n],n,e)&&f.push(e[n]);return f}var d=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return d.exec(e).slice(1)};f.resolve=function(){for(var f="",d=!1,i=arguments.length-1;i>=-1&&!d;i--){var t=i>=0?arguments[i]:e.cwd();if("string"!=typeof t)throw new TypeError("Arguments to path.resolve must be strings");t&&(f=t+"/"+f,d="/"===t.charAt(0))}return f=o(n(f.split("/"),function(e){return!!e}),!d).join("/"),(d?"/":"")+f||"."},f.normalize=function(e){var d=f.isAbsolute(e),i="/"===t(e,-1);return e=o(n(e.split("/"),function(e){return!!e}),!d).join("/"),e||d||(e="."),e&&i&&(e+="/"),(d?"/":"")+e},f.isAbsolute=function(e){return"/"===e.charAt(0)},f.join=function(){var e=Array.prototype.slice.call(arguments,0);return f.normalize(n(e,function(e,o){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},f.relative=function(e,o){function n(e){for(var o=0;o<e.length&&""===e[o];o++);for(var f=e.length-1;f>=0&&""===e[f];f--);return o>f?[]:e.slice(o,f-o+1)}e=f.resolve(e).substr(1),o=f.resolve(o).substr(1);for(var d=n(e.split("/")),i=n(o.split("/")),t=Math.min(d.length,i.length),l=t,u=0;t>u;u++)if(d[u]!==i[u]){l=u;break}for(var s=[],u=l;u<d.length;u++)s.push("..");return s=s.concat(i.slice(l)),s.join("/")},f.sep="/",f.delimiter=":",f.dirname=function(e){var o=i(e),f=o[0],n=o[1];return f||n?(n&&(n=n.substr(0,n.length-1)),f+n):"."},f.basename=function(e,o){var f=i(e)[2];return o&&f.substr(-1*o.length)===o&&(f=f.substr(0,f.length-o.length)),f},f.extname=function(e){return i(e)[3]};var t="b"==="ab".substr(-1)?function(e,o,f){return e.substr(o,f)}:function(e,o,f){return 0>o&&(o=e.length+o),e.substr(o,f)}}).call(this,e("_process"))},{_process:119}],119:[function(e,o,f){function n(){if(!l){l=!0;for(var e,o=t.length;o;){e=t,t=[];for(var f=-1;++f<o;)e[f]();o=t.length}l=!1}}function d(){}var i=o.exports={},t=[],l=!1;i.nextTick=function(e){t.push(e),l||setTimeout(n,0)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],120:[function(e,o,f){(function(e){!function(n){function d(e){throw RangeError(G[e])}function i(e,o){for(var f=e.length;f--;)e[f]=o(e[f]);return e}function t(e,o){return i(e.split(F),o).join(".")}function l(e){for(var o,f,n=[],d=0,i=e.length;i>d;)o=e.charCodeAt(d++),o>=55296&&56319>=o&&i>d?(f=e.charCodeAt(d++),56320==(64512&f)?n.push(((1023&o)<<10)+(1023&f)+65536):(n.push(o),d--)):n.push(o);return n}function u(e){return i(e,function(e){var o="";return e>65535&&(e-=65536,o+=J(e>>>10&1023|55296),e=56320|1023&e),o+=J(e)}).join("")}function s(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:v}function p(e,o){return e+22+75*(26>e)-((0!=o)<<5)}function r(e,o,f){var n=0;for(e=f?I(e/z):e>>1,e+=I(e/o);e>H*h>>1;n+=v)e=I(e/H);return I(n+(H+1)*e/(e+q))}function y(e){var o,f,n,i,t,l,p,y,a,c,b=[],w=e.length,g=0,m=B,x=A;for(f=e.lastIndexOf(C),0>f&&(f=0),n=0;f>n;++n)e.charCodeAt(n)>=128&&d("not-basic"),b.push(e.charCodeAt(n));for(i=f>0?f+1:0;w>i;){for(t=g,l=1,p=v;i>=w&&d("invalid-input"),y=s(e.charCodeAt(i++)),(y>=v||y>I((k-g)/l))&&d("overflow"),g+=y*l,a=x>=p?P:p>=x+h?h:p-x,!(a>y);p+=v)c=v-a,l>I(k/c)&&d("overflow"),l*=c;o=b.length+1,x=r(g-t,o,0==t),I(g/o)>k-m&&d("overflow"),m+=I(g/o),g%=o,b.splice(g++,0,m)}return u(b)}function a(e){var o,f,n,i,t,u,s,y,a,c,b,w,g,m,x,j=[];for(e=l(e),w=e.length,o=B,f=0,t=A,u=0;w>u;++u)b=e[u],128>b&&j.push(J(b));for(n=i=j.length,i&&j.push(C);w>n;){for(s=k,u=0;w>u;++u)b=e[u],b>=o&&s>b&&(s=b);for(g=n+1,s-o>I((k-f)/g)&&d("overflow"),f+=(s-o)*g,o=s,u=0;w>u;++u)if(b=e[u],o>b&&++f>k&&d("overflow"),b==o){for(y=f,a=v;c=t>=a?P:a>=t+h?h:a-t,!(c>y);a+=v)x=y-c,m=v-c,j.push(J(p(c+x%m,0))),y=I(x/m);j.push(J(p(y,0))),t=r(f,g,n==i),f=0,++n}++f,++o}return j.join("")}function c(e){return t(e,function(e){return D.test(e)?y(e.slice(4).toLowerCase()):e})}function b(e){return t(e,function(e){return E.test(e)?"xn--"+a(e):e})}var w="object"==typeof f&&f,g="object"==typeof o&&o&&o.exports==w&&o,m="object"==typeof e&&e;(m.global===m||m.window===m)&&(n=m);var x,j,k=2147483647,v=36,P=1,h=26,q=38,z=700,A=72,B=128,C="-",D=/^xn--/,E=/[^ -~]/,F=/\x2E|\u3002|\uFF0E|\uFF61/g,G={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},H=v-P,I=Math.floor,J=String.fromCharCode;if(x={version:"1.2.4",ucs2:{decode:l,encode:u},decode:y,encode:a,toASCII:b,toUnicode:c},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return x});else if(w&&!w.nodeType)if(g)g.exports=x;else for(j in x)x.hasOwnProperty(j)&&(w[j]=x[j]);else n.punycode=x}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],121:[function(e,o,f){(function(e){!function(e){"use strict";if("function"==typeof bootstrap)bootstrap("promise",e);else if("object"==typeof f&&"object"==typeof o)o.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeQ=e}else{if("undefined"==typeof window&&"undefined"==typeof self)throw new Error("This environment was not anticipated by Q. Please file a bug.");var n="undefined"!=typeof window?window:self,d=n.Q;n.Q=e(),n.Q.noConflict=function(){return n.Q=d,this}}}(function(){"use strict";function o(e){return function(){return X.apply(e,arguments)}}function f(e){return e===Object(e)}function n(e){return"[object StopIteration]"===ne(e)||e instanceof T}function d(e,o){if(Q&&o.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(de)){for(var f=[],n=o;n;n=n.source)n.stack&&f.unshift(n.stack);f.unshift(e.stack);var d=f.join("\n"+de+"\n");e.stack=i(d)}}function i(e){for(var o=e.split("\n"),f=[],n=0;n<o.length;++n){var d=o[n];u(d)||t(d)||!d||f.push(d)}return f.join("\n")}function t(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function l(e){var o=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(o)return[o[1],Number(o[2])];var f=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(f)return[f[1],Number(f[2])];var n=/.*@(.+):(\d+)$/.exec(e);return n?[n[1],Number(n[2])]:void 0}function u(e){var o=l(e);if(!o)return!1;var f=o[0],n=o[1];return f===S&&n>=U&&se>=n}function s(){if(Q)try{throw new Error}catch(e){var o=e.stack.split("\n"),f=o[0].indexOf("@")>0?o[1]:o[2],n=l(f);if(!n)return;return S=n[0],n[1]}}function p(e,o,f){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(o+" is deprecated, use "+f+" instead.",new Error("").stack),e.apply(e,arguments)}}function r(e){return e instanceof b?e:x(e)?B(e):A(e)}function y(){function e(e){o=e,i.source=e,Z(f,function(o,f){r.nextTick(function(){e.promiseDispatch.apply(e,f)})},void 0),f=void 0,n=void 0}var o,f=[],n=[],d=ee(y.prototype),i=ee(b.prototype);if(i.promiseDispatch=function(e,d,i){var t=Y(arguments);f?(f.push(t),"when"===d&&i[1]&&n.push(i[1])):r.nextTick(function(){o.promiseDispatch.apply(o,t)})},i.valueOf=function(){if(f)return i;var e=g(o);return m(e)&&(o=e),e},i.inspect=function(){return o?o.inspect():{state:"pending"}},r.longStackSupport&&Q)try{throw new Error}catch(t){i.stack=t.stack.substring(t.stack.indexOf("\n")+1)}return d.promise=i,d.resolve=function(f){o||e(r(f))},d.fulfill=function(f){o||e(A(f))},d.reject=function(f){o||e(z(f))},d.notify=function(e){o||Z(n,function(o,f){r.nextTick(function(){f(e)})},void 0)},d}function a(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var o=y();try{e(o.resolve,o.reject,o.notify)}catch(f){o.reject(f)}return o.promise}function c(e){return a(function(o,f){for(var n=0,d=e.length;d>n;n++)r(e[n]).then(o,f)})}function b(e,o,f){void 0===o&&(o=function(e){return z(new Error("Promise does not support operation: "+e))}),void 0===f&&(f=function(){return{state:"unknown"}});var n=ee(b.prototype);if(n.promiseDispatch=function(f,d,i){var t;try{t=e[d]?e[d].apply(n,i):o.call(n,d,i)}catch(l){t=z(l)}f&&f(t)},n.inspect=f,f){var d=f();"rejected"===d.state&&(n.exception=d.reason),n.valueOf=function(){var e=f();return"pending"===e.state||"rejected"===e.state?n:e.value}}return n}function w(e,o,f,n){return r(e).then(o,f,n)}function g(e){if(m(e)){var o=e.inspect();if("fulfilled"===o.state)return o.value}return e}function m(e){return e instanceof b}function x(e){return f(e)&&"function"==typeof e.then}function j(e){return m(e)&&"pending"===e.inspect().state}function k(e){return!m(e)||"fulfilled"===e.inspect().state}function v(e){return m(e)&&"rejected"===e.inspect().state}function P(){ie.length=0,te.length=0,ue||(ue=!0)}function h(o,f){ue&&("object"==typeof e&&"function"==typeof e.emit&&r.nextTick.runAfter(function(){-1!==$(te,o)&&(e.emit("unhandledRejection",f,o),le.push(o))}),te.push(o),f&&"undefined"!=typeof f.stack?ie.push(f.stack):ie.push("(no stack) "+f))}function q(o){if(ue){var f=$(te,o);-1!==f&&("object"==typeof e&&"function"==typeof e.emit&&r.nextTick.runAfter(function(){var n=$(le,o);-1!==n&&(e.emit("rejectionHandled",ie[f],o),le.splice(n,1))}),te.splice(f,1),ie.splice(f,1))}}function z(e){var o=b({when:function(o){return o&&q(this),o?o(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return h(o,e),o}function A(e){return b({when:function(){return e},get:function(o){return e[o]},set:function(o,f){e[o]=f},"delete":function(o){delete e[o]},post:function(o,f){return null===o||void 0===o?e.apply(void 0,f):e[o].apply(e,f)},apply:function(o,f){return e.apply(o,f)},keys:function(){return fe(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function B(e){var o=y();return r.nextTick(function(){try{e.then(o.resolve,o.reject,o.notify)}catch(f){o.reject(f)}}),o.promise}function C(e){return b({isDef:function(){}},function(o,f){return I(e,o,f)},function(){return r(e).inspect()})}function D(e,o,f){return r(e).spread(o,f)}function E(e){return function(){function o(e,o){var t;if("undefined"==typeof StopIteration){try{t=f[e](o)}catch(l){return z(l)}return t.done?r(t.value):w(t.value,d,i)}try{t=f[e](o)}catch(l){return n(l)?r(l.value):z(l)}return w(t,d,i)}var f=e.apply(this,arguments),d=o.bind(o,"next"),i=o.bind(o,"throw");return d()}}function F(e){r.done(r.async(e)())}function G(e){throw new T(e)}function H(e){return function(){return D([this,J(arguments)],function(o,f){return e.apply(o,f)})}}function I(e,o,f){return r(e).dispatch(o,f)}function J(e){return w(e,function(e){var o=0,f=y();return Z(e,function(n,d,i){var t;m(d)&&"fulfilled"===(t=d.inspect()).state?e[i]=t.value:(++o,w(d,function(n){e[i]=n,0===--o&&f.resolve(e)},f.reject,function(e){f.notify({index:i,value:e})}))},void 0),0===o&&f.resolve(e),f.promise})}function K(e){if(0===e.length)return r.resolve();var o=r.defer(),f=0;return Z(e,function(n,d,i){function t(e){o.resolve(e)}function l(){f--,0===f&&o.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}function u(e){o.notify({index:i,value:e})}var s=e[i];f++,w(s,t,l,u)},void 0),o.promise}function L(e){return w(e,function(e){return e=_(e,r),w(J(_(e,function(e){return w(e,V,V)})),function(){return e})})}function M(e){return r(e).allSettled()}function N(e,o){return r(e).then(void 0,void 0,o)}function O(e,o){return r(e).nodeify(o)}var Q=!1;try{throw new Error}catch(R){Q=!!R.stack}var S,T,U=s(),V=function(){},W=function(){function o(){for(var e,o;n.next;)n=n.next,e=n.task,n.task=void 0,o=n.domain,o&&(n.domain=void 0,o.enter()),f(e,o);for(;u.length;)e=u.pop(),f(e);i=!1}function f(e,f){try{e()}catch(n){if(l)throw f&&f.exit(),setTimeout(o,0),f&&f.enter(),n;setTimeout(function(){throw n},0)}f&&f.exit()}var n={task:void 0,next:null},d=n,i=!1,t=void 0,l=!1,u=[];if(W=function(o){d=d.next={task:o,domain:l&&e.domain,next:null},i||(i=!0,t())},"object"==typeof e&&"[object process]"===e.toString()&&e.nextTick)l=!0,t=function(){e.nextTick(o)};else if("function"==typeof setImmediate)t="undefined"!=typeof window?setImmediate.bind(window,o):function(){setImmediate(o)};else if("undefined"!=typeof MessageChannel){var s=new MessageChannel;s.port1.onmessage=function(){t=p,s.port1.onmessage=o,o()};var p=function(){s.port2.postMessage(0)};t=function(){setTimeout(o,0),p()}}else t=function(){setTimeout(o,0)};return W.runAfter=function(e){u.push(e),i||(i=!0,t())},W}(),X=Function.call,Y=o(Array.prototype.slice),Z=o(Array.prototype.reduce||function(e,o){var f=0,n=this.length;if(1===arguments.length)for(;;){if(f in this){o=this[f++];break}if(++f>=n)throw new TypeError}for(;n>f;f++)f in this&&(o=e(o,this[f],f));return o}),$=o(Array.prototype.indexOf||function(e){for(var o=0;o<this.length;o++)if(this[o]===e)return o;return-1}),_=o(Array.prototype.map||function(e,o){var f=this,n=[];return Z(f,function(d,i,t){n.push(e.call(o,i,t,f))},void 0),n}),ee=Object.create||function(e){function o(){}return o.prototype=e,new o},oe=o(Object.prototype.hasOwnProperty),fe=Object.keys||function(e){var o=[];for(var f in e)oe(e,f)&&o.push(f);return o},ne=o(Object.prototype.toString);T="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var de="From previous event:";r.resolve=r,r.nextTick=W,r.longStackSupport=!1,"object"==typeof e&&e&&e.env&&e.env.Q_DEBUG&&(r.longStackSupport=!0),r.defer=y,y.prototype.makeNodeResolver=function(){var e=this;return function(o,f){o?e.reject(o):arguments.length>2?e.resolve(Y(arguments,1)):e.resolve(f)}},r.Promise=a,r.promise=a,a.race=c,a.all=J,a.reject=z,a.resolve=r,r.passByCopy=function(e){return e},b.prototype.passByCopy=function(){return this},r.join=function(e,o){return r(e).join(o)},b.prototype.join=function(e){return r([this,e]).spread(function(e,o){if(e===o)return e;throw new Error("Can't join: not the same: "+e+" "+o)})},r.race=c,b.prototype.race=function(){return this.then(r.race)},r.makePromise=b,b.prototype.toString=function(){return"[object Promise]"},b.prototype.then=function(e,o,f){function n(o){try{return"function"==typeof e?e(o):o}catch(f){return z(f)}}function i(e){if("function"==typeof o){d(e,l);try{return o(e)}catch(f){return z(f)}}return z(e)}function t(e){return"function"==typeof f?f(e):e}var l=this,u=y(),s=!1;return r.nextTick(function(){l.promiseDispatch(function(e){
  s||(s=!0,u.resolve(n(e)))},"when",[function(e){s||(s=!0,u.resolve(i(e)))}])}),l.promiseDispatch(void 0,"when",[void 0,function(e){var o,f=!1;try{o=t(e)}catch(n){if(f=!0,!r.onerror)throw n;r.onerror(n)}f||u.notify(o)}]),u.promise},r.tap=function(e,o){return r(e).tap(o)},b.prototype.tap=function(e){return e=r(e),this.then(function(o){return e.fcall(o).thenResolve(o)})},r.when=w,b.prototype.thenResolve=function(e){return this.then(function(){return e})},r.thenResolve=function(e,o){return r(e).thenResolve(o)},b.prototype.thenReject=function(e){return this.then(function(){throw e})},r.thenReject=function(e,o){return r(e).thenReject(o)},r.nearer=g,r.isPromise=m,r.isPromiseAlike=x,r.isPending=j,b.prototype.isPending=function(){return"pending"===this.inspect().state},r.isFulfilled=k,b.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},r.isRejected=v,b.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ie=[],te=[],le=[],ue=!0;r.resetUnhandledRejections=P,r.getUnhandledReasons=function(){return ie.slice()},r.stopUnhandledRejectionTracking=function(){P(),ue=!1},P(),r.reject=z,r.fulfill=A,r.master=C,r.spread=D,b.prototype.spread=function(e,o){return this.all().then(function(o){return e.apply(void 0,o)},o)},r.async=E,r.spawn=F,r["return"]=G,r.promised=H,r.dispatch=I,b.prototype.dispatch=function(e,o){var f=this,n=y();return r.nextTick(function(){f.promiseDispatch(n.resolve,e,o)}),n.promise},r.get=function(e,o){return r(e).dispatch("get",[o])},b.prototype.get=function(e){return this.dispatch("get",[e])},r.set=function(e,o,f){return r(e).dispatch("set",[o,f])},b.prototype.set=function(e,o){return this.dispatch("set",[e,o])},r.del=r["delete"]=function(e,o){return r(e).dispatch("delete",[o])},b.prototype.del=b.prototype["delete"]=function(e){return this.dispatch("delete",[e])},r.mapply=r.post=function(e,o,f){return r(e).dispatch("post",[o,f])},b.prototype.mapply=b.prototype.post=function(e,o){return this.dispatch("post",[e,o])},r.send=r.mcall=r.invoke=function(e,o){return r(e).dispatch("post",[o,Y(arguments,2)])},b.prototype.send=b.prototype.mcall=b.prototype.invoke=function(e){return this.dispatch("post",[e,Y(arguments,1)])},r.fapply=function(e,o){return r(e).dispatch("apply",[void 0,o])},b.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},r["try"]=r.fcall=function(e){return r(e).dispatch("apply",[void 0,Y(arguments,1)])},b.prototype.fcall=function(){return this.dispatch("apply",[void 0,Y(arguments)])},r.fbind=function(e){var o=r(e),f=Y(arguments,1);return function(){return o.dispatch("apply",[this,f.concat(Y(arguments))])}},b.prototype.fbind=function(){var e=this,o=Y(arguments);return function(){return e.dispatch("apply",[this,o.concat(Y(arguments))])}},r.keys=function(e){return r(e).dispatch("keys",[])},b.prototype.keys=function(){return this.dispatch("keys",[])},r.all=J,b.prototype.all=function(){return J(this)},r.any=K,b.prototype.any=function(){return K(this)},r.allResolved=p(L,"allResolved","allSettled"),b.prototype.allResolved=function(){return L(this)},r.allSettled=M,b.prototype.allSettled=function(){return this.then(function(e){return J(_(e,function(e){function o(){return e.inspect()}return e=r(e),e.then(o,o)}))})},r.fail=r["catch"]=function(e,o){return r(e).then(void 0,o)},b.prototype.fail=b.prototype["catch"]=function(e){return this.then(void 0,e)},r.progress=N,b.prototype.progress=function(e){return this.then(void 0,void 0,e)},r.fin=r["finally"]=function(e,o){return r(e)["finally"](o)},b.prototype.fin=b.prototype["finally"]=function(e){return e=r(e),this.then(function(o){return e.fcall().then(function(){return o})},function(o){return e.fcall().then(function(){throw o})})},r.done=function(e,o,f,n){return r(e).done(o,f,n)},b.prototype.done=function(o,f,n){var i=function(e){r.nextTick(function(){if(d(e,t),!r.onerror)throw e;r.onerror(e)})},t=o||f||n?this.then(o,f,n):this;"object"==typeof e&&e&&e.domain&&(i=e.domain.bind(i)),t.then(void 0,i)},r.timeout=function(e,o,f){return r(e).timeout(o,f)},b.prototype.timeout=function(e,o){var f=y(),n=setTimeout(function(){o&&"string"!=typeof o||(o=new Error(o||"Timed out after "+e+" ms"),o.code="ETIMEDOUT"),f.reject(o)},e);return this.then(function(e){clearTimeout(n),f.resolve(e)},function(e){clearTimeout(n),f.reject(e)},f.notify),f.promise},r.delay=function(e,o){return void 0===o&&(o=e,e=void 0),r(e).delay(o)},b.prototype.delay=function(e){return this.then(function(o){var f=y();return setTimeout(function(){f.resolve(o)},e),f.promise})},r.nfapply=function(e,o){return r(e).nfapply(o)},b.prototype.nfapply=function(e){var o=y(),f=Y(e);return f.push(o.makeNodeResolver()),this.fapply(f).fail(o.reject),o.promise},r.nfcall=function(e){var o=Y(arguments,1);return r(e).nfapply(o)},b.prototype.nfcall=function(){var e=Y(arguments),o=y();return e.push(o.makeNodeResolver()),this.fapply(e).fail(o.reject),o.promise},r.nfbind=r.denodeify=function(e){var o=Y(arguments,1);return function(){var f=o.concat(Y(arguments)),n=y();return f.push(n.makeNodeResolver()),r(e).fapply(f).fail(n.reject),n.promise}},b.prototype.nfbind=b.prototype.denodeify=function(){var e=Y(arguments);return e.unshift(this),r.denodeify.apply(void 0,e)},r.nbind=function(e,o){var f=Y(arguments,2);return function(){function n(){return e.apply(o,arguments)}var d=f.concat(Y(arguments)),i=y();return d.push(i.makeNodeResolver()),r(n).fapply(d).fail(i.reject),i.promise}},b.prototype.nbind=function(){var e=Y(arguments,0);return e.unshift(this),r.nbind.apply(void 0,e)},r.nmapply=r.npost=function(e,o,f){return r(e).npost(o,f)},b.prototype.nmapply=b.prototype.npost=function(e,o){var f=Y(o||[]),n=y();return f.push(n.makeNodeResolver()),this.dispatch("post",[e,f]).fail(n.reject),n.promise},r.nsend=r.nmcall=r.ninvoke=function(e,o){var f=Y(arguments,2),n=y();return f.push(n.makeNodeResolver()),r(e).dispatch("post",[o,f]).fail(n.reject),n.promise},b.prototype.nsend=b.prototype.nmcall=b.prototype.ninvoke=function(e){var o=Y(arguments,1),f=y();return o.push(f.makeNodeResolver()),this.dispatch("post",[e,o]).fail(f.reject),f.promise},r.nodeify=O,b.prototype.nodeify=function(e){return e?void this.then(function(o){r.nextTick(function(){e(null,o)})},function(o){r.nextTick(function(){e(o)})}):this},r.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var se=s();return r})}).call(this,e("_process"))},{_process:119}],122:[function(e,o,f){"use strict";function n(e,o){return Object.prototype.hasOwnProperty.call(e,o)}o.exports=function(e,o,f,i){o=o||"&",f=f||"=";var t={};if("string"!=typeof e||0===e.length)return t;var l=/\+/g;e=e.split(o);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var s=e.length;u>0&&s>u&&(s=u);for(var p=0;s>p;++p){var r,y,a,c,b=e[p].replace(l,"%20"),w=b.indexOf(f);w>=0?(r=b.substr(0,w),y=b.substr(w+1)):(r=b,y=""),a=decodeURIComponent(r),c=decodeURIComponent(y),n(t,a)?d(t[a])?t[a].push(c):t[a]=[t[a],c]:t[a]=c}return t};var d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],123:[function(e,o,f){"use strict";function n(e,o){if(e.map)return e.map(o);for(var f=[],n=0;n<e.length;n++)f.push(o(e[n],n));return f}var d=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};o.exports=function(e,o,f,l){return o=o||"&",f=f||"=",null===e&&(e=void 0),"object"==typeof e?n(t(e),function(t){var l=encodeURIComponent(d(t))+f;return i(e[t])?n(e[t],function(e){return l+encodeURIComponent(d(e))}).join(o):l+encodeURIComponent(d(e[t]))}).join(o):l?encodeURIComponent(d(l))+f+encodeURIComponent(d(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},t=Object.keys||function(e){var o=[];for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&o.push(f);return o}},{}],124:[function(e,o,f){"use strict";f.decode=f.parse=e("./decode"),f.encode=f.stringify=e("./encode")},{"./decode":122,"./encode":123}],125:[function(e,o,f){o.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":126}],126:[function(e,o,f){(function(f){function n(e){return this instanceof n?(u.call(this,e),s.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",d)):new n(e)}function d(){this.allowHalfOpen||this._writableState.ended||f.nextTick(this.end.bind(this))}function i(e,o){for(var f=0,n=e.length;n>f;f++)o(e[f],f)}o.exports=n;var t=Object.keys||function(e){var o=[];for(var f in e)o.push(f);return o},l=e("core-util-is");l.inherits=e("inherits");var u=e("./_stream_readable"),s=e("./_stream_writable");l.inherits(n,u),i(t(s.prototype),function(e){n.prototype[e]||(n.prototype[e]=s.prototype[e])})}).call(this,e("_process"))},{"./_stream_readable":128,"./_stream_writable":130,_process:119,"core-util-is":25,inherits:94}],127:[function(e,o,f){function n(e){return this instanceof n?void d.call(this,e):new n(e)}o.exports=n;var d=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(n,d),n.prototype._transform=function(e,o,f){f(null,e)}},{"./_stream_transform":129,"core-util-is":25,inherits:94}],128:[function(e,o,f){(function(f){function n(o,f){var n=e("./_stream_duplex");o=o||{};var d=o.highWaterMark,i=o.objectMode?16:16384;this.highWaterMark=d||0===d?d:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!o.objectMode,f instanceof n&&(this.objectMode=this.objectMode||!!o.readableObjectMode),this.defaultEncoding=o.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,o.encoding&&(B||(B=e("string_decoder/").StringDecoder),this.decoder=new B(o.encoding),this.encoding=o.encoding)}function d(o){e("./_stream_duplex");return this instanceof d?(this._readableState=new n(o,this),this.readable=!0,void z.call(this)):new d(o)}function i(e,o,f,n,d){var i=s(o,f);if(i)e.emit("error",i);else if(A.isNullOrUndefined(f))o.reading=!1,o.ended||p(e,o);else if(o.objectMode||f&&f.length>0)if(o.ended&&!d){var l=new Error("stream.push() after EOF");e.emit("error",l)}else if(o.endEmitted&&d){var l=new Error("stream.unshift() after end event");e.emit("error",l)}else!o.decoder||d||n||(f=o.decoder.write(f)),d||(o.reading=!1),o.flowing&&0===o.length&&!o.sync?(e.emit("data",f),e.read(0)):(o.length+=o.objectMode?1:f.length,d?o.buffer.unshift(f):o.buffer.push(f),o.needReadable&&r(e)),a(e,o);else d||(o.reading=!1);return t(o)}function t(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function l(e){if(e>=D)e=D;else{e--;for(var o=1;32>o;o<<=1)e|=e>>o;e++}return e}function u(e,o){return 0===o.length&&o.ended?0:o.objectMode?0===e?0:1:isNaN(e)||A.isNull(e)?o.flowing&&o.buffer.length?o.buffer[0].length:o.length:0>=e?0:(e>o.highWaterMark&&(o.highWaterMark=l(e)),e>o.length?o.ended?o.length:(o.needReadable=!0,0):e)}function s(e,o){var f=null;return A.isBuffer(o)||A.isString(o)||A.isNullOrUndefined(o)||e.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}function p(e,o){if(o.decoder&&!o.ended){var f=o.decoder.end();f&&f.length&&(o.buffer.push(f),o.length+=o.objectMode?1:f.length)}o.ended=!0,r(e)}function r(e){var o=e._readableState;o.needReadable=!1,o.emittedReadable||(C("emitReadable",o.flowing),o.emittedReadable=!0,o.sync?f.nextTick(function(){y(e)}):y(e))}function y(e){C("emit readable"),e.emit("readable"),m(e)}function a(e,o){o.readingMore||(o.readingMore=!0,f.nextTick(function(){c(e,o)}))}function c(e,o){for(var f=o.length;!o.reading&&!o.flowing&&!o.ended&&o.length<o.highWaterMark&&(C("maybeReadMore read 0"),e.read(0),f!==o.length);)f=o.length;o.readingMore=!1}function b(e){return function(){var o=e._readableState;C("pipeOnDrain",o.awaitDrain),o.awaitDrain&&o.awaitDrain--,0===o.awaitDrain&&q.listenerCount(e,"data")&&(o.flowing=!0,m(e))}}function w(e,o){o.resumeScheduled||(o.resumeScheduled=!0,f.nextTick(function(){g(e,o)}))}function g(e,o){o.resumeScheduled=!1,e.emit("resume"),m(e),o.flowing&&!o.reading&&e.read(0)}function m(e){var o=e._readableState;if(C("flow",o.flowing),o.flowing)do var f=e.read();while(null!==f&&o.flowing)}function x(e,o){var f,n=o.buffer,d=o.length,i=!!o.decoder,t=!!o.objectMode;if(0===n.length)return null;if(0===d)f=null;else if(t)f=n.shift();else if(!e||e>=d)f=i?n.join(""):h.concat(n,d),n.length=0;else if(e<n[0].length){var l=n[0];f=l.slice(0,e),n[0]=l.slice(e)}else if(e===n[0].length)f=n.shift();else{f=i?"":new h(e);for(var u=0,s=0,p=n.length;p>s&&e>u;s++){var l=n[0],r=Math.min(e-u,l.length);i?f+=l.slice(0,r):l.copy(f,u,0,r),r<l.length?n[0]=l.slice(r):n.shift(),u+=r}}return f}function j(e){var o=e._readableState;if(o.length>0)throw new Error("endReadable called on non-empty stream");o.endEmitted||(o.ended=!0,f.nextTick(function(){o.endEmitted||0!==o.length||(o.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function k(e,o){for(var f=0,n=e.length;n>f;f++)o(e[f],f)}function v(e,o){for(var f=0,n=e.length;n>f;f++)if(e[f]===o)return f;return-1}o.exports=d;var P=e("isarray"),h=e("buffer").Buffer;d.ReadableState=n;var q=e("events").EventEmitter;q.listenerCount||(q.listenerCount=function(e,o){return e.listeners(o).length});var z=e("stream"),A=e("core-util-is");A.inherits=e("inherits");var B,C=e("util");C=C&&C.debuglog?C.debuglog("stream"):function(){},A.inherits(d,z),d.prototype.push=function(e,o){var f=this._readableState;return A.isString(e)&&!f.objectMode&&(o=o||f.defaultEncoding,o!==f.encoding&&(e=new h(e,o),o="")),i(this,f,e,o,!1)},d.prototype.unshift=function(e){var o=this._readableState;return i(this,o,e,"",!0)},d.prototype.setEncoding=function(o){return B||(B=e("string_decoder/").StringDecoder),this._readableState.decoder=new B(o),this._readableState.encoding=o,this};var D=8388608;d.prototype.read=function(e){C("read",e);var o=this._readableState,f=e;if((!A.isNumber(e)||e>0)&&(o.emittedReadable=!1),0===e&&o.needReadable&&(o.length>=o.highWaterMark||o.ended))return C("read: emitReadable",o.length,o.ended),0===o.length&&o.ended?j(this):r(this),null;if(e=u(e,o),0===e&&o.ended)return 0===o.length&&j(this),null;var n=o.needReadable;C("need readable",n),(0===o.length||o.length-e<o.highWaterMark)&&(n=!0,C("length less than watermark",n)),(o.ended||o.reading)&&(n=!1,C("reading or ended",n)),n&&(C("do read"),o.reading=!0,o.sync=!0,0===o.length&&(o.needReadable=!0),this._read(o.highWaterMark),o.sync=!1),n&&!o.reading&&(e=u(f,o));var d;return d=e>0?x(e,o):null,A.isNull(d)&&(o.needReadable=!0,e=0),o.length-=e,0!==o.length||o.ended||(o.needReadable=!0),f!==e&&o.ended&&0===o.length&&j(this),A.isNull(d)||this.emit("data",d),d},d.prototype._read=function(e){this.emit("error",new Error("not implemented"))},d.prototype.pipe=function(e,o){function n(e){C("onunpipe"),e===r&&i()}function d(){C("onend"),e.end()}function i(){C("cleanup"),e.removeListener("close",u),e.removeListener("finish",s),e.removeListener("drain",w),e.removeListener("error",l),e.removeListener("unpipe",n),r.removeListener("end",d),r.removeListener("end",i),r.removeListener("data",t),!y.awaitDrain||e._writableState&&!e._writableState.needDrain||w()}function t(o){C("ondata");var f=e.write(o);!1===f&&(C("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,r.pause())}function l(o){C("onerror",o),p(),e.removeListener("error",l),0===q.listenerCount(e,"error")&&e.emit("error",o)}function u(){e.removeListener("finish",s),p()}function s(){C("onfinish"),e.removeListener("close",u),p()}function p(){C("unpipe"),r.unpipe(e)}var r=this,y=this._readableState;switch(y.pipesCount){case 0:y.pipes=e;break;case 1:y.pipes=[y.pipes,e];break;default:y.pipes.push(e)}y.pipesCount+=1,C("pipe count=%d opts=%j",y.pipesCount,o);var a=(!o||o.end!==!1)&&e!==f.stdout&&e!==f.stderr,c=a?d:i;y.endEmitted?f.nextTick(c):r.once("end",c),e.on("unpipe",n);var w=b(r);return e.on("drain",w),r.on("data",t),e._events&&e._events.error?P(e._events.error)?e._events.error.unshift(l):e._events.error=[l,e._events.error]:e.on("error",l),e.once("close",u),e.once("finish",s),e.emit("pipe",r),y.flowing||(C("pipe resume"),r.resume()),e},d.prototype.unpipe=function(e){var o=this._readableState;if(0===o.pipesCount)return this;if(1===o.pipesCount)return e&&e!==o.pipes?this:(e||(e=o.pipes),o.pipes=null,o.pipesCount=0,o.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var f=o.pipes,n=o.pipesCount;o.pipes=null,o.pipesCount=0,o.flowing=!1;for(var d=0;n>d;d++)f[d].emit("unpipe",this);return this}var d=v(o.pipes,e);return-1===d?this:(o.pipes.splice(d,1),o.pipesCount-=1,1===o.pipesCount&&(o.pipes=o.pipes[0]),e.emit("unpipe",this),this)},d.prototype.on=function(e,o){var n=z.prototype.on.call(this,e,o);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&this.readable){var d=this._readableState;if(!d.readableListening)if(d.readableListening=!0,d.emittedReadable=!1,d.needReadable=!0,d.reading)d.length&&r(this,d);else{var i=this;f.nextTick(function(){C("readable nexttick read 0"),i.read(0)})}}return n},d.prototype.addListener=d.prototype.on,d.prototype.resume=function(){var e=this._readableState;return e.flowing||(C("resume"),e.flowing=!0,e.reading||(C("resume read 0"),this.read(0)),w(this,e)),this},d.prototype.pause=function(){return C("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(C("pause"),this._readableState.flowing=!1,this.emit("pause")),this},d.prototype.wrap=function(e){var o=this._readableState,f=!1,n=this;e.on("end",function(){if(C("wrapped end"),o.decoder&&!o.ended){var e=o.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(d){if(C("wrapped data"),o.decoder&&(d=o.decoder.write(d)),d&&(o.objectMode||d.length)){var i=n.push(d);i||(f=!0,e.pause())}});for(var d in e)A.isFunction(e[d])&&A.isUndefined(this[d])&&(this[d]=function(o){return function(){return e[o].apply(e,arguments)}}(d));var i=["error","close","destroy","pause","resume"];return k(i,function(o){e.on(o,n.emit.bind(n,o))}),n._read=function(o){C("wrapped _read",o),f&&(f=!1,e.resume())},n},d._fromList=x}).call(this,e("_process"))},{"./_stream_duplex":126,_process:119,buffer:13,"core-util-is":25,events:55,inherits:94,isarray:97,stream:135,"string_decoder/":136,util:11}],129:[function(e,o,f){function n(e,o){this.afterTransform=function(e,f){return d(o,e,f)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function d(e,o,f){var n=e._transformState;n.transforming=!1;var d=n.writecb;if(!d)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,u.isNullOrUndefined(f)||e.push(f),d&&d(o);var i=e._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&e._read(i.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);l.call(this,e),this._transformState=new n(e,this);var o=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("prefinish",function(){u.isFunction(this._flush)?this._flush(function(e){t(o,e)}):t(o)})}function t(e,o){if(o)return e.emit("error",o);var f=e._writableState,n=e._transformState;if(f.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}o.exports=i;var l=e("./_stream_duplex"),u=e("core-util-is");u.inherits=e("inherits"),u.inherits(i,l),i.prototype.push=function(e,o){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,o)},i.prototype._transform=function(e,o,f){throw new Error("not implemented")},i.prototype._write=function(e,o,f){var n=this._transformState;if(n.writecb=f,n.writechunk=e,n.writeencoding=o,!n.transforming){var d=this._readableState;(n.needTransform||d.needReadable||d.length<d.highWaterMark)&&this._read(d.highWaterMark)}},i.prototype._read=function(e){var o=this._transformState;u.isNull(o.writechunk)||!o.writecb||o.transforming?o.needTransform=!0:(o.transforming=!0,this._transform(o.writechunk,o.writeencoding,o.afterTransform))}},{"./_stream_duplex":126,"core-util-is":25,inherits:94}],130:[function(e,o,f){(function(f){function n(e,o,f){this.chunk=e,this.encoding=o,this.callback=f}function d(o,f){var n=e("./_stream_duplex");o=o||{};var d=o.highWaterMark,i=o.objectMode?16:16384;this.highWaterMark=d||0===d?d:i,this.objectMode=!!o.objectMode,f instanceof n&&(this.objectMode=this.objectMode||!!o.writableObjectMode),this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var t=o.decodeStrings===!1;this.decodeStrings=!t,this.defaultEncoding=o.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){a(f,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1}function i(o){var f=e("./_stream_duplex");return this instanceof i||this instanceof f?(this._writableState=new d(o,this),this.writable=!0,void P.call(this)):new i(o)}function t(e,o,n){var d=new Error("write after end");e.emit("error",d),f.nextTick(function(){n(d)})}function l(e,o,n,d){var i=!0;if(!(v.isBuffer(n)||v.isString(n)||v.isNullOrUndefined(n)||o.objectMode)){var t=new TypeError("Invalid non-string/buffer chunk");e.emit("error",t),f.nextTick(function(){d(t)}),i=!1}return i}function u(e,o,f){return!e.objectMode&&e.decodeStrings!==!1&&v.isString(o)&&(o=new k(o,f)),o}function s(e,o,f,d,i){f=u(o,f,d),v.isBuffer(f)&&(d="buffer");var t=o.objectMode?1:f.length;o.length+=t;var l=o.length<o.highWaterMark;return l||(o.needDrain=!0),o.writing||o.corked?o.buffer.push(new n(f,d,i)):p(e,o,!1,t,f,d,i),l}function p(e,o,f,n,d,i,t){o.writelen=n,o.writecb=t,o.writing=!0,o.sync=!0,f?e._writev(d,o.onwrite):e._write(d,i,o.onwrite),o.sync=!1}function r(e,o,n,d,i){n?f.nextTick(function(){o.pendingcb--,i(d)}):(o.pendingcb--,i(d)),e._writableState.errorEmitted=!0,e.emit("error",d)}function y(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function a(e,o){var n=e._writableState,d=n.sync,i=n.writecb;if(y(n),o)r(e,n,d,o,i);else{var t=g(e,n);t||n.corked||n.bufferProcessing||!n.buffer.length||w(e,n),d?f.nextTick(function(){c(e,n,t,i)}):c(e,n,t,i)}}function c(e,o,f,n){f||b(e,o),o.pendingcb--,n(),x(e,o)}function b(e,o){0===o.length&&o.needDrain&&(o.needDrain=!1,e.emit("drain"))}function w(e,o){if(o.bufferProcessing=!0,e._writev&&o.buffer.length>1){for(var f=[],n=0;n<o.buffer.length;n++)f.push(o.buffer[n].callback);o.pendingcb++,p(e,o,!0,o.length,o.buffer,"",function(e){for(var n=0;n<f.length;n++)o.pendingcb--,f[n](e)}),o.buffer=[]}else{for(var n=0;n<o.buffer.length;n++){var d=o.buffer[n],i=d.chunk,t=d.encoding,l=d.callback,u=o.objectMode?1:i.length;if(p(e,o,!1,u,i,t,l),o.writing){n++;break}}n<o.buffer.length?o.buffer=o.buffer.slice(n):o.buffer.length=0}o.bufferProcessing=!1}function g(e,o){return o.ending&&0===o.length&&!o.finished&&!o.writing}function m(e,o){o.prefinished||(o.prefinished=!0,e.emit("prefinish"))}function x(e,o){var f=g(e,o);return f&&(0===o.pendingcb?(m(e,o),o.finished=!0,e.emit("finish")):m(e,o)),f}function j(e,o,n){o.ending=!0,x(e,o),n&&(o.finished?f.nextTick(n):e.once("finish",n)),o.ended=!0}o.exports=i;var k=e("buffer").Buffer;i.WritableState=d;var v=e("core-util-is");v.inherits=e("inherits");var P=e("stream");v.inherits(i,P),i.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},i.prototype.write=function(e,o,f){var n=this._writableState,d=!1;return v.isFunction(o)&&(f=o,o=null),v.isBuffer(e)?o="buffer":o||(o=n.defaultEncoding),v.isFunction(f)||(f=function(){}),n.ended?t(this,n,f):l(this,n,e,f)&&(n.pendingcb++,d=s(this,n,e,o,f)),d},i.prototype.cork=function(){var e=this._writableState;e.corked++},i.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.buffer.length||w(this,e))},i.prototype._write=function(e,o,f){f(new Error("not implemented"))},i.prototype._writev=null,i.prototype.end=function(e,o,f){var n=this._writableState;v.isFunction(e)?(f=e,e=null,o=null):v.isFunction(o)&&(f=o,o=null),v.isNullOrUndefined(e)||this.write(e,o),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||j(this,n,f)}}).call(this,e("_process"))},{"./_stream_duplex":126,_process:119,buffer:13,"core-util-is":25,inherits:94,stream:135}],131:[function(e,o,f){o.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":127}],132:[function(e,o,f){f=o.exports=e("./lib/_stream_readable.js"),f.Stream=e("stream"),f.Readable=f,f.Writable=e("./lib/_stream_writable.js"),f.Duplex=e("./lib/_stream_duplex.js"),f.Transform=e("./lib/_stream_transform.js"),f.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":126,"./lib/_stream_passthrough.js":127,"./lib/_stream_readable.js":128,"./lib/_stream_transform.js":129,"./lib/_stream_writable.js":130,stream:135}],133:[function(e,o,f){o.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":129}],134:[function(e,o,f){o.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":130}],135:[function(e,o,f){function n(){d.call(this)}o.exports=n;var d=e("events").EventEmitter,i=e("inherits");i(n,d),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,o){function f(o){e.writable&&!1===e.write(o)&&s.pause&&s.pause()}function n(){s.readable&&s.resume&&s.resume()}function i(){p||(p=!0,e.end())}function t(){p||(p=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===d.listenerCount(this,"error"))throw e}function u(){s.removeListener("data",f),e.removeListener("drain",n),s.removeListener("end",i),s.removeListener("close",t),s.removeListener("error",l),e.removeListener("error",l),s.removeListener("end",u),s.removeListener("close",u),e.removeListener("close",u)}var s=this;s.on("data",f),e.on("drain",n),e._isStdio||o&&o.end===!1||(s.on("end",i),s.on("close",t));var p=!1;return s.on("error",l),e.on("error",l),s.on("end",u),s.on("close",u),e.on("close",u),e.emit("pipe",s),e}},{events:55,inherits:94,"readable-stream/duplex.js":125,"readable-stream/passthrough.js":131,"readable-stream/readable.js":132,"readable-stream/transform.js":133,"readable-stream/writable.js":134}],136:[function(e,o,f){function n(e){if(e&&!u(e))throw new Error("Unknown encoding: "+e)}function d(e){return e.toString(this.encoding)}function i(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function t(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var l=e("buffer").Buffer,u=l.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},s=f.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),n(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=t;break;default:return void(this.write=d)}this.charBuffer=new l(6),this.charReceived=0,this.charLength=0};s.prototype.write=function(e){for(var o="";this.charLength;){var f=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,f),this.charReceived+=f,this.charReceived<this.charLength)return"";e=e.slice(f,e.length),o=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var n=o.charCodeAt(o.length-1);if(!(n>=55296&&56319>=n)){if(this.charReceived=this.charLength=0,0===e.length)return o;break}this.charLength+=this.surrogateSize,o=""}this.detectIncompleteChar(e);var d=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,d),d-=this.charReceived),o+=e.toString(this.encoding,0,d);var d=o.length-1,n=o.charCodeAt(d);if(n>=55296&&56319>=n){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),o.substring(0,d)}return o},s.prototype.detectIncompleteChar=function(e){for(var o=e.length>=3?3:e.length;o>0;o--){var f=e[e.length-o];if(1==o&&f>>5==6){this.charLength=2;break}if(2>=o&&f>>4==14){this.charLength=3;break}if(3>=o&&f>>3==30){this.charLength=4;break}}this.charReceived=o},s.prototype.end=function(e){var o="";if(e&&e.length&&(o=this.write(e)),this.charReceived){var f=this.charReceived,n=this.charBuffer,d=this.encoding;o+=n.slice(0,f).toString(d)}return o}},{buffer:13}],137:[function(e,o,f){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function d(e,o,f){if(e&&s(e)&&e instanceof n)return e;var d=new n;return d.parse(e,o,f),d}function i(e){return u(e)&&(e=d(e)),e instanceof n?e.format():n.prototype.format.call(e)}function t(e,o){return d(e,!1,!0).resolve(o)}function l(e,o){return e?d(e,!1,!0).resolveObject(o):o}function u(e){return"string"==typeof e}function s(e){return"object"==typeof e&&null!==e}function p(e){return null===e}function r(e){return null==e}var y=e("punycode");f.parse=d,f.resolve=t,f.resolveObject=l,f.format=i,f.Url=n;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","	"],w=["{","}","|","\\","^","`"].concat(b),g=["'"].concat(w),m=["%","/","?",";","#"].concat(g),x=["/","?","#"],j=255,k=/^[a-z0-9A-Z_-]{0,63}$/,v=/^([a-z0-9A-Z_-]{0,63})(.*)$/,P={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},z=e("querystring");n.prototype.parse=function(e,o,f){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e;n=n.trim();var d=a.exec(n);if(d){d=d[0];var i=d.toLowerCase();this.protocol=i,n=n.substr(d.length)}if(f||d||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var t="//"===n.substr(0,2);!t||d&&h[d]||(n=n.substr(2),this.slashes=!0)}if(!h[d]&&(t||d&&!q[d])){for(var l=-1,s=0;s<x.length;s++){var p=n.indexOf(x[s]);-1!==p&&(-1===l||l>p)&&(l=p)}var r,c;c=-1===l?n.lastIndexOf("@"):n.lastIndexOf("@",l),-1!==c&&(r=n.slice(0,c),n=n.slice(c+1),this.auth=decodeURIComponent(r)),l=-1;for(var s=0;s<m.length;s++){var p=n.indexOf(m[s]);-1!==p&&(-1===l||l>p)&&(l=p)}-1===l&&(l=n.length),this.host=n.slice(0,l),n=n.slice(l),this.parseHost(),this.hostname=this.hostname||"";var b="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!b)for(var w=this.hostname.split(/\./),s=0,A=w.length;A>s;s++){var B=w[s];if(B&&!B.match(k)){for(var C="",D=0,E=B.length;E>D;D++)C+=B.charCodeAt(D)>127?"x":B[D];if(!C.match(k)){var F=w.slice(0,s),G=w.slice(s+1),H=B.match(v);H&&(F.push(H[1]),G.unshift(H[2])),G.length&&(n="/"+G.join(".")+n),this.hostname=F.join(".");break}}}if(this.hostname.length>j?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var I=this.hostname.split("."),J=[],s=0;s<I.length;++s){var K=I[s];J.push(K.match(/[^A-Za-z0-9_-]/)?"xn--"+y.encode(K):K)}this.hostname=J.join(".")}var L=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+L,this.href+=this.host,b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==n[0]&&(n="/"+n))}if(!P[i])for(var s=0,A=g.length;A>s;s++){var N=g[s],O=encodeURIComponent(N);O===N&&(O=escape(N)),n=n.split(N).join(O)}var Q=n.indexOf("#");-1!==Q&&(this.hash=n.substr(Q),n=n.slice(0,Q));var R=n.indexOf("?");if(-1!==R?(this.search=n.substr(R),this.query=n.substr(R+1),o&&(this.query=z.parse(this.query)),
  n=n.slice(0,R)):o&&(this.search="",this.query={}),n&&(this.pathname=n),q[i]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var L=this.pathname||"",K=this.search||"";this.path=L+K}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var o=this.protocol||"",f=this.pathname||"",n=this.hash||"",d=!1,i="";this.host?d=e+this.host:this.hostname&&(d=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(d+=":"+this.port)),this.query&&s(this.query)&&Object.keys(this.query).length&&(i=z.stringify(this.query));var t=this.search||i&&"?"+i||"";return o&&":"!==o.substr(-1)&&(o+=":"),this.slashes||(!o||q[o])&&d!==!1?(d="//"+(d||""),f&&"/"!==f.charAt(0)&&(f="/"+f)):d||(d=""),n&&"#"!==n.charAt(0)&&(n="#"+n),t&&"?"!==t.charAt(0)&&(t="?"+t),f=f.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),t=t.replace("#","%23"),o+d+f+t+n},n.prototype.resolve=function(e){return this.resolveObject(d(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(u(e)){var o=new n;o.parse(e,!1,!0),e=o}var f=new n;if(Object.keys(this).forEach(function(e){f[e]=this[e]},this),f.hash=e.hash,""===e.href)return f.href=f.format(),f;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(o){"protocol"!==o&&(f[o]=e[o])}),q[f.protocol]&&f.hostname&&!f.pathname&&(f.path=f.pathname="/"),f.href=f.format(),f;if(e.protocol&&e.protocol!==f.protocol){if(!q[e.protocol])return Object.keys(e).forEach(function(o){f[o]=e[o]}),f.href=f.format(),f;if(f.protocol=e.protocol,e.host||h[e.protocol])f.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),f.pathname=d.join("/")}if(f.search=e.search,f.query=e.query,f.host=e.host||"",f.auth=e.auth,f.hostname=e.hostname||e.host,f.port=e.port,f.pathname||f.search){var i=f.pathname||"",t=f.search||"";f.path=i+t}return f.slashes=f.slashes||e.slashes,f.href=f.format(),f}var l=f.pathname&&"/"===f.pathname.charAt(0),s=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=s||l||f.host&&e.pathname,a=y,c=f.pathname&&f.pathname.split("/")||[],d=e.pathname&&e.pathname.split("/")||[],b=f.protocol&&!q[f.protocol];if(b&&(f.hostname="",f.port=null,f.host&&(""===c[0]?c[0]=f.host:c.unshift(f.host)),f.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),y=y&&(""===d[0]||""===c[0])),s)f.host=e.host||""===e.host?e.host:f.host,f.hostname=e.hostname||""===e.hostname?e.hostname:f.hostname,f.search=e.search,f.query=e.query,c=d;else if(d.length)c||(c=[]),c.pop(),c=c.concat(d),f.search=e.search,f.query=e.query;else if(!r(e.search)){if(b){f.hostname=f.host=c.shift();var w=f.host&&f.host.indexOf("@")>0?f.host.split("@"):!1;w&&(f.auth=w.shift(),f.host=f.hostname=w.shift())}return f.search=e.search,f.query=e.query,p(f.pathname)&&p(f.search)||(f.path=(f.pathname?f.pathname:"")+(f.search?f.search:"")),f.href=f.format(),f}if(!c.length)return f.pathname=null,f.search?f.path="/"+f.search:f.path=null,f.href=f.format(),f;for(var g=c.slice(-1)[0],m=(f.host||e.host)&&("."===g||".."===g)||""===g,x=0,j=c.length;j>=0;j--)g=c[j],"."==g?c.splice(j,1):".."===g?(c.splice(j,1),x++):x&&(c.splice(j,1),x--);if(!y&&!a)for(;x--;x)c.unshift("..");!y||""===c[0]||c[0]&&"/"===c[0].charAt(0)||c.unshift(""),m&&"/"!==c.join("/").substr(-1)&&c.push("");var k=""===c[0]||c[0]&&"/"===c[0].charAt(0);if(b){f.hostname=f.host=k?"":c.length?c.shift():"";var w=f.host&&f.host.indexOf("@")>0?f.host.split("@"):!1;w&&(f.auth=w.shift(),f.host=f.hostname=w.shift())}return y=y||f.host&&c.length,y&&!k&&c.unshift(""),c.length?f.pathname=c.join("/"):(f.pathname=null,f.path=null),p(f.pathname)&&p(f.search)||(f.path=(f.pathname?f.pathname:"")+(f.search?f.search:"")),f.auth=e.auth||f.auth,f.slashes=f.slashes||e.slashes,f.href=f.format(),f},n.prototype.parseHost=function(){var e=this.host,o=c.exec(e);o&&(o=o[0],":"!==o&&(this.port=o.substr(1)),e=e.substr(0,e.length-o.length)),e&&(this.hostname=e)}},{punycode:120,querystring:124}],138:[function(e,o,f){o.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],139:[function(e,o,f){(function(o,n){function d(e,o){var n={seen:[],stylize:t};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),b(o)?n.showHidden=o:o&&f._extend(n,o),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),u(n,e,n.depth)}function i(e,o){var f=d.styles[o];return f?"["+d.colors[f][0]+"m"+e+"["+d.colors[f][1]+"m":e}function t(e,o){return e}function l(e){var o={};return e.forEach(function(e,f){o[e]=!0}),o}function u(e,o,n){if(e.customInspect&&o&&z(o.inspect)&&o.inspect!==f.inspect&&(!o.constructor||o.constructor.prototype!==o)){var d=o.inspect(n,e);return x(d)||(d=u(e,d,n)),d}var i=s(e,o);if(i)return i;var t=Object.keys(o),b=l(t);if(e.showHidden&&(t=Object.getOwnPropertyNames(o)),q(o)&&(t.indexOf("message")>=0||t.indexOf("description")>=0))return p(o);if(0===t.length){if(z(o)){var w=o.name?": "+o.name:"";return e.stylize("[Function"+w+"]","special")}if(v(o))return e.stylize(RegExp.prototype.toString.call(o),"regexp");if(h(o))return e.stylize(Date.prototype.toString.call(o),"date");if(q(o))return p(o)}var g="",m=!1,j=["{","}"];if(c(o)&&(m=!0,j=["[","]"]),z(o)){var k=o.name?": "+o.name:"";g=" [Function"+k+"]"}if(v(o)&&(g=" "+RegExp.prototype.toString.call(o)),h(o)&&(g=" "+Date.prototype.toUTCString.call(o)),q(o)&&(g=" "+p(o)),0===t.length&&(!m||0==o.length))return j[0]+g+j[1];if(0>n)return v(o)?e.stylize(RegExp.prototype.toString.call(o),"regexp"):e.stylize("[Object]","special");e.seen.push(o);var P;return P=m?r(e,o,n,b,t):t.map(function(f){return y(e,o,n,b,f,m)}),e.seen.pop(),a(P,g,j)}function s(e,o){if(k(o))return e.stylize("undefined","undefined");if(x(o)){var f="'"+JSON.stringify(o).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(f,"string")}return m(o)?e.stylize(""+o,"number"):b(o)?e.stylize(""+o,"boolean"):w(o)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function r(e,o,f,n,d){for(var i=[],t=0,l=o.length;l>t;++t)E(o,String(t))?i.push(y(e,o,f,n,String(t),!0)):i.push("");return d.forEach(function(d){d.match(/^\d+$/)||i.push(y(e,o,f,n,d,!0))}),i}function y(e,o,f,n,d,i){var t,l,s;if(s=Object.getOwnPropertyDescriptor(o,d)||{value:o[d]},s.get?l=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(l=e.stylize("[Setter]","special")),E(n,d)||(t="["+d+"]"),l||(e.seen.indexOf(s.value)<0?(l=w(f)?u(e,s.value,null):u(e,s.value,f-1),l.indexOf("\n")>-1&&(l=i?l.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+l.split("\n").map(function(e){return"   "+e}).join("\n"))):l=e.stylize("[Circular]","special")),k(t)){if(i&&d.match(/^\d+$/))return l;t=JSON.stringify(""+d),t.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(t=t.substr(1,t.length-2),t=e.stylize(t,"name")):(t=t.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),t=e.stylize(t,"string"))}return t+": "+l}function a(e,o,f){var n=0,d=e.reduce(function(e,o){return n++,o.indexOf("\n")>=0&&n++,e+o.replace(/\u001b\[\d\d?m/g,"").length+1},0);return d>60?f[0]+(""===o?"":o+"\n ")+" "+e.join(",\n  ")+" "+f[1]:f[0]+o+" "+e.join(", ")+" "+f[1]}function c(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function w(e){return null===e}function g(e){return null==e}function m(e){return"number"==typeof e}function x(e){return"string"==typeof e}function j(e){return"symbol"==typeof e}function k(e){return void 0===e}function v(e){return P(e)&&"[object RegExp]"===B(e)}function P(e){return"object"==typeof e&&null!==e}function h(e){return P(e)&&"[object Date]"===B(e)}function q(e){return P(e)&&("[object Error]"===B(e)||e instanceof Error)}function z(e){return"function"==typeof e}function A(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function B(e){return Object.prototype.toString.call(e)}function C(e){return 10>e?"0"+e.toString(10):e.toString(10)}function D(){var e=new Date,o=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],o].join(" ")}function E(e,o){return Object.prototype.hasOwnProperty.call(e,o)}var F=/%[sdj%]/g;f.format=function(e){if(!x(e)){for(var o=[],f=0;f<arguments.length;f++)o.push(d(arguments[f]));return o.join(" ")}for(var f=1,n=arguments,i=n.length,t=String(e).replace(F,function(e){if("%%"===e)return"%";if(f>=i)return e;switch(e){case"%s":return String(n[f++]);case"%d":return Number(n[f++]);case"%j":try{return JSON.stringify(n[f++])}catch(o){return"[Circular]"}default:return e}}),l=n[f];i>f;l=n[++f])t+=w(l)||!P(l)?" "+l:" "+d(l);return t},f.deprecate=function(e,d){function i(){if(!t){if(o.throwDeprecation)throw new Error(d);o.traceDeprecation?console.trace(d):console.error(d),t=!0}return e.apply(this,arguments)}if(k(n.process))return function(){return f.deprecate(e,d).apply(this,arguments)};if(o.noDeprecation===!0)return e;var t=!1;return i};var G,H={};f.debuglog=function(e){if(k(G)&&(G=o.env.NODE_DEBUG||""),e=e.toUpperCase(),!H[e])if(new RegExp("\\b"+e+"\\b","i").test(G)){var n=o.pid;H[e]=function(){var o=f.format.apply(f,arguments);console.error("%s %d: %s",e,n,o)}}else H[e]=function(){};return H[e]},f.inspect=d,d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},f.isArray=c,f.isBoolean=b,f.isNull=w,f.isNullOrUndefined=g,f.isNumber=m,f.isString=x,f.isSymbol=j,f.isUndefined=k,f.isRegExp=v,f.isObject=P,f.isDate=h,f.isError=q,f.isFunction=z,f.isPrimitive=A,f.isBuffer=e("./support/isBuffer");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];f.log=function(){console.log("%s - %s",D(),f.format.apply(f,arguments))},f.inherits=e("inherits"),f._extend=function(e,o){if(!o||!P(o))return e;for(var f=Object.keys(o),n=f.length;n--;)e[f[n]]=o[f[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":138,_process:119,inherits:94}],140:[function(e,o,f){(function(o,n){var d=e("url"),i=e("child_process").spawn,t=e("fs");f.XMLHttpRequest=function(){var f,l,u=this,s=e("http"),p=e("https"),r={},y=!1,a={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},c=a,b=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],w=["TRACE","TRACK","CONNECT"],g=!1,m=!1,x={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null;var j=function(e){return y||e&&-1===b.indexOf(e.toLowerCase())},k=function(e){return e&&-1===w.indexOf(e)};this.open=function(e,o,f,n,d){if(this.abort(),m=!1,!k(e))throw"SecurityError: Request method not allowed";r={method:e,url:o.toString(),async:"boolean"!=typeof f?!0:f,user:n||null,password:d||null},v(this.OPENED)},this.setDisableHeaderCheck=function(e){y=e},this.setRequestHeader=function(e,o){if(this.readyState!=this.OPENED)throw"INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN";if(!j(e))return void console.warn('Refused to set unsafe header "'+e+'"');if(g)throw"INVALID_STATE_ERR: send flag is true";c[e]=o},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&l.headers[e.toLowerCase()]&&!m?l.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||m)return"";var e="";for(var o in l.headers)"set-cookie"!==o&&"set-cookie2"!==o&&(e+=o+": "+l.headers[o]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&c[e]?c[e]:""},this.send=function(e){function y(e){if(l=e,302===l.statusCode||303===l.statusCode||307===l.statusCode){r.url=l.headers.location;var o=d.parse(r.url);b=o.hostname;var n={hostname:o.hostname,port:o.port,path:o.path,method:303===l.statusCode?"GET":r.method,headers:c};return f=A(n,y).on("error",a),void f.end()}l.setEncoding("utf8"),v(u.HEADERS_RECEIVED),u.status=l.statusCode,l.on("data",function(e){e&&(u.responseText+=e),g&&v(u.LOADING)}),l.on("end",function(){g&&(v(u.DONE),g=!1)}),l.on("error",function(e){u.handleError(e)})}function a(e){u.handleError(e)}if(this.readyState!=this.OPENED)throw"INVALID_STATE_ERR: connection must be opened before send() is called";if(g)throw"INVALID_STATE_ERR: send has already been called";var b,w=!1,x=!1,j=d.parse(r.url);switch(j.protocol){case"https:":w=!0;case"http:":b=j.hostname;break;case"file:":x=!0;break;case void 0:case"":b="localhost";break;default:throw"Protocol not supported."}if(x){if("GET"!==r.method)throw"XMLHttpRequest: Only GET method is supported";if(r.async)t.readFile(j.pathname,"utf8",function(e,o){e?u.handleError(e):(u.status=200,u.responseText=o,v(u.DONE))});else try{this.responseText=t.readFileSync(j.pathname,"utf8"),this.status=200,v(u.DONE)}catch(k){this.handleError(k)}}else{var P=j.port||(w?443:80),h=j.pathname+(j.search?j.search:"");if(c.Host=b,w&&443===P||80===P||(c.Host+=":"+j.port),r.user){"undefined"==typeof r.password&&(r.password="");var q=new n(r.user+":"+r.password);c.Authorization="Basic "+q.toString("base64")}"GET"===r.method||"HEAD"===r.method?e=null:e?(c["Content-Length"]=n.isBuffer(e)?e.length:n.byteLength(e),c["Content-Type"]||(c["Content-Type"]="text/plain;charset=UTF-8")):"POST"===r.method&&(c["Content-Length"]=0);var z={host:b,port:P,path:h,method:r.method,headers:c,agent:!1};if(m=!1,r.async){var A=w?p.request:s.request;g=!0,u.dispatchEvent("readystatechange"),f=A(z,y).on("error",a),e&&f.write(e),f.end(),u.dispatchEvent("loadstart")}else{var B=".node-xmlhttprequest-content-"+o.pid,C=".node-xmlhttprequest-sync-"+o.pid;t.writeFileSync(C,"","utf8");for(var D="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(w?"s":"")+".request;var options = "+JSON.stringify(z)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) {  responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+B+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+C+"');});response.on('error', function(error) {fs.writeFileSync('"+B+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});}).on('error', function(error) {fs.writeFileSync('"+B+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+C+"');});"+(e?"req.write('"+e.replace(/'/g,"\\'")+"');":"")+"req.end();",E=i(o.argv[0],["-e",D]);t.existsSync(C););if(u.responseText=t.readFileSync(B,"utf8"),E.stdin.end(),t.unlinkSync(B),u.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var F=u.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");u.handleError(F)}else u.status=u.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),u.responseText=u.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),v(u.DONE)}}},this.handleError=function(e){this.status=503,this.statusText=e,this.responseText=e.stack,m=!0,v(this.DONE)},this.abort=function(){f&&(f.abort(),f=null),c=a,this.responseText="",this.responseXML="",m=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!g||this.readyState===this.DONE||(g=!1,v(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,o){e in x||(x[e]=[]),x[e].push(o)},this.removeEventListener=function(e,o){e in x&&(x[e]=x[e].filter(function(e){return e!==o}))},this.dispatchEvent=function(e){if("function"==typeof u["on"+e]&&u["on"+e](),e in x)for(var o=0,f=x[e].length;f>o;o++)x[e][o].call(u)};var v=function(e){u.readyState!==e&&(u.readyState=e,(r.async||u.readyState<u.OPENED||u.readyState===u.DONE)&&u.dispatchEvent("readystatechange"),u.readyState!==u.DONE||m||(u.dispatchEvent("load"),u.dispatchEvent("loadend")))}}}).call(this,e("_process"),e("buffer").Buffer)},{_process:119,buffer:13,child_process:12,fs:12,http:89,https:92,url:137}]},{},[2])(2)})}();